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
e9f7c5b2
Commit
e9f7c5b2
authored
Oct 21, 2024
by
wangdanlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合同bug
parent
ead56ff1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
util.js
applications/architecture-dee/src/utils/util.js
+9
-4
IEDPlanTable.vue
.../workflow/task-center/newhome/components/IEDPlanTable.vue
+0
-1
No files found.
applications/architecture-dee/src/utils/util.js
View file @
e9f7c5b2
...
@@ -1621,11 +1621,16 @@ export function loadThirdJs(path) {
...
@@ -1621,11 +1621,16 @@ export function loadThirdJs(path) {
})
})
}
}
export function findByNameVnode(obj, targetName) {
export function findByNameVnode(obj, targetName, operator='EQ') {
if (obj && obj.$vnode && obj.$vnode.tag && obj.$vnode.tag.includes(targetName)) {
const tag = obj.$vnode.tag?obj.$vnode.tag.split('-')[obj.$vnode.tag.split('-').length-1]:''
return obj
if (tag) {
if (obj && obj.$vnode && obj.$vnode.tag &&(operator==='EQ'?tag===targetName:obj.$vnode.tag.includes(targetName))) {
return obj
} else {
return findByNameVnode(obj.$parent, targetName)
}
} else {
} else {
return
findByNameVnode(obj.$parent, targetName)
return
obj
}
}
}
}
...
...
applications/dee-task-center/src/views/workflow/task-center/newhome/components/IEDPlanTable.vue
View file @
e9f7c5b2
...
@@ -346,7 +346,6 @@ export default {
...
@@ -346,7 +346,6 @@ export default {
},
},
batchEdit
()
{
batchEdit
()
{
const
ids
=
this
.
selectionRow
.
map
(
r
=>
r
.
id
).
join
(
','
)
const
ids
=
this
.
selectionRow
.
map
(
r
=>
r
.
id
).
join
(
','
)
console
.
log
(
'ids'
,
ids
)
get
(
`/ExtIEDPlan/exportIEDPlan?ids=
${
ids
}
`
).
then
(
res
=>
{
get
(
`/ExtIEDPlan/exportIEDPlan?ids=
${
ids
}
`
).
then
(
res
=>
{
this
.
$utils
.
showMessageSuccess
(
'操作成功'
)
this
.
$utils
.
showMessageSuccess
(
'操作成功'
)
})
})
...
...
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