diff --git a/config/router.config.ts b/config/router.config.ts index 46b1726..d39c5cc 100644 --- a/config/router.config.ts +++ b/config/router.config.ts @@ -323,6 +323,22 @@ export default [ }, ] }, + //在线监督和事后监督 + { + path: '/VideoMonitor', + routes: [ + { + name: 'Online', + path: '/VideoMonitor/Online', + component: './VideoMonitor/Online', + }, + { + name: 'Post', + path: '/VideoMonitor/Post', + component: './VideoMonitor/Post', + }, + ], + }, {//账号信息管理-代理机构管理员 name: 'Account', icon: 'form', diff --git a/config/router_transfer.ts b/config/router_transfer.ts index 712d68e..fe00262 100644 --- a/config/router_transfer.ts +++ b/config/router_transfer.ts @@ -102,20 +102,4 @@ export default [ }, ], }, - { - path: '/VideoMonitor', - routes: [ - { - name: 'Online', - path: '/VideoMonitor/Online', - component: './VideoMonitor/Online', - }, - { - name: 'Post', - path: '/VideoMonitor/Post', - component: './VideoMonitor/Post', - }, - ], - }, - ] diff --git a/src/pages/VideoMonitor/Online/components/OnlineSupervision.tsx b/src/pages/VideoMonitor/Online/components/OnlineSupervision.tsx index c922bcf..d2d1d28 100644 --- a/src/pages/VideoMonitor/Online/components/OnlineSupervision.tsx +++ b/src/pages/VideoMonitor/Online/components/OnlineSupervision.tsx @@ -32,7 +32,7 @@ const OnlineSupervision: React.FC<{}> = () => { //在线监督 function supervision(record: any): void { - message.warn('功能开发中....'); + window.open("/MonitorScreen/ProjectMonitorRoom?monitorId=" + record.id); } const columns: ProColumns[] = [ diff --git a/src/pages/VideoMonitor/Post/index.tsx b/src/pages/VideoMonitor/Post/index.tsx index cdf1089..05d7ac6 100644 --- a/src/pages/VideoMonitor/Post/index.tsx +++ b/src/pages/VideoMonitor/Post/index.tsx @@ -34,7 +34,7 @@ const PostSupervision: React.FC<{}> = () => { //评标监控回看 function reviewMonitor(record: any): void { - message.warn('功能开发中....'); + window.open("/MonitorScreen/ProjectMonitorRoom?monitorId=" + record.id); } const columns: ProColumns[] = [