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 @@