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
d37ca124
Commit
d37ca124
authored
Apr 24, 2025
by
qiyaxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CCAP控制计划管理-列表操作
parent
756474e0
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
307 additions
and
47 deletions
+307
-47
CCAPControlPlanManagement.js
...pi/CCAPControlPlanManagement/CCAPControlPlanManagement.js
+8
-0
cn.json
...CCAPControlPlan/CCAPControlPlanManagement/history/cn.json
+8
-1
en.json
...CCAPControlPlan/CCAPControlPlanManagement/history/en.json
+8
-1
cn.json
...n/CCAPControlPlan/CCAPControlPlanManagement/index/cn.json
+14
-1
en.json
...n/CCAPControlPlan/CCAPControlPlanManagement/index/en.json
+14
-1
history.vue
...lan/CCAPControlPlan/CCAPControlPlanManagement/history.vue
+35
-6
index.vue
...lPlan/CCAPControlPlan/CCAPControlPlanManagement/index.vue
+220
-37
No files found.
src/api/CCAPControlPlanManagement/CCAPControlPlanManagement.js
View file @
d37ca124
...
...
@@ -16,3 +16,11 @@ export function getAllBusinessUnitName(query) {
data
:
query
,
})
}
// 查询CCAP控制计划历史列表
export
function
getCCAPPlanHistoryList
(
query
)
{
return
request
({
url
:
'/ccapPlan/hisList'
,
method
:
'get'
,
params
:
query
})
}
src/locales/controlPlan/CCAPControlPlan/CCAPControlPlanManagement/history/cn.json
View file @
d37ca124
...
...
@@ -21,5 +21,12 @@
"COPTestAndChecklistFormStatus"
:
"COP试验和检查表表单状态"
,
"operation"
:
"操作"
,
"serialNumber"
:
"序号"
,
"viewHistoricalControlPlan"
:
"查看历史控制计划"
"viewHistoricalControlPlan"
:
"查看历史控制计划"
,
"view"
:
"查看"
,
"revoke"
:
"撤销"
,
"adjustCompilationResponsiblePerson"
:
"调整编制负责人"
,
"generateFile"
:
"生成文件"
,
"remindDownload"
:
"提醒下载"
,
"change"
:
"变更"
,
"fineTune"
:
"微调"
}
src/locales/controlPlan/CCAPControlPlan/CCAPControlPlanManagement/history/en.json
View file @
d37ca124
...
...
@@ -21,5 +21,12 @@
"COPTestAndChecklistFormStatus"
:
"COP Test and Checklist Form Status"
,
"operation"
:
"Operation"
,
"serialNumber"
:
"Ordinal"
,
"viewHistoricalControlPlan"
:
"View Historical Control Plan"
"viewHistoricalControlPlan"
:
"View Historical Control Plan"
,
"view"
:
"View"
,
"revoke"
:
"Revoke"
,
"adjustCompilationResponsiblePerson"
:
"Adjust Compilation Responsible Person"
,
"generateFile"
:
"Generate File"
,
"remindDownload"
:
"Remind Download"
,
"change"
:
"Change"
,
"fineTune"
:
"Fine - Tune"
}
src/locales/controlPlan/CCAPControlPlan/CCAPControlPlanManagement/index/cn.json
View file @
d37ca124
...
...
@@ -3,6 +3,7 @@
"reset"
:
"重置"
,
"pleaseChoose"
:
"请选择"
,
"pleaseEnter"
:
"请输入"
,
"pleaseChooseOrEnter"
:
"请选择或输入"
,
"businessDivision"
:
"事业部"
,
"vehicleTypeCode"
:
"车型代码"
,
"vehicleTypeSeries"
:
"车型系列"
,
...
...
@@ -21,5 +22,17 @@
"COPTestAndChecklistFormStatus"
:
"COP试验和检查表表单状态"
,
"operation"
:
"操作"
,
"serialNumber"
:
"序号"
,
"viewHistoricalControlPlan"
:
"查看历史控制计划"
"viewHistoricalControlPlan"
:
"查看历史控制计划"
,
"view"
:
"查看"
,
"revoke"
:
"撤销"
,
"adjustCompilationResponsiblePerson"
:
"调整编制负责人"
,
"generateFile"
:
"生成文件"
,
"remindDownload"
:
"提醒下载"
,
"change"
:
"变更"
,
"fineTune"
:
"微调"
,
"delete"
:
"删除"
,
"prompt"
:
"提示"
,
"confirmUndoControlPlan"
:
"确定撤销该控制计划吗?"
,
"cancel"
:
"取消"
,
"confirm"
:
"确定"
}
src/locales/controlPlan/CCAPControlPlan/CCAPControlPlanManagement/index/en.json
View file @
d37ca124
...
...
@@ -3,6 +3,7 @@
"reset"
:
"Reset"
,
"pleaseChoose"
:
"Please Choose"
,
"pleaseEnter"
:
"Please Enter"
,
"pleaseChooseOrEnter"
:
"Please choose or enter"
,
"businessDivision"
:
"Business division"
,
"vehicleTypeCode"
:
"Vehicle Type Code"
,
"vehicleTypeSeries"
:
"Vehicle Type Series"
,
...
...
@@ -21,5 +22,17 @@
"COPTestAndChecklistFormStatus"
:
"COP Test and Checklist Form Status"
,
"operation"
:
"Operation"
,
"serialNumber"
:
"Ordinal"
,
"viewHistoricalControlPlan"
:
"View Historical Control Plan"
"viewHistoricalControlPlan"
:
"View Historical Control Plan"
,
"view"
:
"View"
,
"revoke"
:
"Revoke"
,
"adjustCompilationResponsiblePerson"
:
"Adjust Compilation Responsible Person"
,
"generateFile"
:
"Generate File"
,
"remindDownload"
:
"Remind Download"
,
"change"
:
"Change"
,
"fineTune"
:
"Fine Tune"
,
"delete"
:
"Delete"
,
"prompt"
:
"Prompt"
,
"confirmUndoControlPlan"
:
"Are you sure to undo this control plan?"
,
"cancel"
:
"Cancel"
,
"confirm"
:
"Confirm"
}
src/views/controlPlan/CCAPControlPlan/CCAPControlPlanManagement/history.vue
View file @
d37ca124
...
...
@@ -2,17 +2,17 @@
<div
class=
"app-container"
>
<el-form
v-model=
"queryParams"
ref=
"queryRef"
:inline=
"true"
>
<!-- 事业部 -->
<el-form-item
:label=
"`$
{cn.businessDivision}/${en.businessDivision}`"
prop="status
">
<el-form-item
:label=
"`$
{cn.businessDivision}/${en.businessDivision}`"
prop="businessUnitId
">
<el-select
v-model=
"queryParams"
v-model=
"queryParams
.businessUnitId
"
:placeholder=
"`$
{cn.pleaseChoose}/${en.pleaseChoose}`"
clearable
style="width: 200px"
>
<el-option
v-for=
"
dict
in businessList"
:label=
"
dict
.businessUnitName"
:value=
"
dict.id
"
v-for=
"
item
in businessList"
:label=
"
item
.businessUnitName"
:value=
"
item.businessUnitName
"
/>
</el-select>
</el-form-item>
...
...
@@ -226,6 +226,9 @@
<div>
{{
en
.
controlPlanStatus
}}
</div>
</div>
</
template
>
<
template
#
default=
"scope"
>
<span
:class=
"getStatusClass(changeControlPlanStatus(scope.row.controlPlanStatus))"
>
{{
changeControlPlanStatus
(
scope
.
row
.
controlPlanStatus
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
fixed=
"right"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
#
header
>
...
...
@@ -252,12 +255,38 @@
import
cn
from
'@/locales/controlPlan/CCAPControlPlan/CCAPControlPlanManagement/history/cn.json'
import
en
from
'@/locales/controlPlan/CCAPControlPlan/CCAPControlPlanManagement/history/en.json'
import
{
ref
}
from
'vue'
import
{
getAllBusinessUnitName
,
getCCAPPlanHistoryList
,
getCCAPPlanList
,
}
from
'@/api/CCAPControlPlanManagement/CCAPControlPlanManagement.js'
const
total
=
ref
(
0
);
const
queryParams
=
ref
({
pageNum
:
1
,
pageSize
:
10
pageSize
:
10
,
businessUnitId
:
null
,
vehicleModelCode
:
null
,
vehicleSeries
:
null
,
versionNumber
:
null
,
controlPlanStatus
:
null
,
createBy
:
null
});
const
businessList
=
ref
([]);
const
tableList
=
ref
([]);
function
getAllBusinessUnit
()
{
getAllBusinessUnitName
().
then
(
res
=>
{
businessList
.
value
=
res
.
data
})
}
function
getList
()
{
getCCAPPlanHistoryList
(
queryParams
.
value
).
then
(
res
=>
{
total
.
value
=
res
.
total
tableList
.
value
=
res
.
rows
});
}
</
script
>
<
style
scoped
lang=
"scss"
>
...
...
src/views/controlPlan/CCAPControlPlan/CCAPControlPlanManagement/index.vue
View file @
d37ca124
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