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
biyuewuhua
isc-web-vue
Commits
4c84f0a1
Commit
4c84f0a1
authored
Oct 16, 2024
by
李少勇
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
http://114.115.138.98:8900/isc-v3.1/isc-web-vue
into develop
parents
41285a99
d9d926ce
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
53 additions
and
2 deletions
+53
-2
index.js
src/page/Frontend/Fxdsdb/event/index.js
+51
-0
index.js
src/page/Frontend/Fxdsdb/model/index.js
+2
-2
No files found.
src/page/Frontend/Fxdsdb/event/index.js
View file @
4c84f0a1
...
@@ -4,6 +4,57 @@ import moment from "moment";
...
@@ -4,6 +4,57 @@ import moment from "moment";
export
default
{
export
default
{
methods
:
{
methods
:
{
async
handleSearch
()
{
async
handleSearch
()
{
let
begdat
=
this
.
model
.
fddp
.
begdat
;
if
(
!
begdat
||
begdat
==
""
)
{
this
.
$notify
.
error
({
title
:
this
.
$t
(
"financing.错误"
),
message
:
this
.
$t
(
"financing.导入起始日期必输!"
),
});
return
;
}
let
enddat
=
this
.
model
.
fddp
.
enddat
;
if
(
!
enddat
||
enddat
==
""
)
{
this
.
$notify
.
error
({
title
:
this
.
$t
(
"financing.错误"
),
message
:
this
.
$t
(
"financing.导入结束日期必输!"
),
});
return
;
}
this
.
load
=
true
;
let
rtnmsg
=
await
Api
.
post
(
"/gjzf/fxdsdb/query"
,
{
...
this
.
model
.
fddp
,
pageNum
:
this
.
pagination
.
pageNum
,
pageSize
:
this
.
pagination
.
pageSize
,
begdat
:
moment
(
begdat
).
format
(
"YYYY-MM-DD"
),
enddat
:
moment
(
enddat
).
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
()
{
async
handleReset
()
{
},
},
...
...
src/page/Frontend/Fxdsdb/model/index.js
View file @
4c84f0a1
...
@@ -5,8 +5,8 @@ export default class Fxdsdb{
...
@@ -5,8 +5,8 @@ export default class Fxdsdb{
constructor
()
{
constructor
()
{
this
.
data
=
{
this
.
data
=
{
fddp
:{
fddp
:{
begdat
:
""
,
// 导入起始日期 .fddp.begdat
begdat
:
new
Date
((
new
Date
).
getTime
()
-
(
3
*
24
*
60
*
60
*
1000
))
,
// 导入起始日期 .fddp.begdat
enddat
:
""
,
// 导入截止日期 .fddp.enddat
enddat
:
new
Date
()
,
// 导入截止日期 .fddp.enddat
filtyp
:
""
,
// 文件类型 .fddp.filtyp
filtyp
:
""
,
// 文件类型 .fddp.filtyp
filnam
:
""
,
// 文件名 .fddp.filnam
filnam
:
""
,
// 文件名 .fddp.filnam
},
},
...
...
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