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
5a114268
Commit
5a114268
authored
Apr 19, 2025
by
tanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
区域说明显示
parent
24950b9e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
+19
-2
ExcelOperate.vue
...ws/comment-excel/components/ExcelOperate/ExcelOperate.vue
+19
-2
No files found.
src/views/comment-excel/components/ExcelOperate/ExcelOperate.vue
View file @
5a114268
...
...
@@ -56,8 +56,18 @@
<div
class=
"p-2 text-sm"
>
<p
class=
"font-bold"
>
区域关联信息
</p>
<vxe-table
border
:data=
"connectList"
size=
"mini"
height=
"200"
>
<vxe-column
title=
"关联名称"
field=
"excelAreaId_dictText"
></vxe-column>
<vxe-column
title=
"别关联名称"
field=
"excelAreaBeId_dictText"
></vxe-column>
<vxe-column
title=
"关联名称"
field=
"excelAreaId_dictText"
min-width=
"100"
></vxe-column>
<vxe-column
title=
"别关联名称"
field=
"excelAreaBeId_dictText"
min-width=
"100"
></vxe-column>
<vxe-column
title=
"关联字段"
min-width=
"100"
>
<
template
#
default=
"{ row, $rowIndex }"
>
{{
connectFiledStr
(
row
.
connectFiled
)
}}
</
template
>
</vxe-column>
<vxe-column
title=
"被关联字段"
min-width=
"100"
>
<
template
#
default=
"{ row, $rowIndex }"
>
{{
connectFiledStr
(
row
.
beConnectFiled
)
}}
</
template
>
</vxe-column>
<vxe-column
title=
"操作"
field=
"action"
width=
"80"
>
<
template
#
default=
"{ row, $rowIndex }"
>
<el-link
style=
"font-size: 12px"
type=
"danger"
@
click=
"delConnect(row, $rowIndex)"
...
...
@@ -534,6 +544,13 @@ const chooseConnect = (row: any) => {
Object
.
assign
(
cachCurrentConnectInfo
,
unref
(
row
))
chooseVisible
.
value
=
true
}
const
connectFiledStr
=
(
row
:
any
)
=>
{
console
.
log
(
row
)
return
row
.
map
(
item
=>
item
.
title
).
join
(
', '
);
}
const
connectConfigData
=
ref
([])
const
beConnectSelectOptions
=
computed
(
()
=>
...
...
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