9.1 电子评标室统一路由和模块
This commit is contained in:
@ -4,6 +4,7 @@ import home from './HomePage/router_home';
|
|||||||
import juryRoom from './JuryRoom/router_menuJury.config';
|
import juryRoom from './JuryRoom/router_menuJury.config';
|
||||||
import approvalForm from './router_approval_form';
|
import approvalForm from './router_approval_form';
|
||||||
import partyMemberTopic from './router_partyMemberTopic';
|
import partyMemberTopic from './router_partyMemberTopic';
|
||||||
|
import { elecBidEvaluation, monitorScreen } from './router_elecEvaluation';
|
||||||
export default [
|
export default [
|
||||||
//========================================================================登陆
|
//========================================================================登陆
|
||||||
...transfer,//跳转、登陆
|
...transfer,//跳转、登陆
|
||||||
@ -11,6 +12,8 @@ export default [
|
|||||||
...approvalForm,
|
...approvalForm,
|
||||||
//党建攻坚
|
//党建攻坚
|
||||||
...partyMemberTopic,
|
...partyMemberTopic,
|
||||||
|
//电子评标室-监控大屏
|
||||||
|
...monitorScreen,
|
||||||
{
|
{
|
||||||
path: '/userformal',
|
path: '/userformal',
|
||||||
// component: '../layouts/UserLayout',
|
// component: '../layouts/UserLayout',
|
||||||
@ -47,28 +50,6 @@ export default [
|
|||||||
path: '/401',
|
path: '/401',
|
||||||
component: './401',
|
component: './401',
|
||||||
},
|
},
|
||||||
{
|
|
||||||
path: '/MonitorScreen',
|
|
||||||
routes: [
|
|
||||||
{
|
|
||||||
name: 'Home',
|
|
||||||
path: '/MonitorScreen/Home',
|
|
||||||
component: './MonitorScreen/Home',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'MonitorRoom',
|
|
||||||
path: '/MonitorScreen/MonitorRoom',
|
|
||||||
component: './MonitorScreen/MonitorRoom',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'ProjectMonitorRoom',
|
|
||||||
path: '/MonitorScreen/ProjectMonitorRoom',
|
|
||||||
component: './MonitorScreen/ProjectMonitorRoom',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{//开标室
|
{//开标室
|
||||||
path: '/room',
|
path: '/room',
|
||||||
@ -129,22 +110,9 @@ export default [
|
|||||||
path: '/',
|
path: '/',
|
||||||
redirect: '/userexpert/login',
|
redirect: '/userexpert/login',
|
||||||
},
|
},
|
||||||
{//设备管理
|
|
||||||
name: 'Device',
|
|
||||||
path: '/Device',
|
|
||||||
component: './Device',
|
|
||||||
},
|
|
||||||
{//评标室查看预约
|
|
||||||
name: 'ElecEvalReserve',
|
|
||||||
path: '/ElecEvalReserve',
|
|
||||||
component: './ElecEvalReserve',
|
|
||||||
},
|
|
||||||
...home,//各角色主页
|
...home,//各角色主页
|
||||||
...menuaZhaoBiao,//项目菜单所有路由
|
...menuaZhaoBiao,//项目菜单所有路由
|
||||||
{
|
...elecBidEvaluation,//电子评标室-监控大屏
|
||||||
path: '/AppointmentManage',
|
|
||||||
component: './AppointmentManage',
|
|
||||||
},
|
|
||||||
{//问卷调查
|
{//问卷调查
|
||||||
name: 'Questionnaire',
|
name: 'Questionnaire',
|
||||||
icon: 'UnorderedListOutlined',
|
icon: 'UnorderedListOutlined',
|
||||||
@ -335,23 +303,6 @@ export default [
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{//评标现场管理
|
|
||||||
name: 'EvalSiteManage',
|
|
||||||
icon: 'form',
|
|
||||||
path: '/EvalSiteManage',
|
|
||||||
routes: [
|
|
||||||
{//评标现场管理->评标场所人员维护
|
|
||||||
name: 'SitePerson',
|
|
||||||
path: '/EvalSiteManage/SitePerson',
|
|
||||||
component: './EvalSiteManage/SitePerson'
|
|
||||||
},
|
|
||||||
{//评标现场管理->人员报道情况查询
|
|
||||||
name: 'PersonReport',
|
|
||||||
path: '/EvalSiteManage/PersonReport',
|
|
||||||
component: './EvalSiteManage/PersonReport'
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{//供应商常用信息管理
|
{//供应商常用信息管理
|
||||||
name: 'supplierInformation',
|
name: 'supplierInformation',
|
||||||
icon: 'crown',
|
icon: 'crown',
|
||||||
@ -374,22 +325,6 @@ export default [
|
|||||||
},
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
//在线监督和事后监督
|
|
||||||
{
|
|
||||||
path: '/VideoMonitor',
|
|
||||||
routes: [
|
|
||||||
{
|
|
||||||
name: 'Online',
|
|
||||||
path: '/VideoMonitor/Online',
|
|
||||||
component: './VideoMonitor/Online',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Post',
|
|
||||||
path: '/VideoMonitor/Post',
|
|
||||||
component: './VideoMonitor/Post',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{//账号信息管理-代理机构管理员
|
{//账号信息管理-代理机构管理员
|
||||||
name: 'Account',
|
name: 'Account',
|
||||||
icon: 'form',
|
icon: 'form',
|
||||||
@ -402,11 +337,6 @@ export default [
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{//异常告警
|
|
||||||
name: 'AbnormalAlarm',
|
|
||||||
path: '/AbnormalAlarm',
|
|
||||||
component: './AbnormalAlarm'
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
component: './404',
|
component: './404',
|
||||||
},
|
},
|
||||||
|
71
config/router_elecEvaluation.ts
Normal file
71
config/router_elecEvaluation.ts
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
export const monitorScreen = [
|
||||||
|
//监控大屏
|
||||||
|
{
|
||||||
|
path: '/ElecMonitorScreen',
|
||||||
|
routes: [
|
||||||
|
{//监控大屏-首页
|
||||||
|
path: '/ElecMonitorScreen/Home',
|
||||||
|
component: './ElecEvaluation/MonitorScreen/Home',
|
||||||
|
},
|
||||||
|
{//监控大屏-评标室列表页
|
||||||
|
path: '/ElecMonitorScreen/MonitorRoom',
|
||||||
|
component: './ElecEvaluation/MonitorScreen/MonitorRoom',
|
||||||
|
},
|
||||||
|
{//监控大屏-评标室详情
|
||||||
|
path: '/ElecMonitorScreen/ProjectMonitorRoom',
|
||||||
|
component: './ElecEvaluation/MonitorScreen/ProjectMonitorRoom',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
]
|
||||||
|
|
||||||
|
export const elecBidEvaluation = [
|
||||||
|
{
|
||||||
|
path: '/ElecEvaluation',
|
||||||
|
routes: [
|
||||||
|
//在线监督和事后监督
|
||||||
|
{
|
||||||
|
path: '/ElecEvaluation/VideoMonitor',
|
||||||
|
routes: [
|
||||||
|
{
|
||||||
|
path: '/ElecEvaluation/VideoMonitor/Online',
|
||||||
|
component: './ElecEvaluation/VideoMonitor/Online',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: '/ElecEvaluation/VideoMonitor/Post',
|
||||||
|
component: './ElecEvaluation/VideoMonitor/Post',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{//异常告警
|
||||||
|
path: '/ElecEvaluation/AbnormalAlarm',
|
||||||
|
component: './ElecEvaluation/AbnormalAlarm'
|
||||||
|
},
|
||||||
|
{//设备管理
|
||||||
|
path: '/ElecEvaluation/Device',
|
||||||
|
component: './ElecEvaluation/Device',
|
||||||
|
},
|
||||||
|
{//评标现场管理
|
||||||
|
path: '/ElecEvaluation/EvalSiteManage',
|
||||||
|
routes: [
|
||||||
|
{//评标现场管理->评标场所人员维护
|
||||||
|
path: '/ElecEvaluation/EvalSiteManage/SitePerson',
|
||||||
|
component: './ElecEvaluation/EvalSiteManage/SitePerson'
|
||||||
|
},
|
||||||
|
{//评标现场管理->人员报道情况查询
|
||||||
|
path: '/ElecEvaluation/EvalSiteManage/PersonReport',
|
||||||
|
component: './ElecEvaluation/EvalSiteManage/PersonReport'
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{//评标室预约情况
|
||||||
|
path: '/ElecEvaluation/AppointmentManage',
|
||||||
|
component: './ElecEvaluation/AppointmentManage',
|
||||||
|
},
|
||||||
|
{//评标室查看预约
|
||||||
|
path: '/ElecEvaluation/ElecEvalReserve',
|
||||||
|
component: './ElecEvaluation/ElecEvalReserve',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
]
|
@ -2,24 +2,24 @@ import React, { useState, useRef } from 'react';
|
|||||||
import { message, PageHeader, Button, Spin } from 'antd';
|
import { message, PageHeader, Button, Spin } from 'antd';
|
||||||
import ProTable, { ProColumns, ActionType } from '@ant-design/pro-table';
|
import ProTable, { ProColumns, ActionType } from '@ant-design/pro-table';
|
||||||
import { getPage, handleAlarm } from './service';
|
import { getPage, handleAlarm } from './service';
|
||||||
import ViewEvalAlarmUpdateModal from '../Evaluation/BidControl/BidControlManager/components/ViewEvalAlarmUpdateModal';
|
import ViewEvalAlarmUpdateModal from '../../Evaluation/BidControl/BidControlManager/components/ViewEvalAlarmUpdateModal';
|
||||||
|
|
||||||
|
|
||||||
interface alarmData {
|
interface alarmData {
|
||||||
tilte:string;//标题
|
tilte: string;//标题
|
||||||
id:string;//告警id
|
id: string;//告警id
|
||||||
reserveId:string;//预约id
|
reserveId: string;//预约id
|
||||||
tpName:string;//项目名称
|
tpName: string;//项目名称
|
||||||
tpNumber:string;//项目编号
|
tpNumber: string;//项目编号
|
||||||
bsName:string;//标段名称
|
bsName: string;//标段名称
|
||||||
placeName:string; //评标室名称
|
placeName: string; //评标室名称
|
||||||
startDate:string; //开始时间
|
startDate: string; //开始时间
|
||||||
endDate:string; //结束时间
|
endDate: string; //结束时间
|
||||||
status:string;//处理状态:0未处理;1已处理',
|
status: string;//处理状态:0未处理;1已处理',
|
||||||
roomStatus:string;//评标室状态 0-未开启 1-进行中 2-已结束
|
roomStatus: string;//评标室状态 0-未开启 1-进行中 2-已结束
|
||||||
pNumber:string;//人数信息
|
pNumber: string;//人数信息
|
||||||
remark:string;//处理说明
|
remark: string;//处理说明
|
||||||
attachment:string;//附件id
|
attachment: string;//附件id
|
||||||
}
|
}
|
||||||
|
|
||||||
const AbnormalAalarm: React.FC<{}> = () => {
|
const AbnormalAalarm: React.FC<{}> = () => {
|
||||||
@ -34,7 +34,7 @@ const AbnormalAalarm: React.FC<{}> = () => {
|
|||||||
pageSize: 10
|
pageSize: 10
|
||||||
});
|
});
|
||||||
|
|
||||||
const alarm:alarmData ={
|
const alarm: alarmData = {
|
||||||
tilte: "测试",
|
tilte: "测试",
|
||||||
id: '',
|
id: '',
|
||||||
reserveId: '',
|
reserveId: '',
|
||||||
@ -54,25 +54,26 @@ const AbnormalAalarm: React.FC<{}> = () => {
|
|||||||
//委托列表
|
//委托列表
|
||||||
const columns: ProColumns<any>[] = [
|
const columns: ProColumns<any>[] = [
|
||||||
{
|
{
|
||||||
title: '序号', valueType: 'index', width: 50, hideInSearch:true, align: 'center'
|
title: '序号', valueType: 'index', width: 50, hideInSearch: true, align: 'center'
|
||||||
},
|
},
|
||||||
{ title: '项目名称', dataIndex: 'projectName', width: '15%', hideInSearch: false, align: 'center' },
|
{ title: '项目名称', dataIndex: 'projectName', width: '15%', hideInSearch: false, align: 'center' },
|
||||||
{ title: '标段名称', dataIndex: 'sectionName', hideInSearch: false, align: 'center' },
|
{ title: '标段名称', dataIndex: 'sectionName', hideInSearch: false, align: 'center' },
|
||||||
{ title: '评审室名称', dataIndex: 'areaName', width: '10%',hideInSearch:true, align: 'center' },
|
{ title: '评审室名称', dataIndex: 'areaName', width: '10%', hideInSearch: true, align: 'center' },
|
||||||
{ title: '告警设备类型', dataIndex: 'deviceType', hideInSearch:true, align: 'center' },
|
{ title: '告警设备类型', dataIndex: 'deviceType', hideInSearch: true, align: 'center' },
|
||||||
{ title: '告警设备编号', dataIndex: 'deviceCode', width: '15%', hideInSearch:true, align: 'center'},
|
{ title: '告警设备编号', dataIndex: 'deviceCode', width: '15%', hideInSearch: true, align: 'center' },
|
||||||
{ title: '告警消息', dataIndex: 'type', hideInSearch: false, align: 'center',
|
{
|
||||||
|
title: '告警消息', dataIndex: 'type', hideInSearch: false, align: 'center',
|
||||||
valueEnum: {
|
valueEnum: {
|
||||||
1: { text: '设备离线'},
|
1: { text: '设备离线' },
|
||||||
2: { text: '人员数量异常'},
|
2: { text: '人员数量异常' },
|
||||||
3: { text: '陌生人告警'},
|
3: { text: '陌生人告警' },
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '处理状态', dataIndex: 'status', align: 'center',hideInSearch: true,
|
title: '处理状态', dataIndex: 'status', align: 'center', hideInSearch: true,
|
||||||
valueEnum: {
|
valueEnum: {
|
||||||
0: { text: '未处理'},
|
0: { text: '未处理' },
|
||||||
1: { text: '已处理'},
|
1: { text: '已处理' },
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -80,13 +81,13 @@ const AbnormalAalarm: React.FC<{}> = () => {
|
|||||||
valueType: 'option',
|
valueType: 'option',
|
||||||
render: (_, record) => {
|
render: (_, record) => {
|
||||||
if (record.type === "1") {
|
if (record.type === "1") {
|
||||||
if(record.status === "0"){
|
if (record.status === "0") {
|
||||||
return <Button type="text" onClick={() => { handle(record); }}>处理</Button>
|
return <Button type="text" onClick={() => { handle(record); }}>处理</Button>
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
return (<Button type='text' onClick={() => { EnvData(record); setViewDetailModalVisible(true); }}>查看详情</Button>
|
return (<Button type='text' onClick={() => { EnvData(record); setViewDetailModalVisible(true); }}>查看详情</Button>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
@ -111,7 +112,7 @@ const AbnormalAalarm: React.FC<{}> = () => {
|
|||||||
hide();
|
hide();
|
||||||
message.error('处理失败请重试!');
|
message.error('处理失败请重试!');
|
||||||
return false;
|
return false;
|
||||||
}finally{
|
} finally {
|
||||||
setSpin(false);
|
setSpin(false);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -120,30 +121,30 @@ const AbnormalAalarm: React.FC<{}> = () => {
|
|||||||
* @param record 列表数据
|
* @param record 列表数据
|
||||||
*/
|
*/
|
||||||
const EnvData = (record: any) => {
|
const EnvData = (record: any) => {
|
||||||
alarm.tilte=getTypeValue(record.type);
|
alarm.tilte = getTypeValue(record.type);
|
||||||
alarm.tpName=record.projectName;
|
alarm.tpName = record.projectName;
|
||||||
alarm.tpNumber=record.projectNum;
|
alarm.tpNumber = record.projectNum;
|
||||||
alarm.bsName=record.sectionName;
|
alarm.bsName = record.sectionName;
|
||||||
alarm.id=record.id;
|
alarm.id = record.id;
|
||||||
alarm.reserveId=record.reserveId;
|
alarm.reserveId = record.reserveId;
|
||||||
alarm.placeName=record.areaName;
|
alarm.placeName = record.areaName;
|
||||||
alarm.startDate=record.startDate;
|
alarm.startDate = record.startDate;
|
||||||
alarm.endDate=record.endDate;
|
alarm.endDate = record.endDate;
|
||||||
alarm.pNumber=record.pnumber;
|
alarm.pNumber = record.pnumber;
|
||||||
alarm.status=record.status;
|
alarm.status = record.status;
|
||||||
alarm.roomStatus=record.roomStatus;
|
alarm.roomStatus = record.roomStatus;
|
||||||
alarm.remark=record.remark;
|
alarm.remark = record.remark;
|
||||||
alarm.attachment=record.attachment;
|
alarm.attachment = record.attachment;
|
||||||
setAlarmData(alarm);
|
setAlarmData(alarm);
|
||||||
}
|
}
|
||||||
|
|
||||||
function getTypeValue(key:any){
|
function getTypeValue(key: any) {
|
||||||
let val = "";
|
let val = "";
|
||||||
if (key === "2") {
|
if (key === "2") {
|
||||||
val = "人员数量异常";
|
val = "人员数量异常";
|
||||||
}else if(key === "3"){
|
} else if (key === "3") {
|
||||||
val = "陌生人告警";
|
val = "陌生人告警";
|
||||||
}else{
|
} else {
|
||||||
val = key;
|
val = key;
|
||||||
}
|
}
|
||||||
return val;
|
return val;
|
||||||
@ -187,12 +188,12 @@ const AbnormalAalarm: React.FC<{}> = () => {
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
{viewDetailModalVisible ? (
|
{viewDetailModalVisible ? (
|
||||||
<ViewEvalAlarmUpdateModal
|
<ViewEvalAlarmUpdateModal
|
||||||
alarmData={alarmData}
|
alarmData={alarmData}
|
||||||
detail={viewDetailModalVisible}
|
detail={viewDetailModalVisible}
|
||||||
isLookType={true}
|
isLookType={true}
|
||||||
onCancel={() => setViewDetailModalVisible(false)}
|
onCancel={() => setViewDetailModalVisible(false)}
|
||||||
onOk={()=>{}}
|
onOk={() => { }}
|
||||||
>
|
>
|
||||||
</ViewEvalAlarmUpdateModal>
|
</ViewEvalAlarmUpdateModal>
|
||||||
) : null
|
) : null
|
@ -192,7 +192,7 @@ export default () => {
|
|||||||
}
|
}
|
||||||
//查看预约详情跳转
|
//查看预约详情跳转
|
||||||
const viewMeetContent = () => {
|
const viewMeetContent = () => {
|
||||||
window.open("/ElecEvalReserve");
|
window.open("/ElecEvaluation/ElecEvalReserve");
|
||||||
}
|
}
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
@ -113,7 +113,7 @@ export const LocalTime = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const projectClick = () => {
|
const projectClick = () => {
|
||||||
history.push("/MonitorScreen/MonitorRoom");
|
history.push("/ElecMonitorScreen/MonitorRoom");
|
||||||
}
|
}
|
||||||
const GraphChart = (props: { type: string, chartData: any[] }) => {
|
const GraphChart = (props: { type: string, chartData: any[] }) => {
|
||||||
const { type, chartData } = props;
|
const { type, chartData } = props;
|
@ -149,7 +149,7 @@ const itemRender: PaginationProps['itemRender'] = (_, type, originalElement) =>
|
|||||||
return originalElement;
|
return originalElement;
|
||||||
};
|
};
|
||||||
export const homeClick = () => {
|
export const homeClick = () => {
|
||||||
history.push("/MonitorScreen/Home");
|
history.push("/ElecMonitorScreen/Home");
|
||||||
}
|
}
|
||||||
export const previousClick = () => {
|
export const previousClick = () => {
|
||||||
history.goBack();
|
history.goBack();
|
||||||
@ -210,7 +210,7 @@ export default () => {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
history.push({
|
history.push({
|
||||||
pathname: "/MonitorScreen/ProjectMonitorRoom",
|
pathname: "/ElecMonitorScreen/ProjectMonitorRoom",
|
||||||
state: { monitorId: item.id },
|
state: { monitorId: item.id },
|
||||||
})
|
})
|
||||||
}
|
}
|
@ -32,7 +32,7 @@ const OnlineSupervision: React.FC<{}> = () => {
|
|||||||
|
|
||||||
//在线监督
|
//在线监督
|
||||||
function supervision(record: any): void {
|
function supervision(record: any): void {
|
||||||
window.open("/MonitorScreen/ProjectMonitorRoom?monitorId=" + record.id);
|
window.open("/ElecMonitorScreen/ProjectMonitorRoom?monitorId=" + record.id);
|
||||||
}
|
}
|
||||||
|
|
||||||
const columns: ProColumns<any>[] = [
|
const columns: ProColumns<any>[] = [
|
||||||
@ -168,8 +168,8 @@ const OnlineSupervision: React.FC<{}> = () => {
|
|||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
isNotEmpty(window.location.search) && history.push(window.location.pathname);
|
isNotEmpty(window.location.search) && history.push(window.location.pathname);
|
||||||
spinSet(false);
|
spinSet(false);
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
pagination={{
|
pagination={{
|
||||||
defaultPageSize: 10,
|
defaultPageSize: 10,
|
||||||
@ -184,7 +184,7 @@ const OnlineSupervision: React.FC<{}> = () => {
|
|||||||
rowKey={"id"}
|
rowKey={"id"}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<ViewModal modalVisible = {visible} onCancel = {()=> closeViewDetails()} ref = {viewModalRef}/>
|
<ViewModal modalVisible={visible} onCancel={() => closeViewDetails()} ref={viewModalRef} />
|
||||||
</Spin>
|
</Spin>
|
||||||
)
|
)
|
||||||
}
|
}
|
@ -34,7 +34,7 @@ const PostSupervision: React.FC<{}> = () => {
|
|||||||
|
|
||||||
//评标监控回看
|
//评标监控回看
|
||||||
function reviewMonitor(record: any): void {
|
function reviewMonitor(record: any): void {
|
||||||
window.open("/MonitorScreen/ProjectMonitorRoom?monitorId=" + record.id);
|
window.open("/ElecMonitorScreen/ProjectMonitorRoom?monitorId=" + record.id);
|
||||||
}
|
}
|
||||||
|
|
||||||
const columns: ProColumns<any>[] = [
|
const columns: ProColumns<any>[] = [
|
||||||
@ -170,8 +170,8 @@ const PostSupervision: React.FC<{}> = () => {
|
|||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
isNotEmpty(window.location.search) && history.push(window.location.pathname);
|
isNotEmpty(window.location.search) && history.push(window.location.pathname);
|
||||||
spinSet(false);
|
spinSet(false);
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
pagination={{
|
pagination={{
|
||||||
defaultPageSize: 10,
|
defaultPageSize: 10,
|
||||||
@ -186,7 +186,7 @@ const PostSupervision: React.FC<{}> = () => {
|
|||||||
rowKey={"id"}
|
rowKey={"id"}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<ViewModal modalVisible = {visible} onCancel = {()=> closeViewDetails()} ref = {viewModalRef}/>
|
<ViewModal modalVisible={visible} onCancel={() => closeViewDetails()} ref={viewModalRef} />
|
||||||
</Spin>
|
</Spin>
|
||||||
)
|
)
|
||||||
}
|
}
|
Reference in New Issue
Block a user