Commit 1a2de475 authored by hanfeng's avatar hanfeng

修改后台用户列表,编辑

parent 15b155f0
......@@ -274,6 +274,7 @@
getAll()
.then(response => {
this.allCompaniesArr = response.data;
this.allBranchCompany= response.data;
})
getAllCompany(codeAndBranchCompany => {
this.allCompanies = codeAndBranchCompany;
......@@ -299,9 +300,10 @@
'elements'
]),
getAllZoneList() {
console.log('getAllZoneList')
this.allZoneArr = getAllZone();
return getAllZone();
// console.log('getAllZoneList')
let allZone = getAllZone();
this.allZoneArr = allZone ;
return allZone;
},
},
methods: {
......@@ -325,6 +327,7 @@
* 所属分公司
* */
handleSelectSubordinate(item) {
this.form.companyId = item.id;
this.form.companyName = item.name;
},
......@@ -419,7 +422,7 @@
});
this.dialogFormVisible = true;
this.dialogStatus = 'update';
console.log(this.form);
// console.log(this.form);
// console.log(JSON.stringify(this.form))
});
});
......
......@@ -405,6 +405,7 @@
'companyStatusAndCode'
]),
getAllZoneList(){
this.allZoneArr = getAllZone();
return getAllZone();
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment