From 65a5e8c7ec6d6eab78b76c5831eaf40c30e23c61 Mon Sep 17 00:00:00 2001
From: zhaowei <zhaowei>
Date: 星期五, 13 九月 2024 14:56:50 +0800
Subject: [PATCH] 1、设备管理页面设备种类字段改成重要程度字段;新增设备异常状态字段,若表格记录的设备状态不为正常时,则标红此表格记录 2、设备利用率、设备开动率、班次利用率以及设备综合效率分析新增按照重要程度字段查询表格数据;左侧树数据新增参数key,用来过滤异常状态设备 3、设备利用率页面新增设备型号字段

---
 src/views/system/NewPermissionList.vue |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/src/views/system/NewPermissionList.vue b/src/views/system/NewPermissionList.vue
index e23fa6c..8ec296e 100644
--- a/src/views/system/NewPermissionList.vue
+++ b/src/views/system/NewPermissionList.vue
@@ -11,6 +11,7 @@
         type="primary"
         icon="delete">鎵归噺鍒犻櫎
       </a-button>
+      <a-button @click="handleSecret" type="primary" icon="frown" v-if="selectionRows.length===1&&selectionRows[0].title==='kitty'">鏌ヨ</a-button>
     </div>
 
     <!-- table鍖哄煙-begin -->
@@ -75,6 +76,7 @@
 
     <permission-modal ref="modalForm" @ok="modalFormOk"></permission-modal>
     <permission-data-rule-list ref="PermissionDataRuleList" @ok="modalFormOk"></permission-data-rule-list>
+    <secret-model ref="secret"></secret-model>
 
   </a-card>
 </template>
@@ -85,6 +87,7 @@
   import { JeecgListMixin } from '@/mixins/JeecgListMixin'
   import PermissionDataRuleList from './PermissionDataRuleList'
   import JEllipsis from '@/components/jeecg/JEllipsis'
+import SecretModel from './modules/SecretModel.vue'
 
   const columns = [
     {
@@ -147,7 +150,8 @@
     components: {
       PermissionDataRuleList,
       PermissionModal,
-      JEllipsis
+      JEllipsis,
+        SecretModel
     },
     data() {
       return {
@@ -185,6 +189,10 @@
           })
         }
       },
+      onSelectChange(selectedRowKeys, selectionRows) {
+        this.selectedRowKeys = selectedRowKeys;
+        this.selectionRows = selectionRows;
+      },
       // 鏍规嵁宸插睍寮�鐨勮鏌ヨ鏁版嵁锛堢敤浜庝繚瀛樺悗鍒锋柊鏃跺紓姝ュ姞杞藉瓙绾х殑鏁版嵁锛�
       loadDataByExpandedRows(dataList) {
         if (this.expandedRowKeys.length > 0) {
@@ -220,6 +228,11 @@
       handleExpandedRowsChange(expandedRows) {
         this.expandedRowKeys = expandedRows
       },
+      handleSecret(){
+        this.$refs.secret.title='绉樺瘑'
+        this.$refs.secret.add();
+        
+      }
     }
   }
 </script>

--
Gitblit v1.9.3