flx:修复bug

This commit is contained in:
Rain_ 2025-06-25 17:08:50 +08:00
parent 2541fc6a54
commit d600729f5f
2 changed files with 6 additions and 6 deletions

View File

@ -1330,12 +1330,12 @@ export default {
//
handleSizeChangeWorker(val) {
this.selectWorkerInfo.pageSize = val;
this.getDataList();
this.getSelectedPersonListFn();
},
//
handleCurrentChangeWorker(val) {
this.selectWorkerInfo.pageNo = val;
this.getDataList();
this.getSelectedPersonListFn();
},
handleQuerySelectWorker() {
this.selectWorkerInfo.pageNo = 1;
@ -1366,7 +1366,7 @@ export default {
console.log(res);
if (res.code == 200) {
this.selectWorkerList = res.result.records;
this.selectWorkerInfo.total = res.result.records.length;
this.selectWorkerInfo.total = res.result.total;
}
});
},

View File

@ -174,7 +174,7 @@
>
<template slot-scope="scope">
<div v-for="(item, index) in scope.row.inTimeList" :key="index">
{{ item.inTimeList ? item.inTimeList : "--" }}
{{ item ? item : "--" }}
</div>
<span v-if="scope.row.inTimeList.length == 0">--</span>
</template>
@ -182,12 +182,12 @@
<el-table-column
prop="outTimeList"
show-overflow-tooltip
label="出记录"
label="出记录"
align="center"
>
<template slot-scope="scope">
<div v-for="(item, index) in scope.row.outTimeList" :key="index">
{{ item.inTimeList ? item.inTimeList : "--" }}
{{ item ? item : "--" }}
</div>
<span v-if="scope.row.outTimeList.length == 0">--</span>
</template>