|
|
|
@ -7,12 +7,12 @@ export const columns: BasicColumn[] = [ |
|
|
|
|
{ |
|
|
|
|
title: '比赛名称', |
|
|
|
|
align: 'center', |
|
|
|
|
dataIndex: 'compname', |
|
|
|
|
dataIndex: 'compid', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
title: '年度名称', |
|
|
|
|
align: 'center', |
|
|
|
|
dataIndex: 'annualname', |
|
|
|
|
dataIndex: 'annualid', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
title: '赛次', |
|
|
|
@ -24,11 +24,11 @@ export const columns: BasicColumn[] = [ |
|
|
|
|
align: 'center', |
|
|
|
|
dataIndex: 'name', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
/* { |
|
|
|
|
title: '年度比赛状态', |
|
|
|
|
align: 'center', |
|
|
|
|
dataIndex: 'state_dictText', |
|
|
|
|
}, |
|
|
|
|
},*/ |
|
|
|
|
]; |
|
|
|
|
//查询数据
|
|
|
|
|
export const searchFormSchema: FormSchema[] = [ |
|
|
|
@ -66,7 +66,7 @@ export const searchFormSchema: FormSchema[] = [ |
|
|
|
|
]; |
|
|
|
|
//表单数据
|
|
|
|
|
export const formSchema: FormSchema[] = [ |
|
|
|
|
{ |
|
|
|
|
/* { |
|
|
|
|
label: '比赛名称', |
|
|
|
|
field: 'compname', |
|
|
|
|
component: 'JPopup', |
|
|
|
@ -83,7 +83,16 @@ export const formSchema: FormSchema[] = [ |
|
|
|
|
dynamicRules: ({ model, schema }) => { |
|
|
|
|
return [{ required: true, message: '请输入比赛名称!' }]; |
|
|
|
|
}, |
|
|
|
|
},*/ |
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
label: '比赛名称', |
|
|
|
|
field: 'compid', |
|
|
|
|
component: 'Input', |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
label: '年度名称', |
|
|
|
|
field: 'annualid', |
|
|
|
|