Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-online-pc
Commits
eb19c1d4
提交
eb19c1d4
authored
4月 24, 2022
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: 修改报名申请流程
上级
3351b70e
显示空白字符变更
内嵌
并排
正在显示
11 个修改的文件
包含
138 行增加
和
66 行删除
+138
-66
cjd.js
modules/my/admission/form/cjd.js
+3
-2
index.js
modules/my/admission/form/index.js
+2
-2
tjx.js
modules/my/admission/form/tjx.js
+1
-1
complete.vue
modules/my/application/complete.vue
+28
-15
byzs.js
modules/my/interview/form/byzs.js
+21
-2
cjd.js
modules/my/interview/form/cjd.js
+15
-13
index.js
modules/my/interview/form/index.js
+4
-2
ywjl.js
modules/my/interview/form/ywjl.js
+2
-16
yynl.js
modules/my/interview/form/yynl.js
+50
-0
zp.js
modules/my/interview/form/zp.js
+3
-4
nuxt.config.js
nuxt.config.js
+9
-9
没有找到文件。
modules/my/admission/form/cjd.js
浏览文件 @
eb19c1d4
export
default
function
(
_this
)
{
return
{
id
:
'admission_cjd'
,
title
:
'成绩单(
中+
英)'
,
title
:
'成绩单(英)'
,
get
:
{
action
:
`
${
process
.
env
.
baseURL
}
/api/enrollment/v1.0/application-materials/
${
process
.
env
.
projectId
}
`
,
callback
(
data
)
{
...
...
@@ -32,7 +32,7 @@ export default function(_this) {
}
},
form
:
{
next
:
{
to
:
{
query
:
{
active
:
'admission_
yynl
'
}
}
},
next
:
{
to
:
{
query
:
{
active
:
'admission_
tjx
'
}
}
},
hasButton
:
false
,
options
:
{
'label-position'
:
'top'
},
hint
:
`
...
...
@@ -46,6 +46,7 @@ export default function(_this) {
label
:
'中文成绩单'
,
model
:
'REPORT_CARD_CN'
,
attrs
:
{
disabled
:
true
,
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
:
'REPORT_CARD_CN'
}
...
...
modules/my/admission/form/index.js
浏览文件 @
eb19c1d4
...
...
@@ -4,12 +4,12 @@ import cjd from './cjd'
import
xy
from
'./xy'
import
xfjn
from
'./xfjn'
import
tjx
from
'./tjx'
import
yynl
from
'./yynl'
//
import yynl from './yynl'
export
default
function
(
_this
)
{
return
{
id
:
'admission'
,
title
:
'入学办理'
,
children
:
[
cjd
(
_this
),
yynl
(
_this
),
tjx
(
_this
),
xy
(
_this
),
xfjn
(
_this
)]
children
:
[
cjd
(
_this
),
tjx
(
_this
),
xy
(
_this
),
xfjn
(
_this
)]
}
}
modules/my/admission/form/tjx.js
浏览文件 @
eb19c1d4
...
...
@@ -44,7 +44,7 @@ export default function(_this) {
},
form
:
{
minlength
:
2
,
prev
:
{
to
:
{
query
:
{
active
:
'admission_
yynl
'
}
},
isSubmit
:
true
},
prev
:
{
to
:
{
query
:
{
active
:
'admission_
cjd
'
}
},
isSubmit
:
true
},
next
:
{
to
:
{
query
:
{
active
:
'admission_xy'
}
},
isSubmit
:
true
},
hasAdd
:
true
,
options
:
{
disabled
:
false
,
labelWidth
:
'140px'
},
...
...
modules/my/application/complete.vue
浏览文件 @
eb19c1d4
...
...
@@ -61,26 +61,31 @@ export default {
code
:
'interviewByzs'
,
view
:
{
to
:
{
path
:
'/my/interview'
,
query
:
{
active
:
'interview_byzs'
}
}
}
},
//
{
//
title: '学位证书',
//
code: 'interviewXwzs',
// view: { to: { path: '/my/interview', query: { active: 'interview_xw
zs' } } }
//
},
//
{
// title: '学位证书英文
证明',
// code: 'interviewXwzsEnglish
',
// view: { to: { path: '/my/interview', query: { active: 'interview_xwzsywzm
' } } }
//
},
{
title
:
'学位证书'
,
code
:
'interviewXwzs'
,
view
:
{
to
:
{
path
:
'/my/interview'
,
query
:
{
active
:
'interview_by
zs'
}
}
}
},
{
title
:
'在读
证明'
,
code
:
'interviewZdzm
'
,
view
:
{
to
:
{
path
:
'/my/interview'
,
query
:
{
active
:
'interview_byzs
'
}
}
}
},
// {
// title: '英文简历',
// code: 'interviewYwjl',
// view: { to: { path: '/my/interview', query: { active: 'interview_ywjl' } } }
// },
// {
// title: '成绩单',
// code: 'interviewCjd',
// view: { to: { path: '/my/interview', query: { active: 'interview_cjd' } } }
// },
{
title
:
'成绩单'
,
code
:
'interviewCjd'
,
view
:
{
to
:
{
path
:
'/my/interview'
,
query
:
{
active
:
'interview_cjd'
}
}
}
},
{
title
:
'语言能力证明'
,
code
:
'interviewYynlzm'
,
view
:
{
to
:
{
path
:
'/my/interview'
,
query
:
{
active
:
'interview_yynl'
}
}
}
}
// {
// title: '2寸照片',
// code: 'interviewZp',
...
...
@@ -154,12 +159,18 @@ export default {
// 学位证书英文
const
interviewXwzsEnglish
=
{
progress
:
0
}
interviewXwzsEnglish
.
progress
=
missedRequiredList
.
DEGREE_CERT_EN
?
0
:
1
// 在读证明
const
interviewZdzm
=
{
progress
:
0
}
interviewZdzm
.
progress
=
missedRequiredList
.
PROOF_READING
?
0
:
1
// 英文简历
const
interviewYwjl
=
{
progress
:
0
}
interviewYwjl
.
progress
=
missedRequiredList
.
RESUME_EN
?
0
:
1
// 成绩单
const
interviewCjd
=
{
progress
:
0
}
interviewCjd
.
progress
=
missedRequiredList
.
REPORT_CARD_CN
||
missedRequiredList
.
REPORT_CARD_EN
?
0
:
1
// 语言能力证明
const
interviewYynlzm
=
{
progress
:
0
}
interviewYynlzm
.
progress
=
missedRequiredList
.
INTERNATIONAL_LANGUAGE_SCORE
?
0
:
1
// 推荐信
const
interviewTjx
=
{
progress
:
0
}
interviewTjx
.
progress
=
progress
.
INTERVIEW_APPLICATION
.
reco_letters
...
...
@@ -174,8 +185,10 @@ export default {
interviewByzs
,
interviewXwzs
,
interviewXwzsEnglish
,
interviewZdzm
,
interviewYwjl
,
interviewCjd
,
interviewYynlzm
,
interviewTjx
}
}
else
{
...
...
modules/my/interview/form/byzs.js
浏览文件 @
eb19c1d4
...
...
@@ -22,12 +22,15 @@ export default function(_this) {
if
(
item
.
file_type_id
===
'DIPLOMA_CN'
)
{
result
.
DIPLOMA_CN
.
push
(
item
)
}
if
(
item
.
file_type_id
===
'DEGREE_CERT_CN'
)
{
result
.
DEGREE_CERT_CN
.
push
(
item
)
}
if
(
item
.
file_type_id
===
'PROOF_READING'
)
{
result
.
PROOF_READING
.
push
(
item
)
}
return
result
},
{
DIPLOMA_CN
:
[],
PROOF_READING
:
[]
}
{
DIPLOMA_CN
:
[],
DEGREE_CERT_CN
:
[],
PROOF_READING
:
[]
}
)
}
},
...
...
@@ -35,6 +38,10 @@ export default function(_this) {
next
:
{
to
:
{
query
:
{
active
:
'interview_ywjl'
}
}
},
hasButton
:
false
,
options
:
{
'label-position'
:
'top'
},
hint
:
`
提示:<br />
1、请同时上传毕业证书及学位证书<br />
2、如尚未毕业,请上传在读证明`
,
items
:
[
{
label
:
'毕业证书'
,
...
...
@@ -48,6 +55,18 @@ export default function(_this) {
append
:
'申请者需要将本科或以上毕业证书原件扫描或者拍照后提交。<br> 可上传多个文件,请确保证书号码清晰可辨。<br> 上传文件仅限“jpg,jpeg,png”格式,文件小于10MB。'
},
{
label
:
'学位证书'
,
type
:
'v-upload'
,
model
:
'DEGREE_CERT_CN'
,
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
:
'DEGREE_CERT_CN'
}
},
append
:
'已毕业学员请提交学位证书<br />申请者需要将本科或以上的学位证书原件扫描或拍照后提交<br />可上传多个文件,请确保公章清晰可辨。'
},
{
label
:
'在读证明'
,
type
:
'v-upload'
,
...
...
@@ -58,7 +77,7 @@ export default function(_this) {
data
:
{
file_type
:
'PROOF_READING'
}
},
append
:
'未毕业学员提交加盖公章的在读证明<br/>申请者需要将本科或以上在读证明原件扫描或拍照后提交。<br> 可上传多个文件,请确保公章清晰可辨。
<br> 上传文件仅限“jpg,jpeg,png”格式,文件小于10MB。
'
'未毕业学员提交加盖公章的在读证明<br/>申请者需要将本科或以上在读证明原件扫描或拍照后提交。<br> 可上传多个文件,请确保公章清晰可辨。'
}
]
}
...
...
modules/my/interview/form/cjd.js
浏览文件 @
eb19c1d4
export
default
function
(
_this
)
{
return
{
id
:
'interview_cjd'
,
title
:
'成绩单(中
+英
)'
,
title
:
'成绩单(中)'
,
get
:
{
action
:
`
${
process
.
env
.
baseURL
}
/api/enrollment/v1.0/application-materials/
${
process
.
env
.
projectId
}
`
,
callback
(
data
)
{
...
...
@@ -32,11 +32,13 @@ export default function(_this) {
}
},
form
:
{
next
:
{
to
:
{
query
:
{
active
:
'interview_ywjl'
}
}
},
prev
:
{
to
:
{
query
:
{
active
:
'interview_ywjl'
}
}
},
next
:
{
to
:
{
query
:
{
active
:
'interview_yynl'
}
}
},
hasButton
:
false
,
options
:
{
'label-position'
:
'top'
},
hint
:
`
<p>请将中英文成绩单原件扫描或者拍照后提交。</p>
<p>已毕业学生需提交完整成绩单,未毕业学生提交现有成绩单,成绩单需要加盖学校公章</p>
<p>请将中文成绩单原件扫描或者拍照后提交。</p>
<p>获取途径:联系大学时就读学校相关部门(档案馆/教务处)获取成绩单。</p>
`
,
items
:
[
...
...
@@ -49,17 +51,17 @@ export default function(_this) {
deleteAction
:
`
${
process
.
env
.
baseURL
}
/api/enrollment/v1.0/application-materials/attachments/
${
process
.
env
.
projectId
}
/delete`
,
data
:
{
file_type
:
'REPORT_CARD_CN'
}
}
},
{
type
:
'v-upload'
,
label
:
'英文成绩单'
,
model
:
'REPORT_CARD_EN'
,
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
:
'REPORT_CARD_EN'
}
}
}
// {
// type: 'v-upload',
// label: '英文成绩单',
// model: 'REPORT_CARD_EN',
// 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: 'REPORT_CARD_EN' }
// }
// }
]
}
}
...
...
modules/my/interview/form/index.js
浏览文件 @
eb19c1d4
import
byzs
from
'./byzs'
import
cjd
from
'./cjd'
import
yynl
from
'./yynl'
// import xwzs from './xwzs'
import
ywjl
from
'./ywjl'
//
import zp from './zp'
import
zp
from
'./zp'
export
default
function
(
_this
)
{
return
{
id
:
'interview'
,
title
:
'申请面试'
,
children
:
[
byzs
(
_this
),
ywjl
(
_this
)]
children
:
[
byzs
(
_this
),
ywjl
(
_this
)
,
cjd
(
_this
),
yynl
(
_this
),
zp
(
_this
)
]
}
}
modules/my/interview/form/ywjl.js
浏览文件 @
eb19c1d4
...
...
@@ -23,24 +23,10 @@ export default function(_this) {
return
{
RESUME_EN
}
}
},
update
:
{
action
:
`
${
process
.
env
.
baseURL
}
/api/enrollment/v1.0/application-materials/submit/
${
process
.
env
.
projectId
}
`
,
beforeRequest
(
data
)
{
return
{
submission_stage
:
'INTERVIEW_APPLICATION'
}
},
callback
()
{
this
.
form
.
options
.
disabled
=
true
_this
.
dialogVisible
=
true
_this
.
getApplication
()
},
errorCallback
()
{
_this
.
completeVisible
=
true
}
},
form
:
{
prev
:
{
to
:
{
query
:
{
active
:
'interview_byzs'
}
}
},
submitText
:
'申请面试'
,
model
:
{
submission_stage
:
'INTERVIEW_APPLICATION'
}
,
next
:
{
to
:
{
query
:
{
active
:
'interview_cjd'
}
}
}
,
hasButton
:
false
,
options
:
{},
items
:
[
{
...
...
modules/my/interview/form/yynl.js
0 → 100644
浏览文件 @
eb19c1d4
export
default
function
(
_this
)
{
return
{
id
:
'interview_yynl'
,
title
:
'语言能力证明'
,
get
:
{
action
:
`
${
process
.
env
.
baseURL
}
/api/enrollment/v1.0/application-materials/
${
process
.
env
.
projectId
}
`
,
callback
(
data
)
{
const
{
attachments
=
[],
submission_stage
:
submissionStage
=
'FILLING'
}
=
data
.
data
.
material
const
stageList
=
[
'FILLING'
,
'PREPAYMENT'
,
'INTERVIEW_APPLICATION'
,
'AUDITION'
,
'INTERVIEW'
,
'PAYMENT'
,
'REGISTRATION'
,
'CLOSED'
]
this
.
form
.
options
.
disabled
=
stageList
.
findIndex
(
item
=>
item
===
submissionStage
)
>
2
return
attachments
.
reduce
(
(
result
,
item
)
=>
{
if
(
item
.
file_type_id
===
'INTERNATIONAL_LANGUAGE_SCORE'
)
{
result
.
INTERNATIONAL_LANGUAGE_SCORE
.
push
(
item
)
}
return
result
},
{
INTERNATIONAL_LANGUAGE_SCORE
:
[]
}
)
}
},
form
:
{
prev
:
{
to
:
{
query
:
{
active
:
'interview_cjd'
}
}
},
next
:
{
to
:
{
query
:
{
active
:
'interview_zp'
}
}
},
hasButton
:
false
,
options
:
{
'label-position'
:
'top'
},
hint
:
'成绩单类型包括:大学英语六级(450分及以上)、托福、雅思、Duolingo、iTEP Academic'
,
items
:
[
{
type
:
'v-upload'
,
model
:
'INTERNATIONAL_LANGUAGE_SCORE'
,
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
:
'INTERNATIONAL_LANGUAGE_SCORE'
}
}
}
]
}
}
}
modules/my/interview/form/zp.js
浏览文件 @
eb19c1d4
export
default
function
(
_this
)
{
return
{
id
:
'interview_zp'
,
title
:
'
2寸
照片'
,
title
:
'
个人
照片'
,
get
:
{
action
:
`
${
process
.
env
.
baseURL
}
/api/enrollment/v1.0/application-materials/
${
process
.
env
.
projectId
}
`
,
callback
(
data
)
{
...
...
@@ -38,7 +38,7 @@ export default function(_this) {
}
},
form
:
{
prev
:
{
to
:
{
query
:
{
active
:
'interview_
byzs
'
}
}
},
prev
:
{
to
:
{
query
:
{
active
:
'interview_
yynl
'
}
}
},
submitText
:
'申请面试'
,
model
:
{
submission_stage
:
'INTERVIEW_APPLICATION'
},
options
:
{},
...
...
@@ -52,8 +52,7 @@ export default function(_this) {
data
:
{
file_type
:
'PERSONAL_PHOTO_FOR_ID'
},
limit
:
1
},
append
:
'申请者需要上传本人半年以内的两寸彩色近照。<br> 只需上传一个文件,且照片完整、干净。<br> 上传文件仅限“jpg,jpeg,gif,png”格式的图片文件,且文件小于10MB。'
append
:
'申请者需提交白底两寸个人照片<br> 确保图片清晰可辨。<br> 上传文件仅限“jpg,jpeg,png”格式,文件小于5MB'
}
]
}
...
...
nuxt.config.js
浏览文件 @
eb19c1d4
...
...
@@ -6,15 +6,15 @@ export default {
ssr
:
false
,
env
:
process
.
env
,
server
:
{
port
:
2048
,
host
:
'0.0.0.0'
},
//
...(process.env.NODE_ENV === 'development' && {
//
server: {
//
host: 'dev.ezijing.com',
//
https: {
//
key: fs.readFileSync(path.resolve(__dirname, 'dev.ezijing.com.key')),
//
cert: fs.readFileSync(path.resolve(__dirname, 'dev.ezijing.com.pem'))
//
}
//
}
//
}),
...(
process
.
env
.
NODE_ENV
===
'development'
&&
{
server
:
{
host
:
'dev.ezijing.com'
,
https
:
{
key
:
fs
.
readFileSync
(
path
.
resolve
(
__dirname
,
'dev.ezijing.com.key'
)),
cert
:
fs
.
readFileSync
(
path
.
resolve
(
__dirname
,
'dev.ezijing.com.pem'
))
}
}
}),
// Global page headers: https://go.nuxtjs.dev/config-head
head
:
{
title
:
'纽约州立大学石溪分校金融硕士1+1项目'
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论