From ec68cffd70d2a2788f7c74af55a11563aaf611d1 Mon Sep 17 00:00:00 2001
From: zhuzhuanzhuan
Date: 星期三, 06 十二月 2023 15:47:38 +0800
Subject: [PATCH] 1、登录页面优化首次登录会出现404字样,需要明确用户登录后显示页面是否为首页/消息页或者角色中可设置 2、驱动参数管理页面新增或修改控制系统中英文名称规则限制字符数最少6位调整为2位 3、效率段管理页面效率段颜色可自定义 4、设备利用率、设备开动率、班次利用率页面增加可按照设备类型筛选查询 5、对比分析页面增加通过选择设备来对比 6、设备日利用率和设备日利用率对比页面优化选择树节点后查询区域的设备名称字段不会更新问题

---
 src/components/tools/UserMenu.vue                                                  |    3 
 src/views/mdc/base/MdcUtilizationRateList.vue                                      |   10 
 src/views/mdc/base/modules/efficiencyPOReport/EfficiencyPOList.vue                 |   46 +
 src/views/user/Login.vue                                                           |    5 
 src/views/system/WorkshopSignageManagement.vue                                     |   28 
 src/views/mdc/base/modules/efficiencyReport/EfficiencyList.vue                     | 1057 +++++++++++++++++++-----------------
 src/views/mdc/base/modules/mdcUtilizationRate/MdcUtilizationRateModel.vue          |   21 
 src/views/system/modules/SelectDeviceModal.vue                                     |   12 
 src/views/mdc/base/modules/OEEAnalysis/OEEAnalysisList.vue                         |   41 
 src/views/mdc/base/modules/mdcDriveTypeParamConfig/MdcDriveTypeParamConfigForm.vue |    2 
 src/views/mdc/base/modules/comparativeAnalysis/comparativeAnalysismain.vue         |  359 ++++++-----
 src/views/mdc/base/modules/efficiencyShiftReport/EfficiencyShiftList.vue           |   99 ++-
 src/views/mdc/base/modules/equipmentAvailCompare/equipmentAvailCompareMain.vue     |    1 
 src/views/mdc/base/modules/equipmentDayAvail/equipmentDayAvailMain.vue             |    2 
 14 files changed, 940 insertions(+), 746 deletions(-)

diff --git a/src/components/tools/UserMenu.vue b/src/components/tools/UserMenu.vue
index cde90bf..3da3327 100644
--- a/src/components/tools/UserMenu.vue
+++ b/src/components/tools/UserMenu.vue
@@ -16,7 +16,7 @@
         :filterOption="filterOption"
         :open="isMobile()?true:null"
         :getPopupContainer="(node) => node.parentNode"
-        :style="isMobile()?{width: '100%',marginBottom:'50px'}:{}"
+        :style="isMobile()?{width: '100%',marginBottom:'50px',color:theme=='dark'?'#fff':'#000'}:{color:theme=='dark'?'#fff':'#000'}"
         @change="searchMethods"
         @blur="hiddenClick"
       >
@@ -268,7 +268,6 @@
   /* update-begin author:sunjianlei date:20191220 for: 瑙e喅鍏ㄥ眬鏍峰紡鍐茬獊闂 */
   .user-wrapper .search-input {
     width: 180px;
-    color: inherit;
 
     /deep/ .ant-select-selection {
       background-color: inherit;
diff --git a/src/views/mdc/base/MdcUtilizationRateList.vue b/src/views/mdc/base/MdcUtilizationRateList.vue
index f9293d0..3ed3fa0 100644
--- a/src/views/mdc/base/MdcUtilizationRateList.vue
+++ b/src/views/mdc/base/MdcUtilizationRateList.vue
@@ -9,11 +9,11 @@
               <a-input placeholder="璇疯緭鍏ョ被鍒�" v-model="queryParam.rateParameterCategory"></a-input>
             </a-form-item>
           </a-col>
-          <a-col :md="2" :sm="2">
-            <a-button type="primary" @click="searchQuery" icon="search">鏌ヨ</a-button>
-          </a-col>
-          <a-col :md="2" :sm="2">
-            <a-button type="primary" @click="searchReset" icon="reload">閲嶇疆</a-button>
+          <a-col>
+            <a-space>
+              <a-button type="primary" @click="searchQuery" icon="search">鏌ヨ</a-button>
+              <a-button type="primary" @click="searchReset" icon="reload">閲嶇疆</a-button>
+            </a-space>
           </a-col>
         </a-row>
       </a-form>
diff --git a/src/views/mdc/base/modules/OEEAnalysis/OEEAnalysisList.vue b/src/views/mdc/base/modules/OEEAnalysis/OEEAnalysisList.vue
index 34a3e82..a68adbb 100644
--- a/src/views/mdc/base/modules/OEEAnalysis/OEEAnalysisList.vue
+++ b/src/views/mdc/base/modules/OEEAnalysis/OEEAnalysisList.vue
@@ -18,24 +18,24 @@
                 </a-form-item>
               </a-col>
               <!--<a-col :md="5" :sm="5" :xs="5">-->
-                <!--<a-form-item label="鐝埗">-->
-                  <!--<a-select v-model="queryParam.shiftId" placeholder="璇烽�夋嫨鐝埗"-->
-                            <!--@change="initShiftSubList" :allowClear="allowClear">-->
-                    <!--<a-select-option v-for="(em,index) in shiftList" :key="index" :value="em.value">-->
-                      <!--{{ em.label }}-->
-                    <!--</a-select-option>-->
-                  <!--</a-select>-->
-                <!--</a-form-item>-->
+              <!--<a-form-item label="鐝埗">-->
+              <!--<a-select v-model="queryParam.shiftId" placeholder="璇烽�夋嫨鐝埗"-->
+              <!--@change="initShiftSubList" :allowClear="allowClear">-->
+              <!--<a-select-option v-for="(em,index) in shiftList" :key="index" :value="em.value">-->
+              <!--{{ em.label }}-->
+              <!--</a-select-option>-->
+              <!--</a-select>-->
+              <!--</a-form-item>-->
               <!--</a-col>-->
               <!--<a-col :md="5" :sm="5" :xs="5">-->
-                <!--<a-form-item label="鐝">-->
-                  <!--<a-select v-model="queryParam.shiftSubId" placeholder="璇烽�夋嫨鐝" @change="initShiftSubListChange"-->
-                            <!--:allowClear="allowClearSu">-->
-                    <!--<a-select-option v-for="(em,index) in shiftSubList" :key="index" :value="em.value">-->
-                      <!--{{ em.label }}-->
-                    <!--</a-select-option>-->
-                  <!--</a-select>-->
-                <!--</a-form-item>-->
+              <!--<a-form-item label="鐝">-->
+              <!--<a-select v-model="queryParam.shiftSubId" placeholder="璇烽�夋嫨鐝" @change="initShiftSubListChange"-->
+              <!--:allowClear="allowClearSu">-->
+              <!--<a-select-option v-for="(em,index) in shiftSubList" :key="index" :value="em.value">-->
+              <!--{{ em.label }}-->
+              <!--</a-select-option>-->
+              <!--</a-select>-->
+              <!--</a-form-item>-->
               <!--</a-col>-->
 
               <a-col :md="8" :sm="8" :xs="8">
@@ -54,8 +54,7 @@
       <div class="container" id="EfficiencyShift" style="margin-top: 20px;">
         <div class="table2">
           <a-table :columns="columns" :dataSource="dataSource.records" :pagination="false" bordered
-                   :scroll="{ x: 1500, y: false }">
-
+                   :scroll="{ x: 3000, y: false }">
           </a-table>
         </div>
       </div>
@@ -117,21 +116,21 @@
             align: 'center',
             customRender: function(t, r, index) {
               return parseInt(index) + 1
-            },
+            }
             // fixed: 'left'
           },
           {
             title: '璁惧缁熶竴缂栧彿',
             align: 'center',
             dataIndex: 'equipmentId',
-            width: 120,
+            width: 120
             // fixed: 'left'
           },
           {
             title: '璁惧鍚嶇О',
             align: 'center',
             width: 150,
-            dataIndex: 'equipmentName',
+            dataIndex: 'equipmentName'
             // fixed: 'left'
           },
           {
diff --git a/src/views/mdc/base/modules/comparativeAnalysis/comparativeAnalysismain.vue b/src/views/mdc/base/modules/comparativeAnalysis/comparativeAnalysismain.vue
index 9f19ba1..e903acd 100644
--- a/src/views/mdc/base/modules/comparativeAnalysis/comparativeAnalysismain.vue
+++ b/src/views/mdc/base/modules/comparativeAnalysis/comparativeAnalysismain.vue
@@ -1,58 +1,67 @@
 <template>
   <div :bordered="false" class="device_list">
     <div class="com_box">
-    <!-- 鏌ヨ鍖哄煙 -->
-    <div style="width: 100%; background-color: #fff" class="table-page-search-wrapper">
-      <a-form layout="inline" @keyup.enter.native="searchQuery">
-        <a-row :gutter="24">
-          <!--<a-col :md="5" :sm="5">-->
+      <!-- 鏌ヨ鍖哄煙 -->
+      <div style="width: 100%; background-color: #fff" class="table-page-search-wrapper">
+        <a-form layout="inline" @keyup.enter.native="searchQuery">
+          <a-row :gutter="24">
+            <!--<a-col :md="5" :sm="5">-->
             <!--<a-form-item label="鍚嶇О">-->
-              <!--<a-input placeholder="杈撳叆璁惧鍚嶇О鏌ヨ" :readOnly="readOnly" v-model="queryParam.tierName"></a-input>-->
+            <!--<a-input placeholder="杈撳叆璁惧鍚嶇О鏌ヨ" :readOnly="readOnly" v-model="queryParam.tierName"></a-input>-->
             <!--</a-form-item>-->
-          <!--</a-col>-->
-          <a-col :md="5" :sm="5">
-            <a-form-item label="椹卞姩绫诲瀷">
-              <!--<j-dict-select-tag placeholder="璇烽�夋嫨椹卞姩绫诲瀷"-->
-                                 <!--:triggerChange="true" dictCode="mdc_driveType"-->
-                                 <!--v-model="queryParam.driveType" allow-clear/>-->
-              <a-auto-complete
-                v-model="queryParam.driveType"
-                :data-source="driveTypeList"
-                placeholder="椹卞姩绫诲瀷"
-                :filter-option="filterOption"
-              />
-            </a-form-item>
-          </a-col>
-          <a-col :md="9" :sm="9" :xs="4">
-            <a-form-item label="鏃堕棿">
-              <a-range-picker @change="dateParamChange" v-model="dates"  format="YYYYMMDD"/>
-            </a-form-item>
-          </a-col>
-          <a-col :md="2" :sm="3" :xs="3">
-            <a-button type="primary" @click="searchQuery" icon="search">鏌ヨ</a-button>
-          </a-col>
-          <a-col :md="2" :sm="2" :xs="2">
-            <a-button type="primary" @click="searchReset" icon="reload">閲嶇疆</a-button>
-          </a-col>
-        </a-row>
-      </a-form>
+            <!--</a-col>-->
+            <a-col :md="5" :sm="5">
+              <a-form-item label="璁惧">
+                <a-input-search :readOnly="true" v-model="queryParam.equipmentId" @search="deviceSearch"
+                                placeholder='璇烽�夋嫨璁惧'/>
+              </a-form-item>
+            </a-col>
+
+            <a-col :md="5" :sm="5">
+              <a-form-item label="椹卞姩绫诲瀷">
+                <!--<j-dict-select-tag placeholder="璇烽�夋嫨椹卞姩绫诲瀷"-->
+                <!--:triggerChange="true" dictCode="mdc_driveType"-->
+                <!--v-model="queryParam.driveType" allow-clear/>-->
+                <a-auto-complete
+                  v-model="queryParam.driveType"
+                  :data-source="driveTypeList"
+                  placeholder="椹卞姩绫诲瀷"
+                  :filter-option="filterOption"
+                />
+              </a-form-item>
+            </a-col>
+            <a-col :md="6" :sm="6" :xs="6">
+              <a-form-item label="鏃堕棿">
+                <a-range-picker @change="dateParamChange" v-model="dates" format="YYYYMMDD"/>
+              </a-form-item>
+            </a-col>
+            <a-col>
+              <a-space>
+                <a-button type="primary" @click="searchQuery" icon="search">鏌ヨ</a-button>
+                <a-button type="primary" @click="searchReset" icon="reload">閲嶇疆</a-button>
+              </a-space>
+            </a-col>
+          </a-row>
+        </a-form>
+      </div>
+      <!-- table鍖哄煙-begin -->
+      <div id="DeviceList">
+        <a-tabs :activeKey="activeKey" @change="tabChange" tabPosition="top">
+          <a-tab-pane key="1" tab="鍥惧舰">
+            <comparative-analysis-bar ref="AnalysisBar" :dataList='AnalysisBarList'></comparative-analysis-bar>
+          </a-tab-pane>
+          <a-tab-pane key="2" tab="浠〃" forceRender>
+            <comparative-analysis-gauge ref="AnalysisGauge" :dataList="AnalysisGauge"></comparative-analysis-gauge>
+          </a-tab-pane>
+          <a-tab-pane key="3" tab="楗煎浘" forceRender>
+            <conparative-analysis-pie ref="AnalysisPie" :dataList="AnalysisPie"></conparative-analysis-pie>
+          </a-tab-pane>
+        </a-tabs>
+      </div>
+      <!-- table鍖哄煙-end -->
     </div>
-    <!-- table鍖哄煙-begin -->
-    <div id="DeviceList">
-      <a-tabs :activeKey="activeKey" @change="tabChange" tabPosition="top">
-        <a-tab-pane key="1" tab="鍥惧舰">
-          <comparative-analysis-bar ref="AnalysisBar" :dataList='AnalysisBarList'></comparative-analysis-bar>
-        </a-tab-pane>
-        <a-tab-pane key="2" tab="浠〃" forceRender>
-          <comparative-analysis-gauge ref="AnalysisGauge" :dataList="AnalysisGauge"></comparative-analysis-gauge>
-        </a-tab-pane>
-        <a-tab-pane key="3" tab="楗煎浘" forceRender>
-          <conparative-analysis-pie ref="AnalysisPie" :dataList="AnalysisPie"></conparative-analysis-pie>
-        </a-tab-pane>
-      </a-tabs>
-    </div>
-    <!-- table鍖哄煙-end -->
-    </div>
+
+    <selectDeviceModal ref="selectDeviceModal" @selectFinished="selectOK" :title="'閫夋嫨璁惧'"></selectDeviceModal>
   </div>
 </template>
 
@@ -67,7 +76,7 @@
     getAction
   } from '@/api/manage'
   import comparativeAnalysisBar from './comparativeAnalysisBar'
-  import comparativeAnalysisGauge from'./comparativeAnalysisGauge'
+  import comparativeAnalysisGauge from './comparativeAnalysisGauge'
   import conparativeAnalysisPie from './conparativeAnalysisPie'
   import '@/components/table2excel/table2excel'
   import JInput from '@/components/jeecg/JInput'
@@ -75,6 +84,8 @@
   import Tooltip from 'ant-design-vue/es/tooltip'
   import { ajaxGetDictItems, getDictItemsFromCache, duplicateCheck } from '@/api/api'
   import api from '@/api/mdc'
+  import selectDeviceModal from '../../../../system/modules/SelectDeviceModal.vue'
+
   export default {
     name: 'comparativeAnalysismain',
     // mixins: [JeecgListMixin],
@@ -86,36 +97,39 @@
       JDictSelectTag,
       JInput,
       JDate,
-      JEllipsis
+      JEllipsis,
+      selectDeviceModal
     },
-    props: {  nodeTree: '', Type:'',nodePeople: '' },
+    props: { nodeTree: '', Type: '', nodePeople: '' },
     data() {
       return {
         activeKey: '1',
-        typeTree:"",
-        typeParent:1,
-        typeEquipment:1,
-        AnalysisBarList:[],
-        AnalysisGauge:[],
-        AnalysisPie:[],
+        typeTree: '',
+        typeParent: 1,
+        typeEquipment: 1,
+        AnalysisBarList: [],
+        AnalysisGauge: [],
+        AnalysisPie: [],
         dates: [],
-        xianshi:"",
-        readOnly:true,
-        queryParam: {},
-        queryParams:{},
-        queryParamEquip:{},
-        queryParamPeople:{},
-        dataStartsoucre:[],
-        url: {
-          comparativeAnalysis:'/mdc/efficiencyReport/comparativeAnalysis'
+        xianshi: '',
+        readOnly: true,
+        queryParam: {
+          equipmentId: ''
         },
-        AnalysisList:{},
-        driveTypeList:[]
+        queryParams: {},
+        queryParamEquip: {},
+        queryParamPeople: {},
+        dataStartsoucre: [],
+        url: {
+          comparativeAnalysis: '/mdc/efficiencyReport/comparativeAnalysis'
+        },
+        AnalysisList: {},
+        driveTypeList: []
       }
     },
-    watch:{
-      Type(valmath){
-        this.dataList = [];
+    watch: {
+      Type(valmath) {
+        this.dataList = []
         this.queryParams.typeTree = valmath
         // console.log(this.queryParams.typeTree)
       },
@@ -123,8 +137,9 @@
         if (JSON.stringify(val) != '{}') {
           if (val.equipmentId) {
             // this.$set(this.queryParam, 'tierName', val.title)
-            this.queryParamEquip.parentId =  ""
-            this.queryParams.equipmentId = val.equipmentId
+            this.queryParamEquip.parentId = ''
+            // this.queryParams.equipmentId = val.equipmentId
+            this.queryParam.equipmentId = val.equipmentId
             this.queryParamEquip.equipmentId = val.equipmentId
           } else {
             // this.$set(this.queryParam, 'tierName', val.title)
@@ -132,14 +147,13 @@
             this.queryParams.equipmentId = ''
           }
           this.searchQuery()
-
         }
       },
-      nodePeople(val){
+      nodePeople(val) {
         if (JSON.stringify(val) != '{}') {
           if (val.equipmentId) {
             // this.$set(this.queryParam, 'tierName', val.title)
-            this.queryParamEquip.parentId =  ""
+            this.queryParamEquip.parentId = ''
             this.queryParams.equipmentId = val.equipmentId
             this.queryParamEquip.equipmentId = val.equipmentId
           } else {
@@ -159,10 +173,10 @@
         // console.log(v1,v2)
         this.queryParam.startTime = v2[0]
         this.queryParam.endTime = v2[1]
-        console.log(v2[0],v2[1])
+        console.log(v2[0], v2[1])
       },
-      loadAnalysis(){
-        getAction(this.url.comparativeAnalysis,this.queryParam).then(res => {
+      loadAnalysis() {
+        getAction(this.url.comparativeAnalysis, this.queryParam).then(res => {
           if (res.success) {
             this.AnalysisList = res.result
             this.AnalysisBarList = res.result.graphics
@@ -175,44 +189,44 @@
           this.loading = false
         })
       },
-      searchQuery(){
-        if(this.dates&&this.dates.length>0){
+      searchQuery() {
+        if (this.dates && this.dates.length > 0) {
           this.AnalysisList = []
           this.AnalysisBarList = []
           this.AnalysisGauge = []
           this.AnalysisPie = []
-          if(this.queryParams.typeTree == "1"){
-            this.queryParams.parentId =  this.queryParamEquip.parentId
+          if (this.queryParams.typeTree == '1') {
+            this.queryParams.parentId = this.queryParamEquip.parentId
             // this.queryParams.equipmentId =  this.queryParamEquip.equipmentId
-          }else{
+          } else {
             this.queryParams.parentId = this.queryParamEquip.parentId
             // this.queryParams.equipmentId = ""
           }
           this.AnalysisList = []
           //鑾峰彇鏌ヨ鏉′欢
-          this.queryParam.parentId = this.queryParams.parentId;
-          this.queryParam.equipmentId = this.queryParams.equipmentId;
+          this.queryParam.parentId = this.queryParams.parentId
+          // this.queryParam.equipmentId = this.queryParams.equipmentId
           this.queryParam.typeTree = this.queryParams.typeTree
-          getAction(this.url.comparativeAnalysis,this.queryParam).then((res) => {
-            if(res.success){
+          getAction(this.url.comparativeAnalysis, this.queryParam).then((res) => {
+            if (res.success) {
               this.AnalysisList = res.result
               this.AnalysisBarList = res.result.graphics
               this.AnalysisGauge = res.result.meters
               this.AnalysisPie.push(res.result.pieCharts)
-            }else{
+            } else {
               // this.$message.warning(res.message)
               this.$notification.warning({
-                message:'娑堟伅',
-                description:res.message
-              });
+                message: '娑堟伅',
+                description: res.message
+              })
             }
           }).finally(() => {
             this.loading = false
           })
-        }else{
+        } else {
           this.$notification.warning({
-            message:'鎻愮ず' ,
-            description:'璇烽�夋嫨鏃堕棿'
+            message: '鎻愮ず',
+            description: '璇烽�夋嫨鏃堕棿'
           })
         }
 
@@ -222,70 +236,70 @@
         this.AnalysisBarList = []
         this.AnalysisGauge = []
         this.AnalysisPie = []
-        if(this.queryParams.typeTree == "1"){
+        if (this.queryParams.typeTree == '1') {
           this.typeTree = this.queryParams.typeTree
-          this.typeParent =  this.queryParams.parentId
+          this.typeParent = this.queryParams.parentId
           this.typeEquipment = this.queryParams.equipmentId
           this.queryParams = {}
           this.queryParam = {}
           this.dates = []
           this.queryParams.typeTree = this.typeTree
           this.queryParams.parentId = this.typeParent
-          if(this.queryParams.parentId !=  ""){
-            this.queryParams.equipmentId =  ""
-          }else{
-            if(this.queryParams.equipmentId == this.queryParamEquip.equipmentId){
-              this.queryParams.equipmentId =  this.typeEquipment
-            }else{
+          if (this.queryParams.parentId != '') {
+            this.queryParams.equipmentId = ''
+          } else {
+            if (this.queryParams.equipmentId == this.queryParamEquip.equipmentId) {
+              this.queryParams.equipmentId = this.typeEquipment
+            } else {
               this.queryParams.equipmentId = this.queryParamEquip.equipmentId
             }
           }
-          getAction(this.url.comparativeAnalysis,this.queryParams).then((res) => {
-            if(res.success){
+          getAction(this.url.comparativeAnalysis, this.queryParams).then((res) => {
+            if (res.success) {
               this.AnalysisList = res.result
               this.AnalysisBarList = res.result.graphics
               this.AnalysisGauge = res.result.meters
               this.AnalysisPie.push(res.result.pieCharts)
-            }else{
+            } else {
               // this.$message.warning(res.message)
               this.$notification.warning({
-                message:'娑堟伅',
-                description:res.message
-              });
+                message: '娑堟伅',
+                description: res.message
+              })
             }
           }).finally(() => {
             this.loading = false
           })
-        }else{
+        } else {
           this.typeTree = this.queryParams.typeTree
-          this.typeParent =  this.queryParams.parentId
+          this.typeParent = this.queryParams.parentId
           this.typeEquipment = this.queryParams.equipmentId
           this.queryParams = {}
           this.queryParam = {}
           this.dates = []
           this.queryParams.typeTree = this.typeTree
           this.queryParams.parentId = this.typeParent
-          if(this.queryParams.parentId !=  ""){
-            this.queryParams.equipmentId =  ""
-          }else{
-            if(this.queryParams.equipmentId == this.queryParamEquip.equipmentId){
-              this.queryParams.equipmentId =  this.typeEquipment
-            }else{
+          if (this.queryParams.parentId != '') {
+            this.queryParams.equipmentId = ''
+          } else {
+            if (this.queryParams.equipmentId == this.queryParamEquip.equipmentId) {
+              this.queryParams.equipmentId = this.typeEquipment
+            } else {
               this.queryParams.equipmentId = this.queryParamEquip.equipmentId
             }
           }
-          getAction(this.url.comparativeAnalysis,this.queryParams).then((res) => {
-            if(res.success){
+          getAction(this.url.comparativeAnalysis, this.queryParams).then((res) => {
+            if (res.success) {
               this.AnalysisList = res.result
               this.AnalysisBarList = res.result.graphics
               this.AnalysisGauge = res.result.meters
               this.AnalysisPie.push(res.result.pieCharts)
-            }else{
+            } else {
               // this.$message.warning(res.message)
               this.$notification.warning({
-                message:'娑堟伅',
-                description:res.message
-              });
+                message: '娑堟伅',
+                description: res.message
+              })
             }
           }).finally(() => {
             this.loading = false
@@ -295,9 +309,9 @@
       /**
        * 璋冪敤鎺ュ彛鑾峰彇鎺у埗绯荤粺绫诲瀷
        */
-      getDriveTypeByApi(){
-        api.getDriveTypeApi().then((res)=>{
-          this.driveTypeList=res.result.map(item=>item.value)
+      getDriveTypeByApi() {
+        api.getDriveTypeApi().then((res) => {
+          this.driveTypeList = res.result.map(item => item.value)
         })
       },
       /**
@@ -309,7 +323,7 @@
       filterOption(input, option) {
         return (
           option.componentOptions.children[0].text.toUpperCase().indexOf(input.toUpperCase()) >= 0
-        );
+        )
       },
       // onChange(value, dateString) {
       //   // console.log('Selected Time: ', value);
@@ -422,13 +436,36 @@
       //     this.loading = false
       //   })
       // },
+      deviceSearch() {
+        console.log('瑙﹀彂')
+        this.$refs.selectDeviceModal.visible = true
+        this.$refs.selectDeviceModal.selectedRowKeys = []
+        this.$refs.selectDeviceModal.selectedRows = []
+        this.$refs.selectDeviceModal.checkedKeys = this.queryParam.equipmentId.split(',')
+        this.$refs.selectDeviceModal.expandAll()
+      },
+
+      /**
+       * 閫夋嫨宸叉湁璁惧鍚庣偣鍑荤‘瀹氭椂瑙﹀彂
+       * @param data 宸查�夋嫨鐨勮澶�
+       */
+      selectOK(data) {
+        // let params = {}
+        // params.equipmentIdList = []
+        // for (var a = 0; a < data.length; a++) {
+        //   params.equipmentIdList.push(data[a])
+        // }
+        console.log('data=', data)
+        this.queryParam.equipmentId = data.join(',')
+        console.log('queryParam', this.queryParam.equipmentId)
+      }
     },
     created() {
       this.dates = [moment().subtract('days', 7), moment().subtract('days', 0)]
       this.queryParam.startTime = moment(this.dates[0]).format('YYYYMMDD')
       this.queryParam.endTime = moment(this.dates[1]).format('YYYYMMDD')
-      this.queryParam.typeTree = "1";
-      this.loadAnalysis();
+      this.queryParam.typeTree = '1'
+      this.loadAnalysis()
       this.getDriveTypeByApi()
     }
   }
@@ -437,54 +474,62 @@
 <style lang="less" scoped>
   /*@import '~@assets/less/common.less';*/
 
-  @media screen and (min-width: 1920px){
-    .device_list{
-      height: 811px!important;
+  @media screen and (min-width: 1920px) {
+    .device_list {
+      height: 811px !important;
       overflow: scroll;
     }
   }
-  @media screen and (min-width: 1680px) and (max-width: 1920px){
-    .device_list{
-      height: 811px!important;
+
+  @media screen and (min-width: 1680px) and (max-width: 1920px) {
+    .device_list {
+      height: 811px !important;
       overflow: scroll;
     }
   }
-  @media screen and (min-width: 1400px) and (max-width: 1680px){
-    .device_list{
-      height: 663px!important;
+
+  @media screen and (min-width: 1400px) and (max-width: 1680px) {
+    .device_list {
+      height: 663px !important;
       overflow: scroll;
     }
   }
-  @media screen and (min-width: 1280px) and (max-width: 1400px){
-    .device_list{
-      height: 564px!important;
+
+  @media screen and (min-width: 1280px) and (max-width: 1400px) {
+    .device_list {
+      height: 564px !important;
       overflow: scroll;
     }
   }
-  @media screen and (max-width: 1280px){
-    .device_list{
-      height: 564px!important;
+
+  @media screen and (max-width: 1280px) {
+    .device_list {
+      height: 564px !important;
       overflow: scroll;
     }
   }
+
   /*.device_list{*/
-    /*display: flex;*/
+  /*display: flex;*/
   /*}*/
   /*.device_list .table-page-search-wrapper{*/
-    /**/
+  /**/
   /*}*/
-  /deep/ .ant-card-body{
-    height: 100%!important;
+  /deep/ .ant-card-body {
+    height: 100% !important;
   }
-   .device_list .com_box{
-    display: flex!important;
-    height: 100%!important;
-    flex-direction: column!important;
+
+  .device_list .com_box {
+    display: flex !important;
+    height: 100% !important;
+    flex-direction: column !important;
   }
-  .device_list .table-page-search-wrapper{
-    height: 6%!important;
+
+  .device_list .table-page-search-wrapper {
+    height: 6% !important;
   }
-  .device_list #DeviceList{
-   height: 90%!important;
+
+  .device_list #DeviceList {
+    height: 90% !important;
   }
 </style>
diff --git a/src/views/mdc/base/modules/efficiencyPOReport/EfficiencyPOList.vue b/src/views/mdc/base/modules/efficiencyPOReport/EfficiencyPOList.vue
index d5c0b4a..66530ca 100644
--- a/src/views/mdc/base/modules/efficiencyPOReport/EfficiencyPOList.vue
+++ b/src/views/mdc/base/modules/efficiencyPOReport/EfficiencyPOList.vue
@@ -5,19 +5,26 @@
       <div class="table-page-search-wrapper">
         <a-form layout="inline" @keyup.enter.native="searchQuery">
           <a-row :gutter="24">
+            <a-col :md="4" :sm="4">
+              <a-form-item label="璁惧绫诲瀷">
+                <a-select placeholder="璇烽�夋嫨璁惧绫诲瀷" :triggerChange="true" v-model="queryParam.equipmentType" :allowClear="true">
+                  <a-select-option v-for='item in selectList' :key='item.id' :value='item.equipmentTypeName'>
+                    {{item.equipmentTypeName}}
+                  </a-select-option>
+                </a-select>
+              </a-form-item>
+            </a-col>
             <a-col :md="6" :sm="6">
               <a-form-item label="鏃堕棿">
                 <a-range-picker @change="dateParamChange" :disabledDate="disabledDate" format="YYYYMMDD" v-model="dates"/>
               </a-form-item>
             </a-col>
-            <a-col :lg="2" :md="3" :sm="3" :xs="3">
-              <a-button type="primary" @click="searchQuery" icon="search">鏌ヨ</a-button>
-            </a-col>
-            <a-col :lg="2"  :md="3" :sm="3" :xs="3">
-              <a-button type="primary" @click="searchReset" icon="reload">閲嶇疆</a-button>
-            </a-col>
-            <a-col :lg="2" :md="3" :sm="3" :xs="3">
-              <a-button type="primary" @click="exportExcel" icon="download">瀵煎嚭</a-button>
+            <a-col :md="14" :sm="14">
+              <a-space>
+                <a-button type="primary" @click="searchQuery" icon="search">鏌ヨ</a-button>
+                <a-button type="primary" @click="searchReset" icon="reload">閲嶇疆</a-button>
+                <a-button type="primary" @click="exportExcel" icon="download">瀵煎嚭</a-button>
+              </a-space>
             </a-col>
           </a-row>
           <a-row :gutter="24">
@@ -120,6 +127,7 @@
       typeParent:1,
       typeEquipment:1,
       dates: [],
+      selectList:[],
       queryParam: {},
       queryParamEquip:{},
       queryParamPeople:{},
@@ -136,7 +144,8 @@
       dataList: [],
       url: {
         list: '/mdc/efficiencyReport/efficiencyPOList',
-        listByType: '/mdc/MdcUtilizationRate/getByType'
+        listByType: '/mdc/MdcUtilizationRate/getByType',
+        queryEquipmentType: '/mdc/mdcEquipmentType/queryEquipmentType'
       },
       tableHeads: []
     }
@@ -149,6 +158,7 @@
     this.queryParam.endTime = moment(this.dates[1]).format('YYYYMMDD')
     this.queryParam.typeTree = "1"
     this.loadData()
+    this.queryGroup()
   },
   watch: {
     Type(valmath){
@@ -393,6 +403,24 @@
           // this.initDeviceType(this.dataList)
         }
       })
+    },
+    queryGroup() {
+      getAction(this.url.queryEquipmentType).then(res => {
+        if (res.success) {
+          this.selectList = res.result
+          // this.selectList = res.result.map((item, index, arr) => {
+          //   return { label: item.id, value: item.equipmentTypeName + '' }
+          // })
+        } else {
+          // this.$message.warning(res.message)
+          this.$notification.warning({
+            message: '娑堟伅',
+            description: res.message
+          })
+        }
+      }).finally(() => {
+        this.loading = false
+      })
     }
   }
 }
diff --git a/src/views/mdc/base/modules/efficiencyReport/EfficiencyList.vue b/src/views/mdc/base/modules/efficiencyReport/EfficiencyList.vue
index eeda3d2..4060b9a 100644
--- a/src/views/mdc/base/modules/efficiencyReport/EfficiencyList.vue
+++ b/src/views/mdc/base/modules/efficiencyReport/EfficiencyList.vue
@@ -6,19 +6,27 @@
         <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-form-item label="鏃堕棿">
-                  <a-range-picker @change="dateParamChange" :disabledDate="disabledDate" format="YYYYMMDD" v-model="dates"/>
+              <a-col :md="4" :sm="4">
+                <a-form-item label="璁惧绫诲瀷">
+                  <a-select placeholder="璇烽�夋嫨璁惧绫诲瀷" :triggerChange="true" v-model="queryParam.equipmentType" :allowClear="true">
+                    <a-select-option v-for='item in selectList' :key='item.id' :value='item.equipmentTypeName'>
+                      {{item.equipmentTypeName}}
+                    </a-select-option>
+                  </a-select>
                 </a-form-item>
               </a-col>
-              <a-col :lg="2" :md="3" :sm="3" :xs="3">
-                <a-button type="primary" @click="searchQuery" icon="search">鏌ヨ</a-button>
+              <a-col :md="6" :sm="6">
+                <a-form-item label="鏃堕棿">
+                  <a-range-picker @change="dateParamChange" :disabledDate="disabledDate" format="YYYYMMDD"
+                                  v-model="dates"/>
+                </a-form-item>
               </a-col>
-              <a-col :lg="2" :md="3" :sm="3" :xs="3">
-                <a-button type="primary" @click="searchReset" icon="reload">閲嶇疆</a-button>
-              </a-col>
-              <a-col :lg="2" :md="3" :sm="3" :xs="3">
-                <a-button type="primary" @click="exportExcel" icon="download">瀵煎嚭</a-button>
+              <a-col :md="14" :sm="14">
+                <a-space>
+                  <a-button type="primary" @click="searchQuery" icon="search">鏌ヨ</a-button>
+                  <a-button type="primary" @click="searchReset" icon="reload">閲嶇疆</a-button>
+                  <a-button type="primary" @click="exportExcel" icon="download">瀵煎嚭</a-button>
+                </a-space>
               </a-col>
             </a-row>
             <a-row :gutter="24">
@@ -51,8 +59,8 @@
             <thead>
             <tr class="thead fixed equipname">
               <th class="thgu dong1 name" rowspan="2" style="min-width: 50px; max-width: 50px;width: 50px;"></th>
-              <th  class="thgu dong2 name" rowspan="2" style="min-width: 50px; max-width: 50px;width: 50px;"></th>
-              <th  class="thgu dong3 name" rowspan="2" style="min-width: 50px; max-width: 50px;width: 50px;"></th>
+              <th class="thgu dong2 name" rowspan="2" style="min-width: 50px; max-width: 50px;width: 50px;"></th>
+              <th class="thgu dong3 name" rowspan="2" style="min-width: 50px; max-width: 50px;width: 50px;"></th>
               <th class="thgu dong4 name" rowspan="2" style="min-width: 100px; max-width: 100px;width: 100px;">璁惧缂栧彿</th>
               <th class="thgu dong5 name" rowspan="2" style="min-width: 150px; max-width: 150px;width: 150px;">璁惧鍚嶇О</th>
               <th class="thgu dong6 name" rowspan="2" style="min-width: 100px; max-width: 100px;width: 100px;">璁惧绫诲瀷</th>
@@ -74,12 +82,18 @@
             </thead>
             <tbody>
             <tr class="mathData" v-for="(item, index) in dataList">
-              <td  class="tdgu kaitou wenzi" :rowspan="item.level1span" :class="{hidden: item.level1dis,noExl:item.level1dis}"  v-show="!item.level1dis">{{item.level1}}</td>
-              <td  class="tdgu1 kaitou wenzi" :rowspan="item.level2span" :class="{hidden: item.level2dis,noExl:item.level2dis}"  v-show="!item.level2dis">{{item.level2}}</td>
-              <td  class="tdgu2 kaitou wenzi" :rowspan="item.level3span" :class="{hidden: item.level3dis,noExl:item.level3dis}"  v-show="!item.level3dis">{{item.level3}}</td>
-              <td  class="tdgu3  kaitou">{{item.equipmentId}}</td>
-              <td  class="tdgu4 kaitou">{{item.equipmentName}}</td>
-              <td  class="tdgu5 kaitou">{{item.equipmentType}}</td>
+              <td class="tdgu kaitou wenzi" :rowspan="item.level1span"
+                  :class="{hidden: item.level1dis,noExl:item.level1dis}" v-show="!item.level1dis">{{item.level1}}
+              </td>
+              <td class="tdgu1 kaitou wenzi" :rowspan="item.level2span"
+                  :class="{hidden: item.level2dis,noExl:item.level2dis}" v-show="!item.level2dis">{{item.level2}}
+              </td>
+              <td class="tdgu2 kaitou wenzi" :rowspan="item.level3span"
+                  :class="{hidden: item.level3dis,noExl:item.level3dis}" v-show="!item.level3dis">{{item.level3}}
+              </td>
+              <td class="tdgu3  kaitou">{{item.equipmentId}}</td>
+              <td class="tdgu4 kaitou">{{item.equipmentName}}</td>
+              <td class="tdgu5 kaitou">{{item.equipmentType}}</td>
               <template v-for="(tableHead, index) in item.dataList">
                 <td :style="{background:tableHead.color }">{{tableHead.utilizationRate | numFilter}}</td>
                 <td :style="{background:tableHead.color }" v-if="checkedList.indexOf('kjl') > -1">
@@ -88,13 +102,13 @@
                 <td :style="{background:tableHead.color }" v-if="checkedList.indexOf('kjsj') > -1">
                   {{tableHead.openLong}}
                 </td>
-                <td :style="{background:tableHead.color }"  v-if="checkedList.indexOf('jgsj') > -1">
+                <td :style="{background:tableHead.color }" v-if="checkedList.indexOf('jgsj') > -1">
                   {{tableHead.processLong}}
                 </td>
-                <td :style="{background:tableHead.color }"  v-if="checkedList.indexOf('djsj') > -1">
+                <td :style="{background:tableHead.color }" v-if="checkedList.indexOf('djsj') > -1">
                   {{tableHead.waitLong}}
                 </td>
-                <td :style="{background:tableHead.color }"  v-if="checkedList.indexOf('gjsj') > -1">
+                <td :style="{background:tableHead.color }" v-if="checkedList.indexOf('gjsj') > -1">
                   {{tableHead.closeLong}}
                 </td>
               </template>
@@ -108,520 +122,569 @@
 </template>
 
 <script>
-import moment from 'moment'
-import { putAction, getAction } from '@/api/manage'
-import $ from 'jquery'
-import '@/components/table2excel/table2excel'
-import { ajaxGetDictItems, getDictItemsFromCache, duplicateCheck } from '@/api/api'
-export default {
-  name: 'EfficiencyList',
-  components: {},
-  data() {
-    return {
-      typeTree:"",
-      typeParent:1,
-      typeEquipment:1,
-      TreeIDOne:1,
-      TreeIDTwo:2,
-      deviceTypeDict: '',
-      dates: [],
-      identifying: [],
-      queryParam: {},
-      queryParams:{},
-      queryParamEquip:{},
-      queryParamPeople:{},
-      efficiencyOptions: [
-        { label: '鍒╃敤鐜�', value: 'lyl' },
-        { label: '寮�鏈虹巼', value: 'kjl' },
-        { label: '寮�鏈烘椂闂�', value: 'kjsj' },
-        { label: '鍔犲伐鏃堕棿', value: 'jgsj' },
-        { label: '寰呮満鏃堕棿', value: 'djsj' },
-        { label: '鍏虫満鏃堕棿', value: 'gjsj' }
-      ],
-      checkedList: ['lyl'],
-      dataList: [],
-      url: {
-        list: '/mdc/efficiencyReport/efficiencyList',
-        listByType: '/mdc/MdcUtilizationRate/getByType',
-      },
-      tableHeads: [],
+  import moment from 'moment'
+  import { putAction, getAction } from '@/api/manage'
+  import $ from 'jquery'
+  import '@/components/table2excel/table2excel'
+  import { ajaxGetDictItems, getDictItemsFromCache, duplicateCheck } from '@/api/api'
 
-    }
-  },
-  props: { nodeTree: '',Type:'',nodePeople:'' },
-  created() {
-    this.showIdentifying()
-    this.dates = [moment().subtract('days', 8), moment().subtract('days', 1)]
-    this.queryParam.startTime = moment(this.dates[0]).format('YYYYMMDD')
-    this.queryParam.endTime = moment(this.dates[1]).format('YYYYMMDD')
-    this.queryParam.typeTree = "1"
-    this.loadData()
-  },
-  watch: {
-    Type(valmath){
-      this.dataList = [];
-      this.queryParam.typeTree = valmath
-    },
-    nodeTree(val) { //鐩戝惉currSelected 鍙樺寲锛屽皢鍙樺寲鍚庣殑鏁板�间紶閫掔粰 getCurrSelected 浜嬩欢
-      if (JSON.stringify(val) != '{}') {
-        if (val.equipmentId != null) {
-          this.queryParamEquip.parentId = ''
-          this.queryParamEquip.equipmentId = val.equipmentId
-        } else {
-          this.queryParamEquip.parentId = val.key
-          this.queryParamEquip.equipmentId = ''
-        }
-        this.searchQuery()
+  export default {
+    name: 'EfficiencyList',
+    components: {},
+    data() {
+      return {
+        typeTree: '',
+        typeParent: 1,
+        typeEquipment: 1,
+        TreeIDOne: 1,
+        TreeIDTwo: 2,
+        deviceTypeDict: '',
+        dates: [],
+        selectList: [],
+        identifying: [],
+        queryParam: {},
+        queryParams: {},
+        queryParamEquip: {},
+        queryParamPeople: {},
+        efficiencyOptions: [
+          { label: '鍒╃敤鐜�', value: 'lyl' },
+          { label: '寮�鏈虹巼', value: 'kjl' },
+          { label: '寮�鏈烘椂闂�', value: 'kjsj' },
+          { label: '鍔犲伐鏃堕棿', value: 'jgsj' },
+          { label: '寰呮満鏃堕棿', value: 'djsj' },
+          { label: '鍏虫満鏃堕棿', value: 'gjsj' }
+        ],
+        checkedList: ['lyl'],
+        dataList: [],
+        url: {
+          list: '/mdc/efficiencyReport/efficiencyList',
+          listByType: '/mdc/MdcUtilizationRate/getByType',
+          queryEquipmentType: '/mdc/mdcEquipmentType/queryEquipmentType'
+        },
+        tableHeads: []
+
       }
     },
-    nodePeople(val){
-      if (JSON.stringify(val) != '{}') {
-        if (val.equipmentId != null) {
-          this.queryParamPeople.parentId = val.equipmentId
-          this.queryParamPeople.equipmentId = ''
-        } else {
-          this.queryParamPeople.parentId = val.key
-          this.queryParamPeople.equipmentId = ''
-        }
-        this.searchQuery()
-      }
-    }
-  },
-  filters: {
-    numFilter(value) {
-      if (value) {
-        return parseFloat((value * 100).toFixed(2))
-      } else {
-        return '0'
-      }
-    }
-  },
-  methods: {
-    checkSameData(dataList){
-      let cache = {};  //瀛樺偍鐨勬槸閿槸kclx 鐨勫�硷紝鍊兼槸kclx 鍦╥ndeces涓暟缁勭殑涓嬫爣
-      let indices = [];  //鏁扮粍涓瘡涓�涓�兼槸涓�涓暟缁勶紝鏁扮粍涓殑姣忎竴涓厓绱犳槸鍘熸暟缁勪腑鐩稿悓kclx鐨勪笅鏍�
-      dataList.map((item,index)=>{
-        let level1 = item.level1;
-        let _index = cache[level1];
-        if(_index!==undefined){
-          indices[_index].push(index)
-        }else{
-          cache[level1] = indices.length
-          indices.push([index])
-        }
-      })
-      let result = [];
-      indices.map((item)=>{
-        item.map((index)=>{
-          result.push(dataList[index])
-        })
-      })
-      this.dataList = result
+    props: { nodeTree: '', Type: '', nodePeople: '' },
+    created() {
+      this.showIdentifying()
+      this.dates = [moment().subtract('days', 8), moment().subtract('days', 1)]
+      this.queryParam.startTime = moment(this.dates[0]).format('YYYYMMDD')
+      this.queryParam.endTime = moment(this.dates[1]).format('YYYYMMDD')
+      this.queryParam.typeTree = '1'
+      this.loadData()
+      this.queryGroup()
     },
-    checkSameData1(dataList){
-      let cache = {};  //瀛樺偍鐨勬槸閿槸kclx 鐨勫�硷紝鍊兼槸kclx 鍦╥ndeces涓暟缁勭殑涓嬫爣
-      let indices = [];  //鏁扮粍涓瘡涓�涓�兼槸涓�涓暟缁勶紝鏁扮粍涓殑姣忎竴涓厓绱犳槸鍘熸暟缁勪腑鐩稿悓kclx鐨勪笅鏍�
-      dataList.map((item,index)=>{
-        let level2 = item.level2;
-        let _index = cache[level2];
-        if(_index!==undefined){
-          indices[_index].push(index)
-        }else{
-          cache[level2] = indices.length
-          indices.push([index])
-        }
-      })
-      let result = [];
-      indices.map((item)=>{
-        item.map((index)=>{
-          result.push(dataList[index])
-        })
-      })
-      this.dataList = result
-    },
-    checkSameData2(dataList){
-      let cache = {};  //瀛樺偍鐨勬槸閿槸kclx 鐨勫�硷紝鍊兼槸kclx 鍦╥ndeces涓暟缁勭殑涓嬫爣
-      let indices = [];  //鏁扮粍涓瘡涓�涓�兼槸涓�涓暟缁勶紝鏁扮粍涓殑姣忎竴涓厓绱犳槸鍘熸暟缁勪腑鐩稿悓kclx鐨勪笅鏍�
-      dataList.map((item,index)=>{
-        let level3 = item.level3;
-        let _index = cache[level3];
-        if(_index!==undefined){
-          indices[_index].push(index)
-        }else{
-          cache[level3] = indices.length
-          indices.push([index])
-        }
-      })
-      let result = [];
-      indices.map((item)=>{
-        item.map((index)=>{
-          result.push(dataList[index])
-        })
-      })
-      this.dataList = result
-    },
-    // 鍚堝苟
-    combineCell() {
-      console.log(this.dataList)
-      let list =this.dataList;
-      for (let field in list[0]) {
-        var k = 0;
-        while (k < list.length) {
-          list[k][field + 'span'] = 1;
-          list[k][field + 'dis'] = false;
-          for (var i = k + 1; i <= list.length - 1; i++) {
-            if (list[k][field] == list[i][field] && list[k][field] != '') {
-              list[k][field + 'span']++;
-              list[k][field + 'dis'] = false;
-              list[i][field + 'span'] = 1;
-              list[i][field + 'dis'] = true;
-            } else {
-              break;
-            }
+    watch: {
+      Type(valmath) {
+        this.dataList = []
+        this.queryParam.typeTree = valmath
+      },
+      nodeTree(val) { //鐩戝惉currSelected 鍙樺寲锛屽皢鍙樺寲鍚庣殑鏁板�间紶閫掔粰 getCurrSelected 浜嬩欢
+        if (JSON.stringify(val) != '{}') {
+          if (val.equipmentId != null) {
+            this.queryParamEquip.parentId = ''
+            this.queryParamEquip.equipmentId = val.equipmentId
+          } else {
+            this.queryParamEquip.parentId = val.key
+            this.queryParamEquip.equipmentId = ''
           }
-          k = i;
+          this.searchQuery()
+        }
+      },
+      nodePeople(val) {
+        if (JSON.stringify(val) != '{}') {
+          if (val.equipmentId != null) {
+            this.queryParamPeople.parentId = val.equipmentId
+            this.queryParamPeople.equipmentId = ''
+          } else {
+            this.queryParamPeople.parentId = val.key
+            this.queryParamPeople.equipmentId = ''
+          }
+          this.searchQuery()
         }
       }
-      return list;
     },
-    disabledDate(current){
-      //Can not slect days before today and today
-      return current && current > moment().subtract('days', 1);
+    filters: {
+      numFilter(value) {
+        if (value) {
+          return parseFloat((value * 100).toFixed(2))
+        } else {
+          return '0'
+        }
+      }
     },
-    initDeviceType(deviceList) {
-      let dictCode = 'mdc_equipmentType'
-      let items = []
-      items = getDictItemsFromCache(dictCode)
-      if (deviceList && items.length > 0) {
-        for (let a = 0; a < deviceList.length; a++) {
-          if (items && items.length > 0) {
-            for (let i = 0; i < items.length; i++) {
-              if (deviceList[a].equipmentType == items[i].value) {
-                deviceList[a].equipmentType = items[i].title
+    methods: {
+      checkSameData(dataList) {
+        let cache = {}  //瀛樺偍鐨勬槸閿槸kclx 鐨勫�硷紝鍊兼槸kclx 鍦╥ndeces涓暟缁勭殑涓嬫爣
+        let indices = []  //鏁扮粍涓瘡涓�涓�兼槸涓�涓暟缁勶紝鏁扮粍涓殑姣忎竴涓厓绱犳槸鍘熸暟缁勪腑鐩稿悓kclx鐨勪笅鏍�
+        dataList.map((item, index) => {
+          let level1 = item.level1
+          let _index = cache[level1]
+          if (_index !== undefined) {
+            indices[_index].push(index)
+          } else {
+            cache[level1] = indices.length
+            indices.push([index])
+          }
+        })
+        let result = []
+        indices.map((item) => {
+          item.map((index) => {
+            result.push(dataList[index])
+          })
+        })
+        this.dataList = result
+      },
+      checkSameData1(dataList) {
+        let cache = {}  //瀛樺偍鐨勬槸閿槸kclx 鐨勫�硷紝鍊兼槸kclx 鍦╥ndeces涓暟缁勭殑涓嬫爣
+        let indices = []  //鏁扮粍涓瘡涓�涓�兼槸涓�涓暟缁勶紝鏁扮粍涓殑姣忎竴涓厓绱犳槸鍘熸暟缁勪腑鐩稿悓kclx鐨勪笅鏍�
+        dataList.map((item, index) => {
+          let level2 = item.level2
+          let _index = cache[level2]
+          if (_index !== undefined) {
+            indices[_index].push(index)
+          } else {
+            cache[level2] = indices.length
+            indices.push([index])
+          }
+        })
+        let result = []
+        indices.map((item) => {
+          item.map((index) => {
+            result.push(dataList[index])
+          })
+        })
+        this.dataList = result
+      },
+      checkSameData2(dataList) {
+        let cache = {}  //瀛樺偍鐨勬槸閿槸kclx 鐨勫�硷紝鍊兼槸kclx 鍦╥ndeces涓暟缁勭殑涓嬫爣
+        let indices = []  //鏁扮粍涓瘡涓�涓�兼槸涓�涓暟缁勶紝鏁扮粍涓殑姣忎竴涓厓绱犳槸鍘熸暟缁勪腑鐩稿悓kclx鐨勪笅鏍�
+        dataList.map((item, index) => {
+          let level3 = item.level3
+          let _index = cache[level3]
+          if (_index !== undefined) {
+            indices[_index].push(index)
+          } else {
+            cache[level3] = indices.length
+            indices.push([index])
+          }
+        })
+        let result = []
+        indices.map((item) => {
+          item.map((index) => {
+            result.push(dataList[index])
+          })
+        })
+        this.dataList = result
+      },
+      // 鍚堝苟
+      combineCell() {
+        console.log(this.dataList)
+        let list = this.dataList
+        for (let field in list[0]) {
+          var k = 0
+          while (k < list.length) {
+            list[k][field + 'span'] = 1
+            list[k][field + 'dis'] = false
+            for (var i = k + 1; i <= list.length - 1; i++) {
+              if (list[k][field] == list[i][field] && list[k][field] != '') {
+                list[k][field + 'span']++
+                list[k][field + 'dis'] = false
+                list[i][field + 'span'] = 1
+                list[i][field + 'dis'] = true
+              } else {
+                break
               }
             }
-          } else {
-            ajaxGetDictItems(dictCode, null).then((res) => {
-              if (res.success) {
-                let items = res.result
-                for (let i = 0; i < items.length; i++) {
-                  if (deviceList[a].equipmentType == items[i].value) {
-                    deviceList[a].equipmentType = items[i].title
-                  }
+            k = i
+          }
+        }
+        return list
+      },
+      disabledDate(current) {
+        //Can not slect days before today and today
+        return current && current > moment().subtract('days', 1)
+      },
+      initDeviceType(deviceList) {
+        let dictCode = 'mdc_equipmentType'
+        let items = []
+        items = getDictItemsFromCache(dictCode)
+        if (deviceList && items.length > 0) {
+          for (let a = 0; a < deviceList.length; a++) {
+            if (items && items.length > 0) {
+              for (let i = 0; i < items.length; i++) {
+                if (deviceList[a].equipmentType == items[i].value) {
+                  deviceList[a].equipmentType = items[i].title
                 }
               }
-            })
+            } else {
+              ajaxGetDictItems(dictCode, null).then((res) => {
+                if (res.success) {
+                  let items = res.result
+                  for (let i = 0; i < items.length; i++) {
+                    if (deviceList[a].equipmentType == items[i].value) {
+                      deviceList[a].equipmentType = items[i].title
+                    }
+                  }
+                }
+              })
+            }
           }
         }
-      }
-    },
-    exportExcel() {
-      $("#Efficiency").table2excel({
-        exclude: ".noExl",
-        name: "Excel Document Name",
-        filename: "璁惧鍒╃敤鐜�",
-        exclude_img: true,
-        fileext: ".xls",
-        exclude_links: true,
-        exclude_inputs: false
-      });
-    },
-    showIdentifying() {
-      getAction(this.url.listByType, { type: 'lyl' }).then(res => {
-        if (res.success) {
-          this.identifying = res.result
-        }
-      })
-    },
-    dateParamChange(v1, v2) {
-      this.queryParam.startTime = v2[0]
-      this.queryParam.endTime = v2[1]
-      // 鐐瑰嚮鏃堕棿閫夋嫨鍣ㄧ殑娓呯┖鎸夐挳鏃朵細瑙﹀彂姝ゅ垽鏂�(鐐瑰嚮閲嶇疆鎸夐挳涓嶄細瑙﹀彂)锛屽疄鐜伴噸缃垪琛ㄥ姛鑳斤紝鍒囧疄鏀瑰彉鍒楄〃鏄剧ず鏁堟灉
-      if(!this.queryParam.startTime&&!this.queryParam.endTime)this.searchReset()
-    },
-    efficiencyOptionsOnChange(checkedList) {
-      let index = checkedList.indexOf('lyl')
-      if (index < 0) {
-        // this.$message.warn('涓嶈兘鍙栨秷鏌ヨ寮�鍔ㄧ巼')
-        this.$notification.warning({
-          message:'娑堟伅',
-          description:"涓嶈兘鍙栨秷鏌ヨ寮�鍔ㄧ巼"
+      },
+      exportExcel() {
+        $('#Efficiency').table2excel({
+          exclude: '.noExl',
+          name: 'Excel Document Name',
+          filename: '璁惧鍒╃敤鐜�',
+          exclude_img: true,
+          fileext: '.xls',
+          exclude_links: true,
+          exclude_inputs: false
         })
+      },
+      showIdentifying() {
+        getAction(this.url.listByType, { type: 'lyl' }).then(res => {
+          if (res.success) {
+            this.identifying = res.result
+          }
+        })
+      },
+      dateParamChange(v1, v2) {
+        this.queryParam.startTime = v2[0]
+        this.queryParam.endTime = v2[1]
+        // 鐐瑰嚮鏃堕棿閫夋嫨鍣ㄧ殑娓呯┖鎸夐挳鏃朵細瑙﹀彂姝ゅ垽鏂�(鐐瑰嚮閲嶇疆鎸夐挳涓嶄細瑙﹀彂)锛屽疄鐜伴噸缃垪琛ㄥ姛鑳斤紝鍒囧疄鏀瑰彉鍒楄〃鏄剧ず鏁堟灉
+        if (!this.queryParam.startTime && !this.queryParam.endTime) this.searchReset()
+      },
+      efficiencyOptionsOnChange(checkedList) {
+        let index = checkedList.indexOf('lyl')
+        if (index < 0) {
+          // this.$message.warn('涓嶈兘鍙栨秷鏌ヨ寮�鍔ㄧ巼')
+          this.$notification.warning({
+            message: '娑堟伅',
+            description: '涓嶈兘鍙栨秷鏌ヨ寮�鍔ㄧ巼'
+          })
 
-        return false
-      }
-      this.checkedList = checkedList
-    },
-    // searchQuery() {
-    //   if(this.queryParam.typeTree == "1"){
-    //     // this.queryParam.TreeIDTwo = ""
-    //     this.queryParam.parentId =  this.queryParamEquip.parentId
-    //     this.queryParam.equipmentId = this.queryParamEquip.equipmentId
-    //   }else{
-    //     // this.queryParam.TreeIDOne = ""
-    //     this.queryParam.parentId = this.queryParamPeople.parentId
-    //     this.queryParam.equipmentId = ""
-    //   }
-    //   this.loadData()
-    //   // this.onClearSelected()
-    // },
-    // searchReset() {
-    //   this.typeTree = this.queryParam.typeTree
-    //   this.typeParent =  this.queryParams.parentId
-    //   this.queryParam = {}
-    //   this.dates = []
-    //   this.queryParam.typeTree = this.typeTree
-    //   this.queryParam.parentId = this.typeParent
-    //   this.loadData()
-    //   // this.onClearSelected()
-    // },
-    searchQuery() {
-      if(this.dates != ''){
-        if(this.queryParam.typeTree == "1"){
-          this.queryParam.parentId =  this.queryParamEquip.parentId
-          this.queryParam.equipmentId = this.queryParamEquip.equipmentId
-        }else{
-          this.queryParam.parentId = this.queryParamPeople.parentId
-          this.queryParam.equipmentId = ""
+          return false
         }
+        this.checkedList = checkedList
+      },
+      // searchQuery() {
+      //   if(this.queryParam.typeTree == "1"){
+      //     // this.queryParam.TreeIDTwo = ""
+      //     this.queryParam.parentId =  this.queryParamEquip.parentId
+      //     this.queryParam.equipmentId = this.queryParamEquip.equipmentId
+      //   }else{
+      //     // this.queryParam.TreeIDOne = ""
+      //     this.queryParam.parentId = this.queryParamPeople.parentId
+      //     this.queryParam.equipmentId = ""
+      //   }
+      //   this.loadData()
+      //   // this.onClearSelected()
+      // },
+      // searchReset() {
+      //   this.typeTree = this.queryParam.typeTree
+      //   this.typeParent =  this.queryParams.parentId
+      //   this.queryParam = {}
+      //   this.dates = []
+      //   this.queryParam.typeTree = this.typeTree
+      //   this.queryParam.parentId = this.typeParent
+      //   this.loadData()
+      //   // this.onClearSelected()
+      // },
+      searchQuery() {
+        console.log('dates',this.dates)
+        if (this.dates != '') {
+          if (this.queryParam.typeTree == '1') {
+            this.queryParam.parentId = this.queryParamEquip.parentId
+            this.queryParam.equipmentId = this.queryParamEquip.equipmentId
+          } else {
+            this.queryParam.parentId = this.queryParamPeople.parentId
+            this.queryParam.equipmentId = ''
+          }
+          this.loadData()
+        } else {
+          this.$notification.warning({
+            message: '娑堟伅',
+            description: '璇烽�夋嫨鏃堕棿'
+          })
+        }
+        // this.onClearSelected()
+      },
+      searchReset() {
+        this.typeTree = this.queryParam.typeTree
+        this.typeParent = this.queryParam.parentId
+        this.typeEquipment = this.queryParam.equipmentId
+        this.queryParam = {}
+        this.dates = []
+        this.queryParam.typeTree = this.typeTree
+        this.queryParam.parentId = this.typeParent
+        this.queryParam.equipmentId = this.typeEquipment
+        // this.ipagination.current = 1
         this.loadData()
-      }else{
-        this.$notification.warning({
-          message:'娑堟伅',
-          description:"璇烽�夋嫨鏃堕棿"
-        });
-      }
-      // this.onClearSelected()
-    },
-    searchReset() {
-      this.typeTree = this.queryParam.typeTree
-      this.typeParent =  this.queryParam.parentId
-      this.typeEquipment = this.queryParam.equipmentId
-      this.queryParam = {}
-      this.dates = []
-      this.queryParam.typeTree = this.typeTree
-      this.queryParam.parentId = this.typeParent
-      this.queryParam.equipmentId =  this.typeEquipment
-      // this.ipagination.current = 1
-      this.loadData();
-      // this.queryParam = {}
-      // this.dates = []
-      // this.loadData()
-      // this.onClearSelected()
-    },
-    loadData() {
-      this.tableHeads = []
-      this.dataList = []
-      getAction(this.url.list, this.queryParam).then(res => {
-        if (res.success) {
-          this.tableHeads = res.result.dates
-          this.dataList = res.result.mdcEfficiencyList
-          this.checkSameData(this.dataList)
-          this.checkSameData1(this.dataList)
-          this.checkSameData2(this.dataList)
-          this.combineCell();
-          // this.initDeviceType(this.dataList)
+        // this.queryParam = {}
+        // this.dates = []
+        // this.loadData()
+        // this.onClearSelected()
+      },
+      loadData() {
+        this.tableHeads = []
+        this.dataList = []
+        getAction(this.url.list, this.queryParam).then(res => {
+          if (res.success) {
+            this.tableHeads = res.result.dates
+            this.dataList = res.result.mdcEfficiencyList
+            this.checkSameData(this.dataList)
+            this.checkSameData1(this.dataList)
+            this.checkSameData2(this.dataList)
+            this.combineCell()
+            // this.initDeviceType(this.dataList)
 
-        }
-      })
+          }
+        })
+      },
+      queryGroup() {
+        getAction(this.url.queryEquipmentType).then(res => {
+          if (res.success) {
+            this.selectList = res.result
+            // this.selectList = res.result.map((item, index, arr) => {
+            //   return { label: item.id, value: item.equipmentTypeName + '' }
+            // })
+          } else {
+            // this.$message.warning(res.message)
+            this.$notification.warning({
+              message: '娑堟伅',
+              description: res.message
+            })
+          }
+        }).finally(() => {
+          this.loading = false
+        })
+      }
     }
   }
-}
 </script>
 <style scoped>
-.table2{
-  width: 100%;
-  height: 100%;
-  overflow: auto;
-}
-.table2 thead tr th:first-child,
-.table tbody tr .tdgu{
-  position: sticky;
-  left: 0;
-  z-index: 1;
-}
-.table tbody tr .wenzi{
-  /*writing-mode: vertical-lr;*/
-  /*text-orientation: upright;*/
-  transform: rotate(360deg);
-  writing-mode: vertical-lr;
-  letter-spacing: 2px;
-}
-.table tbody tr .kaitou{
-  z-index: 1;
-  background-color: white;
-}
-.table tbody tr .tdgu1{
-  position: sticky;
-  left: 50px;
-  z-index: 2;
-}
-.table tbody tr .tdgu2{
-  position: sticky;
-  left: 100px;
-  z-index: 2;
-}
-.table tbody tr .tdgu3{
-  position: sticky;
-  left: 150px;
-  z-index: 2;
-}
-.table tbody tr .tdgu4{
-  position: sticky;
-  left: 250px;
-  z-index: 2;
-}
-.table tbody tr .tdgu5{
-  position: sticky;
-  left: 400px;
-  z-index: 2;
-}
-.table2 thead tr .timeth,
-.table2 thead tr  .thgu {
-  position: sticky;
-  top:0;
-  z-index: 3;
-}
-.table2 thead .gudingth th{
-  position: sticky;
-  top: 32px;
-  z-index: 2;
-}
-.table2 thead .equipname .name{
-  z-index: 3;
-}
-.table2 thead .equipname .dong1{
-  z-index: 4;
-  left: 0;
-  /*border: 1px solid #000;*/
-}
-.table2 thead .equipname .dong2{
-  z-index: 5;
-  left: 50px;
-}
-.table2 thead .equipname .dong3{
-  z-index: 5;
-  left: 100px;
-}
-.table2 thead .equipname .dong4{
-  z-index: 5;
-  left: 150px;
-}
-.table2 thead .equipname .dong5{
-  z-index: 5;
-  left: 250px;
-}
-.table2 thead .equipname .dong6{
-  z-index: 5;
-  left: 400px;
-}
-
-@media screen and (min-width: 1920px){
-  #Efficiency{
-    height: 687px!important;
-    overflow: scroll;
+  .table2 {
+    width: 100%;
+    height: 100%;
+    overflow: auto;
   }
-}
-@media screen and (min-width: 1680px) and (max-width: 1920px){
-  #Efficiency{
-    height: 687px!important;
-    overflow: scroll;
+
+  .table2 thead tr th:first-child,
+  .table tbody tr .tdgu {
+    position: sticky;
+    left: 0;
+    z-index: 1;
   }
-}
-@media screen and (min-width: 1400px) and (max-width: 1680px){
-  #Efficiency{
-    height: 540px!important;
-    overflow: scroll;
+
+  .table tbody tr .wenzi {
+    /*writing-mode: vertical-lr;*/
+    /*text-orientation: upright;*/
+    transform: rotate(360deg);
+    writing-mode: vertical-lr;
+    letter-spacing: 2px;
   }
-}
-@media screen and (min-width: 1280px) and (max-width: 1400px){
-  #Efficiency{
-    height: 440px!important;
-    overflow: scroll;
+
+  .table tbody tr .kaitou {
+    z-index: 1;
+    background-color: white;
   }
-}
-@media screen and (max-width: 1280px){
-  #Efficiency{
-    height: 440px!important;
-    overflow: scroll;
+
+  .table tbody tr .tdgu1 {
+    position: sticky;
+    left: 50px;
+    z-index: 2;
   }
-}
-#Efficiency .table_guding1{
-  position: absolute;
-  overflow: hidden;
-  width: 500px;
-}
-#Efficiency .table_guding2{
-  overflow-x: scroll;
-  width: 500px;
-}
-.identifyingclass {
-  width: 55px;
-  height: 15px;
-  display: inline-block
-}
 
-.dataContent {
-  white-space: nowrap;
-  /*margin: 0;*/
-  /*border: none;*/
-  border-collapse: separate;
-  border-spacing: 0;
-  /*table-layout: fixed;*/
-  border: 1px solid #ccc;
-  /*border: 1px solid #ccc;*/
-  width: 100%;
-  /*height: 100%;*/
-  /*overflow: hidden;*/
-  /*overflow-y: auto;*/
-  text-align: center;
-}
+  .table tbody tr .tdgu2 {
+    position: sticky;
+    left: 100px;
+    z-index: 2;
+  }
 
-/*.dataContent .fixed th {*/
-/*width: 50px;*/
-/*}*/
+  .table tbody tr .tdgu3 {
+    position: sticky;
+    left: 150px;
+    z-index: 2;
+  }
 
-.dataContent .thead th {
-  background-color: #fafafa;
-  text-align: center;
-  height: 30px;
-  padding: 5px;
-}
+  .table tbody tr .tdgu4 {
+    position: sticky;
+    left: 250px;
+    z-index: 2;
+  }
 
-.dataContent .notfixed th {
-  /*width: auto;*/
-}
+  .table tbody tr .tdgu5 {
+    position: sticky;
+    left: 400px;
+    z-index: 2;
+  }
 
-/*.dataContent tr td {*/
+  .table2 thead tr .timeth,
+  .table2 thead tr .thgu {
+    position: sticky;
+    top: 0;
+    z-index: 3;
+  }
+
+  .table2 thead .gudingth th {
+    position: sticky;
+    top: 32px;
+    z-index: 2;
+  }
+
+  .table2 thead .equipname .name {
+    z-index: 3;
+  }
+
+  .table2 thead .equipname .dong1 {
+    z-index: 4;
+    left: 0;
+    /*border: 1px solid #000;*/
+  }
+
+  .table2 thead .equipname .dong2 {
+    z-index: 5;
+    left: 50px;
+  }
+
+  .table2 thead .equipname .dong3 {
+    z-index: 5;
+    left: 100px;
+  }
+
+  .table2 thead .equipname .dong4 {
+    z-index: 5;
+    left: 150px;
+  }
+
+  .table2 thead .equipname .dong5 {
+    z-index: 5;
+    left: 250px;
+  }
+
+  .table2 thead .equipname .dong6 {
+    z-index: 5;
+    left: 400px;
+  }
+
+  @media screen and (min-width: 1920px) {
+    #Efficiency {
+      height: 687px !important;
+      overflow: scroll;
+    }
+  }
+
+  @media screen and (min-width: 1680px) and (max-width: 1920px) {
+    #Efficiency {
+      height: 687px !important;
+      overflow: scroll;
+    }
+  }
+
+  @media screen and (min-width: 1400px) and (max-width: 1680px) {
+    #Efficiency {
+      height: 540px !important;
+      overflow: scroll;
+    }
+  }
+
+  @media screen and (min-width: 1280px) and (max-width: 1400px) {
+    #Efficiency {
+      height: 440px !important;
+      overflow: scroll;
+    }
+  }
+
+  @media screen and (max-width: 1280px) {
+    #Efficiency {
+      height: 440px !important;
+      overflow: scroll;
+    }
+  }
+
+  #Efficiency .table_guding1 {
+    position: absolute;
+    overflow: hidden;
+    width: 500px;
+  }
+
+  #Efficiency .table_guding2 {
+    overflow-x: scroll;
+    width: 500px;
+  }
+
+  .identifyingclass {
+    width: 55px;
+    height: 15px;
+    display: inline-block
+  }
+
+  .dataContent {
+    white-space: nowrap;
+    /*margin: 0;*/
+    /*border: none;*/
+    border-collapse: separate;
+    border-spacing: 0;
+    /*table-layout: fixed;*/
+    border: 1px solid #ccc;
+    /*border: 1px solid #ccc;*/
+    width: 100%;
+    /*height: 100%;*/
+    /*overflow: hidden;*/
+    /*overflow-y: auto;*/
+    text-align: center;
+  }
+
+  /*.dataContent .fixed th {*/
+  /*width: 50px;*/
+  /*}*/
+
+  .dataContent .thead th {
+    background-color: #fafafa;
+    text-align: center;
+    height: 30px;
+    padding: 5px;
+  }
+
+  .dataContent .notfixed th {
+    /*width: auto;*/
+  }
+
+  /*.dataContent tr td {*/
   /*height: 35px;*/
-/*}*/
+  /*}*/
 
-.dataContent .mathData td {
-  padding: 10px;
-  /*display: none;*/
-}
+  .dataContent .mathData td {
+    padding: 10px;
+    /*display: none;*/
+  }
 
-.dataContent .mathData .td {
-  /*background-color: #ff9bd2;*/
-  display: inline-block;
-  padding: 10px;
-}
+  .dataContent .mathData .td {
+    /*background-color: #ff9bd2;*/
+    display: inline-block;
+    padding: 10px;
+  }
 
-.dataContent .mathData .tdd {
-  /*display: none;*/
-}
-td {
-  vertical-align: middle;
-}
-.pink {
-  background-color: #ff9bd2;
-}
+  .dataContent .mathData .tdd {
+    /*display: none;*/
+  }
 
-.yellow {
-  background-color: #e8ff37;
-}
+  td {
+    vertical-align: middle;
+  }
 
-.green {
-  background-color: #99ff4e;
-}
+  .pink {
+    background-color: #ff9bd2;
+  }
+
+  .yellow {
+    background-color: #e8ff37;
+  }
+
+  .green {
+    background-color: #99ff4e;
+  }
 </style>
\ No newline at end of file
diff --git a/src/views/mdc/base/modules/efficiencyShiftReport/EfficiencyShiftList.vue b/src/views/mdc/base/modules/efficiencyShiftReport/EfficiencyShiftList.vue
index b3e08fb..522f636 100644
--- a/src/views/mdc/base/modules/efficiencyShiftReport/EfficiencyShiftList.vue
+++ b/src/views/mdc/base/modules/efficiencyShiftReport/EfficiencyShiftList.vue
@@ -6,12 +6,21 @@
         <div class="table-page-search-wrapper">
         <a-form layout="inline" @keyup.enter.native="searchQuery">
           <a-row :gutter="24">
-            <a-col :md="9" :sm="9" :xs="9">
+            <a-col :md="4" :sm="4" >
+              <a-form-item label="璁惧绫诲瀷">
+                <a-select placeholder="璇烽�夋嫨璁惧绫诲瀷" :triggerChange="true" v-model="queryParam.equipmentType" :allowClear="true">
+                  <a-select-option v-for='item in selectList' :key='item.id' :value='item.equipmentTypeName'>
+                    {{item.equipmentTypeName}}
+                  </a-select-option>
+                </a-select>
+              </a-form-item>
+            </a-col>
+            <a-col :md="5" :sm="5" :xs="5">
               <a-form-item label="鏃堕棿">
                 <a-range-picker @change="dateParamChange" :disabledDate="disabledDate" format="YYYYMMDD" v-model="dates"/>
               </a-form-item>
             </a-col>
-            <a-col :md="6" :sm="6" :xs="6">
+            <a-col :md="4" :sm="4" :xs="4">
               <a-form-item label="鐝埗">
                 <a-select v-model="queryParam.shiftId" placeholder="璇烽�夋嫨鐝埗"
                           @change="initShiftSubList" :allowClear = "allowClear">
@@ -21,7 +30,7 @@
                 </a-select>
               </a-form-item>
             </a-col>
-            <a-col :md="6" :sm="6" :xs="6">
+            <a-col :md="4" :sm="4" :xs="4">
               <a-form-item label="鐝">
                 <a-select v-model="queryParam.shiftSubId" placeholder="璇烽�夋嫨鐝" @change="initShiftSubListChange"  :allowClear = "allowClearSu">
                   <a-select-option v-for="(em,index) in shiftSubList" :key="index" :value="em.value">
@@ -30,37 +39,46 @@
                 </a-select>
               </a-form-item>
             </a-col>
-
           </a-row>
           <a-row :gutter="24">
-            <a-col :md="15" :sm="15" :xs="15">
+            <a-col :md="9" :sm="9" :xs="9">
               <a-checkbox-group :value="checkedList" :default-value="['lyl']" :options="efficiencyOptions"
                                 @change="efficiencyOptionsOnChange"/>
             </a-col>
-            <a-col :md="3" :sm="3" :xs="3">
-              <a-button type="primary" @click="searchQuery" icon="search">鏌ヨ</a-button>
+            <a-col :md="5" :sm="5">
+              <a-space>
+                <a-button type="primary" @click="searchQuery" icon="search">鏌ヨ</a-button>
+                <a-button type="primary" @click="searchReset" icon="reload">閲嶇疆</a-button>
+                <a-button type="primary" @click="exportExcel" icon="download">瀵煎嚭</a-button>
+              </a-space>
             </a-col>
-            <a-col :md="3" :sm="3" :xs="3">
-              <a-button type="primary" @click="searchReset" icon="reload">閲嶇疆</a-button>
-            </a-col>
-            <a-col :md="3" :sm="3" :xs="3">
-              <a-button type="primary" @click="exportExcel" icon="download">瀵煎嚭</a-button>
+            <a-col :md="10" :sm="10">
+              <table cellpadding="5" cellspacing="1" style="border: 1px solid darkgray;">
+                <tr>
+                  <td v-for="(item, index) in identifying">{{item.title}}</td>
+                </tr>
+                <tr>
+                  <td style="text-align:center;" v-for="(item, index) in identifying">
+                    <div class="identifyingclass" :style="{background: item.color}"></div>
+                  </td>
+                </tr>
+              </table>
             </a-col>
           </a-row>
         </a-form>
-      </div>
-        <div style="width: 530px;top: 0; right: 0px;">
-        <table cellpadding="5" cellspacing="1" style="border: 1px solid darkgray;">
-          <tr>
-            <td v-for="(item, index) in identifying">{{item.title}}</td>
-          </tr>
-          <tr>
-            <td style="text-align:center;" v-for="(item, index) in identifying">
-              <div class="identifyingclass" :style="{background: item.color}"></div>
-            </td>
-          </tr>
-        </table>
-      </div>
+        </div>
+        <!--<div style="width: 530px;position:absolute;top: 10px; right: 0;">-->
+          <!--<table cellpadding="5" cellspacing="1" style="border: 1px solid darkgray;">-->
+            <!--<tr>-->
+              <!--<td v-for="(item, index) in identifying">{{item.title}}</td>-->
+            <!--</tr>-->
+            <!--<tr>-->
+              <!--<td style="text-align:center;" v-for="(item, index) in identifying">-->
+                <!--<div class="identifyingclass" :style="{background: item.color}"></div>-->
+              <!--</td>-->
+            <!--</tr>-->
+          <!--</table>-->
+        <!--</div>-->
       </div>
       <div class="container" id="EfficiencyShift" style="margin-top: 20px;">
         <div class="table2">
@@ -164,6 +182,7 @@
         allowClear:true,
         allowClearSu:true,
         dates: [],
+        selectList:[],
         identifying: [],
         queryParam: {},
         queryParamEquip:{},
@@ -186,7 +205,8 @@
           list: '/mdc/efficiencyReport/efficiencyShiftList',
           listByType: '/mdc/MdcUtilizationRate/getByType',
           initShiftList: '/mdc/mdcMdcShift/initShiftList',
-          initShiftSubList: '/mdc/mdcShiftSub/initShiftSubList'
+          initShiftSubList: '/mdc/mdcShiftSub/initShiftSubList',
+          queryEquipmentType: '/mdc/mdcEquipmentType/queryEquipmentType'
         },
         tableHeads: [],
         shiftList: [],
@@ -202,6 +222,7 @@
       this.queryParam.endTime = moment(this.dates[1]).format('YYYYMMDD')
       this.queryParam.typeTree = "1"
       this.loadData();
+      this.queryGroup()
     },
     watch: {
       Type(valmath){
@@ -466,6 +487,24 @@
             // this.initDeviceType(this.dataList)
           }
         })
+      },
+      queryGroup() {
+        getAction(this.url.queryEquipmentType).then(res => {
+          if (res.success) {
+            this.selectList = res.result
+            // this.selectList = res.result.map((item, index, arr) => {
+            //   return { label: item.id, value: item.equipmentTypeName + '' }
+            // })
+          } else {
+            // this.$message.warning(res.message)
+            this.$notification.warning({
+              message: '娑堟伅',
+              description: res.message
+            })
+          }
+        }).finally(() => {
+          this.loading = false
+        })
       }
     }
   }
@@ -654,9 +693,9 @@
   .dataContent .mathData .tdd {
     /*display: none;*/
   }
-  .seach-content{
-    display: flex;
-    justify-content: space-between;
-  }
+  /*.seach-content{*/
+    /*display: flex;*/
+    /*justify-content: space-between;*/
+  /*}*/
 
 </style>
\ No newline at end of file
diff --git a/src/views/mdc/base/modules/equipmentAvailCompare/equipmentAvailCompareMain.vue b/src/views/mdc/base/modules/equipmentAvailCompare/equipmentAvailCompareMain.vue
index 9f83208..51b2e84 100644
--- a/src/views/mdc/base/modules/equipmentAvailCompare/equipmentAvailCompareMain.vue
+++ b/src/views/mdc/base/modules/equipmentAvailCompare/equipmentAvailCompareMain.vue
@@ -125,6 +125,7 @@
             // this.$set(this.queryParam, 'tierName', val.title)
             this.queryParamEquip.parentId = ''
             this.queryParams.equipmentId = val.equipmentId
+            this.queryParams.equipmentName = val.equipmentName
             this.queryParamEquip.equipmentId = val.equipmentId
             this.searchQuery()
           } else {
diff --git a/src/views/mdc/base/modules/equipmentDayAvail/equipmentDayAvailMain.vue b/src/views/mdc/base/modules/equipmentDayAvail/equipmentDayAvailMain.vue
index 223771c..4c72471 100644
--- a/src/views/mdc/base/modules/equipmentDayAvail/equipmentDayAvailMain.vue
+++ b/src/views/mdc/base/modules/equipmentDayAvail/equipmentDayAvailMain.vue
@@ -138,6 +138,8 @@
             // this.$set(this.queryParam, 'tierName', val.title)
             this.queryParamEquip.parentId = ''
             this.queryParams.equipmentId = val.equipmentId
+            this.queryParams.equipmentName = val.equipmentName
+            console.log('XXXval=', val)
             this.queryParamEquip.equipmentId = val.equipmentId
             this.searchQuery()
           } else {
diff --git a/src/views/mdc/base/modules/mdcDriveTypeParamConfig/MdcDriveTypeParamConfigForm.vue b/src/views/mdc/base/modules/mdcDriveTypeParamConfig/MdcDriveTypeParamConfigForm.vue
index 922bbe8..161ebd0 100644
--- a/src/views/mdc/base/modules/mdcDriveTypeParamConfig/MdcDriveTypeParamConfigForm.vue
+++ b/src/views/mdc/base/modules/mdcDriveTypeParamConfig/MdcDriveTypeParamConfigForm.vue
@@ -139,7 +139,7 @@
         ],
         englishName: [
           { required: true, message: '璇疯緭鍏ヨ嫳鏂囧悕绉�!' },
-          { pattern: /^.{6,18}$/, message: '璇疯緭鍏�6鍒�18浣嶄换鎰忓瓧绗�!' },
+          { pattern: /^.{2,18}$/, message: '璇疯緭鍏�2鍒�18浣嶄换鎰忓瓧绗�!' ,trigger:'blur'},
         ],
         showFlag: [
           { required: true, message: '璇疯緭鍏ユ樉绀烘爣蹇�!' },
diff --git a/src/views/mdc/base/modules/mdcUtilizationRate/MdcUtilizationRateModel.vue b/src/views/mdc/base/modules/mdcUtilizationRate/MdcUtilizationRateModel.vue
index 8c83625..a9059be 100644
--- a/src/views/mdc/base/modules/mdcUtilizationRate/MdcUtilizationRateModel.vue
+++ b/src/views/mdc/base/modules/mdcUtilizationRate/MdcUtilizationRateModel.vue
@@ -32,6 +32,13 @@
             </a-form-item>
           </a-col>
         </a-row>
+        <a-row :gutter="24">
+          <a-col :span="24">
+            <a-form-item label="棰滆壊" :labelCol="labelCol" :wrapperCol="wrapperCol">
+              <a-input type="color" v-decorator="['rateParameterColor',validatorRules.rateParameterColor]"></a-input>
+            </a-form-item>
+          </a-col>
+        </a-row>
       </a-form>
     </a-spin>
   </a-modal>
@@ -95,7 +102,7 @@
         this.model = Object.assign({}, record)
         this.visible = true
         this.$nextTick(() => {
-          this.form.setFieldsValue(pick(this.model, 'rateParameterCategory', 'rateParameterLevel', 'minimumRange', 'maximumRange'))
+          this.form.setFieldsValue(pick(this.model, 'rateParameterCategory', 'rateParameterLevel', 'minimumRange', 'maximumRange', 'rateParameterColor'))
         })
       },
       close() {
@@ -116,16 +123,16 @@
               if (res.success) {
                 // that.$message.success("淇濆瓨鎴愬姛")
                 that.$notification.success({
-                  message:'娑堟伅',
-                  description:"淇濆瓨鎴愬姛"
-                });
+                  message: '娑堟伅',
+                  description: '淇濆瓨鎴愬姛'
+                })
                 that.$emit('ok', res.result)
               } else {
                 // that.$message.warning(res.message)
                 that.$notification.warning({
-                  message:'娑堟伅',
-                  description:res.message
-                });
+                  message: '娑堟伅',
+                  description: res.message
+                })
               }
             }).finally(() => {
               that.confirmLoading = false
diff --git a/src/views/system/WorkshopSignageManagement.vue b/src/views/system/WorkshopSignageManagement.vue
index 962eb2f..6c68353 100644
--- a/src/views/system/WorkshopSignageManagement.vue
+++ b/src/views/system/WorkshopSignageManagement.vue
@@ -7,15 +7,17 @@
           <!-- 鎼滅储鍖哄煙 -->
           <a-form layout="inline" @keyup.enter.native="searchQuery">
             <a-row :gutter="24">
-              <a-col :md="12" :sm="8">
-                <a-form-item label="杞﹂棿鍚嶇О" :labelCol="{ span: 5 }" :wrapperCol="{ span: 18, offset: 1 }">
+              <a-col :md="6" :sm="6">
+                <a-form-item label="杞﹂棿鍚嶇О" :labelCol="{ span: 5 }" :wrapperCol="{ span: 19}">
                   <a-input placeholder="" v-model="queryParam.workshopName"></a-input>
                 </a-form-item>
               </a-col>
               <span style="float: left; overflow: hidden" class="table-page-search-submitButtons">
-                <a-col :md="12" :sm="24">
-                  <a-button type="primary" @click="searchQuery" icon="search" style="margin-left: 21px">鏌ヨ</a-button>
-                  <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">閲嶇疆</a-button>
+                <a-col>
+                  <a-space>
+                    <a-button type="primary" @click="searchQuery" icon="search">鏌ヨ</a-button>
+                    <a-button type="primary" @click="searchReset" icon="reload">閲嶇疆</a-button>
+                  </a-space>
                 </a-col>
               </span>
             </a-row>
@@ -148,7 +150,7 @@
     <!-- 琛ㄥ崟鍖哄煙 -->
     <workshop-modal ref="modalForm" @ok="modalFormOk"></workshop-modal>
     <!--鏂板杞﹂棿-->
-    <select-device-modal ref="selectUserModal" @selectFinished="selectOK"></select-device-modal>
+    <select-device-modal ref="selectDeviceModal" @selectFinished="selectOK" :title="'娣诲姞宸叉湁璁惧'"></select-device-modal>
     <!--宸叉湁璁惧-->
   </a-row>
 </template>
@@ -355,6 +357,8 @@
         if (res.success) {
           this.dataSource2 = res.result.records
           this.ipagination2.total = res.result.total
+        }else{
+          this.dataSource2=[]
         }
         this.loading2 = false
       })
@@ -456,11 +460,11 @@
       if (this.currentWorkshopId == '') {
         this.$message.error('璇烽�夋嫨涓�涓溅闂�!')
       } else {
-        this.$refs.selectUserModal.visible = true
-        this.$refs.selectUserModal.selectedRowKeys = []
-        this.$refs.selectUserModal.selectedRows = []
-        this.$refs.selectUserModal.checkedKeys = []
-        this.$refs.selectUserModal.expandAll()
+        this.$refs.selectDeviceModal.visible = true
+        this.$refs.selectDeviceModal.selectedRowKeys = []
+        this.$refs.selectDeviceModal.selectedRows = []
+        this.$refs.selectDeviceModal.checkedKeys = []
+        this.$refs.selectDeviceModal.expandAll()
       }
     },
 
@@ -508,7 +512,7 @@
 }
   .close-circle{
     position: absolute;
-    z-index: 9999;
+    z-index: 1;
     right: 15px;
     top: 15px;
     cursor: pointer;
diff --git a/src/views/system/modules/SelectDeviceModal.vue b/src/views/system/modules/SelectDeviceModal.vue
index ec57f16..12c2b26 100644
--- a/src/views/system/modules/SelectDeviceModal.vue
+++ b/src/views/system/modules/SelectDeviceModal.vue
@@ -112,11 +112,13 @@
         default() {
           return true
         }
+      },
+      title: {
+        type: String
       }
     },
     data() {
       return {
-        title: '娣诲姞宸叉湁璁惧',
         cardLoading: false,
         loading: false,
         treeDataSource: [],
@@ -264,19 +266,21 @@
       refreshTree() {
         this.queryTreeData()
       },
-      onCheck(value) {
+      onCheck(value, obj) {
         this.checkedKeys = value
+        console.log('obj,', obj)
+        this.deviceNodes = obj.checkedNodes.filter(item => item.data.props.equipmentId).map(item => item.data.props.equipmentId)
+        console.log(this.deviceNodes)
       },
       handleCancel() {
         this.visible = false
       },
       handleOk() {
         if (this.checkedKeys.length > 0) {
-          this.$emit('selectFinished', this.checkedKeys)
+          this.$emit('selectFinished', this.deviceNodes)
         }
         this.visible = false
       }
-
 
       // add() {
       //   this.visible = true
diff --git a/src/views/user/Login.vue b/src/views/user/Login.vue
index 829f4dd..f2003cf 100644
--- a/src/views/user/Login.vue
+++ b/src/views/user/Login.vue
@@ -144,7 +144,10 @@
     },
     // 鐧诲綍鍚庡彴鎴愬姛
     requestSuccess(loginResult) {
-      this.$router.push({ path: "/isps/userAnnouncement" }).catch(() => {
+      // this.$router.push({ path: "/isps/userAnnouncement" }).catch(() => {
+      //   console.log('鐧诲綍璺宠浆棣栭〉鍑洪敊,杩欎釜閿欒浠庡摢閲屾潵鐨�')
+      // })
+      this.$router.push({ path: "/dashboard/analysis" }).catch(() => {
         console.log('鐧诲綍璺宠浆棣栭〉鍑洪敊,杩欎釜閿欒浠庡摢閲屾潵鐨�')
       })
       this.$notification.success({

--
Gitblit v1.9.3