This commit is contained in:
闫晓茹 2024-03-01 13:35:30 +08:00
parent 29c2bb1a95
commit 7bab1657d9

View File

@ -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;
}
});