diff --git a/src/views/statistics/batch_statistics.vue b/src/views/statistics/batch_statistics.vue
index 303ec36a..27592c93 100644
--- a/src/views/statistics/batch_statistics.vue
+++ b/src/views/statistics/batch_statistics.vue
@@ -34,6 +34,7 @@
:paginationLayout="'total, sizes, jumper'"
>
+
@@ -308,16 +309,20 @@ export default {
mounted() {
},
methods: {
- getBatches(){
- },
- getBatchDag(){
-
- },
rowClick(row){
console.log('row',row)
let that = this;
- that.$API.wpm.batchlog.dag.req({batch:row.batch}).then((res) => {
- that.nodes = res.nodes;
+ that.nodes =[];
+ that.edges = [];
+ that.$API.wpm.batchlog.dag.req({batch:row.batch,version:row.version}).then((res) => {
+ res.nodes.forEach(item => {
+ let obj = {};
+ obj.id = item.id;
+ obj.label = item.label;
+ obj.shape = item.shape;
+ obj.version = row.version;
+ that.nodes.push(obj);
+ });
that.edges = res.edges;
that.limitedWatch = true;
that.$nextTick(() => {
@@ -327,7 +332,6 @@ export default {
},
nodeClick(data){
let that = this;
- console.log('nodeClick',data)
that.params.batch = data;
that.params_binm.search = data;
that.activeName = 'mlog';