maxiaoxiao 10 сар өмнө
parent
commit
a3056b5711

+ 1 - 0
src/views/siteselection/components/dkDetails.vue

@@ -68,6 +68,7 @@ export default {
   methods: {
     show(item, title) {
       this.title = title;
+      this.isDateilsShow = true;
       this.getData(item);
     },
     getData(item) {

+ 1 - 3
src/views/siteselection/components/xzjg.vue

@@ -321,14 +321,12 @@ export default {
     //规划信息
     planInfo(e, item) {
       this.$refs.dkDetails.itemObj = item;
-      this.$refs.dkDetails.title = "规划信息";
-      this.$refs.dkDetails.isDateilsShow = true;
+      this.$refs.dkDetails.show(item, "规划信息");
       this.$refs.dkDetails.getCollapseList();
     },
     //现状信息
     nowInfo(e, item) {
       this.$refs.dkDetails.show(item, "现状信息");
-      this.$refs.dkDetails.isDateilsShow = true;
     },
 
     deleteprogramme(e, item) {