feat: 对应的修改

This commit is contained in:
caoqianming 2025-09-29 10:47:19 +08:00
parent f84cfb334e
commit 9bf8b968fc
2 changed files with 4 additions and 11 deletions

View File

@ -138,9 +138,6 @@ export default {
that.tabsData['总图'] = res;
if (!that.limitedWatch) {
that.limitedWatch = true;
that.$nextTick(() => {
that.$refs.degraDialogs.open();
});
}
})
},

View File

@ -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){