Commit 82b6c266 authored by p-wanping.song's avatar p-wanping.song

Merge branch 'develop' of http://git.censoft.com.cn/rongtong/rongtong-app into develop

parents 323b9202 356a3664
...@@ -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) {
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
alt="" alt=""
style="position: relative;top: 32%;transform: translateY(-50%);" style="position: relative;top: 32%;transform: translateY(-50%);"
/> />
风险信息 固有风险信息
</div> </div>
<van-field <van-field
readonly readonly
...@@ -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