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
a3309934
Commit
a3309934
authored
May 08, 2025
by
qiyaxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CCAP编制任务处理主列表操作按钮显示条件
parent
275ba859
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
88 additions
and
50 deletions
+88
-50
index.vue
...lPlan/CCAPControlPlan/CCAPCompileTaskProcessing/index.vue
+88
-50
No files found.
src/views/controlPlan/CCAPControlPlan/CCAPCompileTaskProcessing/index.vue
View file @
a3309934
...
@@ -123,26 +123,26 @@
...
@@ -123,26 +123,26 @@
/>
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<!-- <!– 车型公告号 –>
-->
<!-- 车型公告号
-->
<!-- <el-col :span="6">--
>
<el-col
:span=
"6"
>
<!-- <el-form-item label="车型公告号" prop="versionNumber">--
>
<el-form-item
label=
"车型公告号"
prop=
"versionNumber"
>
<!-- <template #label>--
>
<
template
#
label
>
<!-- <div style="line-height: 15px;">--
>
<div
style=
"line-height: 15px;"
>
<!-- {{cn.vehicleModelAnnouncementNumber}}-->
{{
cn
.
vehicleModelAnnouncementNumber
}}
<!-- <br/>--
>
<br/
>
<!-- {{en.vehicleModelAnnouncementNumber}}-->
{{
en
.
vehicleModelAnnouncementNumber
}}
<!-- </div>--
>
</div
>
<!-- </template>--
>
</
template
>
<!-- <el-input-->
<el-input
<!-- v-model="queryParams1.versionNumber"-->
v-model=
"queryParams1.versionNumber"
<!-- placeholder="A0-Z9"-->
placeholder=
"A0-Z9"
<!-- clearable-->
clearable
<!-- disabled-->
disabled
<!-- style="width: 200px"-->
style=
"width: 200px"
<!-- />--
>
/
>
<!-- </el-form-item>--
>
</el-form-item
>
<!-- </el-col>--
>
</el-col
>
<el-col
:span=
"1
8
"
>
<el-col
:span=
"1
2
"
>
<div
class=
"button-container"
>
<div
class=
"button-container"
>
<el-button
style=
"width: 110px"
class=
"btn-A"
@
click=
"handleQuery1"
>
{{ cn.search }}{{ en.search }}
</el-button>
<el-button
style=
"width: 110px"
class=
"btn-A"
@
click=
"handleQuery1"
>
{{ cn.search }}{{ en.search }}
</el-button>
<el-button
style=
"width: 110px"
class=
"btn-B"
@
click=
"resetQuery1"
>
{{ cn.reset }}{{ en.reset }}
</el-button>
<el-button
style=
"width: 110px"
class=
"btn-B"
@
click=
"resetQuery1"
>
{{ cn.reset }}{{ en.reset }}
</el-button>
...
@@ -285,20 +285,58 @@
...
@@ -285,20 +285,58 @@
<div>
{{
en
.
view
}}
</div>
<div>
{{
en
.
view
}}
</div>
</div>
</div>
</el-button>
</el-button>
<!-- 处理 -->
<!-- 编制负责人 处理 按钮显示田条件:
<el-button
link
type=
"primary"
@
click=
"handleProcess1(scope.row)"
>
fillerLevel = '0' 为 编制负责人
entryStatus:UN_FINISH 为我的任务状态未成 -->
<el-button
v-show=
"scope.row.fillerLevel === '0' && scope.row.entryStatus === 'UN_FINISH'"
link
type=
"primary"
@
click=
"handleProcess1(scope.row)"
>
<div>
<div>
<div>
{{
cn
.
process
}}
</div>
<div>
{{
cn
.
process
}}
</div>
<div>
{{
en
.
process
}}
</div>
<div>
{{
en
.
process
}}
</div>
</div>
</div>
</el-button>
</el-button>
<!-- <!– 填写人 填写 –>-->
<!-- 填写人 填写 按钮显示条件:
<!--
<el-button
link
type=
"primary"
@
click=
"handleProcess1(scope.row)"
>
-->
entryType:NTRY_MAIN_DATA("填写主数据"),ENTRY_PART_NUMBER("填写零件号"),ENTRY_INSPECTION_DOCUMENT("填写检验文件编号"),ENTRY_PART_NUMBER_CONFIRM("零件号确认"),
<!--
<div>
-->
entryStatus:UN_FINISH 我的任务状态未成
<!--
<div>
{{
cn
.
fill
}}
</div>
-->
entryStatus:FINISH && taskStatus:plan_compilation_task_filling 我的任务状态已完成但任务状态为填写中 -->
<!--
<div>
{{
en
.
fill
}}
</div>
-->
<el-button
v-show=
"
<!--
</div>
-->
scope.row.fillerLevel !== '0' &&
<!--
</el-button>
-->
['ENTRY_MAIN_DATA', 'ENTRY_PART_NUMBER', 'ENTRY_INSPECTION_DOCUMENT', 'ENTRY_PART_NUMBER_CONFIRM'].includes(scope.row.entryType) &&
(
( scope.row.entryStatus === 'UN_FINISH')
||
(scope.row.entryStatus === 'FINISH' && scope.row.taskStatus === 'plan_compilation_task_filling')
)
"
link
type=
"primary"
@
click=
"handleProcess1(scope.row)"
>
<div>
<div>
{{
cn
.
fill
}}
</div>
<div>
{{
en
.
fill
}}
</div>
</div>
</el-button>
<!-- 审核人 审核 按钮显示条件:
entryTypeL:AUDIT 为审核人,
entryStatus:UN_FINISH 为我的任务状态未完成
禁用:taskStatus != plan_compilation_pending_review 任务状态不是待审核时 -->
<el-button
v-show=
"scope.row.fillerLevel !== '0' && scope.row.entryType === 'AUDIT' && scope.row.entryStatus === 'UN_FINISH' "
:disabled=
"scope.row.taskStatus !== 'plan_compilation_pending_review'"
link
type=
"primary"
@
click=
"handleProcess1(scope.row)"
>
<div>
<div>
审核
</div>
<div>
{{
en
.
fill
}}
</div>
</div>
</el-button>
<!-- 批准人 批准 按钮显示条件:
entryTypeL:APPROVE 为批准人,
entryStatus:UN_FINISH 为我的任务状态未完成
禁用:taskStatus != plan_compilation_pending_approval 任务状态不是待批准时 -->
<el-button
v-show=
"scope.row.fillerLevel !== '0' && scope.row.entryType === 'APPROVE' && scope.row.entryStatus === 'UN_FINISH' "
:disabled=
"scope.row.taskStatus!== 'plan_compilation_pending_approval'"
link
type=
"primary"
@
click=
"handleProcess1(scope.row)"
>
<div>
<div>
批准
</div>
<div>
{{
en
.
fill
}}
</div>
</div>
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -433,26 +471,26 @@
...
@@ -433,26 +471,26 @@
/>
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<!-- <!– 车型公告号 –>
-->
<!-- 车型公告号
-->
<!-- <el-col :span="6">--
>
<el-col
:span=
"6"
>
<!-- <el-form-item label="车型公告号" prop="versionNumber">--
>
<el-form-item
label=
"车型公告号"
prop=
"versionNumber"
>
<!-- <template #label>--
>
<
template
#
label
>
<!-- <div style="line-height: 15px;">--
>
<div
style=
"line-height: 15px;"
>
<!-- {{cn.vehicleModelAnnouncementNumber}}-->
{{
cn
.
vehicleModelAnnouncementNumber
}}
<!-- <br/>--
>
<br/
>
<!-- {{en.vehicleModelAnnouncementNumber}}-->
{{
en
.
vehicleModelAnnouncementNumber
}}
<!-- </div>--
>
</div
>
<!-- </template>--
>
</
template
>
<!-- <el-input-->
<el-input
<!-- v-model="queryParams1.versionNumber"-->
v-model=
"queryParams1.versionNumber"
<!-- placeholder="A0-Z9"-->
placeholder=
"A0-Z9"
<!-- clearable-->
clearable
<!-- disabled-->
disabled
<!-- style="width: 200px"-->
style=
"width: 200px"
<!-- />--
>
/
>
<!-- </el-form-item>--
>
</el-form-item
>
<!-- </el-col>--
>
</el-col
>
<el-col
:span=
"1
8
"
>
<el-col
:span=
"1
2
"
>
<div
class=
"button-container"
>
<div
class=
"button-container"
>
<el-button
style=
"width: 110px"
class=
"btn-A"
@
click=
"handleQuery2"
>
{{ cn.search }}{{ en.search }}
</el-button>
<el-button
style=
"width: 110px"
class=
"btn-A"
@
click=
"handleQuery2"
>
{{ cn.search }}{{ en.search }}
</el-button>
<el-button
style=
"width: 110px"
class=
"btn-B"
@
click=
"resetQuery2"
>
{{ cn.reset }}{{ en.reset }}
</el-button>
<el-button
style=
"width: 110px"
class=
"btn-B"
@
click=
"resetQuery2"
>
{{ cn.reset }}{{ en.reset }}
</el-button>
...
@@ -733,7 +771,7 @@ function resetQuery1() {
...
@@ -733,7 +771,7 @@ function resetQuery1() {
}
}
/** 编制中 查看按钮操作 */
/** 编制中 查看按钮操作 */
function
handleView1
(
row
)
{
function
handleView1
(
row
)
{
proxy
.
$router
.
push
({
path
:
''
});
proxy
.
$router
.
push
({
path
:
''
});
}
}
/** 编制中 处理按钮操作 */
/** 编制中 处理按钮操作 */
function
handleProcess1
(
row
)
{
function
handleProcess1
(
row
)
{
...
...
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