From 28e27e03a7d77e309029861f02a3179e75595e77 Mon Sep 17 00:00:00 2001 From: lijingyu007 <904564792@qq.com> Date: Wed, 26 Jun 2024 12:13:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=B9=E8=AE=AD=E7=8F=AD=E4=BA=BA=E6=89=8D?= =?UTF-8?q?=E5=BA=93=E5=88=86=E9=A1=B5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 ++-- .env.production | 4 ++-- src/api/trainService/index.js | 10 +++++----- src/views/trainService/talentPool.vue | 7 ++++++- 4 files changed, 15 insertions(+), 10 deletions(-) diff --git a/.env.development b/.env.development index ca176a9..32f1e1f 100644 --- a/.env.development +++ b/.env.development @@ -4,8 +4,8 @@ ENV = 'development' # KeySaas测试云平台/开发环境 VUE_APP_BASE_API = '/prod-api' -VUE_APP_BASE_TARGET = 'http://www.bjkeyware.com/test-api' -# VUE_APP_BASE_TARGET = 'http://192.168.0.229:9999' +# VUE_APP_BASE_TARGET = 'http://www.bjkeyware.com/test-api' +VUE_APP_BASE_TARGET = 'http://192.168.0.229:9999' # VUE_APP_BASE_TARGET = 'http://192.168.0.129:9999' # VUE_APP_BASE_TARGET = 'http://172.16.36.180:9999' diff --git a/.env.production b/.env.production index 264cafb..89a177a 100644 --- a/.env.production +++ b/.env.production @@ -6,7 +6,7 @@ VUE_APP_BASE_API = '/prod-api' # VUE_APP_BASE_API = '/test-api' # VUE_APP_BASE_TARGET = 'https://www.keyitest.cn/prod-api' -# VUE_APP_BASE_TARGET = 'http://192.168.0.229:9999' +VUE_APP_BASE_TARGET = 'http://192.168.0.229:9999' # VUE_APP_BASE_TARGET = 'http://www.bjkeyware.com/test-api' -VUE_APP_BASE_TARGET = 'http://www.bjkeyware.com/prod-api' +# VUE_APP_BASE_TARGET = 'http://www.bjkeyware.com/prod-api' # VUE_APP_BASE_TARGET = 'http://www.keyitest.cn/prod-api' diff --git a/src/api/trainService/index.js b/src/api/trainService/index.js index cea053f..c9cb919 100644 --- a/src/api/trainService/index.js +++ b/src/api/trainService/index.js @@ -73,11 +73,11 @@ export function delSignUp(id) { } // 查询已报名列表 -export function searchNum(data) { +export function searchNum(params) { return request({ url: `/train/trainStudentList`, - method: 'post', - data, + method: 'get', + params, }) } @@ -85,11 +85,11 @@ export function searchNum(data) { // 人才库+教师 // 新增人才 -export function listTalent() { +export function listTalent(params) { return request({ url: '/talent/admin/list', method: 'get', - + params }) } export function addTalent(data) { diff --git a/src/views/trainService/talentPool.vue b/src/views/trainService/talentPool.vue index 4de7f63..0cbb437 100644 --- a/src/views/trainService/talentPool.vue +++ b/src/views/trainService/talentPool.vue @@ -32,7 +32,12 @@ - + + +