From a309075659f946fc2aefc7aa8e75aab75d9f4392 Mon Sep 17 00:00:00 2001 From: Apcallover <1503963513@qq.com> Date: Wed, 6 Mar 2024 16:40:00 +0800 Subject: [PATCH] =?UTF-8?q?flat:=20=E4=B8=AA=E4=BA=BA=E6=8B=9B=E5=B7=A5?= =?UTF-8?q?=E5=AE=A1=E6=A0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/manage/recruit.js | 33 ++++ src/common/dic.js | 8 +- src/views/manage/recruit/index.vue | 301 ++++++++++++----------------- vue.config.js | 4 +- 4 files changed, 162 insertions(+), 184 deletions(-) create mode 100644 src/api/manage/recruit.js diff --git a/src/api/manage/recruit.js b/src/api/manage/recruit.js new file mode 100644 index 0000000..1f1a458 --- /dev/null +++ b/src/api/manage/recruit.js @@ -0,0 +1,33 @@ +import request from '@/router/axios'; + +export const getList = + (current, size, params, tenantId) => { + return request({ + url: '/api/jobslink-api/user/userrecruit/list', + method: 'get', + params: { + ...params, + current, + size, + tenantId, + + }, + + }) + } + +export const getDetail = (params) => { + return request({ + url: "/api/jobslink-api/user/userrecruit/detail", + method: "get", + params, + }); +}; + +export const review = (params) => { + return request({ + url: "/api/jobslink-api/user/userrecruit/approval", + method: "post", + data: params, + }); +}; diff --git a/src/common/dic.js b/src/common/dic.js index 1fbb3b4..422ed39 100644 --- a/src/common/dic.js +++ b/src/common/dic.js @@ -33,7 +33,7 @@ export const jobStatus = [ // { value: 2, label: "任务中" }, { value: 3, label: "已完成" }, { value: 4, label: "已失效" }, - + ]; export const bondState = [ { value: "", label: "全部" }, @@ -352,3 +352,9 @@ export const serviceType = [ value: 2, } ]; + +export const recruitStatus = [ + { value: 9, label: "驳回" }, + { value: 1, label: "未审核" }, + { value: 0, label: "通过" }, +]; diff --git a/src/views/manage/recruit/index.vue b/src/views/manage/recruit/index.vue index 4c3b084..9db123d 100644 --- a/src/views/manage/recruit/index.vue +++ b/src/views/manage/recruit/index.vue @@ -1,78 +1,78 @@ diff --git a/vue.config.js b/vue.config.js index 07b827f..85d0d59 100644 --- a/vue.config.js +++ b/vue.config.js @@ -23,10 +23,10 @@ module.exports = { port: 1888, proxy: { "/api": { - target: 'http://localhost:8000', // 本地服务接口地址 + // target: 'http://localhost:8000', // 本地服务接口地址 // target: "http://39.98.184.58:8000", // 阿里云后台地址 // target: "http://192.168.3.108:8000", // 本地 - // target: 'http://192.168.3.111:8000', + target: 'http://192.168.3.111:8000', ws: true, changeOrigin: true, pathRewrite: {