数据核对、数据管理表格添加新显示字段,打印card添加新的信息显示
This commit is contained in:
@ -54,7 +54,7 @@ const DashboardMenuItems = [
|
||||
{
|
||||
key: `/generate-certificate`,
|
||||
icon: <NotificationOutlined/>,
|
||||
label: <NavLink to={'/generate-certificate'}>证书生成</NavLink>
|
||||
label: <NavLink to={'/generate-certificate'}>证明生成</NavLink>
|
||||
},
|
||||
{
|
||||
key: `settings`,
|
||||
|
||||
@ -2,10 +2,17 @@ import {Space} from "antd";
|
||||
import CourseTypeTag from "../../../../component/Workload/CourseTypeTag";
|
||||
|
||||
const CheckTableColumn = [
|
||||
//{
|
||||
// title: 'ID',
|
||||
// dataIndex: 'id',
|
||||
// key: 'id',
|
||||
// responsive: ['lg'],
|
||||
// render: (text) => <span key={text}>{text}</span>
|
||||
//},
|
||||
{
|
||||
title: 'ID',
|
||||
dataIndex: 'id',
|
||||
key: 'id',
|
||||
title: '学期',
|
||||
dataIndex: 'semesterInfo',
|
||||
key: 'semesterInfo',
|
||||
responsive: ['lg'],
|
||||
render: (text) => <span key={text}>{text}</span>
|
||||
},
|
||||
@ -36,6 +43,20 @@ const CheckTableColumn = [
|
||||
responsive: ['lg'],
|
||||
render: (text) => <span key={text}>{text}</span>
|
||||
},
|
||||
{
|
||||
title: '学生数',
|
||||
dataIndex: 'actualClassSize',
|
||||
key: 'actualClassSize',
|
||||
responsive: ['lg'],
|
||||
render: (text) => <span key={text}>{text}</span>
|
||||
},
|
||||
{
|
||||
title: '授课对象',
|
||||
dataIndex: 'teachingGrade',
|
||||
key: 'teachingGrade',
|
||||
responsive: ['lg'],
|
||||
render: (text) => <span key={text}>{text}</span>
|
||||
},
|
||||
{
|
||||
title: '总学时',
|
||||
dataIndex: 'totalClassHours',
|
||||
|
||||
@ -121,6 +121,7 @@ const ImportDataDrawer = props => {
|
||||
<Button icon={<UploadOutlined/>}>点击此处上传</Button>
|
||||
</Upload>
|
||||
|
||||
|
||||
</Form.Item>
|
||||
<div style={{
|
||||
textAlign: 'center',
|
||||
|
||||
@ -2,10 +2,17 @@ import {Button, Space} from "antd";
|
||||
import CourseTypeTag from "../../../component/Workload/CourseTypeTag";
|
||||
|
||||
const ManageTableColumn = (commonAxios, messageApi, fetchWorkload) => [
|
||||
//{
|
||||
// title: 'ID',
|
||||
// dataIndex: 'id',
|
||||
// key: 'id',
|
||||
// responsive: ['lg'],
|
||||
// render: (text) => <span key={text}>{text}</span>
|
||||
//},
|
||||
{
|
||||
title: 'ID',
|
||||
dataIndex: 'id',
|
||||
key: 'id',
|
||||
title: '学期',
|
||||
dataIndex: 'semesterInfo',
|
||||
key: 'semesterInfo',
|
||||
responsive: ['lg'],
|
||||
render: (text) => <span key={text}>{text}</span>
|
||||
},
|
||||
@ -36,6 +43,20 @@ const ManageTableColumn = (commonAxios, messageApi, fetchWorkload) => [
|
||||
responsive: ['lg'],
|
||||
render: (text) => <span key={text}>{text}</span>
|
||||
},
|
||||
{
|
||||
title: '学生数',
|
||||
dataIndex: 'actualClassSize',
|
||||
key: 'actualClassSize',
|
||||
responsive: ['lg'],
|
||||
render: (text) => <span key={text}>{text}</span>
|
||||
},
|
||||
{
|
||||
title: '授课对象',
|
||||
dataIndex: 'teachingGrade',
|
||||
key: 'teachingGrade',
|
||||
responsive: ['lg'],
|
||||
render: (text) => <span key={text}>{text}</span>
|
||||
},
|
||||
{
|
||||
title: '工作量',
|
||||
dataIndex: 'totalClassHours',
|
||||
|
||||
@ -56,6 +56,12 @@ function PrintRecordCard(props) {
|
||||
<div>
|
||||
<Text strong>教师工号: </Text><Text>{record.stuffNumber}</Text>
|
||||
</div>
|
||||
<div>
|
||||
<Text strong>教师姓名: </Text><Text>{record.teacherName}</Text>
|
||||
</div>
|
||||
<div>
|
||||
<Text strong>学院: </Text><Text>{record.college}</Text>
|
||||
</div>
|
||||
<div><Text strong>请求时间: </Text><Text>{DateFormater(record.requestTime)}</Text></div>
|
||||
<div><Text
|
||||
strong>生成时间: </Text><Text>{record.status === '02' ? DateFormater(record.madeTime) : 'N/A'}</Text>
|
||||
|
||||
@ -97,8 +97,8 @@ const ParameterConfig = props => {
|
||||
}
|
||||
}}
|
||||
options={[
|
||||
{label: '本科课堂工时证明', value: '01'},
|
||||
{label: '任现职后工作情况证明', value: '02'}
|
||||
{label: '哈尔滨师范大学本科课堂教学课时证明', value: '01'},
|
||||
{label: '任现职、近五年完成教育教学工作情况(本科)', value: '02'}
|
||||
]}
|
||||
/>
|
||||
</Form.Item>
|
||||
|
||||
Reference in New Issue
Block a user