From 310ae7f999fb00e81932fa7893b15b0eddd276cb Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Fri, 12 Apr 2024 17:18:02 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=A8=E9=87=8F=E9=80=9A=E7=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/qms/qualityNotice/index.ts | 4 + src/views/qms/qualityNotice/addForm.vue | 113 +++++++----------- .../qualityNotice/components/notaicType.vue | 10 +- .../qualityNotice/components/qualityBatch.vue | 16 ++- .../components/qualityNotice.vue | 7 ++ src/views/qms/qualityNotice/index.vue | 29 +++-- 6 files changed, 93 insertions(+), 86 deletions(-) diff --git a/src/api/qms/qualityNotice/index.ts b/src/api/qms/qualityNotice/index.ts index 7f423b288..3dcb3429d 100644 --- a/src/api/qms/qualityNotice/index.ts +++ b/src/api/qms/qualityNotice/index.ts @@ -24,4 +24,8 @@ export const qualityNoticeDelete = async (id) => { // 详情 export const qualityNoticeDetail = async (id) => { return await request.get({ url: `/basic/quality-notice/get?id=`+id}) +} +// 详情 +export const qualityNoticePublish = async (id) => { + return await request.put({ url: `/basic/quality-notice/release?id=`+id}) } \ No newline at end of file diff --git a/src/views/qms/qualityNotice/addForm.vue b/src/views/qms/qualityNotice/addForm.vue index b1700e470..e6a1ecaac 100644 --- a/src/views/qms/qualityNotice/addForm.vue +++ b/src/views/qms/qualityNotice/addForm.vue @@ -13,9 +13,9 @@ - + - +