浏览代码

删除无用代码并修改选址结果项目名称与详情字段

lkk 1 年之前
父节点
当前提交
dcda2e6ba0

+ 0 - 3
src/views/complianceAnalysis/components/lsjl.vue

@@ -82,9 +82,6 @@ import { GetXzResList, DelXzRes ,DownloadReport} from "../../../api/ghss/ghxz.js
 let dataSources;
 export default {
   props: {
-    historyList: {
-      type: Array,
-    },
     type: {
       type: String,
     },

+ 16 - 15
src/views/siteselection/components/xzjg.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="xzjg">
-    <div>项目名称:选址结果</div>
+    <div>项目名称:{{ rzMc }}</div>
     <div class="box-sizing" style="height: 47%; width: 100%">
       <div class="title block-title">
         意向地块 ({{ bgList ? bgList.length : 0 }})
@@ -33,7 +33,7 @@
               </p>
               <p style="color: #cddeeb">
                 <img src="/static/images/ghzc/iconSun.png" />
-                <span style="margin-left: 20px">基准地价:</span
+                <span style="margin-left: 20px">基准地价:</span
                 ><span style="color: #02a7f0"
                   >{{ item1.landPrice || 0 }}万元</span
                 >
@@ -86,7 +86,7 @@
               <p style="color: #cddeeb">
                 <!-- <i class="iconSun"></i> -->
                 <img src="/static/images/ghzc/iconSun.png" />
-                <span style="margin-left: 20px">基准地价:</span
+                <span style="margin-left: 20px">基准地价:</span
                 ><span style="color: #02a7f0"
                   >{{ item.landPrice || 0 }}万元</span
                 >
@@ -131,12 +131,12 @@ export default {
     activeTabs: {
       type: String,
     },
-    scjgObj: {
-      type: Object,
-    },
     rwBsm: {
       type: String,
     },
+    rzMc: {
+      type: String,
+    },
   },
 
   data() {
@@ -195,9 +195,13 @@ export default {
         this.bgList.forEach((item) => {
           dkIds.push(item.id);
         });
-        DownloadLandReport({ bsm: this.$props.rwBsm, dkIds: dkIds}).then(
+        DownloadLandReport({ bsm: this.$props.rwBsm, dkIds: dkIds }).then(
           (res) => {
-            window.open(window.axiosURI + '/analyse/fzss/DownloadReport?filePath='+`${res.data.fxbg}`);
+            window.open(
+              window.axiosURI +
+                "/analyse/fzss/DownloadReport?filePath=" +
+                `${res.data.fxbg}`
+            );
           }
         );
       } else {
@@ -206,8 +210,6 @@ export default {
           type: "warning",
         });
       }
-
-      // window.open(this.$props.scjgObj.task.fxbg);
     },
     // 手动处理为GeoJSON
     getGeoJSON(data) {
@@ -301,15 +303,14 @@ export default {
       }
     },
     //规划信息
-    planInfo(e,item){
-      console.log(e,item,'规划');
+    planInfo(e, item) {
+      console.log(e, item, "规划");
     },
     //现状信息
-    nowInfo(e,item){
-      console.log(e,item,'现状信息')
+    nowInfo(e, item) {
+      console.log(e, item, "现状信息");
     },
 
-
     deleteprogramme(e, item) {
       e.stopPropagation();
       this.bgList = this.bgList.filter((item1) => {

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

@@ -19,7 +19,6 @@
           <Lsjl
             :rzBsm="rzBsm"
             :activeTabs="activeTabs"
-            :historyList="historyList"
             @updateParent="changeData"
             type="ghxz"
             ref="lsju"
@@ -36,6 +35,7 @@
             :activeTabs="activeTabs"
             :loading="loading"
             :rwBsm="rwBsm"
+            :rzMc="nowObj.xmmc"
             v-if="activeTabs == 'xzjg'"
           ></XZJG>
         </el-tab-pane>
@@ -70,16 +70,6 @@ export default {
       nowObj: {},
       rzMc: "",
       loading: false,
-      historyList: [
-        {
-          xmmc: "东岸卓越城项目选址",
-          xmlx: "规划选址",
-          jsdw: "国土空间总体规划",
-          bsm:'8979e8f6a9364828a9d6b2e459c8fd76',
-          rwzt: 2,
-          fxbg: "@/../static/data/ghss/选址报告.pdf",
-        },
-      ],
     };
   },
   created() {},