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
3a3694c6
authored
2026-04-27 13:58:48 +0800
by
lttnew
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
详情
1 parent
c18acc6e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
77 additions
and
64 deletions
config.js
group/groupOrderDetail.vue
myCenter/order.vue
config.js
View file @
3a3694c
// dev
// const baseUrl_api = 'http://192.168.1.125:8787'
const
baseUrl_api
=
'http://47.98.186.233:8787'
//
const baseUrl_api = 'https://tk001.wxjylt.com/stage-api/'
//
const baseUrl_api = 'http://47.98.186.233:8787'
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'
...
...
group/groupOrderDetail.vue
View file @
3a3694c
...
...
@@ -87,25 +87,20 @@
</view>
<!-- 审核记录 -->
<view
class=
"card"
>
<view
class=
"card-header"
>
<view
class=
"header-left"
>
审核记录
</view>
</view>
<view
class=
"h3-padding"
>
审核记录
</view>
<view
class=
"wBox"
>
<view
v-if=
"loadingAudit"
class=
"state-tip"
>
加载中...
</view>
<view
v-else-if=
"auditList.length === 0"
class=
"state-tip"
>
暂无审核记录
</view>
<view
class=
"audit-list"
v-else
>
<view
class=
"audit-item"
v-for=
"(n, index) in auditList"
:key=
"index"
>
<view
class=
"audit-dot"
:class=
"n.auditResult == 1 ? 'pass' : 'fail'"
></view>
<view
class=
"audit-content"
>
<view
class=
"audit-time"
>
{{
parseDateTime
(
n
.
auditTime
)
}}
</view>
<view
class=
"audit-status"
:class=
"n.auditResult == 1 ? 'text-green' : 'text-red'"
>
{{
getAuditResultText
(
n
.
auditResult
)
}}
</view>
<view
class=
"audit-dept"
>
{{
n
.
auditDeptName
||
'——'
}}
</view>
<view
class=
"audit-remark"
v-if=
"n.auditMsg"
>
备注:
{{
n
.
auditMsg
}}
</view>
<view
class=
"stepItem"
v-else
v-for=
"(n, index) in auditList"
:key=
"index"
>
<view
class=
"time"
>
{{
parseDateTime
(
n
.
auditTime
)
}}
</view>
<view
class=
"content"
>
<view
class=
"status"
>
<text
v-if=
"n.auditResult == 1"
class=
"text-success"
>
审核通过
</text>
<text
v-else-if=
"n.auditResult == 0"
class=
"text-danger"
>
审核拒绝
</text>
<text
v-else
class=
"text-primary"
>
审核中
</text>
</view>
<view
class=
"deptName"
>
{{
n
.
auditDeptName
||
'--'
}}
</view>
<view
v-if=
"n.auditMsg"
>
备注:
{{
n
.
auditMsg
}}
</view>
</view>
</view>
</view>
...
...
@@ -430,7 +425,7 @@ $content-gap: 24rpx;
}
.info-col
{
flex
:
1
;
//
flex
:
1
;
text-align
:
left
;
box-sizing
:
border-box
;
...
...
@@ -445,69 +440,56 @@ $content-gap: 24rpx;
}
}
.audit-list
{
padding
:
0
$
content-gap
24
rpx
;
box-sizing
:
border-box
;
.h3-padding
{
padding
:
30
rpx
30
rpx
0
;
font-size
:
30
rpx
;
font-weight
:
600
;
color
:
#333
;
}
.audit-item
{
display
:
flex
;
padding
:
20
rpx
0
;
border-bottom
:
1
rpx
dashed
$
border-color
;
box-sizing
:
border-box
;
.wBox
{
width
:
700
rpx
;
padding
:
30
rpx
;
margin
:
20
rpx
auto
0
;
background
:
#FFFFFF
;
box-shadow
:
0
rpx
12
rpx
116
rpx
0
rpx
rgba
(
196
,
203
,
214
,
0.1
);
border-radius
:
15
rpx
;
}
.stepItem
{
padding
:
16
rpx
;
border-bottom
:
1
rpx
dashed
#eee
;
&:last-child
{
border-bottom
:
none
;
}
.audit-dot
{
width
:
14
rpx
;
height
:
14
rpx
;
border-radius
:
50%
;
margin-top
:
8
rpx
;
margin-right
:
20
rpx
;
.time
{
width
:
80%
;
font-size
:
22
rpx
;
color
:
#999
;
flex-shrink
:
0
;
box-sizing
:
border-box
;
&.pass
{
background
:
$
success-color
;
padding-top
:
4
rpx
;
}
&
.fail
{
background
:
$
danger-color
;
}
}
.audit-content
{
.content
{
flex
:
1
;
padding-right
:
12
rpx
;
box-sizing
:
border-box
;
.audit-time
{
font-size
:
24
rpx
;
color
:
$
text-placeholder
;
margin-bottom
:
6
rpx
;
}
.
audit-
status
{
.status
{
font-size
:
28
rpx
;
font-weight
:
600
;
margin-bottom
:
6
rpx
;
}
.
audit-dept
{
.
deptName
{
font-size
:
26
rpx
;
color
:
$
text-secondary
;
color
:
#666
;
}
.audit-remark
{
view
{
font-size
:
24
rpx
;
color
:
$
text-placeholder
;
margin-top
:
6
rpx
;
padding
:
8
rpx
12
rpx
;
background
:
#f8f8f8
;
border-radius
:
8
rpx
;
box-sizing
:
border-box
;
color
:
#999
;
margin-top
:
4
rpx
;
}
}
}
...
...
@@ -519,4 +501,16 @@ $content-gap: 24rpx;
.text-green
{
color
:
$
success-color
!important
;
}
.text-success
{
color
:
$
success-color
;
}
.text-danger
{
color
:
$
danger-color
;
}
.text-primary
{
color
:
#333
;
}
</
style
>
\ No newline at end of file
...
...
myCenter/order.vue
View file @
3a3694c
...
...
@@ -222,9 +222,7 @@ import * as api from '@/common/api.js'
import
config
from
'@/config.js'
// 获取deptType值(初始值为0,在onMounted中设置实际值)
const
deptType
=
ref
(
0
);
const
goToDetail
=
(
item
)
=>
{
uni
.
navigateTo
({
url
:
`/pages/rank/applyDetail?examId=
${
item
.
sourceId
||
item
.
id
}
&type=
${
queryParams
.
type
}
`
});
}
// 标签栏配置(根据deptType动态生成)
const
tabs
=
computed
(()
=>
{
...
...
@@ -417,6 +415,27 @@ const confirmDel = async () => {
}
};
const
goToDetail
=
(
item
)
=>
{
console
.
log
(
"goToDetail:"
,
item
);
console
.
log
(
"currentTab.value"
,
currentTab
.
value
);
const
form
=
encodeURIComponent
(
JSON
.
stringify
(
item
))
switch
(
currentTab
.
value
)
{
case
'1'
:
uni
.
navigateTo
({
url
:
`/group/groupOrderDetail?form=
${
form
}
`
});
break
;
case
'2'
:
case
'3'
:
case
'4'
:
uni
.
navigateTo
({
url
:
`/pages/rank/applyDetail?examId=
${
item
.
sourceId
||
item
.
id
}
&type=
${
queryParams
.
type
}
`
});
break
;
case
'0'
:
default
:
uni
.
navigateTo
({
url
:
`/personalVip/orderDetail?rangeId=
${
item
.
sourceId
||
item
.
id
}
&type=
${
queryParams
.
type
}
`
});
break
;
}
// uni.navigateTo({url: `/pages/rank/applyDetail?examId=${item.sourceId || item.id}&type=${queryParams.type}`});
}
// 关闭删除弹窗
const
closeDelPopup
=
()
=>
{
showDelPopup
.
value
=
false
;
...
...
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