From eb306eab72f03e95f4c54c8b64f98407aa9674c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=82=A5=E7=BE=8A?= <1048382248@qq.com> Date: Mon, 1 Sep 2025 17:56:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E8=81=8C=E4=BD=8D=E6=97=B6=E7=9A=84=E9=87=8D=E7=BD=AE=E6=8C=89?= =?UTF-8?q?=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 8 ++++++-- src/views/teacher/positionForm.vue | 19 +++++++++++-------- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/.env.development b/.env.development index f8eaae4..b58a810 100644 --- a/.env.development +++ b/.env.development @@ -7,8 +7,12 @@ VITE_PUBLIC_PATH = / # 开发环境路由历史模式(Hash模式传"hash"、HTML5模式传"h5"、Hash模式带base参数传"hash,base参数"、HTML5模式带base参数传"h5,base参数") VITE_ROUTER_HISTORY = "hash" -VITE_API_BASEURL = "http://192.168.2.33:5199/api" +# # 接口地址 +# VITE_API_BASEURL = "http://192.168.2.33:5199/api" +# #数据中心后台地址 +# VITE_API_USERCENTER_URL = "https://dca.w.23544.com:8843/api" + # 接口地址 -# VITE_API_BASEURL = "http://localhost:5199/api" +VITE_API_BASEURL = "https://learn-archives-admin-dev.23544.com/api" #数据中心后台地址 VITE_API_USERCENTER_URL = "https://dca.w.23544.com:8843/api" diff --git a/src/views/teacher/positionForm.vue b/src/views/teacher/positionForm.vue index 98693d0..641f0d3 100644 --- a/src/views/teacher/positionForm.vue +++ b/src/views/teacher/positionForm.vue @@ -163,19 +163,19 @@ -
+
{{ userType == 1 ? "就读班级" : "已选职位" }}[{{ selectPositions.length }}] - 提交分配职位 + +
+ 重置 + 提交分配职位 +
{ } }; +const reload = () => { + selectPositions.value = []; +}; const handleConfirm = () => { if (selectPositions.value.length === 0) { ElMessage.warning("请选择要分配的职位");