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: {