|
|
|
@@ -348,7 +348,6 @@ export default { |
|
|
|
this.$axios.get(location.href+'_api',{ |
|
|
|
params:this.params |
|
|
|
}).then((res)=>{ |
|
|
|
console.log(res) |
|
|
|
$(".ui.grid").removeAttr("style") |
|
|
|
$("#loadContainer").removeClass("loader") |
|
|
|
let TrainTaskInfo |
|
|
|
@@ -361,6 +360,9 @@ export default { |
|
|
|
this.tableData[i].hasChildren = res.data.data[i].VersionCount===1 ? false : true |
|
|
|
} |
|
|
|
this.totalNum = res.data.count |
|
|
|
// if(res.data.count===1 && res.data.data[0].VersionCount===1){ |
|
|
|
// location.reload() |
|
|
|
// } |
|
|
|
}) |
|
|
|
}catch (e) { |
|
|
|
console.log(e) |
|
|
|
|