From 16eb67ab6b103663d30cad9ba74360f982e131cb Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期二, 03 九月 2024 10:34:59 +0800 Subject: [PATCH] 自定义列显隐控制 --- src/api/platform/report.js | 29 +++++++++++++++++++++++++++++ 1 files changed, 29 insertions(+), 0 deletions(-) diff --git a/src/api/platform/report.js b/src/api/platform/report.js index 731f5d8..bb7b08d 100644 --- a/src/api/platform/report.js +++ b/src/api/platform/report.js @@ -26,6 +26,18 @@ }) } +// 鏂板鎶ュ +export function importReport(data) { + return request({ + url: '/report/import', + method: 'post', + headers: { + 'Content-Type':'multipart/form-data' + }, + data: data + }) +} + // 淇敼鎶ュ export function updateReport(data) { return request({ @@ -43,6 +55,15 @@ }) } +// 瀹℃牳 +export function audit(data) { + return request({ + url: '/report/auditing', + method: 'post', + data: data + }) +} + // 鍒犻櫎鎶ュ export function delReport(id) { return request({ @@ -50,3 +71,11 @@ method: 'delete' }) } + +// 鑾峰彇鍚屼竴鎵规鎻愪氦鐨勬姤澶� +export function getTogether(pid) { + return request({ + url: '/report/getTogether/' + pid, + method: 'get' + }) +} -- Gitblit v1.8.0