提交 43261236 authored 作者: 王鹏飞's avatar 王鹏飞

chore: EMBA & MBA

上级 3674510f
......@@ -2,7 +2,6 @@ import BaseAPI from '@/api/base_api'
const httpRequest = new BaseAPI(webConf)
const projectId = webConf.others.projectId
/**
* 获取用户信息
*/
......@@ -40,13 +39,13 @@ export function checkCode(params) {
* 获取报名信息
*/
export function getApplication(params) {
return httpRequest.get(`/enrollment/v1.0/application-materials/${projectId}`, params)
return httpRequest.get(`/enrollment/v1.0/application-materials/${window.PROJECT_ID}`, params)
}
/**
* 获取报名信息
*/
export function updateApplication(data) {
return httpRequest.post(`/enrollment/v1.0/application-materials/${projectId}/put`, data, {
return httpRequest.post(`/enrollment/v1.0/application-materials/${window.PROJECT_ID}/put`, data, {
headers: { 'Content-Type': 'application/json' }
})
}
......@@ -55,7 +54,7 @@ export function updateApplication(data) {
* 获取报名审核状态
*/
export function getApplicationStatus() {
return httpRequest.get(`/enrollment/v1.0/application-materials/profile/${projectId}`)
return httpRequest.get(`/enrollment/v1.0/application-materials/profile/${window.PROJECT_ID}`)
}
/**
......@@ -63,7 +62,7 @@ export function getApplicationStatus() {
*/
export function getOrder(params) {
return httpRequest.get(
`/enrollment/v1.0/application-materials/payment-records/request/${projectId}/APPLICATION_FEE`,
`/enrollment/v1.0/application-materials/payment-records/request/${window.PROJECT_ID}/APPLICATION_FEE`,
params
)
}
......@@ -73,7 +72,7 @@ export function getOrder(params) {
*/
export function checkPay(id, params) {
return httpRequest.get(
`/enrollment/v1.0/application-materials/payment-records/check-status/${projectId}/APPLICATION_FEE/${id}`,
`/enrollment/v1.0/application-materials/payment-records/check-status/${window.PROJECT_ID}/APPLICATION_FEE/${id}`,
params
)
}
......@@ -83,7 +82,7 @@ export function checkPay(id, params) {
*/
export function addLetter(userId, letterId, data) {
return httpRequest.post(
`/enrollment/v1.0/application-materials/reco-letters/submit/${projectId}/${userId}/${letterId}/put`,
`/enrollment/v1.0/application-materials/reco-letters/submit/${window.PROJECT_ID}/${userId}/${letterId}/put`,
data,
{
headers: { 'Content-Type': 'application/json' }
......@@ -96,7 +95,7 @@ export function addLetter(userId, letterId, data) {
*/
export function updateProvider(letterId, data) {
return httpRequest.post(
`/enrollment/v1.0/application-materials/reco-letters/change-provider/${projectId}/${letterId}/put`,
`/enrollment/v1.0/application-materials/reco-letters/change-provider/${window.PROJECT_ID}/${letterId}/put`,
data,
{
headers: { 'Content-Type': 'application/json' }
......@@ -108,7 +107,7 @@ export function updateProvider(letterId, data) {
*/
export function sendToProvider(letterId) {
return httpRequest.get(
`/enrollment/v1.0/application-materials/reco-letters/send-invitation-to-provider/${projectId}/${letterId}`
`/enrollment/v1.0/application-materials/reco-letters/send-invitation-to-provider/${window.PROJECT_ID}/${letterId}`
)
}
......@@ -117,7 +116,7 @@ export function sendToProvider(letterId) {
*/
export function sendToProviders() {
return httpRequest.get(
`/enrollment/v1.0/application-materials/reco-letters/send-invitation-to-providers/${projectId}`
`/enrollment/v1.0/application-materials/reco-letters/send-invitation-to-providers/${window.PROJECT_ID}`
)
}
/**
......@@ -132,7 +131,7 @@ export function logout() {
*/
export function changeFileStatus(userId, recordId, status) {
return httpRequest.get(
`/enrollment/v1.0/application-materials/attachments/change-status/${projectId}/${userId}/${recordId}`,
`/enrollment/v1.0/application-materials/attachments/change-status/${window.PROJECT_ID}/${userId}/${recordId}`,
{ status }
)
}
......
......@@ -10,7 +10,7 @@ export default class Before {
async update(to, from, next) {
if (to.meta && to.meta.userRole) {
const isLogin = store.state.user.id || (await store.dispatch('checkLogin'))
if (isLogin) {
if (isLogin && window.PROJECT_ID) {
next()
} else {
next({ path: '/login' })
......
......@@ -2,7 +2,7 @@
<div class="section-form">
<div class="section-form-inner">
<div class="form-box">
<h2>玛丽伍德大学<br />数字领导力方向EMBA</h2>
<h2>玛丽伍德大学<br />领航数字时代EMBA</h2>
<p>填写姓名 + 手机, 点击报名咨询</p>
<el-form :model="ruleForm" :rules="rules" ref="ruleForm">
<el-form-item prop="name">
......
......@@ -8,7 +8,7 @@
<img src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/new-marywood/banner_block.png" />
<div class="cover-inner">
<h1>玛丽伍德大学</h1>
<h2>数字领导力方向EMBA</h2>
<h2>领航数字时代EMBA</h2>
<p>
赋能当今社会每位管理人,成就数字时代先锋领导者系统、实用、数字地赋能项目成长和企业转型升级
</p>
......@@ -26,7 +26,7 @@
<div class="intr-content">
<div class="cover-inner">
<h1>玛丽伍德大学</h1>
<h2>数字领导力方向EMBA</h2>
<h2>领航数字时代EMBA</h2>
<p>
赋能当今社会每位管理人,成就数字时代先锋领导者系统、实用、数字地赋能项目成长和企业转型升级
</p>
......
......@@ -37,7 +37,7 @@ export default {
scrollTop: 0,
navList: [
{ title: '首页', path: '/index' },
{ title: '高级工商管理硕士(EMBA)', path: '/profession' },
{ title: '领航数字时代EMBA', path: '/profession' },
{ title: '报名申请', path: '/my' },
{ title: '最新动态', path: '/news' },
{ title: '联系我们', path: '/contact' }
......
......@@ -27,10 +27,19 @@
<h5>报名咨询</h5>
<p><el-input v-model="formInfo.name" placeholder="请输入您的姓名" size="small"></el-input></p>
<p><el-input v-model="formInfo.phone" placeholder="请输入您的电话" size="small"></el-input></p>
<p><el-input v-model="projectName" size="small" :readonly="true"></el-input></p>
<p>
<el-select v-model="formInfo.project_id" size="small" style="width:100%">
<el-option
v-for="item in projectList"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</el-select>
</p>
<p class="sendcode">
<el-input v-model="sendCode" placeholder="请输入验证码" size="small"></el-input
><el-button :disabled="isBtnDisabled" id="checkedCode" @click="getSendCode">获取验证码</el-button>
<el-input v-model="sendCode" placeholder="请输入验证码" size="small"></el-input>
<el-button :disabled="isBtnDisabled" id="checkedCode" @click="getSendCode">获取验证码</el-button>
</p>
<p><el-button style="width: 100%" @click="submitEnroll">立即报名</el-button></p>
</div>
......@@ -48,18 +57,22 @@ import { sendCode, checkCode } from '@/api/my'
const MOBILE_REG = /^1(3[0-9]|4[01456879]|5[0-35-9]|6[2567]|7[0-8]|8[0-9]|9[0-35-9])\d{8}$/
export default {
data() {
const localProjectId = window.localStorage.getItem('projectId')
return {
tabBtnActive: true,
isShowBtn: false,
tabBtnTarget: '',
projectName: '高级工商管理硕士(EMBA)',
sendCode: '',
isBtnDisabled: false,
formInfo: {
name: '',
phone: '',
projectId: 1012
}
project_id: localProjectId ? parseInt(localProjectId) : 1012
},
projectList: [
{ label: '领航数字时代EMBA', value: 1012 },
{ label: '工商管理硕士MBA', value: 1026 }
]
}
},
mounted() {
......@@ -114,7 +127,7 @@ export default {
enrollQuery() {
const params = {
channel: window.localStorage.getItem('channel_num') || 19960,
project_id: this.formInfo.projectId,
project_id: this.formInfo.project_id,
name: this.formInfo.name,
phone: this.formInfo.phone
}
......@@ -198,7 +211,7 @@ export default {
position: fixed;
top: 50%;
right: 10px;
z-index: 9999;
z-index: 1000;
transform: translateY(-50%);
.tab_btns {
width: 72px;
......
......@@ -8,7 +8,7 @@
<!-- <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" /> -->
<!-- <meta http-equiv="Pragma" content="no-cache" /> -->
<!-- <meta http-equiv="Expires" content="0" /> -->
<title>紫荆教育-玛丽伍德大学数字领导力方向EMBA</title>
<title>紫荆-玛丽伍德大学领航数字时代EMBA</title>
<meta
name="description"
content="美国玛丽伍德大学(Marywood University)创办于 1915 年,Money评选的全美最具性价比大学,玛丽伍德大学是一所拥有128名全职教授、超过 3,000 名在校学生的综合性大学,大学设置超过100个本科、硕士及博士专业"
......
......@@ -19,6 +19,9 @@ Vue.use(VueLazyComponent)
Vue.use(MetaInfo)
Vue.use(Element)
const localProjectId = window.localStorage.getItem('projectId')
window.PROJECT_ID = localProjectId ? parseInt(localProjectId) : undefined
/* 设置全局变量 */
window.G = Vue.prototype.$GLOBAL = {
VERSION: 'PC-1.0.0'
......
......@@ -11,11 +11,19 @@
<i slot="prefix" class="el-input__icon el-icon-self-character"></i>
</el-input>
</el-form-item>
<el-form-item prop="pwd" style="margin-bottom: 4px">
<el-form-item prop="pwd">
<el-input v-model="setAccount.pwd" type="password" placeholder="密码" @keyup.enter.native="onSubmitSetAccount">
<i slot="prefix" class="el-input__icon el-icon-self-mima"></i>
</el-input>
</el-form-item>
<el-form-item prop="project_id" style="margin-bottom: 0">
<el-radio-group v-model="setAccount.project_id">
<el-radio :label="1012" style="line-height:1.5">领航数字时代EMBA</el-radio>
<el-radio :label="1026" style="line-height:1.5">工商管理硕士MBA</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item prop="isRemember" style="margin-bottom: 0px; text-align: left">
<el-checkbox v-model="setAccount.isRemember" label="记住我" name="type"></el-checkbox>
</el-form-item>
......@@ -51,7 +59,9 @@ export default {
},
data() {
return {
setAccount: {},
setAccount: {
project_id: 1012
},
accountRules: {
user: [
{
......@@ -70,11 +80,12 @@ export default {
}
}
},
mounted() {},
methods: {
onSubmitSetAccount() {
this.$refs.setAccountform.validate(valid => {
if (valid) {
window.PROJECT_ID = this.setAccount.project_id
window.localStorage.setItem('projectId', this.setAccount.project_id)
Login.userLogin({
password: this.setAccount.pwd,
account: this.setAccount.user,
......
......@@ -5,7 +5,7 @@
<div class="content">
<div class="title">
<span class="icon"></span>
<p>玛丽伍德大学数字领导力EMBA报名系统</p>
<p>玛丽伍德大学EMBA、MBA报名申请系统</p>
</div>
<div class="login">
<normal-login>
......@@ -127,7 +127,7 @@ export default {
}
.main .login {
flex: 1;
min-height: 300px;
min-height: 350px;
padding: 44px 80px 0;
}
}
......
......@@ -5,7 +5,7 @@
<p>传统的领导者注重于对人员和物理资产的管理</p>
<p>数字领导者将人与数字资产相互赋能倍增效益</p>
<P>传统的EMBA课程体系或许已经不能满足当今数字时代各行各业的发展</P>
<h1>紫荆-玛丽伍德大学数字领导力方向EMBA</h1>
<h1>紫荆-玛丽伍德大学领航数字时代EMBA</h1>
<p>系统实用的EMBA课程体系与数字时代碰撞</p>
</div>
<el-carousel arrow="never" class="banner-swiper">
......
......@@ -2,7 +2,7 @@ export default {
id: 'admission_byzs',
title: '毕业证书注册备案表',
get: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${window.PROJECT_ID}`,
callback(data) {
const { attachments = [], submission_stage: submissionStage = 'FILLING' } = data.data.material
const stageList = [
......@@ -33,8 +33,8 @@ export default {
required: true,
model: 'DIPLOMA_FILING_TABLE',
attrs: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/delete`,
data: { file_type: 'DIPLOMA_FILING_TABLE' }
},
prepend: `
......
......@@ -3,7 +3,7 @@ export default function(_this) {
id: 'admission_cjd',
title: '成绩单(中+英)',
get: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${window.PROJECT_ID}`,
callback(data) {
const { attachments = [], submission_stage: submissionStage = 'FILLING' } = data.data.material
const stageList = [
......@@ -45,8 +45,8 @@ export default function(_this) {
label: '中文成绩单',
model: 'REPORT_CARD_CN',
attrs: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/delete`,
data: { file_type: 'REPORT_CARD_CN' },
accept: 'image/*'
}
......@@ -56,8 +56,8 @@ export default function(_this) {
label: '英文成绩单',
model: 'REPORT_CARD_EN',
attrs: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/delete`,
data: { file_type: 'REPORT_CARD_EN' },
accept: 'image/*'
}
......
......@@ -7,7 +7,7 @@ export default function(_this) {
id: 'admission_tjx',
title: '推荐信',
get: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${window.PROJECT_ID}`,
callback(data) {
const {
submission_stage: submissionStage = 'FILLING',
......@@ -45,7 +45,7 @@ export default function(_this) {
}
},
update: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}/put`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${window.PROJECT_ID}/put`,
beforeRequest(data) {
const letters = data.map(item => {
delete item.RECOMMENDATION_LETTER
......@@ -151,8 +151,8 @@ export default function(_this) {
label: '附件上传',
model: 'RECOMMENDATION_LETTER',
attrs: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/delete`,
data: { file_type: 'RECOMMENDATION_LETTER' },
accept: 'image/*'
},
......
......@@ -3,7 +3,7 @@ export default function(_this) {
id: 'admission_xfjn',
title: '缴费凭证',
get: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${window.PROJECT_ID}`,
callback(data) {
const { attachments = [], submission_stage: submissionStage = 'FILLING' } = data.data.material
const stageList = [
......@@ -42,8 +42,8 @@ export default function(_this) {
model: 'PAYMENT_VOUCHER',
label: '上传缴费凭证',
attrs: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/delete`,
data: { file_type: 'PAYMENT_VOUCHER' }
},
append: `申请者可将转账/支付缴费凭证截图或拍照后提交。<br>
......
......@@ -3,7 +3,7 @@ export default function(_this) {
id: 'admission_xlrz',
title: '学历认证备案表',
get: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${window.PROJECT_ID}`,
callback(data) {
const { attachments = [], submission_stage: submissionStage = 'FILLING' } = data.data.material
const stageList = [
......@@ -35,8 +35,8 @@ export default function(_this) {
type: 'v-upload',
model: 'ACADEMIC_CERTIFICATE_TABLE',
attrs: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/delete`,
data: { file_type: 'ACADEMIC_CERTIFICATE_TABLE' }
},
prepend: `
......
......@@ -3,7 +3,7 @@ export default function(_this) {
id: 'admission_xy',
title: '入学协议',
get: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${window.PROJECT_ID}`,
callback(data) {
const { attachments = [], submission_stage: submissionStage = 'FILLING' } = data.data.material
const stageList = [
......@@ -34,8 +34,8 @@ export default function(_this) {
required: true,
model: 'ADMISSION_AGREEMENT',
attrs: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/delete`,
data: { file_type: 'ADMISSION_AGREEMENT' }
},
prepend: `
......
......@@ -2,7 +2,7 @@ export default {
id: 'admission_ywjl',
title: '英文简历',
get: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${window.PROJECT_ID}`,
callback(data) {
const { attachments = [], submission_stage: submissionStage = 'FILLING' } = data.data.material
const stageList = [
......@@ -33,8 +33,8 @@ export default {
required: true,
model: 'RESUME_EN',
attrs: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/delete`,
data: { file_type: 'RESUME_EN' },
limit: 1
},
......
......@@ -3,7 +3,7 @@ export default function(_this) {
id: 'admission_zp',
title: '证件照片',
get: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${window.PROJECT_ID}`,
callback(data) {
const { attachments = [], submission_stage: submissionStage = 'FILLING' } = data.data.material
const stageList = [
......@@ -33,8 +33,8 @@ export default function(_this) {
type: 'v-upload',
model: 'PERSONAL_PHOTO_FOR_ID',
attrs: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/delete`,
data: { file_type: 'PERSONAL_PHOTO_FOR_ID' },
accept: 'image/*',
limit: 1
......
......@@ -10,7 +10,7 @@ export default function(_this) {
return _this.visible
},
get: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${window.PROJECT_ID}`,
callback(data) {
const { submission_stage: submissionStage = 'FILLING' } = data.data.material
const isSubmited = submissionStage !== 'FILLING'
......@@ -23,7 +23,7 @@ export default function(_this) {
}
},
update: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/submit/${webConf.others.projectId}`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/submit/${window.PROJECT_ID}`,
callback() {
_this.getApplication()
this.form.options.disabled = true
......@@ -46,7 +46,7 @@ export default function(_this) {
values: [{ label: '同意', value: 1 }],
model: 'isAgree',
rules: [{ required: true, message: '请阅读协议', trigger: 'change' }],
prepend: `<p>1、本人知晓此申请表及所附文件将作为申请紫荆-玛丽伍德大学EMBA面试和背景评估的参考依据,一旦成功录取,有关资料将作为学生信息存档。</p>
prepend: `<p>1、本人知晓此申请表及所附文件将作为申请紫荆-玛丽伍德大学面试和背景评估的参考依据,一旦成功录取,有关资料将作为学生信息存档。</p>
<p>2、本人声明所填资料正确无误,知晓任何不真实的信息或不诚信的行为,均会影响申请结果,已取得的成绩和资格会被取消。我理解并同意所有报名材料归紫荆教育所有,无论考生录取与否均不退回。我授权紫荆教育使用报名表中的信息查询本人学习和工作记录。</p>`
}
]
......
......@@ -11,7 +11,7 @@ export default function(_this) {
return _this.visible
},
get: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${window.PROJECT_ID}`,
callback(data) {
const { answers = [], submission_stage: submissionStage = 'FILLING' } = data.data.material
this.form.options.disabled = submissionStage !== 'FILLING'
......@@ -28,7 +28,7 @@ export default function(_this) {
}
},
update: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}/put`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${window.PROJECT_ID}/put`,
beforeRequest(data) {
return {
answers: [
......
......@@ -11,7 +11,7 @@ export default function(_this) {
return _this.visible
},
get: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${window.PROJECT_ID}`,
callback(data) {
const { careers: list = [], submission_stage: submissionStage = 'FILLING' } = data.data.material
this.form.options.disabled = submissionStage !== 'FILLING'
......@@ -19,7 +19,7 @@ export default function(_this) {
}
},
update: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}/put`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${window.PROJECT_ID}/put`,
beforeRequest(data) {
const careers = data.map(item => {
return [
......
......@@ -11,7 +11,7 @@ export default function(_this) {
return _this.visible
},
get: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${window.PROJECT_ID}`,
callback(data) {
const { educations: list = [], submission_stage: submissionStage = 'FILLING' } = data.data.material
this.form.options.disabled = submissionStage !== 'FILLING'
......@@ -19,7 +19,7 @@ export default function(_this) {
}
},
update: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}/put`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${window.PROJECT_ID}/put`,
beforeRequest(data) {
const educations = data.map(item => {
return ['start_date', 'end_date', 'school_name_cn', 'major_cn', 'degree'].reduce((result, key) => {
......
......@@ -11,7 +11,7 @@ export default function(_this) {
return this.tabActive === 'application_info_first'
},
get: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${window.PROJECT_ID}`,
callback(data) {
const {
basic_info: basicInfo = {},
......@@ -37,7 +37,7 @@ export default function(_this) {
}
},
update: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}/put`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${window.PROJECT_ID}/put`,
beforeRequest(data) {
const basicInfo = ['phone_number', 'email', 'id_type'].reduce((result, key) => {
result[key] = data[key]
......@@ -79,8 +79,8 @@ export default function(_this) {
label: '身份证人像面',
model: 'ID_CARD_BACK',
attrs: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/delete`,
data: { file_type: 'ID_CARD_BACK' },
limit: 1,
accept: 'image/*',
......@@ -97,8 +97,8 @@ export default function(_this) {
label: '身份证国徽面',
model: 'ID_CARD_FRONT',
attrs: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/delete`,
data: { file_type: 'ID_CARD_FRONT' },
limit: 1,
accept: 'image/*',
......@@ -115,8 +115,8 @@ export default function(_this) {
label: '港澳台身份证',
model: 'HK_ID_CARD',
attrs: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/delete`,
data: { file_type: 'HK_ID_CARD' },
limit: 1,
accept: 'image/*'
......@@ -132,8 +132,8 @@ export default function(_this) {
label: '中国护照',
model: 'PASSPORT',
attrs: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/delete`,
data: { file_type: 'PASSPORT' },
limit: 1,
accept: 'image/*'
......@@ -149,8 +149,8 @@ export default function(_this) {
label: '其他证件',
model: 'OTHER_ID_CARD_PHOTO',
attrs: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/delete`,
data: { file_type: 'OTHER_ID_CARD_PHOTO' },
limit: 1,
accept: 'image/*'
......
......@@ -10,7 +10,7 @@ export default function(_this) {
return _this.visible
},
get: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${window.PROJECT_ID}`,
callback(data) {
const { honors: list = [], submission_stage: submissionStage = 'FILLING' } = data.data.material
this.form.options.disabled = submissionStage !== 'FILLING'
......@@ -18,7 +18,7 @@ export default function(_this) {
}
},
update: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}/put`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${window.PROJECT_ID}/put`,
beforeRequest(data) {
const honors = data.map(item => {
return ['time', 'title', 'institution_cn'].reduce((result, key) => {
......
......@@ -13,7 +13,7 @@ export default function(_this) {
return _this.visible
},
get: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${window.PROJECT_ID}`,
callback(data) {
const {
basic_info: basicInfo = {},
......@@ -39,7 +39,7 @@ export default function(_this) {
}
},
update: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}/put`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${window.PROJECT_ID}/put`,
beforeRequest(data) {
// let [province, city] = data.city.split('-')
// data.address_province = province
......@@ -101,8 +101,8 @@ export default function(_this) {
label: '身份证人像面',
model: 'ID_CARD_BACK',
attrs: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/delete`,
data: { file_type: 'ID_CARD_BACK' },
limit: 1,
accept: 'image/*',
......@@ -119,8 +119,8 @@ export default function(_this) {
label: '身份证国徽面',
model: 'ID_CARD_FRONT',
attrs: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/delete`,
data: { file_type: 'ID_CARD_FRONT' },
limit: 1,
accept: 'image/*',
......@@ -137,8 +137,8 @@ export default function(_this) {
label: '港澳台身份证',
model: 'HK_ID_CARD',
attrs: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/delete`,
data: { file_type: 'HK_ID_CARD' },
limit: 1,
accept: 'image/*'
......@@ -154,8 +154,8 @@ export default function(_this) {
label: '中国护照',
model: 'PASSPORT',
attrs: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/delete`,
data: { file_type: 'PASSPORT' },
limit: 1,
accept: 'image/*'
......@@ -171,8 +171,8 @@ export default function(_this) {
label: '其他证件',
model: 'OTHER_ID_CARD_PHOTO',
attrs: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/delete`,
data: { file_type: 'OTHER_ID_CARD_PHOTO' },
limit: 1,
accept: 'image/*'
......
......@@ -10,7 +10,7 @@ export default function(_this) {
return _this.visible
},
get: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${window.PROJECT_ID}`,
callback(data) {
const { trainings: list = [], submission_stage: submissionStage = 'FILLING' } = data.data.material
this.form.options.disabled = submissionStage !== 'FILLING'
......@@ -18,7 +18,7 @@ export default function(_this) {
}
},
update: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}/put`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${window.PROJECT_ID}/put`,
beforeRequest(data) {
const trainings = data.map(item => {
return ['start_date', 'end_date', 'institution_cn', 'course_cn'].reduce((result, key) => {
......
......@@ -10,7 +10,7 @@ export default function(_this) {
return _this.visible
},
get: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${window.PROJECT_ID}`,
callback(data) {
const { submission_stage: submissionStage = 'FILLING' } = data.data.material
const stageList = [
......@@ -29,7 +29,7 @@ export default function(_this) {
}
},
update: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}/put`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${window.PROJECT_ID}/put`,
beforeRequest(data) {
return { reco_letters: data }
}
......
......@@ -6,7 +6,7 @@ export default function(_this) {
return _this.visible
},
get: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${window.PROJECT_ID}`,
callback(data) {
const { attachments = [], submission_stage: submissionStage = 'FILLING' } = data.data.material
this.form.options.disabled = submissionStage !== 'FILLING'
......@@ -28,8 +28,8 @@ export default function(_this) {
required: true,
model: 'NO_CRIMINAL_CERT',
attrs: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/delete`,
data: { file_type: 'NO_CRIMINAL_CERT' },
limit: 1
},
......
......@@ -3,7 +3,7 @@ export default function(_this) {
id: 'interview_byzs',
title: '毕业证书',
get: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${window.PROJECT_ID}`,
callback(data) {
const { attachments = [], submission_stage: submissionStage = 'FILLING' } = data.data.material
const stageList = [
......@@ -24,7 +24,7 @@ export default function(_this) {
}
},
update: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/submit/${webConf.others.projectId}`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/submit/${window.PROJECT_ID}`,
beforeRequest(data) {
return { submission_stage: 'INTERVIEW_APPLICATION' }
},
......@@ -49,8 +49,8 @@ export default function(_this) {
required: true,
model: 'DIPLOMA_CN',
attrs: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/delete`,
data: { file_type: 'DIPLOMA_CN' }
},
append:
......
......@@ -3,7 +3,7 @@ export default function(_this) {
id: 'interview_cjd',
title: '成绩单(中+英)',
get: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${window.PROJECT_ID}`,
callback(data) {
const { attachments = [], submission_stage: submissionStage = 'FILLING' } = data.data.material
const stageList = [
......@@ -46,8 +46,8 @@ export default function(_this) {
label: '中文成绩单',
model: 'REPORT_CARD_CN',
attrs: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/delete`,
data: { file_type: 'REPORT_CARD_CN' }
}
},
......@@ -56,8 +56,8 @@ export default function(_this) {
label: '英文成绩单',
model: 'REPORT_CARD_EN',
attrs: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/delete`,
data: { file_type: 'REPORT_CARD_EN' }
}
}
......
......@@ -7,7 +7,7 @@ export default function(_this) {
id: 'interview_tjx',
title: '推荐信',
get: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${window.PROJECT_ID}`,
callback(data) {
const {
submission_stage: submissionStage = 'FILLING',
......@@ -45,7 +45,7 @@ export default function(_this) {
}
},
update: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}/put`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${window.PROJECT_ID}/put`,
beforeRequest(data) {
const letters = data.map(item => {
delete item.RECOMMENDATION_LETTER
......@@ -151,8 +151,8 @@ export default function(_this) {
label: '附件上传',
model: 'RECOMMENDATION_LETTER',
attrs: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/delete`,
data: { file_type: 'RECOMMENDATION_LETTER' },
accept: 'image/*'
},
......
......@@ -2,7 +2,7 @@ export default {
id: 'interview_xwzs',
title: '学位证书',
get: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${window.PROJECT_ID}`,
callback(data) {
const { attachments = [], submission_stage: submissionStage = 'FILLING' } = data.data.material
const stageList = [
......@@ -33,8 +33,8 @@ export default {
required: true,
model: 'DEGREE_CERT_CN',
attrs: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/delete`,
data: { file_type: 'DEGREE_CERT_CN' }
},
append:
......
......@@ -2,7 +2,7 @@ export default {
id: 'interview_xwzsywzm',
title: '学位证书英文证明',
get: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${window.PROJECT_ID}`,
callback(data) {
const { attachments = [], submission_stage: submissionStage = 'FILLING' } = data.data.material
const stageList = [
......@@ -33,8 +33,8 @@ export default {
required: true,
model: 'DEGREE_CERT_EN',
attrs: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/delete`,
data: { file_type: 'DEGREE_CERT_EN' }
},
append: '请将学校出具的学位证书英文证明原件扫描或者拍照后提交。'
......
......@@ -2,7 +2,7 @@ export default {
id: 'interview_ywjl',
title: '英文简历',
get: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${window.PROJECT_ID}`,
callback(data) {
const { attachments = [], submission_stage: submissionStage = 'FILLING' } = data.data.material
const stageList = [
......@@ -33,8 +33,8 @@ export default {
required: true,
model: 'RESUME_EN',
attrs: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/delete`,
data: { file_type: 'RESUME_EN' }
},
append: `
......
......@@ -3,7 +3,7 @@ export default function(_this) {
id: 'interview_zp',
title: '2寸照片',
get: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${window.PROJECT_ID}`,
callback(data) {
const { attachments = [], submission_stage: submissionStage = 'FILLING' } = data.data.material
const stageList = [
......@@ -24,7 +24,7 @@ export default function(_this) {
}
},
update: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/submit/${webConf.others.projectId}`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/submit/${window.PROJECT_ID}`,
beforeRequest(data) {
return { submission_stage: 'INTERVIEW_APPLICATION' }
},
......@@ -47,8 +47,8 @@ export default function(_this) {
type: 'v-upload',
model: 'PERSONAL_PHOTO_FOR_ID',
attrs: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`,
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${window.PROJECT_ID}/delete`,
data: { file_type: 'PERSONAL_PHOTO_FOR_ID' },
limit: 1
},
......
......@@ -6,7 +6,7 @@
</div>
<h1>欢迎您</h1>
<p class="t1">
申请紫荆-玛丽伍德大学数字领导力方向EMBA硕士项目,请在填写以下内容<br />
申请紫荆-{{ projectName }},请在填写以下内容<br />
提交报名申请后,扫码支付本项目的注册费、申请费共计<span>800</span>元。(该申请费不退,请慎重缴费!)
</p>
</div>
......@@ -48,6 +48,11 @@ export default {
}
}
},
computed: {
projectName() {
return window.PROJECT_ID === 1012 ? '玛丽伍德大学领航数字时代EMBA硕士项目' : '玛丽伍德大学工商管理硕士MBA'
}
},
methods: {
handleSubmit() {
this.$refs.ruleForm.validate().then(this.handleSubmitRequest)
......
......@@ -58,9 +58,7 @@ export default {
FilterJson[this.active].ruleForm = Object.assign({}, queries)
},
goback() {
this.$router.push({
name: 'apply'
})
this.$router.push({ name: 'apply' })
},
transferKeep(item) {
this.$refs.form.submit().then(state => {
......@@ -68,13 +66,8 @@ export default {
Login.register(FilterJson[this.active].ruleForm)
.then(res => {
if (res.code === 0) {
this.$message({
message: '注册成功',
type: 'success'
})
this.$router.push({
name: 'apply'
})
this.$message({ message: '注册成功', type: 'success' })
this.$router.push({ name: 'apply' })
} else {
this.$message.error(res.msg)
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论