修改bug
This commit is contained in:
parent
36d4b57ce3
commit
7c8776ce49
@ -338,8 +338,9 @@ function changeShowResult(isShow:boolean){ // 切换显示结果模型
|
|||||||
@click="editClick(scope.row)" style="cursor: pointer; ">
|
@click="editClick(scope.row)" style="cursor: pointer; ">
|
||||||
<img src="@/assets/table/activate.png" alt="" title="是否激活"
|
<img src="@/assets/table/activate.png" alt="" title="是否激活"
|
||||||
@click="changeStatus(scope.row)" style="cursor: pointer; ">
|
@click="changeStatus(scope.row)" style="cursor: pointer; ">
|
||||||
<img src="@/assets/table/del.png" alt="" title="删除"
|
<img v-if="scope.row.isCurrent == 0" src="@/assets/table/del.png" alt="" title="删除"
|
||||||
@click="delAloneClick(scope.row)" style="cursor: pointer; ">
|
@click="delAloneClick(scope.row)" style="cursor: pointer; ">
|
||||||
|
<img v-else src="@/assets/table/del_disabled.png" alt="" title="删除">
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|||||||
@ -55,7 +55,7 @@ function gettableData() {
|
|||||||
loading.value = true;
|
loading.value = true;
|
||||||
trainAlgorithmsPage(params).then((res:any) => {
|
trainAlgorithmsPage(params).then((res:any) => {
|
||||||
tableData.value = res.data.records;
|
tableData.value = res.data.records;
|
||||||
queryParams.value.total = res.data.total;
|
total.value = res.data.total;
|
||||||
loading.value = false;
|
loading.value = false;
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user