From b14aa3f5539d358ec2db80a65c4c32c684d88c77 Mon Sep 17 00:00:00 2001
From: Houjie <714924425@qq.com>
Date: 星期二, 10 六月 2025 14:42:30 +0800
Subject: [PATCH] 设备操作证-操作证管理 查询条件修改  所有设备- 查询条件名称修改

---
 src/views/eam/modules/maintenancePlan/StandardSelect.vue |   79 +++++++++++++++++++++++++++++++++------
 1 files changed, 67 insertions(+), 12 deletions(-)

diff --git a/src/views/eam/modules/maintenancePlan/StandardSelect.vue b/src/views/eam/modules/maintenancePlan/StandardSelect.vue
index 0f3e8a3..f97147c 100644
--- a/src/views/eam/modules/maintenancePlan/StandardSelect.vue
+++ b/src/views/eam/modules/maintenancePlan/StandardSelect.vue
@@ -8,7 +8,7 @@
     @cancel="close"
     style="top:50px"
     cancelText="鍏抽棴"
-    :width="1500"
+    :width="1600"
   >
     <a-card :bordered="false">
       <div class="table-page-search-wrapper">
@@ -18,7 +18,7 @@
         >
           <a-row :gutter="24">
             <a-col
-              :md="8"
+              :md="6"
               :sm="6"
             >
               <a-form-item label="缁熶竴缂栫爜">
@@ -29,7 +29,7 @@
               </a-form-item>
             </a-col>
             <a-col
-              :md="8"
+              :md="6"
               :sm="6"
             >
               <a-form-item label="璁惧鍚嶇О">
@@ -39,6 +39,40 @@
                 />
               </a-form-item>
             </a-col>
+            <!-- 鎸変腑蹇冩煡璇� -->
+            <a-col
+              :md="6"
+              :sm="6"
+            >
+              <a-form-item label="涓績">
+                <j-dict-select-tag
+                  allow-clear
+                  placeholder="璇烽�夋嫨涓績"
+                  :triggerChange="true"
+                  dictCode="mom_base_area,name,id,del_flag!='1' and type='1'"
+                  v-model="queryParam.workCenterId"
+                />
+              </a-form-item>
+            </a-col>
+            <a-col
+              :md="6"
+              :sm="6"
+            >
+              <a-form-model-item
+                label="涓嬫涓変繚鏃堕棿"
+                prop="ranges"
+              >
+                <a-range-picker
+                  v-model="ranges"
+                  style="width:100%"
+                  format="YYYY-MM-DD HH:mm:ss"
+                  showTime
+                  :placeholder="[ '寮�濮嬫椂闂�', '缁撴潫鏃堕棿']"
+                  @change="changeDate"
+                />
+              </a-form-model-item>
+            </a-col>
+
             <a-col :md="3">
               <span
                 style="float: left;overflow: hidden;"
@@ -98,6 +132,7 @@
     return {
       queryParam: {
       },
+      ranges: [],
       columns: [
         {
           title: '#',
@@ -113,31 +148,31 @@
           title: '缁熶竴缂栫爜',
           align: 'center',
           dataIndex: 'num',
-          width: 200
+          // width: 200
         },
         {
           title: '璁惧鍚嶇О',
           align: 'center',
           dataIndex: 'name',
-          width: 200
+          // width: 200
         },
         {
           title: '璁惧鍨嬪彿',
           align: 'center',
           dataIndex: 'model',
-          width: 200
+          // width: 200
         },
         {
           title: '璁惧瑙勬牸',
           align: 'center',
           dataIndex: 'specification',
-          width: 200
+          // width: 200
         },
         {
           title: 'ABC鏍囪瘑',
           align: "center",
           dataIndex: 'equipmentImportanceId',
-          width: 100
+          // width: 100
         },
         {
           title: '鍏抽敭璁惧鏍囪瘑',
@@ -148,14 +183,28 @@
         {
           title: '璁惧鐘舵��',
           align: 'center',
-          dataIndex: 'equipmentStatus_dictText',
-          width: 100
+          // dataIndex: 'equipmentStatus_dictText',
+          // width: 100
         },
         {
           title: '鎶�鏈姸鎬�',
           align: 'center',
           dataIndex: 'technologyStatus_dictText',
-          width: 100
+          // width: 100
+        },
+        //涓嬫涓変繚鏃堕棿
+        {
+          title: '涓嬫涓変繚鏃堕棿',
+          align: 'center',
+          dataIndex: 'nextThirdMaintenanceTime',
+          // width: 200
+        },
+        //涓績
+        {
+          title: '涓績',
+          align: 'center',
+          dataIndex: 'workCenterId_dictText',
+          // width: 200
         },
       ],
       selectedRowKeys: [],
@@ -183,7 +232,7 @@
       visible: false,
       loading: false,
       url: {
-        list: '/eam/equipment/showEquipmentList',
+        list: '/eam/equipment/planEquipmentList',
         getStandards: '/eam/equipmentMaintenancePlan/getStandards'
       },
     }
@@ -263,9 +312,11 @@
     searchReset(num) {
       let that = this;
       this.queryParam = [];
+      this.ranges = [];
       if (num !== 0) {
         that.loadData(1);
       }
+
       that.selectborrowIds = [];
     },
     close() {
@@ -309,6 +360,10 @@
 
 
     },
+    changeDate(date, dateString) {
+      this.queryParam.startTime = dateString[0].format('YYYY-MM-DD HH:mm:ss');
+      this.queryParam.endTime = dateString[1].format('YYYY-MM-DD HH:mm:ss');
+    },
     onSelectChange(selectionRows) {
       this.selectionRows = selectionRows;
     },

--
Gitblit v1.9.3