From c327574106f470c72638e9f34c7f8cd26d78a2bf Mon Sep 17 00:00:00 2001 From: ludc Date: 星期三, 24 一月 2024 23:48:36 +0800 Subject: [PATCH] 分类授权,数据授权接口修改 --- Source/UBCS-WEB/src/api/omd/revisionRule.js | 18 ++++++++++++++++-- 1 files changed, 16 insertions(+), 2 deletions(-) diff --git a/Source/UBCS-WEB/src/api/omd/revisionRule.js b/Source/UBCS-WEB/src/api/omd/revisionRule.js index ac3ce70..19f0d6d 100644 --- a/Source/UBCS-WEB/src/api/omd/revisionRule.js +++ b/Source/UBCS-WEB/src/api/omd/revisionRule.js @@ -1,6 +1,10 @@ import request from '@/router/axios'; -export const getPage = (current,size,params) => { +var model = '/api/ubcs-omd'; +var controller = '/revision-rule'; + + +export const getPage = (current, size, params) => { return request({ url: '/api/ubcs-omd/revision-rule/page', method: 'get', @@ -62,7 +66,7 @@ }) } -export const refList = (currentPage,pageSize,params) => { +export const refList = (currentPage, pageSize, params) => { return request({ url: '/api/ubcs-omd/revision-rule/ref', method: 'get', @@ -72,4 +76,14 @@ pageSize } }) +} + +export const getAppayRange = (id) => { + return request({ + url: model + controller + '/get-apply-range', + method: 'get', + params: { + id + } + }) } \ No newline at end of file -- Gitblit v1.9.3