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
a6e995e5
Commit
a6e995e5
authored
May 08, 2025
by
yanzhengyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(CCAP控制计划管理):关键零部件信息接口修改
parent
71ec9ba3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
12 deletions
+25
-12
view.js
src/api/CCAPControlPlanManagement/view.js
+5
-2
view.vue
...olPlan/CCAPControlPlan/CCAPControlPlanManagement/view.vue
+20
-10
No files found.
src/api/CCAPControlPlanManagement/view.js
View file @
a6e995e5
...
...
@@ -13,11 +13,14 @@ export function getCCAPPlanDescriptions(id,taskType) {
}
// 查询CCAP控制计划关键零部件列表
export
function
getCCAPPlanKeyList
(
query
)
{
export
function
getCCAPPlanKeyList
(
id
,
query
)
{
return
request
({
url
:
'/control/ccapKeyParts/list'
,
method
:
'get'
,
params
:
query
params
:
{
controlPlanId
:
id
,
query
}
})
}
...
...
src/views/controlPlan/CCAPControlPlan/CCAPControlPlanManagement/view.vue
View file @
a6e995e5
...
...
@@ -426,7 +426,7 @@
<el-button
class=
"btn-A"
@
click=
"openDialog"
>
选择用户(多选)
</el-button>
</el-form-item>
</el-form>
<el-table
v-loading=
"loading"
:data=
"keyPartsList"
style=
"width: 100%"
border
>
<el-table
v-loading=
"loading"
:data=
"keyPartsList
Detail
"
style=
"width: 100%"
border
>
<el-table-column
prop=
"date"
label=
"序号"
align=
"center"
width=
"80"
>
<
template
#
header
>
<div
class=
"el-form-label"
>
...
...
@@ -539,7 +539,7 @@
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"
create
By"
label=
"填写人"
align=
"center"
width=
"120"
fixed=
"right"
>
<el-table-column
prop=
"
mainDataEntry
By"
label=
"填写人"
align=
"center"
width=
"120"
fixed=
"right"
>
<
template
#
header
>
<div
class=
"el-form-label"
>
<div>
填写人
</div>
...
...
@@ -547,7 +547,7 @@
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"
create
Time"
label=
"填写时间"
align=
"center"
width=
"160"
fixed=
"right"
>
<el-table-column
prop=
"
mainDataEntry
Time"
label=
"填写时间"
align=
"center"
width=
"160"
fixed=
"right"
>
<
template
#
header
>
<div
class=
"el-form-label"
>
<div>
填写时间
</div>
...
...
@@ -555,7 +555,7 @@
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"
addres
s"
label=
"填写状态"
align=
"center"
width=
"120"
fixed=
"right"
>
<el-table-column
prop=
"
mainDataEntryStatu
s"
label=
"填写状态"
align=
"center"
width=
"120"
fixed=
"right"
>
<
template
#
header
>
<div
class=
"el-form-label"
>
<div>
填写状态
</div>
...
...
@@ -1034,6 +1034,8 @@ const descriptionsList = ref([])
const
stepList
=
ref
([])
//关键零部件列表
const
keyPartsList
=
ref
([])
//关键零部件详细数据列表
const
keyPartsListDetail
=
ref
([])
const
activeTab
=
ref
(
'CCAP_KEY_PARTS_TASK'
)
// 默认激活第一个标签页
if
(
route
.
query
.
tab
){
activeTab
.
value
=
route
.
query
.
tab
...
...
@@ -1056,7 +1058,8 @@ const queryParams = ref({
partAssemblyNo
:
null
,
professionalDepartment
:
null
,
ccCertificationMark
:
null
,
createBy
:
null
mainDataEntryBy
:
null
,
mainDataEntryStatus
:
null
})
const
selectRole
=
ref
(
false
)
const
selectType
=
ref
(
''
)
...
...
@@ -1124,20 +1127,27 @@ function getFrom() {
formList
.
value
=
res
.
data
descriptionsList
.
value
=
formList
.
value
.
compilationTaskDetail
stepList
.
value
=
formList
.
value
.
nodeRecords
console
.
log
(
"666"
,
formList
.
value
)
console
.
log
(
"777"
,
descriptionsList
.
value
)
console
.
log
(
"888"
,
stepList
.
value
)
//
console.log("666",formList.value)
//
console.log("777",descriptionsList.value)
//
console.log("888",stepList.value)
// if (formList.value.length > 0) {
// activeTab.value = formList.value[0].id // 默认第一个标签的id
// getList(formList.value[0].id) // 初始化加载第一个标签的数据
// }
})
getCCAPPlanKeyList
().
then
(
res
=>
{
getCCAPPlanKeyList
(
id
,
queryParams
.
value
).
then
(
res
=>
{
keyPartsList
.
value
=
res
.
data
// console.log("999",keyPartsList.value)
keyPartsListDetail
.
value
=
keyPartsList
.
value
.
keyPartsDetailDTOS
console
.
log
(
"963"
,
keyPartsList
.
value
)
console
.
log
(
"852"
,
keyPartsListDetail
.
value
)
})
loading
.
value
=
false
}
/** 搜索按钮操作 */
function
handleQuery
()
{
queryParams
.
value
.
pageNum
=
1
;
getFrom
();
}
const
handleBack
=
()
=>
{
proxy
.
$router
.
push
({
path
:
'/control/CCAPControlPlan/CCAPControlPlanIndex'
});
}
...
...
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