Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
W
web
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
INET-TWO
web
Commits
bb323292
Commit
bb323292
authored
Nov 12, 2024
by
ztf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
评审意见与文档的link删除
parent
852cdb2d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
index.vue
...c/privateComponents/components/selectUpdateFile/index.vue
+5
-3
No files found.
applications/dee-doc/src/privateComponents/components/selectUpdateFile/index.vue
View file @
bb323292
...
...
@@ -15,7 +15,7 @@
</
template
>
<div
v-for=
"(item) in doclinkList"
:key=
"item.id"
class=
"docInfo"
>
<span
class=
"remove"
@
click=
"removeFile(item)"
>
删除
</span>
<span
class=
"name"
@
click=
"gotoFileDetail(item
)"
>
{{ item.name }}-{{ item
.number }}
</span>
<span
class=
"name"
@
click=
"gotoFileDetail(item
.target)"
>
{{ item.target.name }}-{{ item.target
.number }}
</span>
</div>
</el-popover>
</div>
...
...
@@ -38,7 +38,7 @@
<
script
>
import
ExtReviewFeedDocumentLinkAdd
from
'../ExtReviewFeedDocumentLinkAdd/index.vue'
import
{
post
}
from
'@/utils/http'
import
{
del
,
post
}
from
'@/utils/http'
export
default
{
name
:
'SelectUpdateFile'
,
components
:
{
ExtReviewFeedDocumentLinkAdd
},
...
...
@@ -117,6 +117,8 @@ export default {
this
.
doclinkList
=
res
.
items
.
content
.
map
(
item
=>
{
return
item
.
target
})
this
.
doclinkList
=
res
.
items
.
content
console
.
log
(
'res.items.content'
,
res
.
items
.
content
)
this
.
ifAdd
=
true
console
.
log
(
' this.doclinkList'
,
this
.
doclinkList
)
}
...
...
@@ -129,7 +131,7 @@ export default {
})
},
removeFile
(
item
)
{
post
(
`/ExtReviewFeedDocumentLink/batch/
${
item
.
id
}
`
).
then
(
res
=>
{
del
(
`/ExtReviewFeedDocumentLink/batch/
${
item
.
id
}
`
).
then
(
res
=>
{
this
.
$utils
.
showMessageSuccess
(
'删除成功'
)
this
.
getDoclinkList
()
})
...
...
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