Commit d65dc206 authored by 13841799530's avatar 13841799530

解润东

bug20220517
parent b10854f0
Pipeline #8358 passed with stage
in 5 minutes and 2 seconds
...@@ -386,6 +386,8 @@ export default { ...@@ -386,6 +386,8 @@ export default {
this.postReturnEcho(); this.postReturnEcho();
} }
var obj=JSON.parse(sessionStorage.getItem('obj')) var obj=JSON.parse(sessionStorage.getItem('obj'))
console.log(obj)
this.id=obj.id
this.proId=obj.proId, this.proId=obj.proId,
this.hdRange=obj.hdRange, this.hdRange=obj.hdRange,
this.hdType=obj.hdType, this.hdType=obj.hdType,
...@@ -412,7 +414,7 @@ export default { ...@@ -412,7 +414,7 @@ export default {
}, },
mounted() { mounted() {
if(this.$route.query.id){this.id=this.$route.query.id}
this.$bus.$on("sourceAyy", (res) => { this.$bus.$on("sourceAyy", (res) => {
setTimeout(() => { setTimeout(() => {
......
...@@ -256,11 +256,9 @@ export default { ...@@ -256,11 +256,9 @@ export default {
.then(() => { .then(() => {
this.$router.push({ this.$router.push({
name: "add-danger", name: "add-danger",
query:{
id:item.id,
}
}); });
var obj={ var obj={
id:item.id,
proId:item.proId, proId:item.proId,
hdRange:item.hdRange, hdRange:item.hdRange,
hdType:item.hdType, hdType:item.hdType,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment