diff --git a/report-ui/src/api/accessAuthority.js b/report-ui/src/api/accessAuthority.js new file mode 100755 index 00000000..eea7f688 --- /dev/null +++ b/report-ui/src/api/accessAuthority.js @@ -0,0 +1,42 @@ +import request from '@/utils/request' + +export function accessAuthorityList(params) { + return request({ + url: 'accessAuthority/pageList', + method: 'GET', + params, + }) +} + +export function accessAuthorityAdd(data) { + return request({ + url: 'accessAuthority', + method: 'post', + data + }) +} + +export function accessAuthorityDeleteBatch(data) { + return request({ + url: 'accessAuthority/delete/batch', + method: 'post', + data + }) +} + +export function accessAuthorityUpdate(data) { + return request({ + url: 'accessAuthority', + method: 'put', data, + }) +} + +export function accessAuthorityDetail(data) { + return request({ + url: 'accessAuthority/' + data.id, + method: 'get', + params: { accessKey: data.accessKey } + }) +} + +export default { accessAuthorityList, accessAuthorityAdd, accessAuthorityDeleteBatch, accessAuthorityUpdate, accessAuthorityDetail } diff --git a/report-ui/src/views/accessAuthority/index.vue b/report-ui/src/views/accessAuthority/index.vue new file mode 100755 index 00000000..1d5900bf --- /dev/null +++ b/report-ui/src/views/accessAuthority/index.vue @@ -0,0 +1,247 @@ + + +