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
dd0c4567
Commit
dd0c4567
authored
Oct 29, 2024
by
李少勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导出功能调整
parent
b4cf66eb
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
27 additions
and
6 deletions
+27
-6
index.js
src/page/Frontend/Rcvselcop/event/index.js
+8
-1
Schpnl.vue
src/page/Frontend/Rcvselcop/views/Schpnl.vue
+1
-1
index.js
src/page/Frontend/Sndsel/event/index.js
+8
-1
Schpnl.vue
src/page/Frontend/Sndsel/views/Schpnl.vue
+1
-1
index.js
src/page/Frontend/Sndselcop/event/index.js
+8
-1
Schpnl.vue
src/page/Frontend/Sndselcop/views/Schpnl.vue
+1
-1
No files found.
src/page/Frontend/Rcvselcop/event/index.js
View file @
dd0c4567
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
;
...
...
@@ -77,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/Rcvselcop/views/Schpnl.vue
View file @
dd0c4567
...
...
@@ -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/Sndsel/event/index.js
View file @
dd0c4567
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
Sndsel
from
"../model"
;
import
Utils
from
"~/utils"
;
export
default
{
mixins
:
[
getSubtyp
],
mixins
:
[
getSubtyp
,
exportExcel
],
methods
:
{
async
handleSearch
()
{
let
rcvdatsta
=
this
.
model
.
sndp
.
rcvdatsta
;
...
...
@@ -77,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/Sndsel/views/Schpnl.vue
View file @
dd0c4567
...
...
@@ -136,7 +136,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/Sndselcop/event/index.js
View file @
dd0c4567
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
Sndsel
from
"../model"
;
import
Utils
from
"~/utils"
;
export
default
{
mixins
:
[
getSubtyp
],
mixins
:
[
getSubtyp
,
exportExcel
],
methods
:
{
async
handleSearch
()
{
let
rcvdatsta
=
this
.
model
.
sndp
.
rcvdatsta
;
...
...
@@ -78,6 +79,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/Sndselcop/views/Schpnl.vue
View file @
dd0c4567
...
...
@@ -135,7 +135,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