浏览代码

影响因子问题修改

lkk 11 月之前
父节点
当前提交
a785fe185b

+ 1 - 1
src/views/complianceAnalysis/ghzc.scss

@@ -85,7 +85,7 @@
             overflow-x: auto;
             height: calc(100% - 40px);
             box-sizing: border-box;
-            padding-top: 10px !important;
+            // padding-top: 10px !important;
 
             .el-tab-pane {
                 height: 100%;

+ 3 - 3
src/views/siteselection/components/fzxz.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="hgxsc">
+  <div class="hgxsc ghzc">
     <el-form
       :model="ruleForm"
       ref="ruleForm"
@@ -88,7 +88,7 @@
       </div>
       <el-button size="mini" @click="yzpz">配置</el-button>
     </div>
-    <div class="treeDiv">
+    <div class="XZtree">
       <el-table :data="tableData" style="width: 100%">
         <el-table-column prop="yxyzmc" label="因子名称" show-overflow-tooltip>
         </el-table-column>
@@ -571,7 +571,7 @@ export default {
     width: 100%;
   }
 
-  .treeDiv {
+  .XZtree {
     width: 100%;
     height: calc(100% - 400px);
     // padding: 7px;

+ 9 - 4
src/views/siteselection/components/yxyzPop.vue

@@ -209,7 +209,7 @@ export default {
       selectdata.forEach((item) => {
         console.log(item, "item----");
         tableList.push({
-          // id: item.bsm,
+          id: item.bsm,
           // name: item.yxyzmc,
           // condition: item.spatial_type,
           // value: "",
@@ -256,7 +256,7 @@ export default {
         this.$message.warning("请勾选可选因子");
         return false;
       }
-
+      // this.dialogData = [];
       let list = this.$refs.tree.getCheckedNodes().filter((item) => {
         return item.children == undefined || item.children.length == 0;
       });
@@ -305,10 +305,12 @@ export default {
     },
     clearitem(item) {
       this.options[0].children = this.options[0].children.filter((item1) => {
-        return item.id != item1.value;
+        // return item.id != item1.value;
+        return item.id != item1.yxz;
       });
       this.options[1].children = this.options[1].children.filter((item1) => {
-        return item.id != item1.value;
+        // return item.id != item1.value;
+        return item.id != item1.yxz;
       });
       this.options[0].children.length == 0
         ? (this.options[0].disabled = true)
@@ -378,6 +380,8 @@ export default {
   .right-table {
     margin-top: 10px;
     height: 400px;
+    overflow: hidden;
+    overflow-y: auto;
     /deep/ .el-table__inner-wrapper {
       height: 100%;
     }
@@ -394,4 +398,5 @@ export default {
 /deep/.el-dialog__body {
   color: #fff !important;
 }
+
 </style>

+ 30 - 9
static/css/index.css

@@ -71,9 +71,12 @@ body::-webkit-scrollbar-track {
 
 .el-dialog {
   background: transparent !important;
-  background: url(/static/images/popup/background.png) no-repeat !important;
-  background-size: 100% 100% !important;
-  background-position: center !important;
+  /* background: url(/static/images/popup/background.png) no-repeat !important; */
+  /* background-size: 100% 100% !important; */
+  /* background-position: center !important; */
+  border: none;
+  background-color: #02213e9a !important;
+  color: #fff;
 }
 
 .el-dialog__title,
@@ -81,13 +84,26 @@ body::-webkit-scrollbar-track {
   color: white !important;
 }
 
-.el-dialog__header {
-  background: url(/static/images/popup/modal-title.png) no-repeat !important;
+.el-dialog__title {
+  color: #fff !important;
+  border-bottom: 2px solid #2A5277 !important;
+  display: inline-block;
+  width: 100% !important;
+}
+
+/* .el-dialog__header {
+  background: url(/static/images/ghzc//second_titlebg.png) no-repeat !important;
   background-size: 100% 100% !important;
   background-position: center !important;
-}
+} */
 
 .el-dialog__headerbtn .el-dialog__close {
+  width: 22px;
+  height: 22px;
+  background: #335F87;
+  border-radius: 4px;
+  border: 1px solid rgba(123, 162, 198, 0.5);
+  line-height: 21px;
   color: white !important;
 }
 
@@ -148,7 +164,7 @@ div::-webkit-scrollbar-track {
   color: #2d8cf0b3;
 }
 
-.el-message-box__btns .el-button{
+.el-message-box__btns .el-button {
   background: #0f7ac8 !important;
   border-color: #0f7ac8 !important;
   color: #fff !important;
@@ -165,10 +181,12 @@ div::-webkit-scrollbar {
   width: 5px;
   height: 5px;
 }
+
 div::-webkit-scrollbar-thumb {
   background: rgba(63, 147, 245, 0.6);
   border-radius: 5px;
 }
+
 div::-webkit-scrollbar-track {
   background: rgba(4, 28, 50, 0.6);
 }
@@ -189,6 +207,7 @@ div::-webkit-scrollbar-track {
   background-size: 100% 100%;
   background-position: center;
 }
+
 .vl-notify.vl-notify-alert h2.vl-notice-title .lv-title {
   height: auto !important;
 }
@@ -205,11 +224,12 @@ div::-webkit-scrollbar-track {
   z-index: -1;
 }
 
-.vl-notice-title > span {
+.vl-notice-title>span {
   font-size: 16px;
   font-weight: 700;
   letter-spacing: 1px;
 }
+
 .icon-remove {
   width: 22px;
   height: 22px;
@@ -222,11 +242,12 @@ div::-webkit-scrollbar-track {
   top: 10px !important;
 }
 
-.lv-icon-maxmini > i {
+.lv-icon-maxmini>i {
   color: #fff !important;
 }
 
 .lv-icon-maxmini .vlicon-max {
   display: none !important;
 }
+
 /* -----------中图弹窗------------ */