Commit 0f597e5a authored by yf's avatar yf

修改现有风险字段

parent 1dd27aef
...@@ -440,7 +440,6 @@ ...@@ -440,7 +440,6 @@
label="参考依据" label="参考依据"
placeholder="请选择" placeholder="请选择"
@click="selectData('referenceBasis', false)" @click="selectData('referenceBasis', false)"
:rules="[{ required: true, message: '事故类型不能为空' }]"
/> />
<van-dialog <van-dialog
v-model="showGradeDialog" v-model="showGradeDialog"
...@@ -1189,6 +1188,12 @@ export default { ...@@ -1189,6 +1188,12 @@ export default {
}, },
performTasks() { performTasks() {
console.log("1233213 :>> ", 1233213); console.log("1233213 :>> ", 1233213);
this.$router.push({
name: "addPresent",
params: {
id: this.inherentId
}
});
}, },
// 点击预览图 // 点击预览图
clickPre(e) { clickPre(e) {
......
...@@ -437,7 +437,6 @@ ...@@ -437,7 +437,6 @@
label="参考依据" label="参考依据"
placeholder="请选择" placeholder="请选择"
@click="selectData('referenceBasis', false)" @click="selectData('referenceBasis', false)"
:rules="[{ required: true, message: '事故类型不能为空' }]"
/> />
<van-dialog <van-dialog
v-model="showGradeDialog" v-model="showGradeDialog"
......
This diff is collapsed.
...@@ -162,13 +162,26 @@ export default { ...@@ -162,13 +162,26 @@ export default {
// this.postList(); // this.postList();
}, },
methods: { methods: {
delInherent() { delInherent(item) {
Dialog.confirm({ Dialog.confirm({
title: "删除固有风险", title: "删除固有风险",
message: "是否确认删除?" message: "是否确认删除?"
}) })
.then(() => { .then(() => {
// on confirm // on confirm
getFun(`/risk/plan/inherent/delete/${item.id}`).then(res => {
this.$toast.success(res.msg);
this.riskList(
this.planId,
this.buildingId,
this.value1,
this.value2
);
// });
});
{
inherentId;
}
}) })
.catch(() => { .catch(() => {
// on cancel // on cancel
......
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