Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-online-pc
Commits
ff4be0b6
提交
ff4be0b6
authored
6月 17, 2022
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: 推荐信改为上传附件;修改申请面试阶段的内容;
上级
e35da6dd
显示空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
125 行增加
和
37 行删除
+125
-37
index.js
modules/my/admission/form/index.js
+7
-1
xy.js
modules/my/admission/form/xy.js
+1
-1
yynl.js
modules/my/admission/form/yynl.js
+1
-1
complete.vue
modules/my/application/complete.vue
+20
-17
byzs.js
modules/my/interview/form/byzs.js
+1
-0
index.js
modules/my/interview/form/index.js
+2
-1
tjx.js
modules/my/interview/form/tjx.js
+71
-0
ywjl.js
modules/my/interview/form/ywjl.js
+19
-16
index.vue
modules/my/interview/index.vue
+3
-0
没有找到文件。
modules/my/admission/form/index.js
浏览文件 @
ff4be0b6
...
...
@@ -10,6 +10,12 @@ export default function(_this) {
return
{
id
:
'admission'
,
title
:
'入学办理'
,
children
:
[
cjd
(
_this
),
yynl
(
_this
),
tjx
(
_this
),
xy
(
_this
),
xfjn
(
_this
)]
children
:
[
cjd
(
_this
),
yynl
(
_this
),
// tjx(_this),
xy
(
_this
),
xfjn
(
_this
)
]
}
}
modules/my/admission/form/xy.js
浏览文件 @
ff4be0b6
...
...
@@ -24,7 +24,7 @@ export default function(_this) {
}
},
form
:
{
prev
:
{
to
:
{
query
:
{
active
:
'admission_
tjx
'
}
}
},
prev
:
{
to
:
{
query
:
{
active
:
'admission_
yynl
'
}
}
},
next
:
{
to
:
{
query
:
{
active
:
'admission_xfjn'
}
}
},
hasButton
:
false
,
options
:
{},
...
...
modules/my/admission/form/yynl.js
浏览文件 @
ff4be0b6
...
...
@@ -33,7 +33,7 @@ export default function(_this) {
},
form
:
{
prev
:
{
to
:
{
query
:
{
active
:
'admission_cjd'
}
}
},
next
:
{
to
:
{
query
:
{
active
:
'admission_
tjx
'
}
}
},
next
:
{
to
:
{
query
:
{
active
:
'admission_
xy
'
}
}
},
hasButton
:
false
,
options
:
{
'label-position'
:
'top'
},
items
:
[
...
...
modules/my/application/complete.vue
浏览文件 @
ff4be0b6
<
template
>
<el-dialog
title=
"您当前完成进度如下:"
width=
"3
4
8px"
width=
"3
8
8px"
:center=
"true"
:close-on-click-modal=
"false"
:visible
.
sync=
"dialogVisible"
...
...
@@ -57,11 +57,16 @@ export default {
],
[
{
title
:
'毕业证书'
,
title
:
'毕业证书
/在读证明
'
,
code
:
'interviewByzs'
,
view
:
{
to
:
{
path
:
'/my/interview'
,
query
:
{
active
:
'interview_byzs'
}
}
}
},
// {
// title: '毕业证书',
// code: 'interviewByzs',
// view: { to: { path: '/my/interview', query: { active: 'interview_byzs' } } }
// },
// {
// title: '学位证书',
// code: 'interviewXwzs',
// view: { to: { path: '/my/interview', query: { active: 'interview_xwzs' } } }
...
...
@@ -71,11 +76,11 @@ export default {
// code: 'interviewXwzsEnglish',
// view: { to: { path: '/my/interview', query: { active: 'interview_xwzsywzm' } } }
// },
//
{
//
title: '英文简历',
//
code: 'interviewYwjl',
//
view: { to: { path: '/my/interview', query: { active: 'interview_ywjl' } } }
//
},
{
title
:
'英文简历'
,
code
:
'interviewYwjl'
,
view
:
{
to
:
{
path
:
'/my/interview'
,
query
:
{
active
:
'interview_ywjl'
}
}
}
},
// {
// title: '成绩单',
// code: 'interviewCjd',
...
...
@@ -87,11 +92,11 @@ export default {
// view: { to: { path: '/my/interview', query: { active: 'interview_zp' } } }
// }
//
{
//
title: '推荐信',
//
code: 'interviewTjx',
// view: { to: { path: '/my/application', query: { active: 'application
_tjx' } } }
//
}
{
title
:
'推荐信'
,
code
:
'interviewTjx'
,
view
:
{
to
:
{
path
:
'/my/interview'
,
query
:
{
active
:
'interview
_tjx'
}
}
}
}
]
]
}
...
...
@@ -144,7 +149,7 @@ export default {
const
missedRequiredList
=
progress
.
INTERVIEW_APPLICATION
.
attachments
.
missed_required_list
// 2寸照片
const
interviewZp
=
{
progress
:
0
}
interviewZp
.
progress
=
missedRequiredList
.
PERSONAL_PHOTO_FOR_ID
?
0
:
1
interviewZp
.
progress
=
missedRequiredList
.
PERSONAL_PHOTO_FOR_ID
||
missedRequiredList
.
PROOF_READING
?
0
:
1
// 毕业证书
const
interviewByzs
=
{
progress
:
0
}
interviewByzs
.
progress
=
missedRequiredList
.
DIPLOMA_CN
?
0
:
1
...
...
@@ -162,9 +167,7 @@ export default {
interviewCjd
.
progress
=
missedRequiredList
.
REPORT_CARD_CN
||
missedRequiredList
.
REPORT_CARD_EN
?
0
:
1
// 推荐信
const
interviewTjx
=
{
progress
:
0
}
interviewTjx
.
progress
=
progress
.
INTERVIEW_APPLICATION
.
reco_letters
?
progress
.
INTERVIEW_APPLICATION
.
reco_letters
.
progress
:
0
interviewTjx
.
progress
=
missedRequiredList
.
RECOMMENDATION_LETTER
?
0
:
1
this
.
progress
=
{
applicaitonInfo
,
...
...
@@ -204,7 +207,7 @@ li {
align-items
:
center
;
}
.name
{
width
:
8
0px
;
width
:
12
0px
;
text-align
:
right
;
}
.line
{
...
...
modules/my/interview/form/byzs.js
浏览文件 @
ff4be0b6
export
default
function
(
_this
)
{
return
{
required
:
true
,
id
:
'interview_byzs'
,
title
:
'毕业证书或在读证明'
,
get
:
{
...
...
modules/my/interview/form/index.js
浏览文件 @
ff4be0b6
import
byzs
from
'./byzs'
// import xwzs from './xwzs'
import
ywjl
from
'./ywjl'
import
tjx
from
'./tjx'
// import zp from './zp'
export
default
function
(
_this
)
{
return
{
id
:
'interview'
,
title
:
'申请面试'
,
children
:
[
byzs
(
_this
),
ywjl
(
_this
)]
children
:
[
byzs
(
_this
),
ywjl
(
_this
)
,
tjx
(
_this
)
]
}
}
modules/my/interview/form/tjx.js
0 → 100644
浏览文件 @
ff4be0b6
export
default
function
(
_this
)
{
return
{
required
:
true
,
id
:
'interview_tjx'
,
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
)
=>
{
const
types
=
[
'RECOMMENDATION_LETTER'
,
'RECOMMENDATION_LETTER_2'
]
types
.
forEach
(
type
=>
{
item
.
disabled
=
item
.
upload_operator_user_id
!==
_this
.
user
?.
id
if
(
item
.
file_type_id
===
type
)
{
result
.
RECOMMENDATION_LETTER
.
push
(
item
)
}
})
return
result
},
{
RECOMMENDATION_LETTER
:
[]
}
)
}
},
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_ywjl'
}
}
},
submitText
:
'申请面试'
,
model
:
{
submission_stage
:
'INTERVIEW_APPLICATION'
},
options
:
{
'label-position'
:
'top'
},
items
:
[
{
type
:
'v-upload'
,
model
:
'RECOMMENDATION_LETTER'
,
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'
},
accept
:
'image/*'
},
append
:
'请上传推荐人署名的推荐信原件照片或扫描件 '
,
class
:
'upload-letter'
}
]
}
}
}
modules/my/interview/form/ywjl.js
浏览文件 @
ff4be0b6
export
default
function
(
_this
)
{
return
{
required
:
true
,
id
:
'interview_ywjl'
,
title
:
'英文简历'
,
get
:
{
...
...
@@ -23,24 +24,26 @@ 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
}
},
//
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_tjx'
}
}
},
hasButton
:
false
,
// submitText: '申请面试',
// model: { submission_stage: 'INTERVIEW_APPLICATION' },
options
:
{},
items
:
[
{
...
...
modules/my/interview/index.vue
浏览文件 @
ff4be0b6
...
...
@@ -82,6 +82,9 @@ export default {
},
showSubmitedDialog
()
{
return
this
.
isSubmited
&&
this
.
currentActive
===
'interview_byzs'
},
user
()
{
return
this
.
$store
.
state
.
user
}
},
methods
:
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论