Commit b8c54cb1 authored by 王李辉's avatar 王李辉

合并冲突

parent 9773cbf3
...@@ -242,7 +242,7 @@ export default { ...@@ -242,7 +242,7 @@ export default {
loadingType: "spinner", loadingType: "spinner",
duration: 0 duration: 0
}); });
postriskDetail(`/riskMain/postriskDetailsApp/${this.id}`) postriskDetail(`/riskMain/riskDetailsApp/${this.id}`)
.then(res => { .then(res => {
this.$toast.clear(); this.$toast.clear();
this.riskMain = res.data.riskMain this.riskMain = res.data.riskMain
......
...@@ -270,14 +270,7 @@ ...@@ -270,14 +270,7 @@
<script> <script>
import LHeader from "@/components/header.vue"; import LHeader from "@/components/header.vue";
import { import { getFormList,postHdSource, postHdType, postHdPeople, postReAdd, postriskConiCause,postRiskShowMeasures } from "@/service/risk";
getFormList,
postHdSource,
postHdType,
postHdPeople,
postReAdd,
postriskConiCause
} from "@/service/risk";
export default { export default {
components: { components: {
LHeader LHeader
...@@ -488,7 +481,13 @@ export default { ...@@ -488,7 +481,13 @@ export default {
onConTrouble(value) { onConTrouble(value) {
this.trouble = value.accidentType; this.trouble = value.accidentType;
this.showTrouble = false; this.showTrouble = false;
// // 请求三个措施
postRiskShowMeasures(`/riskMain/showmeasures/${this.factor}/${this.source}/${this.trouble}`).then(res =>{
console.log(res.data)
this.technology = res.data[0].measuresProject
this.administration = res.data[0].measuresAdministration
this.urgent = res.data[0].measuresEmergency
})
}, },
// 风险定级 // 风险定级
onConSetRank(value) { onConSetRank(value) {
......
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