This commit is contained in:
ann 2024-07-24 10:25:29 +08:00
parent 9bd4593f68
commit 7e99bb8fb6
1 changed files with 33 additions and 20 deletions

View File

@ -47,6 +47,33 @@
</div>
</li>
</ul>
<!-- <el-tabs v-model="activeName" type="card" @tab-click="handleClick">
<el-tab-pane label="智算部署任务" name="first">用户管理</el-tab-pane> -->
<!-- -->
<!-- <el-tab-pane label="" name="second">
<List
ref="multipleTable"
:key="$i18n.locale"
class="multipleTable"
:columns="columns"
:filter-map="filterMap"
:get-list-action="getAiTaskList"
:default-sort="{prop: 'existTime', order: 'ascending'}"
:pagination="true"
page-key="pageNum"
limit-key="pageSize"
tooltip-effect="dark"
>
<template v-slot:filterBtns>
<el-button size="medium" type="primary" @click="createItem">{{ $t('message.create') }}</el-button>
</template>
</List>
</el-tab-pane> -->
<!-- </el-tabs> -->
</el-card>
<el-card>
<el-tabs v-model="activeName" type="card" @tab-click="handleClick">
<el-tab-pane label="智算部署任务" name="first">
<List
@ -67,25 +94,7 @@
</template>
</List>
</el-tab-pane>
<el-tab-pane label="智算应用任务" name="first">
<List
ref="multipleTable"
:key="$i18n.locale"
class="multipleTable"
:columns="columns"
:filter-map="filterMap"
:get-list-action="getAiTaskList"
:default-sort="{prop: 'existTime', order: 'ascending'}"
:pagination="true"
page-key="pageNum"
limit-key="pageSize"
tooltip-effect="dark"
>
<template v-slot:filterBtns>
<el-button size="medium" type="primary" @click="createItem">{{ $t('message.create') }}</el-button>
</template>
</List>
</el-tab-pane>
<el-tab-pane label="智算应用任务" name="second" />
</el-tabs>
</el-card>
</div>
@ -101,7 +110,8 @@ export default {
data() {
return {
getAiTaskList,
strategyList: []
strategyList: [],
activeName: 'first'
// columns: []
}
},
@ -189,6 +199,9 @@ export default {
createItem() {
this.$router.push({ path: `create` })
},
handleClick() {
console.log('switch')
},
handleDeploy(row, type) {
const { adapterId, clusterId, id } = row
const data = { adapterId, clusterId, id }