feat: 对应的修改
This commit is contained in:
parent
f84cfb334e
commit
9bf8b968fc
|
@ -138,9 +138,6 @@ export default {
|
|||
that.tabsData['总图'] = res;
|
||||
if (!that.limitedWatch) {
|
||||
that.limitedWatch = true;
|
||||
that.$nextTick(() => {
|
||||
that.$refs.degraDialogs.open();
|
||||
});
|
||||
}
|
||||
})
|
||||
},
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<el-container>
|
||||
<el-side>
|
||||
<el-aside>
|
||||
<el-container>
|
||||
<el-header style="height: 40px;">
|
||||
<!-- <el-select
|
||||
|
@ -38,13 +38,12 @@
|
|||
</scTable>
|
||||
</el-main>
|
||||
</el-container>
|
||||
</el-side>
|
||||
</el-aside>
|
||||
<el-main id="elMain">
|
||||
<el-container>
|
||||
<el-header style="height: 50%;flex-direction: column;align-items: start;overflow: scroll;">
|
||||
<p style="position: fixed;">批次流转图</p>
|
||||
<div>批次流转图</div>
|
||||
<scDegra
|
||||
style="margin-top: 50px;"
|
||||
v-if="limitedWatch"
|
||||
ref="degraDialogs"
|
||||
:nodes="nodes"
|
||||
|
@ -384,6 +383,7 @@ export default {
|
|||
that.edges = [];
|
||||
that.limitedWatch = false;
|
||||
that.$API.wpm.batchlog.dag.req({batch:row.batch,method:'direct'}).then((res) => {
|
||||
that.limitedWatch = true;
|
||||
res.nodes.forEach(item => {
|
||||
let obj = {};
|
||||
obj.id = item.id;
|
||||
|
@ -393,10 +393,6 @@ export default {
|
|||
that.nodes.push(obj);
|
||||
});
|
||||
that.edges = res.edges;
|
||||
that.limitedWatch = true;
|
||||
that.$nextTick(() => {
|
||||
that.$refs.degraDialogs.open();
|
||||
});
|
||||
})
|
||||
},
|
||||
nodeClick(data){
|
||||
|
|
Loading…
Reference in New Issue