Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
rongtong-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
融通安全管理系统
rongtong-app
Commits
15236232
Commit
15236232
authored
Jul 07, 2023
by
胡占生
🇨🇳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 创建任务,多选增加全选
parent
543bfad3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
src/views/riskProject/add/index.vue
src/views/riskProject/add/index.vue
+13
-2
No files found.
src/views/riskProject/add/index.vue
View file @
15236232
...
...
@@ -196,6 +196,7 @@
<div
style=
"display:flex;margin-top: 44px;"
>
<van-checkbox-group
v-model=
"riskList"
ref=
"checkboxGroup"
style=
"width: 100%;font-size: 18px;"
>
<van-checkbox
...
...
@@ -207,6 +208,10 @@
>
{{
item
[
filedName
]
}}
</van-checkbox
>
</van-checkbox-group>
<div>
<van-button
type=
"primary"
@
click=
"checkAll"
>
全选
</van-button>
<van-button
type=
"info"
@
click=
"toggleAll"
>
反选
</van-button>
</div>
</div>
</van-popup>
...
...
@@ -361,6 +366,12 @@ export default {
// this.getList();
},
methods
:
{
checkAll
()
{
this
.
$refs
.
checkboxGroup
.
toggleAll
(
true
);
},
toggleAll
()
{
this
.
$refs
.
checkboxGroup
.
toggleAll
();
},
// 确定时间的方法
onConTime
(
date
)
{
console
.
log
(
...
...
@@ -393,7 +404,7 @@ export default {
loadingType
:
"
spinner
"
,
duration
:
0
});
getFun
(
`/risk/plan/user/list/
${
this
.
form
.
projec
tId
}
`
).
then
(
res
=>
{
getFun
(
`/risk/plan/user/list/
${
this
.
form
.
dep
tId
}
`
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
columnsTrouble
=
res
.
data
;
// 对数据进行赋值
...
...
@@ -453,7 +464,7 @@ export default {
loadingType
:
"
spinner
"
,
duration
:
0
});
getFun
(
`/risk/plan/user/list/
${
this
.
form
.
projec
tId
}
`
).
then
(
res
=>
{
getFun
(
`/risk/plan/user/list/
${
this
.
form
.
dep
tId
}
`
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
riskModelList
=
res
.
data
;
// 对数据进行赋值
...
...
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