From 5ecda871bc4fa2f343391fe23a745f88e8abc858 Mon Sep 17 00:00:00 2001 From: lijingyu007 <904564792@qq.com> Date: Tue, 25 Jun 2024 12:09:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E5=90=8D=E5=AD=A6=E7=94=9F=E6=96=B0?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=20=E6=A0=A1=E4=BC=81=E6=96=B0=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 +- .env.production | 8 +- src/api/trainService/index.js | 18 ++- src/views/trainService/signlist.vue | 46 ++++-- src/views/trainService/signupStudent.vue | 169 +++++++++++++++++++++++ 5 files changed, 224 insertions(+), 21 deletions(-) create mode 100644 src/views/trainService/signupStudent.vue 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 b119eb8..064e93c 100644 --- a/.env.production +++ b/.env.production @@ -2,10 +2,10 @@ ENV = 'production' # KeySaas测试云平台/生产环境 -# VUE_APP_BASE_API = '/prod-api' -VUE_APP_BASE_API = '/test-api' +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://www.bjkeyware.com/test-api' +VUE_APP_BASE_TARGET = 'http://192.168.0.229:9999' +# 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 d280d7f..cea053f 100644 --- a/src/api/trainService/index.js +++ b/src/api/trainService/index.js @@ -73,12 +73,11 @@ export function delSignUp(id) { } // 查询已报名列表 -export function searchNum(id, query) { +export function searchNum(data) { return request({ - url: `/train/trainStudentList?trainClassId=${id}`, - method: 'get', - params: query, - + url: `/train/trainStudentList`, + method: 'post', + data, }) } @@ -171,4 +170,13 @@ export function listTeacherAll() { url: '/talent/findAllTeacher', method: 'get', }) +} + +// 添加备注 +export function addRemarkI(data) { + return request({ + url: '/train/addRemark', + method: 'post', + data, + }) } \ No newline at end of file diff --git a/src/views/trainService/signlist.vue b/src/views/trainService/signlist.vue index 050267f..4749c66 100644 --- a/src/views/trainService/signlist.vue +++ b/src/views/trainService/signlist.vue @@ -1,6 +1,5 @@