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
cade3992
Commit
cade3992
authored
Jul 01, 2025
by
tanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改。。。
parent
de86129b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
1 deletion
+26
-1
ExcelOperate.vue
...ws/comment-excel/components/ExcelOperate/ExcelOperate.vue
+26
-1
No files found.
src/views/comment-excel/components/ExcelOperate/ExcelOperate.vue
View file @
cade3992
...
...
@@ -68,8 +68,12 @@
{{
connectFiledStr
(
row
.
beConnectFiled
)
}}
</
template
>
</vxe-column>
<vxe-column
title=
"操作"
field=
"action"
width=
"
8
0"
>
<vxe-column
title=
"操作"
field=
"action"
width=
"
16
0"
>
<
template
#
default=
"{ row, $rowIndex }"
>
<el-link
style=
"font-size: 12px"
type=
"primary"
@
click=
"editConnect(row, $rowIndex)"
>
修改
</el-link
>
<el-divider
direction=
"vertical"
></el-divider>
<el-link
style=
"font-size: 12px"
type=
"danger"
@
click=
"delConnect(row, $rowIndex)"
>
删除
</el-link
>
...
...
@@ -302,6 +306,7 @@ import { filterRunData, getRangetxt, setRangeBackground } from '@/utils/excel'
import
type
{
VxeTableInstance
}
from
'vxe-table'
import
EditArea
from
'../EditArea/EditArea.vue'
import
{
deleteExcelProdFileConfByIds
,
getExcelProdFileConfPage
}
from
'@/api/product'
import
{
tr
}
from
'element-plus/es/locales.mjs'
const
pasteLoading
=
ref
(
false
)
const
connectVisible
=
ref
(
false
)
...
...
@@ -691,6 +696,13 @@ const confirmBeConnect = () => {
chooseVisible
.
value
=
false
connectVisible
.
value
=
true
}
const
chooseConnectOnHide
=
()
=>
{
Object
.
assign
(
currentConnectInfo
,
{
// excelAreaConnectId: '',
...
...
@@ -709,6 +721,19 @@ const delConnect = async (row: any, index: number) => {
// 手动删除
connectList
.
value
.
splice
(
index
,
1
)
}
// 初始化修改关联信息
const
editConnect
=
async
(
row
:
any
,
index
:
number
)
=>
{
console
.
log
(
row
)
// connectVisible.value = true
}
const
queryConnectList
=
async
()
=>
{
const
{
data
}
=
await
getExcelConnectByFileId
(
getFileInfo
.
value
.
orderFileId
)
connectList
.
value
=
data
.
result
...
...
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