Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨炀
/
ztx_wx_gzt
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
95e867bc
authored
2026-05-28 17:49:16 +0800
by
lttnew
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
个人会员订单
1 parent
8fb19fdf
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
31 deletions
config.js
pages/index/home.vue
personal/order.vue
config.js
View file @
95e867b
// dev
const
baseUrl_api
=
'http://192.168.1.222:8787'
//
const baseUrl_api = 'http://192.168.1.222:8787'
// const baseUrl_api = 'http://47.98.186.233:8787'
//
const baseUrl_api = 'https://tk001.wxjylt.com/stage-api/'
const
baseUrl_api
=
'https://tk001.wxjylt.com/stage-api/'
const
loginImage_api
=
'https://tk001.wxjylt.com/stage-api'
const
payUrl
=
'https://wxpay.cmbc.com.cn/mobilePlatform/appserver/lcbpPay.do'
...
...
pages/index/home.vue
View file @
95e867b
...
...
@@ -438,10 +438,10 @@
<image
:src=
"config.baseUrl_api+'/fs/static/icon/26.png'"
/>
变更审核
</view>
<view
@
click=
"goPath('/level/settlementAudit')"
>
<
!--
<
view
@
click=
"goPath('/level/settlementAudit')"
>
<image
:src=
"config.baseUrl_api+'/fs/static/icon/10.png'"
/>
结算审核
</view>
</view>
-->
<view
@
click=
"goPath('/level/ztx/mail?type=1')"
>
<image
:src=
"config.baseUrl_api+'/fs/static/icon/5.png'"
/>
证书邮寄
...
...
personal/order.vue
View file @
95e867b
...
...
@@ -44,16 +44,16 @@
<text
class=
"value"
>
{{
item
.
orderName
||
'——'
}}
</text>
</view>
<text
:class=
"
{
'status-wait': item.
auditStatus == 0
,
'status-pending': item.
auditStatus == 1||item.auditStatus == 9
,
'status-success': item.
auditStatus == 2
,
'status-danger': item.
auditStatus == 3||item.audit
Status == 4
'status-wait': item.
payStatus == 3
,
'status-pending': item.
payStatus == 0
,
'status-success': item.
payStatus == 1
,
'status-danger': item.
payStatus == 2 || item.pay
Status == 4
}"
class="status-tag ">
{{
get
AuditStatusText
(
item
.
audit
Status
)
}}
class="status-tag ">
{{
get
StatusText
(
item
.
pay
Status
)
}}
</text>
</view>
</view>
<view
class=
"card-header"
>
<
!--
<
view
class=
"card-header"
>
<view
class=
"date"
>
<view
class=
"data-header"
>
<text
class=
"value"
>
...
...
@@ -63,7 +63,7 @@
<text>
{{
item
.
tradeNo
||
'——'
}}
</text>
</view>
</view>
</view>
</view>
-->
<view
class=
"card-header"
>
<view
class=
"date"
>
<view
class=
"data-header"
>
...
...
@@ -71,7 +71,9 @@
<text
class=
"tradeNo"
>
缴费编号:
</text>
{{
item
.
wfCode
||
'——'
}}
</text>
</view>
<view>
¥
{{
item
.
price
||
'0.00'
}}
</view>
</view>
</view>
<view
class=
"member-time"
>
...
...
@@ -80,13 +82,13 @@
{{
`${filterTime(item.genTime)
}
个人会员缴费办理`
}}
<
/view
>
<
view
class
=
"price"
>
<
view
>
¥
{{
item
.
price
||
'0.00'
}}
<
/view
>
<
view
class
=
"person"
>
共
{{
item
.
content
?.
yearCount
||
0
}}
年
<
/view
>
<
/view
>
<
/view
>
<!--
核心:展示缴费年限
-->
<
view
v
-
if
=
"item.content"
class
=
"info-section flex f-j-s"
>
<
!--
<
view
v
-
if
=
"item.content"
class
=
"info-section flex f-j-s"
>
<
view
class
=
"single-info"
>
<
view
class
=
"label"
>
缴费年限:
<
/view
>
<
view
class
=
"value"
>
{{
item
.
content
.
yearCount
||
0
}}
<
/view
>
...
...
@@ -112,7 +114,7 @@
{{
item
.
payStatus
==
0
?
'待缴费'
:
item
.
payStatus
==
1
?
'缴费成功'
:
'订单取消'
}}
<
/view
>
<
/view
>
<
/view
>
<
/view>
--
>
<!--
按钮组
-->
<
view
class
=
"btn-group"
>
...
...
@@ -120,20 +122,12 @@
<!--
<
text
class
=
"more"
@
click
.
stop
=
"goToDetail(item)"
>
更多
<
/text> --
>
<
/view
>
<
view
class
=
"btn-flex"
>
<!--
待缴费:去缴费
-->
<!--
<
template
v
-
if
=
"item.payStatus == 0"
>
<
button
class
=
"btn btn-pay"
@
click
.
stop
=
"goPay(item)"
>
去缴费
<
/button
>
<
/template> --
>
<!--
<
button
class
=
"btn btn-info"
@
click
.
stop
=
"goToDetail(item)"
>
查看明细
<
/button> --
>
<
button
:
class
=
"
{
disabled
:
isPayDisabled
(
item
)
}
" :disabled="
isPayDisabled
(
item
)
" class="
btn
btn
-
pay
" @click.stop="
goPay
(
item
)
">去支付</button>
<button v-if="
canShowCancel
(
item
)
" :class="
{
disabled
:
isCancelDisabled
(
item
)
}
" :disabled="
isCancelDisabled
(
item
)
" class="
btn
btn
-
info
" @click.stop="
handleCancel
(
item
)
">取消订单</button>
<!--
去支付:只有未支付且待支付状态才显示
-->
<
button
v
-
if
=
"!isPayDisabled(item)"
class
=
"btn btn-pay"
@
click
.
stop
=
"goPay(item)"
>
去支付
<
/button
>
<!--
取消订单:待支付状态才显示
-->
<
button
v
-
if
=
"canShowCancel(item) && !isCancelDisabled(item)"
class
=
"btn btn-info"
@
click
.
stop
=
"handleCancel(item)"
>
取消订单
<
/button
>
<!--
已缴费:申请开票
/
已开票(需要审核通过才能开票)
-->
<template v-if="
canShowInvoiceApply
(
item
)
">
<button :class="
{
disabled
:
isInvoiceDisabled
(
item
)
}
" :disabled="
isInvoiceDisabled
(
item
)
" class="
btn
btn
-
view
-
invoice
" @click.stop="
makeInvoiceFN
(
item
)
">
申请开票
</button>
</template>
<
button
v
-
if
=
"canShowInvoiceApply(item) && !isInvoiceDisabled(item)"
class
=
"btn btn-view-invoice"
@
click
.
stop
=
"makeInvoiceFN(item)"
>
申请开票
<
/button
>
<
template
v
-
if
=
"hasInvoice(item)"
>
<
button
class
=
"btn btn-invoice"
@
click
.
stop
=
"viewInvoice(item)"
>
查看发票
<
/button
>
<
/template
>
...
...
@@ -287,7 +281,7 @@ const canShowCancel = (item) => {
}
;
const
isCancelDisabled
=
(
item
)
=>
{
return
String
(
item
?.
auditStatus
)
!==
'9'
;
return
String
(
item
?.
auditStatus
)
!==
'9'
||
String
(
item
?.
payStatus
)
!==
'0'
;
}
;
const
canShowInvoiceApply
=
(
item
)
=>
!
hasInvoice
(
item
);
...
...
@@ -349,7 +343,8 @@ const getStatusText = (status) => {
const
map
=
{
0
:
'待缴费'
,
1
:
'缴费成功'
,
2
:
'订单取消'
2
:
'已取消'
,
4
:
'已退款'
}
;
return
map
[
status
]
||
''
;
}
;
...
...
@@ -751,10 +746,10 @@ const closeCancelPopup = () => {
.
btn
{
width
:
160
rpx
;
height
:
50
rpx
;
line
-
height
:
50
rpx
;
line
-
height
:
48
rpx
;
padding
:
0
;
border
-
radius
:
20
rpx
;
font
-
size
:
2
8
rpx
;
font
-
size
:
2
4
rpx
;
white
-
space
:
nowrap
;
font
-
weight
:
bold
;
border
:
none
;
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment