Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-online-pc
Commits
848c28d1
提交
848c28d1
authored
2月 05, 2024
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: 新增报名费
上级
c3bee65e
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
44 行增加
和
31 行删除
+44
-31
form.js
modules/my/interview/form/form.js
+16
-14
index.js
modules/my/interview/form/index.js
+5
-5
index.vue
modules/my/interview/index.vue
+1
-1
pay.vue
modules/my/interview/pay.vue
+22
-11
没有找到文件。
modules/my/interview/form/form.js
浏览文件 @
848c28d1
...
...
@@ -21,23 +21,25 @@ export default function(_this) {
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
},
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.changeSubmissionStage(() => {
// // this.form.options.disabled = true
// // })
// // },
// errorCallback() {
// _this.completeVisible = true
// }
// },
form
:
{
prev
:
{
to
:
{
query
:
{
active
:
'interview_byzs'
}
}
},
//
next: { to: { query: { active: 'application_pay' } } },
next
:
{
to
:
{
query
:
{
active
:
'application_pay'
}
}
},
submitText
:
'申请面试'
,
//
hasButton: false,
hasButton
:
false
,
model
:
{
submission_stage
:
'INTERVIEW_APPLICATION'
},
options
:
{
'label-position'
:
'top'
},
items
:
[
...
...
modules/my/interview/form/index.js
浏览文件 @
848c28d1
...
...
@@ -21,11 +21,11 @@ export default function(_this) {
grcs
(
_this
),
byzs
(
_this
),
form
(
_this
),
//
{
//
required: true,
//
id: 'application_pay',
//
title: '缴报名费'
//
}
{
required
:
true
,
id
:
'application_pay'
,
title
:
'缴报名费'
}
// ywcjd(_this), tjx(_this), grcs(_this), byzs(_this), form(_this)
]
}
...
...
modules/my/interview/index.vue
浏览文件 @
848c28d1
...
...
@@ -16,7 +16,7 @@
</
template
>
<!-- 报名缴费 -->
<
template
#
content
v-if=
"currentActive === 'application_pay'"
>
<app-pay
@
submit=
"changeSubmissionStage"
/>
<app-pay
:disabled=
"isSubmitted"
@
submit=
"changeSubmissionStage"
/>
</
template
>
</vue-form>
<app-complete
:type=
"1"
v-model=
"completeVisible"
></app-complete>
...
...
modules/my/interview/pay.vue
浏览文件 @
848c28d1
<
template
>
<div
class=
"pay"
>
<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
/>
申请费不退还
</p>
<div>
<div
class=
"pay"
v-if=
"!dialogVisible"
>
<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
/>
申请费不退还
</p>
</div>
<!--
<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>
<template
#
footer
>
<el-button
type=
"primary"
@
click=
"$emit('submit')"
>
申请面试
</el-button>
</
template
>
</el-dialog>
-->
</div>
<
el-dialog
title=
"报名费缴费成功"
:visible
.
sync=
"dialogVisible"
:center=
"true"
:close-on-click-modal=
"false"
width=
"348px"
>
<
div
v-else
>
<div
class=
"dialog-pay"
>
<div
class=
"icon"
><img
src=
"https://webapp-pub.ezijing.com/project/application/images/icon_success.png"
/></div>
<p>
报名费已成功缴纳,请点击申请面试并等待招生办进一步通知
</p>
<el-button
type=
"primary"
:disabled=
"disabled"
@
click=
"$emit('submit')"
>
申请面试
</el-button>
</div>
<template
#
footer
>
<el-button
type=
"primary"
@
click=
"$emit('submit')"
>
申请面试
</el-button>
</
template
>
</el-dialog>
</div>
</div>
</template>
...
...
@@ -24,6 +33,7 @@ import h5Pay from './components/h5Pay'
export
default
{
name
:
'AppPay'
,
components
:
{
qrcodePay
,
h5Pay
},
props
:
{
disabled
:
{
type
:
Boolean
,
default
:
false
}
},
data
()
{
const
UA
=
window
.
navigator
.
userAgent
const
isMobile
=
/android|iphone|ipad|ipod/i
.
test
(
UA
)
...
...
@@ -150,11 +160,12 @@ export default {
.dialog-pay
{
text-align
:
center
;
p
{
margin
:
10px
0
20px
;
color
:
#262626
;
line-height
:
20px
;
}
.icon
{
margin-top
:
2
0px
;
margin-top
:
8
0px
;
text-align
:
center
;
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论