Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-online-pc
Commits
17e9adac
提交
17e9adac
authored
12月 28, 2022
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore(报名申请): 申请面试阶段新增申请表格
上级
1748465a
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
86 行增加
和
11 行删除
+86
-11
complete.vue
modules/my/application/complete.vue
+5
-0
preview.vue
modules/my/application/preview.vue
+2
-1
cjd.js
modules/my/interview/form/cjd.js
+1
-1
form.js
modules/my/interview/form/form.js
+65
-0
index.js
modules/my/interview/form/index.js
+2
-1
yynl.js
modules/my/interview/form/yynl.js
+11
-8
没有找到文件。
modules/my/application/complete.vue
浏览文件 @
17e9adac
...
...
@@ -65,6 +65,11 @@ export default {
title
:
'语言能力证明'
,
code
:
'INTERVIEW_APPLICATION.attachments.missed_required_list.INTERNATIONAL_LANGUAGE_SCORE'
,
view
:
{
to
:
{
path
:
'/my/interview'
,
query
:
{
active
:
'interview_yynl'
}
}
}
},
{
title
:
'申请表格'
,
code
:
'INTERVIEW_APPLICATION.attachments.missed_required_list.APPLICATION_FORM'
,
view
:
{
to
:
{
path
:
'/my/interview'
,
query
:
{
active
:
'interview_form'
}
}
}
}
],
[
...
...
modules/my/application/preview.vue
浏览文件 @
17e9adac
...
...
@@ -396,7 +396,8 @@ export default {
[
{
name
:
'英文简历'
,
code
:
'RESUME_EN'
},
{
name
:
'成绩单(中文)'
,
code
:
'REPORT_CARD_CN'
},
{
name
:
'语言能力证明'
,
code
:
'INTERNATIONAL_LANGUAGE_SCORE'
}
{
name
:
'语言能力证明'
,
code
:
'INTERNATIONAL_LANGUAGE_SCORE'
},
{
name
:
'申请表格'
,
code
:
'APPLICATION_FORM'
}
],
[
{
name
:
'成绩单(英文)'
,
code
:
'REPORT_CARD_EN'
},
...
...
modules/my/interview/form/cjd.js
浏览文件 @
17e9adac
...
...
@@ -40,7 +40,7 @@ export default function(_this) {
}
},
form
:
{
prev
:
{
to
:
{
query
:
{
active
:
'interview_ywjl'
}
}
},
prev
:
{
to
:
{
query
:
{
active
:
'interview_ywjl'
}
}
,
isSubmit
:
true
},
next
:
{
to
:
{
query
:
{
active
:
'interview_yynl'
}
},
isSubmit
:
true
},
hasButton
:
false
,
options
:
{
'label-position'
:
'top'
},
...
...
modules/my/interview/form/form.js
0 → 100644
浏览文件 @
17e9adac
import
{
STAGE_LIST
}
from
'../../index'
export
default
function
(
_this
)
{
return
{
required
:
true
,
id
:
'interview_form'
,
title
:
'申请表格'
,
get
:
{
action
:
`
${
process
.
env
.
baseURL
}
/api/enrollment/v1.0/application-materials/
${
process
.
env
.
projectId
}
`
,
callback
(
data
)
{
const
{
basic_info
:
basicInfo
=
{},
attachments
=
[],
submission_stage
:
submissionStage
=
'FILLING'
}
=
data
.
data
.
material
this
.
form
.
options
.
disabled
=
STAGE_LIST
.
findIndex
(
item
=>
item
===
submissionStage
)
>
2
const
attachment
=
attachments
.
reduce
(
(
result
,
item
)
=>
{
if
(
item
.
file_type_id
===
'APPLICATION_FORM'
)
{
result
.
APPLICATION_FORM
.
push
(
item
)
}
return
result
},
{
APPLICATION_FORM
:
[]
}
)
return
Object
.
assign
({},
basicInfo
,
attachment
)
}
},
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_yynl'
}
}
},
submitText
:
'申请面试'
,
model
:
{
submission_stage
:
'INTERVIEW_APPLICATION'
},
options
:
{
'label-position'
:
'top'
},
items
:
[
{
required
:
true
,
type
:
'v-upload'
,
model
:
'APPLICATION_FORM'
,
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
:
'APPLICATION_FORM'
},
limit
:
1
},
rules
:
[{
required
:
true
,
message
:
'请上传'
,
trigger
:
'change'
}],
prepend
:
`<p>请下载填写申请表格(First Year Application Form)模板后上传 <a href="https://webapp-pub.ezijing.com/project/sit-plus/First%20Year%20Application.docx" target="_blank" download="申请表格" style="color:#aa1941;">[下载模板]</a></p>`
}
]
}
}
}
modules/my/interview/form/index.js
浏览文件 @
17e9adac
...
...
@@ -5,11 +5,12 @@ import yynl from './yynl'
import
ywjl
from
'./ywjl'
// import zp from './zp'
// import tjx from './tjx'
import
form
from
'./form'
export
default
function
(
_this
)
{
return
{
id
:
'interview'
,
title
:
'申请面试'
,
children
:
[
ywjl
(
_this
),
cjd
(
_this
),
yynl
(
_this
)]
children
:
[
ywjl
(
_this
),
cjd
(
_this
),
yynl
(
_this
)
,
form
(
_this
)
]
}
}
modules/my/interview/form/yynl.js
浏览文件 @
17e9adac
...
...
@@ -34,17 +34,19 @@ export default function(_this) {
return
result
},
{})
return
{
basic_info
:
basicInfo
}
},
callback
()
{
_this
.
changeSubmissionStage
(()
=>
{
this
.
form
.
options
.
disabled
=
true
})
}
// callback() {
// _this.changeSubmissionStage(() => {
// this.form.options.disabled = true
// })
// }
},
form
:
{
prev
:
{
to
:
{
query
:
{
active
:
'interview_cjd'
}
}
},
submitText
:
'申请面试'
,
model
:
{
submission_stage
:
'INTERVIEW_APPLICATION'
},
prev
:
{
to
:
{
query
:
{
active
:
'interview_cjd'
}
},
isSubmit
:
true
},
next
:
{
to
:
{
query
:
{
active
:
'interview_form'
}
},
isSubmit
:
true
},
// submitText: '申请面试',
hasButton
:
false
,
// model: { submission_stage: 'INTERVIEW_APPLICATION' },
options
:
{
'label-position'
:
'top'
},
items
:
[
{
...
...
@@ -64,6 +66,7 @@ export default function(_this) {
deleteAction
:
`
${
process
.
env
.
baseURL
}
/api/enrollment/v1.0/application-materials/attachments/
${
process
.
env
.
projectId
}
/delete`
,
data
:
{
file_type
:
'INTERNATIONAL_LANGUAGE_SCORE'
}
},
rules
:
[{
required
:
true
,
message
:
'请上传'
,
trigger
:
'change'
}],
append
:
'成绩单类型包括:CET-4,CET-6,TOEFL,IELTS等'
}
]
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论