From f4c72e78593de555af9dd5dbb780ea5ead6fce7e Mon Sep 17 00:00:00 2001
From: qingyu <14049064+qingyuya123@user.noreply.gitee.com>
Date: Wed, 2 Jul 2025 10:02:52 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8B=9B=E8=81=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.env.dev | 4 ++--
src/views/recruitment/components/EditDialog.vue | 10 +++++++++-
src/views/recruitment/index.vue | 8 +++++++-
3 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/.env.dev b/.env.dev
index e61740b..03348cb 100644
--- a/.env.dev
+++ b/.env.dev
@@ -12,8 +12,8 @@ VITE_ROUTER_BASE=/
VITE_ROUTER_HISTORY=hash
# api
-VITE_API_BASIC=https://api.hailin-keji.com
-# VITE_API_BASIC=http://10.10.1.6:8060
+#VITE_API_BASIC=https://api.hailin-keji.com
+ VITE_API_BASIC=http://10.10.1.6:8060
VITE_API_HTTP=/api/v1/
# storage
VITE_STORAGE_NAMESPACE = gin-admin_local_
diff --git a/src/views/recruitment/components/EditDialog.vue b/src/views/recruitment/components/EditDialog.vue
index c0c66e2..3df89b2 100644
--- a/src/views/recruitment/components/EditDialog.vue
+++ b/src/views/recruitment/components/EditDialog.vue
@@ -35,6 +35,11 @@
+
+
+
+
+
{{ record.introduce }}
+
+
+ {{ record.benefits }}
+
+
{{ record.duty }}
-
启用
停用
@@ -155,6 +159,7 @@ const columns = [
{ title: '岗位要求', dataIndex: 'introduce', key: 'introduce'},
{ title: '岗位职责', dataIndex: 'duty',ellipsis: true,},
{ title: '薪资范畴', dataIndex: 'salary', width: 120, align: 'center'},
+ { title: '福利', dataIndex: 'benefits', width: 120, align: 'center'},
{ title: '岗位排序', dataIndex: 'sequence', width: 120, align: 'center'},
{ title: '状态', dataIndex: 'status',width:80 , align: 'center'},
{ title: t('button.action'), key: 'action', fixed: 'right', width: 100, align: 'center' },
@@ -194,6 +199,7 @@ async function getPageList() {
hideLoading()
if (config('http.code.success') === success) {
listData.value = data
+ console.log(listData.value)
paginationState.total = total
}
} catch (error) {