|
@@ -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: '已取消删除'
|
|
|
+ });
|
|
|
+ });
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|