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
20496dfa
Commit
20496dfa
authored
Oct 16, 2024
by
xiaotong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
QRTMGS查询按钮逻辑
parent
cecb4f90
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
50 additions
and
0 deletions
+50
-0
index.js
src/page/Frontend/Qrtmgs/event/index.js
+50
-0
No files found.
src/page/Frontend/Qrtmgs/event/index.js
View file @
20496dfa
...
...
@@ -4,7 +4,57 @@ import moment from "moment";
export
default
{
methods
:
{
async
handleSearch
()
{
let
dts
=
this
.
model
.
qrtp
.
dts
;
if
(
!
dts
||
dts
==
""
)
{
this
.
$notify
.
error
({
title
:
this
.
$t
(
"financing.错误"
),
message
:
this
.
$t
(
"financing.查询开始日期必输!"
),
});
return
;
}
let
dte
=
this
.
model
.
qrtp
.
dte
;
if
(
!
dte
||
dte
==
""
)
{
this
.
$notify
.
error
({
title
:
this
.
$t
(
"financing.错误"
),
message
:
this
.
$t
(
"financing.查询结束日期必输!"
),
});
return
;
}
this
.
load
=
true
;
let
rtnmsg
=
await
Api
.
post
(
"/gjzf/case/query"
,
{
...
this
.
model
,
pageNum
:
this
.
pagination
.
pageNum
,
pageSize
:
this
.
pagination
.
pageSize
,
dts
:
moment
(
dts
).
format
(
"YYYY-MM-DD"
),
dte
:
moment
(
dte
).
format
(
"YYYY-MM-DD"
),
});
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
.
pagination
=
{
pageNum
:
rtnmsg
.
data
.
pageNum
||
1
,
pageSize
:
rtnmsg
.
data
.
pageSize
||
10
,
total
:
parseInt
(
rtnmsg
.
data
.
total
),
};
}
else
{
this
.
$notify
.
error
({
title
:
this
.
$t
(
"financing.错误"
),
message
:
this
.
$t
(
"financing.服务请求失败!"
),
});
}
this
.
load
=
false
;
},
async
handleReset
()
{
...
...
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