From 8fe9eb9138f6e25fc1bc98cd36ff62d8f1b3a05e Mon Sep 17 00:00:00 2001
From: wangting <wangting@vci-tech.com>
Date: 星期三, 25 十二月 2024 17:20:32 +0800
Subject: [PATCH] 首页配置

---
 Source/plt-web/plt-web-ui/src/components/PLT-basic-component/iconShow.vue |    6 +++++-
 Source/plt-web/plt-web-ui/src/views/wel/workIndex.vue                     |   25 +++++++++++++++++++++++--
 2 files changed, 28 insertions(+), 3 deletions(-)

diff --git a/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/iconShow.vue b/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/iconShow.vue
index 2449385..e27677a 100644
--- a/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/iconShow.vue
+++ b/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/iconShow.vue
@@ -1,5 +1,5 @@
 <template>
-   <div class="iconShow" :style="'width:'+fontSize+';height:'+fontSize+';font-size: '+fontSize+';'+style" v-html="svgHtml"></div>
+   <div :title="title" class="iconShow" :style="'width:'+fontSize+';height:'+fontSize+';font-size: '+fontSize+';'+style" v-html="svgHtml"></div>
 </template>
 
 <script>
@@ -7,6 +7,10 @@
 export default {
 name: "iconShow",
   props: {
+    title:{
+      type: String,
+      default: ''
+    },
     name: {
       type: String,
       default: ''
diff --git a/Source/plt-web/plt-web-ui/src/views/wel/workIndex.vue b/Source/plt-web/plt-web-ui/src/views/wel/workIndex.vue
index 380242b..ab52220 100644
--- a/Source/plt-web/plt-web-ui/src/views/wel/workIndex.vue
+++ b/Source/plt-web/plt-web-ui/src/views/wel/workIndex.vue
@@ -13,21 +13,35 @@
         </div>
       </el-col>
     </el-row>
+    <i title="鑷畾涔夐厤缃�" class="el-icon-setting" @click="setHandler" style="position: absolute;top:60px;right:20px;font-size: 20px;cursor: pointer"></i>
+    <el-dialog
+      v-dialogDrag
+      title="鑷畾涔夐厤缃�"
+      :visible.sync="visible"
+      append-to-body="true"
+      class="avue-dialog"
+      :fullscreen="true"
+      @close="closeHandler"
+    >
+      <home-config></home-config>
+    </el-dialog>
   </div>
 </template>
 
 <script>
 import {getAllData} from "@/api/homeConfig";
+import homeConfig from './homeConfig.vue';
 import UndoTaskPortlet from './components/UndoTaskPortlet.vue';
 import taskPortlet from './components/taskPortlet.vue';
 import test from './components/test.vue';
 export default {
   name: "workIndex",
-  components:{UndoTaskPortlet,taskPortlet,test},
+  components:{homeConfig,UndoTaskPortlet,taskPortlet,test},
   data(){
     return {
       height:document.body.clientHeight-115,
-      homeData:[]
+      homeData:[],
+      visible: false,
     }
   },
   created() {
@@ -59,6 +73,13 @@
           ratio:1.00
         }];
       });
+    },
+    setHandler(){
+      this.visible=true;
+    },
+    closeHandler(){
+      this.getList();
+      this.visible=false;
     }
   }
 }

--
Gitblit v1.9.3