|
|
@ -1,6 +1,8 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<!-- 交易类 --> |
|
|
|
<!-- 交易类 --> |
|
|
|
<div class="content"> |
|
|
|
<div class="content" v-loading="loading" |
|
|
|
|
|
|
|
element-loading-text="加载中" |
|
|
|
|
|
|
|
element-loading-spinner="el-icon-loading"> |
|
|
|
<div class="header"> |
|
|
|
<div class="header"> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<i class="back el-icon-arrow-left" @click="Back()" style="cursor:pointer"> |
|
|
|
<i class="back el-icon-arrow-left" @click="Back()" style="cursor:pointer"> |
|
|
@ -395,6 +397,7 @@ export default { |
|
|
|
configVisible:false, |
|
|
|
configVisible:false, |
|
|
|
SelectedObj:[], |
|
|
|
SelectedObj:[], |
|
|
|
counts:0, |
|
|
|
counts:0, |
|
|
|
|
|
|
|
loading:true, |
|
|
|
}; |
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
mounted() { |
|
|
@ -443,10 +446,13 @@ export default { |
|
|
|
// await this.getSubjectData(item.emptyOne, index); |
|
|
|
// await this.getSubjectData(item.emptyOne, index); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
this.loading = false |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
this.$message.warning(res.message); |
|
|
|
this.$message.warning(res.message); |
|
|
|
|
|
|
|
this.loading = false |
|
|
|
} |
|
|
|
} |
|
|
|
}).catch(err => { |
|
|
|
}).catch(err => { |
|
|
|
|
|
|
|
this.loading = false |
|
|
|
// console.log(err); |
|
|
|
// console.log(err); |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
@ -809,7 +815,16 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
addRules(){ |
|
|
|
addRules(){ |
|
|
|
this.configVisible = true; |
|
|
|
this.configVisible = true; |
|
|
|
|
|
|
|
let operationIds = [] |
|
|
|
|
|
|
|
console.log(this.treeData) |
|
|
|
|
|
|
|
for (var i=0;i<this.tableData.length;i++){ |
|
|
|
|
|
|
|
if (this.tableData[i].operationIds){ |
|
|
|
|
|
|
|
operationIds.push(this.tableData[i].operationIds) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
console.log(operationIds) |
|
|
|
this.$refs.tree.setCheckedKeys([]); |
|
|
|
this.$refs.tree.setCheckedKeys([]); |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
addRule() { // 新增规则 |
|
|
|
addRule() { // 新增规则 |
|
|
|
this.changeArr.splice(0, this.changeArr.length) |
|
|
|
this.changeArr.splice(0, this.changeArr.length) |
|
|
|