bug
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* @Author: zwq
|
||||
* @Date: 2021-11-18 14:16:25
|
||||
* @LastEditors: DY
|
||||
* @LastEditTime: 2024-02-27 08:58:08
|
||||
* @LastEditTime: 2024-02-27 09:41:00
|
||||
* @Description:
|
||||
-->
|
||||
<template>
|
||||
@@ -428,9 +428,9 @@ export default {
|
||||
status: 1
|
||||
}).then(response => {
|
||||
this.$modal.msgSuccess("新增成功");
|
||||
// this.idAttrShow = true
|
||||
this.idAttrShow = true
|
||||
this.dataForm.id = response.data
|
||||
this.visible = false;
|
||||
// this.visible = false;
|
||||
this.$emit("refreshDataList");
|
||||
});
|
||||
});
|
||||
|
||||
@@ -31,44 +31,6 @@
|
||||
:limit.sync="queryParams.pageSize"
|
||||
@pagination="getList" />
|
||||
|
||||
<!-- 对话框(添加) -->
|
||||
<!-- <base-dialog
|
||||
:dialogTitle="title"
|
||||
:dialogVisible="open"
|
||||
width="60%"
|
||||
@close="cancel"
|
||||
@cancel="cancel"
|
||||
@confirm="submitForm">
|
||||
<DialogFormUnplanned
|
||||
v-if="open"
|
||||
ref="form"
|
||||
v-model="form"
|
||||
:disabled="mode == 'detail'" />
|
||||
<el-row v-if="mode === 'detail'" slot="footer" type="flex" justify="end">
|
||||
<el-col :span="12">
|
||||
<el-button size="small" class="btnTextStyle" @click="cancel">
|
||||
关闭
|
||||
</el-button>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</base-dialog> -->
|
||||
|
||||
<!-- 编辑 -->
|
||||
<!-- <UnplannedEditDrawer
|
||||
ref="unplanned"
|
||||
v-if="openUnplannedDrawer"
|
||||
@refreshDataList="getList"
|
||||
@destroy="openUnplannedDrawer = false" />
|
||||
<PlannedEditDrawer
|
||||
ref="planned"
|
||||
v-if="openPlannedDrawer"
|
||||
@refreshDataList="getList"
|
||||
@destroy="openPlannedDrawer = false" />
|
||||
|
||||
<RecordDetail
|
||||
v-if="recordDetailVisible"
|
||||
ref="recordDetailDrawer"
|
||||
@destroy="recordDetailVisible = false" /> -->
|
||||
<add-or-update
|
||||
v-if="addOrUpdateVisible"
|
||||
ref="addOrUpdate"
|
||||
@@ -80,16 +42,12 @@
|
||||
import AddOrUpdate from './add-or-updata';
|
||||
import moment from 'moment';
|
||||
import basicPageMixin from '@/mixins/lb/basicPageMixin';
|
||||
// import DialogFormUnplanned from './WaitingList--add--unplanned.vue';
|
||||
// import UnplannedEditDrawer from './WaitingListUnplanned--edit.vue';
|
||||
// import PlannedEditDrawer from './WaitingListPlanned--edit.vue';
|
||||
import {
|
||||
exportCheckOrderExcel,
|
||||
} from '@/api/equipment/base/maintain/record';
|
||||
import WaitingListTable from './WaitingListTable.vue';
|
||||
// import RecordDetail from './Record--detail.vue';
|
||||
|
||||
const timeFilter = (val) => moment(val).format('yyyy-MM-DD HH:mm:ss');
|
||||
// const timeFilter = (val) => moment(val).format('yyyy-MM-DD HH:mm:ss');
|
||||
|
||||
const btn = {
|
||||
name: 'tableBtn',
|
||||
@@ -160,9 +118,7 @@ export default {
|
||||
plain: true,
|
||||
},
|
||||
{
|
||||
type: this.$auth.hasPermi('equipment:check-setting:export')
|
||||
? 'button'
|
||||
: '',
|
||||
type: 'button',
|
||||
btnName: '导出',
|
||||
name: 'export',
|
||||
plain: true,
|
||||
|
||||
@@ -118,10 +118,10 @@ export default {
|
||||
// : undefined,
|
||||
].filter((v) => v),
|
||||
tableProps: [
|
||||
{ prop: 'configName', label: '巡检单名称' },
|
||||
{ prop: 'equipmentName', label: '部门' },
|
||||
{ prop: 'actualTime1', label: '巡检时间', filter: parseTime },
|
||||
{ prop: 'actualTime', label: '班次' },
|
||||
{ prop: 'name', label: '巡检单名称' },
|
||||
{ prop: 'department', label: '部门' },
|
||||
{ prop: 'actualCheckTime', label: '巡检时间', filter: parseTime },
|
||||
{ prop: 'groupClass', label: '班次' },
|
||||
{ prop: 'opt', label: '巡检内容', name: '详情', subcomponent: btn },
|
||||
{ prop: 'remark', label: '备注' }
|
||||
// { prop: 'origin', label: '数据来源', filter: (val) => ['', '手动', 'PDA'][val] },
|
||||
|
||||
Reference in New Issue
Block a user