From 8485163d5bb04ed591fdacf36ede1af8f45e82a8 Mon Sep 17 00:00:00 2001 From: jinna Date: Mon, 24 Jul 2023 18:01:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=AF=AD=E9=9F=B3=E8=B0=83?= =?UTF-8?q?=E5=BA=A6=E9=A1=B5=E9=9D=A2=E9=80=9A=E8=AE=AF=E5=BD=95=E5=92=8C?= =?UTF-8?q?=E8=AF=AD=E9=9F=B3=E8=B0=83=E5=BA=A6=E5=B9=B3=E5=8F=B0=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/dispatch/dispatch.js | 25 ++ src/router/views/index.js | 254 +++++++++------- src/views/dispatch/index.vue | 573 ++++++++++++++++++++++++++++++----- vue.config.js | 61 ++-- 4 files changed, 707 insertions(+), 206 deletions(-) create mode 100644 src/api/dispatch/dispatch.js diff --git a/src/api/dispatch/dispatch.js b/src/api/dispatch/dispatch.js new file mode 100644 index 0000000..325cb8b --- /dev/null +++ b/src/api/dispatch/dispatch.js @@ -0,0 +1,25 @@ +import request from "@/router/axios"; + +export const getGroupList = (query) => { + return request({ + url: "http://172.19.2.195:8081/GetGroupPage", + method: "get", + params: query, + }); +}; + +export const deleteUser = (query) => { + return request({ + url: "http://172.19.2.195:8081/api/userManage/doDelUserByEID", + method: "get", + params: query, + }); +}; + +export const addUser = (data) => { + return request({ + url: "http://172.19.0.11:8081/api/userManage/batchAddEmployeeInfo", + method: "post", + data, + }); +}; diff --git a/src/router/views/index.js b/src/router/views/index.js index 7f4822f..caaa73f 100644 --- a/src/router/views/index.js +++ b/src/router/views/index.js @@ -1,114 +1,148 @@ -import Layout from '@/page/index/' +import Layout from "@/page/index/"; -export default [{ - path: '/wel', - component: Layout, - redirect: '/wel/index', - children: [{ - path: 'index', - name: '首页', - meta: { - i18n: 'dashboard' - }, - component: () => - import( /* webpackChunkName: "views" */ '@/views/wel/index') - }, { - path: 'dashboard', - name: '控制台', - meta: { - i18n: 'dashboard', - menu: false, - }, - component: () => - import( /* webpackChunkName: "views" */ '@/views/wel/dashboard') - }] -}, { - path: '/test', - component: Layout, - redirect: '/test/index', - children: [{ - path: 'index', - name: '测试页', - meta: { - i18n: 'test' - }, - component: () => - import( /* webpackChunkName: "views" */ '@/views/util/test') - }] -}, { - path: '/dict-horizontal', - component: Layout, - redirect: '/dict-horizontal/index', - children: [{ - path: 'index', - name: '字典管理', - meta: { - i18n: 'dict' - }, - component: () => - import( /* webpackChunkName: "views" */ '@/views/util/demo/dict-horizontal') - }] -}, { - path: '/dict-vertical', - component: Layout, - redirect: '/dict-vertical/index', - children: [{ - path: 'index', - name: '字典管理', - meta: { - i18n: 'dict' - }, - component: () => - import( /* webpackChunkName: "views" */ '@/views/util/demo/dict-vertical') - }] -}, { - path: '/info', - component: Layout, - redirect: '/info/index', - children: [{ - path: 'index', - name: '个人信息', - meta: { - i18n: 'info' - }, - component: () => - import( /* webpackChunkName: "views" */ '@/views/system/userinfo') - }] -}, { - path: '/work/process/leave', - component: Layout, - redirect: '/work/process/leave/form', - children: [{ - path: 'form/:processDefinitionId', - name: '请假流程', - meta: { - i18n: 'work' - }, - component: () => - import( /* webpackChunkName: "views" */ '@/views/work/process/leave/form') - }, { - path: 'handle/:taskId/:processInstanceId/:businessId', - name: '处理请假流程', - meta: { - i18n: 'work' - }, +export default [ + { + path: "/wel", + component: Layout, + redirect: "/wel/index", + children: [ + { + path: "index", + name: "首页", + meta: { + i18n: "dashboard", + }, + component: () => + import(/* webpackChunkName: "views" */ "@/views/wel/index"), + }, + { + path: "dashboard", + name: "控制台", + meta: { + i18n: "dashboard", + menu: false, + }, + component: () => + import(/* webpackChunkName: "views" */ "@/views/wel/dashboard"), + }, + ], + }, + { + path: "/test", + component: Layout, + redirect: "/test/index", + children: [ + { + path: "index", + name: "测试页", + meta: { + i18n: "test", + }, + component: () => + import(/* webpackChunkName: "views" */ "@/views/util/test"), + }, + ], + }, + { + path: "/dict-horizontal", + component: Layout, + redirect: "/dict-horizontal/index", + children: [ + { + path: "index", + name: "字典管理", + meta: { + i18n: "dict", + }, + component: () => + import( + /* webpackChunkName: "views" */ "@/views/util/demo/dict-horizontal" + ), + }, + ], + }, + { + path: "/dict-vertical", + component: Layout, + redirect: "/dict-vertical/index", + children: [ + { + path: "index", + name: "字典管理", + meta: { + i18n: "dict", + }, + component: () => + import( + /* webpackChunkName: "views" */ "@/views/util/demo/dict-vertical" + ), + }, + ], + }, + { + path: "/info", + component: Layout, + redirect: "/info/index", + children: [ + { + path: "index", + name: "个人信息", + meta: { + i18n: "info", + }, + component: () => + import(/* webpackChunkName: "views" */ "@/views/system/userinfo"), + }, + ], + }, + { + path: "/work/process/leave", + component: Layout, + redirect: "/work/process/leave/form", + children: [ + { + path: "form/:processDefinitionId", + name: "请假流程", + meta: { + i18n: "work", + }, + component: () => + import( + /* webpackChunkName: "views" */ "@/views/work/process/leave/form" + ), + }, + { + path: "handle/:taskId/:processInstanceId/:businessId", + name: "处理请假流程", + meta: { + i18n: "work", + }, + component: () => + import( + /* webpackChunkName: "views" */ "@/views/work/process/leave/handle" + ), + }, + { + path: "detail/:processInstanceId/:businessId", + name: "请假流程详情", + meta: { + i18n: "work", + }, + component: () => + import( + /* webpackChunkName: "views" */ "@/views/work/process/leave/detail" + ), + }, + ], + }, + { + path: "/dispatch", + name: "语音调度", component: () => - import( /* webpackChunkName: "views" */ '@/views/work/process/leave/handle') - }, { - path: 'detail/:processInstanceId/:businessId', - name: '请假流程详情', + import(/* webpackChunkName: "views" */ "@/views/dispatch/index"), meta: { - i18n: 'work' + isTab: false, + isAuth: false, }, - component: () => - import( /* webpackChunkName: "views" */ '@/views/work/process/leave/detail') - }] -},{ - path: '/dispatch', - name: '语音调度', - component: () => - import( /* webpackChunkName: "views" */ '@/views/dispatch/index'), - meta: { - isTab: false - } -}] + }, +]; diff --git a/src/views/dispatch/index.vue b/src/views/dispatch/index.vue index f1e5a16..69e8a3b 100644 --- a/src/views/dispatch/index.vue +++ b/src/views/dispatch/index.vue @@ -48,19 +48,23 @@ @clear="searchHandle(1)" > -
-
+
-
{{item.name}}
-
邀请
+
{{item.name}}
+
+
邀请
+
删除
+
+
-
+
添加用户
@@ -84,42 +88,45 @@
-
+
+ - -
-
终端设备名称——调度组1
+ + +
-
-
终端设备名称——调度组1
-
- -
-
- - -
+
+
- - - - + + + +
@@ -153,10 +160,204 @@
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 取 消 + 确 定 + +