修改路由位置,跳转功能完善

This commit is contained in:
袁帅
2022-08-25 14:44:05 +08:00
parent 2f5b0a3bb4
commit c0e2564b4a
4 changed files with 18 additions and 18 deletions

View File

@ -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', name: 'Account',
icon: 'form', icon: 'form',

View File

@ -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',
},
],
},
] ]

View File

@ -32,7 +32,7 @@ const OnlineSupervision: React.FC<{}> = () => {
//在线监督 //在线监督
function supervision(record: any): void { function supervision(record: any): void {
message.warn('功能开发中....'); window.open("/MonitorScreen/ProjectMonitorRoom?monitorId=" + record.id);
} }
const columns: ProColumns<any>[] = [ const columns: ProColumns<any>[] = [

View File

@ -34,7 +34,7 @@ const PostSupervision: React.FC<{}> = () => {
//评标监控回看 //评标监控回看
function reviewMonitor(record: any): void { function reviewMonitor(record: any): void {
message.warn('功能开发中....'); window.open("/MonitorScreen/ProjectMonitorRoom?monitorId=" + record.id);
} }
const columns: ProColumns<any>[] = [ const columns: ProColumns<any>[] = [