Loading src/views/riskProject/add/addCurrent.vue +4 −4 Original line number Original line Diff line number Diff line Loading @@ -270,7 +270,7 @@ import { getFun, postFun } from "@/service/table.js"; // postRiskShowMeasures, // postRiskShowMeasures, // } from "@/service/risk"; // } from "@/service/risk"; export default { export default { name: "risk-add", name: "addCurrent", components: { components: { LHeader, LHeader, }, }, Loading Loading @@ -345,9 +345,9 @@ export default { }; }; }, }, created() { created() { if (this.$route.params.inherentId) { if (this.$route.params.inherentId || sessionStorage.getItem("inherentId")) { this.inherentId = this.$route.params.inherentId this.inherentId = this.$route.params.inherentId || sessionStorage.getItem("inherentId") this.buildingIds = this.$route.params.buildingId this.buildingIds = this.$route.params.buildingId || sessionStorage.getItem("buildingId") this.postReturnEcho(); this.postReturnEcho(); } } // this.getList(); // this.getList(); Loading src/views/riskProject/add/inherentRisks.vue +1 −0 Original line number Original line Diff line number Diff line Loading @@ -265,6 +265,7 @@ export default { sessionStorage.setItem('buildingId',this.buildingId) sessionStorage.setItem('buildingId',this.buildingId) sessionStorage.setItem('planId',this.planId) sessionStorage.setItem('planId',this.planId) sessionStorage.setItem('buildingName',this.buildingName) sessionStorage.setItem('buildingName',this.buildingName) sessionStorage.setItem('inherentId',data.businessId || data.id) this.$router.push({ this.$router.push({ name: "addCurrent", name: "addCurrent", params: { params: { Loading src/views/riskProject/add/resultPage.vue +8 −6 Original line number Original line Diff line number Diff line Loading @@ -55,12 +55,14 @@ import LHeader from "@/components/header.vue"; }) }) }, }, sureClose(){ sureClose(){ this.$router.push({ // this.$emit('',) name:'addInherent', history.go(-1) params:{ // this.$router.push({ level:this.level // name:'addInherent', } // params:{ }) // level:this.level // } // }) } } } } } } Loading Loading
src/views/riskProject/add/addCurrent.vue +4 −4 Original line number Original line Diff line number Diff line Loading @@ -270,7 +270,7 @@ import { getFun, postFun } from "@/service/table.js"; // postRiskShowMeasures, // postRiskShowMeasures, // } from "@/service/risk"; // } from "@/service/risk"; export default { export default { name: "risk-add", name: "addCurrent", components: { components: { LHeader, LHeader, }, }, Loading Loading @@ -345,9 +345,9 @@ export default { }; }; }, }, created() { created() { if (this.$route.params.inherentId) { if (this.$route.params.inherentId || sessionStorage.getItem("inherentId")) { this.inherentId = this.$route.params.inherentId this.inherentId = this.$route.params.inherentId || sessionStorage.getItem("inherentId") this.buildingIds = this.$route.params.buildingId this.buildingIds = this.$route.params.buildingId || sessionStorage.getItem("buildingId") this.postReturnEcho(); this.postReturnEcho(); } } // this.getList(); // this.getList(); Loading
src/views/riskProject/add/inherentRisks.vue +1 −0 Original line number Original line Diff line number Diff line Loading @@ -265,6 +265,7 @@ export default { sessionStorage.setItem('buildingId',this.buildingId) sessionStorage.setItem('buildingId',this.buildingId) sessionStorage.setItem('planId',this.planId) sessionStorage.setItem('planId',this.planId) sessionStorage.setItem('buildingName',this.buildingName) sessionStorage.setItem('buildingName',this.buildingName) sessionStorage.setItem('inherentId',data.businessId || data.id) this.$router.push({ this.$router.push({ name: "addCurrent", name: "addCurrent", params: { params: { Loading
src/views/riskProject/add/resultPage.vue +8 −6 Original line number Original line Diff line number Diff line Loading @@ -55,12 +55,14 @@ import LHeader from "@/components/header.vue"; }) }) }, }, sureClose(){ sureClose(){ this.$router.push({ // this.$emit('',) name:'addInherent', history.go(-1) params:{ // this.$router.push({ level:this.level // name:'addInherent', } // params:{ }) // level:this.level // } // }) } } } } } } Loading