Browse Source

Merge branch 'dev' of http://git.elinkit.com.cn:7070/r/epmet-oper-gov into dev

dev-用户反馈
jiangyy 3 years ago
parent
commit
b9658e83e5
  1. 38
      src/views/modules/base/epidemic/natFocus/natFocusList.vue

38
src/views/modules/base/epidemic/natFocus/natFocusList.vue

@ -310,7 +310,12 @@
size="small"
@click="handleVisiteList(scope.row)">随访记录</el-button>
</div>
<div class="table-more-btn">
<el-button type="text"
class="div-table-button--delete"
size="small"
@click="handleDelete2(scope.row)">删除</el-button>
</div>
<el-button type="text"
size="small"
class="div-table-button--more"
@ -865,6 +870,37 @@ export default {
});
},
async handleDelete2 (row) {
this.$confirm("确认删除?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
}).then(async () => {
let delUrl = "/epmetuser/icEpidemicSpecialAttention/delete";
const { data, code, msg } = await requestPost(delUrl, [row.id]);
if (code === 0) {
this.$message({
type: "success",
message: "删除成功",
});
this.loadTable();
} else {
this.$message.error(msg);
}
})
.catch((err) => {
if (err == "cancel") {
// this.$message({
// type: "info",
// message: ""
// });
}
});
},
async deleteFocus (row) {
const url = "/epmetuser/icEpidemicSpecialAttention/cancel-attention";
// const url = "http://yapi.elinkservice.cn/mock/245/gov/org/placepatrolteam/del"

Loading…
Cancel
Save