From 3c6af38c1b4de6a22151f4b24a0e172a3fd5df5c Mon Sep 17 00:00:00 2001
From: Surpriseplus <845948745@qq.com>
Date: 星期一, 27 三月 2023 18:51:39 +0800
Subject: [PATCH] 綜合展示透明度,运维管理页面修改

---
 src/views/Tools/setPellucidity.vue               |   30 +++++++++++++++++++++---------
 src/views/Tools/LayerTree.vue                    |    2 ++
 src/views/maintenance/parameterConfiguration.vue |    6 ++++--
 src/views/datamanage/projectManage.vue           |    3 +++
 4 files changed, 30 insertions(+), 11 deletions(-)

diff --git a/src/views/Tools/LayerTree.vue b/src/views/Tools/LayerTree.vue
index 2458979..fb41cf6 100644
--- a/src/views/Tools/LayerTree.vue
+++ b/src/views/Tools/LayerTree.vue
@@ -436,6 +436,8 @@
     },
     //妯″瀷璁剧疆閫忔槑搴�
     pellucidity() {
+      this.foo();
+      this.menuVisible = false
       var tile = this.currentData
       for (var j in Viewer.scene.primitives._primitives) {
         if (Viewer.scene.primitives._primitives[j].id == tile.cnName) {
diff --git a/src/views/Tools/setPellucidity.vue b/src/views/Tools/setPellucidity.vue
index d1e1b32..d45e8e8 100644
--- a/src/views/Tools/setPellucidity.vue
+++ b/src/views/Tools/setPellucidity.vue
@@ -6,19 +6,21 @@
     width="400px"
     @cancel="close(false)"
   >
-    <el-input
+    <!-- <el-input
       size="small"
-      v-model="modelForm.alpha"
-      @input="update"
-    ></el-input>
+      v-model="modelForm.alpha1"
+      @input="update2"
+    ></el-input> -->
     <el-slider
       v-model="modelForm.alpha"
-      @input="update"
+      @input="update1"
       :min="0"
       :step="0.01"
       :max="1"
-    ></el-slider>
-    </el-form>
+      show-input
+    >
+    </el-slider>
+
   </Popup>
 </template>
 
@@ -36,7 +38,8 @@
     return {
       title: "閫忔槑搴�",
       modelForm: {
-        alpha: 1
+        alpha: 1,
+        alpha1: 1,
       },
       titleset: null,
       index: null,
@@ -70,6 +73,14 @@
     changeToken(token) {
       this.mapCollection.tokne = token;
     },
+    update2() {
+      this.modelForm.alpha = this.modelForm.alpha1;
+      this.update();
+    },
+    update1() {
+      this.modelForm.alpha1 = this.modelForm.alpha;
+      this.update();
+    },
     update() {
 
 
@@ -98,10 +109,11 @@
 
       if (this.index != null) {
         this.modelForm.alpha = list[this.index].alpha;
-
+        this.modelForm.alpha1 = list[this.index].alpha;
       } else {
 
         this.modelForm.alpha = 1;
+        this.modelForm.alpha1 = 1;
       }
     },
 
diff --git a/src/views/datamanage/projectManage.vue b/src/views/datamanage/projectManage.vue
index b055f36..65c979e 100644
--- a/src/views/datamanage/projectManage.vue
+++ b/src/views/datamanage/projectManage.vue
@@ -332,6 +332,7 @@
         pageSize: 10,
       },
       count1: 0,
+      title: null,
     };
   },
   created() {
@@ -462,11 +463,13 @@
       }
       this.behavior = "鏂板椤圭洰";
       this.outerVisible = true;
+      this.editFrom.projname = this.title;
     },
     //鐩綍鏍戠偣鍑讳簨浠�
     handleNodeClick(data) {
       //鑾峰彇鐩綍ID
       // this.dirId = data.id;
+      this.title = data.name;
       this.dirId = data.code;
       this.getSelectProject();
     },
diff --git a/src/views/maintenance/parameterConfiguration.vue b/src/views/maintenance/parameterConfiguration.vue
index f940fdb..b262369 100644
--- a/src/views/maintenance/parameterConfiguration.vue
+++ b/src/views/maintenance/parameterConfiguration.vue
@@ -286,9 +286,11 @@
 <style lang="less" scoped>
 //@import url(); 寮曞叆鍏叡css绫�
 .parameterConfiguration_box {
-  height: calc(100% - 20px);
-  width: calc(100% - 20px);
+  height: calc(100% - 40px);
+  width: calc(100% - 40px);
   padding: 10px;
+  margin: 10px;
+  border-radius: 10px;
   position: relative;
   .parameterConfiguration {
     padding-top: 10px;

--
Gitblit v1.9.3