diff --git a/web/client/src/sections/humanAffairs/containers/highMonthly.jsx b/web/client/src/sections/humanAffairs/containers/highMonthly.jsx
index aa483d4..a5055ff 100644
--- a/web/client/src/sections/humanAffairs/containers/highMonthly.jsx
+++ b/web/client/src/sections/humanAffairs/containers/highMonthly.jsx
@@ -1,10 +1,60 @@
-import React, { useEffect, useState } from 'react';
+import React, { useEffect, useState, useMemo } from 'react';
import { connect } from 'react-redux';
-import Empty from '../components/empty';
+import { Table, Pagination, Skeleton, DatePicker } from '@douyinfe/semi-ui';
+import { SkeletonScreen } from "$components";
import '../style.less'
const HighMonthly = (props) => {
const { dispatch, actions } = props
+ const [limits, setLimits] = useState()//每页实际条数
+ const [query, setQuery] = useState({ limit: 10, page: 0 }); //页码信息
+ const [tableData, setTableData] = useState([{ id: 1, year: '1月', statement: '高管月度测试12.xlsx' }, { id: 2, year: '2月', statement: '测试12.xlsx' }, { id: 3, year: '3月', statement: '测试12.xlsx' }, { id: 4, year: '4月', statement: '测试12.xlsx' }, { id: 5, year: '5月', statement: '测试12.xlsx' }, { id: 6, year: '6月', statement: '测试12.xlsx' }, { id: 7, year: '7月', statement: '测试12.xlsx' }, { id: 8, year: '8月', statement: '测试12.xlsx' }, { id: 9, year: '9月', statement: '测试12.xlsx' }, { id: 10, year: '10月', statement: '测试12.xlsx' }, { id: 11, year: '11月', statement: '测试12.xlsx' }, { id: 12, year: '12月', statement: '测试12.xlsx' }]);
+
+
+ function handleRow(record, index) {// 给偶数行设置斑马纹
+ if (index % 2 === 0) {
+ return {
+ style: {
+ background: '#FAFCFF',
+ }
+ };
+ } else {
+ return {};
+ }
+ }
+
+ const columns = [{
+ title: '序号',
+ dataIndex: 'id',
+ key: 'id',
+ width: 60,
+ render: (text, record, index) => index + 1
+ }, {
+ title: '月份',
+ dataIndex: 'year',
+ key: 'year',
+ width: 80
+ },
+ {
+ title: '报表',
+ dataIndex: 'statement',
+ key: 'statement',
+ width: 200,
+ // render: (text, r, index) => {
+
+ // }
+ }, {
+ title: '操作',
+ dataIndex: 'action',
+ width: 120,
+ render: (text, record) => {
+ return
+ 下载
+
+ }
+ }];
+
+ const scroll = useMemo(() => ({}), []);
return (
<>
@@ -24,7 +74,49 @@ const HighMonthly = (props) => {
MONTHLY PROCESS ASSESSMENT
-
+
+ 查询时间:
+
+
+
+
+
+
+
+
+
+ 共{limits}条信息
+
+
{
+ setQuery({ limit: pageSize, page: currentPage - 1 });
+ page.current = currentPage - 1
+ }}
+ />
+
+
+
>
diff --git a/web/client/src/sections/humanAffairs/containers/highQuarter.jsx b/web/client/src/sections/humanAffairs/containers/highQuarter.jsx
new file mode 100644
index 0000000..af9a5fe
--- /dev/null
+++ b/web/client/src/sections/humanAffairs/containers/highQuarter.jsx
@@ -0,0 +1,134 @@
+import React, { useEffect, useState, useMemo } from 'react';
+import { connect } from 'react-redux';
+import { Table, Pagination, Skeleton, DatePicker } from '@douyinfe/semi-ui';
+import { SkeletonScreen } from "$components";
+import '../style.less'
+
+const HighQuarter = (props) => {
+ const { dispatch, actions } = props
+ const [limits, setLimits] = useState()//每页实际条数
+ const [query, setQuery] = useState({ limit: 10, page: 0 }); //页码信息
+ const [tableData, setTableData] = useState([{ id: 1, year: '1月', statement: '高管季度测试12.xlsx' }, { id: 2, year: '2月', statement: '测试12.xlsx' }, { id: 3, year: '3月', statement: '测试12.xlsx' }, { id: 4, year: '4月', statement: '测试12.xlsx' }, { id: 5, year: '5月', statement: '测试12.xlsx' }, { id: 6, year: '6月', statement: '测试12.xlsx' }, { id: 7, year: '7月', statement: '测试12.xlsx' }, { id: 8, year: '8月', statement: '测试12.xlsx' }, { id: 9, year: '9月', statement: '测试12.xlsx' }, { id: 10, year: '10月', statement: '测试12.xlsx' }, { id: 11, year: '11月', statement: '测试12.xlsx' }, { id: 12, year: '12月', statement: '测试12.xlsx' }]);
+
+
+ function handleRow(record, index) {// 给偶数行设置斑马纹
+ if (index % 2 === 0) {
+ return {
+ style: {
+ background: '#FAFCFF',
+ }
+ };
+ } else {
+ return {};
+ }
+ }
+
+ const columns = [{
+ title: '序号',
+ dataIndex: 'id',
+ key: 'id',
+ width: 60,
+ render: (text, record, index) => index + 1
+ }, {
+ title: '月份',
+ dataIndex: 'year',
+ key: 'year',
+ width: 80
+ },
+ {
+ title: '报表',
+ dataIndex: 'statement',
+ key: 'statement',
+ width: 200,
+ // render: (text, r, index) => {
+
+ // }
+ }, {
+ title: '操作',
+ dataIndex: 'action',
+ width: 120,
+ render: (text, record) => {
+ return
+ 下载
+
+ }
+ }];
+
+ const scroll = useMemo(() => ({}), []);
+
+ return (
+ <>
+
+
+
绩效考核
+
/
+
高管考核
+
/
+
季度考核
+
+
+
+
+
+
季度考核
+
QUARTERLY ASSESSMENT
+
+
+
+ 查询时间:
+
+
+
+
+
+
+
+
+
+ 共{limits}条信息
+
+
{
+ setQuery({ limit: pageSize, page: currentPage - 1 });
+ page.current = currentPage - 1
+ }}
+ />
+
+
+
+
+
+ >
+ )
+}
+
+function mapStateToProps(state) {
+ const { auth, global } = state;
+ return {
+ user: auth.user,
+ actions: global.actions,
+ };
+}
+
+export default connect(mapStateToProps)(HighQuarter);
diff --git a/web/client/src/sections/humanAffairs/containers/index.js b/web/client/src/sections/humanAffairs/containers/index.js
index 52c2246..21978f7 100644
--- a/web/client/src/sections/humanAffairs/containers/index.js
+++ b/web/client/src/sections/humanAffairs/containers/index.js
@@ -26,6 +26,7 @@ import MonthlyProcess from './monthlyProcess';
import Quarter from './quarter';
import HighMonthly from './highMonthly';
import PenaltiesRecord from './penaltiesRecord';
+import HighQuarter from './highQuarter'
//权限中心
import EmployeeAuth from './employeeAuth';
import FormMaintenance from './formMaintenance';
@@ -41,7 +42,7 @@ export {
ResourceRepository, DepartmentTrainRecord,
WeeklyManagement, SaleLog, PMLog,
ProbationerKPI, RegularKPI,
- MonthlyProcess, Quarter, HighMonthly, PenaltiesRecord,
+ MonthlyProcess, Quarter, HighMonthly, PenaltiesRecord,HighQuarter,
EmployeeAuth, FormMaintenance,
PersonnelFilesDetail,
PersonalTrainRecord,
diff --git a/web/client/src/sections/humanAffairs/containers/monthlyProcess.jsx b/web/client/src/sections/humanAffairs/containers/monthlyProcess.jsx
index 8018835..0c36c7e 100644
--- a/web/client/src/sections/humanAffairs/containers/monthlyProcess.jsx
+++ b/web/client/src/sections/humanAffairs/containers/monthlyProcess.jsx
@@ -1,11 +1,60 @@
-import React, { useEffect, useState } from 'react';
+import React, { useEffect, useState, useMemo } from 'react';
import { connect } from 'react-redux';
-import Empty from '../components/empty';
+import { Table, Pagination, Skeleton, DatePicker } from '@douyinfe/semi-ui';
+import { SkeletonScreen } from "$components";
import '../style.less'
const MonthlyProcess = (props) => {
const { dispatch, actions } = props
+ const [limits, setLimits] = useState()//每页实际条数
+ const [query, setQuery] = useState({ limit: 10, page: 0 }); //页码信息
+ const [tableData, setTableData] = useState([{ id: 1, year: '1月', statement: '中层月度测试12.xlsx' }, { id: 2, year: '2月', statement: '测试12.xlsx' }, { id: 3, year: '3月', statement: '测试12.xlsx' }, { id: 4, year: '4月', statement: '测试12.xlsx' }, { id: 5, year: '5月', statement: '测试12.xlsx' }, { id: 6, year: '6月', statement: '测试12.xlsx' }, { id: 7, year: '7月', statement: '测试12.xlsx' }, { id: 8, year: '8月', statement: '测试12.xlsx' }, { id: 9, year: '9月', statement: '测试12.xlsx' }, { id: 10, year: '10月', statement: '测试12.xlsx' }, { id: 11, year: '11月', statement: '测试12.xlsx' }, { id: 12, year: '12月', statement: '测试12.xlsx' }]);
+
+ function handleRow(record, index) {// 给偶数行设置斑马纹
+ if (index % 2 === 0) {
+ return {
+ style: {
+ background: '#FAFCFF',
+ }
+ };
+ } else {
+ return {};
+ }
+ }
+
+ const columns = [{
+ title: '序号',
+ dataIndex: 'id',
+ key: 'id',
+ width: 60,
+ render: (text, record, index) => index + 1
+ }, {
+ title: '月份',
+ dataIndex: 'year',
+ key: 'year',
+ width: 80
+ },
+ {
+ title: '报表',
+ dataIndex: 'statement',
+ key: 'statement',
+ width: 200,
+ // render: (text, r, index) => {
+
+ // }
+ }, {
+ title: '操作',
+ dataIndex: 'action',
+ width: 120,
+ render: (text, record) => {
+ return
+ 下载
+
+ }
+ }];
+
+ const scroll = useMemo(() => ({}), []);
return (
<>
@@ -24,7 +73,49 @@ const MonthlyProcess = (props) => {
Monthly process assessment
-
+
+ 查询时间:
+
+
+
+
+
+
+
+
+
+ 共{limits}条信息
+
+
{
+ setQuery({ limit: pageSize, page: currentPage - 1 });
+ page.current = currentPage - 1
+ }}
+ />
+
+
+
>
diff --git a/web/client/src/sections/humanAffairs/containers/quarter.jsx b/web/client/src/sections/humanAffairs/containers/quarter.jsx
index c927710..de0b10e 100644
--- a/web/client/src/sections/humanAffairs/containers/quarter.jsx
+++ b/web/client/src/sections/humanAffairs/containers/quarter.jsx
@@ -1,11 +1,60 @@
-import React, { useEffect, useState } from 'react';
+import React, { useEffect, useState, useMemo } from 'react';
import { connect } from 'react-redux';
-import Empty from '../components/empty';
+import { Table, Pagination, Skeleton, DatePicker } from '@douyinfe/semi-ui';
+import { SkeletonScreen } from "$components";
import '../style.less'
const Quarter = (props) => {
const { dispatch, actions } = props
+ const [limits, setLimits] = useState()//每页实际条数
+ const [query, setQuery] = useState({ limit: 10, page: 0 }); //页码信息
+ const [tableData, setTableData] = useState([{ id: 1, year: '1月', statement: '中层季度测试12.xlsx' }, { id: 2, year: '2月', statement: '测试12.xlsx' }, { id: 3, year: '3月', statement: '测试12.xlsx' }, { id: 4, year: '4月', statement: '测试12.xlsx' }, { id: 5, year: '5月', statement: '测试12.xlsx' }, { id: 6, year: '6月', statement: '测试12.xlsx' }, { id: 7, year: '7月', statement: '测试12.xlsx' }, { id: 8, year: '8月', statement: '测试12.xlsx' }, { id: 9, year: '9月', statement: '测试12.xlsx' }, { id: 10, year: '10月', statement: '测试12.xlsx' }, { id: 11, year: '11月', statement: '测试12.xlsx' }, { id: 12, year: '12月', statement: '测试12.xlsx' }]);
+
+ function handleRow(record, index) {// 给偶数行设置斑马纹
+ if (index % 2 === 0) {
+ return {
+ style: {
+ background: '#FAFCFF',
+ }
+ };
+ } else {
+ return {};
+ }
+ }
+
+ const columns = [{
+ title: '序号',
+ dataIndex: 'id',
+ key: 'id',
+ width: 60,
+ render: (text, record, index) => index + 1
+ }, {
+ title: '月份',
+ dataIndex: 'year',
+ key: 'year',
+ width: 80
+ },
+ {
+ title: '报表',
+ dataIndex: 'statement',
+ key: 'statement',
+ width: 200,
+ // render: (text, r, index) => {
+
+ // }
+ }, {
+ title: '操作',
+ dataIndex: 'action',
+ width: 120,
+ render: (text, record) => {
+ return
+ 下载
+
+ }
+ }];
+
+ const scroll = useMemo(() => ({}), []);
return (
<>
@@ -24,7 +73,49 @@ const Quarter = (props) => {
QUARTERLY ASSESSMENT
-
+
+ 查询时间:
+
+
+
+
+
+
+
+
+
+ 共{limits}条信息
+
+
{
+ setQuery({ limit: pageSize, page: currentPage - 1 });
+ page.current = currentPage - 1
+ }}
+ />
+
+
+
>
diff --git a/web/client/src/sections/humanAffairs/containers/regularKPI.jsx b/web/client/src/sections/humanAffairs/containers/regularKPI.jsx
index 5c84de6..01da638 100644
--- a/web/client/src/sections/humanAffairs/containers/regularKPI.jsx
+++ b/web/client/src/sections/humanAffairs/containers/regularKPI.jsx
@@ -1,11 +1,60 @@
-import React, { useEffect, useState } from 'react';
+import React, { useEffect, useState, useMemo } from 'react';
import { connect } from 'react-redux';
-import Empty from '../components/empty';
+import { Table, Pagination, Skeleton, DatePicker } from '@douyinfe/semi-ui';
+import { SkeletonScreen } from "$components";
import '../style.less'
const RegularKPI = (props) => {
const { dispatch, actions } = props
+ const [limits, setLimits] = useState()//每页实际条数
+ const [query, setQuery] = useState({ limit: 10, page: 0 }); //页码信息
+ const [tableData, setTableData] = useState([{ id: 1, year: '1月', statement: '正式员工测试12.xlsx' }, { id: 2, year: '2月', statement: '测试12.xlsx' }, { id: 3, year: '3月', statement: '测试12.xlsx' }, { id: 4, year: '4月', statement: '测试12.xlsx' }, { id: 5, year: '5月', statement: '测试12.xlsx' }, { id: 6, year: '6月', statement: '测试12.xlsx' }, { id: 7, year: '7月', statement: '测试12.xlsx' }, { id: 8, year: '8月', statement: '测试12.xlsx' }, { id: 9, year: '9月', statement: '测试12.xlsx' }, { id: 10, year: '10月', statement: '测试12.xlsx' }, { id: 11, year: '11月', statement: '测试12.xlsx' }, { id: 12, year: '12月', statement: '测试12.xlsx' }]);
+
+ function handleRow(record, index) {// 给偶数行设置斑马纹
+ if (index % 2 === 0) {
+ return {
+ style: {
+ background: '#FAFCFF',
+ }
+ };
+ } else {
+ return {};
+ }
+ }
+
+ const columns = [{
+ title: '序号',
+ dataIndex: 'id',
+ key: 'id',
+ width: 60,
+ render: (text, record, index) => index + 1
+ }, {
+ title: '月份',
+ dataIndex: 'year',
+ key: 'year',
+ width: 80
+ },
+ {
+ title: '报表',
+ dataIndex: 'statement',
+ key: 'statement',
+ width: 200,
+ // render: (text, r, index) => {
+
+ // }
+ }, {
+ title: '操作',
+ dataIndex: 'action',
+ width: 120,
+ render: (text, record) => {
+ return
+ 下载
+
+ }
+ }];
+
+ const scroll = useMemo(() => ({}), []);
return (
<>
@@ -24,7 +73,49 @@ const RegularKPI = (props) => {
FORMAL EMPLOYEE ASSESSMENT
-
+
+ 查询时间:
+
+
+
+
+
+
+
+
+
+ 共{limits}条信息
+
+
{
+ setQuery({ limit: pageSize, page: currentPage - 1 });
+ page.current = currentPage - 1
+ }}
+ />
+
+
+
>
diff --git a/web/client/src/sections/humanAffairs/nav-item.jsx b/web/client/src/sections/humanAffairs/nav-item.jsx
index 45a1363..9d483b3 100644
--- a/web/client/src/sections/humanAffairs/nav-item.jsx
+++ b/web/client/src/sections/humanAffairs/nav-item.jsx
@@ -121,6 +121,8 @@ export function getNavItem(user, dispatch) {
to: '/humanAffairs/achievements/highKPI/highMonthly',
items: [{
itemKey: 'highMonthly', to: '/humanAffairs/achievements/highKPI/highMonthly', text: '月度过程考核'
+ },{
+ itemKey: 'Highquarter', to: '/humanAffairs/achievements/highKPI/Highquarter', text: '季度考核'
}]
}, {
itemKey: 'penalties',
diff --git a/web/client/src/sections/humanAffairs/routes.js b/web/client/src/sections/humanAffairs/routes.js
index f3ec7ed..bd655e6 100644
--- a/web/client/src/sections/humanAffairs/routes.js
+++ b/web/client/src/sections/humanAffairs/routes.js
@@ -6,7 +6,7 @@ import {
ResourceRepository,
WeeklyManagement, SaleLog, PMLog,
ProbationerKPI, RegularKPI,
- MonthlyProcess, Quarter, HighMonthly, PenaltiesRecord,
+ MonthlyProcess, Quarter, HighMonthly, PenaltiesRecord,HighQuarter,
EmployeeAuth, FormMaintenance,
PersonnelFilesDetail,
PersonalTrainRecord,
@@ -212,6 +212,11 @@ export default [{
key: 'highMonthly',
component: HighMonthly,
breadcrumb: '月度过程考核',
+ }, {
+ path: '/Highquarter',
+ key: 'Highquarter',
+ component: HighQuarter,
+ breadcrumb: '季度考核',
}]
}, {
path: '/penalties',