Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
topsun-baoshen-excel
Project
Project
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
何远江
topsun-baoshen-excel
Commits
7ddb81a3
Commit
7ddb81a3
authored
May 20, 2024
by
tanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加sheet页显示
parent
c85c4ed2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
ExcelOperate.vue
...ws/comment-excel/components/ExcelOperate/ExcelOperate.vue
+4
-1
OrderChange.vue
src/views/order/orderChange/OrderChange.vue
+4
-1
No files found.
src/views/comment-excel/components/ExcelOperate/ExcelOperate.vue
View file @
7ddb81a3
...
@@ -195,6 +195,9 @@
...
@@ -195,6 +195,9 @@
</div>
</div>
</template> -->
</template> -->
</vxe-column>
</vxe-column>
<vxe-column
title=
"sheet页"
width=
"120"
>
<
template
#
default=
"{ row }"
>
{{
row
[
'sheet页'
]
}}
</
template
>
</vxe-column>
<vxe-column
title=
"数据区"
width=
"120"
>
<vxe-column
title=
"数据区"
width=
"120"
>
<
template
#
default=
"{ row }"
>
{{
row
[
'数据区'
]
}}
</
template
>
<
template
#
default=
"{ row }"
>
{{
row
[
'数据区'
]
}}
</
template
>
</vxe-column>
</vxe-column>
...
@@ -706,7 +709,7 @@ const toRun = async () => {
...
@@ -706,7 +709,7 @@ const toRun = async () => {
runResultData
.
value
=
res
runResultData
.
value
=
res
runResultTitle
.
value
=
titles
.
filter
((
field
)
=>
{
runResultTitle
.
value
=
titles
.
filter
((
field
)
=>
{
return
field
!=
'sortNum'
&&
field
!=
'数据区'
return
field
!=
'sortNum'
&&
field
!=
'数据区'
&&
field
!=
'sheet页'
})
})
runResultVisible
.
value
=
true
runResultVisible
.
value
=
true
...
...
src/views/order/orderChange/OrderChange.vue
View file @
7ddb81a3
...
@@ -96,6 +96,9 @@
...
@@ -96,6 +96,9 @@
<vxe-column
title=
"行号"
width=
"120"
>
<vxe-column
title=
"行号"
width=
"120"
>
<
template
#
default=
"{ row }"
>
{{
row
.
sortNum
}}
</
template
>
<
template
#
default=
"{ row }"
>
{{
row
.
sortNum
}}
</
template
>
</vxe-column>
</vxe-column>
<vxe-column
title=
"sheet页"
width=
"120"
>
<
template
#
default=
"{ row }"
>
{{
row
[
'sheet页'
]
}}
</
template
>
</vxe-column>
<vxe-column
title=
"数据区"
width=
"120"
>
<vxe-column
title=
"数据区"
width=
"120"
>
<
template
#
default=
"{ row }"
>
{{
row
[
'数据区'
]
}}
</
template
>
<
template
#
default=
"{ row }"
>
{{
row
[
'数据区'
]
}}
</
template
>
</vxe-column>
</vxe-column>
...
@@ -427,7 +430,7 @@ const toDetail = async (row: any) => {
...
@@ -427,7 +430,7 @@ const toDetail = async (row: any) => {
configs
[
item
.
title
]
=
item
configs
[
item
.
title
]
=
item
})
})
// 排除通过循环不显示的column
// 排除通过循环不显示的column
const
excludeTitles
=
[
'sortNum'
,
'数据区'
,
'expendData'
]
const
excludeTitles
=
[
'sortNum'
,
'数据区'
,
'expendData'
,
'sheet页'
]
detailTable
.
value
=
res
detailTable
.
value
=
res
tableTitle
.
value
=
titles
.
filter
((
v
)
=>
!
excludeTitles
.
includes
(
v
))
tableTitle
.
value
=
titles
.
filter
((
v
)
=>
!
excludeTitles
.
includes
(
v
))
detailVisible
.
value
=
true
detailVisible
.
value
=
true
...
...
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