|
|
@ -347,7 +347,7 @@ export default { |
|
|
|
mounted() { |
|
|
|
this.getOrgTree() |
|
|
|
// this.getStaff() |
|
|
|
this.getStaff2() |
|
|
|
// this.getStaff2() |
|
|
|
// this.getPageList() |
|
|
|
}, |
|
|
|
methods: { |
|
|
@ -417,11 +417,11 @@ export default { |
|
|
|
this.form.address = data.orgAddress || data.address |
|
|
|
this.form.dlxx = data.gisInfo || data.dlxx |
|
|
|
this.getStaff(data.sid) |
|
|
|
this.getStaff2() |
|
|
|
this.getStaff2(data.sid) |
|
|
|
}, |
|
|
|
editRow(row) { |
|
|
|
this.getStaff(row.sid) |
|
|
|
this.getStaff2() |
|
|
|
this.getStaff2(row.sid) |
|
|
|
this.dialogTitle = '编辑' |
|
|
|
this.isshow = 'edit' |
|
|
|
selectBySid(row.sid).then((response) => { |
|
|
@ -456,7 +456,7 @@ export default { |
|
|
|
}, |
|
|
|
deit(data) { // 节点编辑保存 |
|
|
|
this.getStaff(data.sid) |
|
|
|
this.getStaff2() |
|
|
|
this.getStaff2(data.sid) |
|
|
|
console.log(data, 8888) |
|
|
|
this.dialogVisible = true |
|
|
|
// this.form = Object.assign({}, data) |
|
|
@ -541,8 +541,8 @@ export default { |
|
|
|
// console.log('name:', this.temp.payType, 'key:', this.temp.payTypeKey) |
|
|
|
}, |
|
|
|
// 分管人员 |
|
|
|
getStaff2() { |
|
|
|
getStaffName().then(res => { |
|
|
|
getStaff2(orgSid) { |
|
|
|
getStaffName({ deptSid: orgSid }).then(res => { |
|
|
|
this.staffdata2 = res.data |
|
|
|
console.log('分管人员', this.staffdata2) |
|
|
|
}) |
|
|
|