From 7c3193a7d368a10d979da43a2363d5f08f599efc Mon Sep 17 00:00:00 2001
From: “linengliang” <vanSuperEnergy@163.com>
Date: 星期一, 27 十一月 2023 11:18:58 +0800
Subject: [PATCH] 持续优化
---
src/views/eam/EquipmentListOfTester.vue | 69 ++++++++++++++++++----------------
1 files changed, 37 insertions(+), 32 deletions(-)
diff --git a/src/views/eam/EquipmentListOfTester.vue b/src/views/eam/EquipmentListOfTester.vue
index 7146466..30d3c6f 100644
--- a/src/views/eam/EquipmentListOfTester.vue
+++ b/src/views/eam/EquipmentListOfTester.vue
@@ -4,7 +4,7 @@
<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"
@@ -18,7 +18,7 @@
</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"
@@ -56,41 +56,25 @@
placeholder="璇疯緭鍏ュ瀷鍙�"
></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-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="缁存姢閮ㄩ棬"
@@ -220,7 +204,6 @@
</a-form-model-item>
</a-col>
</a-row>
- </template>
</a-form>
</div>
<!-- 鏌ヨ鍖哄煙-END -->
@@ -450,8 +433,14 @@
<a-tab-pane tab="璐ㄤ繚鏈熷彉鏇磋褰�" key="6" forceRender>
<equipment-update-warranty-list :mainId="selectedMainId" />
</a-tab-pane>
- <a-tab-pane tab="淇濆吇鐐规鏍囧噯" key="7" forceRender>
- <standard-of-maintenance :mainId="selectedMainId"/>
+ <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>
@@ -479,12 +468,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],
@@ -505,6 +497,9 @@
EquipmentSparePartsModal,
StandardOfInspection,
StandardOfMaintenance,
+ DailyMaintenanceList,
+ SecondMaintenanceList,
+ ThirdMaintenanceList,
},
data () {
return {
@@ -577,6 +572,16 @@
align: "center",
dataIndex: 'specificEquipment_dictText',
},
+ {
+ title: '鎶�鏈姸鎬�',
+ align: "center",
+ dataIndex: 'technologyStatus_dictText',
+ },
+ {
+ title: '鎶�鏈姸鎬侀壌瀹氱被鍨�',
+ align: "center",
+ dataIndex: 'technologyStatusVerificationType_dictText',
+ },
// {
// title: '宸ュ尯',
// align: "center",
--
Gitblit v1.9.3