diff --git a/.env.development b/.env.development index f3d7c10c1..f7a1145d0 100644 --- a/.env.development +++ b/.env.development @@ -1,6 +1,7 @@ NODE_ENV=development # VUE_APP_API_SERVER = http://epmet-dev.elinkservice.cn:41080/api VUE_APP_API_SERVER = http://192.168.1.140/api +# VUE_APP_API_SERVER = https://epmet-cloud.elinkservice.cn/api #家中开发连级的后端服务 # VUE_APP_API_SERVER = https://epmet-dev.elinkservice.cn:41080/api diff --git a/src/views/components/resiChangeTransfer.vue b/src/views/components/resiChangeTransfer.vue new file mode 100644 index 000000000..33bafc8f2 --- /dev/null +++ b/src/views/components/resiChangeTransfer.vue @@ -0,0 +1,631 @@ + + + + diff --git a/src/views/components/resiTransfer.vue b/src/views/components/resiTransfer.vue index 68dfc49ed..709b18d12 100644 --- a/src/views/components/resiTransfer.vue +++ b/src/views/components/resiTransfer.vue @@ -492,8 +492,3 @@ export default { margin-left: 10px; } - \ No newline at end of file diff --git a/src/views/modules/base/organization/organization.vue b/src/views/modules/base/organization/organization.vue index 0e42a655c..fbfe3bd2f 100644 --- a/src/views/modules/base/organization/organization.vue +++ b/src/views/modules/base/organization/organization.vue @@ -17,7 +17,7 @@ height="250" :data="agencyTableListData" style="width: 100%"> - + @@ -67,7 +67,7 @@ @@ -196,7 +196,7 @@ width="30%" :before-close="handleClose"> - + @@ -388,7 +388,7 @@ title="人员详情" :visible.sync="details" width="30%" - :before-close="handleClose"> + :before-close="handleClosePeoView"> @@ -405,6 +405,9 @@ + + +
关 闭 @@ -773,6 +776,7 @@ export default { orgType:'', activeTime:'', zuzhi:'', + disableFlag:'' }, // 人员调动 transferForm:{ @@ -880,6 +884,9 @@ export default { ], gridName:[ { required: true, message: '网格名称必填', trigger: 'blur' } + ], + addDepartmentName:[ + { required: true, message: '部门名称必填', trigger: 'blur' } ] } } @@ -946,11 +953,22 @@ export default { this.transferForm.orgId = e[1] if(this.transferForm.orgId != null || ''){ if(this.transferForm.orgId === 0){ - this.transferForm.orgId = e[2] - this.transferForm.orgType = 'dept' + if(e[2] == null || ''){ + this.transferForm.orgType = 'dept' + this.transferForm.orgId = "14f572e724eecf7668b655505d789cab" + }else{ + this.transferForm.orgId = e[2] + this.transferForm.orgType = 'dept' + } } else { - this.transferForm.orgId = e[2] - this.transferForm.orgType = 'grid' + if(e[2] == null || ''){ + this.transferForm.orgType = 'grid' + this.transferForm.orgId = "63d5ff92ea981b1c58e4914ac894c610" + } else { + this.transferForm.orgId = e[2] + this.transferForm.orgType = 'grid' + } + } }else{ this.transferForm.orgId = e[0] @@ -1238,12 +1256,18 @@ export default { }) .catch(_ => {}); }, + // 人员查看叉号关闭 + handleClosePeoView(done){ + this.insertFormRest() + done(); + }, // 社区新增弹框重置函数 insertFormRest(){ this.insertForm.name = '', this.insertForm.contacts = '', this.insertForm.code = '', - this.insertForm.phone = '' + this.insertForm.mobile = '', + this.insertForm.departmentName = '' }, // 网格新增弹框重置函数 GridFormRest(){ @@ -1277,7 +1301,7 @@ export default { this.transferForm.orgId = '', this.transferForm.orgType = '' this.selectValue = '' - + this.options[0] = [] }, // 新增组织 addNewAgencyRest(){ @@ -1609,10 +1633,15 @@ export default { if(code === 0){ this.peoForm.name = data.name - this.peoForm.mobile = data.mobile + this.peoForm.mobile = data.mobile.substr(0,3) + "****" + data.mobile.substr(7) this.peoForm.activeTime = data.activeTime this.peoForm.duty = data.roles this.peoForm.zuzhi = data.orgName + if (data.enableFlag === 'enable') { + this.peoForm.disableFlag = '已启用' + } else { + this.peoForm.disableFlag = '已禁用' + } } this.details = true }, @@ -1684,6 +1713,9 @@ export default { this.getDepartmentList() this.getGridList() this.getAgencyStaffListData() + this.getDepartmentStaffListData() + this.getAgencyStaffListData() + this.getGridStaffListData() } else { this.$message.error(msg) @@ -1906,7 +1938,6 @@ export default { }, handelStreeOrCommunityZoing(val){ - console.log(val) this.OrgDetailsForm.level = val.level this.OrgDetailsForm.areaName = val.areaName this.OrgDetailsForm.areaCode = val.areaCode diff --git a/src/views/modules/communityService/dqfwzx/cpts/order.vue b/src/views/modules/communityService/dqfwzx/cpts/order.vue index 5c795214f..eb6163f25 100644 --- a/src/views/modules/communityService/dqfwzx/cpts/order.vue +++ b/src/views/modules/communityService/dqfwzx/cpts/order.vue @@ -430,9 +430,3 @@ export default { margin-top: 30px; } - - diff --git a/src/views/modules/communityService/dqfwzx/cpts/orderList.vue b/src/views/modules/communityService/dqfwzx/cpts/orderList.vue index 691e789ee..0153ff985 100644 --- a/src/views/modules/communityService/dqfwzx/cpts/orderList.vue +++ b/src/views/modules/communityService/dqfwzx/cpts/orderList.vue @@ -198,9 +198,3 @@ export default { margin-top: 30px; } - - diff --git a/src/views/modules/communityService/shzz/cpts/edit.vue b/src/views/modules/communityService/shzz/cpts/edit.vue index 7b24dd04d..af275e9dc 100644 --- a/src/views/modules/communityService/shzz/cpts/edit.vue +++ b/src/views/modules/communityService/shzz/cpts/edit.vue @@ -505,9 +505,3 @@ export default { margin-top: 30px; } - - diff --git a/src/views/modules/communityService/sqzzz/cpts/edit.vue b/src/views/modules/communityService/sqzzz/cpts/edit.vue index 59ec51c32..f68176ee2 100644 --- a/src/views/modules/communityService/sqzzz/cpts/edit.vue +++ b/src/views/modules/communityService/sqzzz/cpts/edit.vue @@ -532,9 +532,3 @@ export default { } } - - diff --git a/src/views/modules/plugins/rent/rentdeath-add-or-update.vue b/src/views/modules/plugins/change/changedeath-add-or-update.vue similarity index 97% rename from src/views/modules/plugins/rent/rentdeath-add-or-update.vue rename to src/views/modules/plugins/change/changedeath-add-or-update.vue index 16f0f62da..19cdb429d 100644 --- a/src/views/modules/plugins/rent/rentdeath-add-or-update.vue +++ b/src/views/modules/plugins/change/changedeath-add-or-update.vue @@ -54,8 +54,10 @@ @@ -192,3 +194,9 @@ export default { } } + diff --git a/src/views/modules/plugins/rent/rentdeath.vue b/src/views/modules/plugins/change/changedeath.vue similarity index 55% rename from src/views/modules/plugins/rent/rentdeath.vue rename to src/views/modules/plugins/change/changedeath.vue index e1b9ab779..d71363517 100644 --- a/src/views/modules/plugins/rent/rentdeath.vue +++ b/src/views/modules/plugins/change/changedeath.vue @@ -1,6 +1,7 @@