Commit 223be015 authored by qiyaxin's avatar qiyaxin

feat(COP试验和检查表-质管):处理页面绘制

parent 14720b51
import request from '@/utils/request.js'
// 查询CCAP控制计划审批和描述列表
export function getCCAPPlanDescriptions(id,taskType) {
return request({
url: '/control/compilationTask/getCompilationTaskInfo',
method: 'get',
params: {
controlPlanId: id,
taskType
}
})
}
{
"operation": "操作",
"serialNumber": "序号",
"project": "项目",
"measuringInstrumentsAndEquipment": "测量仪器和设备",
"capacity": "容量",
"frequency": "频次",
"testAndInspectionPlace": "试验和检查的场所",
"executedDocumentNameAndNumber": "所执行的文件名称及编号",
"responsibleDepartment": "责任部门",
"applicableModels": "适用车型",
"fillingStatus": "填写状态",
"fillingTime": "填写时间",
"filler": "填写人",
"search": "搜索",
"reset": "重置",
"pleaseChoose": "请选择",
"pleaseEnter": "请输入",
"pleaseChooseOrEnter": "请选择或输入",
"edit": "编辑",
"completeFilling": "完成填写",
"cancelCompletion": "取消完成"
}
{
"operation": "Operation",
"serialNumber": "Serial Number",
"project": "Project",
"measuringInstrumentsAndEquipment": "Measuring Instruments and Equipment",
"capacity": "Capacity",
"frequency": "Frequency",
"testAndInspectionPlace": "Test and Inspection Place",
"executedDocumentNameAndNumber": "Executed Document Name and Number",
"responsibleDepartment": "Responsible Department",
"applicableModels": "Applicable Models",
"fillingStatus": "Filling Status",
"fillingTime": "Filling Time",
"filler": "Filler",
"search": "Search",
"reset": "Reset",
"pleaseChoose": "Please Choose",
"pleaseEnter": "Please Enter",
"pleaseChooseOrEnter": "Please choose or enter",
"edit": "Edit",
"completeFilling": "Complete Filling",
"cancelCompletion": "Cancel Completion"
}
......@@ -56,6 +56,6 @@
"qualityControlCompilationResponsiblePerson": "Quality Control Compilation Responsible Person",
"taskName": "Task Name",
"myProcessingStatus": "My Processing Status",
"audit": "审核",
"approve": "批准"
"audit": "Audit",
"approve": "Approve"
}
......@@ -294,7 +294,8 @@
<!-- 编制负责人 处理 按钮显示田条件:
fillerLevel = '0' 为 编制负责人
entryStatus:UN_FINISH 为我的任务状态未成 -->
<el-button v-show="scope.row.fillerLevel === '0' && scope.row.entryStatus === 'UN_FINISH'"
<el-button
v-show="scope.row.fillerLevel === '0' && scope.row.entryStatus === 'UN_FINISH'"
link type="primary" @click="handleProcess(scope.row)">
<div>
<div>{{cn.process}}</div>
......@@ -305,7 +306,8 @@
entryType:NTRY_MAIN_DATA("填写主数据"),ENTRY_PART_NUMBER("填写零件号"),ENTRY_INSPECTION_DOCUMENT("填写检验文件编号"),ENTRY_PART_NUMBER_CONFIRM("零件号确认"),
entryStatus:UN_FINISH 我的任务状态未成
entryStatus:FINISH && taskStatus:plan_compilation_task_filling 我的任务状态已完成但任务状态为填写中 -->
<el-button v-show="
<el-button
v-show="
scope.row.fillerLevel !== '0' &&
['ENTRY_MAIN_DATA', 'ENTRY_PART_NUMBER', 'ENTRY_INSPECTION_DOCUMENT', 'ENTRY_PART_NUMBER_CONFIRM'].includes(scope.row.entryType) &&
(
......@@ -324,7 +326,8 @@
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' "
<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="handleAudit(scope.row)">
<div>
......@@ -336,7 +339,8 @@
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' "
<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="handleApprove(scope.row)">
<div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment