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
cd7734b2
Commit
cd7734b2
authored
May 08, 2025
by
lwy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(CQC控制计划管理):主列表按钮
parent
6a86e284
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
316 additions
and
63 deletions
+316
-63
CQCControlPlanManagement.js
src/api/CQCControlPlanManagement/CQCControlPlanManagement.js
+20
-3
cn.json
...lan/CQCControlPlan/CQCControlPlanManagement/index/cn.json
+4
-2
en.json
...lan/CQCControlPlan/CQCControlPlanManagement/index/en.json
+3
-0
history.vue
...lPlan/CQCControlPlan/CQCControlPlanManagement/history.vue
+11
-3
index.vue
...rolPlan/CQCControlPlan/CQCControlPlanManagement/index.vue
+278
-55
No files found.
src/api/CQCControlPlanManagement/CQCControlPlanManagement.js
View file @
cd7734b2
...
@@ -18,7 +18,7 @@ export function historyListPlan(query) {
...
@@ -18,7 +18,7 @@ export function historyListPlan(query) {
})
})
}
}
// 查询所有事业部名称
// 查询所有事业部名称
---改查询区的事业部和车型代码需要根据当前登录用户的事业部权限显示对应的数据
export
function
getAllBusinessUnitName
()
{
export
function
getAllBusinessUnitName
()
{
return
request
({
return
request
({
url
:
'/control/unit/list'
,
url
:
'/control/unit/list'
,
...
@@ -26,7 +26,7 @@ export function getAllBusinessUnitName() {
...
@@ -26,7 +26,7 @@ export function getAllBusinessUnitName() {
})
})
}
}
// 查询所有车型代码
// 查询所有车型代码
---改查询区的事业部和车型代码需要根据当前登录用户的事业部权限显示对应的数据
export
function
getAllvehicleModelCode
()
{
export
function
getAllvehicleModelCode
()
{
return
request
({
return
request
({
url
:
'/control/notificationManagement/getAllModelCode'
,
url
:
'/control/notificationManagement/getAllModelCode'
,
...
@@ -34,6 +34,23 @@ export function getAllvehicleModelCode() {
...
@@ -34,6 +34,23 @@ export function getAllvehicleModelCode() {
})
})
}
}
// 撤销控制计划
export
function
undoPlan
(
data
)
{
return
request
({
url
:
'/control/cqcPlan/revoke/'
,
method
:
'put'
,
data
:
data
})
}
// 获取所有人员列表
export
function
getALLUserList
()
{
return
request
({
url
:
'/system/dept/userDeptList'
,
method
:
'get'
})
}
// 查询CQC控制计划详细
// 查询CQC控制计划详细
export
function
getPlan
(
id
)
{
export
function
getPlan
(
id
)
{
return
request
({
return
request
({
...
@@ -63,7 +80,7 @@ export function updatePlan(data) {
...
@@ -63,7 +80,7 @@ export function updatePlan(data) {
// 删除CQC控制计划
// 删除CQC控制计划
export
function
delPlan
(
id
)
{
export
function
delPlan
(
id
)
{
return
request
({
return
request
({
url
:
'/
system/plan
/'
+
id
,
url
:
'/
control/cqcPlan/delete
/'
+
id
,
method
:
'delete'
method
:
'delete'
})
})
}
}
src/locales/controlPlan/CQCControlPlan/CQCControlPlanManagement/index/cn.json
View file @
cd7734b2
...
@@ -19,7 +19,9 @@
...
@@ -19,7 +19,9 @@
"productionSituation"
:
"生产情况"
,
"productionSituation"
:
"生产情况"
,
"keyPartsTaskStatus"
:
"关键零部件控制表单状态"
,
"keyPartsTaskStatus"
:
"关键零部件控制表单状态"
,
"manufacturingProcessControlTaskStatus"
:
"制造过程控制表单状态"
,
"manufacturingProcessControlTaskStatus"
:
"制造过程控制表单状态"
,
"wholeVehicleCopTaskStatus"
:
"COP试验和检查表表单状态"
,
"wholeVehicleCopTaskStatus"
:
"整车COP控制表单状态"
,
"wholeVehicleCopControl"
:
"整车COP控制"
,
"keyPartsControl"
:
"关键零部件控制"
,
"finalFileAddress"
:
"终版文件"
,
"finalFileAddress"
:
"终版文件"
,
"operation"
:
"操作"
,
"operation"
:
"操作"
,
"serialNumber"
:
"序号"
,
"serialNumber"
:
"序号"
,
...
@@ -46,7 +48,7 @@
...
@@ -46,7 +48,7 @@
"controlPlanNumberPrefix"
:
"(控制计划编号:"
,
"controlPlanNumberPrefix"
:
"(控制计划编号:"
,
"controlPlanNumberSuffix"
:
")"
,
"controlPlanNumberSuffix"
:
")"
,
"keyPartsList"
:
"关键零部件清单"
,
"keyPartsList"
:
"关键零部件清单"
,
"
keyProcessAssemblyInspectionList"
:
"关键工序、装配、检验清单
"
,
"
manufacturingProcessControl"
:
"制造过程控制
"
,
"copTestAndChecklist"
:
"COP试验和检查表"
,
"copTestAndChecklist"
:
"COP试验和检查表"
,
"compilationResponsiblePerson"
:
"编制负责人"
,
"compilationResponsiblePerson"
:
"编制负责人"
,
"manufacturingCompilationResponsiblePerson"
:
"制造编制负责人"
,
"manufacturingCompilationResponsiblePerson"
:
"制造编制负责人"
,
...
...
src/locales/controlPlan/CQCControlPlan/CQCControlPlanManagement/index/en.json
View file @
cd7734b2
...
@@ -18,9 +18,11 @@
...
@@ -18,9 +18,11 @@
"productionPlant"
:
"Production Plant"
,
"productionPlant"
:
"Production Plant"
,
"productionSituation"
:
"Production Situation"
,
"productionSituation"
:
"Production Situation"
,
"keyPartsTaskStatus"
:
"Key Parts From Status"
,
"keyPartsTaskStatus"
:
"Key Parts From Status"
,
"keyPartsControl"
:
"Key Parts Control"
,
"finalFileAddress"
:
"Final File"
,
"finalFileAddress"
:
"Final File"
,
"manufacturingProcessControlTaskStatus"
:
"Manufacturing Process Control From Status"
,
"manufacturingProcessControlTaskStatus"
:
"Manufacturing Process Control From Status"
,
"wholeVehicleCopTaskStatus"
:
"Whole Vehicle Cop From Status"
,
"wholeVehicleCopTaskStatus"
:
"Whole Vehicle Cop From Status"
,
"wholeVehicleCopControl"
:
"Whole Vehicle Cop Control"
,
"operation"
:
"Operation"
,
"operation"
:
"Operation"
,
"serialNumber"
:
"Ordinal"
,
"serialNumber"
:
"Ordinal"
,
"viewHistoricalControlPlan"
:
"View Historical Control Plan"
,
"viewHistoricalControlPlan"
:
"View Historical Control Plan"
,
...
@@ -47,6 +49,7 @@
...
@@ -47,6 +49,7 @@
"controlPlanNumberSuffix"
:
")"
,
"controlPlanNumberSuffix"
:
")"
,
"keyPartsList"
:
"Key Parts List"
,
"keyPartsList"
:
"Key Parts List"
,
"keyProcessAssemblyInspectionList"
:
"Key Process, Assembly and Inspection List"
,
"keyProcessAssemblyInspectionList"
:
"Key Process, Assembly and Inspection List"
,
"manufacturingProcessControl"
:
"Manufacturing Process Control"
,
"copTestAndChecklist"
:
"COP Test and Checklist"
,
"copTestAndChecklist"
:
"COP Test and Checklist"
,
"compilationResponsiblePerson"
:
"Compilation Responsible Person"
,
"compilationResponsiblePerson"
:
"Compilation Responsible Person"
,
"manufacturingCompilationResponsiblePerson"
:
"Manufacturing Compilation Responsible Person"
,
"manufacturingCompilationResponsiblePerson"
:
"Manufacturing Compilation Responsible Person"
,
...
...
src/views/controlPlan/CQCControlPlan/CQCControlPlanManagement/history.vue
View file @
cd7734b2
...
@@ -345,12 +345,20 @@
...
@@ -345,12 +345,20 @@
</template>
</template>
<
script
setup
>
<
script
setup
>
import
{
historyListPlan
,
getPlan
,
delPlan
,
addPlan
,
updatePlan
}
from
"@/api/CQCControlPlanManagement/CQCControlPlanManagement.js"
;
import
{
historyListPlan
,
getAllBusinessUnitName
,
delPlan
,
addPlan
,
updatePlan
,
getAllvehicleModelCode
}
from
"@/api/CQCControlPlanManagement/CQCControlPlanManagement.js"
;
import
cn
from
"@/locales/controlPlan/CQCControlPlan/CQCControlPlanManagement/index/cn.json"
;
import
cn
from
"@/locales/controlPlan/CQCControlPlan/CQCControlPlanManagement/index/cn.json"
;
import
en
from
"@/locales/controlPlan/CQCControlPlan/CQCControlPlanManagement/index/en.json"
;
import
en
from
"@/locales/controlPlan/CQCControlPlan/CQCControlPlanManagement/index/en.json"
;
import
{
ref
}
from
"vue"
;
import
{
ref
}
from
"vue"
;
const
{
proxy
}
=
getCurrentInstance
();
const
{
proxy
}
=
getCurrentInstance
();
const
{
vehicle_model_series
,
control_plan_status
}
=
proxy
.
useDict
(
'vehicle_model_series'
,
'control_plan_status'
);
const
historyList
=
ref
([]);
const
historyList
=
ref
([]);
const
businessList
=
ref
([]);
const
businessList
=
ref
([]);
...
@@ -463,7 +471,7 @@ function getAllBusinessUnit() {
...
@@ -463,7 +471,7 @@ function getAllBusinessUnit() {
}
}
/*查询所有车型代码*/
/*查询所有车型代码*/
function
get
All
VehicleModelCode
()
{
function
getVehicleModelCode
()
{
getAllvehicleModelCode
().
then
(
res
=>
{
getAllvehicleModelCode
().
then
(
res
=>
{
vehicleModelCodeList
.
value
=
res
.
data
vehicleModelCodeList
.
value
=
res
.
data
})
})
...
@@ -530,7 +538,7 @@ function handleDelete(row) {
...
@@ -530,7 +538,7 @@ function handleDelete(row) {
onMounted
(()
=>
{
onMounted
(()
=>
{
getList
()
getList
()
getAllBusinessUnit
()
getAllBusinessUnit
()
get
All
VehicleModelCode
()
getVehicleModelCode
()
})
})
</
script
>
</
script
>
...
...
src/views/controlPlan/CQCControlPlan/CQCControlPlanManagement/index.vue
View file @
cd7734b2
This diff is collapsed.
Click to expand it.
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