This commit is contained in:
闫晓茹 2024-03-01 13:50:42 +08:00
parent 470fb14411
commit debfacbe42

View File

@ -583,7 +583,7 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination <pagination
v-show="totalag > 0"
:total="totalag" :total="totalag"
:page.sync="formmat.pageNum" :page.sync="formmat.pageNum"
:limit.sync="formmat.pageSize" :limit.sync="formmat.pageSize"
@ -734,8 +734,8 @@ export default {
formmat: { formmat: {
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
agencyName: null, agencyName: '',
userId: null, userId: '',
}, },
totalag2: 0, totalag2: 0,
@ -1073,7 +1073,14 @@ export default {
console.log(this.formmat); console.log(this.formmat);
selectUserAgencyleft(this.formmat).then((res) => { selectUserAgencyleft(this.formmat).then((res) => {
// console.log(res) // console.log(res)
// if(res.rows){
// this.tableData1 = res.rows;
// }else{
// this.tableData1 =[]
// }
this.tableData1 = res.rows; this.tableData1 = res.rows;
if (res.rows.length > 0) { if (res.rows.length > 0) {
this.agencyNum = res.rows[0].agencyNum; this.agencyNum = res.rows[0].agencyNum;
}else{ }else{