@@ -196,7 +196,7 @@
width="30%"
:before-close="handleClose">
-
+
@@ -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' }
]
}
}
@@ -943,7 +950,6 @@ export default {
methods:{
// 点击后获取id
handleChange (e) {
- console.log(e)
this.transferForm.orgId = e[1]
if(this.transferForm.orgId != null || ''){
if(this.transferForm.orgId === 0){
@@ -1260,7 +1266,8 @@ export default {
this.insertForm.name = '',
this.insertForm.contacts = '',
this.insertForm.code = '',
- this.insertForm.phone = ''
+ this.insertForm.mobile = '',
+ this.insertForm.departmentName = ''
},
// 网格新增弹框重置函数
GridFormRest(){
@@ -1294,7 +1301,7 @@ export default {
this.transferForm.orgId = '',
this.transferForm.orgType = ''
this.selectValue = ''
-
+ this.options[0] = []
},
// 新增组织
addNewAgencyRest(){
@@ -1626,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
},
@@ -1926,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