Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web
Project
Project
Details
Activity
Releases
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
中汽测评-信息安全测评系统
web
Commits
96b3deb6
Commit
96b3deb6
authored
Mar 06, 2024
by
jiaxu.yan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into developer/yanjiaxu
parents
4d2a61bd
d843c122
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
index.vue
src/views/task/new/index.vue
+12
-3
No files found.
src/views/task/new/index.vue
View file @
96b3deb6
...
...
@@ -201,7 +201,7 @@
<el-table-column
prop=
"orderIndex"
label=
"排序"
>
<
template
slot-scope=
"scope"
>
<div
v-if=
"scope.row.isLeader !== 2"
class=
"sortable-handle"
>
{{
'拖动排序'
}}
<icon-park
type=
"sort-three"
size=
"14"
fill=
"#F9A221"
/>
</div>
</
template
>
</el-table-column>
...
...
@@ -934,11 +934,20 @@ export default {
closeOnClickModal
:
false
,
confirmButtonClass
:
'queryBtn'
}).
then
(()
=>
{
// 把当前人取消禁用
this
.
userList
.
find
(
item
=>
item
.
userId
.
toString
()
===
row
.
userId
.
toString
()
).
disabled
=
false
this
.
tableData
=
this
.
tableData
.
filter
(
item
=>
item
.
userId
!==
row
.
userId
)
// 把当前人取消禁用
this
.
userList
.
find
(
item
=>
item
.
userId
===
row
.
userId
).
disabled
=
false
this
.
tableData
=
this
.
tableData
.
map
((
item
,
index
)
=>
{
if
(
index
===
0
)
{
return
{
...
item
,
isLeader
:
1
}
}
else
{
return
{
...
item
,
isLeader
:
0
}
}
})
})
},
/**
...
...
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