jufubao-admin-library 1.1.56 → 1.1.59
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/library/viewModules/viewWalking/router/walking.js +64 -0
- package/library/viewModules/viewWalking/router/walking_config.js +37 -0
- package/library/viewModules/viewWalking/schemas/walking.js +252 -0
- package/library/viewModules/viewWalking/viewWalking/config.vue +563 -0
- package/library/viewModules/viewWalking/viewWalking/create.vue +234 -0
- package/library/viewModules/viewWalking/viewWalking/jbz/XdJbzItem.vue +284 -0
- package/library/viewModules/viewWalking/viewWalking/jbz/XdJbzItemScale.vue +559 -0
- package/library/viewModules/viewWalking/viewWalking/list.vue +441 -0
- package/library/viewModules/viewsCompany/router/mCompany.js +11 -0
- package/library/viewModules/viewsCompany/schemas/mCompany.js +85 -0
- package/library/viewModules/viewsCompany/viewsCompany/app-list.vue +465 -0
- package/library/viewModules/viewsCompany/viewsCompany/list.vue +27 -14
- package/package.json +1 -1
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import Layout from '@/layout'
|
|
2
|
+
|
|
3
|
+
import {setModuleName} from "@/utils/xd.base";
|
|
4
|
+
import roles from '@/constant/permissions';
|
|
5
|
+
const walking = roles.walking
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
const walkingRouter = {
|
|
9
|
+
path: '/walking',
|
|
10
|
+
component: Layout,
|
|
11
|
+
sort: 90,
|
|
12
|
+
name: 'SaaS管理',
|
|
13
|
+
alwaysShow: true,
|
|
14
|
+
// #ifdef saas-admin
|
|
15
|
+
hidden: true,
|
|
16
|
+
// #endif
|
|
17
|
+
redirect: '/walking/list',
|
|
18
|
+
meta: {
|
|
19
|
+
title: 'SaaS管理',
|
|
20
|
+
icon: 'iconhuodongtubiao',
|
|
21
|
+
iconSize: 20,
|
|
22
|
+
roles: [walking.getWalkingList]
|
|
23
|
+
},
|
|
24
|
+
children: [
|
|
25
|
+
// #ifdef admin
|
|
26
|
+
{
|
|
27
|
+
path: 'list',
|
|
28
|
+
name: 'WalkingList',
|
|
29
|
+
component: () => setModuleName(import('@/viewWalking/list'),'WalkingList'),
|
|
30
|
+
meta: {
|
|
31
|
+
title: '健步走',
|
|
32
|
+
icon: 'el-icon-document',
|
|
33
|
+
roles: [walking.getWalkingList]
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
path: 'create',
|
|
38
|
+
name: 'CreateMap',
|
|
39
|
+
hidden: true,
|
|
40
|
+
component: () => setModuleName(import('@/viewWalking/create.vue'),'CreateMap'),
|
|
41
|
+
meta: {
|
|
42
|
+
title: '新增模版',
|
|
43
|
+
icon: 'el-icon-document',
|
|
44
|
+
activeMenu: "/walking/list",
|
|
45
|
+
roles: [walking.createWalkingTemplate]
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
path: 'edit/:id',
|
|
50
|
+
name: 'EditMap',
|
|
51
|
+
component: () => setModuleName(import('@/viewWalking/create.vue'),'EditMap'),
|
|
52
|
+
hidden: true,
|
|
53
|
+
meta: {
|
|
54
|
+
title: '编辑模版',
|
|
55
|
+
icon: 'el-icon-document',
|
|
56
|
+
activeMenu: "/walking/list",
|
|
57
|
+
roles: [walking.editWalkingTemplate]
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
// #endif
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export default walkingRouter
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import Layout from '@/layoutJbz'
|
|
2
|
+
|
|
3
|
+
import {setModuleName} from "@/utils/xd.base";
|
|
4
|
+
import roles from '@/constant/permissions';
|
|
5
|
+
const walking = roles.walking
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
const walkingConfigRouter = {
|
|
9
|
+
path: '/walking_config',
|
|
10
|
+
component: Layout,
|
|
11
|
+
sort: 90,
|
|
12
|
+
name: 'SaaS管理',
|
|
13
|
+
alwaysShow: true,
|
|
14
|
+
hidden: true,
|
|
15
|
+
meta: {
|
|
16
|
+
title: 'SaaS管理',
|
|
17
|
+
icon: 'iconhuodongtubiao',
|
|
18
|
+
iconSize: 20,
|
|
19
|
+
//roles: [greetingCard.getGreetingCardList, greetingCard.setGreetingCardBaseConfig]
|
|
20
|
+
},
|
|
21
|
+
children: [
|
|
22
|
+
{
|
|
23
|
+
path: 'config/:map_id?/:activity_id?',
|
|
24
|
+
name: 'ConfigMap',
|
|
25
|
+
hidden: true,
|
|
26
|
+
component: () => setModuleName(import('@/viewWalking/config.vue'),'ConfigMap'),
|
|
27
|
+
meta: {
|
|
28
|
+
title: '设置点位',
|
|
29
|
+
icon: 'el-icon-document',
|
|
30
|
+
activeMenu: "/walking/list"
|
|
31
|
+
//roles: [greetingCard.getGreetingCardList]
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export default walkingConfigRouter
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
|
|
3
|
+
module.exports = {
|
|
4
|
+
name: 'walking',
|
|
5
|
+
title: '健步走管理',
|
|
6
|
+
vuex: true,
|
|
7
|
+
model: [
|
|
8
|
+
{
|
|
9
|
+
title: '健步走管理 - 列表',
|
|
10
|
+
mapFn: "getWalkingList",
|
|
11
|
+
path: '/@@@/v1/walking/map/items',
|
|
12
|
+
isRule: false,
|
|
13
|
+
data: {
|
|
14
|
+
filters: ['filter', 'Object', '非必填'],
|
|
15
|
+
page_size: ['每页', 'String', '必填'],
|
|
16
|
+
page_token: ['页数', 'String', '必填'],
|
|
17
|
+
},
|
|
18
|
+
disabled: true,
|
|
19
|
+
role: '@@@.WALKING_MAP_ITEM',
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
title: '健步走管理 - 新增模版',
|
|
23
|
+
mapFn: "createWalkingTemplate",
|
|
24
|
+
path: '/@@@/v1/walking/map',
|
|
25
|
+
isRule: false,
|
|
26
|
+
data: {
|
|
27
|
+
item:['模版对象', 'Object', '必填'],
|
|
28
|
+
},
|
|
29
|
+
disabled: true,
|
|
30
|
+
role: '@@@.WALKING_MAP_ADD',
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
title: '健步走管理 - 编辑模版',
|
|
34
|
+
mapFn: "editWalkingTemplate",
|
|
35
|
+
path: '/@@@/v1/walking/map/:id',
|
|
36
|
+
isRule: false,
|
|
37
|
+
data: {
|
|
38
|
+
item:['模版对象', 'Object', '必填'],
|
|
39
|
+
id:['模版ID', 'string', '必填']
|
|
40
|
+
},
|
|
41
|
+
disabled: true,
|
|
42
|
+
role: '@@@.WALKING_MAP_EDIT',
|
|
43
|
+
method:'put'
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
title: '健步走管理 - 获取模版信息',
|
|
47
|
+
mapFn: "getWalkingTemplate",
|
|
48
|
+
// #ifdef admin
|
|
49
|
+
path: '/@@@/v1/walking/map/item/:id',
|
|
50
|
+
// #endif
|
|
51
|
+
// #ifdef saas-admin
|
|
52
|
+
path: '/@@@/v1/walking/x_map/item/:id',
|
|
53
|
+
// #endif
|
|
54
|
+
isRule: false,
|
|
55
|
+
params: {
|
|
56
|
+
id:['模版ID', 'string', '必填']
|
|
57
|
+
},
|
|
58
|
+
disabled: true,
|
|
59
|
+
role: '',
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
title: '健步走管理 - 删除模版',
|
|
63
|
+
mapFn: "deleteWalkingTemplate",
|
|
64
|
+
path: '/@@@/v1/walking/map/:id',
|
|
65
|
+
isRule: false,
|
|
66
|
+
data: {
|
|
67
|
+
id:['模版ID', 'string', '必填']
|
|
68
|
+
},
|
|
69
|
+
disabled: true,
|
|
70
|
+
role: '@@@.WALKING_MAP_DELETE',
|
|
71
|
+
method:'delete'
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
title: '健步走管理 - 禁用功能',
|
|
75
|
+
mapFn: "closeWalkingTemplate",
|
|
76
|
+
path: '/@@@/v1/walking/map/:id/close',
|
|
77
|
+
isRule: false,
|
|
78
|
+
data: {
|
|
79
|
+
id:['模版ID', 'string', '必填']
|
|
80
|
+
},
|
|
81
|
+
disabled: true,
|
|
82
|
+
role: '',
|
|
83
|
+
method:'put'
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
title: '健步走管理 - 启用功能',
|
|
87
|
+
mapFn: "openWalkingTemplate",
|
|
88
|
+
path: '/@@@/v1/walking/map/:id/open',
|
|
89
|
+
isRule: false,
|
|
90
|
+
data: {
|
|
91
|
+
id:['模版ID', 'string', '必填']
|
|
92
|
+
},
|
|
93
|
+
disabled: true,
|
|
94
|
+
role: '',
|
|
95
|
+
method:'put'
|
|
96
|
+
},
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
//点位操作
|
|
100
|
+
{
|
|
101
|
+
title: '健步走管理 - 点位列表',
|
|
102
|
+
mapFn: "getWalkingPointList",
|
|
103
|
+
// #ifdef admin
|
|
104
|
+
path: '/@@@/v1/walking/map_point/items',
|
|
105
|
+
// #endif
|
|
106
|
+
// #ifdef saas-admin
|
|
107
|
+
path: '/saas-app-company/v1/walking/x_map_point/items',
|
|
108
|
+
// #endif
|
|
109
|
+
|
|
110
|
+
isRule: false,
|
|
111
|
+
data: {
|
|
112
|
+
filters: ['filter', 'Object', '非必填'],
|
|
113
|
+
page_size: ['每页', 'String', '必填'],
|
|
114
|
+
page_token: ['页数', 'String', '必填'],
|
|
115
|
+
},
|
|
116
|
+
disabled: true,
|
|
117
|
+
role: '',
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
title: '健步走管理 - 获取点位',
|
|
121
|
+
mapFn: "getWalkingPoint",
|
|
122
|
+
// #ifdef admin
|
|
123
|
+
path: '/@@@/v1/walking/map_point/item/:id',
|
|
124
|
+
// #endif
|
|
125
|
+
// #ifdef saas-admin
|
|
126
|
+
path: '/saas-app-company/v1/walking/x_map_point/item/:id',
|
|
127
|
+
// #endif
|
|
128
|
+
isRule: false,
|
|
129
|
+
params: {
|
|
130
|
+
id:['id', 'String', '必填'],
|
|
131
|
+
},
|
|
132
|
+
disabled: true,
|
|
133
|
+
role: '',
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
title: '健步走管理 - 新增点位',
|
|
137
|
+
mapFn: "createWalkingPoint",
|
|
138
|
+
// #ifdef admin
|
|
139
|
+
path: '/@@@/v1/walking/map_point',
|
|
140
|
+
// #endif
|
|
141
|
+
// #ifdef saas-admin
|
|
142
|
+
path: '/saas-app-company/v1/walking/x_map_point',
|
|
143
|
+
// #endif
|
|
144
|
+
isRule: false,
|
|
145
|
+
data: {
|
|
146
|
+
item:['模版对象', 'Object', '必填'],
|
|
147
|
+
},
|
|
148
|
+
disabled: true,
|
|
149
|
+
role: '',
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
title: '健步走管理 - 编辑点位',
|
|
153
|
+
mapFn: "editWalkingPoint",
|
|
154
|
+
// #ifdef admin
|
|
155
|
+
path: '/@@@/v1/walking/map_point/:id',
|
|
156
|
+
// #endif
|
|
157
|
+
// #ifdef saas-admin
|
|
158
|
+
path: '/saas-app-company/v1/walking/x_map_point/:id',
|
|
159
|
+
// #endif
|
|
160
|
+
isRule: false,
|
|
161
|
+
data: {
|
|
162
|
+
item:['模版对象', 'Object', '必填'],
|
|
163
|
+
id:['模版ID', 'string', '必填']
|
|
164
|
+
},
|
|
165
|
+
disabled: true,
|
|
166
|
+
role: '',
|
|
167
|
+
method:'put'
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
title: '健步走管理 - 删除模版',
|
|
171
|
+
mapFn: "deleteWalkingPoint",
|
|
172
|
+
path: '/@@@/v1/walking/map_point/:id',
|
|
173
|
+
isRule: false,
|
|
174
|
+
data: {
|
|
175
|
+
id:['模版ID', 'string', '必填']
|
|
176
|
+
},
|
|
177
|
+
disabled: true,
|
|
178
|
+
role: '',
|
|
179
|
+
method:'delete'
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
title: '健步走:地图 - 完成制作',
|
|
183
|
+
mapFn: "walkingPointFinishMake",
|
|
184
|
+
// #ifdef admin
|
|
185
|
+
path: '/@@@/v1/walking/map/finish-make/:id',
|
|
186
|
+
// #endif
|
|
187
|
+
// #ifdef saas-admin
|
|
188
|
+
path: '/saas-app-company/v1/walking/activity/finish-make/:id',
|
|
189
|
+
// #endif
|
|
190
|
+
isRule: false,
|
|
191
|
+
data: {
|
|
192
|
+
id:['模版ID', 'string', '必填']
|
|
193
|
+
},
|
|
194
|
+
disabled: true,
|
|
195
|
+
role: '',
|
|
196
|
+
method:'put'
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
title: '健步走:地图 - 修改点位颜色',
|
|
200
|
+
mapFn: "walkingPointColor",
|
|
201
|
+
// #ifdef admin
|
|
202
|
+
path: '/saas-app-admin/v1/walking/map/point-color/:id',
|
|
203
|
+
// #endif
|
|
204
|
+
// #ifdef saas-admin
|
|
205
|
+
path: '/saas-app-company/v1/walking/x_map/point-color/:id',
|
|
206
|
+
// #endif
|
|
207
|
+
isRule: false,
|
|
208
|
+
data: {
|
|
209
|
+
id:['点位ID', 'string', '必填'],
|
|
210
|
+
map_point_color:['map_point_color', 'string', '必填'],
|
|
211
|
+
},
|
|
212
|
+
disabled: true,
|
|
213
|
+
role: '',
|
|
214
|
+
method:'put'
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
title: '健步走:地图 - 修改点位大小',
|
|
218
|
+
mapFn: "walkingPointSize",
|
|
219
|
+
// #ifdef admin
|
|
220
|
+
path: '/saas-app-admin/v1/walking/map/point-size/:id',
|
|
221
|
+
// #endif
|
|
222
|
+
// #ifdef saas-admin
|
|
223
|
+
path: '/saas-app-company/v1/walking/x_map/point-size/:id',
|
|
224
|
+
// #endif
|
|
225
|
+
isRule: false,
|
|
226
|
+
data: {
|
|
227
|
+
id:['点位ID', 'string', '必填'],
|
|
228
|
+
map_point_size:['map_point_size', 'string', '必填'],
|
|
229
|
+
},
|
|
230
|
+
disabled: true,
|
|
231
|
+
role: '',
|
|
232
|
+
method:'put'
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
title: '健步走:地图 - 删除点位',
|
|
236
|
+
mapFn: "walkingPointDelete",
|
|
237
|
+
// #ifdef admin
|
|
238
|
+
path: '/saas-app-admin/v1/walking/map_point/:id',
|
|
239
|
+
// #endif
|
|
240
|
+
// #ifdef saas-admin
|
|
241
|
+
path: '/saas-app-company/v1/walking/x_map_point/:id',
|
|
242
|
+
// #endif
|
|
243
|
+
isRule: false,
|
|
244
|
+
data: {
|
|
245
|
+
id:['点位ID', 'string', '必填'],
|
|
246
|
+
},
|
|
247
|
+
disabled: true,
|
|
248
|
+
role: '',
|
|
249
|
+
method:'delete'
|
|
250
|
+
},
|
|
251
|
+
],
|
|
252
|
+
}
|