This commit is contained in:
zhangdingyu
2020-01-07 08:37:28 +08:00
parent 6847e0e3cb
commit 80496d9d42

View File

@@ -161,6 +161,7 @@ export default {
this.tableData2 = []
this.total2 = 0
searchtable(this.startTime, this.endTime, this.pageCurrent, this.pageSize).then(response => {
console.log(response.data, 111)
if (response.data.total === 0) {
this.loading = false
} else {
@@ -176,6 +177,7 @@ export default {
this.tableData2 = []
this.pageCurrent2 = 1
searchtable2(row.人员编号, this.startTime, this.endTime, this.pageCurrent2, this.pageSize2).then(response => {
console.log(response.data, 222)
if (response.data.rows.length !== 0) {
this.tableData2 = response.data.rows
}