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
d704e7b7
Commit
d704e7b7
authored
Oct 29, 2024
by
李少勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导出excel联调
parent
fcf70036
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
42 additions
and
45 deletions
+42
-45
index.js
src/page/Frontend/Msgrtm/event/index.js
+13
-10
Schpnl.vue
src/page/Frontend/Msgrtm/views/Schpnl.vue
+2
-2
Msgpnl.vue
src/page/Frontend/Msgsel/views/Msgpnl.vue
+1
-1
index.js
src/page/Frontend/Msgsep/event/index.js
+13
-10
Mainp.vue
src/page/Frontend/Msgsep/views/Mainp.vue
+2
-2
index.js
src/page/Frontend/Rcvsel/event/index.js
+0
-9
Schpnl.vue
src/page/Frontend/Rcvsel/views/Schpnl.vue
+1
-1
index.js
src/page/Frontend/Rcvselblk/event/index.js
+1
-1
Schpnl.vue
src/page/Frontend/Rcvselblk/views/Schpnl.vue
+2
-2
Schpnl.vue
src/page/Frontend/Rcvselcop/views/Schpnl.vue
+1
-1
index.js
src/page/Frontend/Sndsel/event/index.js
+1
-1
Schpnl.vue
src/page/Frontend/Sndsel/views/Schpnl.vue
+2
-2
index.js
src/page/Frontend/Sndselcop/event/index.js
+1
-1
Schpnl.vue
src/page/Frontend/Sndselcop/views/Schpnl.vue
+2
-2
No files found.
src/page/Frontend/Msgrtm/event/index.js
View file @
d704e7b7
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
Msgrtm
from
"../model"
;
import
Utils
from
"~/utils"
;
export
default
{
mixins
:
[
getSubtyp
],
mixins
:
[
getSubtyp
,
exportExcel
],
methods
:
{
async
handleSearch
()
{
let
rcvdatsta
=
this
.
model
.
sndp
.
rcvdatsta
;
...
...
@@ -36,15 +37,6 @@ export default {
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
,
...
...
@@ -77,6 +69,17 @@ export default {
},
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
val
;
},
exportToExcel
()
{
let
codeKeysMap
=
{
sta
:
'stacod'
};
let
params
=
{
...
this
.
model
.
sndp
,
dir
:
">"
,
querytyp
:
"rtm"
,
};
this
.
exportExcel
(
this
.
stmData
.
columns
,
'/frontend/msgsel/exportExcel'
,
params
,
codeKeysMap
,
'人工清分'
);
}
},
};
src/page/Frontend/Msgrtm/views/Schpnl.vue
View file @
d704e7b7
...
...
@@ -120,7 +120,7 @@
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"处理状态"
prop=
"sta"
style=
"width: 100%"
>
<c-select
v-model=
"model.sndp.sta"
style=
"width: 100%"
placeholder=
"请选择处理状态"
:code=
"codes.sta
1
"
>
<c-select
v-model=
"model.sndp.sta"
style=
"width: 100%"
placeholder=
"请选择处理状态"
:code=
"codes.sta
cod
"
>
</c-select>
</el-form-item>
</c-col>
...
...
@@ -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/Msgsel/views/Msgpnl.vue
View file @
d704e7b7
...
...
@@ -97,7 +97,7 @@
<c-col
:span=
"24"
>
<c-col
:span=
"8"
>
<el-form-item
label=
"处理状态"
prop=
""
style=
"width: 100%"
>
<c-select
:code=
"codes.sta
1
"
:filterKey=
"['V']"
disabled
v-model=
"model.sndp.sta"
<c-select
:code=
"codes.sta
cod
"
:filterKey=
"['V']"
disabled
v-model=
"model.sndp.sta"
style=
"width: 100%"
/>
</el-form-item>
</c-col>
...
...
src/page/Frontend/Msgsep/event/index.js
View file @
d704e7b7
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
Msgsep
from
"../model"
;
import
Utils
from
"~/utils"
;
export
default
{
mixins
:
[
getSubtyp
],
mixins
:
[
getSubtyp
,
exportExcel
],
methods
:
{
async
handleSearch
()
{
let
rcvdatsta
=
this
.
model
.
sndp
.
rcvdatsta
;
...
...
@@ -36,15 +37,6 @@ export default {
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
,
...
...
@@ -77,6 +69,17 @@ export default {
},
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
val
;
},
exportToExcel
()
{
let
codeKeysMap
=
{
sta
:
'stacod'
};
let
params
=
{
...
this
.
model
.
sndp
,
dir
:
"<"
,
querytyp
:
"sep"
,
};
this
.
exportExcel
(
this
.
stmData
.
columns
,
'/frontend/msgsel/exportExcel'
,
params
,
codeKeysMap
,
'报文失败处理'
);
}
},
};
src/page/Frontend/Msgsep/views/Mainp.vue
View file @
d704e7b7
...
...
@@ -120,7 +120,7 @@
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"处理状态"
prop=
"sndp.sta"
style=
"width: 100%"
>
<c-select
v-model=
"model.sndp.sta"
style=
"width: 100%"
placeholder=
"请选择处理状态"
:code=
"codes.sta
1
"
>
<c-select
v-model=
"model.sndp.sta"
style=
"width: 100%"
placeholder=
"请选择处理状态"
:code=
"codes.sta
cod
"
>
</c-select>
</el-form-item>
</c-col>
...
...
@@ -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/Rcvsel/event/index.js
View file @
d704e7b7
...
...
@@ -37,15 +37,6 @@ export default {
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
,
...
...
src/page/Frontend/Rcvsel/views/Schpnl.vue
View file @
d704e7b7
...
...
@@ -127,7 +127,7 @@
<c-col
:span=
"8"
>
<el-form-item
label=
"处理状态"
prop=
"sta"
style=
"width: 100%"
>
<c-select
v-model=
"model.rcvp.sta"
style=
"width: 100%"
placeholder=
"请选择处理状态"
:code=
"codes.sta
1
"
>
:code=
"codes.sta
cod
"
>
</c-select>
</el-form-item>
</c-col>
...
...
src/page/Frontend/Rcvselblk/event/index.js
View file @
d704e7b7
...
...
@@ -72,7 +72,7 @@ export default {
},
exportToExcel
()
{
let
codeKeysMap
=
{
sta
:
'sta
1
'
sta
:
'sta
cod
'
};
let
params
=
{
...
this
.
model
.
rcvp
,
...
...
src/page/Frontend/Rcvselblk/views/Schpnl.vue
View file @
d704e7b7
...
...
@@ -127,7 +127,7 @@
<c-col
:span=
"8"
>
<el-form-item
label=
"处理状态"
prop=
"sta"
style=
"width: 100%"
>
<c-select
v-model=
"model.rcvp.sta"
style=
"width: 100%"
placeholder=
"请选择处理状态"
:code=
"codes.sta
1
"
>
:code=
"codes.sta
cod
"
>
</c-select>
</el-form-item>
</c-col>
...
...
@@ -166,7 +166,7 @@
<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.sta
1
"
></c-select-value-to-label>
<c-select-value-to-label
v-if=
"item.prop == 'sta'"
v-model=
"scope.row.sta"
:code=
"codes.sta
cod
"
></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
>
...
...
src/page/Frontend/Rcvselcop/views/Schpnl.vue
View file @
d704e7b7
...
...
@@ -127,7 +127,7 @@
<c-col
:span=
"8"
>
<el-form-item
label=
"处理状态"
prop=
"sta"
style=
"width: 100%"
>
<c-select
v-model=
"model.rcvp.sta"
style=
"width: 100%"
placeholder=
"请选择处理状态"
:code=
"codes.sta
1
"
>
:code=
"codes.sta
cod
"
>
</c-select>
</el-form-item>
</c-col>
...
...
src/page/Frontend/Sndsel/event/index.js
View file @
d704e7b7
...
...
@@ -72,7 +72,7 @@ export default {
},
exportToExcel
()
{
let
codeKeysMap
=
{
sta
:
'sta
1
'
sta
:
'sta
cod
'
};
let
params
=
{
...
this
.
model
.
sndp
,
...
...
src/page/Frontend/Sndsel/views/Schpnl.vue
View file @
d704e7b7
...
...
@@ -120,7 +120,7 @@
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"处理状态"
prop=
"sta"
style=
"width: 100%"
>
<c-select
v-model=
"model.sndp.sta"
style=
"width: 100%"
placeholder=
"请选择处理状态"
:code=
"codes.sta
1
"
>
<c-select
v-model=
"model.sndp.sta"
style=
"width: 100%"
placeholder=
"请选择处理状态"
:code=
"codes.sta
cod
"
>
</c-select>
</el-form-item>
</c-col>
...
...
@@ -157,7 +157,7 @@
<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.sta
1
"
></c-select-value-to-label>
<c-select-value-to-label
v-if=
"item.prop == 'sta'"
v-model=
"scope.row.sta"
:code=
"codes.sta
cod
"
></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
>
...
...
src/page/Frontend/Sndselcop/event/index.js
View file @
d704e7b7
...
...
@@ -73,7 +73,7 @@ export default {
},
exportToExcel
()
{
let
codeKeysMap
=
{
sta
:
'sta
1
'
sta
:
'sta
cod
'
};
let
params
=
{
...
this
.
model
.
sndp
,
...
...
src/page/Frontend/Sndselcop/views/Schpnl.vue
View file @
d704e7b7
...
...
@@ -119,7 +119,7 @@
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"处理状态"
prop=
"sta"
style=
"width: 100%"
>
<c-select
v-model=
"model.sndp.sta"
style=
"width: 100%"
placeholder=
"请选择处理状态"
:code=
"codes.sta
1
"
>
<c-select
v-model=
"model.sndp.sta"
style=
"width: 100%"
placeholder=
"请选择处理状态"
:code=
"codes.sta
cod
"
>
</c-select>
</el-form-item>
</c-col>
...
...
@@ -156,7 +156,7 @@
<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.sta
1
"
></c-select-value-to-label>
<c-select-value-to-label
v-if=
"item.prop == 'sta'"
v-model=
"scope.row.sta"
:code=
"codes.sta
cod
"
></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
>
...
...
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