|
|
@ -38,6 +38,12 @@ export const columns: BasicColumn[] = [ |
|
|
|
resizable: true, |
|
|
|
align: 'left', |
|
|
|
slots: { customRender: 'projectName' }, |
|
|
|
customCell: (record) => { |
|
|
|
if (!Object.keys(record).includes('children')) { |
|
|
|
return { style: { paddingLeft: `50px`,color:'grey' } }; |
|
|
|
} |
|
|
|
return {}; |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '所处阶段', |
|
|
@ -85,9 +91,9 @@ export const ShowDetailFormSchema: FormSchema[] = [ |
|
|
|
label: '日期', |
|
|
|
field: 'yearMonth', |
|
|
|
component: 'DatePicker', |
|
|
|
componentProps:{ |
|
|
|
valueFormat:'YYYY-MM', |
|
|
|
format:'YYYY-MM' |
|
|
|
componentProps: { |
|
|
|
valueFormat: 'YYYY-MM', |
|
|
|
format: 'YYYY-MM' |
|
|
|
}, |
|
|
|
colProps: { span: 6 }, |
|
|
|
}, |
|
|
@ -135,7 +141,7 @@ export const ShowDetailFormSchema: FormSchema[] = [ |
|
|
|
component: 'ApiSelect', |
|
|
|
componentProps: () => { |
|
|
|
return { |
|
|
|
api: () =>getDutyWorkplaceOptions() |
|
|
|
api: () => getDutyWorkplaceOptions() |
|
|
|
} |
|
|
|
}, |
|
|
|
labelWidth: 'auto' |
|
|
@ -236,7 +242,7 @@ export const searchFormSchema: FormSchema[] = [ |
|
|
|
component: 'ApiSelect', |
|
|
|
componentProps: () => { |
|
|
|
return { |
|
|
|
api: () =>getDutyWorkplaceOptions() |
|
|
|
api: () => getDutyWorkplaceOptions() |
|
|
|
} |
|
|
|
}, |
|
|
|
labelWidth: 'auto' |
|
|
@ -419,7 +425,7 @@ export const formSchemas: FormSchema[] = [ |
|
|
|
//步数
|
|
|
|
step: 1, |
|
|
|
min: 0, |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
//一列占比总共24,比如一行显示2列
|
|
|
|
colProps: { span: 12 }, |
|
|
@ -1096,7 +1102,7 @@ export const resourcetableColumns: BasicColumn[] = [ |
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
export const MoneyFormSchemas: FormSchema[]=[ |
|
|
|
export const MoneyFormSchemas: FormSchema[] = [ |
|
|
|
{ |
|
|
|
//标题名称
|
|
|
|
label: '总投资(元)', |
|
|
|