项目书-基本信息 功能添加 10.24

master
zhc077 4 weeks ago
parent f73e485c89
commit df77236902
  1. 25
      jeecgboot-vue3/src/views/projectApplication/kejigongguan/data.ts
  2. 2
      jeecgboot-vue3/src/views/projectApplication/kejigongguan/projectApplicationList.vue
  3. 232
      jeecgboot-vue3/src/views/projectApplication/kejigongguan/xiangmushu/JiBenXinXi.ts
  4. 2
      jeecgboot-vue3/src/views/projectApplication/kejigongguan/xiangmushu/JiBenXinXiDemo.vue

@ -84,6 +84,20 @@ export const userSchemas: FormSchema[] = [
// required: true, // required: true,
// colProps: { span: 6 }, // colProps: { span: 6 },
}, },
{
field: 'idNO',
component: 'Input',
label: '身份证号',
// required: true,
// colProps: { span: 6 },
},
{
field: 'phone',
component: 'Input',
label: '负责人手机号',
// required: true,
// colProps: { span: 6 },
},
{ {
label: '名族', label: '名族',
field: 'nation', field: 'nation',
@ -94,6 +108,17 @@ export const userSchemas: FormSchema[] = [
}, },
//colProps: { span: 6 }, //colProps: { span: 6 },
}, },
{
label: '电子邮箱',
field: 'email',
component: 'Input',
dynamicRules: ({model,schema}) => {
return [
{ required: false},
{ pattern: /^([\w]+\.*)([\w]+)@[\w]+\.\w{3}(\.\w{2}|)$/, message: '请输入正确的电子邮件!'},
];
},
},
{ {
label: '党派', label: '党派',
field: 'political', field: 'political',

@ -1,5 +1,5 @@
<template> <template>
<PageWrapper title="基本信息"> <PageWrapper>
<a-card title="项目概况" :bordered="false"> <a-card title="项目概况" :bordered="false">
<BasicForm @register="registerProjectInfo" /> <BasicForm @register="registerProjectInfo" />
</a-card> </a-card>

@ -11,6 +11,11 @@ export const projectBaseInfoSchemas: FormSchema[] = [
defaultValue: '科技攻关', defaultValue: '科技攻关',
// defaultValue: '1846744340708184065', // defaultValue: '1846744340708184065',
}, },
/*{
label: '项目类别表id',
field: 'projectTypeid',
component: 'Input',
},*/
{ {
field: 'annualId', field: 'annualId',
component: 'Input', component: 'Input',
@ -49,6 +54,222 @@ export const projectBaseInfoSchemas: FormSchema[] = [
// }, // },
required: true, 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 //schema
@ -108,6 +329,17 @@ export const userSchemas: FormSchema[] = [
}, },
//colProps: { span: 6 }, //colProps: { span: 6 },
}, },
{
label: '电子邮箱',
field: 'email',
component: 'Input',
dynamicRules: ({model,schema}) => {
return [
{ required: false},
{ pattern: /^([\w]+\.*)([\w]+)@[\w]+\.\w{3}(\.\w{2}|)$/, message: '请输入正确的电子邮件!'},
];
},
},
{ {
label: '党派', label: '党派',
field: 'political', field: 'political',

@ -1,5 +1,5 @@
<template> <template>
<PageWrapper title="基本信息"> <PageWrapper>
<a-card title="项目概况" :bordered="false"> <a-card title="项目概况" :bordered="false">
<BasicForm @register="registerProjectInfo" /> <BasicForm @register="registerProjectInfo" />
</a-card> </a-card>

Loading…
Cancel
Save