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
d4039304
Commit
d4039304
authored
Oct 29, 2024
by
李少勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改支付前置模块内日期问题
parent
1cd9e78e
Hide whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
241 additions
and
216 deletions
+241
-216
index.js
src/page/Frontend/Cpsmgs/event/index.js
+1
-3
index.js
src/page/Frontend/Cpsmgs/model/index.js
+3
-5
index.js
src/page/Frontend/Cpssxf/event/index.js
+102
-104
index.js
src/page/Frontend/Cpssxf/model/index.js
+3
-4
index.js
src/page/Frontend/Cpzsel/model/index.js
+3
-4
index.js
src/page/Frontend/Ctmsel/model/index.js
+3
-4
index.js
src/page/Frontend/Fxdsdb/event/index.js
+1
-3
index.js
src/page/Frontend/Fxdsdb/model/index.js
+3
-4
index.js
src/page/Frontend/Msgrtm/event/index.js
+1
-3
index.js
src/page/Frontend/Msgrtm/model/index.js
+3
-3
index.js
src/page/Frontend/Msgsel/event/index.js
+1
-3
index.js
src/page/Frontend/Msgsel/model/index.js
+3
-3
index.js
src/page/Frontend/Msgsep/event/index.js
+1
-3
index.js
src/page/Frontend/Msgsep/model/index.js
+3
-4
index.js
src/page/Frontend/Oftopn/model/index.js
+3
-4
index.js
src/page/Frontend/Oftsel/model/index.js
+3
-4
exportExcel.js
src/page/Frontend/Rcvsel/event/exportExcel.js
+44
-0
index.js
src/page/Frontend/Rcvsel/event/index.js
+9
-4
index.js
src/page/Frontend/Rcvsel/model/index.js
+3
-3
Schpnl.vue
src/page/Frontend/Rcvsel/views/Schpnl.vue
+1
-1
index.js
src/page/Frontend/Rcvselblk/event/index.js
+1
-3
index.js
src/page/Frontend/Rcvselblk/model/index.js
+3
-3
index.js
src/page/Frontend/Rcvselcop/event/index.js
+0
-2
index.js
src/page/Frontend/Rcvselcop/model/index.js
+3
-3
index.js
src/page/Frontend/Smtame/model/index.js
+3
-2
index.js
src/page/Frontend/Sndsel/event/index.js
+0
-2
index.js
src/page/Frontend/Sndsel/model/index.js
+3
-3
Schpnl.vue
src/page/Frontend/Sndsel/views/Schpnl.vue
+31
-27
index.js
src/page/Frontend/Sndselcop/event/index.js
+0
-2
index.js
src/page/Frontend/Sndselcop/model/index.js
+3
-3
No files found.
src/page/Frontend/Cpsmgs/event/index.js
View file @
d4039304
...
...
@@ -41,9 +41,7 @@ export default {
...
this
.
model
.
sndp
,
dir
:
">"
,
pageNum
:
this
.
pagination
.
pageNum
,
pageSize
:
this
.
pagination
.
pageSize
,
rcvdatsta
:
moment
(
rcvdatsta
).
format
(
"YYYY-MM-DD"
),
rcvdatend
:
moment
(
rcvdatend
).
format
(
"YYYY-MM-DD"
),
pageSize
:
this
.
pagination
.
pageSize
});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
load
=
false
;
...
...
src/page/Frontend/Cpsmgs/model/index.js
View file @
d4039304
import
Api
from
"~/service/Api"
import
Pts
from
"~/page/Model/Common/Pts"
import
moment
from
"moment"
;
export
default
class
Cpssxf
{
constructor
()
{
this
.
data
=
{
mgsp
:
{
stadat
:
new
Date
((
new
Date
).
getTime
()
-
(
3
*
24
*
60
*
60
*
1000
)
),
// 收报日期(查询) .mgsp.stadat
enddat
:
new
Date
(
),
// 发报日期(查询) .mgsp.enddat
stadat
:
moment
(
new
Date
()).
add
(
-
3
,
'd'
).
format
(
'YYYY-MM-DD'
),
// 收报日期(查询) .mgsp.stadat
enddat
:
moment
(
new
Date
()).
format
(
'YYYY-MM-DD'
),
// 发报日期(查询) .mgsp.enddat
exp
:
""
,
// 导出 .sxfp.exp
msgtyp
:
''
,
subtyp
:
''
,
...
...
src/page/Frontend/Cpssxf/event/index.js
View file @
d4039304
...
...
@@ -2,111 +2,109 @@ import Api from "~/service/Api";
import
moment
from
"moment"
;
export
default
{
methods
:
{
async
handleSearch
()
{
let
rcvdatsta
=
this
.
model
.
sndp
.
rcvdatsta
;
if
(
!
rcvdatsta
||
rcvdatsta
==
""
)
{
this
.
$notify
.
error
({
title
:
this
.
$t
(
"financing.错误"
),
message
:
this
.
$t
(
"financing.查询开始日期必输!"
),
});
return
;
}
let
rcvdatend
=
this
.
model
.
sndp
.
rcvdatend
;
if
(
!
rcvdatend
||
rcvdatend
==
""
)
{
this
.
$notify
.
error
({
title
:
this
.
$t
(
"financing.错误"
),
message
:
this
.
$t
(
"financing.查询结束日期必输!"
),
});
return
;
}
methods
:
{
async
handleSearch
()
{
let
rcvdatsta
=
this
.
model
.
sndp
.
rcvdatsta
;
if
(
!
rcvdatsta
||
rcvdatsta
==
""
)
{
this
.
$notify
.
error
({
title
:
this
.
$t
(
"financing.错误"
),
message
:
this
.
$t
(
"financing.查询开始日期必输!"
),
});
return
;
}
let
rcvdatend
=
this
.
model
.
sndp
.
rcvdatend
;
if
(
!
rcvdatend
||
rcvdatend
==
""
)
{
this
.
$notify
.
error
({
title
:
this
.
$t
(
"financing.错误"
),
message
:
this
.
$t
(
"financing.查询结束日期必输!"
),
});
return
;
}
this
.
load
=
true
;
let
rtnmsg
=
await
Api
.
post
(
"/frontend/msgsel/query"
,
{
...
this
.
model
.
sndp
,
dir
:
">"
,
pageNum
:
this
.
pagination
.
pageNum
,
pageSize
:
this
.
pagination
.
pageSize
});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
load
=
false
;
this
.
stmData
.
data
=
[];
const
{
list
}
=
rtnmsg
.
data
;
const
{
codes
:
{
sta1
}
}
=
this
;
this
.
load
=
true
;
let
rtnmsg
=
await
Api
.
post
(
"/frontend/msgsel/query"
,
{
...
this
.
model
.
sndp
,
dir
:
">"
,
pageNum
:
this
.
pagination
.
pageNum
,
pageSize
:
this
.
pagination
.
pageSize
,
rcvdatsta
:
moment
(
rcvdatsta
).
format
(
"YYYY-MM-DD"
),
rcvdatend
:
moment
(
rcvdatend
).
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.服务请求失败!"
),
});
list
.
forEach
(
v
=>
{
for
(
let
i
in
sta1
)
{
if
(
sta1
[
i
].
value
==
v
.
sta
)
{
v
.
sta
=
sta1
[
i
].
label
;
}
this
.
load
=
false
;
},
async
handleReset
()
{
this
.
model
.
sndp
.
msgtyp
=
""
;
this
.
model
.
sndp
.
rcvdatsta
=
new
Date
();
this
.
model
.
sndp
.
rcvdatend
=
new
Date
();
this
.
model
.
sndp
.
subtyp
=
""
;
this
.
model
.
sndp
.
sndbak
=
""
;
this
.
model
.
sndp
.
revbak
=
""
;
this
.
model
.
sndp
.
actbic
=
""
;
this
.
model
.
sndp
.
othref
=
""
;
this
.
model
.
sndp
.
ownref
=
""
;
this
.
model
.
sndp
.
cur
=
""
;
this
.
model
.
sndp
.
act
=
""
;
this
.
model
.
sndp
.
amtmin
=
""
;
this
.
model
.
sndp
.
amtmax
=
""
;
this
.
model
.
sndp
.
chnipt
=
""
;
this
.
model
.
sndp
.
rspsta
=
""
;
this
.
model
.
sndp
.
dtlchg
=
""
;
this
.
model
.
sndp
.
sta
=
""
;
},
// pageSize改变
handleSizeChange
(
val
)
{
this
.
pagination
.
pageNum
=
1
;
this
.
pagination
.
pageSize
=
val
;
this
.
handleSearch
();
},
// 页码改变
handleCurrentChange
(
val
)
{
this
.
pagination
.
pageNum
=
val
;
this
.
handleSearch
();
},
handleSelectionChange
(
val
){
this
.
multipleSelection
=
val
;
},
addClick
(){
this
.
addDialogVisiable
=
true
;
},
handleClose
(){
this
.
addDialogVisiable
=
false
;
},
handleOn
(){
this
.
addDialogVisiable
=
false
;
},
fentanClick
(){
this
.
dialogVisible
=
true
;
},
closeDialogOpen
(){
this
.
dialogVisible
=
false
;
},
testClick
(){
this
.
addDialogVisiable1
=
true
}
}
})
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
()
{
this
.
model
.
sndp
.
msgtyp
=
""
;
this
.
model
.
sndp
.
rcvdatsta
=
new
Date
();
this
.
model
.
sndp
.
rcvdatend
=
new
Date
();
this
.
model
.
sndp
.
subtyp
=
""
;
this
.
model
.
sndp
.
sndbak
=
""
;
this
.
model
.
sndp
.
revbak
=
""
;
this
.
model
.
sndp
.
actbic
=
""
;
this
.
model
.
sndp
.
othref
=
""
;
this
.
model
.
sndp
.
ownref
=
""
;
this
.
model
.
sndp
.
cur
=
""
;
this
.
model
.
sndp
.
act
=
""
;
this
.
model
.
sndp
.
amtmin
=
""
;
this
.
model
.
sndp
.
amtmax
=
""
;
this
.
model
.
sndp
.
chnipt
=
""
;
this
.
model
.
sndp
.
rspsta
=
""
;
this
.
model
.
sndp
.
dtlchg
=
""
;
this
.
model
.
sndp
.
sta
=
""
;
},
// pageSize改变
handleSizeChange
(
val
)
{
this
.
pagination
.
pageNum
=
1
;
this
.
pagination
.
pageSize
=
val
;
this
.
handleSearch
();
},
// 页码改变
handleCurrentChange
(
val
)
{
this
.
pagination
.
pageNum
=
val
;
this
.
handleSearch
();
},
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
val
;
},
addClick
()
{
this
.
addDialogVisiable
=
true
;
},
handleClose
()
{
this
.
addDialogVisiable
=
false
;
},
handleOn
()
{
this
.
addDialogVisiable
=
false
;
},
fentanClick
()
{
this
.
dialogVisible
=
true
;
},
closeDialogOpen
()
{
this
.
dialogVisible
=
false
;
},
testClick
()
{
this
.
addDialogVisiable1
=
true
}
},
};
src/page/Frontend/Cpssxf/model/index.js
View file @
d4039304
import
Api
from
"~/service/Api"
import
Pts
from
"~/page/Model/Common/Pts"
import
moment
from
"moment"
;
export
default
class
Cpssxf
{
constructor
()
{
this
.
data
=
{
sxfp
:
{
stadat
:
new
Date
((
new
Date
).
getTime
()
-
(
3
*
24
*
60
*
60
*
1000
)
),
// 手续费创建起始日期(查询) .sxfp.stadat
enddat
:
new
Date
(
),
// 手续费创建截止日期(查询) .sxfp.enddat
stadat
:
moment
(
new
Date
()).
add
(
-
3
,
'd'
).
format
(
'YYYY-MM-DD'
),
// 手续费创建起始日期(查询) .sxfp.stadat
enddat
:
moment
(
new
Date
()).
format
(
'YYYY-MM-DD'
),
// 手续费创建截止日期(查询) .sxfp.enddat
exp
:
""
,
// 导出 .sxfp.exp
},
sxfgrp
:
{
...
...
src/page/Frontend/Cpzsel/model/index.js
View file @
d4039304
import
Api
from
"~/service/Api"
import
Pts
from
"~/page/Model/Common/Pts"
import
moment
from
"moment"
;
export
default
class
Cpzsel
{
constructor
()
{
this
.
data
=
{
cpzp
:
{
chkbic
:
""
,
// 对账行号 .cpzp.chkbic
rcvsta
:
new
Date
((
new
Date
).
getTime
()
-
(
3
*
24
*
60
*
60
*
1000
)
),
// 收报日期 .cpzp.rcvsta
rcvend
:
new
Date
(
),
// 至 .cpzp.rcvend
rcvsta
:
moment
(
new
Date
()).
add
(
-
3
,
'd'
).
format
(
'YYYY-MM-DD'
),
// 收报日期 .cpzp.rcvsta
rcvend
:
moment
(
new
Date
()).
format
(
'YYYY-MM-DD'
),
// 至 .cpzp.rcvend
chksta
:
""
,
// 对账起始日期 .cpzp.chksta
chkend
:
""
,
// 对账截止日期 .cpzp.chkend
subtyp
:
""
,
// 报文类型 .cpzp.subtyp
...
...
src/page/Frontend/Ctmsel/model/index.js
View file @
d4039304
import
Api
from
"~/service/Api"
import
Pts
from
"~/page/Model/Common/Pts"
import
moment
from
"moment"
;
export
default
class
Ctmsel
{
constructor
()
{
this
.
data
=
{
cpstimp
:
{
rcvdatsta
:
new
Date
((
new
Date
).
getTime
()
-
(
3
*
24
*
60
*
60
*
1000
)
),
// 起始时间: .cpstimp.rcvdatsta
rcvdatend
:
new
Date
(
),
// 截止时间: .cpstimp.rcvdatend
rcvdatsta
:
moment
(
new
Date
()).
add
(
-
3
,
'd'
).
format
(
'YYYY-MM-DD'
),
// 起始时间: .cpstimp.rcvdatsta
rcvdatend
:
moment
(
new
Date
()).
format
(
'YYYY-MM-DD'
),
// 截止时间: .cpstimp.rcvdatend
cursta
:
""
,
// 系统当前时序状态(显示) .cpstimp.cursta
syscursta
:
""
,
// 系统状态: .cpstimp.syscursta
curlogsta
:
""
,
// 当前登录状态 .cpstimp.curlogsta
...
...
src/page/Frontend/Fxdsdb/event/index.js
View file @
d4039304
...
...
@@ -26,9 +26,7 @@ export default {
let
rtnmsg
=
await
Api
.
post
(
"/frontend/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"
),
pageSize
:
this
.
pagination
.
pageSize
});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
load
=
false
;
...
...
src/page/Frontend/Fxdsdb/model/index.js
View file @
d4039304
import
Api
from
"~/service/Api"
import
Pts
from
"~/page/Model/Common/Pts"
import
moment
from
"moment"
;
export
default
class
Fxdsdb
{
constructor
()
{
this
.
data
=
{
fddp
:
{
begdat
:
new
Date
((
new
Date
).
getTime
()
-
(
3
*
24
*
60
*
60
*
1000
)
),
// 导入起始日期 .fddp.begdat
enddat
:
new
Date
(
),
// 导入截止日期 .fddp.enddat
begdat
:
moment
(
new
Date
()).
add
(
-
3
,
'd'
).
format
(
'YYYY-MM-DD'
),
// 导入起始日期 .fddp.begdat
enddat
:
moment
(
new
Date
()).
format
(
'YYYY-MM-DD'
),
// 导入截止日期 .fddp.enddat
filtyp
:
""
,
// 文件类型 .fddp.filtyp
filnam
:
""
,
// 文件名 .fddp.filnam
},
...
...
src/page/Frontend/Msgrtm/event/index.js
View file @
d4039304
...
...
@@ -30,9 +30,7 @@ export default {
dir
:
">"
,
querytyp
:
"rtm"
,
pageNum
:
this
.
pagination
.
pageNum
,
pageSize
:
this
.
pagination
.
pageSize
,
rcvdatsta
:
moment
(
rcvdatsta
).
format
(
"YYYY-MM-DD"
),
rcvdatend
:
moment
(
rcvdatend
).
format
(
"YYYY-MM-DD"
),
pageSize
:
this
.
pagination
.
pageSize
});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
load
=
false
;
...
...
src/page/Frontend/Msgrtm/model/index.js
View file @
d4039304
import
Api
from
"~/service/Api"
import
moment
from
"moment"
;
export
default
class
Msgrtm
{
constructor
()
{
this
.
data
=
{
sndp
:
{
rcvdatsta
:
new
Date
((
new
Date
).
getTime
()
-
(
3
*
24
*
60
*
60
*
1000
)
),
// : 起始日期
rcvdatend
:
new
Date
(
),
// : 截止日期
rcvdatsta
:
moment
(
new
Date
()).
add
(
-
3
,
'd'
).
format
(
'YYYY-MM-DD'
),
// : 起始日期
rcvdatend
:
moment
(
new
Date
()).
format
(
'YYYY-MM-DD'
),
// : 截止日期
msgtyp
:
""
,
// : 报文标准
subtyp
:
""
,
// : 报文类型
sndbak
:
""
,
// : 发报行BIC
...
...
src/page/Frontend/Msgsel/event/index.js
View file @
d4039304
...
...
@@ -29,9 +29,7 @@ export default {
...
this
.
model
.
sndp
,
dir
:
"<"
,
pageNum
:
this
.
pagination
.
pageNum
,
pageSize
:
this
.
pagination
.
pageSize
,
rcvdatsta
:
moment
(
rcvdatsta
).
format
(
"YYYY-MM-DD"
),
rcvdatend
:
moment
(
rcvdatend
).
format
(
"YYYY-MM-DD"
),
pageSize
:
this
.
pagination
.
pageSize
});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
load
=
false
;
...
...
src/page/Frontend/Msgsel/model/index.js
View file @
d4039304
import
Api
from
"~/service/Api"
import
moment
from
"moment"
;
export
default
class
Msgsel
{
constructor
()
{
this
.
data
=
{
sndp
:
{
rcvdatsta
:
new
Date
((
new
Date
).
getTime
()
-
(
3
*
24
*
60
*
60
*
1000
)
),
// : .sndp.rcvdatsta
rcvdatend
:
new
Date
(
),
// : .sndp.rcvdatend
rcvdatsta
:
moment
(
new
Date
()).
add
(
-
3
,
'd'
).
format
(
'YYYY-MM-DD'
),
// : .sndp.rcvdatsta
rcvdatend
:
moment
(
new
Date
()).
format
(
'YYYY-MM-DD'
),
// : .sndp.rcvdatend
msgtyp
:
""
,
// : .sndp.msgtyp
subtyp
:
""
,
// : .sndp.subtyp
sndbak
:
""
,
// : .sndp.sndbak
...
...
src/page/Frontend/Msgsep/event/index.js
View file @
d4039304
...
...
@@ -30,9 +30,7 @@ export default {
dir
:
"<"
,
querytyp
:
"sep"
,
pageNum
:
this
.
pagination
.
pageNum
,
pageSize
:
this
.
pagination
.
pageSize
,
rcvdatsta
:
moment
(
rcvdatsta
).
format
(
"YYYY-MM-DD"
),
rcvdatend
:
moment
(
rcvdatend
).
format
(
"YYYY-MM-DD"
),
pageSize
:
this
.
pagination
.
pageSize
});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
load
=
false
;
...
...
src/page/Frontend/Msgsep/model/index.js
View file @
d4039304
import
Api
from
"~/service/Api"
import
Pts
from
"~/page/Model/Common/Pts"
import
moment
from
"moment"
;
export
default
class
Msgsep
{
constructor
()
{
this
.
data
=
{
sndp
:
{
rcvdatsta
:
new
Date
((
new
Date
).
getTime
()
-
(
3
*
24
*
60
*
60
*
1000
)
),
// : 起始日期
rcvdatend
:
new
Date
(
),
// : 截止日期
rcvdatsta
:
moment
(
new
Date
()).
add
(
-
3
,
'd'
).
format
(
'YYYY-MM-DD'
),
// : 起始日期
rcvdatend
:
moment
(
new
Date
()).
format
(
'YYYY-MM-DD'
),
// : 截止日期
msgtyp
:
""
,
// : 报文标准
subtyp
:
""
,
// : 报文类型
sndbak
:
""
,
// : 发报行BIC
...
...
src/page/Frontend/Oftopn/model/index.js
View file @
d4039304
import
Api
from
"~/service/Api"
import
Pts
from
"~/page/Model/Common/Pts"
import
moment
from
"moment"
;
export
default
class
Oftopn
{
constructor
()
{
...
...
@@ -12,8 +11,8 @@ export default class Oftopn {
amtu
:
""
,
// : .oftp.rel.amtu
amtd
:
""
,
// : .oftp.rel.amtd
mty
:
""
,
// : .oftp.rel.mty
rsptims
:
new
Date
((
new
Date
).
getTime
()
-
(
3
*
24
*
60
*
60
*
1000
)
),
// : .oftp.rel.rsptims
rsptime
:
new
Date
(
),
// : .oftp.rel.rsptime
rsptims
:
moment
(
new
Date
()).
add
(
-
3
,
'd'
).
format
(
'YYYY-MM-DD'
),
// : .oftp.rel.rsptims
rsptime
:
moment
(
new
Date
()).
format
(
'YYYY-MM-DD'
),
// : .oftp.rel.rsptime
sedbak
:
""
,
// : .oftp.rel.sedbak
revbak
:
""
,
// : .oftp.rel.revbak
actbic
:
""
,
// : .oftp.rel.actbic
...
...
src/page/Frontend/Oftsel/model/index.js
View file @
d4039304
import
Api
from
"~/service/Api"
import
Pts
from
"~/page/Model/Common/Pts"
import
moment
from
"moment"
;
export
default
class
Oftsel
{
constructor
()
{
...
...
@@ -13,8 +12,8 @@ export default class Oftsel {
amtu
:
""
,
// : .oftp.rel.amtu
amtd
:
""
,
// : .oftp.rel.amtd
mty
:
""
,
// : .oftp.rel.mty
rsptims
:
new
Date
((
new
Date
).
getTime
()
-
(
3
*
24
*
60
*
60
*
1000
)
),
// : .oftp.rel.rsptims
rsptime
:
new
Date
(
),
// : .oftp.rel.rsptime
rsptims
:
moment
(
new
Date
()).
add
(
-
3
,
'd'
).
format
(
'YYYY-MM-DD'
),
// : .oftp.rel.rsptims
rsptime
:
moment
(
new
Date
()).
format
(
'YYYY-MM-DD'
),
// : .oftp.rel.rsptime
sedbak
:
""
,
// : .oftp.rel.sedbak
revbak
:
""
,
// : .oftp.rel.revbak
actbic
:
""
,
// : .oftp.rel.actbic
...
...
src/page/Frontend/Rcvsel/event/exportExcel.js
0 → 100644
View file @
d4039304
import
Api
from
"~/service/Api"
;
import
moment
from
"moment"
;
import
_
from
'lodash'
;
import
Utils
from
"~/utils"
;
export
default
{
methods
:
{
// codeKeysMap: {
// prop: code
// }
async
exportExcel
(
columns
,
url
,
codeKeysMap
,
nam
)
{
let
resList
=
[]
let
colList
=
columns
.
map
((
col
)
=>
{
return
col
.
label
})
resList
.
push
(
colList
)
let
rtnmsg
=
await
Api
.
post
(
url
,
{
...
this
.
model
,
dir
:
">"
,
pageNum
:
this
.
pagination
.
pageNum
,
pageSize
:
this
.
pagination
.
pageSize
,
});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
rtnmsg
.
data
.
list
.
map
((
item
)
=>
{
let
dataList
=
[];
columns
.
map
((
colItem
)
=>
{
let
curCode
=
codeKeysMap
[
colItem
.
prop
];
let
curVal
=
item
[
colItem
.
prop
];
if
(
curCode
)
{
this
.
codes
[
curCode
].
forEach
((
ite
)
=>
{
if
(
item
[
colItem
.
prop
]
==
ite
.
value
)
{
curVal
=
ite
.
label
}
});
};
dataList
.
push
(
curVal
);
});
resList
.
push
(
dataList
);
});
let
hash
=
moment
(
new
Date
()).
format
(
'yyyy-MM-DD HH:mm:ss'
);
Utils
.
exportToExcel
(
resList
,
nam
+
"_"
+
hash
+
".xlsx"
,
nam
);
};
}
}
};
src/page/Frontend/Rcvsel/event/index.js
View file @
d4039304
import
Api
from
"~/service/Api"
;
import
getSubtyp
from
'~/page/Frontend/Rcvsel/event/getSubtyp.js'
;
import
exportExcel
from
'~/page/Frontend/Rcvsel/event/exportExcel.js'
;
import
moment
from
"moment"
;
import
Rcvsel
from
"../model"
;
import
Utils
from
"~/utils"
;
export
default
{
mixins
:
[
getSubtyp
],
mixins
:
[
getSubtyp
,
exportExcel
],
methods
:
{
async
handleSearch
()
{
let
rcvdatsta
=
this
.
model
.
rcvp
.
rcvdatsta
;
...
...
@@ -30,9 +31,7 @@ export default {
...
this
.
model
.
rcvp
,
dir
:
">"
,
pageNum
:
this
.
pagination
.
pageNum
,
pageSize
:
this
.
pagination
.
pageSize
,
rcvdatsta
:
moment
(
rcvdatsta
).
format
(
"YYYY-MM-DD"
),
rcvdatend
:
moment
(
rcvdatend
).
format
(
"YYYY-MM-DD"
),
pageSize
:
this
.
pagination
.
pageSize
});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
load
=
false
;
...
...
@@ -79,6 +78,12 @@ export default {
},
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
val
;
},
exportToExcel
()
{
let
codeKeysMap
=
{
sta
:
'stacod'
};
this
.
exportExcel
(
this
.
stmData
.
columns
,
'/frontend/msgsel/query'
,
codeKeysMap
,
'收报查询表'
);
}
},
};
src/page/Frontend/Rcvsel/model/index.js
View file @
d4039304
import
moment
from
"moment"
;
export
default
class
Rcvsel
{
constructor
()
{
this
.
data
=
{
rcvp
:
{
rcvdatsta
:
new
Date
((
new
Date
).
getTime
()
-
(
3
*
24
*
60
*
60
*
1000
)
),
// : 起始日期 .rcvp.rcvdatsta
rcvdatend
:
new
Date
(
),
// : 终止日期 .rcvp.rcvdatend
rcvdatsta
:
moment
(
new
Date
()).
add
(
-
3
,
'd'
).
format
(
'YYYY-MM-DD'
),
// : 起始日期 .rcvp.rcvdatsta
rcvdatend
:
moment
(
new
Date
()).
format
(
'YYYY-MM-DD'
),
// : 终止日期 .rcvp.rcvdatend
msgtyp
:
""
,
// : 报文标准 .rcvp.msgtyp
subtyp
:
""
,
// : 报文类型 .rcvp.subtyp
sndbak
:
""
,
// : 发报行BIC .rcvp.sndbak
...
...
src/page/Frontend/Rcvsel/views/Schpnl.vue
View file @
d4039304
...
...
@@ -143,7 +143,7 @@
<c-button
:disabled=
"isRoutingDisable"
class=
"medium_bcs"
size=
"medium"
style=
"margin-left: 20"
type=
"primary"
>
ReRouting
</c-button>
<c-button
class=
"medium_bcs"
size=
"medium"
style=
"margin-left: 20"
type=
"primary"
>
<c-button
class=
"medium_bcs"
size=
"medium"
style=
"margin-left: 20"
type=
"primary"
@
click=
"exportToExcel"
>
{{ $t('public.导出Excel') }}
</c-button>
</el-col>
...
...
src/page/Frontend/Rcvselblk/event/index.js
View file @
d4039304
...
...
@@ -30,9 +30,7 @@ export default {
dir
:
">"
,
querytyp
:
"rcvblk"
,
pageNum
:
this
.
pagination
.
pageNum
,
pageSize
:
this
.
pagination
.
pageSize
,
rcvdatsta
:
moment
(
rcvdatsta
).
format
(
"YYYY-MM-DD"
),
rcvdatend
:
moment
(
rcvdatend
).
format
(
"YYYY-MM-DD"
),
pageSize
:
this
.
pagination
.
pageSize
});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
load
=
false
;
...
...
src/page/Frontend/Rcvselblk/model/index.js
View file @
d4039304
import
moment
from
"moment"
;
export
default
class
Rcvsel
{
constructor
()
{
this
.
data
=
{
rcvp
:
{
rcvdatsta
:
new
Date
((
new
Date
).
getTime
()
-
(
3
*
24
*
60
*
60
*
1000
)
),
// : 起始日期 .rcvp.rcvdatsta
rcvdatend
:
new
Date
(
),
// : 终止日期 .rcvp.rcvdatend
rcvdatsta
:
moment
(
new
Date
()).
add
(
-
3
,
'd'
).
format
(
'YYYY-MM-DD'
),
// : 起始日期 .rcvp.rcvdatsta
rcvdatend
:
moment
(
new
Date
()).
format
(
'YYYY-MM-DD'
),
// : 终止日期 .rcvp.rcvdatend
msgtyp
:
""
,
// : 报文标准 .rcvp.msgtyp
subtyp
:
""
,
// : 报文类型 .rcvp.subtyp
sndbak
:
""
,
// : 发报行BIC .rcvp.sndbak
...
...
src/page/Frontend/Rcvselcop/event/index.js
View file @
d4039304
...
...
@@ -31,8 +31,6 @@ export default {
querytyp
:
"rsm"
,
pageNum
:
this
.
pagination
.
pageNum
,
pageSize
:
this
.
pagination
.
pageSize
,
rcvdatsta
:
moment
(
rcvdatsta
).
format
(
"YYYY-MM-DD"
),
rcvdatend
:
moment
(
rcvdatend
).
format
(
"YYYY-MM-DD"
),
});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
load
=
false
;
...
...
src/page/Frontend/Rcvselcop/model/index.js
View file @
d4039304
import
moment
from
"moment"
;
export
default
class
Rcvsel
{
constructor
()
{
this
.
data
=
{
rcvp
:
{
rcvdatsta
:
new
Date
((
new
Date
).
getTime
()
-
(
3
*
24
*
60
*
60
*
1000
)
),
// : 起始日期 .rcvp.rcvdatsta
rcvdatend
:
new
Date
(
),
// : 终止日期 .rcvp.rcvdatend
rcvdatsta
:
moment
(
new
Date
()).
add
(
-
3
,
'd'
).
format
(
'YYYY-MM-DD'
),
// : 起始日期 .rcvp.rcvdatsta
rcvdatend
:
moment
(
new
Date
()).
format
(
'YYYY-MM-DD'
),
// : 终止日期 .rcvp.rcvdatend
msgtyp
:
""
,
// : 报文标准 .rcvp.msgtyp
subtyp
:
""
,
// : 报文类型 .rcvp.subtyp
sndbak
:
""
,
// : 发报行BIC .rcvp.sndbak
...
...
src/page/Frontend/Smtame/model/index.js
View file @
d4039304
import
moment
from
"moment"
;
export
default
class
Smtame
{
constructor
()
{
this
.
data
=
{
...
...
@@ -14,8 +15,8 @@ export default class Smtame {
ref
:
""
,
// : .smtp.smtsup.ref
smtno
:
""
,
// : .smtp.smtsup.smtno
errtyp
:
""
,
// : .smtp.smtsup.errtyp
begdat
:
new
Date
((
new
Date
).
getTime
()
-
(
3
*
24
*
60
*
60
*
1000
)
),
// : .smtp.smtsup.begdat
enddat
:
new
Date
(
),
// 至 .smtp.smtsup.enddat
begdat
:
moment
(
new
Date
()).
add
(
-
3
,
'd'
).
format
(
'YYYY-MM-DD'
),
// : .smtp.smtsup.begdat
enddat
:
moment
(
new
Date
()).
format
(
'YYYY-MM-DD'
),
// 至 .smtp.smtsup.enddat
valdatbeg
:
''
,
// : .smtp.smtsup.valdatbeg
valdatend
:
''
,
// 至 .smtp.smtsup.valdatend
act
:
""
,
// : .smtp.smtsup.act
...
...
src/page/Frontend/Sndsel/event/index.js
View file @
d4039304
...
...
@@ -31,8 +31,6 @@ export default {
dir
:
"<"
,
pageNum
:
this
.
pagination
.
pageNum
,
pageSize
:
this
.
pagination
.
pageSize
,
rcvdatsta
:
moment
(
rcvdatsta
).
format
(
"YYYY-MM-DD"
),
rcvdatend
:
moment
(
rcvdatend
).
format
(
"YYYY-MM-DD"
),
});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
load
=
false
;
...
...
src/page/Frontend/Sndsel/model/index.js
View file @
d4039304
import
Api
from
"~/service/Api"
import
moment
from
"moment"
;
export
default
class
Sndsel
{
constructor
()
{
this
.
data
=
{
sndp
:
{
rcvdatsta
:
new
Date
((
new
Date
).
getTime
()
-
(
3
*
24
*
60
*
60
*
1000
)
),
// : 起始日期
rcvdatend
:
new
Date
(
),
// : 截止日期
rcvdatsta
:
moment
(
new
Date
()).
add
(
-
3
,
'd'
).
format
(
'YYYY-MM-DD'
),
// : 起始日期
rcvdatend
:
moment
(
new
Date
()).
format
(
'YYYY-MM-DD'
),
// : 截止日期
msgtyp
:
""
,
// : 报文标准
subtyp
:
""
,
// : 报文类型
sndbak
:
""
,
// : 发报行BIC
...
...
src/page/Frontend/Sndsel/views/Schpnl.vue
View file @
d4039304
...
...
@@ -130,11 +130,11 @@
</c-list-search>
<el-col
:span=
"24"
style=
"margin-top: 2px;margin-bottom: 1px;"
>
<c-button
:disabled=
"isFoldDisable"
class=
"medium_bcs"
size=
"medium"
style=
"margin-left: 0"
type=
"primary"
>
{{
$t('public.归档') }}
<c-button
:disabled=
"isFoldDisable"
class=
"medium_bcs"
size=
"medium"
style=
"margin-left: 0"
type=
"primary"
>
{{
$t('public.归档') }}
</c-button>
<c-button
:disabled=
"isRoutingDisable"
class=
"medium_bcs"
size=
"medium"
style=
"margin-left: 20"
type=
"primary"
>
ReRouting
<c-button
:disabled=
"isRoutingDisable"
class=
"medium_bcs"
size=
"medium"
style=
"margin-left: 20"
type=
"primary"
>
ReRouting
</c-button>
<c-button
class=
"medium_bcs"
size=
"medium"
style=
"margin-left: 20"
type=
"primary"
>
{{ $t('public.导出Excel') }}
...
...
@@ -144,29 +144,34 @@
<el-col
:span=
"24"
style=
"margin-top: 10px"
>
<div
style=
"height: 90%"
>
<c-col
:span=
"24"
>
<el-tabs
v-model=
"activeTab"
class=
"y-tabs"
>
<el-tab-pane
label=
"发报查询"
name=
"fb"
>
<el-table
:data=
"stmData.data"
:columns=
"stmData.columns"
v-loading=
"load"
style=
"width: 100%"
@
selection-change=
"handleSelectionChange"
@
row-dblclick=
"dbClickRow"
size=
"small"
:border=
"true"
height=
"calc(100vh - 420px)"
:highlight-current-row=
"true"
>
<el-table-column
type=
"selection"
width=
"55"
>
</el-table-column>
<el-table-column
v-for=
"(item, key) in stmData.columns"
:key=
"key"
:label=
"item.label"
:prop=
"item.prop"
:min-width=
"item.width"
>
<
template
slot-scope=
"scope"
>
<c-select-value-to-label
v-if=
"item.prop == 'sta'"
v-model=
"scope.row.sta"
:code=
"codes.stacod"
></c-select-value-to-label>
<span
v-else-if=
"item.prop == 'amt'"
>
{{
moneyFormat
(
scope
.
row
.
amt
,
scope
.
row
.
cur
)
}}
</span>
<span
v-else
>
{{
scope
.
row
[
item
.
prop
]
}}
</span>
</
template
>
</el-table-column>
</el-table>
<el-table
:data=
"stmData.data"
:columns=
"stmData.columns"
v-loading=
"load"
style=
"width: 100%"
@
selection-change=
"handleSelectionChange"
@
row-dblclick=
"dbClickRow"
size=
"small"
:border=
"true"
height=
"calc(100vh - 310px)"
:highlight-current-row=
"true"
>
<el-table-column
type=
"selection"
width=
"55"
></el-table-column>
<el-table-column
v-for=
"(item, key) in stmData.columns"
:key=
"key"
:label=
"item.label"
:prop=
"item.prop"
:min-width=
"item.width"
>
<
template
slot-scope=
"scope"
>
<c-select-value-to-label
v-if=
"item.prop == 'sta'"
v-model=
"scope.row.sta"
:code=
"codes.stacod"
></c-select-value-to-label>
<span
v-else-if=
"item.prop == 'amt'"
>
{{
moneyFormat
(
scope
.
row
.
amt
,
scope
.
row
.
cur
)
}}
</span>
<span
v-else
>
{{
scope
.
row
[
item
.
prop
]
}}
</span>
</
template
>
</el-table-column>
</el-table>
<el-pagination
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"pagination.total"
:page-size=
"pagination.pageSize"
:current-page
.
sync=
"pagination.pageNum"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
>
</el-pagination>
</el-tab-pane>
</el-tabs>
<el-pagination
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"pagination.total"
:page-size=
"pagination.pageSize"
:current-page
.
sync=
"pagination.pageNum"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
>
</el-pagination>
</c-col>
</div>
</el-col>
...
...
@@ -181,7 +186,6 @@ export default {
mixins
:
[
event
],
data
()
{
return
{
activeTab
:
'fb'
,
load
:
false
,
subtypCodes
:
[],
multipleSelection
:
[],
...
...
src/page/Frontend/Sndselcop/event/index.js
View file @
d4039304
...
...
@@ -32,8 +32,6 @@ export default {
querytyp
:
"rsm"
,
pageNum
:
this
.
pagination
.
pageNum
,
pageSize
:
this
.
pagination
.
pageSize
,
rcvdatsta
:
moment
(
rcvdatsta
).
format
(
"YYYY-MM-DD"
),
rcvdatend
:
moment
(
rcvdatend
).
format
(
"YYYY-MM-DD"
),
});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
load
=
false
;
...
...
src/page/Frontend/Sndselcop/model/index.js
View file @
d4039304
import
Api
from
"~/service/Api"
import
moment
from
"moment"
;
export
default
class
Sndsel
{
constructor
()
{
this
.
data
=
{
sndp
:
{
rcvdatsta
:
new
Date
((
new
Date
).
getTime
()
-
(
3
*
24
*
60
*
60
*
1000
)
),
// : 起始日期
rcvdatend
:
new
Date
(
),
// : 截止日期
rcvdatsta
:
moment
(
new
Date
()).
add
(
-
3
,
'd'
).
format
(
'YYYY-MM-DD'
),
// : 起始日期
rcvdatend
:
moment
(
new
Date
()).
format
(
'YYYY-MM-DD'
),
// : 截止日期
msgtyp
:
""
,
// : 报文标准
subtyp
:
""
,
// : 报文类型
sndbak
:
""
,
// : 发报行BIC
...
...
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