maxiaoxiao 9 달 전
부모
커밋
e76bb18cbf
2개의 변경된 파일8개의 추가작업 그리고 3개의 파일을 삭제
  1. 7 2
      src/views/cockpit/common/VectorSpace/BoxCommonVector.vue
  2. 1 1
      src/views/siteselection/index.vue

+ 7 - 2
src/views/cockpit/common/VectorSpace/BoxCommonVector.vue

@@ -21,7 +21,7 @@
             v-model="searchform[sitem.key]"
             @input="change_witch"
             class="search"
-            :placeholder="`请输入${sitem.label}`"
+            :placeholder="sitem.label"
           ></el-input>
           <el-select
             v-else-if="sitem.type == 'select'"
@@ -123,6 +123,7 @@ export default {
       return "";
     },
     async draw_vector_server(jscType) {
+      // http://192.168.60.2:8090/iserver/services/map-ShanShuiZhiLiWorkSpace/rest/maps/%E5%B1%B1%E6%B0%B4%E6%B2%BB%E7%90%86/layers/%E5%B1%B1%E6%B0%B4%E6%B2%BB%E7%90%86.json
       let res = await QueryOne({ jscType, id: "4602" });
       this.layersData = { ...res.data, title: this.title };
       tdsy.addLayer(this.layersData);
@@ -505,7 +506,7 @@ export default {
     cockpit_vector(newVal, oldVal) {
       this.title = newVal.title;
       this.word = newVal.word;
-      this.searchs = newVal.searchs || [{ key: "a", label: newVal.word }];
+      this.searchs = newVal.searchs;
       this.searchform = newVal.searchform;
       this.state = "";
       if (newVal.tableData && newVal.tableData.length > 0) {
@@ -566,6 +567,10 @@ export default {
 
 
 <style lang="scss" scoped>
+div::-webkit-scrollbar {
+    width: 9px;
+    height: 19px;
+}
 .BoxCommonVector {
   width: 100%;
   height: 100%;

+ 1 - 1
src/views/siteselection/index.vue

@@ -14,7 +14,7 @@
         </el-tab-pane>
         <!-- :disabled="activeTabs != 'scjg'" -->
         <el-tab-pane label="选址结果" :disabled="activeTabs != 'scjg'" name="xzjg">
-          <div v-drag>
+          <div v-drag style="height: 100%;">
             <XZJG :activeTabs="activeTabs" :loading="loading" :rwBsm="rwBsm" :rzMc="nowObj.xmmc"
               v-if="activeTabs == 'xzjg'"></XZJG>
           </div>