vue2-client 1.10.16 → 1.10.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.cursorrules +19 -19
- package/package.json +1 -1
- package/public/index.html +27 -27
- package/src/base-client/components/common/Upload/Upload.vue +322 -322
- package/src/base-client/components/common/XAddNativeForm/XAddNativeForm.vue +1141 -1113
- package/src/base-client/components/common/XAddNativeForm/demo.vue +34 -34
- package/src/base-client/components/common/XForm/XFormItem.vue +1286 -1286
- package/src/base-client/components/common/XFormTable/XFormTable.vue +854 -854
- package/src/base-client/components/common/XPrint/Demo.vue +41 -41
- package/src/base-client/components/common/XSimpleDescriptions/XSimpleDescriptions.vue +166 -166
- package/src/base-client/components/layout/XPageView/XPageView.vue +155 -155
- package/src/components/HeightScanner/index.vue +572 -572
- package/src/config/CreateQueryConfig.js +325 -325
- package/src/main.js +34 -34
- package/src/pages/WorkflowDetail/WorkflowDetail.vue +230 -230
- package/src/pages/WorkflowDetail/WorkflowPageDetail/WorkFlowHandle.vue +864 -864
- package/src/pages/XTreeOneProExample/index.vue +67 -67
- package/src/router/async/router.map.js +188 -188
- package/src/services/api/workFlow.js +63 -63
- package/src/utils/util.js +329 -329
- package/vue.config.js +213 -213
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<x-tree-view ref="xTreeView" @itemChecked="itemChecked">
|
|
3
|
-
<x-add-native-form ref="nativeForm" />
|
|
4
|
-
</x-tree-view>
|
|
5
|
-
</template>
|
|
6
|
-
|
|
7
|
-
<script>
|
|
8
|
-
|
|
9
|
-
import XTreeView from '@vue2-client/base-client/components/layout/XTreeView'
|
|
10
|
-
import { mapState } from 'vuex'
|
|
11
|
-
import XAddNativeForm from '@vue2-client/base-client/components/common/XAddNativeForm/XAddNativeForm.vue'
|
|
12
|
-
import { getConfigByName } from '@vue2-client/services/api/common'
|
|
13
|
-
|
|
14
|
-
export default {
|
|
15
|
-
components: {
|
|
16
|
-
XAddNativeForm,
|
|
17
|
-
XTreeView,
|
|
18
|
-
},
|
|
19
|
-
data () {
|
|
20
|
-
return {
|
|
21
|
-
currentItem: undefined,
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
computed: {
|
|
25
|
-
...mapState('account', { currUser: 'user' }),
|
|
26
|
-
...mapState('setting', ['isMobile'])
|
|
27
|
-
},
|
|
28
|
-
mounted () {
|
|
29
|
-
this.initView()
|
|
30
|
-
},
|
|
31
|
-
methods: {
|
|
32
|
-
// 初始化组件
|
|
33
|
-
initView () {
|
|
34
|
-
this.$refs.xTreeView.init({
|
|
35
|
-
configName: 'templateTreeConfig',
|
|
36
|
-
serviceName: 'af-his',
|
|
37
|
-
env: 'dev',
|
|
38
|
-
})
|
|
39
|
-
},
|
|
40
|
-
itemChecked (node) {
|
|
41
|
-
this.currentItem = node
|
|
42
|
-
if (node.type === 'all' || node.type === 'folder') {
|
|
43
|
-
this.$refs.nativeForm.close()
|
|
44
|
-
return
|
|
45
|
-
}
|
|
46
|
-
getConfigByName('编辑模板数据Form', 'af-his', (res) => {
|
|
47
|
-
this.$refs.nativeForm.init({
|
|
48
|
-
serviceName: 'af-his',
|
|
49
|
-
formItems: res.formJson,
|
|
50
|
-
showSubmitBtn: false,
|
|
51
|
-
title: '收费',
|
|
52
|
-
businessType: '新增',
|
|
53
|
-
getDataParams: {
|
|
54
|
-
content: {
|
|
55
|
-
pms_patient_id: 1,
|
|
56
|
-
template_id: node.id
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
})
|
|
60
|
-
})
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
</script>
|
|
65
|
-
|
|
66
|
-
<style>
|
|
67
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<x-tree-view ref="xTreeView" @itemChecked="itemChecked">
|
|
3
|
+
<x-add-native-form ref="nativeForm" />
|
|
4
|
+
</x-tree-view>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script>
|
|
8
|
+
|
|
9
|
+
import XTreeView from '@vue2-client/base-client/components/layout/XTreeView'
|
|
10
|
+
import { mapState } from 'vuex'
|
|
11
|
+
import XAddNativeForm from '@vue2-client/base-client/components/common/XAddNativeForm/XAddNativeForm.vue'
|
|
12
|
+
import { getConfigByName } from '@vue2-client/services/api/common'
|
|
13
|
+
|
|
14
|
+
export default {
|
|
15
|
+
components: {
|
|
16
|
+
XAddNativeForm,
|
|
17
|
+
XTreeView,
|
|
18
|
+
},
|
|
19
|
+
data () {
|
|
20
|
+
return {
|
|
21
|
+
currentItem: undefined,
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
computed: {
|
|
25
|
+
...mapState('account', { currUser: 'user' }),
|
|
26
|
+
...mapState('setting', ['isMobile'])
|
|
27
|
+
},
|
|
28
|
+
mounted () {
|
|
29
|
+
this.initView()
|
|
30
|
+
},
|
|
31
|
+
methods: {
|
|
32
|
+
// 初始化组件
|
|
33
|
+
initView () {
|
|
34
|
+
this.$refs.xTreeView.init({
|
|
35
|
+
configName: 'templateTreeConfig',
|
|
36
|
+
serviceName: 'af-his',
|
|
37
|
+
env: 'dev',
|
|
38
|
+
})
|
|
39
|
+
},
|
|
40
|
+
itemChecked (node) {
|
|
41
|
+
this.currentItem = node
|
|
42
|
+
if (node.type === 'all' || node.type === 'folder') {
|
|
43
|
+
this.$refs.nativeForm.close()
|
|
44
|
+
return
|
|
45
|
+
}
|
|
46
|
+
getConfigByName('编辑模板数据Form', 'af-his', (res) => {
|
|
47
|
+
this.$refs.nativeForm.init({
|
|
48
|
+
serviceName: 'af-his',
|
|
49
|
+
formItems: res.formJson,
|
|
50
|
+
showSubmitBtn: false,
|
|
51
|
+
title: '收费',
|
|
52
|
+
businessType: '新增',
|
|
53
|
+
getDataParams: {
|
|
54
|
+
content: {
|
|
55
|
+
pms_patient_id: 1,
|
|
56
|
+
template_id: node.id
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
})
|
|
60
|
+
})
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
</script>
|
|
65
|
+
|
|
66
|
+
<style>
|
|
67
|
+
</style>
|
|
@@ -1,188 +1,188 @@
|
|
|
1
|
-
const { homePage } = require('../../config')
|
|
2
|
-
// 视图组件
|
|
3
|
-
const view = {
|
|
4
|
-
tabs: () =>
|
|
5
|
-
import('@vue2-client/layouts/tabs'),
|
|
6
|
-
blank: () =>
|
|
7
|
-
import('@vue2-client/layouts/BlankView'),
|
|
8
|
-
page: () =>
|
|
9
|
-
import('@vue2-client/layouts/PageView'),
|
|
10
|
-
// his-web$ceshiGrid?type=GridView&configName=RxPreparedMed
|
|
11
|
-
gridView: () =>
|
|
12
|
-
import('@vue2-client/layouts/GridView'),
|
|
13
|
-
login: () =>
|
|
14
|
-
import('@vue2-client/pages/login/Login'),
|
|
15
|
-
loginv3: () =>
|
|
16
|
-
import('@vue2-client/pages/login/LoginV3')
|
|
17
|
-
}
|
|
18
|
-
// 动态路由对象定义
|
|
19
|
-
const routerResource = {}
|
|
20
|
-
// --------------------------------------基本视图组件--------------------------------------
|
|
21
|
-
// 空白视图
|
|
22
|
-
routerResource.blank = view.blank
|
|
23
|
-
// 单页面视图
|
|
24
|
-
routerResource.singlePage = view.blank
|
|
25
|
-
// 栅格配置视图
|
|
26
|
-
routerResource.gridView = view.gridView
|
|
27
|
-
|
|
28
|
-
// --------------------------------------仪表盘--------------------------------------
|
|
29
|
-
routerResource.dashboard = view.blank
|
|
30
|
-
// 工作台
|
|
31
|
-
routerResource.workplace = () =>
|
|
32
|
-
import('@vue2-client/pages/dashboard/workplace')
|
|
33
|
-
// --------------------------------------系统配置--------------------------------------
|
|
34
|
-
routerResource.system = view.blank
|
|
35
|
-
// 字典管理
|
|
36
|
-
routerResource.dictionaryManage = () =>
|
|
37
|
-
import('@vue2-client/pages/system/dictionary')
|
|
38
|
-
// 文件管理
|
|
39
|
-
routerResource.fileManager = () =>
|
|
40
|
-
import('@vue2-client/pages/system/file')
|
|
41
|
-
// 登录日志
|
|
42
|
-
routerResource.loginInfor = () =>
|
|
43
|
-
import('@vue2-client/pages/system/monitor/loginInfor')
|
|
44
|
-
// 操作日志
|
|
45
|
-
routerResource.operLog = () =>
|
|
46
|
-
import('@vue2-client/pages/system/monitor/operLog')
|
|
47
|
-
// 系统问题反馈工单
|
|
48
|
-
routerResource.submitTicket = () =>
|
|
49
|
-
import('@vue2-client/pages/system/ticket')
|
|
50
|
-
// 通用服务评价
|
|
51
|
-
routerResource.ServiceReview = () =>
|
|
52
|
-
import('@vue2-client/pages/ServiceReview')
|
|
53
|
-
// 系统设置
|
|
54
|
-
routerResource.settings = () =>
|
|
55
|
-
import('@vue2-client/pages/system/settings')
|
|
56
|
-
// AMIS示例页面
|
|
57
|
-
routerResource.amisDemo = () =>
|
|
58
|
-
import('@vue2-client/pages/AMisDemo/AMisDemo')
|
|
59
|
-
// 页面编辑器
|
|
60
|
-
routerResource.editablePage = () =>
|
|
61
|
-
import('@vue2-client/pages/lowCode/lowCodeEditor.vue')
|
|
62
|
-
// 数据检索
|
|
63
|
-
routerResource.dynamicStatistics = () =>
|
|
64
|
-
import('@vue2-client/pages/DynamicStatistics')
|
|
65
|
-
// 数据检索(新)
|
|
66
|
-
routerResource.newDynamicStatistics = () =>
|
|
67
|
-
import('@vue2-client/pages/NewDynamicStatistics')
|
|
68
|
-
// 示例页面
|
|
69
|
-
routerResource.example = {
|
|
70
|
-
path: 'example',
|
|
71
|
-
name: '示例主页面',
|
|
72
|
-
component: () => import('@vue2-client/pages/Example'),
|
|
73
|
-
children: [
|
|
74
|
-
{
|
|
75
|
-
path: '',
|
|
76
|
-
name: '示例页面2',
|
|
77
|
-
redirect: 'default',
|
|
78
|
-
meta: {
|
|
79
|
-
// 菜单中不显示
|
|
80
|
-
invisible: true,
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
path: 'default',
|
|
85
|
-
name: '示例页面',
|
|
86
|
-
component: () => import('@vue2-client/base-client/components/common/XAddNativeForm/demo.vue'),
|
|
87
|
-
// component: () => import('@vue2-client/base-client/components/common/XFormGroup/demo.vue'),
|
|
88
|
-
// component: () => import('@vue2-client/base-client/components/common/XReport/XReportDemo.vue'),
|
|
89
|
-
// component: () => import('@vue2-client/base-client/components/common/XFormTable/demo.vue'),
|
|
90
|
-
// component: () => import('@vue2-client/base-client/components/common/XDatePicker/demo.vue'),
|
|
91
|
-
// component: () => import('@vue2-client/base-client/components/common/XTab/XTabDemo.vue'),
|
|
92
|
-
// component: () => import('@vue2-client/base-client/components/common/XReportGrid/XReportDemo.vue'),
|
|
93
|
-
// component: () => import('@vue2-client/pages/WorkflowDetail/WorkFlowDemo.vue'),
|
|
94
|
-
// component: () => import('@vue2-client/base-client/components/common/XConversation/XConversationDemo.vue'),
|
|
95
|
-
// component: () => import('@vue2-client/base-client/components/common/XButtons/XButtonDemo.vue'),
|
|
96
|
-
// component: () => import('@vue2-client/base-client/components/common/XLabelSelect/XLabelSelectDemo.vue'),
|
|
97
|
-
// component: () => import('@vue2-client/base-client/components/common/XCheckList/XCheckList.vue'),
|
|
98
|
-
// component: () => import('@vue2-client/base-client/components/common/XPrint/Demo.vue'),
|
|
99
|
-
// component: () => import('@vue2-client/base-client/components/AI/demo.vue'),
|
|
100
|
-
// component: () => import('@vue2-client/components/g2Charts/demo.vue'),
|
|
101
|
-
meta: {
|
|
102
|
-
// 菜单中不显示
|
|
103
|
-
invisible: true,
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
path: 'sub-example',
|
|
108
|
-
name: '示例页面1',
|
|
109
|
-
component: () => import('@vue2-client/pages/SubExample'),
|
|
110
|
-
meta: {
|
|
111
|
-
// 菜单中不显示
|
|
112
|
-
invisible: true,
|
|
113
|
-
// 跳转不打开新页签
|
|
114
|
-
noPusTabs: true
|
|
115
|
-
}
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
path: 'x-tree-one-pro-example',
|
|
119
|
-
name: 'TreeView布局示例',
|
|
120
|
-
component: () => import('@vue2-client/pages/XTreeOneProExample'),
|
|
121
|
-
meta: {
|
|
122
|
-
// 菜单中不显示
|
|
123
|
-
invisible: true,
|
|
124
|
-
// 跳转不打开新页签
|
|
125
|
-
noPusTabs: true
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
path: 'page-view-example',
|
|
130
|
-
name: 'PageView示例',
|
|
131
|
-
component: () => import('@vue2-client/pages/XPageViewExample'),
|
|
132
|
-
meta: {
|
|
133
|
-
// 菜单中不显示
|
|
134
|
-
invisible: true,
|
|
135
|
-
// 跳转不打开新页签
|
|
136
|
-
noPusTabs: true
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
|
-
]
|
|
140
|
-
}
|
|
141
|
-
// routerResource.example = () =>
|
|
142
|
-
// import('@vue2-client/pages/Example')
|
|
143
|
-
routerResource.XReportView = () =>
|
|
144
|
-
import('@vue2-client/pages/XReportView')
|
|
145
|
-
|
|
146
|
-
routerResource.XReportGrid = () =>
|
|
147
|
-
import('@vue2-client/base-client/components/common/XReportGrid/XReportDemo')
|
|
148
|
-
|
|
149
|
-
routerResource.XTab = () =>
|
|
150
|
-
import('@vue2-client/base-client/components/common/XTab/XTabDemo')
|
|
151
|
-
|
|
152
|
-
console.log(process.env)
|
|
153
|
-
// 基础路由组件注册
|
|
154
|
-
const routerMap = {
|
|
155
|
-
login: {
|
|
156
|
-
authority: '*',
|
|
157
|
-
path: '/login',
|
|
158
|
-
component: process.env.VUE_APP_LOGIN_VERSION === 'V3'
|
|
159
|
-
? view.loginv3 : view.login
|
|
160
|
-
},
|
|
161
|
-
root: {
|
|
162
|
-
path: '/',
|
|
163
|
-
name: '首页',
|
|
164
|
-
redirect: homePage,
|
|
165
|
-
component: process.env.VUE_APP_SINGLE_PAPER === 'TRUE' ? view.blank : view.tabs,
|
|
166
|
-
},
|
|
167
|
-
exp403: {
|
|
168
|
-
authority: '*',
|
|
169
|
-
name: 'exp403',
|
|
170
|
-
path: '403',
|
|
171
|
-
component: () =>
|
|
172
|
-
import('@vue2-client/pages/exception/403')
|
|
173
|
-
},
|
|
174
|
-
exp404: {
|
|
175
|
-
name: 'exp404',
|
|
176
|
-
path: '404',
|
|
177
|
-
component: () =>
|
|
178
|
-
import('@vue2-client/pages/exception/404')
|
|
179
|
-
},
|
|
180
|
-
exp500: {
|
|
181
|
-
name: 'exp500',
|
|
182
|
-
path: '500',
|
|
183
|
-
component: () =>
|
|
184
|
-
import('@vue2-client/pages/exception/500')
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
Object.assign(routerMap, routerResource)
|
|
188
|
-
export default routerMap
|
|
1
|
+
const { homePage } = require('../../config')
|
|
2
|
+
// 视图组件
|
|
3
|
+
const view = {
|
|
4
|
+
tabs: () =>
|
|
5
|
+
import('@vue2-client/layouts/tabs'),
|
|
6
|
+
blank: () =>
|
|
7
|
+
import('@vue2-client/layouts/BlankView'),
|
|
8
|
+
page: () =>
|
|
9
|
+
import('@vue2-client/layouts/PageView'),
|
|
10
|
+
// his-web$ceshiGrid?type=GridView&configName=RxPreparedMed
|
|
11
|
+
gridView: () =>
|
|
12
|
+
import('@vue2-client/layouts/GridView'),
|
|
13
|
+
login: () =>
|
|
14
|
+
import('@vue2-client/pages/login/Login'),
|
|
15
|
+
loginv3: () =>
|
|
16
|
+
import('@vue2-client/pages/login/LoginV3')
|
|
17
|
+
}
|
|
18
|
+
// 动态路由对象定义
|
|
19
|
+
const routerResource = {}
|
|
20
|
+
// --------------------------------------基本视图组件--------------------------------------
|
|
21
|
+
// 空白视图
|
|
22
|
+
routerResource.blank = view.blank
|
|
23
|
+
// 单页面视图
|
|
24
|
+
routerResource.singlePage = view.blank
|
|
25
|
+
// 栅格配置视图
|
|
26
|
+
routerResource.gridView = view.gridView
|
|
27
|
+
|
|
28
|
+
// --------------------------------------仪表盘--------------------------------------
|
|
29
|
+
routerResource.dashboard = view.blank
|
|
30
|
+
// 工作台
|
|
31
|
+
routerResource.workplace = () =>
|
|
32
|
+
import('@vue2-client/pages/dashboard/workplace')
|
|
33
|
+
// --------------------------------------系统配置--------------------------------------
|
|
34
|
+
routerResource.system = view.blank
|
|
35
|
+
// 字典管理
|
|
36
|
+
routerResource.dictionaryManage = () =>
|
|
37
|
+
import('@vue2-client/pages/system/dictionary')
|
|
38
|
+
// 文件管理
|
|
39
|
+
routerResource.fileManager = () =>
|
|
40
|
+
import('@vue2-client/pages/system/file')
|
|
41
|
+
// 登录日志
|
|
42
|
+
routerResource.loginInfor = () =>
|
|
43
|
+
import('@vue2-client/pages/system/monitor/loginInfor')
|
|
44
|
+
// 操作日志
|
|
45
|
+
routerResource.operLog = () =>
|
|
46
|
+
import('@vue2-client/pages/system/monitor/operLog')
|
|
47
|
+
// 系统问题反馈工单
|
|
48
|
+
routerResource.submitTicket = () =>
|
|
49
|
+
import('@vue2-client/pages/system/ticket')
|
|
50
|
+
// 通用服务评价
|
|
51
|
+
routerResource.ServiceReview = () =>
|
|
52
|
+
import('@vue2-client/pages/ServiceReview')
|
|
53
|
+
// 系统设置
|
|
54
|
+
routerResource.settings = () =>
|
|
55
|
+
import('@vue2-client/pages/system/settings')
|
|
56
|
+
// AMIS示例页面
|
|
57
|
+
routerResource.amisDemo = () =>
|
|
58
|
+
import('@vue2-client/pages/AMisDemo/AMisDemo')
|
|
59
|
+
// 页面编辑器
|
|
60
|
+
routerResource.editablePage = () =>
|
|
61
|
+
import('@vue2-client/pages/lowCode/lowCodeEditor.vue')
|
|
62
|
+
// 数据检索
|
|
63
|
+
routerResource.dynamicStatistics = () =>
|
|
64
|
+
import('@vue2-client/pages/DynamicStatistics')
|
|
65
|
+
// 数据检索(新)
|
|
66
|
+
routerResource.newDynamicStatistics = () =>
|
|
67
|
+
import('@vue2-client/pages/NewDynamicStatistics')
|
|
68
|
+
// 示例页面
|
|
69
|
+
routerResource.example = {
|
|
70
|
+
path: 'example',
|
|
71
|
+
name: '示例主页面',
|
|
72
|
+
component: () => import('@vue2-client/pages/Example'),
|
|
73
|
+
children: [
|
|
74
|
+
{
|
|
75
|
+
path: '',
|
|
76
|
+
name: '示例页面2',
|
|
77
|
+
redirect: 'default',
|
|
78
|
+
meta: {
|
|
79
|
+
// 菜单中不显示
|
|
80
|
+
invisible: true,
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
path: 'default',
|
|
85
|
+
name: '示例页面',
|
|
86
|
+
component: () => import('@vue2-client/base-client/components/common/XAddNativeForm/demo.vue'),
|
|
87
|
+
// component: () => import('@vue2-client/base-client/components/common/XFormGroup/demo.vue'),
|
|
88
|
+
// component: () => import('@vue2-client/base-client/components/common/XReport/XReportDemo.vue'),
|
|
89
|
+
// component: () => import('@vue2-client/base-client/components/common/XFormTable/demo.vue'),
|
|
90
|
+
// component: () => import('@vue2-client/base-client/components/common/XDatePicker/demo.vue'),
|
|
91
|
+
// component: () => import('@vue2-client/base-client/components/common/XTab/XTabDemo.vue'),
|
|
92
|
+
// component: () => import('@vue2-client/base-client/components/common/XReportGrid/XReportDemo.vue'),
|
|
93
|
+
// component: () => import('@vue2-client/pages/WorkflowDetail/WorkFlowDemo.vue'),
|
|
94
|
+
// component: () => import('@vue2-client/base-client/components/common/XConversation/XConversationDemo.vue'),
|
|
95
|
+
// component: () => import('@vue2-client/base-client/components/common/XButtons/XButtonDemo.vue'),
|
|
96
|
+
// component: () => import('@vue2-client/base-client/components/common/XLabelSelect/XLabelSelectDemo.vue'),
|
|
97
|
+
// component: () => import('@vue2-client/base-client/components/common/XCheckList/XCheckList.vue'),
|
|
98
|
+
// component: () => import('@vue2-client/base-client/components/common/XPrint/Demo.vue'),
|
|
99
|
+
// component: () => import('@vue2-client/base-client/components/AI/demo.vue'),
|
|
100
|
+
// component: () => import('@vue2-client/components/g2Charts/demo.vue'),
|
|
101
|
+
meta: {
|
|
102
|
+
// 菜单中不显示
|
|
103
|
+
invisible: true,
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
path: 'sub-example',
|
|
108
|
+
name: '示例页面1',
|
|
109
|
+
component: () => import('@vue2-client/pages/SubExample'),
|
|
110
|
+
meta: {
|
|
111
|
+
// 菜单中不显示
|
|
112
|
+
invisible: true,
|
|
113
|
+
// 跳转不打开新页签
|
|
114
|
+
noPusTabs: true
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
path: 'x-tree-one-pro-example',
|
|
119
|
+
name: 'TreeView布局示例',
|
|
120
|
+
component: () => import('@vue2-client/pages/XTreeOneProExample'),
|
|
121
|
+
meta: {
|
|
122
|
+
// 菜单中不显示
|
|
123
|
+
invisible: true,
|
|
124
|
+
// 跳转不打开新页签
|
|
125
|
+
noPusTabs: true
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
path: 'page-view-example',
|
|
130
|
+
name: 'PageView示例',
|
|
131
|
+
component: () => import('@vue2-client/pages/XPageViewExample'),
|
|
132
|
+
meta: {
|
|
133
|
+
// 菜单中不显示
|
|
134
|
+
invisible: true,
|
|
135
|
+
// 跳转不打开新页签
|
|
136
|
+
noPusTabs: true
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
]
|
|
140
|
+
}
|
|
141
|
+
// routerResource.example = () =>
|
|
142
|
+
// import('@vue2-client/pages/Example')
|
|
143
|
+
routerResource.XReportView = () =>
|
|
144
|
+
import('@vue2-client/pages/XReportView')
|
|
145
|
+
|
|
146
|
+
routerResource.XReportGrid = () =>
|
|
147
|
+
import('@vue2-client/base-client/components/common/XReportGrid/XReportDemo')
|
|
148
|
+
|
|
149
|
+
routerResource.XTab = () =>
|
|
150
|
+
import('@vue2-client/base-client/components/common/XTab/XTabDemo')
|
|
151
|
+
|
|
152
|
+
console.log(process.env)
|
|
153
|
+
// 基础路由组件注册
|
|
154
|
+
const routerMap = {
|
|
155
|
+
login: {
|
|
156
|
+
authority: '*',
|
|
157
|
+
path: '/login',
|
|
158
|
+
component: process.env.VUE_APP_LOGIN_VERSION === 'V3'
|
|
159
|
+
? view.loginv3 : view.login
|
|
160
|
+
},
|
|
161
|
+
root: {
|
|
162
|
+
path: '/',
|
|
163
|
+
name: '首页',
|
|
164
|
+
redirect: homePage,
|
|
165
|
+
component: process.env.VUE_APP_SINGLE_PAPER === 'TRUE' ? view.blank : view.tabs,
|
|
166
|
+
},
|
|
167
|
+
exp403: {
|
|
168
|
+
authority: '*',
|
|
169
|
+
name: 'exp403',
|
|
170
|
+
path: '403',
|
|
171
|
+
component: () =>
|
|
172
|
+
import('@vue2-client/pages/exception/403')
|
|
173
|
+
},
|
|
174
|
+
exp404: {
|
|
175
|
+
name: 'exp404',
|
|
176
|
+
path: '404',
|
|
177
|
+
component: () =>
|
|
178
|
+
import('@vue2-client/pages/exception/404')
|
|
179
|
+
},
|
|
180
|
+
exp500: {
|
|
181
|
+
name: 'exp500',
|
|
182
|
+
path: '500',
|
|
183
|
+
component: () =>
|
|
184
|
+
import('@vue2-client/pages/exception/500')
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
Object.assign(routerMap, routerResource)
|
|
188
|
+
export default routerMap
|
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
// 工单专用api
|
|
2
|
-
const workFlowViewApi = {
|
|
3
|
-
// 查询:获取工作流基本数据
|
|
4
|
-
getWorkFlowBasicInfo: '/logic/getWorkFlowBasicInfo',
|
|
5
|
-
// 保存工作流流程定义
|
|
6
|
-
saveWorkFlowWorkflowDefine: '/logic/saveWorkFlowWorkflowDefine',
|
|
7
|
-
// 获取工作流流程定义
|
|
8
|
-
getWorkFlowDefine: '/logic/getWorkFlowDefine',
|
|
9
|
-
// 获取工作流当前步骤
|
|
10
|
-
getWorkFlowCurrentSubState: '/logic/getWorkFlowCurrentSubState',
|
|
11
|
-
// 保存用户每一步输入的表单内容
|
|
12
|
-
saveWorkFlowStepFormData: '/logic/saveWorkFlowStepFormData',
|
|
13
|
-
// 获取已经完成步骤的用户填写数据
|
|
14
|
-
getWorkFlowCompletedStepData: '/logic/getWorkFlowCompletedStepData',
|
|
15
|
-
// 改变工作流进度
|
|
16
|
-
updateWorkFlowState: '/logic/updateWorkFlowState',
|
|
17
|
-
// 完工确认后更改工作流状态
|
|
18
|
-
afterWorkFlowFinalStepSubmit: '/logic/afterWorkFlowFinalStepSubmit',
|
|
19
|
-
// 获取步骤留言和表单填写人姓名
|
|
20
|
-
getStepNoteAndHandler: '/logic/getStepNoteAndHandler',
|
|
21
|
-
// 更新步骤信息
|
|
22
|
-
updateWorkFlowStepData: '/logic/updateWorkFlowStepData',
|
|
23
|
-
// 保存工作流日志
|
|
24
|
-
saveWorkFlowLog: '/logic/saveWorkFlowLog',
|
|
25
|
-
// 获取工作流日志
|
|
26
|
-
getWorkFlowLog: '/logic/getWorkFlowLog',
|
|
27
|
-
// 获取员工任务详情信息
|
|
28
|
-
getEmployeeTaskDetail: '/logic/getEmployeeTaskDetail',
|
|
29
|
-
// 根据条件查询任务
|
|
30
|
-
getWorkFlowListByCondition: '/logic/getWorkFlowListByCondition',
|
|
31
|
-
// 根据流程名称获取所有步骤名称
|
|
32
|
-
getWorkFlowStepNames: '/logic/getWorkFlowStepNames',
|
|
33
|
-
// 获取工作流任务留言
|
|
34
|
-
getWorkFlowLeaveMessage: '/logic/getWorkFlowLeaveMessage',
|
|
35
|
-
// 更新任务完成时间
|
|
36
|
-
updateWorkFlowCompleteTime: '/logic/updateWorkFlowCompleteTime',
|
|
37
|
-
// 获取任务完成时间更改记录
|
|
38
|
-
getWorkFlowCompleteTimeChange: '/logic/getWorkFlowCompleteTimeChange',
|
|
39
|
-
// 修改工单
|
|
40
|
-
updateWorkFlow: '/logic/updateWorkFlow',
|
|
41
|
-
// 获取工作流流程图设计
|
|
42
|
-
getWorkFlowPaintWorkFlowDefine: '/logic/getWorkFlowPaintWorkFlowDefine',
|
|
43
|
-
// 简单添加字典项
|
|
44
|
-
simpleInsertIntoDictionary: '/logic/simpleInsertIntoDictionary',
|
|
45
|
-
// 删除工作流项目
|
|
46
|
-
deleteWorkFlow: '/logic/deleteWorkFlow',
|
|
47
|
-
// 获取流程分类数据
|
|
48
|
-
getWorkFlowCategoryTree: '/logic/getWorkFlowCategoryTree',
|
|
49
|
-
// 创建任务
|
|
50
|
-
createWorkflowTask: '/logic/createWorkflowTask',
|
|
51
|
-
// 获取部门选择框数据
|
|
52
|
-
getDepartmentList: '/logic/getDepartmentList',
|
|
53
|
-
// 获取人员任务汇总数据
|
|
54
|
-
getEmployeeSummary: '/logic/getEmployeeSummary',
|
|
55
|
-
// 获取逾期任务排行榜
|
|
56
|
-
getOverdueRanking: '/logic/getOverdueRanking',
|
|
57
|
-
// 根据人查询对应的t_workflow_step中字段f_workflow_id的数据组
|
|
58
|
-
getWorkFlowStepWorkFlowId: '/logic/getWorkFlowStepWorkFlowId',
|
|
59
|
-
// 表单提交到下一步
|
|
60
|
-
submitToNextStep: '/logic/submitToNextStep'
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export { workFlowViewApi }
|
|
1
|
+
// 工单专用api
|
|
2
|
+
const workFlowViewApi = {
|
|
3
|
+
// 查询:获取工作流基本数据
|
|
4
|
+
getWorkFlowBasicInfo: '/logic/getWorkFlowBasicInfo',
|
|
5
|
+
// 保存工作流流程定义
|
|
6
|
+
saveWorkFlowWorkflowDefine: '/logic/saveWorkFlowWorkflowDefine',
|
|
7
|
+
// 获取工作流流程定义
|
|
8
|
+
getWorkFlowDefine: '/logic/getWorkFlowDefine',
|
|
9
|
+
// 获取工作流当前步骤
|
|
10
|
+
getWorkFlowCurrentSubState: '/logic/getWorkFlowCurrentSubState',
|
|
11
|
+
// 保存用户每一步输入的表单内容
|
|
12
|
+
saveWorkFlowStepFormData: '/logic/saveWorkFlowStepFormData',
|
|
13
|
+
// 获取已经完成步骤的用户填写数据
|
|
14
|
+
getWorkFlowCompletedStepData: '/logic/getWorkFlowCompletedStepData',
|
|
15
|
+
// 改变工作流进度
|
|
16
|
+
updateWorkFlowState: '/logic/updateWorkFlowState',
|
|
17
|
+
// 完工确认后更改工作流状态
|
|
18
|
+
afterWorkFlowFinalStepSubmit: '/logic/afterWorkFlowFinalStepSubmit',
|
|
19
|
+
// 获取步骤留言和表单填写人姓名
|
|
20
|
+
getStepNoteAndHandler: '/logic/getStepNoteAndHandler',
|
|
21
|
+
// 更新步骤信息
|
|
22
|
+
updateWorkFlowStepData: '/logic/updateWorkFlowStepData',
|
|
23
|
+
// 保存工作流日志
|
|
24
|
+
saveWorkFlowLog: '/logic/saveWorkFlowLog',
|
|
25
|
+
// 获取工作流日志
|
|
26
|
+
getWorkFlowLog: '/logic/getWorkFlowLog',
|
|
27
|
+
// 获取员工任务详情信息
|
|
28
|
+
getEmployeeTaskDetail: '/logic/getEmployeeTaskDetail',
|
|
29
|
+
// 根据条件查询任务
|
|
30
|
+
getWorkFlowListByCondition: '/logic/getWorkFlowListByCondition',
|
|
31
|
+
// 根据流程名称获取所有步骤名称
|
|
32
|
+
getWorkFlowStepNames: '/logic/getWorkFlowStepNames',
|
|
33
|
+
// 获取工作流任务留言
|
|
34
|
+
getWorkFlowLeaveMessage: '/logic/getWorkFlowLeaveMessage',
|
|
35
|
+
// 更新任务完成时间
|
|
36
|
+
updateWorkFlowCompleteTime: '/logic/updateWorkFlowCompleteTime',
|
|
37
|
+
// 获取任务完成时间更改记录
|
|
38
|
+
getWorkFlowCompleteTimeChange: '/logic/getWorkFlowCompleteTimeChange',
|
|
39
|
+
// 修改工单
|
|
40
|
+
updateWorkFlow: '/logic/updateWorkFlow',
|
|
41
|
+
// 获取工作流流程图设计
|
|
42
|
+
getWorkFlowPaintWorkFlowDefine: '/logic/getWorkFlowPaintWorkFlowDefine',
|
|
43
|
+
// 简单添加字典项
|
|
44
|
+
simpleInsertIntoDictionary: '/logic/simpleInsertIntoDictionary',
|
|
45
|
+
// 删除工作流项目
|
|
46
|
+
deleteWorkFlow: '/logic/deleteWorkFlow',
|
|
47
|
+
// 获取流程分类数据
|
|
48
|
+
getWorkFlowCategoryTree: '/logic/getWorkFlowCategoryTree',
|
|
49
|
+
// 创建任务
|
|
50
|
+
createWorkflowTask: '/logic/createWorkflowTask',
|
|
51
|
+
// 获取部门选择框数据
|
|
52
|
+
getDepartmentList: '/logic/getDepartmentList',
|
|
53
|
+
// 获取人员任务汇总数据
|
|
54
|
+
getEmployeeSummary: '/logic/getEmployeeSummary',
|
|
55
|
+
// 获取逾期任务排行榜
|
|
56
|
+
getOverdueRanking: '/logic/getOverdueRanking',
|
|
57
|
+
// 根据人查询对应的t_workflow_step中字段f_workflow_id的数据组
|
|
58
|
+
getWorkFlowStepWorkFlowId: '/logic/getWorkFlowStepWorkFlowId',
|
|
59
|
+
// 表单提交到下一步
|
|
60
|
+
submitToNextStep: '/logic/submitToNextStep'
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export { workFlowViewApi }
|