East před 4 roky
rodič
revize
ff0d0425a5
1 změnil soubory, kde provedl 8 přidání a 1 odebrání
  1. 8 1
      src/views/modules/basicdata/branch.vue

+ 8 - 1
src/views/modules/basicdata/branch.vue

@@ -208,7 +208,14 @@ export default {
               duration: 1000
             })
           } else {
-            this.$message.error('删除牧场失败');
+            this.$confirm(result.data.msg, '删除失败', {
+              confirmButtonText: '确定',
+              cancelButtonText: '取消',
+              type: 'warning'
+            }).then(() => {
+              console.log('牧场删除失败');
+            }).catch(() => {})
+            // this.$message.error('删除牧场失败');
           }
           this.resetForm()
           this.selectionDataList = []