刘琳琳 преди 3 месеца
родител
ревизия
63f682b8fa
променени са 3 файла, в които са добавени 77 реда и са изтрити 77 реда
  1. 73 73
      src/router/index.js
  2. 2 2
      src/views/user_manage/index.vue
  3. 2 2
      src/views/white_list/index.vue

+ 73 - 73
src/router/index.js

@@ -211,35 +211,35 @@ export const constantRoutes = [
       }
     ]
   },
-  {
-    path: '/visitors_list',
-    component: Layout,
-    children: [
-      {
-        path: 'index',
-        name: 'visitors_list',
-        component: () => import('@/views/visitors_list/index'),
-        meta: {
-          title: '访客列表',
-          role: [2, 3, 4, 5, 99],
-          visitorType: ['2'],
-          icon: 'el-icon-user'
-        }
-      }
-    ]
-  },
-  {
-    path: '/visitors_record',
-    component: Layout,
-    children: [
-      {
-        path: 'index',
-        name: 'visitors_record',
-        component: () => import('@/views/visitors_record/index'),
-        meta: { title: '访客记录', role: [5, 99], icon: 'el-icon-date' }
-      }
-    ]
-  },
+  // {
+  //   path: '/visitors_list',
+  //   component: Layout,
+  //   children: [
+  //     {
+  //       path: 'index',
+  //       name: 'visitors_list',
+  //       component: () => import('@/views/visitors_list/index'),
+  //       meta: {
+  //         title: '访客列表',
+  //         role: [2, 3, 4, 5, 99],
+  //         visitorType: ['2'],
+  //         icon: 'el-icon-user'
+  //       }
+  //     }
+  //   ]
+  // },
+  // {
+  //   path: '/visitors_record',
+  //   component: Layout,
+  //   children: [
+  //     {
+  //       path: 'index',
+  //       name: 'visitors_record',
+  //       component: () => import('@/views/visitors_record/index'),
+  //       meta: { title: '访客记录', role: [5, 99], icon: 'el-icon-date' }
+  //     }
+  //   ]
+  // },
   {
     path: '/make_appointment_List',
     component: Layout,
@@ -364,33 +364,33 @@ export const constantRoutes = [
       }
     ]
   },
-  {
-    path: '/monitor_management',
-    component: Layout,
-    meta: { title: '布控管理', role: [2, 3, 4, 5], icon: 'el-icon-s-help' },
-    children: [
-      {
-        path: 'monitor_management',
-        name: 'monitor_management',
-        component: () => import('@/views/monitor_management'),
-        meta: {
-          title: '布控名单',
-          role: [2, 3, 4, 5],
-          icon: 'el-icon-bangzhu'
-        }
-      },
-      {
-        path: 'warning_management',
-        name: 'warning_management',
-        component: () => import('@/views/warning_record'),
-        meta: {
-          title: '预警记录',
-          role: [2, 3, 4, 5],
-          icon: 'el-icon-message-solid'
-        }
-      }
-    ]
-  },
+  // {
+  //   path: '/monitor_management',
+  //   component: Layout,
+  //   meta: { title: '布控管理', role: [2, 3, 4, 5], icon: 'el-icon-s-help' },
+  //   children: [
+  //     {
+  //       path: 'monitor_management',
+  //       name: 'monitor_management',
+  //       component: () => import('@/views/monitor_management'),
+  //       meta: {
+  //         title: '布控名单',
+  //         role: [2, 3, 4, 5],
+  //         icon: 'el-icon-bangzhu'
+  //       }
+  //     },
+  //     {
+  //       path: 'warning_management',
+  //       name: 'warning_management',
+  //       component: () => import('@/views/warning_record'),
+  //       meta: {
+  //         title: '预警记录',
+  //         role: [2, 3, 4, 5],
+  //         icon: 'el-icon-message-solid'
+  //       }
+  //     }
+  //   ]
+  // },
   {
     path: '/kind_list',
     component: Layout,
@@ -503,23 +503,23 @@ export const constantRoutes = [
       }
     ]
   },
-  {
-    path: '/visitee_list',
-    component: Layout,
-    children: [
-      {
-        path: 'index',
-        name: 'visitee_list',
-        component: () => import('@/views/visitee_list/index'),
-        meta: {
-          title: '受访人列表',
-          role: [2, 3, 4, 5, 99],
-          visitorType: ['2'],
-          icon: 'el-icon-user-solid'
-        }
-      }
-    ]
-  },
+  // {
+  //   path: '/visitee_list',
+  //   component: Layout,
+  //   children: [
+  //     {
+  //       path: 'index',
+  //       name: 'visitee_list',
+  //       component: () => import('@/views/visitee_list/index'),
+  //       meta: {
+  //         title: '受访人列表',
+  //         role: [2, 3, 4, 5, 99],
+  //         visitorType: ['2'],
+  //         icon: 'el-icon-user-solid'
+  //       }
+  //     }
+  //   ]
+  // },
   // 404 page must be placed at the end !!!
   { path: '*', redirect: '/404', hidden: true }
 ]

+ 2 - 2
src/views/user_manage/index.vue

@@ -244,7 +244,7 @@
           {{ scope.row.createTime }}
         </template>
       </el-table-column>
-      <el-table-column label="微信通用/内宾码" align="center">
+<!--      <el-table-column label="微信通用/内宾码" align="center">
         <template slot-scope="scope">
           <el-image
             style="width: auto; height: 70px;line-height: 70px;"
@@ -287,7 +287,7 @@
             <div slot="error" class="image-slot">暂无照片</div>
           </el-image>
         </template>
-      </el-table-column>
+      </el-table-column>-->
       <el-table-column align="center" prop="" label="操作区" width="200">
         <template slot-scope="scope">
           <el-button

+ 2 - 2
src/views/white_list/index.vue

@@ -2253,7 +2253,7 @@ export default {
           this.hasDealNumber = i + 1
           this.waitDealNumber = data.length - (i + 1)
           setTimeout(() => {
-            this.doUploadAddUserInfo(++i, data)
+            this.doUploadAddUserInfo(++i, data, type, uniqueCode)
           }, timeout)
         })
       } else {
@@ -2268,7 +2268,7 @@ export default {
           this.hasDealNumber = i + 1
           this.waitDealNumber = data.length - (i + 1)
           setTimeout(() => {
-            this.doUploadAddUserInfo(++i, data)
+            this.doUploadAddUserInfo(++i, data, type, uniqueCode)
           }, timeout)
         })
       }