diff --git a/src/components.d.ts b/src/components.d.ts index 185943b..fde4221 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -29,6 +29,7 @@ CertificationMonitor: typeof import('./components/Sample/certificationMonitor.vue')['default'] CertificationRecords: typeof import('./components/Sample/certificationRecords.vue')['default'] ConditionDrawer: typeof import('./components/drawer/conditionDrawer.vue')['default'] + copy: typeof import('./components/Approval/ApprovalDialogCustom copy.vue')['default'] CopyerDrawer: typeof import('./components/drawer/copyerDrawer.vue')['default'] Copyright: typeof import('./components/Copyright/index.vue')['default'] DeptSelect: typeof import('./components/DeptSelect/index.vue')['default'] diff --git a/src/components.d.ts b/src/components.d.ts index 185943b..fde4221 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -29,6 +29,7 @@ CertificationMonitor: typeof import('./components/Sample/certificationMonitor.vue')['default'] CertificationRecords: typeof import('./components/Sample/certificationRecords.vue')['default'] ConditionDrawer: typeof import('./components/drawer/conditionDrawer.vue')['default'] + copy: typeof import('./components/Approval/ApprovalDialogCustom copy.vue')['default'] CopyerDrawer: typeof import('./components/drawer/copyerDrawer.vue')['default'] Copyright: typeof import('./components/Copyright/index.vue')['default'] DeptSelect: typeof import('./components/DeptSelect/index.vue')['default'] diff --git a/src/views/business/schedule/certPrint/certList.vue b/src/views/business/schedule/certPrint/certList.vue index eec787b..ed08f87 100644 --- a/src/views/business/schedule/certPrint/certList.vue +++ b/src/views/business/schedule/certPrint/certList.vue @@ -148,16 +148,18 @@ // 根据过滤查询条件 function filterQuery() { + console.log('当前模块的名称', activeTitle.value) const StatuFlag = activeTitle.value == '可打印' + console.log('当前模块的名称是否是可打印:', StatuFlag) const value = menu.value.find(item => item.name === activeTitle.value)!.id as string if (StatuFlag) { listQuery.value.printStatus = value as string listQuery.value.approvalStatus = null } - // else { - // listQuery.value.printStatus = '' - // listQuery.value.approvalStatus = value as string == '0' ? null : value as string - // } + else { + listQuery.value.printStatus = '' + listQuery.value.approvalStatus = value as string == '0' ? null : value as string + } } // 数据查询