张雄 3 years ago
parent f22b728ab7
commit 09c0417a05

@ -13,8 +13,8 @@
<a-radio-button :value="6">待支付</a-radio-button>
<a-radio-button :value="7">已完成</a-radio-button>
<a-radio-button :value="8">已评价</a-radio-button>
<a-radio-button :value="9">已拒绝</a-radio-button>
<a-radio-button :value="10">已取消</a-radio-button>
<!-- <a-radio-button :value="9">已拒绝</a-radio-button> -->
<a-radio-button :value="9">已取消</a-radio-button>
</a-radio-group>
</a-space>
</div>
@ -110,7 +110,7 @@
<span slot="tags" slot-scope="tag">
<a-tag :color="tag === 1 ? '#FF8C39' : tag === 2 ? '#921EAF' : tag === 4 ? '#205FBD' : tag === 8 ? 'rgba(0, 0, 0, 0.45)' : tag === 10 ? '#D53131' : 'grey'">
{{ tag === 1 ? "待分配" : tag === 2 ? "工单池" :tag === 3 ? "已接单" :tag === 4 ? "处理中" :tag === 5 ? "待确认" :tag === 6 ? "待支付"
:tag === 7 ? "已完成" :tag === 8 ? "已评价" :tag === 9 ? "已拒绝" :tag === 10 ? "已取消" :'-' }}
:tag === 7 ? "已完成" :tag === 8 ? "已评价" :tag === 9 ? "已取消" :tag === 10 ? "已取消" :'-' }}
</a-tag>
</span>
<span slot="principal" slot-scope="text, row">
@ -478,7 +478,7 @@ export default {
repShow: false,
repData: [],
repForm: {workOrderId: undefined, content: '', imgUrls: []},
repStatus: ['','待分配','工单池','已接单','处理中','待确认','待支付','已完成','已评价','已拒绝','已取消'],
repStatus: ['','待分配','工单池','已接单','处理中','待确认','待支付','已完成','已评价','已取消','已取消'],
//
detailData: {
workOrderCostList: [],

@ -1,7 +1,7 @@
<!--
* @Author: your name
* @Date: 2021-11-18 17:27:08
* @LastEditTime: 2021-11-26 16:19:53
* @LastEditTime: 2021-11-24 15:34:41
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: /ansu-business/src/views/Layout/index.vue
@ -9,7 +9,7 @@
<template>
<a-layout id="components-layout-demo-custom-trigger">
<a-layout-sider v-model="collapsed" :trigger="null" collapsible>
<div class="logo"><img class="m1" src="../../assets/images/logo.png" /><span class="s1" v-if="!collapsed">SaaS</span></div>
<div class="logo"><img class="m1" src="../../assets/images/512_512.png" /><span class="s1" v-if="!collapsed">SaaS</span></div>
<yMenu :csd="collapsed" :num='tagActive'></yMenu>
</a-layout-sider>
<a-layout>
@ -85,7 +85,11 @@ export default {
{
label: "运营管理",
value: "operation"
}
},
// {
// label: "",
// value: "setting"
// }
],
};
},
@ -162,6 +166,7 @@ export default {
.s1 {
border-bottom: 2px solid #5679b1;
}
}
}
.h-d2 {

@ -1,7 +1,7 @@
<template>
<div class="bg">
<div class="logo-box">
<img src="@/assets/images/logo.png" alt="" />
<img src="@/assets/images/512_512.png" alt="" />
<span class="title">智慧小区后台管理系统</span>
</div>
<div class="login-box">
@ -37,12 +37,12 @@
<a-checkbox></a-checkbox>&nbsp;&nbsp;我已同意<a href="/#/rule" target="tar">用户协议</a>
</a-col>
<a-col :span="10">
<span class="logintext" @click="status = 3">忘记密码</span
<!-- <span class="logintext" @click="status = 3">忘记密码</span
>&nbsp;&nbsp;&nbsp;&nbsp;<span
class="logintext"
@click="status = 2"
>免费注册</span
>
> -->
</a-col>
</a-row>
</div>
@ -111,12 +111,12 @@
<a-checkbox v-model="isChecked"></a-checkbox>&nbsp;&nbsp;我已同意<a href="/#/rule" target="tar">用户协议</a>
</a-col>
<a-col :span="10">
<span class="logintext" @click="status = 3">忘记密码</span
<!-- <span class="logintext" @click="status = 3">忘记密码</span
>&nbsp;&nbsp;&nbsp;&nbsp;<span
class="logintext"
@click="status = 2"
>免费注册</span
>
> -->
</a-col>
</a-row>
</div>

@ -189,10 +189,10 @@
</a-form-model-item>
</a-col>
<a-col :span="12">
<a-form-model-item prop="billingAccuracy" label="计费度">
<a-form-model-item prop="billingAccuracy" label="计费度">
<a-select
v-model="form.billingAccuracy"
placeholder="请选择计费度"
placeholder="请选择计费度"
style="width: 60%"
>
<a-select-option

@ -3,8 +3,8 @@
<div class="drawer-content">
<div style="display: flex">
<div class="inner-content">
<a-tree v-model="checkedKeys" :selected-keys="form.estateIds"
:selectable="false" :tree-data="roomTreeData" checkable checkStrictly :replace-fields="replaceFields"></a-tree>
<a-tree v-model="checkedKeys" @check="onCheck"
:selectable="false" :tree-data="roomTreeData" checkable :replace-fields="replaceFields"></a-tree>
</div>
<div class="inner-content">
<a-table :data-source="tableData" :columns="columns" :pagination="false"
@ -51,6 +51,17 @@
import {findEstateCascade} from "@/api/basic/estate"
import { chargesList } from "@/api/payment/chargeStandardManage";
import { manuallyGenerateBills } from "@/api/payment/payPlan"
function deleteIds(lists) {
// idididundefined
lists.forEach((list) => {
if (list.childList) {
list.id = undefined;
deleteIds(list.childList);
} else {
return;
}
});
}
export default {
name: 'addBillDrawer',
props: {
@ -63,9 +74,6 @@ export default {
},
immediate: true,
},
checkedKeys(val) {
this.form.estateIds = val.checked;
},
},
mounted() {
this.getApi()
@ -93,7 +101,11 @@ export default {
{title: "费用名称", dataIndex: "name"},
{title: "计费方式", dataIndex: "billingType"},
{title: "计量方式", dataIndex: "calculateType"},
{title: "计量单价", dataIndex: "calculateUnit"},
{title: "计量单价", dataIndex: "calculateUnit",
customRender: function (calculateUnit) {
return (calculateUnit*1).toFixed(2)
},
},
{title: "备注", dataIndex: "remarks"},
],
selTime: []
@ -103,13 +115,14 @@ export default {
getApi() {
findEstateCascade().then(res => {
let data = res.data;
data.forEach(ele => {
ele.childList.forEach(el => {
el.checkable = false
});
ele.checkable = false
})
// data.forEach(ele => {
// ele.childList.forEach(el => {
// el.checkable = false
// });
// ele.checkable = false
// })
this.roomTreeData = data
deleteIds(this.roomTreeData);
});
chargesList({pageNum: 1,size: 1000}).then(res => {
let data = res.data.rows;
@ -120,7 +133,13 @@ export default {
this.$emit("onClose");
},
onCheck(checkedKeys) {
this.checkedKeys = checkedKeys.checked;
let ids = [];
for (let id of checkedKeys) {
if (typeof id == "number") {
ids.push(id);
}
}
this.form.estateIds = ids;
},
//
selectionChoosed(data) {

@ -3,8 +3,8 @@
<div class="drawer-content">
<div style="display: flex">
<div class="inner-content">
<a-tree v-model="checkedKeys" :selected-keys="form.estateIds"
:selectable="false" :tree-data="roomTreeData" checkable checkStrictly :replace-fields="replaceFields"></a-tree>
<a-tree v-model="checkedKeys" @check="onCheck"
:selectable="false" :tree-data="roomTreeData" checkable :replace-fields="replaceFields"></a-tree>
</div>
<div class="inner-content">
<a-table :data-source="tableData" :columns="columns" :pagination="false"
@ -77,6 +77,17 @@
import {findEstateCascade} from "@/api/basic/estate"
import { chargesList } from "@/api/payment/chargeStandardManage";
import { autoGenerateBills } from "@/api/payment/payPlan"
function deleteIds(lists) {
// idididundefined
lists.forEach((list) => {
if (list.childList) {
list.id = undefined;
deleteIds(list.childList);
} else {
return;
}
});
}
export default {
name: 'addBillDrawer',
props: {
@ -88,10 +99,7 @@ export default {
this.isVisibleDrawer = newValue;
},
immediate: true,
},
checkedKeys(val) {
this.form.estateIds = val.checked;
},
}
},
mounted() {
this.getApi()
@ -120,10 +128,14 @@ export default {
//
tableData: [],
columns: [
{title: "费用名称", dataIndex: "name",width: 100},
{title: "计费方式", dataIndex: "billingType",width: 100},
{title: "计量方式", dataIndex: "calculateType",width: 100},
{title: "计量单价", dataIndex: "calculateUnit",width: 100},
{title: "费用名称", dataIndex: "name"},
{title: "计费方式", dataIndex: "billingType"},
{title: "计量方式", dataIndex: "calculateType"},
{title: "计量单价", dataIndex: "calculateUnit",
customRender: function (calculateUnit) {
return (calculateUnit*1).toFixed(2)
},
},
{title: "备注", dataIndex: "remarks"},
],
selTime: []
@ -133,13 +145,14 @@ export default {
getApi() {
findEstateCascade().then(res => {
let data = res.data;
data.forEach(ele => {
ele.childList.forEach(el => {
el.checkable = false
});
ele.checkable = false
})
// data.forEach(ele => {
// ele.childList.forEach(el => {
// el.checkable = false
// });
// ele.checkable = false
// })
this.roomTreeData = data
deleteIds(this.roomTreeData);
});
chargesList({pageNum: 1,size: 1000}).then(res => {
let data = res.data.rows;
@ -150,7 +163,13 @@ export default {
this.$emit("onClose");
},
onCheck(checkedKeys) {
this.checkedKeys = checkedKeys.checked;
let ids = [];
for (let id of checkedKeys) {
if (typeof id == "number") {
ids.push(id);
}
}
this.form.estateIds = ids;
},
//
selectionChoosed(data) {

@ -3,8 +3,8 @@
<div class="drawer-content">
<div style="display: flex">
<div class="inner-content">
<a-tree v-model="checkedKeys" :selected-keys="form.estateIds"
:selectable="false" :tree-data="roomTreeData" checkable checkStrictly :replace-fields="replaceFields"></a-tree>
<a-tree v-model="checkedKeys" @check="onCheck"
:selectable="false" :tree-data="roomTreeData" checkable :replace-fields="replaceFields"></a-tree>
</div>
<div class="inner-content">
<a-table :data-source="tableData" :columns="columns" :pagination="false"
@ -77,6 +77,17 @@
import {findEstateCascade} from "@/api/basic/estate"
import { chargesList } from "@/api/payment/chargeStandardManage";
import { autoDeductionBills } from "@/api/payment/payPlan"
function deleteIds(lists) {
// idididundefined
lists.forEach((list) => {
if (list.childList) {
list.id = undefined;
deleteIds(list.childList);
} else {
return;
}
});
}
export default {
name: 'addBillDrawer',
props: {
@ -88,10 +99,7 @@ export default {
this.isVisibleDrawer = newValue;
},
immediate: true,
},
checkedKeys(val) {
this.form.estateIds = val.checked;
},
}
},
mounted() {
this.getApi()
@ -120,10 +128,14 @@ export default {
//
tableData: [],
columns: [
{title: "费用名称", dataIndex: "name",width: 100},
{title: "计费方式", dataIndex: "billingType",width: 100},
{title: "计量方式", dataIndex: "calculateType",width: 100},
{title: "计量单价", dataIndex: "calculateUnit",width: 100},
{title: "费用名称", dataIndex: "name"},
{title: "计费方式", dataIndex: "billingType"},
{title: "计量方式", dataIndex: "calculateType"},
{title: "计量单价", dataIndex: "calculateUnit",
customRender: function (calculateUnit) {
return (calculateUnit*1).toFixed(2)
},
},
{title: "备注", dataIndex: "remarks"},
],
selTime: []
@ -133,13 +145,14 @@ export default {
getApi() {
findEstateCascade().then(res => {
let data = res.data;
data.forEach(ele => {
ele.childList.forEach(el => {
el.checkable = false
});
ele.checkable = false
})
// data.forEach(ele => {
// ele.childList.forEach(el => {
// el.checkable = false
// });
// ele.checkable = false
// })
this.roomTreeData = data
deleteIds(this.roomTreeData);
});
chargesList({pageNum: 1,size: 1000}).then(res => {
let data = res.data.rows;
@ -150,7 +163,13 @@ export default {
this.$emit("onClose");
},
onCheck(checkedKeys) {
this.checkedKeys = checkedKeys.checked;
let ids = [];
for (let id of checkedKeys) {
if (typeof id == "number") {
ids.push(id);
}
}
this.form.estateIds = ids;
},
//
selectionChoosed(data) {

@ -45,8 +45,8 @@
<div style="display: flex">
<div class="inner-content">
<div style="font-weight: 600">选择房屋</div>
<a-tree v-model="form.estateIds"
:selectable="false" :tree-data="roomTreeData" defaultExpandAll checkable checkStrictly :replace-fields="replaceFields">
<a-tree v-model="checkedKeys" @check="onCheck"
:selectable="false" :tree-data="roomTreeData" defaultExpandAll checkable :replace-fields="replaceFields">
</a-tree>
</div>
<div class="inner-content">
@ -127,6 +127,17 @@ import {billAutoList, getAutoDeductionBills} from "@/api/payment/payPlan" //查
import {deleteAutoGenerateBills, deleteAutoDeductionBills} from "@/api/payment/payPlan" //
import {updateAutoGenerateBills, updateAutoDeductionBills} from "@/api/payment/payPlan" //
import {findByIdByBillAutoId, findById} from "@/api/payment/payPlan" //
function deleteIds(lists) {
// idididundefined
lists.forEach((list) => {
if (list.childList) {
list.id = undefined;
deleteIds(list.childList);
} else {
return;
}
});
}
export default {
name: 'payPlay',
components: {
@ -134,11 +145,6 @@ export default {
autoBillDrawer,
autoBillPaymentDrawer
},
watch: {
checkedKeys(val) {
this.form.estateIds = val.checked;
},
},
data() {
return {
//
@ -167,7 +173,11 @@ export default {
{title: "费用名称", dataIndex: "name",width: 100},
{title: "计费方式", dataIndex: "billingType",width: 100},
{title: "计量方式", dataIndex: "calculateType",width: 100},
{title: "计量单价", dataIndex: "calculateUnit",width: 100},
{title: "计量单价", dataIndex: "calculateUnit",width: 100,
customRender: function (calculateUnit) {
return (calculateUnit*1).toFixed(2)
},
},
{title: "备注", dataIndex: "remarks"},
],
////////
@ -251,13 +261,14 @@ export default {
getApi() {
findEstateCascade().then(res => {
let data = res.data;
data.forEach(ele => {
ele.childList.forEach(el => {
el.checkable = false
});
ele.checkable = false
})
// data.forEach(ele => {
// ele.childList.forEach(el => {
// el.checkable = false
// });
// ele.checkable = false
// })
this.roomTreeData = data
deleteIds(this.roomTreeData);
});
chargesList({pageNum: 1,size: 1000}).then(res => {
let data = res.data.rows;
@ -282,6 +293,15 @@ export default {
success() {
this.getData();
},
onCheck(checkedKeys) {
let ids = [];
for (let id of checkedKeys) {
if (typeof id == "number") {
ids.push(id);
}
}
this.form.estateIds = ids;
},
//
addBill() {
this.addShow = true

Loading…
Cancel
Save