From 9163126f7b7611ca6a357d3337769abec18f2255 Mon Sep 17 00:00:00 2001 From: BoBoooooo <17746714@qq.com> Date: Mon, 28 Jan 2019 17:49:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=8D=95=E4=BD=8D=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/dept.js | 8 -- src/router/index.js | 10 +++ src/views/system/unit.vue | 169 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 179 insertions(+), 8 deletions(-) create mode 100644 src/views/system/unit.vue diff --git a/src/api/system/dept.js b/src/api/system/dept.js index dfb73f9..a3da43e 100644 --- a/src/api/system/dept.js +++ b/src/api/system/dept.js @@ -54,11 +54,3 @@ export function getObj() { method: 'post', }) } - -export function save(data) { - return fetch({ - url: '/dept/saveOrUpdate', - method: 'post', - data, - }) -} diff --git a/src/router/index.js b/src/router/index.js index 83fbf80..215bb2a 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -158,6 +158,16 @@ export const asyncRouterMap = [{ title: '部门设置', }, }, + { + path: 'unit', + name: 'unit', + noDropdown: false, + hidden: false, + component: () => import('@/views/system/unit'), + meta: { + title: '单位设置', + }, + }, { path: 'role', name: 'role', diff --git a/src/views/system/unit.vue b/src/views/system/unit.vue new file mode 100644 index 0000000..fe5254d --- /dev/null +++ b/src/views/system/unit.vue @@ -0,0 +1,169 @@ + + + + +