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

合并冲突

parent 9773cbf3
......@@ -242,7 +242,7 @@ export default {
loadingType: "spinner",
duration: 0
});
postriskDetail(`/riskMain/postriskDetailsApp/${this.id}`)
postriskDetail(`/riskMain/riskDetailsApp/${this.id}`)
.then(res => {
this.$toast.clear();
this.riskMain = res.data.riskMain
......
......@@ -270,14 +270,7 @@
<script>
import LHeader from "@/components/header.vue";
import {
getFormList,
postHdSource,
postHdType,
postHdPeople,
postReAdd,
postriskConiCause
} from "@/service/risk";
import { getFormList,postHdSource, postHdType, postHdPeople, postReAdd, postriskConiCause,postRiskShowMeasures } from "@/service/risk";
export default {
components: {
LHeader
......@@ -488,7 +481,13 @@ export default {
onConTrouble(value) {
this.trouble = value.accidentType;
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) {
......
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