Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
8f3625b2
authored
2022-12-21 15:49:24 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:首页待办事项
1 parent
188c6259
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
src/views/home/components/addProject.vue
src/views/workflow/mixin/public.js
src/views/home/components/addProject.vue
View file @
8f3625b
...
...
@@ -78,7 +78,6 @@ export default {
return
arr
}
this
.
defaultCheckeds
=
lookForAllId
()
console
.
log
(
this
.
defaultCheckeds
,
'that.defaultCheckedsthat.defaultCheckedsthat.defaultCheckeds'
);
},
dealCheckedItem
()
{
},
...
...
@@ -89,12 +88,15 @@ export default {
//节点选择状态发生改变时
handleClick
(
data
,
checked
,
node
)
{
var
checkedNodes
=
this
.
$refs
.
tree
.
getCheckedNodes
();
if
(
checked
)
{
checkedNodes
.
push
(
data
);
if
(
checkedNodes
.
length
>
6
)
{
this
.
$message
({
message
:
'最后选择6条数据'
,
type
:
'warning'
,
customClass
:
'messageIndex'
})
this
.
$refs
.
tree
.
setChecked
(
data
,
false
)
// 取消当前节点的选中状态
}
}
this
.
$refs
.
tree
.
setCheckedNodes
(
checkedNodes
);
console
.
log
(
this
.
$refs
.
tree
.
getCheckedNodes
());
},
}
}
</
script
>
...
...
src/views/workflow/mixin/public.js
View file @
8f3625b
...
...
@@ -12,7 +12,6 @@ export default {
mounted
()
{
let
that
=
this
window
.
addEventListener
(
'message'
,
function
(
messageEvent
)
{
console
.
log
(
23333333333333333
);
that
.
getHomeNotice
()
},
false
)
},
...
...
Please
register
or
sign in
to post a comment