|
|
@ -388,7 +388,7 @@ |
|
|
|
title="人员详情" |
|
|
|
:visible.sync="details" |
|
|
|
width="30%" |
|
|
|
:before-close="handleClose"> |
|
|
|
:before-close="handleClosePeoView"> |
|
|
|
<el-form> |
|
|
|
<el-form-item label="姓名" > |
|
|
|
<el-input v-model="peoForm.name" placeholder="姓名" :disabled="true"></el-input> |
|
|
@ -943,14 +943,26 @@ export default { |
|
|
|
methods:{ |
|
|
|
// 点击后获取id |
|
|
|
handleChange (e) { |
|
|
|
console.log(e) |
|
|
|
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,6 +1250,11 @@ export default { |
|
|
|
}) |
|
|
|
.catch(_ => {}); |
|
|
|
}, |
|
|
|
// 人员查看叉号关闭 |
|
|
|
handleClosePeoView(done){ |
|
|
|
this.insertFormRest() |
|
|
|
done(); |
|
|
|
}, |
|
|
|
// 社区新增弹框重置函数 |
|
|
|
insertFormRest(){ |
|
|
|
this.insertForm.name = '', |
|
|
@ -1684,6 +1701,9 @@ export default { |
|
|
|
this.getDepartmentList() |
|
|
|
this.getGridList() |
|
|
|
this.getAgencyStaffListData() |
|
|
|
this.getDepartmentStaffListData() |
|
|
|
this.getAgencyStaffListData() |
|
|
|
this.getGridStaffListData() |
|
|
|
|
|
|
|
} else { |
|
|
|
this.$message.error(msg) |
|
|
|