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
9582dea4
Commit
9582dea4
authored
Oct 31, 2024
by
李少勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oftopn 交易导出功能开发
parent
3a053636
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
+18
-2
index.js
src/page/Frontend/Oftopn/event/index.js
+17
-1
Oftp13.vue
src/page/Frontend/Oftopn/views/Oftp13.vue
+1
-1
No files found.
src/page/Frontend/Oftopn/event/index.js
View file @
9582dea4
import
Api
from
"~/service/Api"
;
import
moment
from
"moment"
;
import
getSubtyp
from
'~/page/Frontend/Rcvsel/event/getSubtyp.js'
;
import
exportExcel
from
'~/page/Frontend/Rcvsel/event/exportExcel.js'
;
import
Oftopn
from
'../model'
;
import
Utils
from
"~/utils"
;
export
default
{
mixins
:
[
getSubtyp
],
mixins
:
[
getSubtyp
,
exportExcel
],
methods
:
{
async
handleSearch
()
{
let
rsptims
=
this
.
model
.
oftp
.
rel
.
rsptims
;
...
...
@@ -69,6 +70,21 @@ export default {
},
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
val
;
},
exportToExcel
()
{
let
codeKeysMap
=
{
typ
:
'kpasta'
,
sta
:
'stacd1'
,
area
:
'area'
,
offsta
:
'offsta'
,
multimsg
:
'chncod'
,
chk
:
'chncod'
,
kpatyp
:
'chncod'
,
};
let
params
=
{
...
this
.
model
.
oftp
.
rel
,
}
this
.
exportExcel
(
this
.
stmData
.
columns
,
'/frontend/oftopn/exportExcel'
,
params
,
codeKeysMap
,
'待关联报文处理'
);
}
},
};
src/page/Frontend/Oftopn/views/Oftp13.vue
View file @
9582dea4
...
...
@@ -114,7 +114,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>
...
...
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