用户
This commit is contained in:
parent
29c2bb1a95
commit
7bab1657d9
@ -885,18 +885,19 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
// 左边选中事件
|
// 左边选中事件
|
||||||
handleSelectionChangen(selection) {
|
handleSelectionChangen(selection) {
|
||||||
console.log(selection, "56");
|
// console.log(selection, "56");
|
||||||
// this.abc=selection
|
// this.abc=selection
|
||||||
// console.log(data,"9");
|
// console.log(data,"9");
|
||||||
// this.selection=[]
|
// this.selection=[]
|
||||||
if (selection.length >1) {
|
if (selection.length >1) {
|
||||||
this.$refs.multipleTable.clearSelection(); // 清空所有选择
|
this.$refs.multipleTable.clearSelection(); // 清空所有选择
|
||||||
this.$refs.multipleTable.toggleRowSelection(selection.pop()); // 设置选择项
|
this.$refs.multipleTable.toggleRowSelection(selection.pop()); // 设置选择项
|
||||||
this.formlist.agencyId = selection[0].agencyId;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
this.nowSelectData = selection;
|
this.nowSelectData = selection;
|
||||||
this.nowSelectRightData=[]
|
this.formlist.agencyId = selection[0].agencyId;
|
||||||
|
// this.nowSelectRightData=[]
|
||||||
// this.formlist.agencyCode = selection[0].agencyCode;
|
// this.formlist.agencyCode = selection[0].agencyCode;
|
||||||
|
|
||||||
// console.log(this.formlist.agencyId, "99999999");
|
// console.log(this.formlist.agencyId, "99999999");
|
||||||
@ -913,7 +914,7 @@ export default {
|
|||||||
this.$refs.multipleTables.toggleRowSelection(selection.pop()); // 设置选择项
|
this.$refs.multipleTables.toggleRowSelection(selection.pop()); // 设置选择项
|
||||||
}
|
}
|
||||||
this.nowSelectRightData = selection;
|
this.nowSelectRightData = selection;
|
||||||
this.nowSelectData=[]
|
// this.nowSelectData=[]
|
||||||
},
|
},
|
||||||
addresetQuerylist() {
|
addresetQuerylist() {
|
||||||
this.formmat.agencyName = "";
|
this.formmat.agencyName = "";
|
||||||
@ -936,8 +937,10 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击去左边
|
// 点击去左边
|
||||||
leftcontent() {
|
leftcontent() {
|
||||||
|
console.log(this.formlists,'4578')
|
||||||
updateUser(this.formlists).then((response) => {
|
updateUser(this.formlists).then((response) => {
|
||||||
if (response.code == 200) {
|
if (response.code == 200) {
|
||||||
|
console.log(response.code)
|
||||||
this.info();
|
this.info();
|
||||||
this.info2();
|
this.info2();
|
||||||
}
|
}
|
||||||
@ -1079,10 +1082,10 @@ export default {
|
|||||||
},
|
},
|
||||||
info2() {
|
info2() {
|
||||||
selectUserAgency(this.userName).then((res) => {
|
selectUserAgency(this.userName).then((res) => {
|
||||||
console.log(res,"/////////");
|
// console.log(res,"/////////");
|
||||||
// this.agencyNum = res.data.agencyNum;
|
// this.agencyNum = res.data.agencyNum;
|
||||||
|
this.tableData2 = res.rows;
|
||||||
if (res.rows.length > 0) {
|
if (res.rows.length > 0) {
|
||||||
this.tableData2 = res.rows;
|
|
||||||
this.belongAgencyNum = res.rows[0].agencyNum;
|
this.belongAgencyNum = res.rows[0].agencyNum;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user