소스 검색

日志跳转

maxiaoxiao 6 달 전
부모
커밋
972fee5b60

+ 3 - 0
src/views/LandConsolidation/components/preCheck.vue

@@ -61,6 +61,9 @@ export default {
       if (name == "rzBsm" || name == "nowObj")
         this.$emit("updateParent", name, updata);
     },
+    rzClose() {
+      this.activeTabs = "lsju";
+    },
   },
   watch: {
     activeTabs(newValue) {

+ 4 - 1
src/views/LandConsolidation/index.vue

@@ -97,6 +97,7 @@
       :rzBsm="rzBsm"
       :rzMc="nowObj.xmmc"
       @updateParent="changeData"
+      @rzClose="rzClose"
     ></RzDtails>
     <!-- <iframe
       v-if="drawer"
@@ -187,6 +188,9 @@ export default {
     changeData(name, updata) {
       this[name] = updata;
     },
+    rzClose() {
+      this.$refs.preCheck.rzClose(row, type);
+    },
     handleView(row, type) {
       this.$refs.detailModal.handleView(row, type);
     },
@@ -208,7 +212,6 @@ export default {
         this.$refs.organize.regionChange(this.xzqh);
       }
       if (val == 1) this.$refs.list.regionChange(this.xzqh);
-
       if (val == 2) this.$refs.xzgd.regionChange(this.xzqh, xmdata);
       this.$refs.detailModal.closeInster();
     },

+ 1 - 0
src/views/complianceAnalysis/components/rzDtails.vue

@@ -62,6 +62,7 @@ export default {
   methods: {
     handleClose() {
       this.$emit("updateParent", "rzBsm", "");
+      this.$emit("rzClose");
     },
     getRzData() {
       GetLog({ bsm: this.$props.rzBsm }).then((res) => {

+ 4 - 0
src/views/complianceAnalysis/index.vue

@@ -34,6 +34,7 @@
       :rzBsm="rzBsm"
       :rzMc="nowObj.xmmc"
       @updateParent="changeData"
+      @rzClose="rzClose"
     ></RzDtails>
   </div>
 </template>
@@ -70,6 +71,9 @@ export default {
     changeData(name, updata) {
       this[name] = updata;
     },
+    rzClose() {
+      this.activeTabs = "lsju";
+    },
   },
   watch: {
     activeTabs(newValue) {