fix:批次校验添加version
This commit is contained in:
parent
eb016141d6
commit
f88de3c2ee
|
@ -34,6 +34,7 @@
|
|||
:paginationLayout="'total, sizes, jumper'"
|
||||
>
|
||||
<el-table-column prop="batch" label="批次号"></el-table-column>
|
||||
<el-table-column prop="version" label="版本" width="60"></el-table-column>
|
||||
</scTable>
|
||||
</el-main>
|
||||
</el-container>
|
||||
|
@ -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';
|
||||
|
|
Loading…
Reference in New Issue