From 399e6c1b3925f4241e6b1cef6ffe055b84fb53f6 Mon Sep 17 00:00:00 2001
From: “linengliang” <vanSuperEnergy@163.com>
Date: 星期三, 13 十二月 2023 17:45:58 +0800
Subject: [PATCH] 修改

---
 src/views/eam/EquipmentListOfFilesCarousel.vue |  111 +++++++++++++++++++++++++++++++++++++++----------------
 1 files changed, 78 insertions(+), 33 deletions(-)

diff --git a/src/views/eam/EquipmentListOfFilesCarousel.vue b/src/views/eam/EquipmentListOfFilesCarousel.vue
index cc047d7..b6cac7d 100644
--- a/src/views/eam/EquipmentListOfFilesCarousel.vue
+++ b/src/views/eam/EquipmentListOfFilesCarousel.vue
@@ -4,21 +4,21 @@
     <div class="table-page-search-wrapper">
       <a-form layout="inline" @keyup.enter.native="searchQuery">
         <a-row :gutter="24">
-          <a-col :span="5">
+          <a-col :span="6">
             <a-form-item
             label="璁惧鎵�灞炲垎绫�" 
             :labelCol="labelCol"
             :wrapperCol="wrapperCol"
             >
               <j-dict-select-tag
-                dict="mom_eam_equipment_category,name,id,equipment_category_uda1 = 'filesCarousel'"
+                dictCode="mom_eam_equipment_category,name,id,equipment_category_uda1='filesCarousel'"
                 placeholder="璇疯緭鍏ユ悳绱㈡潯浠跺苟閫夋嫨"
                 v-model="queryParam.equipmentCategoryId"
               />
             </a-form-item>
           </a-col>
           <a-col
-          :span="5"
+          :span="6"
           >
             <a-form-item 
             :labelCol="labelCol"
@@ -32,7 +32,7 @@
             </a-form-item>
           </a-col>
           <a-col
-          :span="5"
+          :span="6"
           >
             <a-form-item 
             :labelCol="labelCol"
@@ -45,7 +45,7 @@
               ></a-input>
             </a-form-item>
           </a-col>
-          <a-col :span="5">
+          <a-col :span="6">
             <a-form-item
               label="鍨嬪彿"
               :labelCol="labelCol"
@@ -57,40 +57,24 @@
             ></a-input>
             </a-form-item>
           </a-col>
-          <a-col :span="4">
-          <span
-              style="float: left;overflow: hidden;"
-              class="table-page-search-submitButtons"
-            >
-              <a
-                @click="handleToggleSearch"
-                style="margin-left: 8px"
-              >
-                {{ toggleSearchStatus ? '鏀惰捣' : '灞曞紑' }}
-                <a-icon :type="toggleSearchStatus ? 'up' : 'down'" />
-              </a>
-            </span>
-          </a-col>
-         
         </a-row>
-        <template v-if="toggleSearchStatus">
         <a-row :gutter="24">
           <a-col :span="6">
             <a-form-item
-              label="浜х嚎"
+              label="宸ュ尯"
               :labelCol="labelCol"
             :wrapperCol="wrapperCol"
             >
             <j-dict-select-tag
                 allow-clear
-                placeholder="璇烽�夋嫨浜х嚎"
+                placeholder="璇烽�夋嫨宸ュ尯"
                 :triggerChange="true"
-                dictCode="mom_base_work_center,name,id,del_flag!='1'"
-                v-model="queryParam.workCenterId"
+                dictCode="mom_base_area,name,id,del_flag!='1'"
+                v-model="queryParam.factoryModelId"
               />
             </a-form-item>
           </a-col>
-          <a-col :span="6">
+          <!-- <a-col :span="6">
             <a-form-item
               label="杞﹂棿"
               :labelCol="labelCol"
@@ -104,7 +88,7 @@
                 v-model="queryParam.factoryModelId"
               />
             </a-form-item>
-          </a-col>
+          </a-col> -->
           <a-col :span="6">
             <a-form-item
               label="缁存姢閮ㄩ棬"
@@ -134,6 +118,21 @@
                 placeholder="璇烽�夋嫨浣跨敤閮ㄩ棬"
                 tree-default-expand-all
                 v-model="queryParam.useId"
+              />
+            </a-form-item>
+          </a-col>
+          <a-col :span="6">
+            <a-form-item
+              label="鏄惁鐢熶骇绾胯澶�"
+              :labelCol="labelCol"
+            :wrapperCol="wrapperCol"
+            >
+              <j-dict-select-tag
+                allow-clear
+                placeholder="璇烽�夋嫨"
+                :triggerChange="true"
+                dictCode="is_product"
+                v-model="queryParam.isLineEquip"
               />
             </a-form-item>
           </a-col>
@@ -220,7 +219,6 @@
             </a-form-model-item>
           </a-col>
         </a-row>
-        </template>
       </a-form>
     </div>
     <!-- 鏌ヨ鍖哄煙-END -->
@@ -436,7 +434,7 @@
       <a-tab-pane tab="璁惧绮惧害" key="2" forceRender>
         <EquipmentPrecisionParametersList 
         :isOpen="isOpenPrecision"
-        :mainId="selectedMainId" />
+        :mainId="precisionParametersTemplateId" />
       </a-tab-pane>
       <a-tab-pane tab="璁惧鏂囨。" key="3" forceRender>
         <EquipmentDocumentList :mainId="selectedMainId" />
@@ -447,8 +445,17 @@
       <a-tab-pane tab="ABC鏍囪瘑鍙樻洿璁板綍" key="5" forceRender>
         <equipment-update-ABC-list :mainId="selectedMainId" />
       </a-tab-pane>
-      <a-tab-pane tab="璐ㄤ繚鏈熷彉鏇磋褰�" key="6" forceRender>
+      <a-tab-pane tab="璐ㄤ繚鏈熷彉鏇�" key="6" forceRender>
         <equipment-update-warranty-list :mainId="selectedMainId" />
+      </a-tab-pane>
+      <a-tab-pane tab="鏃ヤ繚鏍囧噯" key="7" forceRender>
+        <daily-maintenance-list :mainId="selectedMainId"></daily-maintenance-list>
+      </a-tab-pane>
+      <a-tab-pane tab="浜屼繚鏍囧噯" key="8" forceRender>
+        <second-maintenance-list :mainId="selectedMainId"></second-maintenance-list>
+      </a-tab-pane>
+      <a-tab-pane tab="涓変繚鏍囧噯" key="9" forceRender>
+        <third-maintenance-list :mainId="selectedMainId"></third-maintenance-list>
       </a-tab-pane>
     </a-tabs>
     <equipment-modal ref="modalForm" @ok="modalFormOk" :caytegoryParam="caytegoryParam"></equipment-modal>
@@ -476,10 +483,15 @@
   import PrecisionEditModel from './modules/equipmentNew/edit/PrecisionEditModel'
   import EquipmentUpdateABCList from './modules/equipmentNew/EquipmentUpdateABCList.vue'
   import EquipmentUpdateWarrantyList from './modules/equipmentNew/EquipmentUpdateWarrantyList.vue'
-  import ABCUpdateEditModel from './modules/equipmentNew/edit/ABCUpdateEditModel.vue'
+  import ABCUpdateEditModel from './modules/equipmentNew/edit/ABCUpdateEditModel'
   import WarrantyUpdateModel from './modules/equipmentNew/edit/WarrantyUpdateModel.vue'
-  import EquipmentSpareParts from './modules/equipmentNew/EquipmentSpareParts.vue'
+  import EquipmentSpareParts from './modules/equipmentNew/EquipmentSpareParts'
   import EquipmentSparePartsModal from './modules/equipmentNew/EquipmentSparePartsModal'
+  import StandardOfInspection from './modules/equipmentNew/StandardOfInspection.vue'
+  import StandardOfMaintenance from './modules/equipmentNew/StandardOfMaintenance.vue'
+  import DailyMaintenanceList from './modules/equipmentNew/DailyMaintenanceList.vue'
+  import SecondMaintenanceList from './modules/equipmentNew/SecondMaintenanceList.vue'
+  import ThirdMaintenanceList from './modules/equipmentNew/ThirdMaintenanceList.vue'
   export default {
     name: "EquipmentList",
     mixins:[JeecgListMixin,mixinDevice],
@@ -497,7 +509,12 @@
         ABCUpdateEditModel,
         WarrantyUpdateModel,
         EquipmentSpareParts,
-        EquipmentSparePartsModal
+        EquipmentSparePartsModal,
+        StandardOfInspection,
+        StandardOfMaintenance,
+        DailyMaintenanceList,
+        SecondMaintenanceList,
+        ThirdMaintenanceList,
     },
     data () {
       return {
@@ -519,6 +536,11 @@
           title: '璁惧绫诲瀷',
           align: "center",
           dataIndex: 'equipmentCategoryId_dictText',
+        },
+        {
+          title: '鏄惁鐢熶骇绾胯澶�',
+          align: "center",
+          dataIndex: 'isLineEquip_dictText',
         },
         {
           title: '缁熶竴缂栫爜',
@@ -569,6 +591,26 @@
           title: '鍏抽敭璁惧鏍囪瘑',
           align: "center",
           dataIndex: 'specificEquipment_dictText',
+        },
+        {
+          title: '鎶�鏈姸鎬�',
+          align: "center",
+          dataIndex: 'technologyStatus_dictText',
+        },
+        {
+          title: '鎶�鏈姸鎬侀壌瀹氱被鍨�',
+          align: "center",
+          dataIndex: 'technologyStatusVerificationType_dictText',
+        },
+        {
+          title: '鐢熶骇绾跨紪鍙�',
+          align: "center",
+          dataIndex: 'lineId_dictText',
+        },
+        {
+          title: '涓昏澶�?',
+          align: "center",
+          dataIndex: 'isMeta_dictText',
         },
         // {
         //   title: '宸ュ尯',
@@ -742,6 +784,7 @@
         equipmentProcessParametersMainId: '',
         equipmentDocumentMainId: '',
         equipmentPrecisionParametersMainId: '',
+        precisionParametersTemplateId:'',
         isOpenPrecision:true,
         isOpenProcess:true,
         treeData: [],
@@ -790,10 +833,12 @@
       onSelectChange(selectedRowKeys, selectionRows) {
         if(selectedRowKeys.length==1){
           this.selectedMainId=selectedRowKeys[0]
+          this.precisionParametersTemplateId = selectionRows[0].precisionParametersTemplateId;
           this.isOpenProcess = selectionRows[0].processParameters==1;
           this.isOpenPrecision = selectionRows[0].precisionParameters==1;
         }else{
           this.selectedMainId=''
+          this.precisionParametersTemplateId = ''
         }
         this.selectedRowKeys = selectedRowKeys;
         this.selectionRows = selectionRows;

--
Gitblit v1.9.3