|
|
|
@ -173,8 +173,12 @@ export default defineComponent({
|
|
|
|
|
{type: 'warning'}
|
|
|
|
|
).then(() => {
|
|
|
|
|
this.proxy.$post("/reference/del", {idList: [id]}).then(res => {
|
|
|
|
|
this.getData();
|
|
|
|
|
this.$message.success(res.data);
|
|
|
|
|
if(res.code == 200) {
|
|
|
|
|
this.getData();
|
|
|
|
|
this.$message.success('删除成功');
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error(res.msg);
|
|
|
|
|
}
|
|
|
|
|
}).catch(() => {});
|
|
|
|
|
}).catch(() => {})
|
|
|
|
|
},
|
|
|
|
@ -185,9 +189,13 @@ export default defineComponent({
|
|
|
|
|
{type: 'warning'}
|
|
|
|
|
).then(() => {
|
|
|
|
|
this.proxy.$post("/reference/del", {idList: this.selectedKeys}).then(res => {
|
|
|
|
|
this.getData();
|
|
|
|
|
this.$message.success(res.data);
|
|
|
|
|
this.selectedKeys = [];
|
|
|
|
|
if(res.code == 200) {
|
|
|
|
|
this.getData();
|
|
|
|
|
this.$message.success('删除成功');
|
|
|
|
|
this.selectedKeys = [];
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error(res.msg);
|
|
|
|
|
}
|
|
|
|
|
}).catch(() => {});
|
|
|
|
|
}).catch(() => {})
|
|
|
|
|
}
|
|
|
|
|