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

chore: EMBA & MBA

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