From 0f6ce84b4f8852d3c5f158439fac682d6d9fe17e Mon Sep 17 00:00:00 2001
From: qingyu <14049064+qingyuya123@user.noreply.gitee.com>
Date: Tue, 1 Jul 2025 16:02:21 +0800
Subject: [PATCH 1/5] =?UTF-8?q?=E8=A7=86=E9=A2=91?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/dynamic/videoCenter/index.vue | 7 -------
1 file changed, 7 deletions(-)
diff --git a/src/views/dynamic/videoCenter/index.vue b/src/views/dynamic/videoCenter/index.vue
index eb3e500..f4eb306 100644
--- a/src/views/dynamic/videoCenter/index.vue
+++ b/src/views/dynamic/videoCenter/index.vue
@@ -115,13 +115,6 @@
-
-
-
{{ item.year }}年{{ item.month }}月
-
{{ item.title }}
-
-
-
From f980db53c75daf91701d2038ab5059e5c2befb01 Mon Sep 17 00:00:00 2001
From: qingyu <14049064+qingyuya123@user.noreply.gitee.com>
Date: Tue, 1 Jul 2025 17:50:02 +0800
Subject: [PATCH 4/5] =?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/index.vue | 35 ++++++++++++++++++++++++++++++---
2 files changed, 34 insertions(+), 5 deletions(-)
diff --git a/.env.dev b/.env.dev
index bcb46e7..bb781b0 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/index.vue b/src/views/recruitment/index.vue
index fd604ac..3f0c74c 100644
--- a/src/views/recruitment/index.vue
+++ b/src/views/recruitment/index.vue
@@ -110,7 +110,13 @@ const columns = [
{ title: '状态', dataIndex: 'status',width:80 , align: 'center'},
{ title: t('button.action'), key: 'action', fixed: 'right', width: 100, align: 'center' },
]
-
+const areaList = ref([]); // 列表数据
+const editDialogVisible = ref(false); // 弹框开关
+const editForm = reactive({
+ name: '',
+ sequence: 0,
+ status: 'disabled',
+});
const { listData, loading, showLoading, hideLoading, paginationState, resetPagination, searchFormData } =
usePagination()
@@ -205,9 +211,32 @@ async function onOk() {
/**
* 编辑基地
*/
-function handleCreateJD() {
- console.log('createJD')
+async function handleCreateJD() {
+ console.log('createJD');
+ try {
+ showLoading();
+ const { pageSize, current } = paginationState;
+ const { success, data, total } = await apis.recruitment
+ .getAreasList({
+ pageSize,
+ current: current,
+ ...searchFormData.value,
+ })
+ .catch(() => {
+ throw new Error();
+ });
+ hideLoading();
+ if (config('http.code.success') === success) {
+ areaList.value = data;
+ console.log(areaList.value);
+ paginationState.total = total;
+ }
+ } catch (error) {
+ hideLoading();
+ console.error('Error in handleCreateJD:', error);
+ }
}
+
From e820e58250b751c8278dc9b496e5646ca38e95c1 Mon Sep 17 00:00:00 2001
From: qingyu <14049064+qingyuya123@user.noreply.gitee.com>
Date: Tue, 1 Jul 2025 18:22:14 +0800
Subject: [PATCH 5/5] =?UTF-8?q?=E6=8B=9B=E8=81=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/recruitment/index.vue | 91 +++++++++++++++++++++++++++++++--
1 file changed, 88 insertions(+), 3 deletions(-)
diff --git a/src/views/recruitment/index.vue b/src/views/recruitment/index.vue
index 3f0c74c..2a170b4 100644
--- a/src/views/recruitment/index.vue
+++ b/src/views/recruitment/index.vue
@@ -82,6 +82,55 @@
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 启用
+ 禁用
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+