Browse Source

付费规则更新

qymljy 2 years ago
parent
commit
b205ace282
1 changed files with 20 additions and 1 deletions
  1. 20 1
      src/HManagement/accountManage/index.vue

+ 20 - 1
src/HManagement/accountManage/index.vue

@@ -72,12 +72,31 @@ export default {
         }
       })
       console.log(this.moduleList,'moduleList')
-      this.moduleList.forEach(item => {
+      this.moduleList.modules.forEach(item => {
         if (item.systemmodulename === '用户管理') {
           this.list = item
         }
       })
       console.log(this.list,'list')
+      console.log(this.list.apps[0].isneedpay,'list111')
+      if (this.list.apps[0].isneedpay){
+        this.$confirm('此操作将永久删除该文件, 是否继续?', '提示', {
+          confirmButtonText: '确定',
+          cancelButtonText: '取消',
+          type: 'warning',
+          closeOnClickModal:false
+        }).then(() => {
+          this.$message({
+            type: 'success',
+            message: '删除成功!'
+          });
+        }).catch(() => {
+          this.$message({
+            type: 'info',
+            message: '已取消删除'
+          });
+        });
+      }
     }
   }
 }