Browse Source

耕地保护路由修改,修改整体配置与弹窗底部按钮样式

lkk 6 months ago
parent
commit
370328d0e3

+ 1 - 1
src/router/index.js

@@ -104,7 +104,7 @@ export const constantRoutes = [{
     {
         path: '/farmlandProtection',
         component: () =>
-            import('@/views/farmlandProtection/index.vue'),
+            import('@/views/farmlandProtection/indexNew.vue'),
         hidden: true
     },
     {

+ 0 - 7
src/views/complianceAnalysis/ghzc.scss

@@ -413,13 +413,6 @@
         background-image: url("/static/images/ghzc/close_eyes.png");
     }
 
-    .el-button {
-        background: #0f7ac8;
-        border: none;
-        border-radius: 0;
-        color: #fff;
-    }
-
 }
 
 .flex-box {

+ 3 - 65
src/views/farmlandProtection/indexNew.vue

@@ -1,7 +1,7 @@
 <!--全域土地综合整治专题-->
 <template>
   <div class="ghzc LandConsolidation">
-    <div v-show="!iscontrast">
+    <div>
       <div class="headerCheck">
         <ul>
           <li
@@ -14,69 +14,8 @@
           </li>
         </ul>
       </div>
-      <div class="innerContainer leftPane" v-drag>
-        <h2 class="Pangetitle darg-div el-col">
-          <span class="pange_text">全域土地综合整治专题 </span>
-          <i class="document el-icon-document" @click="drawer = !drawer"></i>
-          <div class="region">
-            <!-- clearable -->
-            <el-cascader
-              v-model="xzqh"
-              :show-all-levels="false"
-              :options="store.state.region_tree"
-              @change="regionChange"
-              placeholder="行政区"
-              size="mini"
-              :props="{
-                checkStrictly: true,
-                expandTrigger: 'hover',
-                emitPath: false,
-              }"
-            ></el-cascader>
-          </div>
-        </h2>
-        <div class="xz_box">
-          <!-- <Sdgk
-            v-loading="loading"
-            @updateParent="changeData"
-            ref="sdgk"
-            v-show="activeIndex == 0"
-          ></Sdgk>
-          <List
-            v-loading="loading"
-            @updateParent="changeData"
-            @cockpit="cockpit"
-            @contrast="iscontrast = true"
-            ref="list"
-            v-show="activeIndex == 1"
-          ></List>
-          <Xzgd
-            v-loading="loading"
-            @updateParent="changeData"
-            @cockpit="cockpit"
-            ref="xzgd"
-            v-show="activeIndex == 2"
-          ></Xzgd> -->
-          <Fzyp
-            @updateParent="changeData"
-            ref="preCheck"
-            v-show="activeIndex == 3"
-          ></Fzyp>
-        </div>
-      </div>
-      <div class="innerContainer bottomPane" v-drag v-show="activeIndex == 0">
-        <div class="xz_box">
-          <!-- <Qhdb
-            v-loading="loading"
-            @updateParent="changeData"
-            @contrast="iscontrast = true"
-            ref="qhdb"
-          ></Qhdb> -->
-        </div>
-      </div>
     </div>
-    <Details ref="detailModal"></Details>
-    <Contrast ref="contrastModal" v-if="iscontrast"></Contrast>
+    <Fzyp v-show="activeIndex == 3"></Fzyp>
   </div>
 </template>
 
@@ -92,7 +31,7 @@
 import Fzyp from "./index.vue";
 import * as pick_cockpit_vector from "@/components/Query/clickQuery/pick_cockpit_vector.js";
 export default {
-  name: "LandConsolidation",
+  name: "farmlandProtectionNew",
   components: {
     // Sdgk,
     // Qhdb,
@@ -117,7 +56,6 @@ export default {
         { title: "辅助研判" },
       ],
       activeIndex: 0,
-      legends: legends,
       iscontrast: false,
     };
   },

+ 8 - 0
src/views/shareResources/components/ServiceDetails.vue

@@ -490,6 +490,14 @@ export default {
   .detailList {
   }
 }
+.dialog-footer{
+ /deep/ .el-button {
+        background: #0f7ac8;
+        border: none;
+        border-radius: 0;
+        color: #fff;
+    }
+}
 
 /deep/ .el-icon-close:before {
   position: absolute;