diff --git a/src/api/model/system.js b/src/api/model/system.js index 4ffe19e9..dc99991c 100644 --- a/src/api/model/system.js +++ b/src/api/model/system.js @@ -43,13 +43,22 @@ export default { }, role: { list: { - url: `${config.API_URL}/system/role/list`, + url: `${config.API_URL}/system/role/list2`, name: "获取角色列表", get: async function(params){ return await http.get(this.url, params); } } }, + dept: { + list: { + url: `${config.API_URL}/system/dept/list`, + name: "获取部门列表", + get: async function(params){ + return await http.get(this.url, params); + } + } + }, user: { list: { url: `${config.API_URL}/system/user/list`, diff --git a/src/assets/icons/Organization.vue b/src/assets/icons/Organization.vue new file mode 100644 index 00000000..72e3b6a1 --- /dev/null +++ b/src/assets/icons/Organization.vue @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/src/assets/icons/index.js b/src/assets/icons/index.js index c5139c16..26cfef5c 100644 --- a/src/assets/icons/index.js +++ b/src/assets/icons/index.js @@ -5,4 +5,5 @@ export { default as BugFill } from './BugFill.vue' export { default as BugLine } from './BugLine.vue' export { default as FileWord } from './FileWord.vue' export { default as FileExcel } from './FileExcel.vue' -export { default as FilePpt } from './FilePpt.vue' \ No newline at end of file +export { default as FilePpt } from './FilePpt.vue' +export { default as Organization } from './Organization.vue' \ No newline at end of file diff --git a/src/components/scTable/index.vue b/src/components/scTable/index.vue index eb89cd70..7605c987 100644 --- a/src/components/scTable/index.vue +++ b/src/components/scTable/index.vue @@ -9,7 +9,7 @@