From 3d97ce852e688b6cc1917790c0a0fdff9ac74210 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98huanghaiixia=E2=80=99?= <980486410@.com> Date: Tue, 20 Jan 2026 17:32:35 +0800 Subject: [PATCH] =?UTF-8?q?=E9=94=80=E5=94=AE=E5=AE=A1=E6=89=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/dayPlan/PngAppro/index.ts | 63 ++++++++ src/components/common/approStatusModal.vue | 21 ++- .../header/components/notify/index.vue | 28 ++-- .../oaNews/components/viewModal.vue | 49 ++++++ src/views/dataconfig/oaNews/news.vue | 17 +- src/views/dataconfig/oaNews/notices.vue | 19 ++- src/views/dayPlan/Demand/components/config.ts | 75 ++++----- src/views/dayPlan/Demand/index.vue | 20 ++- .../dayPlan/PngAppro/components/basicForm.vue | 18 +-- .../dayPlan/PngAppro/components/config.ts | 12 +- .../PngAppro/components/createForm.vue | 146 ++++++++++-------- src/views/dayPlan/PngAppro/index.vue | 46 +++++- .../components/searchForm.vue | 9 +- .../system/systemNotice/components/Form.vue | 4 +- 14 files changed, 345 insertions(+), 182 deletions(-) create mode 100644 src/views/dataconfig/oaNews/components/viewModal.vue diff --git a/src/api/dayPlan/PngAppro/index.ts b/src/api/dayPlan/PngAppro/index.ts index c368ae2..cfc8b1e 100644 --- a/src/api/dayPlan/PngAppro/index.ts +++ b/src/api/dayPlan/PngAppro/index.ts @@ -5,15 +5,78 @@ import { ErrorMessageMode } from '/#/axios'; enum Api { // Page = '/dayPlan/pngAppro/page', Page = '/magic-api/dayPlan/pngApproXs/page', + PageJsz = '/magic-api/dayPlan/pngApproJsz/page', + PageGd = '/magic-api//dayPlan/pngApproGd/page', List = '/dayPlan/pngAppro/list', Info = '/dayPlan/pngAppro/info', LngPngAppro = '/dayPlan/pngAppro', approve = '/dayPlan/pngAppro/approveXS', + approveSZ = '/dayPlan/pngAppro/approveJSZ', + approveGD = '/dayPlan/pngAppro/approveGD', records = '/magic-api/approve/records', compare = '/dayPlan/pngAppro/compare' } +/** + * @description: 审批LngPngAppro + */ +export async function approveLngPngApproSZ(lngPngAppro: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.post( + { + url: Api.approveSZ, + params: lngPngAppro, + }, + { + errorMessageMode: mode, + }, + ); +} +/** + * @description: 审批LngPngAppro + */ +export async function approveLngPngApproGD(lngPngAppro: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.post( + { + url: Api.approveGD, + params: lngPngAppro, + }, + { + errorMessageMode: mode, + }, + ); +} +/** + * @description: 查询LngPngAppro分页列表 + */ +export async function getLngPngApproPageGd(params: LngPngApproPageParams, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.PageGd, + params, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 查询LngPngAppro分页列表 + */ +export async function getLngPngApproPageJsz(params: LngPngApproPageParams, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.PageJsz, + params, + }, + { + errorMessageMode: mode, + }, + ); +} + + /** * @description: 获取LngPngAppro信息 */ diff --git a/src/components/common/approStatusModal.vue b/src/components/common/approStatusModal.vue index b5a6d09..480f409 100644 --- a/src/components/common/approStatusModal.vue +++ b/src/components/common/approStatusModal.vue @@ -1,6 +1,6 @@