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