Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-online-pc
Commits
c07b33a3
提交
c07b33a3
authored
9月 23, 2022
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
bug fixes
上级
eadaed6e
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
30 行增加
和
10 行删除
+30
-10
grcs.js
modules/my/admission/form/grcs.js
+2
-1
tjx.js
modules/my/admission/form/tjx.js
+19
-8
complete.vue
modules/my/application/complete.vue
+9
-1
没有找到文件。
modules/my/admission/form/grcs.js
浏览文件 @
c07b33a3
...
@@ -37,7 +37,8 @@ export default function(_this) {
...
@@ -37,7 +37,8 @@ export default function(_this) {
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
:
'PERSONAL_STATEMENT'
}
data
:
{
file_type
:
'PERSONAL_STATEMENT'
},
limit
:
1
},
},
append
:
'请上传您的个人陈述(英文)'
append
:
'请上传您的个人陈述(英文)'
}
}
...
...
modules/my/admission/form/tjx.js
浏览文件 @
c07b33a3
...
@@ -20,16 +20,16 @@ export default function(_this) {
...
@@ -20,16 +20,16 @@ export default function(_this) {
this
.
form
.
options
.
disabled
=
stageList
.
findIndex
(
item
=>
item
===
submissionStage
)
>
6
this
.
form
.
options
.
disabled
=
stageList
.
findIndex
(
item
=>
item
===
submissionStage
)
>
6
return
attachments
.
reduce
(
return
attachments
.
reduce
(
(
result
,
item
)
=>
{
(
result
,
item
)
=>
{
const
types
=
[
'RECOMMENDATION_LETTER'
,
'RECOMMENDATION_LETTER_2'
]
types
.
forEach
(
type
=>
{
item
.
disabled
=
item
.
upload_operator_user_id
!==
_this
.
user
?.
id
item
.
disabled
=
item
.
upload_operator_user_id
!==
_this
.
user
?.
id
if
(
item
.
file_type_id
===
type
)
{
if
(
item
.
file_type_id
===
'RECOMMENDATION_LETTER'
)
{
result
.
RECOMMENDATION_LETTER
.
push
(
item
)
result
.
RECOMMENDATION_LETTER
.
push
(
item
)
}
}
})
if
(
item
.
file_type_id
===
'RECOMMENDATION_LETTER_2'
)
{
result
.
RECOMMENDATION_LETTER_2
.
push
(
item
)
}
return
result
return
result
},
},
{
RECOMMENDATION_LETTER
:
[]
}
{
RECOMMENDATION_LETTER
:
[]
,
RECOMMENDATION_LETTER_2
:
[]
}
)
)
}
}
},
},
...
@@ -54,6 +54,7 @@ export default function(_this) {
...
@@ -54,6 +54,7 @@ export default function(_this) {
// submitText: '申请面试',
// submitText: '申请面试',
// model: { submission_stage: 'INTERVIEW_APPLICATION' },
// model: { submission_stage: 'INTERVIEW_APPLICATION' },
options
:
{},
options
:
{},
hint
:
'请上传两封推荐人署名的推荐信原件照片或扫描件(英文)'
,
items
:
[
items
:
[
{
{
type
:
'v-upload'
,
type
:
'v-upload'
,
...
@@ -62,10 +63,20 @@ export default function(_this) {
...
@@ -62,10 +63,20 @@ 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
:
'RECOMMENDATION_LETTER'
},
data
:
{
file_type
:
'RECOMMENDATION_LETTER'
},
accept
:
'image/*'
accept
:
'image/*'
,
limit
:
1
}
},
},
append
:
'请上传推荐人署名的推荐信原件照片或扫描件 '
,
{
class
:
'upload-letter'
type
:
'v-upload'
,
model
:
'RECOMMENDATION_LETTER_2'
,
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
:
'RECOMMENDATION_LETTER_2'
},
accept
:
'image/*'
,
limit
:
1
}
}
}
]
]
}
}
...
...
modules/my/application/complete.vue
浏览文件 @
c07b33a3
...
@@ -67,7 +67,10 @@ export default {
...
@@ -67,7 +67,10 @@ export default {
},
},
{
{
title
:
'推荐信'
,
title
:
'推荐信'
,
code
:
'REGISTRATION.attachments.submitted_required_list.RECOMMENDATION_LETTER'
,
code
:
[
'REGISTRATION.attachments.submitted_required_list.RECOMMENDATION_LETTER'
,
'REGISTRATION.attachments.submitted_required_list.RECOMMENDATION_LETTER_2'
],
view
:
{
to
:
{
path
:
'/my/admission'
,
query
:
{
active
:
'admission_tjx'
}
}
}
view
:
{
to
:
{
path
:
'/my/admission'
,
query
:
{
active
:
'admission_tjx'
}
}
}
},
},
{
{
...
@@ -110,6 +113,11 @@ export default {
...
@@ -110,6 +113,11 @@ export default {
})
})
},
},
progress
(
prop
)
{
progress
(
prop
)
{
if
(
Array
.
isArray
(
prop
))
{
return
prop
.
every
(
item
=>
{
return
get
(
this
.
detail
.
progress
,
item
)
})
}
return
get
(
this
.
detail
.
progress
,
prop
)
return
get
(
this
.
detail
.
progress
,
prop
)
},
},
handleView
(
to
)
{
handleView
(
to
)
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论