提交 60a6e744 authored 作者: lihuihui's avatar lihuihui

替换申请报名请求地址

上级 81f79f3a
...@@ -2,7 +2,7 @@ export default { ...@@ -2,7 +2,7 @@ export default {
id: 'admission_byzs', id: 'admission_byzs',
title: '毕业证书注册备案表', title: '毕业证书注册备案表',
get: { get: {
action: `/api/enrollment/v1.0/application-materials/${webConf.others.projectId}`, action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}`,
callback(data) { callback(data) {
const { attachments = [], submission_stage: submissionStage = 'FILLING' } = data.data.material const { attachments = [], submission_stage: submissionStage = 'FILLING' } = data.data.material
const stageList = [ const stageList = [
...@@ -33,8 +33,8 @@ export default { ...@@ -33,8 +33,8 @@ export default {
required: true, required: true,
model: 'DIPLOMA_FILING_TABLE', model: 'DIPLOMA_FILING_TABLE',
attrs: { attrs: {
action: `/api/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`, action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`,
deleteAction: `/api/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`, deleteaction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`,
data: { file_type: 'DIPLOMA_FILING_TABLE' } data: { file_type: 'DIPLOMA_FILING_TABLE' }
}, },
prepend: ` prepend: `
......
...@@ -3,7 +3,7 @@ export default function(_this) { ...@@ -3,7 +3,7 @@ export default function(_this) {
id: 'admission_cjd', id: 'admission_cjd',
title: '成绩单(中+英)', title: '成绩单(中+英)',
get: { get: {
action: `/api/enrollment/v1.0/application-materials/${webConf.others.projectId}`, action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}`,
callback(data) { callback(data) {
const { attachments = [], submission_stage: submissionStage = 'FILLING' } = data.data.material const { attachments = [], submission_stage: submissionStage = 'FILLING' } = data.data.material
const stageList = [ const stageList = [
...@@ -45,8 +45,8 @@ export default function(_this) { ...@@ -45,8 +45,8 @@ export default function(_this) {
label: '中文成绩单', label: '中文成绩单',
model: 'REPORT_CARD_CN', model: 'REPORT_CARD_CN',
attrs: { attrs: {
action: `/api/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`, action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`,
deleteAction: `/api/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`, deleteaction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`,
data: { file_type: 'REPORT_CARD_CN' } data: { file_type: 'REPORT_CARD_CN' }
} }
}, },
...@@ -55,8 +55,8 @@ export default function(_this) { ...@@ -55,8 +55,8 @@ export default function(_this) {
label: '英文成绩单', label: '英文成绩单',
model: 'REPORT_CARD_EN', model: 'REPORT_CARD_EN',
attrs: { attrs: {
action: `/api/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`, action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`,
deleteAction: `/api/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`, deleteaction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`,
data: { file_type: 'REPORT_CARD_EN' } data: { file_type: 'REPORT_CARD_EN' }
} }
} }
......
...@@ -2,7 +2,7 @@ export default { ...@@ -2,7 +2,7 @@ export default {
id: 'admission_ywjl', id: 'admission_ywjl',
title: '英文简历', title: '英文简历',
get: { get: {
action: `/api/enrollment/v1.0/application-materials/${webConf.others.projectId}`, action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}`,
callback(data) { callback(data) {
const { attachments = [], submission_stage: submissionStage = 'FILLING' } = data.data.material const { attachments = [], submission_stage: submissionStage = 'FILLING' } = data.data.material
const stageList = [ const stageList = [
...@@ -33,8 +33,8 @@ export default { ...@@ -33,8 +33,8 @@ export default {
required: true, required: true,
model: 'RESUME_EN', model: 'RESUME_EN',
attrs: { attrs: {
action: `/api/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`, action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`,
deleteAction: `/api/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`, deleteaction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`,
data: { file_type: 'RESUME_EN' } data: { file_type: 'RESUME_EN' }
}, },
append: ` append: `
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论