From f59eaf59ac07f1e67bac6fd956423ad75a1fdb76 Mon Sep 17 00:00:00 2001 From: tzy Date: Fri, 30 May 2025 10:55:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=BA=94=E8=81=98=E7=99=BB?= =?UTF-8?q?=E8=AE=B0=E8=A1=A8=E9=A2=84=E8=A7=88=E5=92=8C=E6=89=93=E5=8D=B0?= =?UTF-8?q?=E5=8A=9F=E8=83=BD-=20=E6=96=B0=E5=A2=9E=E5=BA=94=E8=81=98?= =?UTF-8?q?=E7=99=BB=E8=AE=B0=E8=A1=A8=E9=A2=84=E8=A7=88=E5=AF=B9=E8=AF=9D?= =?UTF-8?q?=E6=A1=86=EF=BC=8C=E7=94=A8=E4=BA=8E=E5=B1=95=E7=A4=BA=E9=9D=A2?= =?UTF-8?q?=E8=AF=95=E8=80=85=E8=AF=A6=E7=BB=86=E4=BF=A1=E6=81=AF=20-=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=89=93=E5=8D=B0=E5=8A=9F=E8=83=BD=EF=BC=8C?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E5=B0=86=E5=BA=94=E8=81=98=E7=99=BB=E8=AE=B0?= =?UTF-8?q?=E8=A1=A8=E6=89=93=E5=8D=B0=E4=B8=BA=20A4=20=E6=A0=BC=E5=BC=8F?= =?UTF-8?q?=20-=20=E4=BC=98=E5=8C=96=E9=9D=A2=E8=AF=95=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E7=95=8C=E9=9D=A2=EF=BC=8C=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E9=A2=84=E8=A7=88=E6=8C=89=E9=92=AE=20-=20=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=20FillForm=20=E9=A1=B5=E9=9D=A2=E7=94=A8=E4=BA=8E=E5=A1=AB?= =?UTF-8?q?=E5=86=99=E5=BA=94=E8=81=98=E7=99=BB=E8=AE=B0=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/personnelMatters/interviewer.js | 1 + src/api/restaurant/images.js | 7 + src/permission.js | 2 +- src/router/index.js | 15 + src/views/attendance/param/index.vue | 22 +- .../personnelMatters/interviewer/FillForm.vue | 464 +++++++++++++++ .../personnelMatters/interviewer/index.vue | 541 +++++++++++++++++- src/views/restaurant/images/index.vue | 182 ++++-- src/views/system/dept/index.vue | 48 +- src/views/system/staffDetail/index.vue | 2 + 10 files changed, 1229 insertions(+), 55 deletions(-) create mode 100644 src/views/personnelMatters/interviewer/FillForm.vue diff --git a/src/api/personnelMatters/interviewer.js b/src/api/personnelMatters/interviewer.js index f21f377..fc2ecb3 100644 --- a/src/api/personnelMatters/interviewer.js +++ b/src/api/personnelMatters/interviewer.js @@ -42,3 +42,4 @@ export function delInterviewer(id) { method: 'delete' }) } + diff --git a/src/api/restaurant/images.js b/src/api/restaurant/images.js index baf81dd..f2575d3 100644 --- a/src/api/restaurant/images.js +++ b/src/api/restaurant/images.js @@ -28,3 +28,10 @@ export function uploadDispatchingFile(data){ method:'post' }) } +export function updateImages(data) { + return request({ + url: '/restaurant/images/update', + method: 'put', + data: data + }); +} diff --git a/src/permission.js b/src/permission.js index c568979..483dd86 100644 --- a/src/permission.js +++ b/src/permission.js @@ -8,7 +8,7 @@ import { isRelogin } from '@/utils/request' NProgress.configure({ showSpinner: false }) -const whiteList = ['/login', '/register'] +const whiteList = ['/login', '/register', '/FillForm'] router.beforeEach((to, from, next) => { NProgress.start() diff --git a/src/router/index.js b/src/router/index.js index 446dae3..0f3e15c 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -45,6 +45,10 @@ export const constantRoutes = [ path: '/login', component: () => import('@/views/login'), hidden: true + }, { + path: '/FillForm', + component: () => import('@/views/personnelMatters/interviewer/FillForm.vue'), + hidden: true }, { path: '/register', @@ -134,6 +138,16 @@ export const dynamicRoutes = [ } ] }, + { + path: '/personnelMatters/interviewer/fill-form', + name: 'FillForm', + component: () => import('@/views/personnelMatters/interviewer/FillForm.vue'), + hidden: true, + meta: { title: '应聘登记表填写', + icon: 'form', + requiresAuth: false + } + }, { path: '/tool/gen-edit', component: Layout, @@ -152,6 +166,7 @@ export const dynamicRoutes = [ // 防止连续点击多次路由报错 let routerPush = Router.prototype.push; + let routerReplace = Router.prototype.replace; // push Router.prototype.push = function push(location) { diff --git a/src/views/attendance/param/index.vue b/src/views/attendance/param/index.vue index 89cc819..ad6fde2 100644 --- a/src/views/attendance/param/index.vue +++ b/src/views/attendance/param/index.vue @@ -9,14 +9,14 @@ @keyup.enter.native="handleQuery" /> - + 搜索 重置 @@ -73,10 +73,10 @@ - + - +