任务列表页改为不可以点击
This commit is contained in:
parent
dbb25bbc0a
commit
8957fd3dcb
@ -61,6 +61,12 @@ export default {
|
|||||||
filters: {
|
filters: {
|
||||||
site: this.name
|
site: this.name
|
||||||
},
|
},
|
||||||
|
route(row) {
|
||||||
|
return {
|
||||||
|
name: 'Site Job',
|
||||||
|
params: { id: row.name }
|
||||||
|
};
|
||||||
|
},
|
||||||
orderBy: 'creation desc',
|
orderBy: 'creation desc',
|
||||||
searchField: 'job_type',
|
searchField: 'job_type',
|
||||||
fields: ['end', 'job_id'],
|
fields: ['end', 'job_id'],
|
||||||
|
|||||||
@ -53,12 +53,7 @@ export function getJobsTab(pagetype: JobDocTypes) {
|
|||||||
else if (pagetype === 'Release Group') return { group: res.name };
|
else if (pagetype === 'Release Group') return { group: res.name };
|
||||||
throw unreachable;
|
throw unreachable;
|
||||||
},
|
},
|
||||||
route(row) {
|
route: undefined,
|
||||||
return {
|
|
||||||
name: jobRoute,
|
|
||||||
params: { id: row.name }
|
|
||||||
};
|
|
||||||
},
|
|
||||||
orderBy: 'creation desc',
|
orderBy: 'creation desc',
|
||||||
searchField: 'job_type',
|
searchField: 'job_type',
|
||||||
fields: ['end', 'job_id'],
|
fields: ['end', 'job_id'],
|
||||||
|
|||||||
@ -239,6 +239,7 @@ export const statusMap = {
|
|||||||
|
|
||||||
export const deployTypeMap = {
|
export const deployTypeMap = {
|
||||||
'Migrate': '迁移',
|
'Migrate': '迁移',
|
||||||
|
'Pull': '拉取',
|
||||||
'Update': '更新',
|
'Update': '更新',
|
||||||
'Install': '安装',
|
'Install': '安装',
|
||||||
'Uninstall': '卸载',
|
'Uninstall': '卸载',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user