Browse Source

组织管理分管部门修改回显 时间办理列表接口修改

xiaowang-featrue
mk 10 months ago
parent
commit
d3053d9a85
  1. 13
      src/views/modules/base/organization/organization.vue
  2. 2
      src/views/modules/shequzhili/eventHandling/index.vue

13
src/views/modules/base/organization/organization.vue

@ -512,7 +512,7 @@
</el-dialog> </el-dialog>
</div> </div>
<div v-if="dialogVisiblePeoAgency"> <div v-if="dialogVisiblePeoAgency">
<el-dialog title="新增人员ccccc" <el-dialog title="新增人员"
:visible.sync="dialogVisiblePeoAgency" :visible.sync="dialogVisiblePeoAgency"
width="850" width="850"
> >
@ -1344,7 +1344,8 @@ export default {
}, },
orgDeptOptionProps: { orgDeptOptionProps: {
multiple: false, multiple: true,
emitPath:true,
value: 'agencyId', value: 'agencyId',
label: 'agencyName', label: 'agencyName',
children: 'subAgencyList', children: 'subAgencyList',
@ -2193,6 +2194,8 @@ export default {
this.peoForm.newRoles = existedRoleArr; this.peoForm.newRoles = existedRoleArr;
var paths = this.findParentPath(this.orgOptions[0], data.manageScopes); var paths = this.findParentPath(this.orgOptions[0], data.manageScopes);
this.peoForm.manageScopes = paths; this.peoForm.manageScopes = paths;
var paths1 = this.findParentPath(this.orgDeptOptions[0],this.peoForm.manageOrgIds);
this.peoForm.manageOrgIds = paths1;
} else { } else {
this.$message.error(msg); this.$message.error(msg);
} }
@ -3019,9 +3022,11 @@ export default {
handleChangeAgency(val) { handleChangeAgency(val) {
this.$nextTick(() => { this.$nextTick(() => {
let obj = this.$refs["agencyIdArray"].getCheckedNodes() let obj = this.$refs["agencyIdArray"].getCheckedNodes()
let orgIdList = obj.map(item=>item.value)
let orgLevelList = obj.map(item=>item.data.level)
if (obj) { if (obj) {
this.peoForm.orgLevels =obj[0].pathNodes.map(item=>item.data.level).join(',') this.peoForm.orgLevels = orgLevelList.join(',')
this.manageOrgIds =obj[0].pathNodes.map(item=>item.data.agencyId).join(',') this.manageOrgIds = orgIdList.join(',')
} else { } else {
this.manageOrgIds = '' this.manageOrgIds = ''
this.peoForm.orgLevels = '' this.peoForm.orgLevels = ''

2
src/views/modules/shequzhili/eventHandling/index.vue

@ -646,7 +646,7 @@ export default {
} }
}, },
async getTableData() { async getTableData() {
const url = "/governance/icEvent/list"; const url = "/governance/icEvent/manageList";
if (this.eventTypeCheck) { if (this.eventTypeCheck) {
this.formData.secondIdList = this.eventTypeCheck this.formData.secondIdList = this.eventTypeCheck
} }

Loading…
Cancel
Save