From 4873f750d82c2c81efcbb0078869cf8bbca0ca43 Mon Sep 17 00:00:00 2001 From: helloDy <1615073571@qq.com> Date: Tue, 28 Nov 2023 18:08:39 +0800 Subject: [PATCH] ui --- .../base/coreWorkOrder/add-or-updata.vue | 16 +- src/views/base/coreWorkOrder/addWorkOrder.vue | 3 +- src/views/base/coreWorkOrder/attr-add.vue | 153 ++++++++++-------- src/views/base/coreWorkOrder/index.vue | 53 ++++-- .../base/inspection/Record/addRecord.vue | 34 ++-- .../base/inspection/Record/attr-add.vue | 148 ----------------- .../base/inspection/Record/index.vue | 2 +- 7 files changed, 158 insertions(+), 251 deletions(-) delete mode 100644 src/views/equipment/base/inspection/Record/attr-add.vue diff --git a/src/views/base/coreWorkOrder/add-or-updata.vue b/src/views/base/coreWorkOrder/add-or-updata.vue index 621469d4..0ba46ebd 100644 --- a/src/views/base/coreWorkOrder/add-or-updata.vue +++ b/src/views/base/coreWorkOrder/add-or-updata.vue @@ -2,23 +2,23 @@ * @Author: zwq * @Date: 2021-11-18 14:16:25 * @LastEditors: DY - * @LastEditTime: 2023-11-24 18:20:26 + * @LastEditTime: 2023-11-28 14:09:09 * @Description: --> @@ -174,6 +184,7 @@ export default { actualTime: undefined, responsible: undefined, description: undefined, + origin: undefined, files: [] }, list: [], @@ -227,15 +238,6 @@ export default { return this.$refs.dataForm.resetFields(args); }, initData() { - this.dataForm = { - id: undefined, - configId: undefined, - equipmentId: undefined, - actualTime: undefined, - responsible: undefined, - description: undefined, - files: [] - } this.list = [] this.file = '' this.fileName = '' diff --git a/src/views/equipment/base/inspection/Record/attr-add.vue b/src/views/equipment/base/inspection/Record/attr-add.vue deleted file mode 100644 index bef3ae04..00000000 --- a/src/views/equipment/base/inspection/Record/attr-add.vue +++ /dev/null @@ -1,148 +0,0 @@ - - - - - diff --git a/src/views/equipment/base/inspection/Record/index.vue b/src/views/equipment/base/inspection/Record/index.vue index 77b995ad..5dcee26b 100644 --- a/src/views/equipment/base/inspection/Record/index.vue +++ b/src/views/equipment/base/inspection/Record/index.vue @@ -93,7 +93,7 @@ export default { tableProps: [ { prop: 'configName', label: '配置名称' }, { prop: 'equipmentName', label: '设备名称' }, - // { prop: 'lineName', label: '数据来源' }, + { prop: 'origin', label: '数据来源', filter: (val) => ['', '手动', '自动'][val] }, // { prop: 'sectionName', label: '计划巡检时间' }, { prop: 'actualTime', label: '实际巡检时间', filter: parseTime }, // { prop: 'maintenanceDetail', label: '完成状态' },