管道基础大数据平台系统开发-【前端】-新系統界面
Surpriseplus
2023-03-27 3c6af38c1b4de6a22151f4b24a0e172a3fd5df5c
綜合展示透明度,运维管理页面修改
已修改4个文件
41 ■■■■ 文件已修改
src/views/Tools/LayerTree.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/Tools/setPellucidity.vue 30 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/datamanage/projectManage.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/maintenance/parameterConfiguration.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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) {
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;
      }
    },
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();
    },
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;