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