From 87b32061a83ab3f88da1536433b0686b04a701d5 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Mon, 30 Aug 2021 16:56:02 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/zhba_enterprises
---
src/router/views/index.js | 1884 ++++++++++++++++++++++++++++----------------------------
src/views/talk/talk.vue | 62 -
2 files changed, 968 insertions(+), 978 deletions(-)
diff --git a/src/router/views/index.js b/src/router/views/index.js
index a436e82..aea0396 100644
--- a/src/router/views/index.js
+++ b/src/router/views/index.js
@@ -1,951 +1,951 @@
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'
- },
- 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: '/securityAnalysis',
- component: Layout,
- redirect: '/securityAnalysis/index',
- children: [{
- path: 'index',
- name: '保安单位情况智能分析',
- meta: {
- i18n: 'dict'
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/securityAnalysis/index')
- }]
- }, {
- path: '/recruitmentManagement',
- component: Layout,
- redirect: '/recruitmentManagement/index',
- children: [{
- path: 'index',
- name: '招聘管理',
- meta: {
- i18n: 'dict'
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/recruitmentManagement/index')
- }]
- }, {
- path: '/securityUnit',
- component: Layout,
- redirect: '/securityUnit/index',
- children: [{
- path: 'index',
- name: '保安单位信息',
- meta: {
- i18n: 'dict'
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/securityUnit/index')
- }]
- }, {
- path: '/securityGuard',
- component: Layout,
- redirect: '/securityGuard/securityGuard',
- children: [{
- path: 'index',
- name: '保安员管理',
- meta: {
- i18n: 'dict'
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/securityGuard/securityGuard')
- }]
- }, {
- path: '/securityGuardOnce',
- component: Layout,
- redirect: '/securityGuard/securityGuardOnce',
- children: [{
- path: 'index',
- name: '保安员查询',
- meta: {
- i18n: 'dict'
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/securityGuard/securityGuardOnce')
- }]
- }, {
- path: '/securityGuardDetail',
- component: Layout,
- redirect: '/securityGuardDetail/index',
- children: [{
- path: 'index',
- name: '保安员详情',
- meta: {
- i18n: 'dict'
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/securityGuard/securityGuardDetail')
- }]
- }, {
- path: '/resource',
- component: Layout,
- redirect: '/resource/attach',
- children: [{
- path: 'attach',
- name: '附件上传',
- meta: {
- i18n: 'dict'
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/resource/attach')
- }]
- }, {
- path: '/securityUnitChild',
- component: Layout,
- redirect: '/securityUnitChild/index',
- children: [{
- path: 'index',
- name: '保安单位详情',
- meta: {
- i18n: 'dict'
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/securityUnitChild/index')
- }]
- }, {
- path: '/securityGuard',
- component: Layout,
- redirect: '/securityGuard/securityGuard',
- children: [{
- path: 'index',
- name: '保安员管理',
- meta: {
- i18n: 'dict'
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/securityGuard/securityGuard')
- }]
- },
- // {
- // path: '/dispatch/dispatch',
- // component: Layout,
- // redirect: '/dispatch/dispatch',
- // children: [{
- // path: 'index',
- // name: '派遣服务管理',
- // meta: {
- // i18n: 'dict'
- // },
- // component: () =>
- // import( /* webpackChunkName: "views" */ '@/views/dispatch/dispatch')
- // }]
- // },
- {
- path: '/desk',
- component: Layout,
- redirect: '/desk/notice',
- children: [{
- path: 'index',
- name: '通知公告',
- meta: {
- i18n: 'dict'
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/desk/notice')
- }]
- },
- {
- path: '/talk',
- component: Layout,
- redirect: '/talk/talk',
- children: [{
- path: 'index',
- name: '心里咨询',
- meta: {
- i18n: 'dict'
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/talk/talk')
- }]
- },
- {
- path: '/workreport',
- component: Layout,
- redirect: '/workreport/workreport',
- children: [{
- path: 'workreport',
- name: '发起的汇报',
- meta: {
- i18n: 'dict'
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/workreport/workreport')
- }]
- },
- {
- path: '/workreport',
- component: Layout,
- redirect: '/workreport/workreply',
- children: [{
- path: 'workreply',
- name: '接收的汇报',
- meta: {
- i18n: 'dict'
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/workreport/workreply')
- }]
- }, {
- path: '/resource',
- component: Layout,
- redirect: '/resource/attachCopy',
- children: [{
- path: 'attachCopy',
- name: '保安单位附件上传',
- meta: {
- i18n: 'dict'
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/resource/attachCopy')
- }]
- },
- // {
- // path: '/dispatch',
- // component: Layout,
- // redirect: '/dispatch/dispatch',
- // children: [{
- // path: 'dispatch',
- // name: '派遣单位管理',
- // meta: {
- // i18n: 'dispatch'
- // },
- // component: () =>
- // import( /* webpackChunkName: "views" */ '@/views/dispatch/dispatch')
- // }, {
- // path: 'dispatchChildoperable',
- // name: '派遣记录管理',
- // meta: {
- // i18n: 'dispatch'
- // },
- // component: () =>
- // import( /* webpackChunkName: "views" */ '@/views/dispatch/dispatchChildoperable')
- // }]
- // },
- // {
- // path: '/dispatchChild',
- // component: Layout,
- // redirect: '/dispatchChild/index',
- // children: [{
- // path: 'index',
- // name: '派遣服务记录',
- // meta: {
- // i18n: 'dict'
- // },
- // component: () =>
- // import( /* webpackChunkName: "views" */ '@/views/dispatchChild/index')
- // }]
- // },
- // {
- // path: '/equipments',
- // component: Layout,
- // redirect: '/equipments/index',
- // children: [{
- // path: 'index',
- // name: '保安公司装备管理',
- // meta: {
- // i18n: 'dict'
- // },
- // component: () =>
- // import( /* webpackChunkName: "views" */ '@/views/equipments/index')
- // }]
- // }, {
- // path: '/car',
- // component: Layout,
- // redirect: '/car/index',
- // children: [{
- // path: 'index',
- // name: '保安公司车辆管理',
- // meta: {
- // i18n: 'dict'
- // },
- // component: () =>
- // import( /* webpackChunkName: "views" */ '@/views/car/index')
- // }]
- // }, {
- // path: '/gun',
- // component: Layout,
- // redirect: '/gun/index',
- // children: [{
- // path: 'index',
- // name: '保安公司枪支管理',
- // meta: {
- // i18n: 'dict'
- // },
- // component: () =>
- // import( /* webpackChunkName: "views" */ '@/views/gun/index')
- // }]
- // },
- // {
- // path: '/securityEquipment',
- // component: Layout,
- // redirect: '/securityEquipment',
- // children: [{
- // path: 'equipments',
- // name: '装备管理',
- // meta: {
- // i18n: 'securityEquipment'
- // },
- // component: () =>
- // import( /* webpackChunkName: "views" */ '@/views/securityEquipment/equipments')
- // }, {
- // path: 'car',
- // name: '车辆管理',
- // meta: {
- // i18n: 'car'
- // },
- // component: () =>
- // import( /* webpackChunkName: "views" */ '@/views/securityEquipment/car')
- // }, {
- // path: 'gun',
- // name: '车辆管理',
- // meta: {
- // i18n: 'gun'
- // },
- // component: () =>
- // import( /* webpackChunkName: "views" */ '@/views/securityEquipment/gun')
- // }]
- // },
- // {
- // path: '/trainingRegistration',
- // component: Layout,
- // redirect: '/trainingRegistration/index',
- // children: [{
- // path: 'index',
- // name: '保安培训报名管理',
- // meta: {
- // i18n: 'dict'
- // },
- // component: () =>
- // import ( /* webpackChunkName: "views" */ '@/views/trainingRegistration/index')
- // }]
- // },
- {
- path: '/securityAnalysis',
- component: Layout,
- redirect: '/securityAnalysis/index',
- children: [{
- path: 'index',
- name: '保安单位情况智能分析',
- meta: {
- i18n: 'dict'
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/securityAnalysis/index')
- }]
- }, {
- path: '/recruitmentManagement',
- component: Layout,
- redirect: '/recruitmentManagement/index',
- children: [{
- path: 'index',
- name: '招聘管理',
- meta: {
- i18n: 'dict'
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/recruitmentManagement/index')
- }]
- }, {
- path: '/ownerFeedback',
- component: Layout,
- redirect: '/ownerFeedback/index',
- children: [{
- path: 'index',
- name: '业主反馈',
- meta: {
- i18n: 'dict'
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/ownerFeedback/owner')
- }]
- }, {
- path: '/securityUnit',
- component: Layout,
- redirect: '/securityUnit/index',
- children: [{
- path: 'index',
- name: '保安单位信息',
- meta: {
- i18n: 'dict'
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/securityUnit/index')
- }]
- }, {
- path: '/securityGuard',
- component: Layout,
- redirect: '/securityGuard/securityGuard',
- children: [{
- path: 'index',
- name: '保安员查询',
- meta: {
- i18n: 'dict'
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/securityGuard/securityGuard')
- }]
- }, {
- path: '/securityGuardDetail',
- component: Layout,
- redirect: '/securityGuardDetail/index',
- children: [{
- path: 'index',
- name: '保安员详情',
- meta: {
- i18n: 'dict'
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/securityGuard/securityGuardDetail')
- }]
- }, {
- path: '/resource',
- component: Layout,
- redirect: '/resource/attach',
- children: [{
- path: 'attach',
- name: '附件上传',
- meta: {
- i18n: 'dict'
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/resource/attach')
- }]
- }, {
- path: '/securityUnitChild',
- component: Layout,
- redirect: '/securityUnitChild/index',
- children: [{
- path: 'index',
- name: '保安单位详情',
- meta: {
- i18n: 'dict'
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/securityUnitChild/index')
- }]
- }, {
- path: '/securityGuard',
- component: Layout,
- redirect: '/securityGuard/securityGuard',
- children: [{
- path: 'index',
- name: '保安员管理',
- meta: {
- i18n: 'dict'
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/securityGuard/securityGuard')
- }]
- },
- // {
- // path: '/dispatch/dispatch',
- // component: Layout,
- // redirect: '/dispatch/dispatch',
- // children: [{
- // path: 'index',
- // name: '派遣服务管理',
- // meta: {
- // i18n: 'dict'
- // },
- // component: () =>
- // import( /* webpackChunkName: "views" */ '@/views/dispatch/dispatch')
- // }]
- // },
- {
- path: '/desk',
- component: Layout,
- redirect: '/desk/notice',
- children: [{
- path: 'index',
- name: '通知公告',
- meta: {
- i18n: 'dict'
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/desk/notice')
- }]
- }, {
- path: '/dispatch',
- component: Layout,
- redirect: '/dispatch/dispatch',
- children: [{
- path: 'dispatch',
- name: '派遣单位管理',
- meta: {
- i18n: 'dispatch'
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/dispatch/dispatch')
- }, {
- path: 'dispatchChildoperable',
- name: '派遣记录管理',
- meta: {
- i18n: 'dispatch'
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/dispatch/dispatchChildoperable')
- }]
- }, {
- path: '/dispatchChild',
- component: Layout,
- redirect: '/dispatchChild/index',
- children: [{
- path: 'index',
- name: '派遣服务记录',
- meta: {
- i18n: 'dict'
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/dispatchChild/index')
- }]
- }, {
- path: '/applyexam',
- redirect: '/applyexam/papers',
- component: Layout,
- children: [{
- path: 'papers',
- name: '准考证信息',
- meta: {
- i18n: 'index',
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/applyexam/papers')
- }]
- },
- // {
- // path: '/equipments',
- // component: Layout,
- // redirect: '/equipments/index',
- // children: [{
- // path: 'index',
- // name: '保安公司装备管理',
- // meta: {
- // i18n: 'dict'
- // },
- // component: () =>
- // import( /* webpackChunkName: "views" */ '@/views/equipments/index')
- // }]
- // }, {
- // path: '/car',
- // component: Layout,
- // redirect: '/car/index',
- // children: [{
- // path: 'index',
- // name: '保安公司车辆管理',
- // meta: {
- // i18n: 'dict'
- // },
- // component: () =>
- // import( /* webpackChunkName: "views" */ '@/views/car/index')
- // }]
- // }, {
- // path: '/gun',
- // component: Layout,
- // redirect: '/gun/index',
- // children: [{
- // path: 'index',
- // name: '保安公司枪支管理',
- // meta: {
- // i18n: 'dict'
- // },
- // component: () =>
- // import( /* webpackChunkName: "views" */ '@/views/gun/index')
- // }]
- // },
- // {
- // path: '/securityEquipment',
- // component: Layout,
- // redirect: '/securityEquipment',
- // children: [{
- // path: 'equipments',
- // name: '装备管理',
- // meta: {
- // i18n: 'securityEquipment'
- // },
- // component: () =>
- // import( /* webpackChunkName: "views" */ '@/views/securityEquipment/equipments')
- // }, {
- // path: 'car',
- // name: '车辆管理',
- // meta: {
- // i18n: 'car'
- // },
- // component: () =>
- // import( /* webpackChunkName: "views" */ '@/views/securityEquipment/car')
- // }, {
- // path: 'gun',
- // name: '车辆管理',
- // meta: {
- // i18n: 'gun'
- // },
- // component: () =>
- // import( /* webpackChunkName: "views" */ '@/views/securityEquipment/gun')
- // }]
- // },
- // {
- // path: '/trainingRegistration',
- // component: Layout,
- // redirect: '/trainingRegistration/index',
- // children: [{
- // path: 'index',
- // name: '保安培训报名',
- // meta: {
- // i18n: 'dict'
- // },
- // component: () =>
- // import ( /* webpackChunkName: "views" */ '@/views/trainingRegistration/index')
- // }]
- // },
- // {
- // path: '/trainExam',
- // component: Layout,
- // redirect: '/trainExam/index',
- // children: [{
- // path: 'index',
- // name: '考试申请',
- // meta: {
- // i18n: 'dict'
- // },
- // component: () =>
- // import ( /* webpackChunkName: "views" */ '@/views/trainExam/index')
- // }]
- // },
- // {
- // path: '/applyexam',
- // redirect: '/applyexam/index',
- // component: Layout,
- // children: [{
- // path: 'index',
- // name: '报名考试',
- // meta: {
- // i18n: 'index',
- // },
- // component: () =>
- // import( /* webpackChunkName: "views" */ '@/views/applyexam/index')
- // }]
- // },
- {
- path: '/applydetailed',
- redirect: '/applydetailed/index',
- component: Layout,
- children: [{
- path: 'index',
- name: '报名清册',
- meta: {
- i18n: 'index',
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/applydetailed/index')
- }]
- },
- {
- path: '/trainApply',
- redirect: '/trainApply/index',
- component: Layout,
- children: [{
- path: 'index',
- name: '报名清册',
- meta: {
- i18n: 'index',
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/trainApply/index')
- }]
- },
- {
- path: '/startexam',
- redirect: '/startexam/index',
- component: Layout,
- children: [{
- path: 'index',
- name: '开始考试',
- meta: {
- i18n: 'index',
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/startexam/index')
- }]
- },
- {
- path: '/titleDetails',
+ path: '/wel',
+ component: Layout,
+ redirect: '/wel/index',
+ children: [{
+ path: 'index',
+ name: '首页',
+ meta: {
+ i18n: 'dashboard'
+ },
component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/exam/topicDetails')
- },
- {
- path: '',
- component: Layout,
- children: [{
- path: '/exam/subjects/:id',
- component: () =>
- import ('@/views/exam/examSubjects'),
- name: '题目管理',
- title: '题目管理',
- noCache: true
- }]
- },
- {
- path: '',
- component: Layout,
- children: [{
- path: '/startexam/:id',
- component: () =>
- import ('@/views/startexam/index'),
- name: '开始考试',
- title: '开始考试',
- noCache: true
- }]
- },
- // {
- // path: '/traincompany',
- // component: Layout,
- // redirect: '/traincompany/index',
- // children: [{
- // path: 'index',
- // name: '培训公司查询',
- // meta: {
- // i18n: 'dict'
- // },
- // component: () =>
- // import ( /* webpackChunkName: "views" */ '@/views/traincompany/index')
- // }]
- // },
- {
- path: '/dispatchChildoperableSee',
- component: Layout,
- redirect: '/dispatchChildoperableSee/index',
- children: [{
- path: 'index',
- name: '派遣记录',
- meta: {
- i18n: 'index'
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/dispatch/dispatchChildoperableSee')
- }]
- },
- {
- path: '/expression',
- component: Layout,
- redirect: '/expression/index',
- children: [{
- path: 'index',
- name: '表现记录',
- meta: {
- i18n: 'index'
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/people/expression')
- }]
+ import( /* webpackChunkName: "views" */ '@/views/wel/index')
}, {
- path: '/job',
- component: Layout,
- redirect: '/job/index',
- children: [{
- path: 'index',
- name: '从业记录',
- meta: {
- i18n: 'index'
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/people/job')
- }]
+ 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: '/resource',
- redirect: '/resource/uploadNotice',
- component: Layout,
- children: [{
- path: 'uploadNotice',
- name: '通知公告>附件上传',
- meta: {
- i18n: 'index',
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/resource/uploadNotice')
- }]
- },
- {
- path: '/applydetailed',
- redirect: '/applydetailed/papers',
- component: Layout,
- children: [{
- path: 'papers',
- name: '报名清册信息',
- meta: {
- i18n: 'index',
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/applydetailed/papers')
- }]
- },
- {
- path: '/exam',
- redirect: '/exam/papers',
- component: Layout,
- children: [{
- path: 'papers',
- name: '保安证',
- meta: {
- i18n: 'index',
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/exam/papers')
- }]
+ path: 'handle/:taskId/:processInstanceId/:businessId',
+ name: '处理请假流程',
+ meta: {
+ i18n: 'work'
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/work/process/leave/handle')
}, {
- path: '/resource',
- redirect: '/resource/uploadPolicyRelease',
- component: Layout,
- children: [{
- path: 'uploadPolicyRelease',
- name: '政策发布>附件上传',
- meta: {
- i18n: 'index',
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/resource/uploadPolicyRelease')
- }]
+ path: 'detail/:processInstanceId/:businessId',
+ name: '请假流程详情',
+ meta: {
+ i18n: 'work'
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/work/process/leave/detail')
+ }]
+}, {
+ path: '/securityAnalysis',
+ component: Layout,
+ redirect: '/securityAnalysis/index',
+ children: [{
+ path: 'index',
+ name: '保安单位情况智能分析',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/securityAnalysis/index')
+ }]
+}, {
+ path: '/recruitmentManagement',
+ component: Layout,
+ redirect: '/recruitmentManagement/index',
+ children: [{
+ path: 'index',
+ name: '招聘管理',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/recruitmentManagement/index')
+ }]
+}, {
+ path: '/securityUnit',
+ component: Layout,
+ redirect: '/securityUnit/index',
+ children: [{
+ path: 'index',
+ name: '保安单位信息',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/securityUnit/index')
+ }]
+}, {
+ path: '/securityGuard',
+ component: Layout,
+ redirect: '/securityGuard/securityGuard',
+ children: [{
+ path: 'index',
+ name: '保安员管理',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/securityGuard/securityGuard')
+ }]
+}, {
+ path: '/securityGuardOnce',
+ component: Layout,
+ redirect: '/securityGuard/securityGuardOnce',
+ children: [{
+ path: 'index',
+ name: '保安员查询',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/securityGuard/securityGuardOnce')
+ }]
+}, {
+ path: '/securityGuardDetail',
+ component: Layout,
+ redirect: '/securityGuardDetail/index',
+ children: [{
+ path: 'index',
+ name: '保安员详情',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/securityGuard/securityGuardDetail')
+ }]
+}, {
+ path: '/resource',
+ component: Layout,
+ redirect: '/resource/attach',
+ children: [{
+ path: 'attach',
+ name: '附件上传',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/resource/attach')
+ }]
+}, {
+ path: '/securityUnitChild',
+ component: Layout,
+ redirect: '/securityUnitChild/index',
+ children: [{
+ path: 'index',
+ name: '保安单位详情',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/securityUnitChild/index')
+ }]
+}, {
+ path: '/securityGuard',
+ component: Layout,
+ redirect: '/securityGuard/securityGuard',
+ children: [{
+ path: 'index',
+ name: '保安员管理',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/securityGuard/securityGuard')
+ }]
+},
+// {
+// path: '/dispatch/dispatch',
+// component: Layout,
+// redirect: '/dispatch/dispatch',
+// children: [{
+// path: 'index',
+// name: '派遣服务管理',
+// meta: {
+// i18n: 'dict'
+// },
+// component: () =>
+// import( /* webpackChunkName: "views" */ '@/views/dispatch/dispatch')
+// }]
+// },
+{
+ path: '/desk',
+ component: Layout,
+ redirect: '/desk/notice',
+ children: [{
+ path: 'index',
+ name: '通知公告',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/desk/notice')
+ }]
+},
+{
+ path: '/talk',
+ component: Layout,
+ redirect: '/talk/talk',
+ children: [{
+ path: 'index',
+ name: '心理咨询',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/talk/talk')
+ }]
+},
+{
+ path: '/workreport',
+ component: Layout,
+ redirect: '/workreport/workreport',
+ children: [{
+ path: 'workreport',
+ name: '发起的汇报',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/workreport/workreport')
+ }]
+},
+{
+ path: '/workreport',
+ component: Layout,
+ redirect: '/workreport/workreply',
+ children: [{
+ path: 'workreply',
+ name: '接收的汇报',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/workreport/workreply')
+ }]
+}, {
+ path: '/resource',
+ component: Layout,
+ redirect: '/resource/attachCopy',
+ children: [{
+ path: 'attachCopy',
+ name: '保安单位附件上传',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/resource/attachCopy')
+ }]
+},
+// {
+// path: '/dispatch',
+// component: Layout,
+// redirect: '/dispatch/dispatch',
+// children: [{
+// path: 'dispatch',
+// name: '派遣单位管理',
+// meta: {
+// i18n: 'dispatch'
+// },
+// component: () =>
+// import( /* webpackChunkName: "views" */ '@/views/dispatch/dispatch')
+// }, {
+// path: 'dispatchChildoperable',
+// name: '派遣记录管理',
+// meta: {
+// i18n: 'dispatch'
+// },
+// component: () =>
+// import( /* webpackChunkName: "views" */ '@/views/dispatch/dispatchChildoperable')
+// }]
+// },
+// {
+// path: '/dispatchChild',
+// component: Layout,
+// redirect: '/dispatchChild/index',
+// children: [{
+// path: 'index',
+// name: '派遣服务记录',
+// meta: {
+// i18n: 'dict'
+// },
+// component: () =>
+// import( /* webpackChunkName: "views" */ '@/views/dispatchChild/index')
+// }]
+// },
+// {
+// path: '/equipments',
+// component: Layout,
+// redirect: '/equipments/index',
+// children: [{
+// path: 'index',
+// name: '保安公司装备管理',
+// meta: {
+// i18n: 'dict'
+// },
+// component: () =>
+// import( /* webpackChunkName: "views" */ '@/views/equipments/index')
+// }]
+// }, {
+// path: '/car',
+// component: Layout,
+// redirect: '/car/index',
+// children: [{
+// path: 'index',
+// name: '保安公司车辆管理',
+// meta: {
+// i18n: 'dict'
+// },
+// component: () =>
+// import( /* webpackChunkName: "views" */ '@/views/car/index')
+// }]
+// }, {
+// path: '/gun',
+// component: Layout,
+// redirect: '/gun/index',
+// children: [{
+// path: 'index',
+// name: '保安公司枪支管理',
+// meta: {
+// i18n: 'dict'
+// },
+// component: () =>
+// import( /* webpackChunkName: "views" */ '@/views/gun/index')
+// }]
+// },
+// {
+// path: '/securityEquipment',
+// component: Layout,
+// redirect: '/securityEquipment',
+// children: [{
+// path: 'equipments',
+// name: '装备管理',
+// meta: {
+// i18n: 'securityEquipment'
+// },
+// component: () =>
+// import( /* webpackChunkName: "views" */ '@/views/securityEquipment/equipments')
+// }, {
+// path: 'car',
+// name: '车辆管理',
+// meta: {
+// i18n: 'car'
+// },
+// component: () =>
+// import( /* webpackChunkName: "views" */ '@/views/securityEquipment/car')
+// }, {
+// path: 'gun',
+// name: '车辆管理',
+// meta: {
+// i18n: 'gun'
+// },
+// component: () =>
+// import( /* webpackChunkName: "views" */ '@/views/securityEquipment/gun')
+// }]
+// },
+// {
+// path: '/trainingRegistration',
+// component: Layout,
+// redirect: '/trainingRegistration/index',
+// children: [{
+// path: 'index',
+// name: '保安培训报名管理',
+// meta: {
+// i18n: 'dict'
+// },
+// component: () =>
+// import ( /* webpackChunkName: "views" */ '@/views/trainingRegistration/index')
+// }]
+// },
+{
+ path: '/securityAnalysis',
+ component: Layout,
+ redirect: '/securityAnalysis/index',
+ children: [{
+ path: 'index',
+ name: '保安单位情况智能分析',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/securityAnalysis/index')
+ }]
+}, {
+ path: '/recruitmentManagement',
+ component: Layout,
+ redirect: '/recruitmentManagement/index',
+ children: [{
+ path: 'index',
+ name: '招聘管理',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/recruitmentManagement/index')
+ }]
+}, {
+ path: '/ownerFeedback',
+ component: Layout,
+ redirect: '/ownerFeedback/index',
+ children: [{
+ path: 'index',
+ name: '业主反馈',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/ownerFeedback/owner')
+ }]
+}, {
+ path: '/securityUnit',
+ component: Layout,
+ redirect: '/securityUnit/index',
+ children: [{
+ path: 'index',
+ name: '保安单位信息',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/securityUnit/index')
+ }]
+}, {
+ path: '/securityGuard',
+ component: Layout,
+ redirect: '/securityGuard/securityGuard',
+ children: [{
+ path: 'index',
+ name: '保安员查询',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/securityGuard/securityGuard')
+ }]
+}, {
+ path: '/securityGuardDetail',
+ component: Layout,
+ redirect: '/securityGuardDetail/index',
+ children: [{
+ path: 'index',
+ name: '保安员详情',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/securityGuard/securityGuardDetail')
+ }]
+}, {
+ path: '/resource',
+ component: Layout,
+ redirect: '/resource/attach',
+ children: [{
+ path: 'attach',
+ name: '附件上传',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/resource/attach')
+ }]
+}, {
+ path: '/securityUnitChild',
+ component: Layout,
+ redirect: '/securityUnitChild/index',
+ children: [{
+ path: 'index',
+ name: '保安单位详情',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/securityUnitChild/index')
+ }]
+}, {
+ path: '/securityGuard',
+ component: Layout,
+ redirect: '/securityGuard/securityGuard',
+ children: [{
+ path: 'index',
+ name: '保安员管理',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/securityGuard/securityGuard')
+ }]
+},
+// {
+// path: '/dispatch/dispatch',
+// component: Layout,
+// redirect: '/dispatch/dispatch',
+// children: [{
+// path: 'index',
+// name: '派遣服务管理',
+// meta: {
+// i18n: 'dict'
+// },
+// component: () =>
+// import( /* webpackChunkName: "views" */ '@/views/dispatch/dispatch')
+// }]
+// },
+{
+ path: '/desk',
+ component: Layout,
+ redirect: '/desk/notice',
+ children: [{
+ path: 'index',
+ name: '通知公告',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/desk/notice')
+ }]
+}, {
+ path: '/dispatch',
+ component: Layout,
+ redirect: '/dispatch/dispatch',
+ children: [{
+ path: 'dispatch',
+ name: '派遣单位管理',
+ meta: {
+ i18n: 'dispatch'
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/dispatch/dispatch')
}, {
- path: '/securityMan',
- redirect: '/securityMan/index',
- component: Layout,
- children: [{
- path: 'index',
- name: '保安员信息',
- meta: {
- i18n: 'index',
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/securityMan/index')
- }]
- }, {
- path: '/attachOnce',
- redirect: '/resource/attachOnce',
- component: Layout,
- children: [{
- path: 'index',
- name: '附件查看',
- meta: {
- i18n: 'index',
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/resource/attachOnce')
- }]
- }, {
- path: '/resource',
- redirect: '/resource/uploadNotification',
- component: Layout,
- children: [{
- path: 'uploadNotification',
- name: '通知通报>附件上传',
- meta: {
- i18n: 'index',
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/resource/uploadNotification')
- }]
- },
+ path: 'dispatchChildoperable',
+ name: '派遣记录管理',
+ meta: {
+ i18n: 'dispatch'
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/dispatch/dispatchChildoperable')
+ }]
+}, {
+ path: '/dispatchChild',
+ component: Layout,
+ redirect: '/dispatchChild/index',
+ children: [{
+ path: 'index',
+ name: '派遣服务记录',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/dispatchChild/index')
+ }]
+}, {
+ path: '/applyexam',
+ redirect: '/applyexam/papers',
+ component: Layout,
+ children: [{
+ path: 'papers',
+ name: '准考证信息',
+ meta: {
+ i18n: 'index',
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/applyexam/papers')
+ }]
+},
+// {
+// path: '/equipments',
+// component: Layout,
+// redirect: '/equipments/index',
+// children: [{
+// path: 'index',
+// name: '保安公司装备管理',
+// meta: {
+// i18n: 'dict'
+// },
+// component: () =>
+// import( /* webpackChunkName: "views" */ '@/views/equipments/index')
+// }]
+// }, {
+// path: '/car',
+// component: Layout,
+// redirect: '/car/index',
+// children: [{
+// path: 'index',
+// name: '保安公司车辆管理',
+// meta: {
+// i18n: 'dict'
+// },
+// component: () =>
+// import( /* webpackChunkName: "views" */ '@/views/car/index')
+// }]
+// }, {
+// path: '/gun',
+// component: Layout,
+// redirect: '/gun/index',
+// children: [{
+// path: 'index',
+// name: '保安公司枪支管理',
+// meta: {
+// i18n: 'dict'
+// },
+// component: () =>
+// import( /* webpackChunkName: "views" */ '@/views/gun/index')
+// }]
+// },
+// {
+// path: '/securityEquipment',
+// component: Layout,
+// redirect: '/securityEquipment',
+// children: [{
+// path: 'equipments',
+// name: '装备管理',
+// meta: {
+// i18n: 'securityEquipment'
+// },
+// component: () =>
+// import( /* webpackChunkName: "views" */ '@/views/securityEquipment/equipments')
+// }, {
+// path: 'car',
+// name: '车辆管理',
+// meta: {
+// i18n: 'car'
+// },
+// component: () =>
+// import( /* webpackChunkName: "views" */ '@/views/securityEquipment/car')
+// }, {
+// path: 'gun',
+// name: '车辆管理',
+// meta: {
+// i18n: 'gun'
+// },
+// component: () =>
+// import( /* webpackChunkName: "views" */ '@/views/securityEquipment/gun')
+// }]
+// },
+// {
+// path: '/trainingRegistration',
+// component: Layout,
+// redirect: '/trainingRegistration/index',
+// children: [{
+// path: 'index',
+// name: '保安培训报名',
+// meta: {
+// i18n: 'dict'
+// },
+// component: () =>
+// import ( /* webpackChunkName: "views" */ '@/views/trainingRegistration/index')
+// }]
+// },
+// {
+// path: '/trainExam',
+// component: Layout,
+// redirect: '/trainExam/index',
+// children: [{
+// path: 'index',
+// name: '考试申请',
+// meta: {
+// i18n: 'dict'
+// },
+// component: () =>
+// import ( /* webpackChunkName: "views" */ '@/views/trainExam/index')
+// }]
+// },
+// {
+// path: '/applyexam',
+// redirect: '/applyexam/index',
+// component: Layout,
+// children: [{
+// path: 'index',
+// name: '报名考试',
+// meta: {
+// i18n: 'index',
+// },
+// component: () =>
+// import( /* webpackChunkName: "views" */ '@/views/applyexam/index')
+// }]
+// },
+{
+ path: '/applydetailed',
+ redirect: '/applydetailed/index',
+ component: Layout,
+ children: [{
+ path: 'index',
+ name: '报名清册',
+ meta: {
+ i18n: 'index',
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/applydetailed/index')
+ }]
+},
+{
+ path: '/trainApply',
+ redirect: '/trainApply/index',
+ component: Layout,
+ children: [{
+ path: 'index',
+ name: '报名清册',
+ meta: {
+ i18n: 'index',
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/trainApply/index')
+ }]
+},
+{
+ path: '/startexam',
+ redirect: '/startexam/index',
+ component: Layout,
+ children: [{
+ path: 'index',
+ name: '开始考试',
+ meta: {
+ i18n: 'index',
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/startexam/index')
+ }]
+},
+{
+ path: '/titleDetails',
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/exam/topicDetails')
+},
+{
+ path: '',
+ component: Layout,
+ children: [{
+ path: '/exam/subjects/:id',
+ component: () =>
+ import('@/views/exam/examSubjects'),
+ name: '题目管理',
+ title: '题目管理',
+ noCache: true
+ }]
+},
+{
+ path: '',
+ component: Layout,
+ children: [{
+ path: '/startexam/:id',
+ component: () =>
+ import('@/views/startexam/index'),
+ name: '开始考试',
+ title: '开始考试',
+ noCache: true
+ }]
+},
+// {
+// path: '/traincompany',
+// component: Layout,
+// redirect: '/traincompany/index',
+// children: [{
+// path: 'index',
+// name: '培训公司查询',
+// meta: {
+// i18n: 'dict'
+// },
+// component: () =>
+// import ( /* webpackChunkName: "views" */ '@/views/traincompany/index')
+// }]
+// },
+{
+ path: '/dispatchChildoperableSee',
+ component: Layout,
+ redirect: '/dispatchChildoperableSee/index',
+ children: [{
+ path: 'index',
+ name: '派遣记录',
+ meta: {
+ i18n: 'index'
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/dispatch/dispatchChildoperableSee')
+ }]
+},
+{
+ path: '/expression',
+ component: Layout,
+ redirect: '/expression/index',
+ children: [{
+ path: 'index',
+ name: '表现记录',
+ meta: {
+ i18n: 'index'
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/people/expression')
+ }]
+}, {
+ path: '/job',
+ component: Layout,
+ redirect: '/job/index',
+ children: [{
+ path: 'index',
+ name: '从业记录',
+ meta: {
+ i18n: 'index'
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/people/job')
+ }]
+}, {
+ path: '/resource',
+ redirect: '/resource/uploadNotice',
+ component: Layout,
+ children: [{
+ path: 'uploadNotice',
+ name: '通知公告>附件上传',
+ meta: {
+ i18n: 'index',
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/resource/uploadNotice')
+ }]
+},
+{
+ path: '/applydetailed',
+ redirect: '/applydetailed/papers',
+ component: Layout,
+ children: [{
+ path: 'papers',
+ name: '报名清册信息',
+ meta: {
+ i18n: 'index',
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/applydetailed/papers')
+ }]
+},
+{
+ path: '/exam',
+ redirect: '/exam/papers',
+ component: Layout,
+ children: [{
+ path: 'papers',
+ name: '保安证',
+ meta: {
+ i18n: 'index',
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/exam/papers')
+ }]
+}, {
+ path: '/resource',
+ redirect: '/resource/uploadPolicyRelease',
+ component: Layout,
+ children: [{
+ path: 'uploadPolicyRelease',
+ name: '政策发布>附件上传',
+ meta: {
+ i18n: 'index',
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/resource/uploadPolicyRelease')
+ }]
+}, {
+ path: '/securityMan',
+ redirect: '/securityMan/index',
+ component: Layout,
+ children: [{
+ path: 'index',
+ name: '保安员信息',
+ meta: {
+ i18n: 'index',
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/securityMan/index')
+ }]
+}, {
+ path: '/attachOnce',
+ redirect: '/resource/attachOnce',
+ component: Layout,
+ children: [{
+ path: 'index',
+ name: '附件查看',
+ meta: {
+ i18n: 'index',
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/resource/attachOnce')
+ }]
+}, {
+ path: '/resource',
+ redirect: '/resource/uploadNotification',
+ component: Layout,
+ children: [{
+ path: 'uploadNotification',
+ name: '通知通报>附件上传',
+ meta: {
+ i18n: 'index',
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/resource/uploadNotification')
+ }]
+},
]
\ No newline at end of file
diff --git a/src/views/talk/talk.vue b/src/views/talk/talk.vue
index 41f0917..6c1bc57 100644
--- a/src/views/talk/talk.vue
+++ b/src/views/talk/talk.vue
@@ -26,7 +26,7 @@
@refresh-change="refreshChange"
@on-load="onLoad"
>
- <template slot-scope="{ disabled, size }" slot="realNameSearch">
+ <!-- <template slot-scope="{ disabled, size }" slot="realNameSearch">
<el-input
placeholder="姓名"
:disabled="disabled"
@@ -35,7 +35,7 @@
v-on:input="inputs(findName)"
v-model="findName"
></el-input>
- </template>
+ </template> -->
<template slot="menuLeft">
<el-button
type="danger"
@@ -44,7 +44,7 @@
plain
v-if="permission.talk_delete"
@click="handleDelete"
- >删 除
+ >删 除
</el-button>
</template>
</avue-crud>
@@ -52,8 +52,8 @@
</template>
<script>
-import {getList, getDetail, add, update, remove} from "@/api/talk/talk";
-import {mapGetters} from "vuex";
+import { getList, getDetail, add, update, remove } from "@/api/talk/talk";
+import { mapGetters } from "vuex";
export default {
data() {
@@ -100,19 +100,19 @@
prop: "realName",
search: true,
// type: "tree",
- searchslot: true,
+ // searchslot: true,
// dicUrl: `/api/blade-user/selectInr?deptid=` + id,
// props: {
// label: "realName",
// value: "id",
// },
- // rules: [
- // {
- // required: true,
- // message: "请输入谈话对象",
- // trigger: "blur",
- // },
- // ],
+ rules: [
+ {
+ required: true,
+ message: "请输入谈话对象",
+ trigger: "blur",
+ },
+ ],
},
{
label: "谈话内容",
@@ -162,17 +162,17 @@
],
},
{
- label: '图片',
- prop: 'imgurl',
+ label: "图片",
+ prop: "imgurl",
// dataType: 'string',
- type: 'upload',
+ type: "upload",
propsHttp: {
- res: 'data'
+ res: "data",
},
span: 24,
- listType: 'picture-card',
- tip: '只能上传jpg/png文件,且不超过500kb',
- action: '/api/blade-resource/oss/endpoint/put-files-talk?file='
+ listType: "picture-card",
+ tip: "只能上传jpg/png文件,且不超过500kb",
+ action: "/api/blade-resource/oss/endpoint/put-files-talk?file=",
},
],
},
@@ -198,18 +198,18 @@
},
},
methods: {
- // searchChange(params, done) {
- // console.log(params);
- // done();
- // this.$message.success(JSON.stringify(params));
- // },
+ searchChange(params, done) {
+ // console.log(params);
+ this.onLoad(this.page, params);
+ done();
+ },
rowSave(row, done, loading) {
var d = [];
for (var k in row.imgurl) {
d.push(row.imgurl[k].value);
}
- row.imgurl = d.join(',');
+ row.imgurl = d.join(",");
row.deptid = this.$store.getters.userInfo.dept_id;
add(row).then(
() => {
@@ -292,16 +292,6 @@
searchReset() {
this.query = {};
this.onLoad(this.page);
- },
- searchChange(params, done) {
- console.log(params);
- // this.query = params;
- // this.page.currentPage = 1;
- // this.onLoad(this.page, params);
- done();
- },
- inputs(val) {
- console.log(val);
},
selectionChange(list) {
this.selectionList = list;
--
Gitblit v1.9.3