From 56d9c88deb00626a312bc06a7243f9be14eec1df Mon Sep 17 00:00:00 2001
From: “linengliang” <vanSuperEnergy@163.com>
Date: 星期日, 08 十月 2023 17:30:22 +0800
Subject: [PATCH] 不同类型设备设备台账

---
 src/views/eam/EquipmentListOfProduct.vue |   22 ++++++++++++----------
 1 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/src/views/eam/EquipmentList.vue b/src/views/eam/EquipmentListOfProduct.vue
similarity index 97%
rename from src/views/eam/EquipmentList.vue
rename to src/views/eam/EquipmentListOfProduct.vue
index 5b43b6e..b3fe092 100644
--- a/src/views/eam/EquipmentList.vue
+++ b/src/views/eam/EquipmentListOfProduct.vue
@@ -1,5 +1,5 @@
 <template>
-  <a-card :bordered="false">
+  <a-card :bordered="false" title="鐢熶骇璁惧">
     <!-- 鏌ヨ鍖哄煙 -->
     <div class="table-page-search-wrapper">
       <a-form layout="inline" @keyup.enter.native="searchQuery">
@@ -10,8 +10,8 @@
             :labelCol="labelCol"
             :wrapperCol="wrapperCol"
             >
-              <j-search-select-tag
-                dict="mom_eam_equipment_category,name,id"
+              <j-dict-select-tag
+                dictCode="mom_eam_equipment_category,name,id,equipment_category_uda1 = 'producter'"
                 placeholder="璇疯緭鍏ユ悳绱㈡潯浠跺苟閫夋嫨"
                 v-model="queryParam.equipmentCategoryId"
               />
@@ -25,10 +25,10 @@
             :wrapperCol="wrapperCol"
             label="缁熶竴缂栫爜"
             >
-              <j-input
+              <a-input
                 placeholder="璇疯緭鍏ヨ澶囩粺涓�缂栫爜鏌ヨ"
                 v-model="queryParam.num"
-              ></j-input>
+              ></a-input>
             </a-form-item>
           </a-col>
           <a-col
@@ -39,10 +39,10 @@
             :wrapperCol="wrapperCol"
             label="璁惧鍚嶇О"
             >
-              <j-input
+              <a-input
                 placeholder="璇疯緭鍏ヨ澶囧悕绉版煡璇�"
                 v-model="queryParam.name"
-              ></j-input>
+              ></a-input>
             </a-form-item>
           </a-col>
           <a-col :span="5">
@@ -51,10 +51,10 @@
               :labelCol="labelCol"
             :wrapperCol="wrapperCol"
             >
-            <j-input
+            <a-input
                 v-model="queryParam.model"
                 placeholder="璇疯緭鍏ュ瀷鍙�"
-            ></j-input>
+            ></a-input>
             </a-form-item>
           </a-col>
           <a-col :span="4">
@@ -451,7 +451,7 @@
         <equipment-update-warranty-list :mainId="selectedMainId" />
       </a-tab-pane>
     </a-tabs>
-    <equipment-modal ref="modalForm" @ok="modalFormOk"></equipment-modal>
+    <equipment-modal ref="modalForm" @ok="modalFormOk" :caytegoryParam="caytegoryParam"></equipment-modal>
     <process-edit-model ref ="processEditModel"></process-edit-model>
     <precision-edit-model ref ="precisionEditModel"></precision-edit-model>
     <aBC-update-edit-model @ok="modalFormOk" :updateList="selectionRows" ref="updateABC"></aBC-update-edit-model>
@@ -502,6 +502,7 @@
     data () {
       return {
         description: '璁惧鍙拌处绠$悊椤甸潰',
+        caytegoryParam:'producter',
         // 琛ㄥご
         columns: [
         {
@@ -807,6 +808,7 @@
           this.ipagination.current = 1;
         }
         this.onClearSelected()
+        this.queryParam.equipmentCategoryUda1 = this.caytegoryParam;
         var params = this.getQueryParams();//鏌ヨ鏉′欢
         this.loading = true;
         getAction(this.url.list, params).then((res) => {

--
Gitblit v1.9.3