Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qr-consistency-vue3
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
刘怀志
qr-consistency-vue3
Commits
23649205
Commit
23649205
authored
Apr 18, 2025
by
祁正
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ccap项目管理-复制新增
parent
fcada8e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
index.vue
src/views/controlPlan/baseConfig/ccapProjectManage/index.vue
+10
-3
No files found.
src/views/controlPlan/baseConfig/ccapProjectManage/index.vue
View file @
23649205
...
@@ -273,8 +273,12 @@ const groupList = ref([
...
@@ -273,8 +273,12 @@ const groupList = ref([
function
getList
()
{
function
getList
()
{
getDataList
(
queryParams
.
value
).
then
(
res
=>
{
getDataList
(
queryParams
.
value
).
then
(
res
=>
{
tableList
.
value
=
res
.
rows
.
sort
((
a
,
b
)
=>
{
tableList
.
value
=
res
.
rows
.
sort
((
a
,
b
)
=>
{
if
(
a
.
id
===
adminId
)
return
1
if
(
a
.
id
===
adminId
&&
b
.
id
!==
adminId
)
{
else
if
(
b
.
id
===
adminId
)
return
1
return
-
1
;
}
else
if
(
a
.
id
!==
adminId
&&
b
.
id
===
adminId
)
{
return
1
;
}
return
0
;
});
});
total
.
value
=
res
.
total
;
total
.
value
=
res
.
total
;
});
});
...
@@ -471,7 +475,10 @@ function dialog2Sure(){
...
@@ -471,7 +475,10 @@ function dialog2Sure(){
}
else
{
}
else
{
//复制新增
//复制新增
coypAddCcapManager
(
tableDialogForm
.
value
).
then
(
res
=>
{
coypAddCcapManager
(
tableDialogForm
.
value
).
then
(
res
=>
{
console
.
log
(
res
)
if
(
res
.
code
===
200
){
ElMessage
.
success
(
"复制成功"
)
dialog2Cancel
()
}
})
})
}
}
...
...
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