From c0e2564b4a14c29f68b31822269f6c4dd29317df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A2=81=E5=B8=85?= Date: Thu, 25 Aug 2022 14:44:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B7=AF=E7=94=B1=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE=EF=BC=8C=E8=B7=B3=E8=BD=AC=E5=8A=9F=E8=83=BD=E5=AE=8C?= =?UTF-8?q?=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/router.config.ts | 16 ++++++++++++++++ config/router_transfer.ts | 16 ---------------- .../Online/components/OnlineSupervision.tsx | 2 +- src/pages/VideoMonitor/Post/index.tsx | 2 +- 4 files changed, 18 insertions(+), 18 deletions(-) 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[] = [