jufubao-admin-library 1.1.81 → 1.1.82
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/pageComponents/modules/lib/JfbRuleCreate.js +0 -18
- package/library/viewModules/viewStat/router/productStat.js +1 -1
- package/library/viewModules/viewStat/viewsStat/product/components/table-product.vue +0 -7
- package/library/viewModules/viewWalking/router/walking.js +6 -3
- package/library/viewModules/viewWalking/router/walking_config.js +5 -0
- package/library/viewModules/viewWalking/schemas/walking.js +44 -0
- package/library/viewModules/viewWalking/viewWalking/config.vue +8 -3
- package/library/viewModules/viewWalking/viewWalking/create.vue +40 -18
- package/library/viewModules/viewWalking/viewWalking/jbz/XdJbzItemScale.vue +278 -5
- package/library/viewModules/viewWalking/viewWalking/list.vue +26 -2
- package/library/viewModules/viewWalkingActivity/router/walking_activity.js +117 -0
- package/library/viewModules/viewWalkingActivity/schemas/partner.smscore.js +67 -0
- package/library/viewModules/viewWalkingActivity/schemas/walking_activity.js +309 -0
- package/library/viewModules/viewWalkingActivity/viewWalkingActivity/components/PeopleManage.vue +397 -0
- package/library/viewModules/viewWalkingActivity/viewWalkingActivity/list.vue +623 -0
- package/library/viewModules/viewWalkingActivity/viewWalkingActivity/statList.vue +347 -0
- package/library/viewModules/viewWalkingActivity/viewWalkingActivity/stepBackground.vue +267 -0
- package/library/viewModules/viewWalkingActivity/viewWalkingActivity/stepBase.vue +618 -0
- package/library/viewModules/viewsCompany/schemas/mCompany.js +10 -1
- package/library/viewModules/viewsCompany/viewsCompany/app-list.vue +106 -44
- package/library/viewModules/viewsCorporateActivities/router/activity_manage.js +79 -0
- package/library/viewModules/viewsCorporateActivities/schemas/activity_manage.js +316 -0
- package/library/viewModules/viewsCorporateActivities/schemas/partner.smscore.js +44 -0
- package/library/viewModules/viewsCorporateActivities/viewsCorporateActivities/components/CommentBox.vue +209 -0
- package/library/viewModules/viewsCorporateActivities/viewsCorporateActivities/components/ContentBox.vue +194 -0
- package/library/viewModules/viewsCorporateActivities/viewsCorporateActivities/components/PeopleManage.vue +399 -0
- package/library/viewModules/viewsCorporateActivities/viewsCorporateActivities/create.vue +649 -0
- package/library/viewModules/viewsCorporateActivities/viewsCorporateActivities/list.vue +350 -0
- package/library/viewModules/viewsCorporateActivities/viewsCorporateActivities/result.vue +210 -0
- package/library/viewModules/viewsDynamicForm/router/dynamic.form.js +83 -0
- package/library/viewModules/viewsDynamicForm/schemas/form.content.js +62 -0
- package/library/viewModules/viewsDynamicForm/schemas/form.field.js +113 -0
- package/library/viewModules/viewsDynamicForm/schemas/forms.js +238 -0
- package/library/viewModules/viewsDynamicForm/viewsDynamicForm/components/XdPanelDynamicForm.vue +184 -0
- package/library/viewModules/viewsDynamicForm/viewsDynamicForm/components/dialogField.vue +348 -0
- package/library/viewModules/viewsDynamicForm/viewsDynamicForm/components/dialogUser.vue +283 -0
- package/library/viewModules/viewsDynamicForm/viewsDynamicForm/config.vue +212 -0
- package/library/viewModules/viewsDynamicForm/viewsDynamicForm/create.vue +650 -0
- package/library/viewModules/viewsDynamicForm/viewsDynamicForm/list.vue +413 -0
- package/library/viewModules/viewsDynamicForm/viewsDynamicForm/result.vue +255 -0
- package/library/viewModules/viewsDynamicForm/viewsDynamicForm/result_detail.vue +116 -0
- package/library/viewModules/viewsEnterpriseBuy/router/enterprise_buy.js +1 -1
- package/library/viewModules/viewsFinance/router/balance.js +0 -1
- package/library/viewModules/viewsFinance/router/finance.js +0 -1
- package/library/viewModules/viewsFinance/schemas/trade.record.js +1 -14
- package/library/viewModules/viewsFinance/viewsFinance/balance/detail_partner.vue +0 -6
- package/library/viewModules/viewsPrize/router/prize.js +81 -0
- package/library/viewModules/viewsPrize/schemas/partner.smscore.js +67 -0
- package/library/viewModules/viewsPrize/schemas/prize.js +448 -0
- package/library/viewModules/viewsPrize/viewsPrize/components/PeopleManage.vue +399 -0
- package/library/viewModules/viewsPrize/viewsPrize/components/PrizeSet.vue +932 -0
- package/library/viewModules/viewsPrize/viewsPrize/create.vue +816 -0
- package/library/viewModules/viewsPrize/viewsPrize/list.vue +792 -0
- package/library/viewModules/viewsPrize/viewsPrize/log.vue +379 -0
- package/library/viewModules/viewsThird/viewsThird/create.vue +0 -3
- package/library/viewModules/viewsThird/viewsThird/list.vue +1 -1
- package/package.json +12 -11
|
@@ -952,24 +952,6 @@ export default {
|
|
|
952
952
|
{ required: true, message: '请输入数值', trigger: 'blur' },
|
|
953
953
|
],
|
|
954
954
|
},
|
|
955
|
-
{
|
|
956
|
-
label: '小数点保留位数:',
|
|
957
|
-
ele: 'xd-select-list',
|
|
958
|
-
valueKey: 'price_bit',
|
|
959
|
-
value: params.price_bit || 2,
|
|
960
|
-
placeholder: '请选择小数点保留位数',
|
|
961
|
-
multiple: false,
|
|
962
|
-
list: [
|
|
963
|
-
{ "label": "零位", "value": -1 },
|
|
964
|
-
{ "label": "一位", "value": 1 },
|
|
965
|
-
{ "label": "两位", "value": 2 },
|
|
966
|
-
],
|
|
967
|
-
rules: [{
|
|
968
|
-
required: true,
|
|
969
|
-
message: '请选择小数点保留位数',
|
|
970
|
-
trigger: 'blur'
|
|
971
|
-
}],
|
|
972
|
-
},
|
|
973
955
|
].filter(i => i)
|
|
974
956
|
},
|
|
975
957
|
|
|
@@ -9,9 +9,12 @@ const walkingRouter = {
|
|
|
9
9
|
path: '/walking',
|
|
10
10
|
component: Layout,
|
|
11
11
|
sort: 90,
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
// #ifdef admin
|
|
13
|
+
name: '健步走',
|
|
14
|
+
// #endif
|
|
14
15
|
// #ifdef saas-admin
|
|
16
|
+
alwaysShow: true,
|
|
17
|
+
name: 'SaaS管理',
|
|
15
18
|
hidden: true,
|
|
16
19
|
// #endif
|
|
17
20
|
redirect: '/walking/list',
|
|
@@ -29,7 +32,7 @@ const walkingRouter = {
|
|
|
29
32
|
component: () => setModuleName(import('@/viewWalking/list'),'WalkingList'),
|
|
30
33
|
meta: {
|
|
31
34
|
title: '健步走',
|
|
32
|
-
icon: '
|
|
35
|
+
icon: 'iconhuodongtubiao',
|
|
33
36
|
roles: [walking.getWalkingList]
|
|
34
37
|
}
|
|
35
38
|
},
|
|
@@ -20,7 +20,12 @@ const walkingConfigRouter = {
|
|
|
20
20
|
},
|
|
21
21
|
children: [
|
|
22
22
|
{
|
|
23
|
+
// #ifdef saas-admin admin
|
|
23
24
|
path: 'config/:map_id?/:activity_id?',
|
|
25
|
+
// endif
|
|
26
|
+
// #ifdef sms-walking
|
|
27
|
+
path: 'config/:map_id?/:activity_id?/:site_id?',
|
|
28
|
+
// endif
|
|
24
29
|
name: 'ConfigMap',
|
|
25
30
|
hidden: true,
|
|
26
31
|
component: () => setModuleName(import('@/viewWalking/config.vue'),'ConfigMap'),
|
|
@@ -51,6 +51,9 @@ module.exports = {
|
|
|
51
51
|
// #ifdef saas-admin
|
|
52
52
|
path: '/@@@/v1/walking/x_map/item/:id',
|
|
53
53
|
// #endif
|
|
54
|
+
// #ifdef sms-walking
|
|
55
|
+
path: '/saas-app-partner/v1/walking/x_map/item/:id',
|
|
56
|
+
// #endif
|
|
54
57
|
isRule: false,
|
|
55
58
|
params: {
|
|
56
59
|
id:['模版ID', 'string', '必填']
|
|
@@ -106,6 +109,9 @@ module.exports = {
|
|
|
106
109
|
// #ifdef saas-admin
|
|
107
110
|
path: '/saas-app-company/v1/walking/x_map_point/items',
|
|
108
111
|
// #endif
|
|
112
|
+
// #ifdef sms-walking
|
|
113
|
+
path: '/saas-app-partner/v1/walking/x_map_point/items',
|
|
114
|
+
// #endif
|
|
109
115
|
|
|
110
116
|
isRule: false,
|
|
111
117
|
data: {
|
|
@@ -125,6 +131,9 @@ module.exports = {
|
|
|
125
131
|
// #ifdef saas-admin
|
|
126
132
|
path: '/saas-app-company/v1/walking/x_map_point/item/:id',
|
|
127
133
|
// #endif
|
|
134
|
+
// #ifdef sms-walking
|
|
135
|
+
path: '/saas-app-partner/v1/walking/x_map_point/item/:id',
|
|
136
|
+
// #endif
|
|
128
137
|
isRule: false,
|
|
129
138
|
params: {
|
|
130
139
|
id:['id', 'String', '必填'],
|
|
@@ -141,6 +150,9 @@ module.exports = {
|
|
|
141
150
|
// #ifdef saas-admin
|
|
142
151
|
path: '/saas-app-company/v1/walking/x_map_point',
|
|
143
152
|
// #endif
|
|
153
|
+
// #ifdef sms-walking
|
|
154
|
+
path: '/saas-app-partner/v1/walking/x_map_point',
|
|
155
|
+
// #endif
|
|
144
156
|
isRule: false,
|
|
145
157
|
data: {
|
|
146
158
|
item:['模版对象', 'Object', '必填'],
|
|
@@ -157,6 +169,9 @@ module.exports = {
|
|
|
157
169
|
// #ifdef saas-admin
|
|
158
170
|
path: '/saas-app-company/v1/walking/x_map_point/:id',
|
|
159
171
|
// #endif
|
|
172
|
+
// #ifdef sms-walking
|
|
173
|
+
path: '/saas-app-partner/v1/walking/x_map_point/:id',
|
|
174
|
+
// #endif
|
|
160
175
|
isRule: false,
|
|
161
176
|
data: {
|
|
162
177
|
item:['模版对象', 'Object', '必填'],
|
|
@@ -187,6 +202,9 @@ module.exports = {
|
|
|
187
202
|
// #ifdef saas-admin
|
|
188
203
|
path: '/saas-app-company/v1/walking/activity/finish-make/:id',
|
|
189
204
|
// #endif
|
|
205
|
+
// #ifdef sms-walking
|
|
206
|
+
path: '/saas-app-partner/v1/walking/activity/finish-make/:id',
|
|
207
|
+
// #endif
|
|
190
208
|
isRule: false,
|
|
191
209
|
data: {
|
|
192
210
|
id:['模版ID', 'string', '必填']
|
|
@@ -204,6 +222,9 @@ module.exports = {
|
|
|
204
222
|
// #ifdef saas-admin
|
|
205
223
|
path: '/saas-app-company/v1/walking/x_map/point-color/:id',
|
|
206
224
|
// #endif
|
|
225
|
+
// #ifdef sms-walking
|
|
226
|
+
path: '/saas-app-partner/v1/walking/x_map/point-color/:id',
|
|
227
|
+
// #endif
|
|
207
228
|
isRule: false,
|
|
208
229
|
data: {
|
|
209
230
|
id:['点位ID', 'string', '必填'],
|
|
@@ -222,6 +243,9 @@ module.exports = {
|
|
|
222
243
|
// #ifdef saas-admin
|
|
223
244
|
path: '/saas-app-company/v1/walking/x_map/point-size/:id',
|
|
224
245
|
// #endif
|
|
246
|
+
// #ifdef sms-walking
|
|
247
|
+
path: '/saas-app-partner/v1/walking/x_map/point-size/:id',
|
|
248
|
+
// #endif
|
|
225
249
|
isRule: false,
|
|
226
250
|
data: {
|
|
227
251
|
id:['点位ID', 'string', '必填'],
|
|
@@ -240,6 +264,9 @@ module.exports = {
|
|
|
240
264
|
// #ifdef saas-admin
|
|
241
265
|
path: '/saas-app-company/v1/walking/x_map_point/:id',
|
|
242
266
|
// #endif
|
|
267
|
+
// #ifdef sms-walking
|
|
268
|
+
path: '/saas-app-partner/v1/walking/x_map_point/:id',
|
|
269
|
+
// #endif
|
|
243
270
|
isRule: false,
|
|
244
271
|
data: {
|
|
245
272
|
id:['点位ID', 'string', '必填'],
|
|
@@ -248,5 +275,22 @@ module.exports = {
|
|
|
248
275
|
role: '',
|
|
249
276
|
method:'delete'
|
|
250
277
|
},
|
|
278
|
+
// #ifdef sms-walking
|
|
279
|
+
{
|
|
280
|
+
title: '奖品 - 电子码可绑活动',
|
|
281
|
+
mapFn: "getCodeActivityForForign",
|
|
282
|
+
isPublic:true,
|
|
283
|
+
path: '/code-partner/v1/code-activity-for-forign',
|
|
284
|
+
isRule: false,
|
|
285
|
+
params: {
|
|
286
|
+
id: ['activity_name', 'String', '非必填'],
|
|
287
|
+
id: ['activity_use_scene', 'String', '非必填'],
|
|
288
|
+
id: ['selected_activity_id', 'String', '非必填'],
|
|
289
|
+
id: ['site_id', 'String', '非必填'],
|
|
290
|
+
},
|
|
291
|
+
disabled: true,
|
|
292
|
+
role: '',
|
|
293
|
+
},
|
|
294
|
+
// #endif
|
|
251
295
|
],
|
|
252
296
|
}
|
|
@@ -80,6 +80,7 @@
|
|
|
80
80
|
:step="myStep"
|
|
81
81
|
:radius-num="radius"
|
|
82
82
|
:circle-color="color"
|
|
83
|
+
:site_id="siteId"
|
|
83
84
|
@onDelete="handleItemDelete"
|
|
84
85
|
@onSubmit="handleItemSubmit"
|
|
85
86
|
v-model="item.model"
|
|
@@ -145,6 +146,7 @@ export default {
|
|
|
145
146
|
yTop:0,
|
|
146
147
|
yLeft:15.2,
|
|
147
148
|
yHeight: 15.2,
|
|
149
|
+
siteId:'',
|
|
148
150
|
|
|
149
151
|
};
|
|
150
152
|
},
|
|
@@ -171,6 +173,9 @@ export default {
|
|
|
171
173
|
created() {
|
|
172
174
|
if(this.$route.params.map_id) this.map_id = Number(this.$route.params.map_id);
|
|
173
175
|
if(this.$route.params.activity_id) this.activity_id = Number(this.$route.params.activity_id);
|
|
176
|
+
// #ifdef sms-walking
|
|
177
|
+
if(this.$route.params.site_id) this.siteId = this.$route.params.site_id;
|
|
178
|
+
// #endif
|
|
174
179
|
if(this.map_id === null) throw new Error('参数错误');
|
|
175
180
|
this.getInfo();
|
|
176
181
|
this.$bus.$on('toggleSideBar',()=>{
|
|
@@ -421,7 +426,7 @@ export default {
|
|
|
421
426
|
// #ifdef admin
|
|
422
427
|
id:this.map_id,
|
|
423
428
|
// #endif
|
|
424
|
-
// #ifdef saas-admin
|
|
429
|
+
// #ifdef saas-admin sms-walking
|
|
425
430
|
id:this.activity_id,
|
|
426
431
|
// #endif
|
|
427
432
|
}
|
|
@@ -431,8 +436,8 @@ export default {
|
|
|
431
436
|
// #ifdef admin
|
|
432
437
|
this.$router.push('/walking/list')
|
|
433
438
|
// #endif
|
|
434
|
-
// #ifdef saas-admin
|
|
435
|
-
this.$router.push('/
|
|
439
|
+
// #ifdef saas-admin sms-walking
|
|
440
|
+
this.$router.push('/walking_activity/list')
|
|
436
441
|
// #endif
|
|
437
442
|
})
|
|
438
443
|
.catch(err=>{
|
|
@@ -28,6 +28,7 @@ import {
|
|
|
28
28
|
} from 'vuex';
|
|
29
29
|
import XdBaseDynamicField from "@/components/XdBaseDynamicField.vue";
|
|
30
30
|
import {Loading} from "element-ui";
|
|
31
|
+
import { getOptions } from "@/utils/options";
|
|
31
32
|
|
|
32
33
|
|
|
33
34
|
|
|
@@ -45,6 +46,7 @@ export default {
|
|
|
45
46
|
listForm: [],
|
|
46
47
|
listValue: {},
|
|
47
48
|
status: false,
|
|
49
|
+
sceneData:[],
|
|
48
50
|
}
|
|
49
51
|
},
|
|
50
52
|
created() {
|
|
@@ -52,22 +54,29 @@ export default {
|
|
|
52
54
|
if(this.$route.params && this.$route.params.id) {
|
|
53
55
|
this.id = this.$route.params.id;
|
|
54
56
|
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
})
|
|
64
|
-
.
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
57
|
+
getOptions({
|
|
58
|
+
server: 'saas-app-public',
|
|
59
|
+
fn: 'map-show-scene',
|
|
60
|
+
path: 'p1',
|
|
61
|
+
},).then(res => {
|
|
62
|
+
this.sceneData = res.data.list;
|
|
63
|
+
//编辑模式
|
|
64
|
+
if(this.id) {
|
|
65
|
+
let loading = Loading.service({});
|
|
66
|
+
this.getWalkingTemplate({id: this.id})
|
|
67
|
+
.then(res=>{
|
|
68
|
+
this.initForm(this.setParams(res.data))
|
|
69
|
+
loading.close()
|
|
70
|
+
})
|
|
71
|
+
.catch(err=>{
|
|
72
|
+
loading.close()
|
|
73
|
+
})
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
this.initForm()
|
|
77
|
+
}
|
|
78
|
+
})
|
|
79
|
+
|
|
71
80
|
},
|
|
72
81
|
methods: {
|
|
73
82
|
...mapActions('walking', [
|
|
@@ -111,7 +120,8 @@ export default {
|
|
|
111
120
|
slot: true,
|
|
112
121
|
oneWidth: 250,
|
|
113
122
|
oneHeight: 445,
|
|
114
|
-
|
|
123
|
+
pixelSize:'750',
|
|
124
|
+
tipsformet: '上传文件格式:@imageType@,不超过@size@MB,尺寸宽:750像素,高:667~1334像素',
|
|
115
125
|
type: ['jpg', 'png', 'jpeg', 'gif'],
|
|
116
126
|
styleType: 'one',
|
|
117
127
|
uploadType: 'aliyun',
|
|
@@ -130,6 +140,17 @@ export default {
|
|
|
130
140
|
placeholder: '请选择模版状态',
|
|
131
141
|
list: 'status',
|
|
132
142
|
},
|
|
143
|
+
{
|
|
144
|
+
label: '展示范围:',
|
|
145
|
+
ele: 'xd-radio',
|
|
146
|
+
valueKey: 'show_scene',
|
|
147
|
+
value: params.show_scene||'',
|
|
148
|
+
list: this.sceneData,
|
|
149
|
+
rules: [
|
|
150
|
+
{required: true, message: '请选择展示范围', trigger: ['blur', 'change']},
|
|
151
|
+
],
|
|
152
|
+
// notice:'客户端活动列表展示范围,H5仅可在公众号H5界面展示;小程序可在公众号H5和小程序都展示。'
|
|
153
|
+
},
|
|
133
154
|
|
|
134
155
|
].filter(i=>i);
|
|
135
156
|
this.status = true;
|
|
@@ -148,7 +169,8 @@ export default {
|
|
|
148
169
|
id: data.id,
|
|
149
170
|
map_image_url,
|
|
150
171
|
map_name: data.map_name,
|
|
151
|
-
map_status: data.map_status
|
|
172
|
+
map_status: data.map_status,
|
|
173
|
+
show_scene:data.show_scene
|
|
152
174
|
};
|
|
153
175
|
|
|
154
176
|
},
|