diff --git a/src/api/system/access.js b/src/api/system/access.js index ff14e50..23d9927 100644 --- a/src/api/system/access.js +++ b/src/api/system/access.js @@ -56,3 +56,13 @@ export function selectTable(libraryName) { method: 'get' }) } + +export function synchronization(data) { + return request({ + url: '/system/access/synchronization', + method: 'post', + data + }) +} + + diff --git a/src/api/system/accredit.js b/src/api/system/accredit.js index 16d98a5..7043f43 100644 --- a/src/api/system/accredit.js +++ b/src/api/system/accredit.js @@ -31,10 +31,10 @@ export function listSelectSysUser(data) { }) } -export function listSqlJdbc(data) { +export function selJDBCStream(data) { return request({ - url: '/system/accredit/listSqlJdbc', - method: 'get', + url: '/system/accredit/selJDBCStream', + method: 'post', data }) } @@ -61,4 +61,17 @@ export function selNameListStructure(tableName) { }) } +/** + * 修改状态/是否增加字典 + * @param data + * @returns {AxiosPromise} + */ +export function updateListStructure(data) { + return request({ + url: '/system/accredit/updateListStructure', + method: 'post', + data + }) +} + diff --git a/src/views/assets/access/index.vue b/src/views/assets/access/index.vue index f0a2729..5a16492 100644 --- a/src/views/assets/access/index.vue +++ b/src/views/assets/access/index.vue @@ -113,6 +113,10 @@