根据当下需求优化
This commit is contained in:
@ -10,15 +10,15 @@ const CourseTypeTag = (props) => {
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (courseNature === '01') {
|
if (courseNature === '01') {
|
||||||
setColor('green');
|
setColor('green');
|
||||||
setText('公共必修');
|
setText('公共课');
|
||||||
}
|
}
|
||||||
if (courseNature === '02') {
|
if (courseNature === '02') {
|
||||||
setColor('blue');
|
setColor('blue');
|
||||||
setText('院选修');
|
setText('专业课');
|
||||||
}
|
}
|
||||||
if (courseNature === '03') {
|
if (courseNature === '03') {
|
||||||
setColor('purple');
|
setColor('purple');
|
||||||
setText('专业必修');
|
setText('校选课');
|
||||||
}
|
}
|
||||||
}, [props]);
|
}, [props]);
|
||||||
|
|
||||||
|
|||||||
@ -76,7 +76,7 @@ const ImportDataDrawer = props => {
|
|||||||
labelAlign={'left'}
|
labelAlign={'left'}
|
||||||
onFinish={onFinish}
|
onFinish={onFinish}
|
||||||
>
|
>
|
||||||
<Form.Item
|
{/*<Form.Item
|
||||||
label={'起始年度'}
|
label={'起始年度'}
|
||||||
name={'startYear'}
|
name={'startYear'}
|
||||||
labelCol={{span: 6}}
|
labelCol={{span: 6}}
|
||||||
@ -100,7 +100,7 @@ const ImportDataDrawer = props => {
|
|||||||
<Radio value={1}>第一学期</Radio>
|
<Radio value={1}>第一学期</Radio>
|
||||||
<Radio value={2}>第二学期</Radio>
|
<Radio value={2}>第二学期</Radio>
|
||||||
</Radio.Group>
|
</Radio.Group>
|
||||||
</Form.Item>
|
</Form.Item>*/}
|
||||||
<Form.Item
|
<Form.Item
|
||||||
name={'file'}
|
name={'file'}
|
||||||
label={'数据文件'}
|
label={'数据文件'}
|
||||||
|
|||||||
@ -16,15 +16,15 @@ const ContentConfig = props => {
|
|||||||
let text = '';
|
let text = '';
|
||||||
if (courseNature === '01') {
|
if (courseNature === '01') {
|
||||||
color = 'green';
|
color = 'green';
|
||||||
text = '公共必修';
|
text = '公共课';
|
||||||
}
|
}
|
||||||
if (courseNature === '02') {
|
if (courseNature === '02') {
|
||||||
color = 'blue';
|
color = 'blue';
|
||||||
text = '院选修';
|
text = '专业课';
|
||||||
}
|
}
|
||||||
if (courseNature === '03') {
|
if (courseNature === '03') {
|
||||||
color = 'purple';
|
color = 'purple';
|
||||||
text = '专业必修';
|
text = '校选课';
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<Tag color={color} key={courseNature}>
|
<Tag color={color} key={courseNature}>
|
||||||
@ -173,7 +173,7 @@ const ContentConfig = props => {
|
|||||||
{contentHolder}
|
{contentHolder}
|
||||||
<Flex vertical justify={"start"} align={"start"} gap={"middle"}>
|
<Flex vertical justify={"start"} align={"start"} gap={"middle"}>
|
||||||
<div>
|
<div>
|
||||||
<Title level={4}>证书内容配置</Title>
|
<Title level={4}>证明内容配置</Title>
|
||||||
<Text level={4}
|
<Text level={4}
|
||||||
type={'secondary'}>选择您想体现在证明上的工作量数据,无论是课时证明还是任职后工作情况证明,都将会通过您的选择进而渲染合适的数据到您需要的报告中。</Text>
|
type={'secondary'}>选择您想体现在证明上的工作量数据,无论是课时证明还是任职后工作情况证明,都将会通过您的选择进而渲染合适的数据到您需要的报告中。</Text>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -54,9 +54,9 @@ const ParameterConfig = props => {
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Form.Item
|
<Form.Item
|
||||||
label={"证书类型"}
|
label={"证明类型"}
|
||||||
name='recordType'
|
name='recordType'
|
||||||
rules={[{required: true, message: '请选择证书类型'}]}
|
rules={[{required: true, message: '请选择证明类型'}]}
|
||||||
>
|
>
|
||||||
<Radio.Group
|
<Radio.Group
|
||||||
onChange={(event) => {
|
onChange={(event) => {
|
||||||
@ -102,7 +102,7 @@ const ParameterConfig = props => {
|
|||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item
|
{/*<Form.Item
|
||||||
label={"总工作量"}
|
label={"总工作量"}
|
||||||
name='total'
|
name='total'
|
||||||
hidden={hideWorkloadParam}
|
hidden={hideWorkloadParam}
|
||||||
@ -162,7 +162,7 @@ const ParameterConfig = props => {
|
|||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</Form.Item>
|
</Form.Item>*/}
|
||||||
</Form>
|
</Form>
|
||||||
</div>
|
</div>
|
||||||
</Flex>
|
</Flex>
|
||||||
|
|||||||
@ -7,15 +7,15 @@ const generateTag = (courseNature) => {
|
|||||||
let text = '';
|
let text = '';
|
||||||
if (courseNature === '01') {
|
if (courseNature === '01') {
|
||||||
color = 'green';
|
color = 'green';
|
||||||
text = '公共必修';
|
text = '公共课';
|
||||||
}
|
}
|
||||||
if (courseNature === '02') {
|
if (courseNature === '02') {
|
||||||
color = 'blue';
|
color = 'blue';
|
||||||
text = '院选修';
|
text = '专业课';
|
||||||
}
|
}
|
||||||
if (courseNature === '03') {
|
if (courseNature === '03') {
|
||||||
color = 'purple';
|
color = 'purple';
|
||||||
text = '专业必修';
|
text = '校选课';
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<Tag color={color} key={courseNature}>
|
<Tag color={color} key={courseNature}>
|
||||||
|
|||||||
@ -44,12 +44,12 @@ const GenerateCertificate = props => {
|
|||||||
description: '选择生成证书的用户',
|
description: '选择生成证书的用户',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '证书参数配置',
|
title: '证明参数配置',
|
||||||
description: '证书类型、参数配置',
|
description: '证明类型、参数配置',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '证书内容配置',
|
title: '证明内容配置',
|
||||||
description: '选择证书的工作量记录',
|
description: '选择证明的工作量记录',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '数据确认',
|
title: '数据确认',
|
||||||
|
|||||||
Reference in New Issue
Block a user