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
8584268f
authored
2026-05-08 09:48:39 +0800
by
lttnew
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
https://code.itechtop.cn/yangyang/ztx_wx_gzt
2 parents
86ed73ee
685385a7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
24 deletions
myCenter/order.vue
pages/rank/applyDetail.vue
myCenter/order.vue
View file @
8584268
This diff is collapsed.
Click to expand it.
pages/rank/applyDetail.vue
View file @
8584268
...
...
@@ -2,7 +2,7 @@
<view>
<scroll-view
scroll-y
class=
"detail-content"
>
<scroll-view
class=
"detail-content"
scroll-y
>
<!-- 考段基本信息 -->
<view
class=
"card"
>
<view
class=
"card-header"
>
...
...
@@ -10,7 +10,7 @@
</view>
<view
class=
"card-body"
>
<view
class=
"info-row"
>
<text
class=
"label"
>
考
段
名称
</text>
<text
class=
"label"
>
考
试
名称
</text>
<text
class=
"value"
>
{{
form
.
name
||
''
}}
</text>
</view>
<view
class=
"info-row"
>
...
...
@@ -38,7 +38,7 @@
<text
class=
"label"
>
考段地点
</text>
<text
class=
"value"
>
{{
form
.
address
||
'--'
}}
</text>
</view>
<view
class=
"info-row"
v-if=
"userType == '2' || userType == '1'
"
>
<view
v-if=
"userType == '2' || userType == '1'"
class=
"info-row
"
>
<text
class=
"label"
>
总金额
</text>
<text
class=
"value text-red"
>
¥
{{
(
Number
(
form
.
totalAmount
)
||
0
).
toFixed
(
2
)
}}
</text>
</view>
...
...
@@ -46,7 +46,7 @@
</view>
<!-- 收货地址 -->
<view
class=
"card"
v-if=
"addressForm.name || addressForm.phone || addressForm.address
"
>
<view
v-if=
"addressForm.name || addressForm.phone || addressForm.address"
class=
"card
"
>
<view
class=
"card-header"
>
<view
class=
"header-left"
>
收货地址
</view>
</view>
...
...
@@ -76,8 +76,8 @@
</view>
<!-- 级别统计 -->
<view
class=
"level-summary"
v-if=
"tablePersonInfo.levelArr?.length > 0
"
>
<view
class=
"level-tag"
v-for=
"l in tablePersonInfo.levelArr"
:key=
"l.level
"
>
<view
v-if=
"tablePersonInfo.levelArr?.length > 0"
class=
"level-summary
"
>
<view
v-for=
"l in tablePersonInfo.levelArr"
:key=
"l.level"
class=
"level-tag
"
>
{{
szToHz
(
l
.
level
)
}}
级
{{
l
.
num
}}
人
</view>
</view>
...
...
@@ -87,20 +87,20 @@
<view
v-else-if=
"list.length === 0"
class=
"state-tip"
>
暂无考生信息
</view>
<!-- 考生列表(去字段名,美观布局) -->
<view
class=
"student-list"
v-else
>
<view
class=
"student-card"
v-for=
"n in list"
:key=
"n.i
d"
>
<view
v-else
class=
"student-list"
>
<view
v-for=
"n in list"
:key=
"n.id"
class=
"student-car
d"
>
<view
class=
"student-top"
>
<view
class=
"student-name"
>
<text
class=
"name"
>
{{
n
.
realName
||
'--'
}}
</text>
<text
class=
"unit"
>
{{
n
.
memName
||
''
}}
</text>
</view>
<view
class=
"pass-tag"
:class=
"n.isPass == 1 ? 'pass' : 'fail'
"
>
<view
:class=
"n.isPass == 1 ? 'pass' : 'fail'"
class=
"pass-tag
"
>
{{
n
.
isPass
==
1
?
'通过'
:
'未通过'
}}
</view>
</view>
<view
class=
"student-info"
>
<view
class=
"info-col"
>
<text
class=
"info-text"
>
{{
n
.
idcCode
||
'--'
}}
</text>
<text
class=
"info-text"
>
{{
n
.
idcCode
||
'--'
}}
</text>
</view>
<view
class=
"info-col"
>
<text
class=
"info-text"
>
{{
!
n
.
levelOld
||
n
.
levelOld
==
0
?
'十级'
:
szToHz
(
n
.
levelOld
)
+
'级'
}}
</text>
...
...
@@ -108,7 +108,7 @@
<view
class=
"info-col"
>
<text
class=
"info-text"
>
{{
n
.
levelNew
?
szToHz
(
n
.
levelNew
)
+
'级'
:
'--'
}}
</text>
</view>
<view
class=
"info-col"
v-if=
"userType == '2' || userType == '1'
"
>
<view
v-if=
"userType == '2' || userType == '1'"
class=
"info-col
"
>
<text
class=
"info-text text-red"
>
¥
{{
(
Number
(
n
.
examFee
)
||
0
).
toFixed
(
2
)
}}
</text>
</view>
</view>
...
...
@@ -116,7 +116,7 @@
</view>
<!-- 加载更多 -->
<view
class=
"load-more"
v-if=
"list.length > 0 && hasM
ore"
@
click=
"loadMore"
>
<view
v-if=
"list.length > 0 && hasMore"
class=
"load-m
ore"
@
click=
"loadMore"
>
{{
loadingMore
?
'加载中...'
:
'加载更多'
}}
</view>
<!--
<view
class=
"no-more"
v-if=
"!hasMore && list.length > 0"
>
没有更多了
</view>
-->
...
...
@@ -127,7 +127,7 @@
<view
class=
"wBox"
>
<view
v-if=
"loadingAudit"
class=
"state-tip"
>
加载中...
</view>
<view
v-else-if=
"recordList.length === 0"
class=
"state-tip"
>
暂无审核记录
</view>
<view
class=
"stepItem"
v-else
v-for=
"(n, index) in recordList"
:key=
"index
"
>
<view
v-for=
"(n, index) in recordList"
v-else
:key=
"index"
class=
"stepItem
"
>
<view
class=
"time"
>
{{
n
.
auditTime
||
'待审批'
}}
</view>
<view
class=
"content"
>
<view
class=
"status"
>
...
...
@@ -148,9 +148,9 @@
<
script
setup
>
import
*
as
api
from
'@/common/api.js'
import
_
from
'underscore'
import
{
ref
}
from
'vue'
import
{
onLoad
}
from
'@dcloudio/uni-app'
import
{
szToHz
}
from
'@/common/utils.js'
import
{
ref
}
from
'vue'
import
{
onLoad
}
from
'@dcloudio/uni-app'
import
{
szToHz
}
from
'@/common/utils.js'
const
app
=
getApp
()
const
userType
=
ref
(
''
)
...
...
@@ -174,7 +174,7 @@ let examType = ref('2')
onLoad
((
option
)
=>
{
if
(
!
option
.
examId
)
{
uni
.
showToast
({
title
:
'参数错误'
,
icon
:
'none'
})
uni
.
showToast
({
title
:
'参数错误'
,
icon
:
'none'
})
setTimeout
(()
=>
uni
.
navigateBack
(),
1500
)
return
}
...
...
@@ -186,7 +186,7 @@ onLoad((option) => {
})
function
initData
()
{
uni
.
showLoading
({
title
:
'加载中'
})
uni
.
showLoading
({
title
:
'加载中'
})
userType
.
value
=
app
.
globalData
.
userType
||
'3'
getForm
()
getList
()
...
...
@@ -200,12 +200,12 @@ function getForm() {
form
.
value
=
res
.
data
||
{}
addressForm
.
value
=
res
.
data
?.
postAddress
||
{}
}
else
{
uni
.
showToast
({
title
:
res
.
msg
||
'获取详情失败'
,
icon
:
'none'
})
uni
.
showToast
({
title
:
res
.
msg
||
'获取详情失败'
,
icon
:
'none'
})
}
}).
catch
(
err
=>
{
uni
.
hideLoading
()
console
.
error
(
'getForm error:'
,
err
)
uni
.
showToast
({
title
:
'网络请求失败'
,
icon
:
'none'
})
uni
.
showToast
({
title
:
'网络请求失败'
,
icon
:
'none'
})
})
}
...
...
@@ -235,7 +235,7 @@ function getList() {
function
calcPersonInfo
(
rows
)
{
if
(
!
rows
||
rows
.
length
===
0
)
{
tablePersonInfo
.
value
=
{
total
:
0
,
levelArr
:
[]
}
tablePersonInfo
.
value
=
{
total
:
0
,
levelArr
:
[]
}
return
}
const
total
=
rows
.
length
...
...
@@ -246,7 +246,7 @@ function calcPersonInfo(rows) {
if
(
temp
)
{
temp
.
num
++
}
else
{
levelArr
.
push
({
level
:
d
.
levelNew
,
num
:
1
})
levelArr
.
push
({
level
:
d
.
levelNew
,
num
:
1
})
}
})
tablePersonInfo
.
value
=
{
...
...
@@ -288,7 +288,7 @@ function loadMore() {
function
getAuditResultText
(
result
,
statusStr
)
{
if
(
statusStr
)
return
statusStr
const
map
=
{
0
:
'审核拒绝'
,
1
:
'审核通过'
}
const
map
=
{
0
:
'审核拒绝'
,
1
:
'审核通过'
}
return
map
[
result
]
||
'审核中'
}
...
...
@@ -314,7 +314,7 @@ function goBack() {
}
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
//
颜色变量
-
小程序主色系
$
primary-color
:
#e8341d
;
$
success-color
:
#52c41a
;
...
...
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