|
|
|
@ -11,6 +11,11 @@ export const projectBaseInfoSchemas: FormSchema[] = [ |
|
|
|
|
defaultValue: '科技攻关', |
|
|
|
|
// defaultValue: '1846744340708184065', |
|
|
|
|
}, |
|
|
|
|
/*{ |
|
|
|
|
label: '项目类别表id', |
|
|
|
|
field: 'projectTypeid', |
|
|
|
|
component: 'Input', |
|
|
|
|
},*/ |
|
|
|
|
{ |
|
|
|
|
field: 'annualId', |
|
|
|
|
component: 'Input', |
|
|
|
@ -49,6 +54,222 @@ export const projectBaseInfoSchemas: FormSchema[] = [ |
|
|
|
|
// }, |
|
|
|
|
required: true, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '项目领域', |
|
|
|
|
field: 'projectDomain', |
|
|
|
|
component: 'JDictSelectTag', |
|
|
|
|
componentProps: { |
|
|
|
|
dictCode: "project_domain", |
|
|
|
|
// // type: "radio" |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '新兴产业', |
|
|
|
|
field: 'emergingIndustry', |
|
|
|
|
component: 'JDictSelectTag', |
|
|
|
|
componentProps: { |
|
|
|
|
dictCode: "emerging_industry", |
|
|
|
|
// type: "radio" |
|
|
|
|
}, |
|
|
|
|
ifShow: ({ values }) => { |
|
|
|
|
return values.traditionalIndustry == null; |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '传统产业', |
|
|
|
|
field: 'traditionalIndustry', |
|
|
|
|
component: 'JDictSelectTag', |
|
|
|
|
componentProps: { |
|
|
|
|
dictCode:"traditional_industry", |
|
|
|
|
// type: "radio" |
|
|
|
|
}, |
|
|
|
|
ifShow: ({ values }) => { |
|
|
|
|
return values.emergingIndustry == null; |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '技术来源', |
|
|
|
|
field: 'technicalSource', |
|
|
|
|
component: 'JDictSelectTag', |
|
|
|
|
componentProps: { |
|
|
|
|
dictCode: "technical_source", |
|
|
|
|
// type: "radio" |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '技术水平', |
|
|
|
|
field: 'technicalLevel', |
|
|
|
|
component: 'JDictSelectTag', |
|
|
|
|
componentProps:{ |
|
|
|
|
dictCode:"technical_level", |
|
|
|
|
// type: "radio" |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '预期主要成果形式', |
|
|
|
|
field: 'resultForm', |
|
|
|
|
component: 'JCheckbox', |
|
|
|
|
componentProps:{ |
|
|
|
|
dictCode:"result_form" |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '无经费是否接受指导项目立项', |
|
|
|
|
field: 'isAcceptInitProject', |
|
|
|
|
component: 'JSwitch', |
|
|
|
|
componentProps: { |
|
|
|
|
/* //取值 options |
|
|
|
|
options:['Y','N'], |
|
|
|
|
//文本option |
|
|
|
|
labelOptions:['是', '否'],*/ |
|
|
|
|
//是否启用下拉 |
|
|
|
|
// query: true, |
|
|
|
|
//是否禁用 |
|
|
|
|
disabled: false, |
|
|
|
|
}, |
|
|
|
|
defaultValue: 'Y', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '经费投入(万元)', |
|
|
|
|
field: 'fundInput', |
|
|
|
|
component: 'InputNumber', |
|
|
|
|
dynamicRules: ({model,schema}) => { |
|
|
|
|
return [ |
|
|
|
|
{ required: false}, |
|
|
|
|
{ pattern: /^(([1-9][0-9]*)|([0]\.\d{0,2}|[1-9][0-9]*\.\d{0,2}))$/, message: '请输入正确的金额!'}, |
|
|
|
|
]; |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '申请市财政拨款(万元)', |
|
|
|
|
field: 'applyFund', |
|
|
|
|
component: 'InputNumber', |
|
|
|
|
dynamicRules: ({model,schema}) => { |
|
|
|
|
return [ |
|
|
|
|
{ required: false}, |
|
|
|
|
{ pattern: /^(([1-9][0-9]*)|([0]\.\d{0,2}|[1-9][0-9]*\.\d{0,2}))$/, message: '请输入正确的金额!'}, |
|
|
|
|
]; |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
/*{ |
|
|
|
|
label: '所属实验室、研究中心', |
|
|
|
|
field: 'laboratory', |
|
|
|
|
component: 'Input', |
|
|
|
|
},*/ |
|
|
|
|
{ |
|
|
|
|
label: '地方投入(万元)', |
|
|
|
|
field: 'localInput', |
|
|
|
|
component: 'InputNumber', |
|
|
|
|
dynamicRules: ({model,schema}) => { |
|
|
|
|
return [ |
|
|
|
|
{ required: false}, |
|
|
|
|
{ pattern: /^(([1-9][0-9]*)|([0]\.\d{0,2}|[1-9][0-9]*\.\d{0,2}))$/, message: '请输入正确的金额!'}, |
|
|
|
|
]; |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '银行贷款(万元)', |
|
|
|
|
field: 'bankLoan', |
|
|
|
|
component: 'InputNumber', |
|
|
|
|
dynamicRules: ({model,schema}) => { |
|
|
|
|
return [ |
|
|
|
|
{ required: false}, |
|
|
|
|
{ pattern: /^(([1-9][0-9]*)|([0]\.\d{0,2}|[1-9][0-9]*\.\d{0,2}))$/, message: '请输入正确的金额!'}, |
|
|
|
|
]; |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '自筹(万元)', |
|
|
|
|
field: 'selfRaise', |
|
|
|
|
component: 'InputNumber', |
|
|
|
|
dynamicRules: ({model,schema}) => { |
|
|
|
|
return [ |
|
|
|
|
{ required: false}, |
|
|
|
|
{ pattern: /^(([1-9][0-9]*)|([0]\.\d{0,2}|[1-9][0-9]*\.\d{0,2}))$/, message: '请输入正确的金额!'}, |
|
|
|
|
]; |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '年生产能力(万元)', |
|
|
|
|
field: 'yearlyCapacity', |
|
|
|
|
component: 'InputNumber', |
|
|
|
|
dynamicRules: ({model,schema}) => { |
|
|
|
|
return [ |
|
|
|
|
{ required: false}, |
|
|
|
|
{ pattern: /^(([1-9][0-9]*)|([0]\.\d{0,2}|[1-9][0-9]*\.\d{0,2}))$/, message: '请输入正确的金额!'}, |
|
|
|
|
]; |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '年销售收入(万元)', |
|
|
|
|
field: 'annualSalesRevenue', |
|
|
|
|
component: 'InputNumber', |
|
|
|
|
dynamicRules: ({model,schema}) => { |
|
|
|
|
return [ |
|
|
|
|
{ required: false}, |
|
|
|
|
{ pattern: /^(([1-9][0-9]*)|([0]\.\d{0,2}|[1-9][0-9]*\.\d{0,2}))$/, message: '请输入正确的金额!'}, |
|
|
|
|
]; |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '年出口创汇(万元)', |
|
|
|
|
field: 'annualExportEarnings', |
|
|
|
|
component: 'InputNumber', |
|
|
|
|
dynamicRules: ({model,schema}) => { |
|
|
|
|
return [ |
|
|
|
|
{ required: false}, |
|
|
|
|
{ pattern: /^(([1-9][0-9]*)|([0]\.\d{0,2}|[1-9][0-9]*\.\d{0,2}))$/, message: '请输入正确的金额!'}, |
|
|
|
|
]; |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '年纳税总额(万元)', |
|
|
|
|
field: 'totalAnnualTaxPayment', |
|
|
|
|
component: 'InputNumber', |
|
|
|
|
dynamicRules: ({model,schema}) => { |
|
|
|
|
return [ |
|
|
|
|
{ required: false}, |
|
|
|
|
{ pattern: /^(([1-9][0-9]*)|([0]\.\d{0,2}|[1-9][0-9]*\.\d{0,2}))$/, message: '请输入正确的金额!'}, |
|
|
|
|
]; |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '年净利润(万元)', |
|
|
|
|
field: 'annualProfit', |
|
|
|
|
component: 'InputNumber', |
|
|
|
|
dynamicRules: ({model,schema}) => { |
|
|
|
|
return [ |
|
|
|
|
{ required: false}, |
|
|
|
|
{ pattern: /^(([1-9][0-9]*)|([0]\.\d{0,2}|[1-9][0-9]*\.\d{0,2}))$/, message: '请输入正确的金额!'}, |
|
|
|
|
]; |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '就业人数', |
|
|
|
|
field: 'employmentFigure', |
|
|
|
|
component: 'InputNumber', |
|
|
|
|
dynamicRules: ({model,schema}) => { |
|
|
|
|
return [ |
|
|
|
|
{ required: false}, |
|
|
|
|
{ pattern: /^(([1-9][0-9]*))$/, message: '请输入正确的人数!'}, |
|
|
|
|
]; |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '申请专利数', |
|
|
|
|
field: 'applyPatentNumber', |
|
|
|
|
component: 'Input', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '发明专利数', |
|
|
|
|
field: 'invevtionPatentNumber', |
|
|
|
|
component: 'Input', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '授权专利数', |
|
|
|
|
field: 'creditPatentNumber', |
|
|
|
|
component: 'Input', |
|
|
|
|
}, |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
//项目负责人schema |
|
|
|
@ -108,6 +329,17 @@ export const userSchemas: FormSchema[] = [ |
|
|
|
|
}, |
|
|
|
|
//colProps: { span: 6 }, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '电子邮箱', |
|
|
|
|
field: 'email', |
|
|
|
|
component: 'Input', |
|
|
|
|
dynamicRules: ({model,schema}) => { |
|
|
|
|
return [ |
|
|
|
|
{ required: false}, |
|
|
|
|
{ pattern: /^([\w]+\.*)([\w]+)@[\w]+\.\w{3}(\.\w{2}|)$/, message: '请输入正确的电子邮件!'}, |
|
|
|
|
]; |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '党派', |
|
|
|
|
field: 'political', |
|
|
|
|