bugfix zentao

This commit is contained in:
lb
2024-03-27 16:46:06 +08:00
parent 1c301215d1
commit b367bfcbe4
4 changed files with 45 additions and 39 deletions

View File

@@ -88,7 +88,8 @@ import {
import RecordDetail from './Record--detail.vue';
import { TableBtn } from '@/components/tableInnerComponents';
const timeFilter = (val) => moment(val).format('yyyy-MM-DD HH:mm:ss');
const timeFilter = (val) =>
val ? moment(val).format('yyyy-MM-DD HH:mm:ss') : '---';
export default {
name: 'SpecialEquipmentMaintainRecord',
@@ -485,11 +486,13 @@ export default {
getList() {
this.loading = true;
// 执行查询
this.recv({ ...this.queryParams, special: true }).then((response) => {
this.list = response.data.list;
this.total = response.data.total;
this.loading = false;
});
this.recv({ ...this.queryParams, special: true, confirmed: true }).then(
(response) => {
this.list = response.data.list;
this.total = response.data.total;
this.loading = false;
}
);
},
/** 取消按钮 */
cancel() {