Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-online-pc
Commits
ec96fe90
提交
ec96fe90
authored
10月 15, 2022
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore:报名流程新增字段
上级
a21dfca4
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
68 行增加
和
13 行删除
+68
-13
education.js
modules/my/application/form/info/education.js
+19
-0
preview.vue
modules/my/application/preview.vue
+27
-5
cjd.js
modules/my/interview/form/cjd.js
+12
-6
yynl.js
modules/my/interview/form/yynl.js
+10
-2
没有找到文件。
modules/my/application/form/info/education.js
浏览文件 @
ec96fe90
...
@@ -21,6 +21,7 @@ export default function(_this) {
...
@@ -21,6 +21,7 @@ export default function(_this) {
update
:
{
update
:
{
action
:
`
${
process
.
env
.
baseURL
}
/api/enrollment/v1.0/application-materials/
${
process
.
env
.
projectId
}
/put`
,
action
:
`
${
process
.
env
.
baseURL
}
/api/enrollment/v1.0/application-materials/
${
process
.
env
.
projectId
}
/put`
,
beforeRequest
(
data
)
{
beforeRequest
(
data
)
{
console
.
log
(
data
,
'1111'
)
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
)
=>
{
result
[
key
]
=
item
[
key
]
result
[
key
]
=
item
[
key
]
...
@@ -36,6 +37,14 @@ export default function(_this) {
...
@@ -36,6 +37,14 @@ export default function(_this) {
hasAdd
:
true
,
hasAdd
:
true
,
options
:
{
labelWidth
:
'140px'
},
options
:
{
labelWidth
:
'140px'
},
items
:
[
items
:
[
{
type
:
'v-input'
,
label
:
'当前教育状态'
,
model
:
'education_status'
,
attrs
:
{
placeholder
:
'请填写当前教育状态'
},
rules
:
[{
required
:
true
,
message
:
'请填写当前教育状态'
,
trigger
:
'blur'
}],
append
:
'<p style="color:#606266">当前教育状态(填写示例:本科在读/大四)</p>'
},
{
{
type
:
'v-datepicker'
,
type
:
'v-datepicker'
,
label
:
'开始时间'
,
label
:
'开始时间'
,
...
@@ -89,6 +98,16 @@ export default function(_this) {
...
@@ -89,6 +98,16 @@ export default function(_this) {
model
:
'degree'
,
model
:
'degree'
,
rules
:
[{
required
:
true
,
message
:
'请选择学历/学位'
,
trigger
:
'change'
}]
rules
:
[{
required
:
true
,
message
:
'请选择学历/学位'
,
trigger
:
'change'
}]
}
}
],
appendItems
:
[
{
type
:
'v-input'
,
label
:
'当前教育状态'
,
model
:
'education_status'
,
attrs
:
{
placeholder
:
'请填写当前教育状态'
},
rules
:
[{
required
:
true
,
message
:
'请填写当前教育状态'
,
trigger
:
'blur'
}],
append
:
'<p style="color:#606266">当前教育状态(填写示例:本科在读/大四)</p>'
}
]
]
}
}
}
}
...
...
modules/my/application/preview.vue
浏览文件 @
ec96fe90
...
@@ -4,13 +4,26 @@
...
@@ -4,13 +4,26 @@
<div
class=
"preview-hd"
>
<div
class=
"preview-hd"
>
<el-steps
align-center
:active=
"options.length"
>
<el-steps
align-center
:active=
"options.length"
>
<template
v-for=
"item in options"
>
<template
v-for=
"item in options"
>
<el-step
:title=
"item.title"
:status=
"(progress.FILLING[item.code] && progress.FILLING[item.code].progress === 1) || !item.required ? 'success' : 'error'"
:key=
"item.code"
></el-step>
<el-step
:title=
"item.title"
:status=
"
(progress.FILLING[item.code] && progress.FILLING[item.code].progress === 1) || !item.required
? 'success'
: 'error'
"
:key=
"item.code"
></el-step>
</
template
>
</
template
>
</el-steps>
</el-steps>
</div>
</div>
<div
class=
"preivew-bd"
>
<div
class=
"preivew-bd"
>
<
template
v-for=
"item in options"
>
<
template
v-for=
"item in options"
>
<div
class=
"preview-item"
:class=
"progress.FILLING[item.code].progress === 1 || !item.required ? 'is-success' : 'is-error'"
:key=
"item.code"
v-if=
"progress.FILLING[item.code]"
>
<div
class=
"preview-item"
:class=
"progress.FILLING[item.code].progress === 1 || !item.required ? 'is-success' : 'is-error'"
:key=
"item.code"
v-if=
"progress.FILLING[item.code]"
>
<div
class=
"preview-item-hd"
>
<div
class=
"preview-item-hd"
>
<div
class=
"title"
>
<div
class=
"title"
>
{{
item
.
title
}}
{{
item
.
title
}}
...
@@ -26,7 +39,11 @@
...
@@ -26,7 +39,11 @@
</
template
>
</
template
>
<
template
v-else-if=
"item.isMultiple"
>
<
template
v-else-if=
"item.isMultiple"
>
<div
class=
"group"
v-for=
"(data, index) in material[item.code]"
:key=
"index"
>
<div
class=
"group"
v-for=
"(data, index) in material[item.code]"
:key=
"index"
>
<dl
v-for=
"subitem in item.items"
:key=
"subitem.code"
v-show=
"subitem.visible ? subitem.visible() : true"
>
<dl
v-for=
"subitem in item.items"
:key=
"subitem.code"
v-show=
"subitem.visible ? subitem.visible() : true"
>
<dt>
{{
subitem
.
label
}}
:
</dt>
<dt>
{{
subitem
.
label
}}
:
</dt>
<dd>
<dd>
<template
v-if=
"subitem.computed"
>
<template
v-if=
"subitem.computed"
>
...
@@ -74,7 +91,9 @@
...
@@ -74,7 +91,9 @@
</div>
</div>
</div>
</div>
<el-button-group
v-if=
"hasButton"
style=
"margin-left: 40px"
>
<el-button-group
v-if=
"hasButton"
style=
"margin-left: 40px"
>
<el-button
size=
"mini"
:disabled=
"item.status === 'INACTIVE'"
@
click=
"handleRemove(item)"
>
删除
</el-button>
<el-button
size=
"mini"
:disabled=
"item.status === 'INACTIVE'"
@
click=
"handleRemove(item)"
>
删除
</el-button
>
<el-button
size=
"mini"
:disabled=
"item.status === 'LOG'"
@
click=
"handleSave(item)"
>
存档
</el-button>
<el-button
size=
"mini"
:disabled=
"item.status === 'LOG'"
@
click=
"handleSave(item)"
>
存档
</el-button>
</el-button-group>
</el-button-group>
</li>
</li>
...
@@ -230,7 +249,10 @@ export default {
...
@@ -230,7 +249,10 @@ export default {
},
},
{
label
:
'专业名称'
,
code
:
'major_cn'
},
{
label
:
'专业名称'
,
code
:
'major_cn'
},
{
label
:
'学校名称'
,
code
:
'school_name_cn'
},
{
label
:
'学校名称'
,
code
:
'school_name_cn'
},
{
label
:
'学历/学位'
,
code
:
'degree'
}
{
label
:
'学历/学位'
,
code
:
'degree'
},
{
label
:
'当前状态'
,
code
:
'education_status'
},
{
label
:
'GPA'
,
code
:
'gpa_score'
},
{
label
:
'语言成绩'
,
code
:
'language_score'
}
]
]
},
},
{
{
...
...
modules/my/interview/form/cjd.js
浏览文件 @
ec96fe90
...
@@ -37,12 +37,14 @@ export default function(_this) {
...
@@ -37,12 +37,14 @@ export default function(_this) {
next
:
{
to
:
{
query
:
{
active
:
'interview_yynl'
}
}
},
next
:
{
to
:
{
query
:
{
active
:
'interview_yynl'
}
}
},
hasButton
:
false
,
hasButton
:
false
,
options
:
{
'label-position'
:
'top'
},
options
:
{
'label-position'
:
'top'
},
hint
:
`
<p>已毕业学生需提交完整成绩单,未毕业学生提交现有成绩单,成绩单需要加盖学校公章</p>
<p>请将中文成绩单原件扫描或者拍照后提交。</p>
<p>获取途径:联系大学时就读学校相关部门(档案馆/教务处)获取成绩单。</p>
`
,
items
:
[
items
:
[
{
type
:
'v-input'
,
label
:
'GPA成绩 (填写示例:3.9 / 5.0)'
,
model
:
'id_number'
,
attrs
:
{
placeholder
:
'请填写您的GPA成绩'
},
rules
:
[{
required
:
true
,
message
:
'请填写您的GPA成绩'
,
trigger
:
'blur'
}]
},
{
{
required
:
true
,
required
:
true
,
type
:
'v-upload'
,
type
:
'v-upload'
,
...
@@ -52,7 +54,11 @@ export default function(_this) {
...
@@ -52,7 +54,11 @@ export default function(_this) {
action
:
`
${
process
.
env
.
baseURL
}
/api/enrollment/v1.0/application-materials/attachments/
${
process
.
env
.
projectId
}
/put`
,
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`
,
deleteAction
:
`
${
process
.
env
.
baseURL
}
/api/enrollment/v1.0/application-materials/attachments/
${
process
.
env
.
projectId
}
/delete`
,
data
:
{
file_type
:
'REPORT_CARD_CN'
}
data
:
{
file_type
:
'REPORT_CARD_CN'
}
}
},
append
:
`
<p>已毕业学生需提交完整成绩单,未毕业学生提交现有成绩单,成绩单需要加盖学校公章</p>
<p>请将中文成绩单原件扫描或者拍照后提交。</p>
<p>获取途径:联系大学时就读学校相关部门(档案馆/教务处)获取成绩单。</p>`
}
}
// {
// {
// type: 'v-upload',
// type: 'v-upload',
...
...
modules/my/interview/form/yynl.js
浏览文件 @
ec96fe90
...
@@ -48,17 +48,25 @@ export default function(_this) {
...
@@ -48,17 +48,25 @@ export default function(_this) {
submitText
:
'申请面试'
,
submitText
:
'申请面试'
,
model
:
{
submission_stage
:
'INTERVIEW_APPLICATION'
},
model
:
{
submission_stage
:
'INTERVIEW_APPLICATION'
},
options
:
{
'label-position'
:
'top'
},
options
:
{
'label-position'
:
'top'
},
hint
:
'成绩单类型包括:CET-4,CET-6,TOEFL,IELTS等'
,
items
:
[
items
:
[
{
type
:
'v-input'
,
label
:
'语言成绩(填写示例:大学英语六级/550)'
,
model
:
'id_number'
,
attrs
:
{
placeholder
:
'请填写您的语言成绩'
},
rules
:
[{
required
:
true
,
message
:
'请填写您的语言成绩'
,
trigger
:
'blur'
}]
},
{
{
required
:
true
,
required
:
true
,
type
:
'v-upload'
,
type
:
'v-upload'
,
label
:
'语言成绩单'
,
model
:
'INTERNATIONAL_LANGUAGE_SCORE'
,
model
:
'INTERNATIONAL_LANGUAGE_SCORE'
,
attrs
:
{
attrs
:
{
action
:
`
${
process
.
env
.
baseURL
}
/api/enrollment/v1.0/application-materials/attachments/
${
process
.
env
.
projectId
}
/put`
,
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`
,
deleteAction
:
`
${
process
.
env
.
baseURL
}
/api/enrollment/v1.0/application-materials/attachments/
${
process
.
env
.
projectId
}
/delete`
,
data
:
{
file_type
:
'INTERNATIONAL_LANGUAGE_SCORE'
}
data
:
{
file_type
:
'INTERNATIONAL_LANGUAGE_SCORE'
}
}
},
append
:
'成绩单类型包括:CET-4,CET-6,TOEFL,IELTS等'
}
}
]
]
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论