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
10eca039
Commit
10eca039
authored
Apr 18, 2025
by
祁正
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ccap项目管理-复制新增
parent
d0fca11e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
22 deletions
+21
-22
index.vue
src/views/controlPlan/baseConfig/ccapProjectManage/index.vue
+21
-22
No files found.
src/views/controlPlan/baseConfig/ccapProjectManage/index.vue
View file @
10eca039
...
@@ -321,7 +321,7 @@ function addBusiness(row){
...
@@ -321,7 +321,7 @@ function addBusiness(row){
tableDialogTitle
.
value
=
'添加事业部'
tableDialogTitle
.
value
=
'添加事业部'
tableDialogVisible
.
value
=
true
tableDialogVisible
.
value
=
true
tableDialogForm
.
value
.
id
=
row
.
id
tableDialogForm
.
value
.
id
=
row
.
id
//
getBusinessListExclude();
getBusinessListExclude
();
}
}
//获取所有事业部(除了奇瑞,除了列表里面的出现的)
//获取所有事业部(除了奇瑞,除了列表里面的出现的)
function
getBusinessListExclude
(){
function
getBusinessListExclude
(){
...
@@ -463,27 +463,26 @@ function cancelClick() {
...
@@ -463,27 +463,26 @@ function cancelClick() {
//添加事业部等对话框确定按钮
//添加事业部等对话框确定按钮
function
dialog2Sure
(){
function
dialog2Sure
(){
dialogForm2
.
value
.
validate
((
v
)
=>
{
dialogForm2
.
value
.
validate
((
v
)
=>
{
//
if
(
v
){
// if (v){
console
.
log
(
tableDialogForm
.
value
)
// console.log(tableDialogForm.value)
if
(
tableDialogTitle
.
value
===
"添加事业部"
){
// if(tableDialogTitle.value === "添加事业部"){
addBusinessUnit
(
tableDialogForm
.
value
).
then
(
res
=>
{
// addBusinessUnit(tableDialogForm.value).then(res=>{
if
(
res
.
code
===
200
){
// if(res.code === 200){
ElMessage
.
success
(
"添加成功"
)
// ElMessage.success("添加成功")
dialog2Cancel
()
// dialog2Cancel()
}
// }
})
// })
}
else
{
// }else{
//复制新增
// //复制新增
coypAddCcapManager
(
tableDialogForm
.
value
).
then
(
res
=>
{
// coypAddCcapManager(tableDialogForm.value).then(res=>{
if
(
res
.
code
===
200
){
// if(res.code === 200){
ElMessage
.
success
(
"复制成功"
)
// ElMessage.success("复制成功")
dialog2Cancel
()
// 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