|
|
|
|
@ -72,15 +72,22 @@ export const startStatusMap = startStatusDic.reduce((obj, item) => {
|
|
|
|
|
* BUILT_SUCCESS 编译成功
|
|
|
|
|
* BUILT_FAILED 编译失败
|
|
|
|
|
* BUILT_CANCELED 编译取消
|
|
|
|
|
* BUILT_NEVER 未编译
|
|
|
|
|
*/
|
|
|
|
|
export const compileStatusConstant = {
|
|
|
|
|
BUILT_IDLE: 'idle',
|
|
|
|
|
BUILT_RUNNING: 'running',
|
|
|
|
|
BUILT_SUCCESS: 'success',
|
|
|
|
|
BUILT_FAILED: 'failed',
|
|
|
|
|
BUILT_CANCELED: 'canceled'
|
|
|
|
|
BUILT_CANCELED: 'canceled',
|
|
|
|
|
BUILT_NEVER: 'never',
|
|
|
|
|
};
|
|
|
|
|
export const compileStatusDic = [
|
|
|
|
|
{
|
|
|
|
|
label: '未编译',
|
|
|
|
|
value: compileStatusConstant.BUILT_RUNNING,
|
|
|
|
|
color: 'gray'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '空闲中',
|
|
|
|
|
value: compileStatusConstant.BUILT_IDLE,
|
|
|
|
|
@ -89,7 +96,7 @@ export const compileStatusDic = [
|
|
|
|
|
{
|
|
|
|
|
label: '编译中',
|
|
|
|
|
value: compileStatusConstant.BUILT_RUNNING,
|
|
|
|
|
color: 'gray'
|
|
|
|
|
color: 'blue'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '编译成功',
|
|
|
|
|
|