Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-online-pc
Commits
b08af37b
提交
b08af37b
authored
9月 14, 2023
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: 新增留位费
上级
c7bc0963
隐藏空白字符变更
内嵌
并排
正在显示
14 个修改的文件
包含
91 行增加
和
83 行删除
+91
-83
my.js
api/my.js
+13
-34
index.js
modules/my/admission/form/index.js
+5
-2
xfjn.js
modules/my/admission/form/xfjn.js
+16
-2
complete.vue
modules/my/application/complete.vue
+10
-10
ywjl.js
modules/my/interview/form/ywjl.js
+1
-1
index.vue
modules/my/interview/index.vue
+1
-1
pay.vue
modules/my/interview/pay.vue
+1
-1
h5Pay.vue
modules/my/review/components/h5Pay.vue
+2
-4
qrcodePay.vue
modules/my/review/components/qrcodePay.vue
+2
-2
byzs.js
modules/my/review/form/byzs.js
+7
-8
index.js
modules/my/review/form/index.js
+12
-3
xy.js
modules/my/review/form/xy.js
+10
-6
index.vue
modules/my/review/index.vue
+7
-6
pay.vue
modules/my/review/pay.vue
+4
-3
没有找到文件。
api/my.js
浏览文件 @
b08af37b
...
...
@@ -54,64 +54,46 @@ export function getApplicationStatus() {
/**
* 获取支付二维码
*/
export
function
getOrder
(
params
)
{
return
httpRequest
.
get
(
`/api/enrollment/v1.0/application-materials/payment-records/request/
${
projectId
}
/APPLICATION_FEE`
,
{
params
}
)
export
function
getOrder
(
params
,
fee
=
'APPLICATION_FEE'
)
{
return
httpRequest
.
get
(
`/api/enrollment/v1.0/application-materials/payment-records/request/
${
projectId
}
/
${
fee
}
`
,
{
params
})
}
/**
* 检查支付状态
*/
export
function
checkPay
(
id
,
params
)
{
return
httpRequest
.
get
(
`/api/enrollment/v1.0/application-materials/payment-records/check-status/
${
projectId
}
/APPLICATION_FEE/
${
id
}
`
,
{
params
}
)
export
function
checkPay
(
id
,
params
,
fee
=
'APPLICATION_FEE'
)
{
return
httpRequest
.
get
(
`/api/enrollment/v1.0/application-materials/payment-records/check-status/
${
projectId
}
/
${
fee
}
/
${
id
}
`
,
{
params
})
}
/**
* 写推荐信
*/
export
function
addLetter
(
userId
,
letterId
,
data
)
{
return
httpRequest
.
post
(
`/api/enrollment/v1.0/application-materials/reco-letters/submit/
${
projectId
}
/
${
userId
}
/
${
letterId
}
/put`
,
data
,
{
headers
:
{
'Content-Type'
:
'application/json'
}
}
)
return
httpRequest
.
post
(
`/api/enrollment/v1.0/application-materials/reco-letters/submit/
${
projectId
}
/
${
userId
}
/
${
letterId
}
/put`
,
data
,
{
headers
:
{
'Content-Type'
:
'application/json'
}
})
}
/**
* 更换推荐人
*/
export
function
updateProvider
(
letterId
,
data
)
{
return
httpRequest
.
post
(
`/api/enrollment/v1.0/application-materials/reco-letters/change-provider/
${
projectId
}
/
${
letterId
}
/put`
,
data
,
{
headers
:
{
'Content-Type'
:
'application/json'
}
}
)
return
httpRequest
.
post
(
`/api/enrollment/v1.0/application-materials/reco-letters/change-provider/
${
projectId
}
/
${
letterId
}
/put`
,
data
,
{
headers
:
{
'Content-Type'
:
'application/json'
}
})
}
/**
* 再次邀请
*/
export
function
sendToProvider
(
letterId
)
{
return
httpRequest
.
get
(
`/api/enrollment/v1.0/application-materials/reco-letters/send-invitation-to-provider/
${
projectId
}
/
${
letterId
}
`
)
return
httpRequest
.
get
(
`/api/enrollment/v1.0/application-materials/reco-letters/send-invitation-to-provider/
${
projectId
}
/
${
letterId
}
`
)
}
/**
* 发送推荐信
*/
export
function
sendToProviders
()
{
return
httpRequest
.
get
(
`/api/enrollment/v1.0/application-materials/reco-letters/send-invitation-to-providers/
${
projectId
}
`
)
return
httpRequest
.
get
(
`/api/enrollment/v1.0/application-materials/reco-letters/send-invitation-to-providers/
${
projectId
}
`
)
}
/**
* 退出登录
...
...
@@ -124,10 +106,7 @@ export function logout() {
* 更改附件状态
*/
export
function
changeFileStatus
(
userId
,
recordId
,
status
)
{
return
httpRequest
.
get
(
`/api/enrollment/v1.0/application-materials/attachments/change-status/
${
projectId
}
/
${
userId
}
/
${
recordId
}
`
,
{
params
:
{
status
}
}
)
return
httpRequest
.
get
(
`/api/enrollment/v1.0/application-materials/attachments/change-status/
${
projectId
}
/
${
userId
}
/
${
recordId
}
`
,
{
params
:
{
status
}
})
}
/**
...
...
modules/my/admission/form/index.js
浏览文件 @
b08af37b
// import cjd from './cjd'
// import byzs from './byzs'
// import ywjl from './ywjl'
import
xy
from
'./xy'
//
import xy from './xy'
import
xfjn
from
'./xfjn'
// import tjx from './tjx'
// import grcs from './grcs'
...
...
@@ -11,6 +11,9 @@ export default function(_this) {
return
{
id
:
'admission'
,
title
:
'入学办理'
,
children
:
[
xfjn
(
_this
),
xy
(
_this
)]
children
:
[
xfjn
(
_this
)
// xy(_this)
]
}
}
modules/my/admission/form/xfjn.js
浏览文件 @
b08af37b
...
...
@@ -19,9 +19,23 @@ export default function(_this) {
return
{
PAYMENT_VOUCHER
}
}
},
update
:
{
action
:
`
${
process
.
env
.
baseURL
}
/api/enrollment/v1.0/application-materials/submit/
${
process
.
env
.
projectId
}
`
,
beforeRequest
(
data
)
{
return
{
submission_stage
:
'CLOSED'
}
},
callback
()
{
_this
.
$message
({
type
:
'success'
,
message
:
'提交成功'
})
_this
.
getApplication
()
this
.
form
.
options
.
disabled
=
true
},
errorCallback
()
{
_this
.
completeVisible
=
true
}
},
form
:
{
next
:
{
to
:
{
query
:
{
active
:
'admission_xy'
}
}
},
hasButton
:
false
,
//
next: { to: { query: { active: 'admission_xy' } } },
submitText
:
'提交'
,
options
:
{
'label-position'
:
'top'
},
// hint: `
// <p><strong>一、对公收款银行信息:</strong></p>
...
...
modules/my/application/complete.vue
浏览文件 @
b08af37b
...
...
@@ -95,11 +95,11 @@ export default {
],
view
:
{
to
:
{
path
:
'/my/review'
,
query
:
{
active
:
'admission_byzs'
}
}
}
},
{
title
:
'申请表格'
,
code
:
'INTERVIEW_APPLICATION.attachments.missed_required_list.APPLICATION_FORM'
,
view
:
{
to
:
{
path
:
'/my/review'
,
query
:
{
active
:
'admission_form'
}
}
}
}
//
{
//
title: '申请表格',
//
code: 'INTERVIEW_APPLICATION.attachments.missed_required_list.APPLICATION_FORM',
//
view: { to: { path: '/my/review', query: { active: 'admission_form' } } }
//
}
],
[
{
...
...
@@ -108,11 +108,11 @@ export default {
view
:
{
to
:
{
path
:
'/my/admission'
,
query
:
{
active
:
'admission_xfjn'
}
}
}
},
{
title
:
'入学协议'
,
code
:
'CLOSED.attachments.missed_required_list.ADMISSION_AGREEMENT'
,
view
:
{
to
:
{
path
:
'/my/admission'
,
query
:
{
active
:
'admission_xy'
}
}
}
}
//
{
//
title: '入学协议',
//
code: 'CLOSED.attachments.missed_required_list.ADMISSION_AGREEMENT',
//
view: { to: { path: '/my/admission', query: { active: 'admission_xy' } } }
//
}
]
]
}
...
...
modules/my/interview/form/ywjl.js
浏览文件 @
b08af37b
...
...
@@ -32,7 +32,7 @@ export default function(_this) {
data
:
{
file_type
:
'RESUME_EN'
}
},
append
:
`
<p>请下载填写英文简历模板后上传 [<a href="https://webapp-pub.ezijing.com/project/syracuse-plus/%E8%8B%B1%E6%96%87%E7%AE%80%E5%8E%86%E6%A8%A1%E6%9D%BF
--SIT
.doc" target="_blank" download="英文简历模板">下载模板</a>]</p>
<p>请下载填写英文简历模板后上传 [<a href="https://webapp-pub.ezijing.com/project/syracuse-plus/%E8%8B%B1%E6%96%87%E7%AE%80%E5%8E%86%E6%A8%A1%E6%9D%BF.doc" target="_blank" download="英文简历模板">下载模板</a>]</p>
<p>请将英文简历填写完存为"pdf"格式上传,文件小于10MB。</p>`
}
]
...
...
modules/my/interview/index.vue
浏览文件 @
b08af37b
...
...
@@ -71,7 +71,7 @@ export default {
return
false
},
showSubmittedDialog
()
{
return
this
.
isSubmitted
&&
(
this
.
currentActive
===
'interview_yynl'
||
this
.
currentActive
===
'interview_form'
)
return
this
.
isSubmitted
},
user
()
{
return
this
.
$store
.
state
.
user
...
...
modules/my/interview/pay.vue
浏览文件 @
b08af37b
...
...
@@ -3,7 +3,7 @@
<h5-pay
@
update=
"handleUpdateOrder"
v-if=
"isWechat"
></h5-pay>
<qrcode-pay
@
update=
"handleUpdateOrder"
v-else
></qrcode-pay>
<div
class=
"pay-ft"
>
<p
class=
"t2"
>
注释:
<br
/>
此处为微信二维码
<br
/>
成功提交700元申请费后,申请人还需上传并提交最高学历(学位)证书 (注:申请费不退还)
</p>
<p
class=
"t2"
>
注释:
<br
/>
此处为微信二维码
<br
/>
申请费不退还
</p>
</div>
<el-dialog
title=
"报名费缴费成功"
:visible
.
sync=
"dialogVisible"
:center=
"true"
:close-on-click-modal=
"false"
width=
"348px"
>
<div
class=
"dialog-pay"
>
...
...
modules/my/review/components/h5Pay.vue
浏览文件 @
b08af37b
...
...
@@ -20,7 +20,7 @@ export default {
methods
:
{
// 获取订单
getOrder
(
callback
)
{
api
.
getOrder
({
wx_open_id
:
this
.
openId
,
payment_method
:
'WX_PAY'
}).
then
(
response
=>
{
api
.
getOrder
({
wx_open_id
:
this
.
openId
,
payment_method
:
'WX_PAY'
}
,
'RESERVATION_FEE'
).
then
(
response
=>
{
const
{
data
,
error
,
message
}
=
response
if
(
error
.
toString
()
===
'0'
)
{
this
.
order
=
data
...
...
@@ -51,9 +51,7 @@ export default {
// 去支付
handlePay
()
{
this
.
getOrder
(()
=>
{
window
.
location
.
href
=
`https://web-pay.ezijing.com/wxpay/h5?prepay_id=
${
this
.
order
.
wx_prepay_id
}
&open_id=
${
this
.
openId
}
&redirect_uri=
${
encodeURIComponent
(
this
.
pageUrl
)}
`
window
.
location
.
href
=
`https://web-pay.ezijing.com/wxpay/h5?prepay_id=
${
this
.
order
.
wx_prepay_id
}
&open_id=
${
this
.
openId
}
&redirect_uri=
${
encodeURIComponent
(
this
.
pageUrl
)}
`
})
}
},
...
...
modules/my/review/components/qrcodePay.vue
浏览文件 @
b08af37b
...
...
@@ -6,7 +6,7 @@
</div>
<h1>
欢迎您
</h1>
<p
class=
"t1"
>
申请雪城大学硕士保研项目,需缴纳留位费
<span>
2000
</span>
元,请扫描二维码以完成缴费。
申请雪城大学硕士保研项目,需缴纳留位费
<span>
2000
0
</span>
元,请扫描二维码以完成缴费。
</p>
</div>
<div
class=
"qrcode-error"
v-if=
"qrcodeError"
>
生成二维码失败请刷新
<i
class=
"el-icon-refresh-left"
@
click=
"getOrder"
title=
"刷新"
></i></div>
...
...
@@ -38,7 +38,7 @@ export default {
methods
:
{
// 获取订单
getOrder
()
{
api
.
getOrder
({
payment_method
:
'WX_PAY_QR'
}).
then
(
response
=>
{
api
.
getOrder
({
payment_method
:
'WX_PAY_QR'
}
,
'RESERVATION_FEE'
).
then
(
response
=>
{
const
{
data
,
error
,
message
}
=
response
this
.
qrcodeError
=
error
.
toString
()
===
'1'
if
(
error
.
toString
()
===
'0'
)
{
...
...
modules/my/review/form/byzs.js
浏览文件 @
b08af37b
...
...
@@ -39,19 +39,18 @@ export default function(_this) {
return
result
},
{})
return
{
basic_info
:
basicInfo
}
},
callback
()
{
_this
.
changeSubmissionStage
(()
=>
{
this
.
form
.
options
.
disabled
=
true
// _this.$router.push('/my/admission')
})
}
// callback() {
// _this.changeSubmissionStage(() => {
// this.form.options.disabled = true
// // _this.$router.push('/my/admission')
// })
// }
},
form
:
{
prev
:
{
to
:
{
query
:
{
active
:
'admission_grcs'
}
},
isSubmit
:
true
},
next
:
{
to
:
{
query
:
{
active
:
'admission_form'
}
},
isSubmit
:
true
},
//
next: { to: { query: { active: 'admission_form' } }, isSubmit: true },
submitText
:
'提交申请'
,
hasButton
:
false
,
options
:
{
'label-position'
:
'top'
},
items
:
[
{
...
...
modules/my/review/form/index.js
浏览文件 @
b08af37b
import
cjd
from
'./cjd'
import
byzs
from
'./byzs'
// import ywjl from './ywjl'
//
import xy from './xy'
import
xy
from
'./xy'
// import xfjn from './xfjn'
import
tjx
from
'./tjx'
import
grcs
from
'./grcs'
// import yynl from './yynl'
import
form
from
'./form'
//
import form from './form'
export
default
function
(
_this
)
{
return
{
...
...
@@ -18,7 +18,16 @@ export default function(_this) {
tjx
(
_this
),
grcs
(
_this
),
byzs
(
_this
),
form
(
_this
)
// form(_this)
{
required
:
true
,
id
:
'application_pay'
,
title
:
'缴纳留位费'
,
visible
()
{
return
_this
.
hasPay
}
},
xy
(
_this
)
]
}
}
modules/my/review/form/xy.js
浏览文件 @
b08af37b
...
...
@@ -4,12 +4,16 @@ export default function(_this) {
return
{
id
:
'admission_xy'
,
title
:
'入学协议'
,
required
:
true
,
visible
()
{
return
_this
.
hasPay
},
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
this
.
form
.
options
.
disabled
=
STAGE_LIST
.
findIndex
(
item
=>
item
===
submissionStage
)
>
6
this
.
form
.
options
.
disabled
=
STAGE_LIST
.
findIndex
(
item
=>
item
===
submissionStage
)
>
=
6
const
ADMISSION_AGREEMENT
=
attachments
.
filter
(
item
=>
{
return
item
.
file_type_id
===
'ADMISSION_AGREEMENT'
})
...
...
@@ -17,8 +21,8 @@ export default function(_this) {
}
},
form
:
{
prev
:
{
to
:
{
query
:
{
active
:
'admission_cjd'
}
}
},
next
:
{
to
:
{
query
:
{
active
:
'admission_xfjn'
}
}
},
//
prev: { to: { query: { active: 'admission_cjd' } } },
//
next: { to: { query: { active: 'admission_xfjn' } } },
hasButton
:
false
,
options
:
{
'label-position'
:
'top'
},
items
:
[
...
...
@@ -32,9 +36,9 @@ export default function(_this) {
deleteAction
:
`
${
process
.
env
.
baseURL
}
/api/enrollment/v1.0/application-materials/attachments/
${
process
.
env
.
projectId
}
/delete`
,
data
:
{
file_type
:
'ADMISSION_AGREEMENT'
}
},
prepend
:
`
<p><a href="https://webapp-pub.ezijing.com/project/sbu-plus/%E5%85%A5%E5%AD%A6%E5%8D%8F%E8%AE%AE.pdf" target="_blank" download="入学协议">下载入学协议</a></p>
<p>申请者可将签字后的入学协议原件扫描或拍照后提交。</p>
prepend
:
//
<p><a href="https://webapp-pub.ezijing.com/project/sbu-plus/%E5%85%A5%E5%AD%A6%E5%8D%8F%E8%AE%AE.pdf" target="_blank" download="入学协议">下载入学协议</a></p>
`
<p>申请者可将签字后的入学协议原件扫描或拍照后提交。</p>
<p>学员应仔细阅读《入学协议》以及课程介绍,如对入学协议或课程有异议,请第一时间与课程顾问咨询确认。请用A4纸打印后,在入学协议上签上姓名和日期,内容需显示完整、格式整齐、字迹清晰可辨。上传文件仅限“jpg,jpeg,pdf,png”格式,文件小于10Mb。</p>
`
}
...
...
modules/my/review/index.vue
浏览文件 @
b08af37b
...
...
@@ -29,10 +29,11 @@
<div
class=
"dialog-tips"
>
<!-- <p>请确认是否已缴费,如未缴费点击下方缴费按钮 <br />(已缴费,请忽略)</p> -->
<div
class=
"icon"
><img
src=
"https://webapp-pub.ezijing.com/project/application/images/icon_success.png"
/></div>
<p>
材料补充已完成,请等待招生办进一步通知。
</p>
</div>
<
template
#
footer
>
<
!--
<el-button
type=
"primary"
@
click=
"toPay"
>
立即缴费
</el-button>
--
>
<
el-button
type=
"primary"
@
click=
"dialogVisible = false"
>
忽略
</el-button
>
<
el-button
type=
"primary"
@
click=
"toPay"
v-if=
"hasPay"
>
缴纳留位费
</el-button
>
<
!--
<el-button
type=
"primary"
@
click=
"dialogVisible = false"
>
忽略
</el-button>
--
>
</
template
>
</el-dialog>
<app-complete
:type=
"2"
v-model=
"completeVisible"
></app-complete>
...
...
@@ -80,14 +81,14 @@ export default {
return
false
},
showSubmittedDialog
()
{
return
this
.
isSubmitted
&&
this
.
currentActive
===
'admission_form'
return
this
.
isSubmitted
},
user
()
{
return
this
.
$store
.
state
.
user
},
hasPay
()
{
if
(
this
.
detail
)
{
return
this
.
detail
.
material
.
submission_stage
===
'CLOSED
'
if
(
this
.
detail
&&
this
.
detail
.
material
)
{
return
this
.
detail
.
material
.
basic_info
.
sit_can_pay
===
'1
'
}
return
false
}
...
...
@@ -136,7 +137,7 @@ export default {
},
toPay
()
{
this
.
dialogVisible
=
false
this
.
$router
.
push
({
path
:
'/my/
admission'
,
query
:
{
active
:
'admission_xfjn
'
}
})
this
.
$router
.
push
({
path
:
'/my/
review'
,
query
:
{
active
:
'application_pay
'
}
})
},
// 更换推荐人
changeProvider
(
data
)
{
...
...
modules/my/review/pay.vue
浏览文件 @
b08af37b
...
...
@@ -5,6 +5,7 @@
<el-dialog
title=
"缴费成功"
:visible
.
sync=
"dialogVisible"
:center=
"true"
:close-on-click-modal=
"false"
width=
"348px"
>
<div
class=
"dialog-pay"
>
<div
class=
"icon"
><img
src=
"https://webapp-pub.ezijing.com/project/application/images/icon_success.png"
/></div>
<p>
留位费已成功缴纳,请根据招生办邮件指示办理入学手续
</p>
</div>
</el-dialog>
</div>
...
...
@@ -44,7 +45,7 @@ export default {
orderList
()
{
// 筛选待支付订单
const
list
=
this
.
paymentRecords
.
filter
(
item
=>
{
return
item
.
bill_type
===
'
APPLIC
ATION_FEE'
&&
item
.
payment_status
===
'WAITING_FOR_PAY'
return
item
.
bill_type
===
'
RESERV
ATION_FEE'
&&
item
.
payment_status
===
'WAITING_FOR_PAY'
})
// 待支付订单是否有当前订单
const
found
=
list
.
find
(
item
=>
item
.
id
===
this
.
order
.
id
)
...
...
@@ -69,7 +70,7 @@ export default {
if
(
paymentRecords
&&
paymentRecords
.
length
)
{
// 获取支付成功的订单
const
orderPaySuccess
=
paymentRecords
.
find
(
item
=>
{
return
item
.
bill_type
===
'
APPLIC
ATION_FEE'
&&
item
.
payment_status
===
'SUCCESS'
return
item
.
bill_type
===
'
RESERV
ATION_FEE'
&&
item
.
payment_status
===
'SUCCESS'
})
if
(
orderPaySuccess
)
{
this
.
order
=
orderPaySuccess
...
...
@@ -88,7 +89,7 @@ export default {
return
}
const
userId
=
this
.
user
.
id
api
.
checkPay
(
order
.
id
,
{
user_id
:
userId
}).
then
(
response
=>
{
api
.
checkPay
(
order
.
id
,
{
user_id
:
userId
}
,
'RESERVATION_FEE'
).
then
(
response
=>
{
if
(
response
.
data
.
payment_status
===
'SUCCESS'
)
{
this
.
timer
&&
clearInterval
(
this
.
timer
)
this
.
dialogVisible
=
true
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论