Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
32bbb6ca
authored
2025-08-19 16:18:24 +0800
by
lxs
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
入表功调整
1 parent
4db663a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
src/views/data_entry/index.vue
src/views/data_entry/index.vue
View file @
32bbb6c
...
...
@@ -926,7 +926,7 @@ const exportDetailsToExcel = async () => {
const
row
=
tableField
.
value
.
map
(
f
=>
{
if
(
f
.
field
.
indexOf
(
'name'
)
==
-
1
)
{
// 分类字段
return
changeNum
(
item
[
f
.
field
])
return
changeNum
(
item
[
f
.
field
]
,
2
,
true
)
}
else
{
// 其他字段
return
item
[
f
.
field
]
||
''
...
...
@@ -1097,7 +1097,7 @@ const exportBookToExcel = async () => {
const
row
=
bookHeaders
.
value
.
map
(
f
=>
{
if
(
f
.
field
.
indexOf
(
'title'
)
==
-
1
)
{
// 分类字段
return
changeNum
(
item
[
f
.
field
])
return
changeNum
(
item
[
f
.
field
]
,
2
,
true
)
}
else
{
// 其他字段
return
item
[
f
.
field
]
||
''
...
...
@@ -1332,7 +1332,7 @@ onUpdated(() => {
:width=
"item.width"
:align=
"item.align"
>
<
template
#
default=
"scope"
>
<span
v-if=
"item.field == 'title'"
>
{{
setLabel
(
scope
.
row
[
item
.
field
])
}}
</span>
<span
v-else
>
{{
changeNum
(
scope
.
row
[
item
.
field
],
2
)
}}
</span>
<span
v-else
>
{{
changeNum
(
scope
.
row
[
item
.
field
],
2
,
true
)
}}
</span>
</
template
>
<!-- <template v-slot:header>
<span v-html="item.label"></span>
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment