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
be4b2904
Commit
be4b2904
authored
Apr 24, 2025
by
lwy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CCAP/CQC关键零部件管理页面-修改接口
parent
be5c888f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
4 deletions
+12
-4
relation.js
src/api/CCAPCriticalParts/relation.js
+2
-3
index.vue
...olPlan/relationshipManagement/CCAPCriticalParts/index.vue
+3
-0
index.vue
...rolPlan/relationshipManagement/CQCCriticalParts/index.vue
+7
-1
No files found.
src/api/CCAPCriticalParts/relation.js
View file @
be4b2904
...
...
@@ -47,8 +47,7 @@ export function delRelation(id) {
//删除
export
function
deleteById
(
id
)
{
return
request
({
url
:
'/partsBusinessRelation/deleteById'
,
method
:
'get'
,
params
:
{
id
}
url
:
'/control/partsBusinessRelation/deleteById/'
+
id
,
method
:
'delete'
})
}
src/views/controlPlan/relationshipManagement/CCAPCriticalParts/index.vue
View file @
be4b2904
...
...
@@ -236,10 +236,12 @@ const businessUnitOptions = ref([])
const
data
=
reactive
({
form
:
{
id
:
null
,
divisionId
:
''
,
businessUnitName
:
''
,
},
queryParams
:
{
id
:
null
,
pageNum
:
1
,
pageSize
:
10
,
divisionId
:
null
,
...
...
@@ -477,6 +479,7 @@ function dialogSure(){
/** 删除按钮操作 */
const
handleDelete
=
(
row
)
=>
{
proxy
.
$modal
.
confirm
(
'是否确认删除事业部为"'
+
Object
.
values
(
row
.
divisionName
).
join
(
'、'
)
+
'"的数据项?'
).
then
(
function
()
{
console
.
log
(
"删除的行数据:"
,
row
.
id
)
return
deleteById
(
row
.
id
);
}).
then
(()
=>
{
getList
();
...
...
src/views/controlPlan/relationshipManagement/CQCCriticalParts/index.vue
View file @
be4b2904
...
...
@@ -161,7 +161,13 @@
</template>
<
script
setup
name=
"Relation"
>
import
{
listRelation
,
getRelation
,
delRelation
,
addRelation
,
updateRelation
}
from
"@/api/CCAPCriticalParts/relation.js"
;
import
{
listRelation
,
deleteById
,
listbusinessUnit
,
copyAdd
,
addBusinessUnit
}
from
"@/api/CCAPCriticalParts/relation.js"
;
import
{
getAllBusinessUnitName
}
from
"@/api/system/basicdata/businessunit.js"
;
import
cn
from
"@/locales/controlPlan/relationshipManagement/CCAPCriticalParts/cn.json"
;
import
en
from
"@/locales/controlPlan/relationshipManagement/CCAPCriticalParts/en.json"
;
...
...
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