|
@@ -4514,15 +4514,22 @@ export default {
|
|
|
if(!row.nameId){
|
|
|
this.fileTableData.splice(index,1)
|
|
|
}else{
|
|
|
- deletedNameRule(
|
|
|
- {nameId:row.nameId}
|
|
|
- ).then((res) => {
|
|
|
- if(res.data.code==200){
|
|
|
- this.$message.success(res.data.msg)
|
|
|
- this.getFileTableData()
|
|
|
- }else{
|
|
|
- this.$message.error(res.data.msg)
|
|
|
- }
|
|
|
+ this.$confirm("确定将选择数据删除?", {
|
|
|
+ confirmButtonText: "确定",
|
|
|
+ cancelButtonText: "取消",
|
|
|
+ type: "warning"
|
|
|
+ })
|
|
|
+ .then(() => {
|
|
|
+ return deletedNameRule(
|
|
|
+ {nameId:row.nameId}
|
|
|
+ ).then((res) => {
|
|
|
+ if(res.data.code==200){
|
|
|
+ this.$message.success(res.data.msg)
|
|
|
+ this.getFileTableData()
|
|
|
+ }else{
|
|
|
+ this.$message.error(res.data.msg)
|
|
|
+ }
|
|
|
+ });
|
|
|
});
|
|
|
}
|
|
|
|