|
@@ -95,7 +95,13 @@
|
|
|
custom-class="modal"
|
|
|
:close-on-click-modal="true"
|
|
|
>
|
|
|
- 123123
|
|
|
+ <el-tree
|
|
|
+ style="height: 600px; overflow-y: scroll"
|
|
|
+ node-key="activeId"
|
|
|
+ :data="treeData"
|
|
|
+ :default-expanded-keys="['0']"
|
|
|
+ :props="{ children: 'children', label: 'name' }"
|
|
|
+ ></el-tree>
|
|
|
</el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -180,7 +186,6 @@ export default {
|
|
|
},
|
|
|
click(e, row) {
|
|
|
that.getTree(row);
|
|
|
- that.dialogShow = true;
|
|
|
},
|
|
|
},
|
|
|
],
|
|
@@ -256,10 +261,14 @@ export default {
|
|
|
method: "POST",
|
|
|
subUrl: "stopanalysis/stopAnalysisTree",
|
|
|
data: {
|
|
|
+ mainId: item.id,
|
|
|
wtId: item.wtid,
|
|
|
+ values: item.judegvulue,
|
|
|
},
|
|
|
success(res) {
|
|
|
- console.log(123123, res);
|
|
|
+ res.data[0].activeId = "0";
|
|
|
+ that.treeData = res.data;
|
|
|
+ that.dialogShow = true;
|
|
|
},
|
|
|
});
|
|
|
},
|