Browse Source

完善bug

shibei_master
HAHA 3 years ago
parent
commit
3d390f5056
  1. 30
      src/views/modules/base/organization/organization.vue

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

@ -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)

Loading…
Cancel
Save