408249787 2 år sedan
förälder
incheckning
a741cbd2f6
3 ändrade filer med 5 tillägg och 1 borttagningar
  1. 4 0
      src/router/generator-platform-routers.js
  2. 1 1
      src/views/opc/Opc.vue
  3. 0 0
      src/views/opc/OpcInfo.vue

+ 4 - 0
src/router/generator-platform-routers.js

@@ -465,6 +465,10 @@ export const constantRouterMap = [
     path: '/opc',
     component: () => import('@/views/opc/Opc.vue')
   },
+  {
+    path: '/opc/info',
+    component: () => import('@/views/opc/OpcInfo.vue')
+  },
   {
     path: '/toWorkplaceBacklog',
     component: () => import('@/views/statisticView/22')

+ 1 - 1
src/views/opc/Opc.vue

@@ -23,7 +23,7 @@
           <template slot="title">
             {{ item.positionNum }}
           </template>
-          <div class="info" @click="handleEdit(item)"> {{ item.positionNum }}</div>
+          <div class="info" @click.ctrl="handleEdit(item)"> {{ item.positionNum }}</div>
         </a-tooltip>
       </VueDragResize>
     </div>

+ 0 - 0
src/views/opc/Opc copy.vue → src/views/opc/OpcInfo.vue