Эх сурвалжийг харах

农用地转地添加行政区划查询,添加上报总数量

maxiaoxiao 8 сар өмнө
parent
commit
b618c62dc1

+ 13 - 1
src/views/cockpit/common/VectorSpace/BoxCommonVector.vue

@@ -59,6 +59,9 @@
             ></el-cascader>
           </div>
         </div>
+        <div v-if="cockpit_vector.showtotal" class="shownum">
+          上报总数量:{{ active_dableData.length }}个
+        </div>
         <el-table
           :row-class-name="tableRowClassName"
           ref="singleTable"
@@ -77,7 +80,7 @@
             show-overflow-tooltip="true"
             v-for="(item, index) in store.state.cockpit_vector.columns"
             :key="index"
-            :width="index ? 100 : 150"
+            :width="index ? 100 : cockpit_vector.columns.length > 2 ? 150 : 230"
             :prop="item"
             :label="item"
           >
@@ -650,6 +653,12 @@ div::-webkit-scrollbar {
       display: inline-block;
     }
   }
+  .shownum {
+    line-height: 20px;
+    padding-top: 10px;
+    padding-left: 5px;
+    background: rgba(10, 25, 38, 1) !important;
+  }
 
   .search {
     // margin: 2rem;
@@ -778,6 +787,9 @@ div::-webkit-scrollbar {
 
   border-bottom: 0px solid #ebeef5;
 }
+/deep/.el-table th.el-table__cell {
+  background: rgba(10, 25, 38, 0.5) !important;
+}
 
 .el-table {
   color: #fff;

+ 12 - 1
src/views/cockpit/ydjc.vue

@@ -212,9 +212,20 @@ export default {
         store.setViewerFlagb(false);
         store.setToolBarShow(false);
         store.setXzqh_flag(false);
+        let word = this.value == "lsyd" ? "名称" : "建设项目";
         store.setCockpit_vector({
           title: this.value == "lsyd" ? "临时用地项目" : "农转用地项目",
-          word: this.value == "lsyd" ? "名称" : "建设项目",
+          searchs: [
+            { type: "input", label: word, key: "val0" },
+            {
+              type: "cascader",
+              label: "行政区",
+              key: "id",
+              options: store.state.region_tree,
+            },
+          ],
+          searchform: { val0: "", id: store.state.cockpit_region.id },
+          showtotal: true,
           tableData: this.xzqh_flag ? [] : this.list,
           tablejscType: `jsc_zdydjg_${this.value}_qxzbmx`,
           columns: this.value == "lsyd" ? columns1 : columns2,