diff --git a/src/views/modules/base/organization/organization.vue b/src/views/modules/base/organization/organization.vue index ced7c2bf0..532e3ffe3 100644 --- a/src/views/modules/base/organization/organization.vue +++ b/src/views/modules/base/organization/organization.vue @@ -468,6 +468,18 @@ + + + +
取 消 @@ -531,7 +543,7 @@ - + + +
取 消 @@ -1142,6 +1165,7 @@ export default { zuzhi: "", disableFlag: "", newRoles: [], + manageScopes:[] }, // 人员调动 transferForm: { @@ -1248,6 +1272,16 @@ export default { }, selDeptType: "", + + // 组织树 + orgOptions: [], + orgOptionProps :{ + multiple: false, + value: 'agencyId', + label: 'agencyName', + children: 'subAgencyList', + checkStrictly: true + } }; }, created () { @@ -1257,6 +1291,7 @@ export default { this.getAgencyStaffListData(); this.getDutyList(); this.getRoleList(); + this.getOrgTreeList() // this.getNavigation() // 更新顶部面包屑 this.assembleBreadcrumbArr(localStorage.getItem("agencyId"), "agency"); @@ -1302,6 +1337,23 @@ export default { mounted () { }, methods: { + getOrgTreeList () { + this.$http + .post('/gov/org/customeragency/agencygridtree', {}) + .then(({ data: res }) => { + if (res.code !== 0) { + return this.$message.error(res.msg) + } else { + console.log('获取组织树成功', res.data) + this.orgOptions = [] + this.orgOptions.push(res.data) + } + }) + .catch(() => { + return this.$message.error('网络错误') + }) + }, + // 点击后获取id handleChangeTransferCascader (e) { console.log("*********************"); @@ -1560,8 +1612,8 @@ export default { : orgType == "dept" ? this.currentDepartmentId : this.currentGridOrgId, + manageScopes:this.peoForm.manageScopes }; - const { data, code, msg } = await requestPost(url, params); if (code === 0) { @@ -1609,9 +1661,9 @@ export default { roles: this.peoForm.duty, newRoles: this.peoForm.newRoles, agencyId: this.currentAgencyId, - idCard: this.peoForm.idCard + idCard: this.peoForm.idCard, + manageScopes:this.peoForm.manageScopes }; - const { data, code, msg } = await requestPost(url, params); if (code === 0) { @@ -1952,12 +2004,14 @@ export default { } }); this.peoForm.newRoles = existedRoleArr; + this.peoForm.manageScopes = data.manageScopes } else { this.$message.error(msg); } }, // 修改人员 async xiuPeo (row) { + console.log('2'); this.modifyPeo = true; this.peoForm.orgType = "agency"; @@ -1995,6 +2049,7 @@ export default { } }); this.peoForm.newRoles = existedRoleArr; + this.peoForm.manageScopes = data.manageScopes } else { this.$message.error(msg); } diff --git a/src/views/modules/base/residentManagement/publicWelfarePost/addForm.vue b/src/views/modules/base/residentManagement/publicWelfarePost/addForm.vue new file mode 100644 index 000000000..e9ea05198 --- /dev/null +++ b/src/views/modules/base/residentManagement/publicWelfarePost/addForm.vue @@ -0,0 +1,609 @@ + + + + + + + + \ No newline at end of file diff --git a/src/views/modules/base/residentManagement/publicWelfarePost/publicWelfarePost.vue b/src/views/modules/base/residentManagement/publicWelfarePost/publicWelfarePost.vue new file mode 100644 index 000000000..4e5af3379 --- /dev/null +++ b/src/views/modules/base/residentManagement/publicWelfarePost/publicWelfarePost.vue @@ -0,0 +1,790 @@ + + + + + + \ No newline at end of file diff --git a/src/views/modules/base/residentManagement/subsistenceAllowance/subsistenceAllowance.vue b/src/views/modules/base/residentManagement/subsistenceAllowance/subsistenceAllowance.vue index 1f33272a8..d08622c88 100644 --- a/src/views/modules/base/residentManagement/subsistenceAllowance/subsistenceAllowance.vue +++ b/src/views/modules/base/residentManagement/subsistenceAllowance/subsistenceAllowance.vue @@ -271,7 +271,6 @@ @@ -530,7 +529,7 @@ console.log("失败", err); file.onError(); //上传失败的文件会从文件列表中删除 // this.$message.error('导入失败') - }); + });// }, async handleComfirmUpload () { this.importLoading = true;