diff --git a/src/api/measure/file.ts b/src/api/measure/file.ts index 768c310..71e8b02 100644 --- a/src/api/measure/file.ts +++ b/src/api/measure/file.ts @@ -131,3 +131,12 @@ }) } +// 未通过-驳回编辑 +export function updateFail(data: object) { + return request({ + url: '/meter/file/failUpdate', + method: 'post', + data, + }) +} + diff --git a/src/api/measure/file.ts b/src/api/measure/file.ts index 768c310..71e8b02 100644 --- a/src/api/measure/file.ts +++ b/src/api/measure/file.ts @@ -131,3 +131,12 @@ }) } +// 未通过-驳回编辑 +export function updateFail(data: object) { + return request({ + url: '/meter/file/failUpdate', + method: 'post', + data, + }) +} + diff --git a/src/store/modules/dict.ts b/src/store/modules/dict.ts index 554a196..2f491c0 100644 --- a/src/store/modules/dict.ts +++ b/src/store/modules/dict.ts @@ -19,13 +19,15 @@ 已取消: '6', } as approvalStatus, // 审批状态 approvalStatusListTow: { - 全部: '0', - 草稿箱: '1', - 待审批: '2', - 审批中: '3', - 已通过: '4', - 未通过: '5', - 已取消: '6', + '全部': '0', + '草稿箱': '1', + '待审批': '2', + '审批中': '3', + '已通过': '4', + '未通过': '5', + '已取消': '6', + '非草稿': '7', + '未通过-驳回': '8', } as approvalStatus, // 审批状态 }), getters: { diff --git a/src/api/measure/file.ts b/src/api/measure/file.ts index 768c310..71e8b02 100644 --- a/src/api/measure/file.ts +++ b/src/api/measure/file.ts @@ -131,3 +131,12 @@ }) } +// 未通过-驳回编辑 +export function updateFail(data: object) { + return request({ + url: '/meter/file/failUpdate', + method: 'post', + data, + }) +} + diff --git a/src/store/modules/dict.ts b/src/store/modules/dict.ts index 554a196..2f491c0 100644 --- a/src/store/modules/dict.ts +++ b/src/store/modules/dict.ts @@ -19,13 +19,15 @@ 已取消: '6', } as approvalStatus, // 审批状态 approvalStatusListTow: { - 全部: '0', - 草稿箱: '1', - 待审批: '2', - 审批中: '3', - 已通过: '4', - 未通过: '5', - 已取消: '6', + '全部': '0', + '草稿箱': '1', + '待审批': '2', + '审批中': '3', + '已通过': '4', + '未通过': '5', + '已取消': '6', + '非草稿': '7', + '未通过-驳回': '8', } as approvalStatus, // 审批状态 }), getters: { diff --git a/src/views/business/lab/reportOnCredentials/components/reportOnCredentialsAdd.vue b/src/views/business/lab/reportOnCredentials/components/reportOnCredentialsAdd.vue index 99ddb0f..1289bc8 100644 --- a/src/views/business/lab/reportOnCredentials/components/reportOnCredentialsAdd.vue +++ b/src/views/business/lab/reportOnCredentials/components/reportOnCredentialsAdd.vue @@ -489,6 +489,7 @@ const confirmCheckoutTemplate = (val: any) => { formInline.value.templateId = val.id // 证书报告模板id formInline.value.templateName = val.templateName || '' // 证书报告模板名称 + formInline.value.certificateReportType = val.certificationType // 证书报告类型 } // --------------------------------------选择签章----------------------------------- @@ -674,13 +675,13 @@ - + diff --git a/src/api/measure/file.ts b/src/api/measure/file.ts index 768c310..71e8b02 100644 --- a/src/api/measure/file.ts +++ b/src/api/measure/file.ts @@ -131,3 +131,12 @@ }) } +// 未通过-驳回编辑 +export function updateFail(data: object) { + return request({ + url: '/meter/file/failUpdate', + method: 'post', + data, + }) +} + diff --git a/src/store/modules/dict.ts b/src/store/modules/dict.ts index 554a196..2f491c0 100644 --- a/src/store/modules/dict.ts +++ b/src/store/modules/dict.ts @@ -19,13 +19,15 @@ 已取消: '6', } as approvalStatus, // 审批状态 approvalStatusListTow: { - 全部: '0', - 草稿箱: '1', - 待审批: '2', - 审批中: '3', - 已通过: '4', - 未通过: '5', - 已取消: '6', + '全部': '0', + '草稿箱': '1', + '待审批': '2', + '审批中': '3', + '已通过': '4', + '未通过': '5', + '已取消': '6', + '非草稿': '7', + '未通过-驳回': '8', } as approvalStatus, // 审批状态 }), getters: { diff --git a/src/views/business/lab/reportOnCredentials/components/reportOnCredentialsAdd.vue b/src/views/business/lab/reportOnCredentials/components/reportOnCredentialsAdd.vue index 99ddb0f..1289bc8 100644 --- a/src/views/business/lab/reportOnCredentials/components/reportOnCredentialsAdd.vue +++ b/src/views/business/lab/reportOnCredentials/components/reportOnCredentialsAdd.vue @@ -489,6 +489,7 @@ const confirmCheckoutTemplate = (val: any) => { formInline.value.templateId = val.id // 证书报告模板id formInline.value.templateName = val.templateName || '' // 证书报告模板名称 + formInline.value.certificateReportType = val.certificationType // 证书报告类型 } // --------------------------------------选择签章----------------------------------- @@ -674,13 +675,13 @@ - + diff --git a/src/views/device/receive/apply/applyList.vue b/src/views/device/receive/apply/applyList.vue index 13e05df..ef90dd5 100644 --- a/src/views/device/receive/apply/applyList.vue +++ b/src/views/device/receive/apply/applyList.vue @@ -427,103 +427,11 @@ - - - - - - - - - - - - - - - - - - - - - -