فهرست منبع

多余页面清理

yanliming 1 سال پیش
والد
کامیت
ba72eb3db0
4فایلهای تغییر یافته به همراه2 افزوده شده و 137 حذف شده
  1. 1 6
      src/api/base/personInfo.js
  2. 0 84
      src/routers/modules/base.js
  3. 1 36
      src/routers/modules/statistical.js
  4. 0 11
      src/views/base/personInfo-detail.vue

+ 1 - 6
src/api/base/personInfo.js

@@ -41,11 +41,6 @@ function batchRemove(idList) {
   });
 }
 
-function check(id) {
-  return request.post(constant.serverUrl + "/base/personInfo/check/" + id);
-}
-
-
 export default {
-  pageList, create, edit, add, update, remove, batchRemove,check
+  pageList, create, edit, add, update, remove, batchRemove
 }

+ 0 - 84
src/routers/modules/base.js

@@ -11,90 +11,6 @@ var routers = [
                         title: '人员管理'
                 }
         },
-        {
-                path: '/base/enterpriseInfo/list',
-                name: 'baseEnterpriseInfoList',
-                // route level code-splitting
-                // this generates a separate chunk (about.[hash].js) for this route
-                // which is lazy-loaded when the route is visited.
-                component: () => import('@/views/base/enterpriseInfo-list.vue'),
-                meta: {
-                        roles: ["admin"],
-                        title: '企业管理'
-                }
-        },
-        {
-                path: '/base/newsInfo/list',
-                name: 'baseNewsInfoList',
-                // route level code-splitting
-                // this generates a separate chunk (about.[hash].js) for this route
-                // which is lazy-loaded when the route is visited.
-                component: () => import('@/views/base/newsInfo-list.vue'),
-                meta: {
-                        roles: ["admin"],
-                        title: '新闻管理'
-                }
-        },
-        {
-                path: '/base/jobInformationInfo/list',
-                name: 'baseJobInformationInfoList',
-                // route level code-splitting
-                // this generates a separate chunk (about.[hash].js) for this route
-                // which is lazy-loaded when the route is visited.
-                component: () => import('@/views/base/jobInformationInfo-list.vue'),
-                meta: {
-                        roles: ["admin"],
-                        title: '求职信息管理'
-                }
-        },
-        {
-                path: '/base/recruitInformationInfo/list',
-                name: 'baseRecruitInformationInfoList',
-                // route level code-splitting
-                // this generates a separate chunk (about.[hash].js) for this route
-                // which is lazy-loaded when the route is visited.
-                component: () => import('@/views/base/recruitInformationInfo-list.vue'),
-                meta: {
-                        roles: ["admin"],
-                        title: '招聘信息管理'
-                }
-        },
-        {
-                path: '/base/shareWorksInfo/list',
-                name: 'baseShareWorksInfoList',
-                // route level code-splitting
-                // this generates a separate chunk (about.[hash].js) for this route
-                // which is lazy-loaded when the route is visited.
-                component: () => import('@/views/base/shareWorksInfo-list.vue'),
-                meta: {
-                        roles: ["admin"],
-                        title: '共享用工信息'
-                }
-        },
-        {
-                path: '/base/trainingInfo/list',
-                name: 'baseTrainingInfoList',
-                // route level code-splitting
-                // this generates a separate chunk (about.[hash].js) for this route
-                // which is lazy-loaded when the route is visited.
-                component: () => import('@/views/base/trainingInfo-list.vue'),
-                meta: {
-                        roles: ["admin"],
-                        title: '技能培训信息'
-                }
-        },
-        {
-                path: '/base/mobileBannerInfo/list',
-                name: 'baseMobileBannerInfoList',
-                // route level code-splitting
-                // this generates a separate chunk (about.[hash].js) for this route
-                // which is lazy-loaded when the route is visited.
-                component: () => import('@/views/base/mobileBannerInfo-list.vue'),
-                meta: {
-                        roles: ["admin"],
-                        title: '移动端首页图'
-                }
-        },
 ]
 
 export default routers;

+ 1 - 36
src/routers/modules/statistical.js

@@ -1,40 +1,5 @@
 var routers = [
-    {
-            path: '/statistical/dailyReport/list',
-            name: 'statisticalDailyReportList',
-            // route level code-splitting
-            // this generates a separate chunk (about.[hash].js) for this route
-            // which is lazy-loaded when the route is visited.
-            component: () => import('@/views/statistical/dailyReport-list.vue'),
-            meta: {
-                    roles: ["admin"],
-                    title: '统计日报表'
-            }
-    },
-    {
-        path: '/statistical/dailyGroupReport/list',
-        name: 'statisticalDailyGroupReportList',
-        // route level code-splitting
-        // this generates a separate chunk (about.[hash].js) for this route
-        // which is lazy-loaded when the route is visited.
-        component: () => import('@/views/statistical/dailyGroupReport-list.vue'),
-        meta: {
-                roles: ["admin"],
-                title: '分组统计日报表'
-        }
-     },
-     {
-        path: '/statistical/generateReport/list',
-        name: 'statisticalGenerateReportList',
-        // route level code-splitting
-        // this generates a separate chunk (about.[hash].js) for this route
-        // which is lazy-loaded when the route is visited.
-        component: () => import('@/views/statistical/generateReport-list.vue'),
-        meta: {
-                roles: ["admin"],
-                title: '历史分组统计日报表'
-        }
-     },
+
 ]
 
 export default routers;

+ 0 - 11
src/views/base/personInfo-detail.vue

@@ -82,7 +82,6 @@
 import Constant from "@/constant";
 import { getToken } from "@/utils/auth"; // get token from cookie
 import personInfoApi from "@/api/base/personInfo";
-import enterpriseInfoApi from "@/api/base/enterpriseInfo";
 
 export default {
   props: ["businessKey", "title"],
@@ -127,16 +126,6 @@ export default {
     };
   },
   created() {
-    var self = this;
-
-    enterpriseInfoApi.list().then(function (response) {
-    var jsonData = response.data;
-    if (jsonData.result) {
-        if (jsonData.data != null && jsonData.data != "") {
-            self.enterpriseList = jsonData.data;
-        }
-    }
-    });
   },
   methods: {
     closeDialog() {