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
719e9bdc
Commit
719e9bdc
authored
May 12, 2025
by
qiyaxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(历史控制计划):列表修改
parent
a78b528f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
82 additions
and
38 deletions
+82
-38
cn.json
...CCAPControlPlan/CCAPControlPlanManagement/history/cn.json
+5
-4
en.json
...CCAPControlPlan/CCAPControlPlanManagement/history/en.json
+5
-4
history.vue
...lan/CCAPControlPlan/CCAPControlPlanManagement/history.vue
+72
-30
No files found.
src/locales/controlPlan/CCAPControlPlan/CCAPControlPlanManagement/history/cn.json
View file @
719e9bdc
...
...
@@ -12,17 +12,18 @@
"controlPlanStatus"
:
"控制计划状态"
,
"controlPlanNumber"
:
"控制计划编号"
,
"productionAddress"
:
"生产地址"
,
"
compilationDeadline"
:
"编制
截止日期"
,
"
deadline"
:
"
截止日期"
,
"revisionDate"
:
"修订日期"
,
"creationDate"
:
"创建日期"
,
"productionPlant"
:
"生产厂"
,
"productionSituation"
:
"生产情况"
,
"keyPartsList
FormStatus"
:
"关键件清单表单状态
"
,
"keyProcess
FormStatus"
:
"关键工序……表单状态
"
,
"COPTestAndChecklist
FormStatus"
:
"COP试验和检查表表单状态
"
,
"keyPartsList
"
:
"关键件清单
"
,
"keyProcess
"
:
"关键工序
"
,
"COPTestAndChecklist
"
:
"COP试验和检查表
"
,
"operation"
:
"操作"
,
"serialNumber"
:
"序号"
,
"viewHistoricalControlPlan"
:
"查看历史控制计划"
,
"viewFile"
:
"查看文件"
,
"view"
:
"查看"
,
"revoke"
:
"撤销"
,
"adjustCompilationResponsiblePerson"
:
"调整编制负责人"
,
...
...
src/locales/controlPlan/CCAPControlPlan/CCAPControlPlanManagement/history/en.json
View file @
719e9bdc
...
...
@@ -12,17 +12,18 @@
"controlPlanStatus"
:
"Control Plan Status"
,
"controlPlanNumber"
:
"Control Plan Number"
,
"productionAddress"
:
"Production Address"
,
"
compilationDeadline"
:
"Compilation
Deadline"
,
"
deadline"
:
"
Deadline"
,
"revisionDate"
:
"Revision Date"
,
"creationDate"
:
"Creation Date"
,
"productionPlant"
:
"Production Plant"
,
"productionSituation"
:
"Production Situation"
,
"keyPartsList
FormStatus"
:
"Key Parts List Form Status
"
,
"keyProcess
FormStatus"
:
"Key Process...Form Statu
s"
,
"COPTestAndChecklist
FormStatus"
:
"COP Test and Checklist Form Status
"
,
"keyPartsList
"
:
"Key Parts List
"
,
"keyProcess
"
:
"Key Proces
s"
,
"COPTestAndChecklist
"
:
"COP Test and Checklist
"
,
"operation"
:
"Operation"
,
"serialNumber"
:
"Ordinal"
,
"viewHistoricalControlPlan"
:
"View Historical Control Plan"
,
"viewFile"
:
"View File"
,
"view"
:
"View"
,
"revoke"
:
"Revoke"
,
"adjustCompilationResponsiblePerson"
:
"Adjust Compilation Responsible Person"
,
...
...
src/views/controlPlan/CCAPControlPlan/CCAPControlPlanManagement/history.vue
View file @
719e9bdc
...
...
@@ -204,7 +204,7 @@
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"事业部"
width=
"150"
align=
"center"
prop=
"businessUnit
Name
"
>
<el-table-column
label=
"事业部"
width=
"150"
align=
"center"
prop=
"businessUnit
Id
"
>
<
template
#
header
>
<div
style=
"display: flex;flex-direction: column"
>
<div>
{{
cn
.
businessDivision
}}
</div>
...
...
@@ -212,7 +212,7 @@
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"车型代码"
width=
"150"
align=
"center"
prop=
"vehicle
Type
Code"
>
<el-table-column
label=
"车型代码"
width=
"150"
align=
"center"
prop=
"vehicle
Model
Code"
>
<
template
#
header
>
<div
style=
"display: flex;flex-direction: column"
>
<div>
{{
cn
.
vehicleTypeCode
}}
</div>
...
...
@@ -220,7 +220,7 @@
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"车型系列"
width=
"150"
align=
"center"
prop=
"vehicle
Type
Series"
>
<el-table-column
label=
"车型系列"
width=
"150"
align=
"center"
prop=
"vehicleSeries"
>
<
template
#
header
>
<div
style=
"display: flex;flex-direction: column"
>
<div>
{{
cn
.
vehicleTypeSeries
}}
</div>
...
...
@@ -244,14 +244,6 @@
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"编制截止日期"
width=
"170"
align=
"center"
prop=
"compilationDeadline"
>
<
template
#
header
>
<div
style=
"display: flex;flex-direction: column"
>
<div>
{{
cn
.
compilationDeadline
}}
</div>
<div>
{{
en
.
compilationDeadline
}}
</div>
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"创建人"
width=
"170"
align=
"center"
prop=
"createBy"
>
<
template
#
header
>
<div
style=
"display: flex;flex-direction: column"
>
...
...
@@ -268,14 +260,6 @@
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"创建日期"
width=
"170"
align=
"center"
prop=
"createTime"
>
<
template
#
header
>
<div
style=
"display: flex;flex-direction: column"
>
<div>
{{
cn
.
creationDate
}}
</div>
<div>
{{
en
.
creationDate
}}
</div>
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"生产厂"
width=
"170"
align=
"center"
prop=
"productionFactory"
>
<
template
#
header
>
<div
style=
"display: flex;flex-direction: column"
>
...
...
@@ -292,31 +276,74 @@
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"关键件清单表单状态"
fixed=
"right"
width=
"190"
align=
"center"
prop=
"keyPartsListTaskStatus"
>
<el-table-column
label=
"创建日期"
width=
"170"
align=
"center"
prop=
"createTime"
>
<
template
#
header
>
<div
style=
"display: flex;flex-direction: column"
>
<div>
{{
cn
.
creationDate
}}
</div>
<div>
{{
en
.
creationDate
}}
</div>
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"截止日期"
width=
"170"
align=
"center"
prop=
"deadline"
>
<
template
#
header
>
<div
style=
"display: flex;flex-direction: column"
>
<div>
{{
cn
.
deadline
}}
</div>
<div>
{{
en
.
deadline
}}
</div>
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"关键件清单"
fixed=
"right"
width=
"120"
align=
"center"
prop=
""
>
<
template
#
header
>
<div
style=
"display: flex;flex-direction: column"
>
<div>
{{
cn
.
keyPartsList
FormStatus
}}
</div>
<div>
{{
en
.
keyPartsList
FormStatus
}}
</div>
<div>
{{
cn
.
keyPartsList
}}
</div>
<div>
{{
en
.
keyPartsList
}}
</div>
</div>
</
template
>
<
template
#
default=
"scope"
>
<!-- 查看文件-->
<el-button
link
type=
"primary"
@
click=
"handleView(scope.row)"
>
<div>
<div>
{{
cn
.
viewFile
}}
</div>
<div>
{{
en
.
viewFile
}}
</div>
</div>
</el-button>
</
template
>
</el-table-column>
<el-table-column
label=
"关键工序
……表单状态"
fixed=
"right"
width=
"190"
align=
"center"
prop=
"keyProcessTaskStatus
"
>
<el-table-column
label=
"关键工序
"
fixed=
"right"
width=
"120"
align=
"center"
prop=
"
"
>
<
template
#
header
>
<div
style=
"display: flex;flex-direction: column"
>
<div>
{{
cn
.
keyProcessFormStatus
}}
</div>
<div>
{{
en
.
keyProcessFormStatus
}}
</div>
<div>
{{
cn
.
keyProcess
}}
</div>
<div>
{{
en
.
keyProcess
}}
</div>
</div>
</
template
>
<
template
#
default=
"scope"
>
<!-- 查看文件-->
<el-button
link
type=
"primary"
@
click=
"handleView(scope.row)"
>
<div>
<div>
{{
cn
.
viewFile
}}
</div>
<div>
{{
en
.
viewFile
}}
</div>
</div>
</el-button>
</
template
>
</el-table-column>
<el-table-column
label=
"COP试验和检查表
表单状态"
fixed=
"right"
width=
"250"
align=
"center"
prop=
"copTestAndInspectionTaskStatus
"
>
<el-table-column
label=
"COP试验和检查表
"
fixed=
"right"
width=
"120"
align=
"center"
prop=
"
"
>
<
template
#
header
>
<div
style=
"display: flex;flex-direction: column"
>
<div>
{{
cn
.
COPTestAndChecklistFormStatus
}}
</div>
<div>
{{
en
.
COPTestAndChecklistFormStatus
}}
</div>
<div>
{{
cn
.
COPTestAndChecklist
}}
</div>
<div>
{{
en
.
COPTestAndChecklist
}}
</div>
</div>
</
template
>
<
template
#
default=
"scope"
>
<!-- 查看文件-->
<el-button
link
type=
"primary"
@
click=
"handleView(scope.row)"
>
<div>
<div>
{{
cn
.
viewFile
}}
</div>
<div>
{{
en
.
viewFile
}}
</div>
</div>
</el-button>
</
template
>
</el-table-column>
<el-table-column
label=
"控制计划状态"
fixed=
"right"
width=
"1
5
0"
align=
"center"
prop=
"controlPlanStatus"
>
<el-table-column
label=
"控制计划状态"
fixed=
"right"
width=
"1
2
0"
align=
"center"
prop=
"controlPlanStatus"
>
<
template
#
header
>
<div
style=
"display: flex;flex-direction: column"
>
<div>
{{
cn
.
controlPlanStatus
}}
</div>
...
...
@@ -324,7 +351,7 @@
</div>
</
template
>
<
template
#
default=
"scope"
>
<
span
:class=
"getStatusClass(changeControlPlanStatus(scope.row.controlPlanStatus))"
>
{{
changeControlPlanStatus
(
scope
.
row
.
controlPlanStatus
)
}}
</span
>
<
dict-tag
:options=
"control_plan_status"
:value=
"scope.row.controlPlanStatus"
/
>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
fixed=
"right"
align=
"center"
class-name=
"small-padding fixed-width"
>
...
...
@@ -334,6 +361,14 @@
<div>
{{
en
.
operation
}}
</div>
</div>
</
template
>
<
template
#
default=
"scope"
>
<el-button
link
type=
"primary"
@
click=
"handleView(scope.row)"
>
<div>
<div>
{{
cn
.
view
}}
</div>
<div>
{{
en
.
view
}}
</div>
</div>
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -374,6 +409,7 @@ const queryParams = ref({
vehicleSeries
:
null
,
productionAddress
:
null
,
versionNumber
:
null
,
createBy
:
null
,
productionFactory
:
null
});
// 版本号 A0 - Z9
...
...
@@ -404,6 +440,8 @@ function getList() {
getCCAPPlanHistoryList
(
queryParams
.
value
).
then
(
res
=>
{
total
.
value
=
res
.
total
tableList
.
value
=
res
.
rows
// 按创建日期降序排列
// rows.sort((a, b) => new Date(b.createTime) - new Date(a.createTime))
console
.
log
(
"列表"
,
tableList
.
value
)
});
}
...
...
@@ -430,6 +468,10 @@ function resetQuery() {
};
handleQuery
();
}
/** 查看文件操作 */
function
handleView
(
row
)
{
}
onMounted
(()
=>
{
getList
()
...
...
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