From 122339007e78e47054d9159be20de794be5f460e Mon Sep 17 00:00:00 2001
From: zhangherong <571457620@qq.com>
Date: 星期一, 12 五月 2025 10:54:18 +0800
Subject: [PATCH] art: 设备管理-设备台账-列表、表单优化,无用字段删除

---
 src/views/eam/equipment/modules/EamEquipmentModal.vue |   34 +---------------
 src/views/eam/equipment/EamEquipmentList.vue          |   84 +++++++++++++++++++++---------------------
 2 files changed, 45 insertions(+), 73 deletions(-)

diff --git a/src/views/eam/equipment/EamEquipmentList.vue b/src/views/eam/equipment/EamEquipmentList.vue
index 7a31fb8..4ec8b0c 100644
--- a/src/views/eam/equipment/EamEquipmentList.vue
+++ b/src/views/eam/equipment/EamEquipmentList.vue
@@ -127,15 +127,15 @@
         <span slot="mdcFlag" slot-scope="text">
           <lx-switch v-model="text" disabled checked-children="鏄�" un-checked-children="鍚�"/>
         </span>
-        <span slot="processParametersFlag" slot-scope="text">
+<!--        <span slot="processParametersFlag" slot-scope="text">
           <lx-switch v-model="text" disabled checked-children="鏈�" un-checked-children="鏃�"/>
-        </span>
-        <span slot="precisionParametersFlag" slot-scope="text">
+        </span>-->
+<!--        <span slot="precisionParametersFlag" slot-scope="text">
           <lx-switch v-model="text" disabled checked-children="鏈�" un-checked-children="鏃�"/>
-        </span>
-        <span slot="specialEquipment" slot-scope="text">
+        </span>-->
+<!--        <span slot="specialEquipment" slot-scope="text">
           <lx-switch v-model="text" disabled checked-children="鏄�" un-checked-children="鍚�"/>
-        </span>
+        </span>-->
         <span slot="action" slot-scope="text, record">
           <a @click.stop="handleEdit(record)">缂栬緫</a>
 
@@ -389,42 +389,42 @@
             dataIndex: 'mdcFlag',
             scopedSlots: { customRender: 'mdcFlag' }
           },
-          {
-            title: '鏈夋棤宸ヨ壓鍙傛暟',
-            align: 'center',
-            width: 120,
-            dataIndex: 'processParametersFlag',
-            scopedSlots: { customRender: 'processParametersFlag' }
-          },
-          {
-            title: '鏈夋棤绮惧害鍙傛暟',
-            align: 'center',
-            width: 120,
-            dataIndex: 'precisionParametersFlag',
-            scopedSlots: { customRender: 'precisionParametersFlag' }
-          },
-          {
-            title: '鏄惁涓虹壒绉嶈澶�',
-            align: 'center',
-            width: 120,
-            dataIndex: 'specialEquipment',
-            scopedSlots: { customRender: 'specialEquipment' }
-          },
-          {
-            title: '閲嶉噺',
-            align: 'center',
-            dataIndex: 'equipmentWeight'
-          },
-          {
-            title: '璁惧绔彛',
-            align: 'center',
-            dataIndex: 'equipmentPort'
-          },
-          {
-            title: '鍧愭爣鏁伴噺',
-            align: 'center',
-            dataIndex: 'coordinateNum'
-          },
+          // {
+          //   title: '鏈夋棤宸ヨ壓鍙傛暟',
+          //   align: 'center',
+          //   width: 120,
+          //   dataIndex: 'processParametersFlag',
+          //   scopedSlots: { customRender: 'processParametersFlag' }
+          // },
+          // {
+          //   title: '鏈夋棤绮惧害鍙傛暟',
+          //   align: 'center',
+          //   width: 120,
+          //   dataIndex: 'precisionParametersFlag',
+          //   scopedSlots: { customRender: 'precisionParametersFlag' }
+          // },
+          // {
+          //   title: '鏄惁涓虹壒绉嶈澶�',
+          //   align: 'center',
+          //   width: 120,
+          //   dataIndex: 'specialEquipment',
+          //   scopedSlots: { customRender: 'specialEquipment' }
+          // },
+          // {
+          //   title: '閲嶉噺',
+          //   align: 'center',
+          //   dataIndex: 'equipmentWeight'
+          // },
+          // {
+          //   title: '璁惧绔彛',
+          //   align: 'center',
+          //   dataIndex: 'equipmentPort'
+          // },
+          // {
+          //   title: '鍧愭爣鏁伴噺',
+          //   align: 'center',
+          //   dataIndex: 'coordinateNum'
+          // },
           {
             title: '鍒涘缓浜�',
             align: 'center',
diff --git a/src/views/eam/equipment/modules/EamEquipmentModal.vue b/src/views/eam/equipment/modules/EamEquipmentModal.vue
index 63a550d..8f8c0c5 100644
--- a/src/views/eam/equipment/modules/EamEquipmentModal.vue
+++ b/src/views/eam/equipment/modules/EamEquipmentModal.vue
@@ -85,30 +85,6 @@
           </a-col>
         </a-row>
 
-        <a-row :gutter="24">
-          <a-col :span="6">
-            <a-form-model-item prop="equipmentWeight" label="閲嶉噺">
-              <a-input :placeholder="disableSubmit?'':'璇疯緭鍏ラ噸閲�'" v-model="model.equipmentWeight" :disabled="disableSubmit"/>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="6">
-            <a-form-model-item prop="equipmentPort" label="璁惧绔彛">
-              <a-input :placeholder="disableSubmit?'':'璇疯緭鍏ヨ澶囩鍙�'" v-model="model.equipmentPort" :disabled="disableSubmit"/>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="6">
-            <a-form-model-item prop="coordinateNum" label="鍧愭爣鏁伴噺">
-              <a-input-number :placeholder="disableSubmit?'':'璇疯緭鍏ュ潗鏍囨暟閲�'" v-model="model.coordinateNum" style="width: 100%" :disabled="disableSubmit"/>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="6">
-            <a-form-model-item prop="assetStatus" label="璧勪骇鐘舵��">
-              <j-dict-select-tag dict-code="asset_status" v-model="model.assetStatus"
-                                 disabled/>
-            </a-form-model-item>
-          </a-col>
-        </a-row>
-
         <a-divider orientation="center" style="font-size: large;font-style: italic;color: #66aeed;"> 鍑哄巶淇℃伅
         </a-divider>
 
@@ -211,13 +187,9 @@
             </a-form-model-item>
           </a-col>
           <a-col :span="6">
-            <a-form-model-item prop="processParametersFlag" label="鏈夋棤宸ヨ壓鍙傛暟">
-              <lx-switch checked-children='鏈�' un-checked-children='鏃�' v-model="model.processParametersFlag" :disabled="disableSubmit"/>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="6">
-            <a-form-model-item prop="precisionParametersFlag" label="鏈夋棤绮惧害鍙傛暟">
-              <lx-switch checked-children='鏈�' un-checked-children='鏃�' v-model="model.precisionParametersFlag" :disabled="disableSubmit"/>
+            <a-form-model-item prop="assetStatus" label="璧勪骇鐘舵��">
+              <j-dict-select-tag dict-code="asset_status" v-model="model.assetStatus"
+                                 disabled/>
             </a-form-model-item>
           </a-col>
         </a-row>

--
Gitblit v1.9.3