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 @@ - + - +