master
e 3 years ago
parent 9fac3e4669
commit a92c6592f4
  1. 6
      src/views/Transaction.vue

@ -89,7 +89,7 @@
<p class="p">操作一致性规则用户完成的功能操作与下方设置的操作点一致</p> <p class="p">操作一致性规则用户完成的功能操作与下方设置的操作点一致</p>
<div class="tree-con"> <div class="tree-con">
<div class="block1" :id="'divTree'+scope.$index"> <div class="block1" :id="'divTree'+scope.$index">
<el-tree :data="scope.row.operationIData" :props="defaultProp"></el-tree> <el-tree :data="scope.row.operationIData" :props="defaultProp" :default-expand-all="true"></el-tree>
<!-- <my-tree--> <!-- <my-tree-->
<!-- :id="'depTree'+scope.$index"--> <!-- :id="'depTree'+scope.$index"-->
<!-- class="action"--> <!-- class="action"-->
@ -484,6 +484,9 @@ export default {
this.anewPosttingDatas(list) this.anewPosttingDatas(list)
this.tableData.forEach(async (item, index) => { this.tableData.forEach(async (item, index) => {
// //
if (!item.type){
this.getSubjectData(item.subjectId, index);
}
let lists = JSON.parse(JSON.stringify(this.treeData)) let lists = JSON.parse(JSON.stringify(this.treeData))
if (item.operationIds) { if (item.operationIds) {
let list = lists let list = lists
@ -614,6 +617,7 @@ export default {
...res.subject, ...res.subject,
lcItems: res.items lcItems: res.items
}; };
console.log(res)
this.$set(this.tableData, index, item); this.$set(this.tableData, index, item);
} }
}).catch(err => { }).catch(err => {

Loading…
Cancel
Save