From 07e3e588a730569b8f1cd3227c8649208337e4b0 Mon Sep 17 00:00:00 2001
From: zhuzhuanzhuan
Date: 星期二, 19 十二月 2023 13:35:36 +0800
Subject: [PATCH] 1、调整网站标题为MDC智慧车间 2、设备管理页面新增弹窗中统一编码选择弹窗中的查询区域样式调整 3、设备参数阈值管理页面添加参数阈值弹窗中原默认驱动类型为空,现调整为首位数据,且无参数时显示请选择参数 4、加工数量管理页面新增弹窗中选择标准加工时间弹窗中的查询区域样式调整 5、加班管理页面新增弹窗中班次选择弹窗中的查询区域样式调整

---
 src/views/mdc/base/modules/OvertimeManagement/OvertimeManagementModalList.vue     |   15 ++++---
 src/views/mdc/base/DeviceParamThresholdManagement.vue                             |    3 +
 src/views/mdc/base/modules/DeviceParamThresholdManagement/ParamThresholdModal.vue |    7 ++-
 src/views/mdc/base/modules/mdcProcessQuantity/mdcProcessQuantityModalList.vue     |   17 +++++---
 src/components/layouts/TabLayout.vue                                              |    2 
 src/views/mdc/base/modules/EquipmentList/DeviceListModal.vue                      |   17 +++++---
 6 files changed, 37 insertions(+), 24 deletions(-)

diff --git a/src/components/layouts/TabLayout.vue b/src/components/layouts/TabLayout.vue
index c04e062..9f619a5 100644
--- a/src/components/layouts/TabLayout.vue
+++ b/src/components/layouts/TabLayout.vue
@@ -165,7 +165,7 @@
 
       // update-begin-author:sunjianlei date:20200120 for: 鍔ㄦ�佹洿鏀归〉闈㈡爣棰�
       changeTitle(title) {
-        let projectTitle = "缁熻鍒嗘瀽"
+        let projectTitle = "MDC鏅烘収杞﹂棿"
         // 棣栭〉鐗规畩澶勭悊
         if (this.$route.path === indexKey) {
           document.title = projectTitle
diff --git a/src/views/mdc/base/DeviceParamThresholdManagement.vue b/src/views/mdc/base/DeviceParamThresholdManagement.vue
index c049b5e..a0da603 100644
--- a/src/views/mdc/base/DeviceParamThresholdManagement.vue
+++ b/src/views/mdc/base/DeviceParamThresholdManagement.vue
@@ -191,6 +191,9 @@
       handleAdd: function() {
         this.$refs.modalForm.add()
         this.$refs.modalForm.title = '鏂板'
+
+        // 璋冪敤鎶藉眽琛ㄥ崟缁勪欢涓殑娓呴櫎琛ㄥ崟楠岃瘉鏂规硶
+        this.$refs.modalForm.removeValidate()
       },
 
       handleMenuClick(e) {
diff --git a/src/views/mdc/base/modules/DeviceParamThresholdManagement/ParamThresholdModal.vue b/src/views/mdc/base/modules/DeviceParamThresholdManagement/ParamThresholdModal.vue
index 30c3930..73e9c7c 100644
--- a/src/views/mdc/base/modules/DeviceParamThresholdManagement/ParamThresholdModal.vue
+++ b/src/views/mdc/base/modules/DeviceParamThresholdManagement/ParamThresholdModal.vue
@@ -139,12 +139,13 @@
       add() {
         this.visible = true
         this.model = {
-          controlSystemType: '',
+          controlSystemType: this.driveTypeList[0],
           chineseName: '',
           minThreshold: '',
           maxThreshold: ''
         }
-        this.paramList = []
+        console.log('driveType',this.driveTypeList)
+        this.handleDriveTypeChange(this.driveTypeList[0])
         this.$nextTick(() => {
           this.form.setFieldsValue(pick(this.model, 'controlSystemType', 'chineseName', 'minThreshold', 'maxThreshold'))
         })
@@ -229,7 +230,7 @@
           .then(res => {
             if (res.success) {
               this.paramList = res.result
-              this.model.chineseName = res.result.length ? res.result[0].value : ''
+              this.model.chineseName = res.result.length ? res.result[0].value : undefined
               if (this.model.chineseName) this.$refs.form.clearValidate('chineseName')
             }
           })
diff --git a/src/views/mdc/base/modules/EquipmentList/DeviceListModal.vue b/src/views/mdc/base/modules/EquipmentList/DeviceListModal.vue
index ee4a1d5..f799bac 100644
--- a/src/views/mdc/base/modules/EquipmentList/DeviceListModal.vue
+++ b/src/views/mdc/base/modules/EquipmentList/DeviceListModal.vue
@@ -6,25 +6,28 @@
       <div class="table-page-search-wrapper">
         <a-form layout="inline" @keyup.enter.native="searchQuery">
           <a-row :gutter="24">
-            <a-col :md="6" :sm="6">
+            <a-col :md="7" :sm="7">
               <a-form-item label="缁熶竴缂栫爜">
                 <a-input placeholder="璇疯緭鍏ョ粺涓�缂栫爜妫�绱�" v-model="queryParam.equipmentid"></a-input>
               </a-form-item>
             </a-col>
 
-            <a-col :md="6" :sm="6">
+            <a-col :md="7" :sm="7">
               <a-form-item label="璁惧鍚嶇О">
                 <a-input placeholder="璇疯緭鍏ヨ澶囧悕绉版绱�" v-model="queryParam.equipmentname"></a-input>
               </a-form-item>
             </a-col>
+
+            <a-col :md="3" :sm="3">
+              <a-space>
+                <a-button type="primary" @click="searchQuery" icon="search">鏌ヨ</a-button>
+                <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">閲嶇疆</a-button>
+              </a-space>
+            </a-col>
           </a-row>
         </a-form>
       </div>
-      <!-- 鎿嶄綔鎸夐挳鍖哄煙 -->
-      <div class="table-operator">
-        <a-button type="primary" @click="searchQuery" icon="search">鏌ヨ</a-button>
-        <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">閲嶇疆</a-button>
-      </div>
+
       <!-- table鍖哄煙-begin -->
       <div>
         <a-table ref="table" size="middle" bordered rowKey="id" :scroll="{聽 y: 300聽}" :columns="columns"
diff --git a/src/views/mdc/base/modules/OvertimeManagement/OvertimeManagementModalList.vue b/src/views/mdc/base/modules/OvertimeManagement/OvertimeManagementModalList.vue
index a4f4ca6..09318a8 100644
--- a/src/views/mdc/base/modules/OvertimeManagement/OvertimeManagementModalList.vue
+++ b/src/views/mdc/base/modules/OvertimeManagement/OvertimeManagementModalList.vue
@@ -7,7 +7,7 @@
       <div class="table-page-search-wrapper">
         <a-form layout="inline" @keyup.enter.native="searchQuery">
           <a-row :gutter="24">
-           <a-col :md="8" :sm="8">
+           <a-col :md="6" :sm="6">
              <a-form-item label="鏃堕棿">
                <a-range-picker @change="dateParamChange" format="YYYYMMDD" v-model="dates"/>
              </a-form-item>
@@ -23,14 +23,17 @@
                 <a-input placeholder="璇疯緭鍏ヨ澶囧悕绉版绱�" v-model="queryParam.equipmentName"></a-input>
               </a-form-item>
             </a-col>
+
+            <a-col :md="3" :sm="3">
+              <a-space>
+                <a-button type="primary" @click="searchQuery" icon="search">鏌ヨ</a-button>
+                <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">閲嶇疆</a-button>
+              </a-space>
+            </a-col>
           </a-row>
         </a-form>
       </div>
-      <!-- 鎿嶄綔鎸夐挳鍖哄煙 -->
-      <div class="table-operator">
-        <a-button type="primary" @click="searchQuery" icon="search">鏌ヨ</a-button>
-        <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">閲嶇疆</a-button>
-      </div>
+
       <!-- table鍖哄煙-begin -->
       <div>
         <a-table ref="table" size="middle" bordered rowKey="id" :scroll="{聽 y: 400聽}" :columns="columns"
diff --git a/src/views/mdc/base/modules/mdcProcessQuantity/mdcProcessQuantityModalList.vue b/src/views/mdc/base/modules/mdcProcessQuantity/mdcProcessQuantityModalList.vue
index 313de93..1b4fa7b 100644
--- a/src/views/mdc/base/modules/mdcProcessQuantity/mdcProcessQuantityModalList.vue
+++ b/src/views/mdc/base/modules/mdcProcessQuantity/mdcProcessQuantityModalList.vue
@@ -42,25 +42,28 @@
               <!--</a-form-item>-->
             <!--</a-col>-->
 
-            <a-col :md="6" :sm="6">
+            <a-col :md="7" :sm="7">
               <a-form-item label="缁熶竴缂栫爜">
                 <a-input placeholder="璇疯緭鍏ョ粺涓�缂栫爜妫�绱�" v-model="queryParam.equipmentId"></a-input>
               </a-form-item>
             </a-col>
 
-            <a-col :md="6" :sm="6">
+            <a-col :md="7" :sm="7">
               <a-form-item label="璁惧鍚嶇О">
                 <a-input placeholder="璇疯緭鍏ヨ澶囧悕绉版绱�" v-model="queryParam.equipmentName"></a-input>
               </a-form-item>
             </a-col>
+
+            <a-col :md="3" :sm="3">
+              <a-space>
+                <a-button type="primary" @click="searchQuery" icon="search">鏌ヨ</a-button>
+                <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">閲嶇疆</a-button>
+              </a-space>
+            </a-col>
           </a-row>
         </a-form>
       </div>
-      <!-- 鎿嶄綔鎸夐挳鍖哄煙 -->
-      <div class="table-operator">
-        <a-button type="primary" @click="searchQuery" icon="search">鏌ヨ</a-button>
-        <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">閲嶇疆</a-button>
-      </div>
+
       <!-- table鍖哄煙-begin -->
       <div>
         <a-table ref="table" size="middle" bordered rowKey="id" :scroll="{聽 y: 300聽}" :columns="columns"

--
Gitblit v1.9.3