diff --git a/package.json b/package.json index d137a3c..557c45d 100644 --- a/package.json +++ b/package.json @@ -15,9 +15,8 @@ }, "dependencies": { "axios": "0.18.1", - "element-plus": "^1.2.0-beta.5", - "element-ui": "2.13.2", + "element-ui": "^2.15.7", "js-cookie": "2.2.0", "normalize.css": "7.0.0", "nprogress": "0.2.0", diff --git a/src/api/user.js b/src/api/user.js index 388a0f0..95a1050 100644 --- a/src/api/user.js +++ b/src/api/user.js @@ -103,6 +103,31 @@ export function AddInvitationAnswerMultiple(data) { data }) } +//公司面试邀请 +export function AddInvitationCompanyMultiple(data) { + return request({ + url: `/InvitationCompany/AddInvitationCompanyMultiple`, + method: 'post', + data + }) +} + +//公司面试时间表 +export function GetCompanyInvitation(data) { + return request({ + url: `/InvitationCompany/GetCompanyInvitation`, + method: 'post', + data + }) +} +//删除面试邀请 +export function InvitationCompanyDelete(ids) { + return request({ + url: '/InvitationCompany/Delete' , + method: 'post', + params:ids + }); +} export function UserInfoResumeIdentification(data) { return request({ @@ -141,4 +166,15 @@ export function UserInfo_List(params) { method: 'get', params }) + + + +} +//设置标签 + export function ChangeTags(params) { + return request({ + url: `/Users/ChangeTags`, + method: 'post', + params + }) } \ No newline at end of file diff --git a/src/utils/routerList.js b/src/utils/routerList.js index 2bacd97..bcaba53 100644 --- a/src/utils/routerList.js +++ b/src/utils/routerList.js @@ -12,503 +12,513 @@ export function getRoutes() { let constantRoutes1 = [] if (userInfo.UserId == 1) { constantRoutes1 = [{ - path: '/login', + path: '/login', + component: () => + import('@/views/login/index'), + hidden: true + }, + + { + path: '/404', + component: () => + import('@/views/404'), + hidden: true + }, + + { + path: '/answerDetail', + name: '答题详情', + component: () => + import('@/views/AnswerResult/detail.vue'), + hidden: true + }, + + + { + path: '/', + component: Layout, + redirect: '/dashboard', + children: [{ + path: 'dashboard', + name: '首页', + component: () => + import('@/views/dashboard/index'), + meta: { + title: '首页', + icon: 'dashboard' + } + }, { + path: 'live', + name: '直播观看', component: () => - import ('@/views/login/index'), + import('@/views/live/index'), + meta: { + title: '直播', + icon: 'video' + }, hidden: true + }] + }, + + { + path: '/example', + component: Layout, + redirect: '/example/table', + name: 'Example', + meta: { + title: '题库管理', + icon: 'el-icon-s-help' }, + children: [{ + path: 'QuestionBank', + name: 'Table', + component: () => + import('@/views/QuestionBank/index'), + meta: { + title: '题库', + icon: 'table' + } + },] + }, + // { + // path: '/moduleIndex', + // component: Layout, + // redirect: '/module/index', + // name: 'module', + // meta: { + // title: '面试题', + // icon: 'el-icon-s-help' + // }, + // children: [{ + // path: 'index', + // name: 'index', + // component: () => + // import ('@/views/TestPaper/index'), + // hidden: true, + // meta: { + // title: '试卷维护', + // icon: 'table' + // } + // }, ] + // }, + // { + // path: '/realQuestion', + // component: Layout, + // redirect: '/module/realQuestion', + // name: 'realQuestion', + // meta: { + // title: '历年真题', + // icon: 'el-icon-s-help' + // }, + // children: [{ + // path: 'recharge', + // name: 'recharge', + // component: () => + // import ('@/views/module/realQuestion'), + // meta: { + // title: '历年真题', + // icon: 'el-icon-s-management' + // } + // }] + // }, - { - path: '/404', + { + path: '/views', + component: Layout, + redirect: '/views/TestPaper', + name: 'TestPaper', + meta: { + title: '试卷管理', + icon: 'el-icon-s-help' + }, + children: [{ + path: 'TestPaperList', + name: 'Table', component: () => - import ('@/views/404'), - hidden: true + import('@/views/TestPaper/TestPaperList'), + meta: { + title: '试卷列表', + icon: 'table' + } }, - { - path: '/answerDetail', - name: '答题详情', + path: 'index', + name: 'index', component: () => - import ('@/views/AnswerResult/detail.vue'), - hidden: true + import('@/views/TestPaper/index'), + hidden: true, + meta: { + title: '试卷维护', + icon: 'table' + } }, - - { - path: '/', - component: Layout, - redirect: '/dashboard', - children: [{ - path: 'dashboard', - name: '首页', - component: () => - import ('@/views/dashboard/index'), - meta: { - title: '首页', - icon: 'dashboard' - } - }, { - path: 'live', - name: '直播观看', - component: () => - import ('@/views/live/index'), - meta: { - title: '直播', - icon: 'video' - }, - hidden: true - }] + path: 'ManualTestPaper', + name: 'Table', + component: () => + import('@/views/TestPaper/ManualTestPaper'), + meta: { + title: '组卷', + icon: 'table' + } }, - { - path: '/example', - component: Layout, - redirect: '/example/table', - name: 'Example', + ] + }, + { + path: '/order', + component: Layout, + redirect: '/', + name: 'order', + meta: { + title: '订单管理', + icon: 'el-icon-s-marketing' + }, + children: [{ + path: 'recharge', + name: 'recharge', + component: () => + import('@/views/order/rechargeList'), meta: { - title: '题库管理', - icon: 'el-icon-s-help' - }, - children: [{ - path: 'QuestionBank', - name: 'Table', - component: () => - import ('@/views/QuestionBank/index'), - meta: { - title: '题库', - icon: 'table' - } - }, ] + title: '充值记录', + } + }, { + path: 'shop', + name: 'shop', + component: () => + import('@/views/order/shopList'), + meta: { + title: '购买记录', + } + }] + }, + { + path: '/user', + component: Layout, + redirect: '/', + name: 'user', + meta: { + title: '用户管理', + icon: 'el-icon-s-help' }, - // { - // path: '/moduleIndex', - // component: Layout, - // redirect: '/module/index', - // name: 'module', - // meta: { - // title: '面试题', - // icon: 'el-icon-s-help' - // }, - // children: [{ - // path: 'index', - // name: 'index', - // component: () => - // import ('@/views/TestPaper/index'), - // hidden: true, - // meta: { - // title: '试卷维护', - // icon: 'table' - // } - // }, ] - // }, - // { - // path: '/realQuestion', - // component: Layout, - // redirect: '/module/realQuestion', - // name: 'realQuestion', - // meta: { - // title: '历年真题', - // icon: 'el-icon-s-help' - // }, - // children: [{ - // path: 'recharge', - // name: 'recharge', - // component: () => - // import ('@/views/module/realQuestion'), - // meta: { - // title: '历年真题', - // icon: 'el-icon-s-management' - // } - // }] - // }, - - { - path: '/views', - component: Layout, - redirect: '/views/TestPaper', - name: 'TestPaper', + children: [{ + path: 'user', + name: 'User', + component: () => + import('@/views/user/userlist'), meta: { - title: '试卷管理', - icon: 'el-icon-s-help' - }, - children: [{ - path: 'TestPaperList', - name: 'Table', - component: () => - import ('@/views/TestPaper/TestPaperList'), - meta: { - title: '试卷列表', - icon: 'table' - } - }, - { - path: 'index', - name: 'index', - component: () => - import ('@/views/TestPaper/index'), - hidden: true, - meta: { - title: '试卷维护', - icon: 'table' - } - }, - { - path: 'ManualTestPaper', - name: 'Table', - component: () => - import ('@/views/TestPaper/ManualTestPaper'), - meta: { - title: '组卷', - icon: 'table' - } - }, - - ] + title: '人才库', + } }, { - path: '/order', - component: Layout, - redirect: '/', - name: 'order', + path: 'interviewSchedule', + name: 'interviewSchedule', + component: () => + import('@/views/user/InterviewSchedule'), meta: { - title: '订单管理', - icon: 'el-icon-s-marketing' - }, - children: [{ - path: 'recharge', - name: 'recharge', - component: () => - import ('@/views/order/rechargeList'), - meta: { - title: '充值记录', - } - }, { - path: 'shop', - name: 'shop', - component: () => - import ('@/views/order/shopList'), - meta: { - title: '购买记录', - } - }] + title: '面试时间表', + } }, + { - path: '/user', - component: Layout, - redirect: '/', - name: 'user', - meta: { - title: '用户管理', - icon: 'el-icon-s-help' - }, - children: [{ - path: 'user', - name: 'User', - component: () => - import ('@/views/user/userlist'), - meta: { - title: '人才库', - } - }, - { - path: 'importuser', - name: 'importuser', + path: 'importuser', + name: 'importuser', - component: () => - import ('@/views/user/picuserimport'), - meta: { - title: '图片导入用户', - } - }, - { - path: 'admin', - name: 'admin', + component: () => + import('@/views/user/picuserimport'), + meta: { + title: '图片导入用户', + } + }, + { + path: 'admin', + name: 'admin', - component: () => - import ('@/views/user/adminList'), - meta: { - title: '管理员列表', - } - }, + component: () => + import('@/views/user/adminList'), + meta: { + title: '管理员列表', + } + }, - ] + ] + }, { + path: '/password', + component: Layout, + redirect: '/', + name: 'password', + meta: { + title: '系统管理', + icon: 'el-icon-s-platform' + }, + children: [{ + path: 'index', + name: 'index', + component: () => + import('@/views/password/index'), + meta: { + title: '忘记密码', + } }, { - path: '/password', - component: Layout, - redirect: '/', - name: 'password', + path: 'TestPaperClass', + name: 'Table', + component: () => + import('@/views/TestPaper/TestPaperClass'), meta: { - title: '系统管理', - icon: 'el-icon-s-platform' - }, - children: [{ - path: 'index', - name: 'index', - component: () => - import ('@/views/password/index'), - meta: { - title: '忘记密码', - } - }, { - path: 'TestPaperClass', - name: 'Table', - component: () => - import ('@/views/TestPaper/TestPaperClass'), - meta: { - title: '分类管理', - } - }, { - path: 'carousel', - name: 'carousel', - component: () => - import ('@/views/carousel/index'), - meta: { - title: '轮播图', - } - }, { - path: 'new', - name: 'new', - component: () => - import ('@/views/carousel/new'), - meta: { - title: '最新资讯', - } - }] - }, - // 404 page must be placed at the end !!! - { - path: '*', - redirect: '/404', - hidden: true - } + title: '分类管理', + } + }, { + path: 'carousel', + name: 'carousel', + component: () => + import('@/views/carousel/index'), + meta: { + title: '轮播图', + } + }, { + path: 'new', + name: 'new', + component: () => + import('@/views/carousel/new'), + meta: { + title: '最新资讯', + } + }] + }, + // 404 page must be placed at the end !!! + { + path: '*', + redirect: '/404', + hidden: true + } ] } else { constantRoutes1 = [{ - path: '/login', - component: () => - import ('@/views/login/index'), - hidden: true - }, + path: '/login', + component: () => + import('@/views/login/index'), + hidden: true + }, - { - path: '/404', + { + path: '/404', + component: () => + import('@/views/404'), + hidden: true + }, + + { + path: '/example', + component: Layout, + redirect: '/example/table', + name: 'Example', + meta: { + title: '题库管理', + icon: 'el-icon-s-help' + }, + children: [{ + path: 'QuestionBank', + name: 'Table', component: () => - import ('@/views/404'), - hidden: true + import('@/views/QuestionBank/index'), + meta: { + title: '题库', + icon: 'table' + } + },] + }, + { + path: '/moduleIndex', + component: Layout, + redirect: '/module/index', + name: 'module', + meta: { + title: '面试题', + icon: 'el-icon-s-help' }, - - { - path: '/example', - component: Layout, - redirect: '/example/table', - name: 'Example', + children: [{ + path: 'recharge', + name: 'recharge', + component: () => + import('@/views/module/index'), meta: { - title: '题库管理', - icon: 'el-icon-s-help' - }, - children: [{ - path: 'QuestionBank', - name: 'Table', - component: () => - import ('@/views/QuestionBank/index'), - meta: { - title: '题库', - icon: 'table' - } - }, ] + title: '面试题', + icon: 'el-icon-s-operation' + } }, { - path: '/moduleIndex', - component: Layout, - redirect: '/module/index', - name: 'module', + path: 'index', + name: 'index', + component: () => + import('@/views/TestPaper/index'), + hidden: true, meta: { - title: '面试题', - icon: 'el-icon-s-help' - }, - children: [{ - path: 'recharge', - name: 'recharge', - component: () => - import ('@/views/module/index'), - meta: { - title: '面试题', - icon: 'el-icon-s-operation' - } - }, - { - path: 'index', - name: 'index', - component: () => - import ('@/views/TestPaper/index'), - hidden: true, - meta: { - title: '试卷维护', - icon: 'table' - } - }, - ] + title: '试卷维护', + icon: 'table' + } }, - // { - // path: '/realQuestion', - // component: Layout, - // redirect: '/module/realQuestion', - // name: 'realQuestion', - // meta: { - // title: '历年真题', - // icon: 'el-icon-s-help' - // }, - // children: [{ - // path: 'recharge', - // name: 'recharge', - // component: () => - // import ('@/views/module/realQuestion'), - // meta: { - // title: '历年真题', - // icon: 'el-icon-s-management' - // } - // }] - // }, + ] + }, + // { + // path: '/realQuestion', + // component: Layout, + // redirect: '/module/realQuestion', + // name: 'realQuestion', + // meta: { + // title: '历年真题', + // icon: 'el-icon-s-help' + // }, + // children: [{ + // path: 'recharge', + // name: 'recharge', + // component: () => + // import ('@/views/module/realQuestion'), + // meta: { + // title: '历年真题', + // icon: 'el-icon-s-management' + // } + // }] + // }, + { + path: '/views', + component: Layout, + redirect: '/views/TestPaper', + name: 'TestPaper', + meta: { + title: '试卷管理', + icon: 'el-icon-s-help' + }, + children: [{ + path: 'TestPaperList', + name: 'Table', + component: () => + import('@/views/TestPaper/TestPaperList'), + meta: { + title: '试卷列表', + icon: 'table' + } + }, { - path: '/views', - component: Layout, - redirect: '/views/TestPaper', - name: 'TestPaper', + path: 'index', + name: 'index', + component: () => + import('@/views/TestPaper/index'), + hidden: true, meta: { - title: '试卷管理', - icon: 'el-icon-s-help' - }, - children: [{ - path: 'TestPaperList', - name: 'Table', - component: () => - import ('@/views/TestPaper/TestPaperList'), - meta: { - title: '试卷列表', - icon: 'table' - } - }, - { - path: 'index', - name: 'index', - component: () => - import ('@/views/TestPaper/index'), - hidden: true, - meta: { - title: '试卷维护', - icon: 'table' - } - }, - // { - // path: 'ManualTestPaper', - // name: 'Table', - // component: () => import('@/views/TestPaper/ManualTestPaper'), - // meta: { - // title: '组卷', - // icon: 'table' - // } - // }, + title: '试卷维护', + icon: 'table' + } + }, + // { + // path: 'ManualTestPaper', + // name: 'Table', + // component: () => import('@/views/TestPaper/ManualTestPaper'), + // meta: { + // title: '组卷', + // icon: 'table' + // } + // }, - ] + ] + }, + { + path: '/order', + component: Layout, + redirect: '/', + name: 'order', + meta: { + title: '订单管理', + icon: 'el-icon-s-marketing' }, - { - path: '/order', - component: Layout, - redirect: '/', - name: 'order', + children: [{ + path: 'recharge', + name: 'recharge', + component: () => + import('@/views/order/rechargeList'), meta: { - title: '订单管理', - icon: 'el-icon-s-marketing' - }, - children: [{ - path: 'recharge', - name: 'recharge', - component: () => - import ('@/views/order/rechargeList'), - meta: { - title: '充值记录', - } - }, { - path: 'shop', - name: 'shop', - component: () => - import ('@/views/order/shopList'), - meta: { - title: '购买记录', - } - }] + title: '充值记录', + } + }, { + path: 'shop', + name: 'shop', + component: () => + import('@/views/order/shopList'), + meta: { + title: '购买记录', + } + }] + }, + { + path: '/user', + component: Layout, + redirect: '/', + name: 'user', + meta: { + title: '用户管理', + icon: 'el-icon-s-help' }, - { - path: '/user', - component: Layout, - redirect: '/', - name: 'user', + children: [{ + path: 'user', + name: 'User', + component: () => + import('@/views/user/userlist'), meta: { - title: '用户管理', - icon: 'el-icon-s-help' - }, - children: [{ - path: 'user', - name: 'User', - component: () => - import ('@/views/user/userlist'), - meta: { - title: '人才库', - } - }, + title: '人才库', + } + }, - ] + ] + }, { + path: '/password', + component: Layout, + redirect: '/', + name: 'password', + meta: { + title: '系统管理', + icon: 'el-icon-s-platform' + }, + children: [{ + path: 'index', + name: 'index', + component: () => + import('@/views/password/index'), + meta: { + title: '忘记密码', + } }, { - path: '/password', - component: Layout, - redirect: '/', - name: 'password', + path: 'TestPaperClass', + name: 'Table', + component: () => + import('@/views/TestPaper/TestPaperClass'), meta: { - title: '系统管理', - icon: 'el-icon-s-platform' - }, - children: [{ - path: 'index', - name: 'index', - component: () => - import ('@/views/password/index'), - meta: { - title: '忘记密码', - } - }, { - path: 'TestPaperClass', - name: 'Table', - component: () => - import ('@/views/TestPaper/TestPaperClass'), - meta: { - title: '分类管理', - } - }, { - path: 'carousel', - name: 'carousel', - component: () => - import ('@/views/carousel/index'), - meta: { - title: '轮播图', - } - }, { - path: 'new', - name: 'new', - component: () => - import ('@/views/carousel/new'), - meta: { - title: '最新资讯', - } - }] - }, - // 404 page must be placed at the end !!! - { - path: '*', - redirect: '/404', - hidden: true - } + title: '分类管理', + } + }, { + path: 'carousel', + name: 'carousel', + component: () => + import('@/views/carousel/index'), + meta: { + title: '轮播图', + } + }, { + path: 'new', + name: 'new', + component: () => + import('@/views/carousel/new'), + meta: { + title: '最新资讯', + } + }] + }, + // 404 page must be placed at the end !!! + { + path: '*', + redirect: '/404', + hidden: true + } ] } diff --git a/src/views/user/InterviewSchedule.vue b/src/views/user/InterviewSchedule.vue new file mode 100644 index 0000000..997277c --- /dev/null +++ b/src/views/user/InterviewSchedule.vue @@ -0,0 +1,348 @@ + + + + + \ No newline at end of file diff --git a/src/views/user/picuserimport.vue b/src/views/user/picuserimport.vue index 18db5d0..811e5f4 100644 --- a/src/views/user/picuserimport.vue +++ b/src/views/user/picuserimport.vue @@ -52,6 +52,19 @@
+
+ + + + +
-
- -
+
-
+
- + @@ -22,137 +19,89 @@ + + + + + + + + + + + + + 搜索 重置 - 邀请面试 + 邀请面试(线上) + + 邀请面试(现场)
- 下载模板 - + 下载模板 + 导入用户
- + ">
所属分类
- - - + + +
- + - +
- + " @selection-change="handleSelectionChange" :stripe="true"> - - + + - + - + @@ -160,86 +109,75 @@ - - - \ No newline at end of file diff --git a/vue.config.js b/vue.config.js index ff4d0f4..60d350b 100644 --- a/vue.config.js +++ b/vue.config.js @@ -38,8 +38,8 @@ module.exports = { }, proxy: { '/development': { - target: `http://inteview.t1j2.com/`, //后台服务地址 - // target:'http://localhost:8877', + // target: `http://inteview.t1j2.com/`, //后台服务地址 + target:'http://localhost:8877', changeOrigin: true, pathRewrite: { '^/development': ''