Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
isc-web-vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
isc-v3.1-tmp
isc-web-vue
Commits
2fc63a88
Commit
2fc63a88
authored
Oct 17, 2024
by
xiaotong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
QRTMGS查询逻辑调整
parent
d0d16acc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
12 deletions
+13
-12
index.js
src/page/Frontend/Qrtmgs/event/index.js
+13
-12
No files found.
src/page/Frontend/Qrtmgs/event/index.js
View file @
2fc63a88
...
...
@@ -24,7 +24,7 @@ export default {
this
.
load
=
true
;
let
rtnmsg
=
await
Api
.
post
(
"/frontend/case/query"
,
{
...
this
.
model
,
pageNum
:
this
.
pagination
.
pageNum
,
pageNum
ber
:
this
.
pagination
.
pageNum
,
pageSize
:
this
.
pagination
.
pageSize
,
dts
:
moment
(
dts
).
format
(
"YYYY-MM-DD"
),
dte
:
moment
(
dte
).
format
(
"YYYY-MM-DD"
),
...
...
@@ -32,17 +32,18 @@ export default {
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
load
=
false
;
this
.
stmData
.
data
=
[];
const
{
list
}
=
rtnmsg
.
data
;
const
{
codes
:{
sta1
}}
=
this
;
list
.
forEach
(
v
=>
{
for
(
let
i
in
sta1
){
if
(
sta1
[
i
].
value
==
v
.
sta
){
v
.
sta
=
sta1
[
i
].
label
;
}
}
})
this
.
stmData
.
data
=
list
;
this
.
stmData
.
data
=
rtnmsg
.
data
.
list
;
// const {list} = rtnmsg.data;
// const {codes:{sta1}} = this;
//
// list.forEach(v=>{
// for(let i in sta1){
// if(sta1[i].value == v.sta){
// v.sta = sta1[i].label;
// }
// }
// })
// this.stmData.data = list;
this
.
pagination
=
{
pageNum
:
rtnmsg
.
data
.
pageNum
||
1
,
pageSize
:
rtnmsg
.
data
.
pageSize
||
10
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment