From c7e428ba116ab96bb862352ffca2df0fc4954777 Mon Sep 17 00:00:00 2001
From: Houjie <714924425@qq.com>
Date: 星期二, 10 六月 2025 14:58:03 +0800
Subject: [PATCH] 设备操作证-操作证计分规则-查询条件增加模糊查询
---
src/views/eam/modules/dailyMaintenanceOrder/MaintenanceOrderModal.vue | 72 +++++++++++++++++++----------------
1 files changed, 39 insertions(+), 33 deletions(-)
diff --git a/src/views/eam/modules/dailyMaintenanceOrder/MaintenanceOrderModal.vue b/src/views/eam/modules/dailyMaintenanceOrder/MaintenanceOrderModal.vue
index a199f59..6d3f9aa 100644
--- a/src/views/eam/modules/dailyMaintenanceOrder/MaintenanceOrderModal.vue
+++ b/src/views/eam/modules/dailyMaintenanceOrder/MaintenanceOrderModal.vue
@@ -112,7 +112,7 @@
<a-input
allow-clear
:disabled="true"
- :placeholder="disableSubmit?'':'璇疯緭鍏ヨ澶囩紪鐮�/鍚嶇О/鍨嬪彿'"
+ :placeholder="disableSubmit?'':'璇疯緭鍏ョ粺涓�缂栫爜/鍚嶇О/鍨嬪彿'"
v-decorator="['equipmentId', validatorRules.equipmentId ]"
/>
</a-form-item>
@@ -180,7 +180,7 @@
allow-clear
:disabled="true"
:placeholder="disableSubmit?'':'璇疯緭鍏ヨ矗浠荤彮缁�'"
- v-decorator="['teamName', validatorRules.teamName ]"
+ v-decorator="['teamName', {} ]"
/>
</a-form-item>
</a-col>
@@ -298,6 +298,7 @@
rowKey='id'
:columns="columns"
:dataSource="dataSource"
+ :pagination="false"
>
<!-- <span
slot="photo"
@@ -423,37 +424,42 @@
},
width: 50,
},
+ // {
+ // title: '閮ㄤ綅',
+ // align: 'center',
+ // dataIndex: 'location'
+ // },
{
- title: '閮ㄤ綅',
+ title: '淇濆吇瑙掕壊',
align: 'center',
- dataIndex: 'location'
+ dataIndex: 'maintenanceRole'
},
{
- title: '淇濆吇椤圭洰',
+ title: '淇濆吇鍐呭',
align: 'center',
- dataIndex: 'maintenanceProjectNum'
+ dataIndex: 'maintenanceProjectName'
},
- {
- title: '淇濆吇鏍囧噯',
- align: 'center',
- dataIndex: 'standard'
- },
- {
- title: '鏂规硶',
- align: 'center',
- dataIndex: 'maintenanceMethod'
- },
- {
- title: '宸ュ叿',
- align: 'center',
- dataIndex: 'maintenanceTool'
- },
- {
- title: '绀烘剰鍥�',
- align: 'center',
- dataIndex: 'photo',
- scopedSlots: { customRender: 'photo' }
- },
+ // {
+ // title: '淇濆吇鏍囧噯',
+ // align: 'center',
+ // dataIndex: 'standard'
+ // },
+ // {
+ // title: '鏂规硶',
+ // align: 'center',
+ // dataIndex: 'maintenanceMethod'
+ // },
+ // {
+ // title: '宸ュ叿',
+ // align: 'center',
+ // dataIndex: 'maintenanceTool'
+ // },
+ // {
+ // title: '绀烘剰鍥�',
+ // align: 'center',
+ // dataIndex: 'photo',
+ // scopedSlots: { customRender: 'photo' }
+ // },
// {
// title: '缁翠繚涓撲笟',
// align: 'center',
@@ -487,7 +493,7 @@
},
useId: {
rules: [
- { required: true, message: '璇烽�夋嫨瀵硅薄閮ㄩ棬!' },
+ { required: false, message: '璇烽�夋嫨浣跨敤閮ㄩ棬!' },
]
},
maintenanceCycleId: {
@@ -635,12 +641,12 @@
onSearchMaintenanceStandard() {
let data = this.form.getFieldsValue(['useId']);
- if (data.useId == null || data.useId == "") {
- this.$message.warning("璇峰厛閫夋嫨瀵硅薄閮ㄩ棬!");
- return
- }
+ // if (data.useId == null || data.useId == "") {
+ // this.$message.warning("璇峰厛閫夋嫨浣跨敤閮ㄩ棬!");
+ // return
+ // }
this.$refs.DailyMaintenanceStandardList.list(data.useId);
- this.$refs.DailyMaintenanceStandardList.title = "閫夋嫨鏃ュ父淇濆吇鏍囧噯";
+ this.$refs.DailyMaintenanceStandardList.title = "閫夋嫨浜岀骇淇濆吇鏍囧噯";
},
sendMaintenanceStandardRecord(data) {
let record = data.record;
--
Gitblit v1.9.3