This commit is contained in:
ann 2024-10-14 10:25:39 +08:00
parent 072879266e
commit 57e5d1940b
3 changed files with 4 additions and 6 deletions

View File

@ -19,14 +19,14 @@ const taskManagementRouter = {
path: 'createInstance',
component: () => import('@/views/taskManagement/aiList/createInstance'),
name: 'createInstance',
meta: { activeMenu: '/taskManagement/taskList' },
meta: { activeMenu: '/taskManagement/aiList' },
hidden: true
},
{
path: 'instanceCenter',
component: () => import('@/views/taskManagement/aiList/instanceCenter'),
name: 'instanceCenter',
meta: { activeMenu: '/taskManagement/taskList' },
meta: { activeMenu: '/taskManagement/aiList' },
hidden: true
},
{

View File

@ -119,9 +119,7 @@ export default {
goDetail(val) {
// this.form = val;
// this.activeName = '2';
this.form = val
this.result = ''
this.dialogExecuteVisible = true
this.$router.push({ path: '/taskManagement/createInstance' })
}
}
}

View File

@ -111,7 +111,7 @@ export default {
return <div>{row.startTime && new Date(row.startTime).toLocaleString() || '-'}</div>
} },
{ prop: 'runningTime', label: this.$t('page.elapsedTime'), sortable: true, formatter: row => {
return <div>{runtimeFormat(row.runningTime)}</div>
return <div>{row.startTime ? runtimeFormat(row.runningTime) : '-'}</div>
} },
{ prop: 'more', label: this.$t('page.more'), width: 200, formatter: (row) => {
const txt = this.$t('page.viewDetail')