From 47a8bedf53b98983445f12f8c8c6aed2eeb07c3a Mon Sep 17 00:00:00 2001 From: Raod <1130305001@qq.com> Date: Wed, 28 Jul 2021 12:56:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=BA=90js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- report-ui/src/api/report.js | 47 ++----------------------------------- 1 file changed, 2 insertions(+), 45 deletions(-) diff --git a/report-ui/src/api/report.js b/report-ui/src/api/report.js index 0f4a65f4..c881efdf 100644 --- a/report-ui/src/api/report.js +++ b/report-ui/src/api/report.js @@ -5,50 +5,7 @@ * @Last Modified time: 2021-03-04 10:46:26 */ import request from '@/utils/request' -// datasource -export function pageList (params) { - return request({ - url: '/dataSource/pageList', - method: 'get', - params, - }) -} -export function dataSource (data) { - return request({ - url: '/dataSource/' + data.id, - method: 'get', - data, - }) -} -// delete datasource -export function deleteDataSource (data) { - return request({ - url: '/dataSource/' + data.id, - method: 'delete', - data, - }) -} -export function testConnection (data) { - return request({ - url: '/dataSource/testConnection', - method: 'post', - data, - }) -} -export function addDataSource (data) { - return request({ - url: '/dataSource', - method: 'post', - data, - }) -} -export function editDataSource (data) { - return request({ - url: '/dataSource', - method: 'put', - data, - }) -} + // resultset export function dataSetPreview (data) { return request({ @@ -171,4 +128,4 @@ export function dataSetPageList (data) { method: 'GET', data, }) -} \ No newline at end of file +}