Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
0af2f345
Commit
0af2f345
authored
Jun 16, 2025
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复取件记录报表操作人身份显示错误的问题
parent
e0a69496
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
15 deletions
+17
-15
portal-manager-ui/admin/src/views/dataAdmin/components/pickUp/pickUpRecord.vue
...in/src/views/dataAdmin/components/pickUp/pickUpRecord.vue
+17
-15
No files found.
portal-manager-ui/admin/src/views/dataAdmin/components/pickUp/pickUpRecord.vue
View file @
0af2f345
...
...
@@ -7,7 +7,7 @@
:loading=
"loading"
:scroll=
"
{
x: 1500,
y: 4
6
0,
y: 4
9
0,
}"
:row-selection="{
selectedRowKeys: selectedRowKeys,
...
...
@@ -40,7 +40,7 @@ const tHeader = [
"
箱号
"
,
"
联系电话
"
,
"
取件时间
"
,
"
邮递员
"
,
"
操作人身份
"
,
"
存件时间
"
,
];
// 导出的表头名信息
const
filterVal
=
[
...
...
@@ -51,9 +51,14 @@ const filterVal = [
"
boxNo
"
,
"
phone
"
,
"
update_time
"
,
"
courier
"
,
"
userType
"
,
"
create_time
"
,
];
// 导出的表头字段名,需要导出表格字段名
let
userType
=
{
1
:
"
用户
"
,
2
:
"
管理员
"
,
3
:
"
邮递员
"
,
};
export
default
{
components
:
{},
data
()
{
...
...
@@ -122,9 +127,11 @@ export default {
},
{
title
:
"
操作人身份
"
,
dataIndex
:
"
courier
"
,
dataIndex
:
"
userType
"
,
width
:
150
,
customRender
:
(
text
)
=>
text
||
"
--
"
,
customRender
:
(
text
)
=>
{
return
this
.
userType
[
text
];
},
},
{
title
:
"
存件时间
"
,
...
...
@@ -136,6 +143,7 @@ export default {
return
{
baseurl
:
process
.
env
.
VUE_APP_API_PHP_URL
,
siteId
:
storage
.
get
(
2
,
"
siteId
"
),
userType
,
columns
,
tHeader
,
filterVal
,
...
...
@@ -242,11 +250,8 @@ export default {
// 深度克隆避免影响页面表格展示
let
data
=
this
.
$_
.
cloneDeep
(
this
.
excelData
);
for
(
let
item
of
data
)
{
Object
.
keys
(
obj
).
forEach
((
key
)
=>
{
if
(
item
.
type
==
key
)
{
item
.
type
=
obj
[
key
];
}
});
item
.
type
=
obj
[
item
.
type
];
item
.
userType
=
this
.
userType
[
item
.
userType
];
}
export2Excel
(
this
.
tHeader
,
...
...
@@ -261,11 +266,8 @@ export default {
return
;
}
for
(
let
item
of
data
)
{
Object
.
keys
(
obj
).
forEach
((
key
)
=>
{
if
(
item
.
type
==
key
)
{
item
.
type
=
obj
[
key
];
}
});
item
.
type
=
obj
[
item
.
type
];
item
.
userType
=
this
.
userType
[
item
.
userType
];
}
export2Excel
(
this
.
tHeader
,
...
...
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