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
6ae79474
authored
2024-04-08 17:59:40 +0800
by
杨炀
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复级位证书-不显示问题
1 parent
58e5a288
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
13 deletions
level/ztx/cert.vue
level/ztx/cert.vue
View file @
6ae7947
<
template
>
<view>
<!-- 级位证书发布 -->
<z-paging
ref=
"paging"
v-model=
"infoList"
@
query=
"getQuery"
emptyViewImg=
"/static/nodata.png"
>
<view
class=
"appList"
>
<view
class=
"appItem"
v-for=
"
item in infoList
"
>
<view
class=
"appItem"
v-for=
"
(item,index) in infoList"
:key=
"index
"
>
<view
class=
"status"
@
click=
"goDetail(item)"
>
<text
:class=
"
{
'text-warning':item.certStatus=='0',
...
...
@@ -23,24 +26,21 @@
<view>
{{
item
.
memberName
||
'--'
}}
</view>
</view>
<view>
已发证书
<view>
{{
item
.
hasCerts
}}
</view>
</view>
<view>
待发证书
<view>
{{
item
.
noCerts
}}
</view>
已发/待发
<view>
{{
item
.
hasCerts
}}
/
<text
class=
"text-primary"
>
{{
item
.
noCerts
}}
</text></view>
</view>
</view>
<view
class=
"func"
v-if=
"item.certStatus != '2'"
>
<button
@
click=
"send(item)"
>
一键生成
</button>
</view>
</view>
</view>
<view
class=
"nodata"
v-if=
"infoList.length==0"
>
</z-paging>
<!--
<view
class=
"nodata"
v-if=
"infoList.length==0"
>
<image
mode=
"aspectFit"
src=
"/static/nodata.png"
></image>
<text>
暂无数据
</text>
</view>
</view>
-->
</view>
</
template
>
...
...
@@ -58,8 +58,8 @@
}
from
'@dcloudio/uni-app'
const
app
=
getApp
();
const
queryParams
=
ref
({
//
pageNum: 1,
// pageSize: 10
pageNum
:
1
,
pageSize
:
10
,
status
:
'0'
,
type
:
'1'
})
...
...
@@ -69,6 +69,7 @@
const
total
=
ref
(
0
)
const
deptType
=
ref
(
''
)
const
userType
=
ref
(
''
)
const
paging
=
ref
(
null
)
onLoad
((
option
)
=>
{
queryParams
.
value
.
type
=
option
.
type
if
(
option
.
type
==
2
){
...
...
@@ -99,7 +100,14 @@
getList
()
}
function
getQuery
(
pageNum
,
pageSize
){
queryParams
.
value
.
pageNum
=
pageNum
,
queryParams
.
value
.
pageSize
=
pageSize
api
.
getCertsLList
(
queryParams
.
value
).
then
(
res
=>
{
paging
.
value
.
complete
(
res
.
rows
);
total
.
value
=
res
.
total
})
}
function
getList
()
{
uni
.
showLoading
({
title
:
'加载中'
...
...
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