Commit 193938d1 authored by yf's avatar yf

固有风险修改

parent 6641f553
...@@ -258,8 +258,8 @@ ...@@ -258,8 +258,8 @@
应采取的管控措施 应采取的管控措施
</div> </div>
<van-field <van-field
v-model="form.takenMeasuresAdministration" v-model="form.measuresAdministration"
name="takenMeasuresAdministration" name="measuresAdministration"
label="" label=""
type="textarea" type="textarea"
rows="3" rows="3"
......
...@@ -63,9 +63,13 @@ ...@@ -63,9 +63,13 @@
<van-button round type="primary" @click="goDetail(item)" <van-button round type="primary" @click="goDetail(item)"
>编辑</van-button >编辑</van-button
> >
<!-- <van-button round type="info" @click="goConfirm(item)" v-show="active==0" <van-button
>确认</van-button round
> --> type="danger"
@click="delInherent(item)"
v-show="active == 0"
>删除</van-button
>
</div> </div>
</van-overlay> </van-overlay>
</van-cell-group> </van-cell-group>
...@@ -158,6 +162,18 @@ export default { ...@@ -158,6 +162,18 @@ export default {
// this.postList(); // this.postList();
}, },
methods: { methods: {
delInherent() {
Dialog.confirm({
title: "删除固有风险",
message: "是否确认删除?"
})
.then(() => {
// on confirm
})
.catch(() => {
// on cancel
});
},
timestampToTimes(time) { timestampToTimes(time) {
return timestampToTime(new Date(time), "DT2", true); return timestampToTime(new Date(time), "DT2", true);
}, },
......
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