bugfix zentao
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user