Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-online-pc
Commits
aaf87a77
提交
aaf87a77
authored
5月 23, 2022
作者:
haodaking
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: 表单必填校验
上级
b9483c83
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
28 行增加
和
89 行删除
+28
-89
cjd.js
modules/my/admission/form/cjd.js
+3
-10
xfjn.js
modules/my/admission/form/xfjn.js
+2
-10
xy.js
modules/my/admission/form/xy.js
+3
-11
byzs.js
modules/my/interview/form/byzs.js
+7
-16
cjd.js
modules/my/interview/form/cjd.js
+2
-10
ywjl.js
modules/my/interview/form/ywjl.js
+4
-11
yynl.js
modules/my/interview/form/yynl.js
+3
-10
zp.js
modules/my/interview/form/zp.js
+4
-11
没有找到文件。
modules/my/admission/form/cjd.js
浏览文件 @
aaf87a77
...
...
@@ -6,16 +6,7 @@ export default function(_this) {
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'
]
const
stageList
=
[
'FILLING'
,
'PREPAYMENT'
,
'INTERVIEW_APPLICATION'
,
'AUDITION'
,
'INTERVIEW'
,
'PAYMENT'
,
'REGISTRATION'
,
'CLOSED'
]
this
.
form
.
options
.
disabled
=
stageList
.
findIndex
(
item
=>
item
===
submissionStage
)
>
6
return
attachments
.
reduce
(
(
result
,
item
)
=>
{
...
...
@@ -42,6 +33,7 @@ export default function(_this) {
`
,
items
:
[
{
required
:
true
,
type
:
'v-upload'
,
label
:
'中文成绩单'
,
model
:
'REPORT_CARD_CN'
,
...
...
@@ -53,6 +45,7 @@ export default function(_this) {
}
},
{
required
:
true
,
type
:
'v-upload'
,
label
:
'英文成绩单'
,
model
:
'REPORT_CARD_EN'
,
...
...
modules/my/admission/form/xfjn.js
浏览文件 @
aaf87a77
...
...
@@ -6,16 +6,7 @@ export default function(_this) {
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'
]
const
stageList
=
[
'FILLING'
,
'PREPAYMENT'
,
'INTERVIEW_APPLICATION'
,
'AUDITION'
,
'INTERVIEW'
,
'PAYMENT'
,
'REGISTRATION'
,
'CLOSED'
]
this
.
form
.
options
.
disabled
=
stageList
.
findIndex
(
item
=>
item
===
submissionStage
)
>
6
const
PAYMENT_VOUCHER
=
attachments
.
filter
(
item
=>
{
return
item
.
file_type_id
===
'PAYMENT_VOUCHER'
...
...
@@ -37,6 +28,7 @@ export default function(_this) {
<p>支付宝户名:清控紫荆(北京)教育科技股份有限公司</p>`
,
items
:
[
{
required
:
true
,
type
:
'v-upload'
,
model
:
'PAYMENT_VOUCHER'
,
label
:
'上传缴费凭证'
,
...
...
modules/my/admission/form/xy.js
浏览文件 @
aaf87a77
...
...
@@ -6,16 +6,7 @@ export default function(_this) {
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'
]
const
stageList
=
[
'FILLING'
,
'PREPAYMENT'
,
'INTERVIEW_APPLICATION'
,
'AUDITION'
,
'INTERVIEW'
,
'PAYMENT'
,
'REGISTRATION'
,
'CLOSED'
]
this
.
form
.
options
.
disabled
=
stageList
.
findIndex
(
item
=>
item
===
submissionStage
)
>
6
const
ADMISSION_AGREEMENT
=
attachments
.
filter
(
item
=>
{
return
item
.
file_type_id
===
'ADMISSION_AGREEMENT'
...
...
@@ -27,11 +18,12 @@ export default function(_this) {
prev
:
{
to
:
{
query
:
{
active
:
'admission_tjx'
}
}
},
next
:
{
to
:
{
query
:
{
active
:
'admission_xfjn'
}
}
},
hasButton
:
false
,
options
:
{},
options
:
{
'label-position'
:
'top'
},
items
:
[
{
type
:
'v-upload'
,
required
:
true
,
label
:
'入学协议'
,
model
:
'ADMISSION_AGREEMENT'
,
attrs
:
{
action
:
`
${
process
.
env
.
baseURL
}
/api/enrollment/v1.0/application-materials/attachments/
${
process
.
env
.
projectId
}
/put`
,
...
...
modules/my/interview/form/byzs.js
浏览文件 @
aaf87a77
...
...
@@ -6,16 +6,7 @@ export default function(_this) {
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'
]
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
)
=>
{
...
...
@@ -44,6 +35,7 @@ export default function(_this) {
2、如尚未毕业,请上传在读证明`
,
items
:
[
{
required
:
true
,
label
:
'毕业证书'
,
type
:
'v-upload'
,
model
:
'DIPLOMA_CN'
,
...
...
@@ -52,10 +44,10 @@ export default function(_this) {
deleteAction
:
`
${
process
.
env
.
baseURL
}
/api/enrollment/v1.0/application-materials/attachments/
${
process
.
env
.
projectId
}
/delete`
,
data
:
{
file_type
:
'DIPLOMA_CN'
}
},
append
:
'申请者需要将本科或以上毕业证书原件扫描或者拍照后提交。<br> 可上传多个文件,请确保证书号码清晰可辨。<br> 上传文件仅限“jpg,jpeg,png”格式,文件小于10MB。'
append
:
'申请者需要将本科或以上毕业证书原件扫描或者拍照后提交。<br> 可上传多个文件,请确保证书号码清晰可辨。<br> 上传文件仅限“jpg,jpeg,png”格式,文件小于10MB。'
},
{
required
:
true
,
label
:
'学位证书'
,
type
:
'v-upload'
,
model
:
'DEGREE_CERT_CN'
,
...
...
@@ -64,10 +56,10 @@ export default function(_this) {
deleteAction
:
`
${
process
.
env
.
baseURL
}
/api/enrollment/v1.0/application-materials/attachments/
${
process
.
env
.
projectId
}
/delete`
,
data
:
{
file_type
:
'DEGREE_CERT_CN'
}
},
append
:
'已毕业学员请提交学位证书<br />申请者需要将本科或以上的学位证书原件扫描或拍照后提交<br />可上传多个文件,请确保公章清晰可辨。'
append
:
'已毕业学员请提交学位证书<br />申请者需要将本科或以上的学位证书原件扫描或拍照后提交<br />可上传多个文件,请确保公章清晰可辨。'
},
{
required
:
true
,
label
:
'在读证明'
,
type
:
'v-upload'
,
model
:
'PROOF_READING'
,
...
...
@@ -76,8 +68,7 @@ export default function(_this) {
deleteAction
:
`
${
process
.
env
.
baseURL
}
/api/enrollment/v1.0/application-materials/attachments/
${
process
.
env
.
projectId
}
/delete`
,
data
:
{
file_type
:
'PROOF_READING'
}
},
append
:
'未毕业学员提交加盖公章的在读证明<br/>申请者需要将本科或以上在读证明原件扫描或拍照后提交。<br> 可上传多个文件,请确保公章清晰可辨。'
append
:
'未毕业学员提交加盖公章的在读证明<br/>申请者需要将本科或以上在读证明原件扫描或拍照后提交。<br> 可上传多个文件,请确保公章清晰可辨。'
}
]
}
...
...
modules/my/interview/form/cjd.js
浏览文件 @
aaf87a77
...
...
@@ -6,16 +6,7 @@ export default function(_this) {
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'
]
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
)
=>
{
...
...
@@ -43,6 +34,7 @@ export default function(_this) {
`
,
items
:
[
{
required
:
true
,
type
:
'v-upload'
,
label
:
'中文成绩单'
,
model
:
'REPORT_CARD_CN'
,
...
...
modules/my/interview/form/ywjl.js
浏览文件 @
aaf87a77
...
...
@@ -6,16 +6,7 @@ export default function(_this) {
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'
]
const
stageList
=
[
'FILLING'
,
'PREPAYMENT'
,
'INTERVIEW_APPLICATION'
,
'AUDITION'
,
'INTERVIEW'
,
'PAYMENT'
,
'REGISTRATION'
,
'CLOSED'
]
this
.
form
.
options
.
disabled
=
stageList
.
findIndex
(
item
=>
item
===
submissionStage
)
>
2
const
RESUME_EN
=
attachments
.
filter
(
item
=>
{
return
item
.
file_type_id
===
'RESUME_EN'
...
...
@@ -27,9 +18,11 @@ export default function(_this) {
prev
:
{
to
:
{
query
:
{
active
:
'interview_byzs'
}
}
},
next
:
{
to
:
{
query
:
{
active
:
'interview_cjd'
}
}
},
hasButton
:
false
,
options
:
{},
options
:
{
'label-position'
:
'top'
},
items
:
[
{
required
:
true
,
label
:
'英文简历'
,
type
:
'v-upload'
,
model
:
'RESUME_EN'
,
attrs
:
{
...
...
modules/my/interview/form/yynl.js
浏览文件 @
aaf87a77
...
...
@@ -6,16 +6,7 @@ export default function(_this) {
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'
]
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
)
=>
{
...
...
@@ -36,7 +27,9 @@ export default function(_this) {
hint
:
'成绩单类型包括:大学英语六级(450分及以上)、托福、雅思、Duolingo、iTEP Academic'
,
items
:
[
{
required
:
true
,
type
:
'v-upload'
,
label
:
'语言能力证明'
,
model
:
'INTERNATIONAL_LANGUAGE_SCORE'
,
attrs
:
{
action
:
`
${
process
.
env
.
baseURL
}
/api/enrollment/v1.0/application-materials/attachments/
${
process
.
env
.
projectId
}
/put`
,
...
...
modules/my/interview/form/zp.js
浏览文件 @
aaf87a77
...
...
@@ -6,16 +6,7 @@ export default function(_this) {
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'
]
const
stageList
=
[
'FILLING'
,
'PREPAYMENT'
,
'INTERVIEW_APPLICATION'
,
'AUDITION'
,
'INTERVIEW'
,
'PAYMENT'
,
'REGISTRATION'
,
'CLOSED'
]
this
.
form
.
options
.
disabled
=
stageList
.
findIndex
(
item
=>
item
===
submissionStage
)
>
2
const
PERSONAL_PHOTO_FOR_ID
=
attachments
.
filter
(
item
=>
{
return
item
.
file_type_id
===
'PERSONAL_PHOTO_FOR_ID'
...
...
@@ -41,10 +32,12 @@ export default function(_this) {
prev
:
{
to
:
{
query
:
{
active
:
'interview_yynl'
}
}
},
submitText
:
'申请面试'
,
model
:
{
submission_stage
:
'INTERVIEW_APPLICATION'
},
options
:
{},
options
:
{
'label-position'
:
'top'
},
items
:
[
{
required
:
true
,
type
:
'v-upload'
,
label
:
'个人照片'
,
model
:
'PERSONAL_PHOTO_FOR_ID'
,
attrs
:
{
action
:
`
${
process
.
env
.
baseURL
}
/api/enrollment/v1.0/application-materials/attachments/
${
process
.
env
.
projectId
}
/put`
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论