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
c12534a8
Commit
c12534a8
authored
Apr 25, 2025
by
lwy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CCAP内容维护页面
parent
f2ec6ab5
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
717 additions
and
138 deletions
+717
-138
maintainContent.js
src/api/RelationManagement/maintainContent.js
+1
-0
relation.js
src/api/RelationManagement/relation.js
+9
-0
newAnnouncementVersion.vue
...carConsistency/filingParameter/newAnnouncementVersion.vue
+0
-36
CCAPMaintainContent.vue
...nshipManagement/CCAPCriticalParts/CCAPMaintainContent.vue
+539
-6
index.vue
...olPlan/relationshipManagement/CCAPCriticalParts/index.vue
+11
-20
index.vue
...rolPlan/relationshipManagement/CQCCriticalParts/index.vue
+156
-75
index.vue
src/views/system/user/index.vue
+1
-1
No files found.
src/api/RelationManagement/maintainContent.js
0 → 100644
View file @
c12534a8
import
request
from
'@/utils/request'
src/api/
CCAPCriticalParts
/relation.js
→
src/api/
RelationManagement
/relation.js
View file @
c12534a8
...
...
@@ -9,6 +9,15 @@ export function listRelation(query) {
})
}
// 查询关键零部件和事业部关系列表
export
function
getPartsList
(
query
)
{
return
request
({
url
:
'/control/partsBusinessRelation/partsList'
,
method
:
'get'
,
params
:
query
})
}
//获取事业部下拉列表
export
function
listbusinessUnit
(
query
)
{
return
request
({
...
...
src/views/carConsistency/filingParameter/newAnnouncementVersion.vue
View file @
c12534a8
...
...
@@ -213,43 +213,7 @@
@
pagination=
"getList"
/>
<!-- 添加事业部·复制新增的 对话框-->
<el-dialog
top=
"30"
v-model=
"tableDialogVisible"
:title=
"tableDialogTitle"
width=
"500"
>
<div
style=
"width: 70%;margin-left: 15%;padding: 20px 0"
>
<el-form
:model=
"tableDialogForm"
ref=
"dialogForm2"
>
<el-form-item
:rules=
"[
{ required: true, message: '请选择事业部', trigger: 'blur' }
]"
label=
"事业部:"
prop=
"businessId"
>
<el-select
v-model=
"tableDialogForm.businessId"
placeholder=
"请选择"
clearable
>
<el-option
v-for=
"dict in businessListExclude"
:label=
"dict.businessUnitName"
:value=
"dict.id"
/>
</el-select>
</el-form-item>
</el-form>
</div>
<
template
#
footer
>
<div
class=
"dialog-footer"
>
<el-button
class=
"btn-B"
@
click=
"dialog2Cancel"
>
取消
</el-button>
<el-button
class=
"btn-A"
type=
"primary"
@
click=
"dialog2Sure"
>
确定
</el-button>
</div>
</
template
>
</el-dialog>
</template>
...
...
src/views/controlPlan/relationshipManagement/CCAPCriticalParts/CCAPMaintainContent.vue
View file @
c12534a8
This diff is collapsed.
Click to expand it.
src/views/controlPlan/relationshipManagement/CCAPCriticalParts/index.vue
View file @
c12534a8
...
...
@@ -191,7 +191,7 @@ import {
listbusinessUnit
,
copyAdd
,
addBusinessUnit
}
from
"@/api/
CCAPCriticalParts
/relation.js"
;
}
from
"@/api/
RelationManagement
/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"
;
...
...
@@ -200,6 +200,7 @@ import { useRouter } from 'vue-router';
import
{
ElMessage
}
from
"element-plus"
;
const
{
proxy
}
=
getCurrentInstance
();
// 对话框
const
tableDialogVisible
=
ref
(
false
)
...
...
@@ -210,7 +211,6 @@ const tableDialogForm = ref({
id
:
null
,
//类型(0-复制新增,1-添加事业部)
type
:
null
,
//认证机构(0-CCAP,1-CQC)
certificationBody
:
"CCAP"
,
//事业部id,
divisionId
:
null
,
...
...
@@ -348,20 +348,19 @@ function handleBusinessSelect(selectedId) {
}
// 维护模板内容
function
handleMaintainContentView
(
row
)
{
proxy
.
$router
.
push
({
path
:
'CCAPMaintainContent'
path
:
'/control/relationshipManagement/CCAPMaintainContent'
,
query
:
{
businessRelationId
:
row
.
id
,
certificationBody
:
row
.
certificationBody
,
divisionName
:
row
.
divisionName
,
updateName
:
row
.
updateName
,
isDefault
:
row
.
isDefault
}
})}
/** 新增按钮操作 */
function
handleAdd
()
{
reset
();
open
.
value
=
true
;
title
.
value
=
"添加关键零部件和事业部关系"
;
}
//复制新增按钮
function
handleCopyAdd
(
row
){
...
...
@@ -486,15 +485,7 @@ const handleDelete = (row) => {
proxy
.
$modal
.
msgSuccess
(
"删除成功"
);
}).
catch
(()
=>
{});
}
/*function handleDelete(row) {
const _ids = row.id || ids.value;
proxy.$modal.confirm('是否确认删除?').then(function() {
return deleteById(_ids);
}).then(() => {
getList();
proxy.$modal.msgSuccess("删除成功");
}).catch(() => {});
}*/
onMounted
(()
=>
{
getBusinessUnitList
()
...
...
src/views/controlPlan/relationshipManagement/CQCCriticalParts/index.vue
View file @
c12534a8
This diff is collapsed.
Click to expand it.
src/views/system/user/index.vue
View file @
c12534a8
...
...
@@ -644,7 +644,7 @@ function openFactoryDialog(row) {
// 监听选中的工厂变化,更新表单数据
watch
(
selectedFactories
,
(
newVal
)
=>
{
form
.
value
.
factoryName
=
JSON
.
stringify
(
newVal
);
// 存储为 JSON 字符串
form
.
value
.
factoryName
s
=
JSON
.
stringify
(
newVal
);
// 存储为 JSON 字符串
},
{
deep
:
true
});
...
...
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