Browse Source

继续改下地址,有点莫名其妙

wukai 2 weeks ago
parent
commit
b6f2789997
3 changed files with 6 additions and 6 deletions
  1. 4 4
      src/router/index.js
  2. 1 1
      src/views/biz/db/index.vue
  3. 1 1
      src/views/biz/dc/index.vue

+ 4 - 4
src/router/index.js

@@ -125,11 +125,11 @@ export const constantRoutes = [
   },
   {
     path: '',
-    redirect: '/device/channel',
+    redirect: '/dc',
     hidden: true,
     children: [
       {
-        path: '/device/channel',
+        path: '/dc',
         component: () => import('@/views/biz/dc/index'),
         name: '通道列表',
       }
@@ -137,11 +137,11 @@ export const constantRoutes = [
   },
   {
     path: '',
-    redirect: '/device/channel/record',
+    redirect: '/dcr',
     hidden: true,
     children: [
       {
-        path: '/device/channel/record',
+        path: '/dcr',
         component: () => import('@/views/biz/dc/record'),
         name: '通道录像',
       }

+ 1 - 1
src/views/biz/db/index.vue

@@ -313,7 +313,7 @@ function handleSync(row) {
 /** 通道详情 */
 function handleChannel(row) {
   // 使用dialog方式打开仓库配置页面
-  dialogUrl.value = "/device/channel?deviceCode=" + row.deviceCode;
+  dialogUrl.value = "/dc?deviceCode=" + row.deviceCode;
   dialogTitle.value = "通道详情";
   houseConfigOpen.value = true;
 }

+ 1 - 1
src/views/biz/dc/index.vue

@@ -308,7 +308,7 @@ function handleUpdate(row) {
 }
 
 function handleReplay(row) {
-  dialogUrl.value = "/device/channel/record?device=" + row.deviceCode + "&channel=" + row.channelId;
+  dialogUrl.value = "/dcr?device=" + row.deviceCode + "&channel=" + row.channelId;
   dialogTitle.value = row.channelName+"通道录像";
   houseConfigOpen.value = true;
 }