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

chore: update

上级 7f03b477
......@@ -21,8 +21,7 @@
class="form-button"
:disabled="codeButtonDisabled"
:value="buttonText"
@click="onSendCode"
/>
@click="onSendCode" />
</div>
<div class="form-item">
<input type="button" value="立即预约" class="form-button" @click="onSbumit" />
......@@ -46,18 +45,18 @@ export default {
{ label: '中国未来金融领袖计划', value: '1007' },
{ label: '国际硕士保研项目', value: '1016' },
{ label: '金融学硕士保研项目', value: '1018' },
{ label: '工程管理硕士保研项目', value: '1020' }
{ label: '斯蒂文斯理工学院硕士保研项目', value: '1020' },
],
phoneCode: '',
codeButtonDisabled: false,
timer: null,
disabledTime: 60
disabledTime: 60,
}
},
computed: {
buttonText() {
return this.codeButtonDisabled ? `${this.disabledTime}秒后重发` : '获取验证码'
}
},
},
methods: {
onSbumit() {
......@@ -76,7 +75,7 @@ export default {
this.checkPhoneCode().then(this.handleSubmit)
},
handleSubmit() {
api.submit(this.ruleForm).then(response => {
api.submit(this.ruleForm).then((response) => {
// this.$notify({ type: 'success', message: response.message })
this.$message('报名成功')
this.$emit('success')
......@@ -121,11 +120,11 @@ export default {
clearTimer() {
this.codeButtonDisabled = false
this.timer && clearInterval(this.timer)
}
},
},
destroyed() {
this.clearTimer()
}
},
}
</script>
......
......@@ -2,10 +2,10 @@
<div :class="isMobile ? 'is-h5' : 'is-pc'">
<div class="banner-content">
<a href="/my">
<img class="img" src="https://webapp-pub.ezijing.com/project/sit-plus/banner.png" />
<img class="img" src="https://webapp-pub.ezijing.com/project/sit-plus/banner.png?v=1" />
</a>
<!-- <div class="content_desc">
<div class="desc_cn">斯蒂文斯理工学院工程管理硕士保研项目</div>
<div class="desc_cn">斯蒂文斯理工学院硕士保研项目</div>
<div class="desc_en">Stevens Institute of Technology Master of Engineering in Engineering Management</div>
</div> -->
<div class="banner_navList" v-if="false">
......@@ -30,27 +30,27 @@ export default {
img: 'https://webapp-pub.ezijing.com/project/marywood/icon1.png',
imgH5: 'https://webapp-pub.ezijing.com/project/marywood/h5/icon11.png',
tit: '报名申请',
tag: '1'
tag: '1',
},
{
img: 'https://webapp-pub.ezijing.com/project/marywood/icon4.png',
imgH5: 'https://webapp-pub.ezijing.com/project/marywood/h5/icon41.png',
tit: '招生简章',
tag: '2'
tag: '2',
},
{
img: 'https://webapp-pub.ezijing.com/project/marywood/icon5.png',
imgH5: 'https://webapp-pub.ezijing.com/project/marywood/h5/icon51.png',
tit: '项目介绍',
tag: '3'
tag: '3',
},
{
img: 'https://webapp-pub.ezijing.com/project/marywood/icon2.png',
imgH5: 'https://webapp-pub.ezijing.com/project/marywood/h5/icon21.png',
tit: '资料下载',
tag: '4'
}
tag: '4',
},
// {
// img: 'https://webapp-pub.ezijing.com/project/marywood/icon3.png',
// imgH5: 'https://webapp-pub.ezijing.com/project/marywood/h5/icon31.png',
......@@ -58,13 +58,13 @@ export default {
// tit: '常见问题',
// tag: '5'
// }
]
],
}
},
computed: {
isMobile() {
return this.$store.state.isMobile
}
},
},
methods: {
navClick(item) {
......@@ -72,7 +72,7 @@ export default {
this.$router.push('/my/account')
} else if (item.tag === '2') {
window.open(
'https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/sit-plus/%E6%96%AF%E8%92%82%E6%96%87%E6%96%AF%E7%90%86%E5%B7%A5%E5%AD%A6%E9%99%A2%E5%B7%A5%E7%A8%8B%E7%AE%A1%E7%90%86%E7%A1%95%E5%A3%AB%E4%BF%9D%E7%A0%94%E9%A1%B9%E7%9B%AE%E6%8B%9B%E7%94%9F%E7%AE%80%E7%AB%A0.pdf?v=1'
'https://webapp-pub.ezijing.com/project/sit-plus/%E6%96%AF%E8%92%82%E6%96%87%E6%96%AF%E7%90%86%E5%B7%A5%E5%AD%A6%E9%99%A2%E5%B7%A5%E7%A8%8B%E7%AE%A1%E7%90%86%E7%A1%95%E5%A3%AB%E4%BF%9D%E7%A0%94%E9%A1%B9%E7%9B%AE%E6%8B%9B%E7%94%9F%E7%AE%80%E7%AB%A0.pdf?v=1'
)
} else if (item.tag === '3') {
this.$router.push('/about/school')
......@@ -83,8 +83,8 @@ export default {
// this.$router.push('/question/question')
}
}
}
},
},
}
</script>
......
......@@ -3,12 +3,12 @@
<card title="项目简介">
<div class="desc">
<p>
该保研项目是斯蒂文斯理工学院工程管理硕士项目的特别录取通道。项目通过对学生的全面个性化评估,鼓励学生以增强科研能力替代应试,减少研究生入学考试对学生学习和科研的干扰。
该保研项目是斯蒂文斯理工学院硕士保研项目的特别录取通道。项目通过对学生的全面个性化评估,鼓励学生以增强科研能力替代应试,减少研究生入学考试对学生学习和科研的干扰。
</p>
<br />
<p>
该项目由斯蒂文斯理工学院工程管理硕士保研项目中国招生与教学中心(清控紫荆教育)全权负责运营,详情请见斯蒂文斯理工学院官网项目说明:<a
该项目由斯蒂文斯理工学院硕士保研项目中国招生与教学中心(清控紫荆教育)全权负责运营,详情请见斯蒂文斯理工学院官网项目说明:<a
href="https://www.stevens.edu/page-basic/zijing-partnership"
target="_blank"
>https://www.stevens.edu/page-basic/zijing-partnership</a
......
......@@ -6,10 +6,8 @@
<img @click="goWebsite" src="https://webapp-pub.ezijing.com/project/sit-plus/logo.png" />
<div class="line"></div>
<nuxt-link to="/" class="logo">
<div class="title">
斯蒂文斯理工学院工程管理硕士保研项目
</div>
<!-- <img src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/marywood/marywood_logo.svg" /> -->
<div class="title">斯蒂文斯理工学院硕士保研项目</div>
<!-- <img src="https://webapp-pub.ezijing.com/project/marywood/marywood_logo.svg" /> -->
</nuxt-link>
</div>
<!-- <nuxt-link to="/" class="logo"></nuxt-link> -->
......@@ -48,15 +46,15 @@ export default {
},
menuClasses() {
return {
'is-open': this.menuVisible
'is-open': this.menuVisible,
}
}
},
},
watch: {
$route() {
this.$store.commit('toggleSearch', false)
this.$store.commit('toggleMenu', false)
}
},
},
methods: {
goWebsite() {
......@@ -79,8 +77,8 @@ export default {
},
showApplyForm() {
this.$refs.rightAside.showApplyForm()
}
}
},
},
}
</script>
......
......@@ -5,7 +5,7 @@
<div class="left-content">
<div class="logo-title">
<img src="https://webapp-pub.ezijing.com/project/sit-plus/logo_white.png" />
<h1>工程管理硕士保研项目</h1>
<h1>斯蒂文斯理工学院硕士保研项目</h1>
</div>
<div class="bottom">
......@@ -35,7 +35,7 @@
</div>
</div>
<div class="center-content">
<div class="contact">斯蒂文斯理工学院工程硕士保研项目</div>
<div class="contact">斯蒂文斯理工学院硕士保研项目</div>
<div class="contact">中国招生与教学中心(清控紫荆教育)</div>
<div class="bottom">
<div class="address" v-html="$t('foot.address')"></div>
......@@ -66,8 +66,7 @@
<a
target="_blank"
href="https://tsm.miit.gov.cn/dxxzsp/"
style="color: rgba(153, 153, 153, 1); text-decoration: none; margin-left: 10px"
>
style="color: rgba(153, 153, 153, 1); text-decoration: none; margin-left: 10px">
<p style="font-size: 12px">京ICP证150431号</p>
</a>
<a
......@@ -80,19 +79,16 @@
align-items: center;
display: flex;
margin-right: 5px;
"
>
">
<img
src="https://zws-imgs-pub.ezijing.com/e0a0ec47dfdfc1e0797b1d5254021d00.png"
style="width: 20px; height: 20px; margin: 0 6px; display: block"
/>
style="width: 20px; height: 20px; margin: 0 6px; display: block" />
<p style="font-size: 12px">安备 11010802023681号</p>
</a>
<a
target="_blank"
href="https://beian.miit.gov.cn/#/Integrated/index"
style="color: rgba(153, 153, 153, 1); text-decoration: none"
>
style="color: rgba(153, 153, 153, 1); text-decoration: none">
<p style="font-size: 12px">京ICP备15016866号-1</p>
</a>
</div>
......
......@@ -10,9 +10,9 @@
<img @click="goWebsite" src="https://webapp-pub.ezijing.com/project/sit-plus/logo.png" />
<div class="line"></div>
<nuxt-link to="/">
<div class="title">斯蒂文斯理工学院工程管理硕士保研项目</div>
<div class="title">斯蒂文斯理工学院硕士保研项目</div>
</nuxt-link>
<!-- <img src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/marywood/marywood_logo.svg" /> -->
<!-- <img src="https://webapp-pub.ezijing.com/project/marywood/marywood_logo.svg" /> -->
</div>
<div class="user" v-if="user.id">
......@@ -23,9 +23,7 @@
<div class="login">
<a :href="loginURL">{{ $t('menu.fastLogin') }}</a>
</div>
<div class="register" @click="$router.push('/my/account')">
马上报名
</div>
<div class="register" @click="$router.push('/my/account')">马上报名</div>
<!-- <div class="register">
<a :href="registerURL">{{ $t('menu.register') }}</a>
</div> -->
......@@ -45,7 +43,7 @@
import AppMenu from './Menu'
export default {
components: {
AppMenu
AppMenu,
},
data() {
return {}
......@@ -62,7 +60,7 @@ export default {
this.$i18n.locale = locale
this.$cookies.set('lang', locale)
process.client && location.reload()
}
},
},
computed: {
user() {
......@@ -79,8 +77,8 @@ export default {
return process.client
? `${process.env.loginURL}/register?redirect_uri=${encodeURIComponent(location.origin + this.$route.fullPath)}`
: ''
}
}
},
},
}
</script>
<style lang="scss" scoped>
......
......@@ -19,8 +19,7 @@
<li
:class="{ wx: true, active: tabBtnActive && tabBtnTarget === 'wx' }"
@mouseenter="handleMsOver('wx')"
@mouseleave="handleMsOut"
>
@mouseleave="handleMsOut">
<!-- <p>{{ $t('aside.follow') }}</p> -->
</li>
<div class="line"></div>
......@@ -32,15 +31,13 @@
<transition
name="custom-classes-transition"
enter-active-class="animated tada"
leave-active-class="animated bounceOutRight"
>
leave-active-class="animated bounceOutRight">
<div
id="show-enroll"
v-show="tabBtnActive"
class="tab_cont"
@mouseover="handleMsOver('')"
@mouseout="handleMsOut"
>
@mouseout="handleMsOut">
<div class="enroll_cont" id="show-enroll-content" v-show="tabBtnTarget === 'enroll'">
<h5>{{ $t('aside.apply1') }}</h5>
<p><el-input v-model="formInfo.name" :placeholder="$t('aside.name')" size="small"></el-input></p>
......@@ -92,7 +89,7 @@ export default {
formInfo: {
name: '',
phone: '',
newProjectId: '1020'
newProjectId: '1020',
},
projectList: [
{ label: '金融工商管理硕士', value: '1000' },
......@@ -103,13 +100,13 @@ export default {
{ label: '中国未来金融领袖计划', value: '1007' },
{ label: '国际硕士', value: '1016' },
{ label: '金融学硕士保研项目', value: '1018' },
{ label: '工程管理硕士保研项目', value: '1020' }
]
{ label: '斯蒂文斯理工学院硕士保研项目', value: '1020' },
],
}
},
mounted() {
// this.isShow = false
window.onscroll = function() {
window.onscroll = function () {
var top = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop
var node = document.getElementById('right_bar')
if (top > 100) {
......@@ -125,7 +122,7 @@ export default {
window.scrollTo({
left: 0,
top: 0,
behavior: 'smooth'
behavior: 'smooth',
})
},
handleMsOver(type) {
......@@ -139,7 +136,7 @@ export default {
},
submitEnroll() {
let flag = true
Object.keys(this.formInfo).map(item => {
Object.keys(this.formInfo).map((item) => {
if (this.formInfo[item] === '') {
flag = false
}
......@@ -150,20 +147,20 @@ export default {
this.$message('手机号格式错误')
} else {
this.checkSendcode()
.then(res => {
.then((res) => {
return this.enrollQuery()
})
.then(res => {
.then((res) => {
this.$message({
type: 'success',
message: '报名成功',
duration: 5000
duration: 5000,
})
this.formInfo.name = ''
this.formInfo.phone = ''
this.sendCode = ''
})
.catch(err => {
.catch((err) => {
if (err && err.type === 'checkcode') this.$message.error(err.msg)
else this.$message.error(err.msg || '报名提交失败')
})
......@@ -174,20 +171,20 @@ export default {
channel: localStorage.getItem('channel_num') || 19960,
project_id: this.formInfo.newProjectId,
name: this.formInfo.name,
phone: this.formInfo.phone
phone: this.formInfo.phone,
}
return new Promise((resolve, reject) => {
postNes(params).then(res => {
postNes(params).then((res) => {
if (res && res.status === 200 && res.error === 0) {
resolve({
type: 'enroll',
state: 'success'
state: 'success',
})
} else {
reject({
type: 'enroll',
state: 'fail',
msg: res.message || '报名提交失败'
msg: res.message || '报名提交失败',
})
}
})
......@@ -201,10 +198,10 @@ export default {
} else {
const param = {
account: this.formInfo.phone,
service: 'ezijing.com'
service: 'ezijing.com',
}
sendCode(param)
.then(res => {
.then((res) => {
this.btnDisabledTimer()
if (res && res.code === 0) this.$message.success('验证码已发送,请注意查收')
else this.$message.error('获取验证码失败,请稍后再试')
......@@ -215,31 +212,31 @@ export default {
checkSendcode() {
const checkCodeParam = {
account: this.formInfo.phone,
code: this.sendCode
code: this.sendCode,
}
return new Promise((resolve, reject) => {
checkCode(checkCodeParam)
.then(res => {
.then((res) => {
console.log(res, 'code')
if (res && res.code === 0) {
res.type = 'checkcode'
resolve({
type: 'checked',
state: 'success'
state: 'success',
})
} else {
reject({
type: 'checked',
state: 'fail',
msg: res.msg || '验证码检测失败'
msg: res.msg || '验证码检测失败',
})
}
})
.catch(err => {
.catch((err) => {
reject({
type: 'checked',
state: 'fail',
msg: err.msg || '验证码检测失败'
msg: err.msg || '验证码检测失败',
})
})
})
......@@ -258,8 +255,8 @@ export default {
document.querySelector('#checkedCode').innerHTML = count + 's'
}
}, 1000)
}
}
},
},
}
</script>
<style lang="scss" scoped>
......
......@@ -3,18 +3,31 @@
<header class="header">
<div class="inner">
<div class="logo">
<router-link to="/"><img src="https://webapp-pub.ezijing.com/project/application/images/ezijing-logo.png"/></router-link>
<router-link to="/"
><img src="https://webapp-pub.ezijing.com/project/application/images/ezijing-logo.png"
/></router-link>
</div>
</div>
</header>
<nav class="nav"><h1 class="title">斯蒂文斯理工学院工程管理硕士保研项目推荐信</h1></nav>
<nav class="nav"><h1 class="title">斯蒂文斯理工学院硕士保研项目推荐信</h1></nav>
<section class="content">
<el-form :model="ruleForm" :rules="rules" ref="form" label-width="100px" :label-position="labelPosition" @submit.native.prevent style="max-width: 680px">
<el-form
:model="ruleForm"
:rules="rules"
ref="form"
label-width="100px"
:label-position="labelPosition"
@submit.native.prevent
style="max-width: 680px">
<el-form-item label="姓名" prop="provider_name">
<el-input v-model="ruleForm.provider_name" @blur="onBlur('provider_name')"></el-input>
</el-form-item>
<el-form-item label="推荐信内容" prop="letter_content">
<el-input type="textarea" :autosize="{ minRows: 6 }" v-model="ruleForm.letter_content" @blur="onBlur('letter_content')"></el-input>
<el-input
type="textarea"
:autosize="{ minRows: 6 }"
v-model="ruleForm.letter_content"
@blur="onBlur('letter_content')"></el-input>
</el-form-item>
<el-form-item label="手机号" prop="provider_phone_number">
<el-input v-model="ruleForm.provider_phone_number"></el-input>
......@@ -54,17 +67,17 @@ export default {
letter_content: '',
provider_phone_number: '',
provider_company_name: '',
provider_job_title: ''
provider_job_title: '',
},
rules: {
provider_name: [{ required: true, message: '请输入姓名', trigger: 'blur' }],
letter_content: [{ required: true, message: '请输入推荐信内容', trigger: 'blur' }],
provider_phone_number: [{ required: true, pattern: /^1[3-9]\d{9}$/, message: '请输入手机号', trigger: 'blur' }],
provider_company_name: [{ required: true, message: '请输入工作单位', trigger: 'blur' }],
provider_job_title: [{ required: true, message: '请输入职务', trigger: 'blur' }]
provider_job_title: [{ required: true, message: '请输入职务', trigger: 'blur' }],
},
dialogVisible: false,
clientWidth: 0
clientWidth: 0,
}
},
computed: {
......@@ -76,7 +89,7 @@ export default {
},
labelPosition() {
return this.clientWidth < 768 ? 'top' : 'left'
}
},
},
methods: {
// 提交
......@@ -87,7 +100,7 @@ export default {
},
// 提交推荐信
handleAddRequest() {
api.addLetter(this.userId, this.letterId, this.ruleForm).then(response => {
api.addLetter(this.userId, this.letterId, this.ruleForm).then((response) => {
const { error, message } = response
if (error.toString() === '0') {
this.dialogVisible = true
......@@ -106,7 +119,7 @@ export default {
if (this.ruleForm[key]) {
this.ruleForm[key] = this.ruleForm[key].trim()
}
}
},
},
mounted() {
this.getClientWidth()
......@@ -116,7 +129,7 @@ export default {
destroyed() {
document.body.style = ''
window.removeEventListener('resize', this.getClientWidth)
}
},
}
</script>
......
......@@ -2,7 +2,9 @@
<div class="my">
<div class="card">
<div class="result">
<div class="result-left"><img src="https://webapp-pub.ezijing.com/project/application/images/my_icon.png" />招生办反馈</div>
<div class="result-left">
<img src="https://webapp-pub.ezijing.com/project/application/images/my_icon.png" />招生办反馈
</div>
<!-- <div class="result-right">{{ result.submit_status_desc || '未收到报名信息' }}</div> -->
</div>
</div>
......@@ -23,13 +25,17 @@
</div>
<div class="welcome" v-if="welcomeShow">
<div class="inner">
<div class="welcome-close" @click="handleClose"></div>
<!-- <div class="welcome-close" @click="handleClose"></div> -->
<div class="welcome-main">
<img src="https://webapp-pub.ezijing.com/project/application/images/welcome.png" width="350" />
<div class="welcome-content">
<h1>欢迎您报考</h1>
<h2>斯蒂文斯理工学院</h2>
<div class="welcome-button" @click="handleStart">马上开始</div>
<!-- <div class="welcome-button" @click="handleStart">马上开始</div> -->
<div class="welcome-button" @click="handleStart('工程管理专业MEM')">工程管理专业MEM</div>
<div style="margin-left: 20px" class="welcome-button" @click="handleStart('人工智能与数据分析AIBA')">
人工智能与数据分析AIBA
</div>
</div>
</div>
</div>
......@@ -52,10 +58,10 @@ export default {
1: ['INTERVIEW_APPLICATION', 'AUDITION', 'INTERVIEW', 'PREPAYMENT'],
2: ['REGISTRATION', 'PAYMENT'],
3: ['CLOSED'],
4: ['FINISHED']
4: ['FINISHED'],
},
result: {},
welcomeShow: false
welcomeShow: false,
}
},
computed: {
......@@ -76,10 +82,10 @@ export default {
},
isPay() {
const records = this.material?.payment_records || []
return !!records.find(item => {
return !!records.find((item) => {
return item.bill_type === 'APPLICATION_FEE' && item.payment_status === 'SUCCESS'
})
}
},
},
methods: {
// 获取进度值
......@@ -92,7 +98,7 @@ export default {
},
// 获取报名信息
getApplication() {
api.getApplication().then(response => {
api.getApplication().then((response) => {
const { data, error, message } = response
if (error.toString() === '0') {
const { material, progress } = data
......@@ -110,7 +116,7 @@ export default {
},
// 获取报名审核状态
getApplicationStatus() {
api.getApplicationStatus().then(response => {
api.getApplicationStatus().then((response) => {
this.result = response.data
})
},
......@@ -158,7 +164,7 @@ export default {
nextBtnText: '下一步',
onReset: () => {
window.localStorage.setItem(this.user.id, true)
}
},
})
// Define the steps for introduction
......@@ -169,42 +175,42 @@ export default {
className: 'first-step-popover-class',
title: '第一步:',
description: '点击<span style="color:#af1b40">报名申请</span>,进入基本信息的填写。',
position: 'bottom-right'
}
position: 'bottom-right',
},
},
{
element: '.nav-interview',
popover: {
title: '第二步:',
description: '点击<span style="color:#af1b40">申请面试</span>,进入面试所需材料的上传。',
position: 'bottom-right'
}
position: 'bottom-right',
},
},
{
element: '.nav-review',
popover: {
title: '第三步:',
description: '点击<span style="color:#af1b40">综合评审</span>,进入综合评审材料的上传。',
position: 'bottom-right'
}
position: 'bottom-right',
},
},
{
element: '.nav-admission',
popover: {
title: '第四步:',
description: '点击<span style="color:#af1b40">办理入学</span>,进入办理入学材料的上传。',
position: 'bottom-right'
}
}
position: 'bottom-right',
},
},
])
driver.start()
}
},
},
beforeMount() {
this.getApplication()
this.getApplicationStatus()
}
},
}
</script>
......
......@@ -5,16 +5,14 @@
<img src="https://webapp-pub.ezijing.com/project/application/images/my_pay_01.png" />
</div>
<h1>欢迎您</h1>
<p class="t1">
申请斯蒂文斯理工学院工程管理硕士保研项目,本项目的申请费为<span>700</span>元,请扫描二维码以完成报名。
</p>
<p class="t1">申请斯蒂文斯理工学院硕士保研项目,本项目的申请费为<span>700</span>元,请扫描二维码以完成报名。</p>
</div>
<div class="qrcode-error" v-if="qrcodeError">
生成二维码失败请刷新<i class="el-icon-refresh-left" @click="getOrder" title="刷新"></i>
</div>
<div class="qrcode" v-else>
<qrcode-vue :value="qrcodeValue" size="100"></qrcode-vue>
<span @click="getOrder"><i class="el-icon-refresh" style="font-size:20px" title="刷新"></i></span>
<span @click="getOrder"><i class="el-icon-refresh" style="font-size: 20px" title="刷新"></i></span>
</div>
</div>
</template>
......@@ -28,19 +26,19 @@ export default {
data() {
return {
order: { id: '', payment_url: '' },
qrcodeError: false
qrcodeError: false,
}
},
computed: {
// 二维码地址
qrcodeValue() {
return this.order.payment_url
}
},
},
methods: {
// 获取订单
getOrder() {
api.getOrder({ payment_method: 'WX_PAY_QR' }).then(response => {
api.getOrder({ payment_method: 'WX_PAY_QR' }).then((response) => {
const { data, error, message } = response
this.qrcodeError = error.toString() === '1'
if (error.toString() === '0') {
......@@ -50,11 +48,11 @@ export default {
this.$message.error(message)
}
})
}
},
},
beforeMount() {
this.getOrder()
}
},
}
</script>
......
......@@ -17,35 +17,35 @@ export default function (_this) {
const [first = {}, second = {}] = answers
return {
qid1: first.qid || '1',
question1: '您为什么要申请斯蒂文斯理工学院工程管理硕士保研项目?',
question1: '您为什么要申请斯蒂文斯理工学院硕士保研项目?',
answer1: first.answer,
qid2: second.qid || '2',
question2: '您的短期和长期职业发展目标是什么?您打算如何达成此愿景?',
answer2: second.answer
answer2: second.answer,
}
}
},
},
update: {
beforeRequest(data) {
return {
answers: [
{ qid: data.qid1, question: data.question1, answer: data.answer1 },
{ qid: data.qid2, question: data.question2, answer: data.answer2 }
]
{ qid: data.qid2, question: data.question2, answer: data.answer2 },
],
}
}
},
},
form: {
items: [
{
type: 'v-input',
label: '您为什么要申请斯蒂文斯理工学院工程管理硕士保研项目?(60字以上,1000字以内)',
label: '您为什么要申请斯蒂文斯理工学院硕士保研项目?(60字以上,1000字以内)',
model: 'answer1',
attrs: { type: 'textarea', rows: '8', maxlength: '1000', style: 'width:100%' },
rules: [
{ required: true, message: '请输入', trigger: 'blur' },
{ min: 60, max: 1000, message: '长度在 60 到 1000 个字符', trigger: 'blur' }
]
{ min: 60, max: 1000, message: '长度在 60 到 1000 个字符', trigger: 'blur' },
],
},
{
type: 'v-input',
......@@ -54,10 +54,10 @@ export default function (_this) {
attrs: { type: 'textarea', rows: '8', maxlength: '1000', style: 'width:100%' },
rules: [
{ required: true, message: '请输入', trigger: 'blur' },
{ min: 60, max: 1000, message: '长度在 60 到 1000 个字符', trigger: 'blur' }
]
}
]
}
{ min: 60, max: 1000, message: '长度在 60 到 1000 个字符', trigger: 'blur' },
],
},
],
},
}
}
......@@ -5,16 +5,14 @@
<img src="https://webapp-pub.ezijing.com/project/application/images/my_pay_01.png" />
</div>
<h1>欢迎您</h1>
<p class="t1">
申请斯蒂文斯理工学院工程管理硕士保研项目,本项目的申请费为<span>700</span>元,请扫描二维码以完成报名。
</p>
<p class="t1">申请斯蒂文斯理工学院硕士保研项目,本项目的申请费为<span>700</span>元,请扫描二维码以完成报名。</p>
</div>
<div class="qrcode-error" v-if="qrcodeError">
生成二维码失败请刷新<i class="el-icon-refresh-left" @click="getOrder" title="刷新"></i>
</div>
<div class="qrcode" v-else>
<qrcode-vue :value="qrcodeValue" size="100"></qrcode-vue>
<span @click="getOrder"><i class="el-icon-refresh" style="font-size:20px" title="刷新"></i></span>
<span @click="getOrder"><i class="el-icon-refresh" style="font-size: 20px" title="刷新"></i></span>
</div>
</div>
</template>
......@@ -28,19 +26,19 @@ export default {
data() {
return {
order: { id: '', payment_url: '' },
qrcodeError: false
qrcodeError: false,
}
},
computed: {
// 二维码地址
qrcodeValue() {
return this.order.payment_url
}
},
},
methods: {
// 获取订单
getOrder() {
api.getOrder({ payment_method: 'WX_PAY_QR' }).then(response => {
api.getOrder({ payment_method: 'WX_PAY_QR' }).then((response) => {
const { data, error, message } = response
this.qrcodeError = error.toString() === '1'
if (error.toString() === '0') {
......@@ -50,11 +48,11 @@ export default {
this.$message.error(message)
}
})
}
},
},
beforeMount() {
this.getOrder()
}
},
}
</script>
......
......@@ -6,9 +6,9 @@ export default function (_this) {
get: {
callback(data) {
const { attachments = [] } = _this.detail.material
const RESUME_EN = attachments.filter(item => item.file_type_id === 'RESUME_EN')
const RESUME_EN = attachments.filter((item) => item.file_type_id === 'RESUME_EN')
return { RESUME_EN }
}
},
},
form: {
hasSubmit: false,
......@@ -20,13 +20,13 @@ export default function (_this) {
attrs: {
action: `${process.env.baseURL}/api/enrollment/v1.0/application-materials/attachments/${process.env.projectId}/put`,
deleteAction: `${process.env.baseURL}/api/enrollment/v1.0/application-materials/attachments/${process.env.projectId}/delete`,
data: { file_type: 'RESUME_EN' }
data: { file_type: 'RESUME_EN' },
},
append: `
<p>请下载填写英文简历模板后上传 [<a href="https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/syracuse-plus/sit-en-resume.doc" target="_blank" download="英文简历模板">下载模板</a>]</p>
<p>请将英文简历填写完存为"pdf"格式上传,文件小于10MB。</p>`
}
]
}
<p>请下载填写英文简历模板后上传 [<a href="https://webapp-pub.ezijing.com/project/syracuse-plus/sit-en-resume.doc" target="_blank" download="英文简历模板">下载模板</a>]</p>
<p>请将英文简历填写完存为"pdf"格式上传,文件小于10MB。</p>`,
},
],
},
}
}
......@@ -5,14 +5,14 @@
<img src="https://webapp-pub.ezijing.com/project/application/images/my_pay_01.png" />
</div>
<h1>欢迎您</h1>
<p class="t1">
申请斯蒂文斯理工学院工程管理硕士保研项目,需缴纳留位费<span>20000</span>元,请扫描二维码以完成缴费。
</p>
<p class="t1">申请斯蒂文斯理工学院硕士保研项目,需缴纳留位费<span>20000</span>元,请扫描二维码以完成缴费。</p>
</div>
<div class="qrcode-error" v-if="qrcodeError">
生成二维码失败请刷新<i class="el-icon-refresh-left" @click="getOrder" title="刷新"></i>
</div>
<div class="qrcode-error" v-if="qrcodeError">生成二维码失败请刷新<i class="el-icon-refresh-left" @click="getOrder" title="刷新"></i></div>
<div class="qrcode" v-else>
<qrcode-vue :value="qrcodeValue" size="100"></qrcode-vue>
<span @click="getOrder"><i class="el-icon-refresh" style="font-size:20px" title="刷新"></i></span>
<span @click="getOrder"><i class="el-icon-refresh" style="font-size: 20px" title="刷新"></i></span>
</div>
</div>
</template>
......@@ -26,19 +26,19 @@ export default {
data() {
return {
order: { id: '', payment_url: '' },
qrcodeError: false
qrcodeError: false,
}
},
computed: {
// 二维码地址
qrcodeValue() {
return this.order.payment_url
}
},
},
methods: {
// 获取订单
getOrder() {
api.getOrder({ payment_method: 'WX_PAY_QR' }, 'TUITION').then(response => {
api.getOrder({ payment_method: 'WX_PAY_QR' }, 'TUITION').then((response) => {
const { data, error, message } = response
this.qrcodeError = error.toString() === '1'
if (error.toString() === '0') {
......@@ -48,11 +48,11 @@ export default {
this.$message.error(message)
}
})
}
},
},
beforeMount() {
this.getOrder()
}
},
}
</script>
......
......@@ -6,7 +6,7 @@
</div>
<h1>欢迎您</h1>
<p class="t1">
申请斯蒂文斯理工学院工程管理硕士保研项目,请在填写以下内容并<br />
申请斯蒂文斯理工学院硕士保研项目,请在填写以下内容并<br />
提交报名申请后,扫码支付本项目的申请费共计<span>700</span>元。
</p>
</div>
......@@ -39,13 +39,13 @@ export default {
ruleForm: {
real_name_cn: '',
phone_number: '',
email: ''
email: '',
},
rules: {
real_name_cn: [{ required: true, message: '请输入姓名', trigger: 'blur' }],
phone_number: [{ required: true, pattern: /^1[3-9]\d{9}$/, message: '请输入手机号', trigger: 'blur' }],
email: [{ type: 'email', required: true, message: '请输入邮箱', trigger: 'blur' }]
}
email: [{ type: 'email', required: true, message: '请输入邮箱', trigger: 'blur' }],
},
}
},
methods: {
......@@ -54,17 +54,17 @@ export default {
},
handleSubmitRequest() {
const params = {
basic_info: this.ruleForm
basic_info: this.ruleForm,
}
api.updateApplication(params).then(response => {
api.updateApplication(params).then((response) => {
if (response.error === '0') {
this.$emit('update', response.data)
} else {
this.$message({ type: 'error', message: response.message })
}
})
}
}
},
},
}
</script>
......
......@@ -11,36 +11,36 @@ export default {
host: 'dev.ezijing.com',
https: {
key: fs.readFileSync(path.resolve(__dirname, 'dev.ezijing.com-key.pem')),
cert: fs.readFileSync(path.resolve(__dirname, 'dev.ezijing.com.pem'))
}
}
cert: fs.readFileSync(path.resolve(__dirname, 'dev.ezijing.com.pem')),
},
},
}),
// Global page headers: https://go.nuxtjs.dev/config-head
head: {
title: '斯蒂文斯理工学院工程管理硕士保研项目',
title: '斯蒂文斯理工学院硕士保研项目',
htmlAttrs: {
lang: 'en'
lang: 'en',
},
meta: [
{ charset: 'utf-8' },
{ hid: 'viewport', name: 'viewport', content: 'width=device-width, initial-scale=1' },
{
name: 'keywords',
content: '国际留学,美国留学,留学,预科留学,硕士留学,留学保研项目'
content: '国际留学,美国留学,留学,预科留学,硕士留学,留学保研项目',
},
{
name: 'description',
content:
'斯蒂文斯理工学院创办于1870年,和麻省理工、加州理工、伦斯勒理工学院并称为美国四大理工学院,是美国历史最为悠久的理工学院之一。斯蒂文斯理工学院是一所在美国的教育和研究领域中位居前沿的理工类大学,长年位列U.S. News & World Report全美Top100。斯蒂文斯理工学院下设四大学院,提供35个本科、58个硕士及20个博士学位专业。'
}
'斯蒂文斯理工学院创办于1870年,和麻省理工、加州理工、伦斯勒理工学院并称为美国四大理工学院,是美国历史最为悠久的理工学院之一。斯蒂文斯理工学院是一所在美国的教育和研究领域中位居前沿的理工类大学,长年位列U.S. News & World Report全美Top100。斯蒂文斯理工学院下设四大学院,提供35个本科、58个硕士及20个博士学位专业。',
},
],
link: [
{
rel: 'icon',
type: 'image/x-icon',
href: 'https://zws-imgs-pub.ezijing.com/static/public/f56441ae1441902080226712d4d650aa.ico'
}
]
href: 'https://zws-imgs-pub.ezijing.com/static/public/f56441ae1441902080226712d4d650aa.ico',
},
],
},
// Global CSS: https://go.nuxtjs.dev/config-css
css: ['vant/lib/index.css', '@ezijing/vue-form/style.css', 'assets/theme/index.css', 'assets/css/base.css'],
......@@ -55,8 +55,8 @@ export default {
{
// 引入一个插件,这里的 ssr 表示使用服务端渲染
src: 'plugins/vue-swiper.js',
ssr: false
}
ssr: false,
},
],
// Auto import components: https://go.nuxtjs.dev/config-components
......@@ -70,10 +70,10 @@ export default {
// Build Configuration: https://go.nuxtjs.dev/config-build
build: {
transpile: [/^element-ui/]
transpile: [/^element-ui/],
},
router: {
extendRoutes: routes,
middleware: ['device', 'i18n']
}
middleware: ['device', 'i18n'],
},
}
差异被折叠。
......@@ -3,7 +3,7 @@
<img src="https://webapp-pub.ezijing.com/project/sit-plus/project-intro_banner.png" class="banner" />
<div class="part_content">
<div class="part_item">
斯蒂文斯理工学院工程管理硕士保研项目是清控紫荆教育联合美国多所知名院校推出的国际硕士保研项目之一。清控紫荆教育为斯蒂文斯理工学院工程管理硕士保研项目官方授权中国招生与教学中心。
斯蒂文斯理工学院硕士保研项目是清控紫荆教育联合美国多所知名院校推出的国际硕士保研项目之一。清控紫荆教育为斯蒂文斯理工学院硕士保研项目官方授权中国招生与教学中心。
</div>
<div class="part_item">
国际硕士保研项目是针对在读本科生或往届生提供的研究生学历晋升通道。第一个“1”是指大三或大四的本科生在被美国大学硕士项目有条件录取后,第1年在国内就读(已工作人士可以边工作边就读)。国内就读课程主要为英语强化课程及部分硕士学分课,由美国大学认可的国内大学或者有实力的教育机构实施录取和教学,一般用时12-15个月。第二个“1”是指在完成第一个“1”的要求之后,获得美国大学的无条件录取,本科毕业当年可直接衔接赴美留学(已工作的人士第二年也需赴美全日制学习),完成剩余学分,毕业后获得美方硕士学位,回国后可向中国(教育部)留学服务中心申请认证为硕士研究生学历。
......@@ -20,7 +20,7 @@ import TabContent from './components/TabContent'
export default {
components: {
TabNav,
TabContent
TabContent,
},
layout: 'normal',
data() {
......@@ -30,7 +30,7 @@ export default {
list: [
{ name: 'zjjy', label: this.$t('bg.tabBtn1') },
{ name: 'kelley', label: this.$t('bg.tabBtn2') },
{ name: 'lhbx', label: this.$t('bg.tabBtn3') }
{ name: 'lhbx', label: this.$t('bg.tabBtn3') },
],
tags: [
{ num: 12, unit: this.$t('bg.unit1'), text: this.$t('bg.con1ItemT1') },
......@@ -40,32 +40,32 @@ export default {
{ num: 1000, unit: '+', text: this.$t('bg.con1ItemT5') },
{ num: 4800, unit: '+', text: this.$t('bg.con1ItemT6') },
{ num: 5000, unit: '+', text: this.$t('bg.con1ItemT7') },
{ num: 500, unit: this.$t('bg.unit3'), text: this.$t('bg.con1ItemT8') }
{ num: 500, unit: this.$t('bg.unit3'), text: this.$t('bg.con1ItemT8') },
],
frameParams: {
slider: [
{
name: this.$t('menu.projectChild.bg'),
path: '/about/school'
}
path: '/about/school',
},
// {
// name: this.$t('menu.newsChild.hot'),
// path: '/news/hot'
// }
]
}
],
},
}
},
methods: {
tabChange(n) {
this.showIndex = n
}
},
},
computed: {
isMobile() {
return this.$store.state.isMobile
}
}
},
},
}
</script>
<style lang="scss" scoped>
......
<template>
<app-frame :data="frameParams" :class="isMobile ? 'is-h5' : 'is-pc'">
<img style="width:100%;height:100%;" src="https://webapp-pub.ezijing.com/project/marywood/return_banner.png" />
<img style="width: 100%; height: 100%" src="https://webapp-pub.ezijing.com/project/marywood/return_banner.png" />
<div v-if="!isMobile">
<div class="com_top">
<h1 class="com_title">留学回国人员福利政策</h1>
......@@ -59,7 +59,7 @@
<!-- <img
class="bottom"
v-else
src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/marywood/h5/return_con.png"
src="https://webapp-pub.ezijing.com/project/marywood/h5/return_con.png"
/> -->
</app-frame>
</template>
......@@ -72,61 +72,54 @@ export default {
return {
frameParams: {
slider: [
{ name: '高薪就业', path: '/returnPolicy/salary' },
{ name:'归国政策', path: '/returnPolicy/returnPolicy' }
]
{ name: '高薪就业', path: '/returnPolicy/salary' },
{ name: '归国政策', path: '/returnPolicy/returnPolicy' },
],
},
policyData: [
{
id: 1,
title: '积分落户',
desc:
'北京、上海、广州、深圳、天津等地为取得教育部学历认证的海外留学人员提供落户便利,符合条件者可提出申请,办理落户。'
desc: '北京、上海、广州、深圳、天津等地为取得教育部学历认证的海外留学人员提供落户便利,符合条件者可提出申请,办理落户。',
},
{
id: 2,
title: '人才补助',
desc:
'上海、广州、深圳、杭州等地为海归人才提供最高6万的生活补贴。获得北京市“特聘专家”称号可直接获得100万奖励。'
desc: '上海、广州、深圳、杭州等地为海归人才提供最高6万的生活补贴。获得北京市“特聘专家”称号可直接获得100万奖励。',
},
{
id: 3,
title: '创业扶持',
desc:
'朝阳区“凤凰计划”、海淀区青年英才资助计划、上海浦江人才计划等为符合条件的回国创业海归人员提供15万到50万的创业补贴。'
desc: '朝阳区“凤凰计划”、海淀区青年英才资助计划、上海浦江人才计划等为符合条件的回国创业海归人员提供15万到50万的创业补贴。',
},
{
id: 4,
title: '百人计划',
desc:
'中科院百人计划,引进国外杰出博士人才,以每人200万元的资助力度从国外吸引并培养百余名优秀青年学术带头人。一旦入选,除获得一次性启动经费外还可获得中科院特殊津贴。'
desc: '中科院百人计划,引进国外杰出博士人才,以每人200万元的资助力度从国外吸引并培养百余名优秀青年学术带头人。一旦入选,除获得一次性启动经费外还可获得中科院特殊津贴。',
},
{
id: 5,
title: '学术研究',
desc:
'评职称时,海归申报可不受工作年限的限制。在外留学一年以上,年龄四十五周岁以下,回国后在科研单位从事教学、科研工作的可申请留学回国人员科研启动资金。'
desc: '评职称时,海归申报可不受工作年限的限制。在外留学一年以上,年龄四十五周岁以下,回国后在科研单位从事教学、科研工作的可申请留学回国人员科研启动资金。',
},
{
id: 6,
title: '购房购车',
desc:
'符合条件的留学归国人员可以购买国产免税轿车,每人限享受一个免税指标。部分地区对留学落户人员购房予以一次性3-5万优惠。'
desc: '符合条件的留学归国人员可以购买国产免税轿车,每人限享受一个免税指标。部分地区对留学落户人员购房予以一次性3-5万优惠。',
},
{
id: 7,
title: '子女入学',
desc:
'有些地区对于留学人员子女入学有优惠政策,通常由教育部门统一安排,择校入学;在国外生活5年以上,在语言文字适应期内入学,给予加分优惠,区内设有教授外语的学校供留学生自由选择。'
}
]
desc: '有些地区对于留学人员子女入学有优惠政策,通常由教育部门统一安排,择校入学;在国外生活5年以上,在语言文字适应期内入学,给予加分优惠,区内设有教授外语的学校供留学生自由选择。',
},
],
}
},
computed: {
isMobile() {
return this.$store.state.isMobile
}
}
},
},
}
</script>
<style lang="scss" scoped>
......
......@@ -92,21 +92,18 @@ export default {
{
img: 'https://webapp-pub.ezijing.com/project/sit-plus/video_sit1.png',
web_img_uri:
'https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/sit-plus/SIT%E9%A1%B9%E7%9B%AE%E7%AB%991.mp4'
web_img_uri: 'https://webapp-pub.ezijing.com/project/sit-plus/SIT%E9%A1%B9%E7%9B%AE%E7%AB%991.mp4',
},
{
img: 'https://webapp-pub.ezijing.com/project/sit-plus/video_sit2.png',
web_img_uri:
'https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/sit-plus/SIT%E9%A1%B9%E7%9B%AE%E7%AB%992.mp4'
web_img_uri: 'https://webapp-pub.ezijing.com/project/sit-plus/SIT%E9%A1%B9%E7%9B%AE%E7%AB%992.mp4',
},
{
img: 'https://webapp-pub.ezijing.com/project/sit-plus/video_sit3.png',
web_img_uri:
'https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/sit-plus/SIT%E9%A1%B9%E7%9B%AE%E7%AB%993.mp4'
}
web_img_uri: 'https://webapp-pub.ezijing.com/project/sit-plus/SIT%E9%A1%B9%E7%9B%AE%E7%AB%993.mp4',
},
],
listData: [
{ web_img_uri: 'https://webapp-pub.ezijing.com/project/sit-plus/school_lg1.png' },
......@@ -114,7 +111,7 @@ export default {
{ web_img_uri: 'https://webapp-pub.ezijing.com/project/sit-plus/school_lg3.png' },
{ web_img_uri: 'https://webapp-pub.ezijing.com/project/sit-plus/school_lg4.png' },
{ web_img_uri: 'https://webapp-pub.ezijing.com/project/sit-plus/school_lg5.png' },
{ web_img_uri: 'https://webapp-pub.ezijing.com/project/sit-plus/school_lg6.png' }
{ web_img_uri: 'https://webapp-pub.ezijing.com/project/sit-plus/school_lg6.png' },
],
swiperOption: {
observer: true,
......@@ -129,8 +126,8 @@ export default {
on: {
init() {
_this.swiper.slideNext()
}
}
},
},
},
// swiperOption1: {
// observer: true,
......@@ -152,46 +149,46 @@ export default {
{
img: 'https://webapp-pub.ezijing.com/project/sit-plus/school-intro-teacher1.png',
tit: 'Carlo Lipizzi',
desc: ['副教授 & 项目负责人', '斯蒂文斯理工学院博士']
desc: ['副教授 & 项目负责人', '斯蒂文斯理工学院博士'],
},
{
img: 'https://webapp-pub.ezijing.com/project/sit-plus/school-intro-teacher2.png',
tit: 'Yehia Massoud',
desc: ['教授、学院院长', 'IEEE 电气与电子工程师协会院士', '麻省理工学院博士']
desc: ['教授、学院院长', 'IEEE 电气与电子工程师协会院士', '麻省理工学院博士'],
},
{
img: 'https://webapp-pub.ezijing.com/project/sit-plus/school-intro-teacher3.png',
tit: 'Roshanak Nilchiani',
desc: ['副教授', '麻省理工学院博士']
desc: ['副教授', '麻省理工学院博士'],
},
{
img: 'https://webapp-pub.ezijing.com/project/sit-plus/school-intro-teacher4.png',
tit: 'Kathryn Abel',
desc: ['副教授', '斯蒂文斯理工学院博士']
}
desc: ['副教授', '斯蒂文斯理工学院博士'],
},
],
alumnusList: [
{
img: 'https://webapp-pub.ezijing.com/project/sit-plus/school-intro-academic1.png',
tit: 'Leon Febres Cordero',
desc: ['厄瓜多尔总统']
desc: ['厄瓜多尔总统'],
},
{
img: 'https://webapp-pub.ezijing.com/project/sit-plus/school-intro-academic2.png',
tit: 'Charles Stewart Mott',
desc: ['美国通用汽车公司<br/>联合创始人']
desc: ['美国通用汽车公司<br/>联合创始人'],
},
{
img: 'https://webapp-pub.ezijing.com/project/sit-plus/school-intro-academic3.png',
tit: 'Frederick Reines',
desc: ['诺贝尔物理学奖']
desc: ['诺贝尔物理学奖'],
},
{
img: 'https://webapp-pub.ezijing.com/project/sit-plus/school-intro-academic4.png',
tit: 'Lrving Langmuir',
desc: ['诺贝尔化学奖']
}
]
desc: ['诺贝尔化学奖'],
},
],
}
},
computed: {
......@@ -204,7 +201,7 @@ export default {
isMobile() {
return this.$store.state.isMobile
}
},
},
methods: {
swiperStop() {
......@@ -212,14 +209,14 @@ export default {
},
swiperStart() {
this.swiper.autoplay.start()
}
},
// swiperStop1() {
// this.swiper1.autoplay.stop()
// },
// swiperStart1() {
// this.swiper1.autoplay.start()
// }
}
},
}
</script>
<style lang="scss" scoped>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论