Commit bed8349e authored by wei's avatar wei

四色图详情

parent ebd1de3f
......@@ -758,7 +758,8 @@ export default {
this.$router.push({
name: "taskDetail",
params: {
id: item.id
id: item.id,
floorId:item.floorId
}
});
}
......
......@@ -51,7 +51,7 @@
</div>
</van-tab>
<van-tab title="四色图" name="c">
<drawCanvas :isView="true"/>
<drawCanvas :isView="true" :floorId="floorId"/>
</van-tab>
</van-tabs>
</div>
......@@ -72,7 +72,8 @@ export default {
activeName: 'a',
quoRiskList: [],//现状风险列表
InherentRisk: {},//固有风险
inherentId: ''
inherentId: '',
floorId:'',
}
},
components: {
......@@ -82,6 +83,7 @@ export default {
},
created() {
this.inherentId = this.$route.params.id ||sessionStorage.getItem('inherntId')
this.floorId = this.$route.params.floorId
},
mounted() {
this.getInherentRiskList(this.inherentId)
......@@ -102,7 +104,6 @@ export default {
return timestampToTime(new Date(time), "DT1", true);
},
goDetail(item){
console.log(item,'???')
sessionStorage.setItem('inherntId',this.inherentId)
this.$router.push({
name:'presentDetail',
......
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