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
c0a71037
Commit
c0a71037
authored
May 07, 2025
by
qiyaxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CCAP编制任务处理列表
parent
da770bc4
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
229 additions
and
160 deletions
+229
-160
CCAPCompileTaskProcessing.js
...pi/CCAPCompileTaskProcessing/CCAPCompileTaskProcessing.js
+8
-1
cn.json
...n/CCAPControlPlan/CCAPCompileTaskProcessing/index/cn.json
+3
-1
en.json
...n/CCAPControlPlan/CCAPCompileTaskProcessing/index/en.json
+3
-1
index.vue
...lPlan/CCAPControlPlan/CCAPCompileTaskProcessing/index.vue
+167
-131
index.vue
...lPlan/CCAPControlPlan/CCAPControlPlanManagement/index.vue
+48
-26
No files found.
src/api/CCAPCompileTaskProcessing/CCAPCompileTaskProcessing.js
View file @
c0a71037
...
...
@@ -14,5 +14,12 @@ export function getAllvehicleModelCode() {
method
:
'get'
,
})
}
// 查询人员的编制任务列表
export
function
getAssignPersonList
(
query
)
{
return
request
({
url
:
'/control/assignPerson/list'
,
method
:
'get'
,
params
:
query
})
}
src/locales/controlPlan/CCAPControlPlan/CCAPCompileTaskProcessing/index/cn.json
View file @
c0a71037
...
...
@@ -53,5 +53,7 @@
"copTestAndChecklist"
:
"COP试验和检查表"
,
"compilationResponsiblePerson"
:
"编制负责人"
,
"manufacturingCompilationResponsiblePerson"
:
"制造编制负责人"
,
"qualityControlCompilationResponsiblePerson"
:
"质管编制负责人"
"qualityControlCompilationResponsiblePerson"
:
"质管编制负责人"
,
"taskName"
:
"任务名称"
,
"myProcessingStatus"
:
"我的处理状态"
}
src/locales/controlPlan/CCAPControlPlan/CCAPCompileTaskProcessing/index/en.json
View file @
c0a71037
...
...
@@ -53,5 +53,7 @@
"copTestAndChecklist"
:
"COP Test and Checklist"
,
"compilationResponsiblePerson"
:
"Compilation Responsible Person"
,
"manufacturingCompilationResponsiblePerson"
:
"Manufacturing Compilation Responsible Person"
,
"qualityControlCompilationResponsiblePerson"
:
"Quality Control Compilation Responsible Person"
"qualityControlCompilationResponsiblePerson"
:
"Quality Control Compilation Responsible Person"
,
"taskName"
:
"Task Name"
,
"myProcessingStatus"
:
"My Processing Status"
}
src/views/controlPlan/CCAPControlPlan/CCAPCompileTaskProcessing/index.vue
View file @
c0a71037
This diff is collapsed.
Click to expand it.
src/views/controlPlan/CCAPControlPlan/CCAPControlPlanManagement/index.vue
View file @
c0a71037
...
...
@@ -530,7 +530,7 @@
<el-checkbox
v-model=
"isChecked1"
>
{{
cn
.
keyPartsList
}}{{
en
.
keyPartsList
}}
:
<el-input
v-model=
"personInCharge1"
:disabled=
"!isChecked1"
style=
"width: 200px;margin-right: 10px"
/>
<el-button
type=
"primary"
plain
icon=
"user"
:disabled=
"!isChecked1"
@
click=
"
selectPersonnel(
)"
>
{{
cn
.
selectPersonnel
}}{{
en
.
selectPersonnel
}}
</el-button>
<el-button
type=
"primary"
plain
icon=
"user"
:disabled=
"!isChecked1"
@
click=
"
openSelectPersonnelDialog(1
)"
>
{{
cn
.
selectPersonnel
}}{{
en
.
selectPersonnel
}}
</el-button>
</el-checkbox>
</div>
<!-- 02.关键工序、装配、检验清单-->
...
...
@@ -539,9 +539,9 @@
<span
class=
"components-span"
>
02.
{{
cn
.
keyProcessAssemblyInspectionList
}}{{
en
.
keyProcessAssemblyInspectionList
}}
</span>
</div>
<el-checkbox
v-model=
"isChecked2"
>
{{
cn
.
keyP
artsList
}}{{
en
.
keyParts
List
}}
:
{{
cn
.
keyP
rocessAssemblyInspectionList
}}{{
en
.
keyProcessAssemblyInspection
List
}}
:
<el-input
v-model=
"personInCharge2"
:disabled=
"!isChecked2"
style=
"width: 200px;margin-right: 10px"
/>
<el-button
type=
"primary"
plain
icon=
"user"
:disabled=
"!isChecked2"
@
click=
"selectPersonnel(
)"
>
{{
cn
.
selectPersonnel
}}{{
en
.
selectPersonnel
}}
</el-button>
<el-button
type=
"primary"
plain
icon=
"user"
:disabled=
"!isChecked2"
@
click=
"openSelectPersonnelDialog(2
)"
>
{{
cn
.
selectPersonnel
}}{{
en
.
selectPersonnel
}}
</el-button>
</el-checkbox>
</div>
<!-- 03.COP试验和检查表-->
...
...
@@ -551,13 +551,13 @@
</div>
<el-checkbox
v-model=
"isChecked3"
>
{{
cn
.
manufacturingCompilationResponsiblePerson
}}{{
en
.
manufacturingCompilationResponsiblePerson
}}
:
<el-input
v-model=
"
manufacturingPersonInCharge
"
:disabled=
"!isChecked3"
style=
"width: 200px;margin-right: 10px"
/>
<el-button
type=
"primary"
plain
icon=
"user"
:disabled=
"!isChecked3"
@
click=
"selectPersonnel(
)"
>
{{
cn
.
selectPersonnel
}}{{
en
.
selectPersonnel
}}
</el-button>
<el-input
v-model=
"
personInCharge3
"
:disabled=
"!isChecked3"
style=
"width: 200px;margin-right: 10px"
/>
<el-button
type=
"primary"
plain
icon=
"user"
:disabled=
"!isChecked3"
@
click=
"openSelectPersonnelDialog(3
)"
>
{{
cn
.
selectPersonnel
}}{{
en
.
selectPersonnel
}}
</el-button>
</el-checkbox>
<el-checkbox
v-model=
"isChecked4"
style=
"margin-top: 15px"
>
{{
cn
.
qualityControlCompilationResponsiblePerson
}}{{
en
.
qualityControlCompilationResponsiblePerson
}}
:
<el-input
v-model=
"
qualityControlPersonInCharge
"
:disabled=
"!isChecked4"
style=
"width: 200px;margin-right: 10px;"
/>
<el-button
type=
"primary"
plain
icon=
"user"
:disabled=
"!isChecked4"
@
click=
"selectPersonnel(
)"
>
{{
cn
.
selectPersonnel
}}{{
en
.
selectPersonnel
}}
</el-button>
<el-input
v-model=
"
personInCharge4
"
:disabled=
"!isChecked4"
style=
"width: 200px;margin-right: 10px;"
/>
<el-button
type=
"primary"
plain
icon=
"user"
:disabled=
"!isChecked4"
@
click=
"openSelectPersonnelDialog(4
)"
>
{{
cn
.
selectPersonnel
}}{{
en
.
selectPersonnel
}}
</el-button>
</el-checkbox>
</div>
</
template
>
...
...
@@ -568,19 +568,6 @@
</div>
</
template
>
</el-dialog>
<!-- 选择人员 -->
<select-role
v-if=
"deptList.length > 0"
v-model=
"selectRole"
:dept-list=
"deptList"
name-list-key=
"name"
name-key=
"name"
name-id-key=
"id"
dept-key=
"dept"
:selection-mode=
"selectType"
@
submit=
"handleSelectionSubmit"
@
close=
"() => selectRole = false"
/>
<!-- 变更弹出框-->
<el-dialog
...
...
@@ -645,6 +632,21 @@
</div>
</
template
>
</el-dialog>
<!-- 选择人员 -->
<select-role
v-if=
"deptList.length > 0"
v-model=
"selectRole"
:dept-list=
"deptList"
name-list-key=
"name"
name-key=
"name"
name-id-key=
"id"
dept-key=
"dept"
:selection-mode=
"selectType"
@
submit=
"handleSelectionSubmit"
@
close=
"() => selectRole = false"
/>
</div>
</template>
...
...
@@ -704,19 +706,21 @@ const undoData = ref(null)
const
deleteDialogVisible
=
ref
(
false
)
//删除提示框
const
deletePlanId
=
ref
(
null
);
const
drawer
=
ref
(
false
)
//提醒下载抽屉
const
adjustCompilationResponsiblePersonDialogVisible
=
ref
(
false
)
const
adjustCompilationResponsiblePersonDialogVisible
=
ref
(
false
)
//调整编制负责人弹出框
const
isChecked1
=
ref
(
false
);
const
isChecked2
=
ref
(
false
);
const
isChecked3
=
ref
(
false
);
const
isChecked4
=
ref
(
false
);
const
personInCharge1
=
ref
(
''
);
const
personInCharge2
=
ref
(
''
);
const
personInCharge3
=
ref
(
''
);
const
personInCharge4
=
ref
(
''
);
const
manufacturingPersonInCharge
=
ref
(
''
);
const
qualityControlPersonInCharge
=
ref
(
''
);
const
changeDialogVisible
=
ref
(
false
)
const
selectRole
=
ref
(
false
)
const
selectType
=
ref
(
''
)
const
currentSelectField
=
ref
(
null
)
const
deptList
=
[
{
...
...
@@ -887,14 +891,32 @@ function adjustCompilationResponsiblePerson(row) {
adjustCompilationResponsiblePersonDialogVisible
.
value
=
true
currentRow
.
value
=
row
;
}
function
selectPersonnel
(
)
{
function
openSelectPersonnelDialog
(
field
)
{
selectRole
.
value
=
true
;
// 打开选择人员对话框
selectType
.
value
=
'multiple'
;
// 多选
currentSelectField
.
value
=
field
}
const
handleSelectionSubmit
=
(
selectedItems
)
=>
{
console
.
log
(
'已选中的项:'
,
selectedItems
);
// 处理已选择的用户
personInCharge1
.
value
=
selectedItems
.
map
(
item
=>
item
.
name
).
join
(
','
);
isChecked1
.
value
=
false
;
// console.log('已选中的项:', selectedItems);
// 处理已选择的用户
switch
(
currentSelectField
.
value
)
{
case
1
:
personInCharge1
.
value
=
selectedItems
.
map
(
item
=>
item
.
name
).
join
(
','
);
isChecked1
.
value
=
false
;
break
case
2
:
personInCharge2
.
value
=
selectedItems
.
map
(
item
=>
item
.
name
).
join
(
','
);
isChecked2
.
value
=
false
;
break
case
3
:
personInCharge3
.
value
=
selectedItems
.
map
(
item
=>
item
.
name
).
join
(
','
);
isChecked3
.
value
=
false
;
break
case
4
:
personInCharge4
.
value
=
selectedItems
.
map
(
item
=>
item
.
name
).
join
(
','
);
isChecked4
.
value
=
false
;
break
}
selectRole
.
value
=
false
;
};
...
...
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