From 4b8813f86915d6ceeedbceb55e39099f980ab700 Mon Sep 17 00:00:00 2001 From: lzx_win <2602107437@qq.com> Date: Wed, 17 Sep 2025 12:43:38 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=8B=9B=E8=81=98):=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=8B=9B=E8=81=98=E7=8A=B6=E6=80=81=E6=98=BE=E7=A4=BA=E5=92=8C?= =?UTF-8?q?=E5=81=9C=E6=AD=A2=E6=8B=9B=E8=81=98=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在订单列表页面添加招聘状态显示组件 - 实现停止招聘功能及相关API调用 - 更新配置文件中的本地开发端口 - 在enterprise组件中导入updateJob方法 --- common/api.js | 1 + common/config.js | 2 +- pages_subpack/hire/order-list.vue | 70 +++++++++++++++++++++++--- pages_subpack/release/component/enterprise.vue | 2 +- 4 files changed, 66 insertions(+), 9 deletions(-) diff --git a/common/api.js b/common/api.js index 20a3033..34b670f 100644 --- a/common/api.js +++ b/common/api.js @@ -57,6 +57,7 @@ export const confirmOrderTryCompanyOk = (params) => http.post('/employ-api/emplo export const queryJobListByUserId = (params) => http.get('/employ-api/employ/job/queryJobListByUserId', {params:params}) //编辑招聘信息 export const updateJob = (params) => http.get('/employ-api/employ/job/updateJob', params) +export const stopJob = (params) => http.post('/employ-api/employ/job/stopJob', params) //删除招聘信息 export const deleteJob = (params) => http.get('/employ-api/employ/job/deleteJob', {params:params}) diff --git a/common/config.js b/common/config.js index e8f6127..3dfc28a 100644 --- a/common/config.js +++ b/common/config.js @@ -3,7 +3,7 @@ module.exports = { // baseUrl:"https://employadmin.hhlm1688.com" // baseUrl:"http://h5.xzaiyp.top", //测试环境 // baseUrl:"http://youyi-test.natapp1.cc", - // baseUrl:"http://127.0.0.1:8002", + // baseUrl:"http://127.0.0.1:8003", baseUrl:"https://admin.zhixuanlietou.com", // http://youyi-test.natapp1.cc diff --git a/pages_subpack/hire/order-list.vue b/pages_subpack/hire/order-list.vue index 224051e..af67ace 100644 --- a/pages_subpack/hire/order-list.vue +++ b/pages_subpack/hire/order-list.vue @@ -31,6 +31,19 @@ + + + + + + {{jobInfo.status == 1 ? '已招满' : '招聘中'}} + + + + + + + + + + 已招满 + +