Commit 42dfdd27 authored by p-wanping.song's avatar p-wanping.song

修改风险模型结果页面

parent 3125c9df
......@@ -712,7 +712,9 @@ export default {
this.$router.push({
name: "resultPage",
params: {
score: this.severityScore * this.possibleScore
score: this.severityScore * this.possibleScore,
possibleValue:this.possibleValue,
severityValue:this.severityValue,
}
});
},
......
......@@ -9,8 +9,8 @@
<p>本次评估结果评定为:{{ level }}</p>
<van-divider></van-divider>
<van-field readonly label="所属模型:" placeholder="ls风险矩阵评估模型" />
<van-field readonly label="风险发生可能性:" placeholder="一般情况不会发生" />
<van-field readonly label="后果严重程度" placeholder="轻微影响" />
<van-field readonly label="风险发生可能性:" placeholder="一般情况不会发生" :value="possibleValue"/>
<van-field readonly label="后果严重程度" placeholder="轻微影响" :value="severityValue"/>
<van-field readonly label="判定标准:" placeholder="见下图" />
<van-image width="90vw" height="auto" :src="require('@/assets/workbench/sst.jpg')" />
</div>
......@@ -35,11 +35,17 @@ import LHeader from "@/components/header.vue";
text:'测评结果',
score:0,
result:null,
backgroundColor:''
backgroundColor:'',
possibleValue:'',
severityValue:''
}
},
created(){
// this.score = this.$route.query.score-'';
const route = this.$route.params;
console.log(route);
this.possibleValue = route.possibleValue;
this.severityValue = route.severityValue
this.getResult()
},
methods:{
......
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