Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-online-pc
Commits
6469f35b
提交
6469f35b
authored
10月 17, 2022
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
报名流程更新
上级
43a498af
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
54 行增加
和
29 行删除
+54
-29
my.js
api/my.js
+7
-0
education.js
modules/my/application/form/info/education.js
+15
-13
preview.vue
modules/my/application/preview.vue
+2
-2
cjd.js
modules/my/interview/form/cjd.js
+7
-7
yynl.js
modules/my/interview/form/yynl.js
+12
-7
index.vue
modules/my/interview/index.vue
+11
-0
没有找到文件。
api/my.js
浏览文件 @
6469f35b
import
httpRequest
from
'@/utils/httpRequest'
import
httpRequest
from
'@/utils/httpRequest'
const
projectId
=
process
.
env
.
projectId
const
projectId
=
process
.
env
.
projectId
const
baseURL
=
process
.
env
.
baseURL
/**
/**
* 获取用户信息
* 获取用户信息
...
@@ -151,3 +152,9 @@ export function createSign(data) {
...
@@ -151,3 +152,9 @@ export function createSign(data) {
export
function
getSignDocument
(
params
)
{
export
function
getSignDocument
(
params
)
{
return
httpRequest
.
get
(
'/api/usercenter/v1/sign/document'
,
{
params
})
return
httpRequest
.
get
(
'/api/usercenter/v1/sign/document'
,
{
params
})
}
}
/**
* 申请面试
*/
export
function
getInterview
(
data
)
{
return
httpRequest
.
post
(
`
${
baseURL
}
/api/enrollment/v1.0/application-materials/submit/
${
projectId
}
`
,
data
)
}
modules/my/application/form/info/education.js
浏览文件 @
6469f35b
...
@@ -19,7 +19,7 @@ export default function(_this) {
...
@@ -19,7 +19,7 @@ export default function(_this) {
submission_stage
:
submissionStage
=
'FILLING'
submission_stage
:
submissionStage
=
'FILLING'
}
=
data
.
data
.
material
}
=
data
.
data
.
material
this
.
form
.
options
.
disabled
=
submissionStage
!==
'FILLING'
this
.
form
.
options
.
disabled
=
submissionStage
!==
'FILLING'
console
.
log
(
list
)
list
[
0
].
education_status
=
basicInfo
.
education_status
return
list
.
length
?
list
:
[{}]
return
list
.
length
?
list
:
[{}]
}
}
},
},
...
@@ -32,9 +32,11 @@ export default function(_this) {
...
@@ -32,9 +32,11 @@ export default function(_this) {
return
result
return
result
},
{})
},
{})
})
})
const
basicInfo
=
{
education_status
:
data
[
0
].
education_status
}
const
basicInfo
=
{
education_status
:
data
.
education_status
}
return
{
basic_info
:
basicInfo
,
educations
}
return
{
basic_info
:
basicInfo
,
educations
}
},
callback
()
{
_this
.
getApplication
()
}
}
},
},
form
:
{
form
:
{
...
@@ -42,6 +44,16 @@ export default function(_this) {
...
@@ -42,6 +44,16 @@ export default function(_this) {
next
:
{
to
:
{
query
:
{
active
:
'application_info'
,
tab
:
'application_info_career'
}
},
isSubmit
:
true
},
next
:
{
to
:
{
query
:
{
active
:
'application_info'
,
tab
:
'application_info_career'
}
},
isSubmit
:
true
},
hasAdd
:
true
,
hasAdd
:
true
,
options
:
{
labelWidth
:
'140px'
},
options
:
{
labelWidth
:
'140px'
},
appendItems
:
[
{
type
:
'v-input'
,
label
:
'当前教育状态'
,
model
:
'education_status'
,
attrs
:
{
placeholder
:
'请填写当前教育状态'
},
rules
:
[{
required
:
true
,
message
:
'请填写当前教育状态'
,
trigger
:
'blur'
}],
append
:
'<p style="color:#606266">当前教育状态(填写示例:本科在读/大四)</p>'
}
],
items
:
[
items
:
[
{
{
type
:
'v-datepicker'
,
type
:
'v-datepicker'
,
...
@@ -96,16 +108,6 @@ export default function(_this) {
...
@@ -96,16 +108,6 @@ 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
浏览文件 @
6469f35b
...
@@ -63,8 +63,8 @@
...
@@ -63,8 +63,8 @@
<dd>
{{
material
.
basic_info
.
gpa_score
}}
</dd>
<dd>
{{
material
.
basic_info
.
gpa_score
}}
</dd>
</dl>
</dl>
<dl>
<dl>
<dt>
语言成绩
</dt>
<dt>
语言成绩
:
</dt>
<dd></dd>
<dd>
{{
material
.
basic_info
.
language_score
}}
</dd>
</dl>
</dl>
</div>
</div>
<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"
>
...
...
modules/my/interview/form/cjd.js
浏览文件 @
6469f35b
...
@@ -40,13 +40,13 @@ export default function(_this) {
...
@@ -40,13 +40,13 @@ 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
)
{
//
const basicInfo = ['gpa_score'].reduce((result, key) => {
const
basicInfo
=
[
'gpa_score'
].
reduce
((
result
,
key
)
=>
{
//
result[key] = data[key]
result
[
key
]
=
data
[
key
]
//
return result
return
result
//
}, {})
},
{})
const
basicInfo
=
{
//
const basicInfo = {
gpa_score
:
data
.
gpa_score
//
gpa_score: data.gpa_score
}
//
}
return
{
basic_info
:
basicInfo
}
return
{
basic_info
:
basicInfo
}
}
}
},
},
...
...
modules/my/interview/form/yynl.js
浏览文件 @
6469f35b
...
@@ -35,18 +35,23 @@ export default function(_this) {
...
@@ -35,18 +35,23 @@ export default function(_this) {
}
}
},
},
update
:
{
update
:
{
action
:
`
${
process
.
env
.
baseURL
}
/api/enrollment/v1.0/application-materials/
submit/
${
process
.
env
.
projectId
}
`
,
action
:
`
${
process
.
env
.
baseURL
}
/api/enrollment/v1.0/application-materials/
${
process
.
env
.
projectId
}
/put
`
,
beforeRequest
(
data
)
{
beforeRequest
(
data
)
{
cons
ole
.
log
(
data
)
cons
t
basicInfo
=
[
'language_score'
].
reduce
((
result
,
key
)
=>
{
const
basicInfo
=
{
result
[
key
]
=
data
[
key
]
language_score
:
data
.
language_score
return
result
}
}
,
{})
return
{
basic_info
:
basicInfo
,
submission_stage
:
'INTERVIEW_APPLICATION'
}
return
{
basic_info
:
basicInfo
}
},
},
callback
()
{
callback
()
{
this
.
form
.
options
.
disabled
=
true
this
.
form
.
options
.
disabled
=
true
_this
.
dialogVisible
=
true
if
(
_this
.
showSubmitedDialog
)
{
_this
.
dialogVisible
=
true
}
else
{
_this
.
completeVisible
=
true
}
_this
.
getApplication
()
_this
.
getApplication
()
_this
.
getInterview
()
},
},
errorCallback
()
{
errorCallback
()
{
_this
.
completeVisible
=
true
_this
.
completeVisible
=
true
...
...
modules/my/interview/index.vue
浏览文件 @
6469f35b
...
@@ -99,6 +99,17 @@ export default {
...
@@ -99,6 +99,17 @@ export default {
}
}
})
})
},
},
getInterview
()
{
api
.
getInterview
({
submission_stage
:
'INTERVIEW_APPLICATION'
}).
then
(
response
=>
{
const
{
data
,
error
,
message
}
=
response
if
(
error
.
toString
()
===
'0'
)
{
this
.
detail
=
data
}
else
{
this
.
$message
.
error
(
message
)
}
})
},
handlePageChange
(
value
)
{
handlePageChange
(
value
)
{
this
.
currentActive
=
value
this
.
currentActive
=
value
this
.
$router
.
push
({
path
:
this
.
$route
.
path
,
query
:
{
active
:
value
}
})
this
.
$router
.
push
({
path
:
this
.
$route
.
path
,
query
:
{
active
:
value
}
})
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论