jufubao-admin-library 1.1.134 → 1.1.136
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/viewStore/viewStore/rule/list.vue +1 -1
- package/library/viewModules/viewStore/viewStore/task/list.vue +48 -0
- package/library/viewModules/viewWalking/schemas/walking.js +2 -1
- package/library/viewModules/viewWalking/viewWalking/config.vue +14 -3
- package/library/viewModules/viewsFinance/viewsFinance/balance/components/listChannel.vue +27 -2
- package/library/viewModules/viewsThird/schemas/service.js +12 -0
- package/library/viewModules/viewsThird/viewsThird/list.vue +63 -73
- package/package.json +1 -1
|
@@ -65,6 +65,23 @@
|
|
|
65
65
|
</div>
|
|
66
66
|
<xd-json-view :data="data" :level="1" show></xd-json-view>
|
|
67
67
|
</xd-dialog>
|
|
68
|
+
<xd-dialog
|
|
69
|
+
:show.sync="dialogUpdate"
|
|
70
|
+
v-if="dialogUpdate"
|
|
71
|
+
title="请选择更新任务类型"
|
|
72
|
+
width="600px"
|
|
73
|
+
@onClose="dialogUpdate=false"
|
|
74
|
+
@onCancel="dialogUpdate=false"
|
|
75
|
+
@onConfirm="handleConfirmUpdate"
|
|
76
|
+
>
|
|
77
|
+
<el-checkbox-group v-model="updateType">
|
|
78
|
+
<el-checkbox
|
|
79
|
+
v-for="item in typeList"
|
|
80
|
+
:key="item.value"
|
|
81
|
+
:label="item.value"
|
|
82
|
+
>{{ item.label }} <span class="notice">{{item.notice}}</span></el-checkbox>
|
|
83
|
+
</el-checkbox-group>
|
|
84
|
+
</xd-dialog>
|
|
68
85
|
</el-card>
|
|
69
86
|
</div>
|
|
70
87
|
</template>
|
|
@@ -78,6 +95,7 @@ import XdJsonView from "@/components/XdJsonView"
|
|
|
78
95
|
import { Loading } from 'element-ui'
|
|
79
96
|
import checkPermission from "@/utils/permission"
|
|
80
97
|
import permissions from "@/constant/permissions"
|
|
98
|
+
import { getOptions } from "@/utils/options"
|
|
81
99
|
// import Role from "@/constant/modules/adminPolicyTask"
|
|
82
100
|
import {
|
|
83
101
|
mapActions,
|
|
@@ -142,6 +160,9 @@ export default {
|
|
|
142
160
|
dialogShow: false,
|
|
143
161
|
data: null,
|
|
144
162
|
// policy_type: "SE", //策略类型 SE=选品策略 MP=调价策略
|
|
163
|
+
updateType:[],
|
|
164
|
+
typeList:[],
|
|
165
|
+
dialogUpdate:false,
|
|
145
166
|
}
|
|
146
167
|
},
|
|
147
168
|
created () {
|
|
@@ -283,10 +304,27 @@ export default {
|
|
|
283
304
|
},
|
|
284
305
|
//执行
|
|
285
306
|
handleExecute(){
|
|
307
|
+
getOptions({
|
|
308
|
+
server: "supplier-partner",
|
|
309
|
+
fn: "select-shop-task",
|
|
310
|
+
path: "p3",
|
|
311
|
+
params:{
|
|
312
|
+
|
|
313
|
+
}
|
|
314
|
+
}).then((res) => {
|
|
315
|
+
this.typeList = res.data.task_types
|
|
316
|
+
this.updateType = this.typeList.map(item => item.value);
|
|
317
|
+
this.dialogUpdate = true;
|
|
318
|
+
})
|
|
319
|
+
|
|
320
|
+
},
|
|
321
|
+
handleConfirmUpdate(){
|
|
286
322
|
let params = {
|
|
323
|
+
task_types:this.updateType
|
|
287
324
|
}
|
|
288
325
|
this.selectShopRuleExecTask(params).then(res => {
|
|
289
326
|
this.$message.success("操作成功")
|
|
327
|
+
this.dialogUpdate = false;
|
|
290
328
|
this.getList()
|
|
291
329
|
})
|
|
292
330
|
},
|
|
@@ -303,5 +341,15 @@ export default {
|
|
|
303
341
|
display: flex;
|
|
304
342
|
justify-content: flex-end;
|
|
305
343
|
}
|
|
344
|
+
::v-deep .el-checkbox{
|
|
345
|
+
margin: 5px 0!important;
|
|
346
|
+
display: block!important;
|
|
347
|
+
}
|
|
348
|
+
.notice{
|
|
349
|
+
font-size: 14px;
|
|
350
|
+
display: inline-block;
|
|
351
|
+
margin-left: 20px;
|
|
352
|
+
color: #8D8686;
|
|
353
|
+
}
|
|
306
354
|
</style>
|
|
307
355
|
|
|
@@ -228,7 +228,8 @@ module.exports = {
|
|
|
228
228
|
isRule: false,
|
|
229
229
|
data: {
|
|
230
230
|
id:['点位ID', 'string', '必填'],
|
|
231
|
-
map_point_color:['
|
|
231
|
+
map_point_color:['地图点位颜色(已到达点位)', 'string', '必填'],
|
|
232
|
+
map_point_color_for_no_arrived:['地图点位颜色(未到达点位)', 'string', '必填'],
|
|
232
233
|
},
|
|
233
234
|
disabled: true,
|
|
234
235
|
role: '',
|
|
@@ -30,8 +30,12 @@
|
|
|
30
30
|
></el-slider>
|
|
31
31
|
</div>
|
|
32
32
|
<div class="btn-item">
|
|
33
|
-
<span
|
|
34
|
-
<el-color-picker v-model="
|
|
33
|
+
<span>未到达点位颜色:</span>
|
|
34
|
+
<el-color-picker v-model="noArriveColor" size="small" @change="e => handleColorChange(e)"></el-color-picker>
|
|
35
|
+
</div>
|
|
36
|
+
<div class="btn-item">
|
|
37
|
+
<span>到达点位颜色:</span>
|
|
38
|
+
<el-color-picker v-model="color" size="small" @change="e => handleColorChange(e)"></el-color-picker>
|
|
35
39
|
</div>
|
|
36
40
|
</div>
|
|
37
41
|
<div class="right">
|
|
@@ -120,6 +124,7 @@ export default {
|
|
|
120
124
|
|
|
121
125
|
//页面可编辑数据
|
|
122
126
|
color:'rgb(52, 152, 219)',
|
|
127
|
+
noArriveColor:'#999999',
|
|
123
128
|
name:'',
|
|
124
129
|
status:'Y',
|
|
125
130
|
backgroundImage:'',
|
|
@@ -247,6 +252,7 @@ export default {
|
|
|
247
252
|
this.getImageInfo(backgroundImage,()=>{
|
|
248
253
|
this.radius = info['map_point_size'] || 43;
|
|
249
254
|
this.color = info['map_point_color'] || '#3498db';
|
|
255
|
+
this.noArriveColor = info['map_point_color_for_no_arrived'] || '#999999';
|
|
250
256
|
this.name = info['map_name'];
|
|
251
257
|
this.backgroundImage = backgroundImage;
|
|
252
258
|
loading.close()
|
|
@@ -482,7 +488,12 @@ export default {
|
|
|
482
488
|
handleColorChange(e){
|
|
483
489
|
console.log(e,'eee')
|
|
484
490
|
if(e){
|
|
485
|
-
|
|
491
|
+
let data = {
|
|
492
|
+
id: this.map_id,
|
|
493
|
+
map_point_color_for_no_arrived: this.noArriveColor,
|
|
494
|
+
map_point_color: this.color
|
|
495
|
+
};
|
|
496
|
+
this.walkingPointColor(data)
|
|
486
497
|
.then(res=>{
|
|
487
498
|
this.$message.success('修改点位颜色成功')
|
|
488
499
|
})
|
|
@@ -98,7 +98,8 @@ export default {
|
|
|
98
98
|
showNoticeSetting: false,
|
|
99
99
|
remind_threshold_amount: "",
|
|
100
100
|
wallet_type: '',
|
|
101
|
-
owner_id: ''
|
|
101
|
+
owner_id: '',
|
|
102
|
+
optionsData:null,
|
|
102
103
|
}
|
|
103
104
|
},
|
|
104
105
|
computed: {
|
|
@@ -108,6 +109,7 @@ export default {
|
|
|
108
109
|
{ "type": "normal", "prop": "supplier_name", "align": "center", "minWidth": 200, "label": "接口名称" },
|
|
109
110
|
checkPermission([roleWallet.getChannelAmount]) && { "type": "normal", "prop": "api_amount", "align": "center", "label": "接口余额" },
|
|
110
111
|
{ "type": "price", "prop": "amount", "align": "center", "width": 100, "label": "平台余额", "unit": "元"},
|
|
112
|
+
{ "type": "normal", "prop": "wallet_type_name", "align": "center", "minWidth": 200, "label": "钱包类型" },
|
|
111
113
|
{ "type": "normal", "prop": "updated_time", "align": "center", "minWidth": 200, "label": "更新时间" },
|
|
112
114
|
checkPermission([roleTRecord.listSupplier]) && {
|
|
113
115
|
"type": "operate", "align": "center", "label": "操作",
|
|
@@ -120,7 +122,21 @@ export default {
|
|
|
120
122
|
}
|
|
121
123
|
},
|
|
122
124
|
created() {
|
|
123
|
-
|
|
125
|
+
getOptions({
|
|
126
|
+
server: 'finance-partner',
|
|
127
|
+
fn: 'wallet',
|
|
128
|
+
path: 'p1',
|
|
129
|
+
params:{
|
|
130
|
+
type:'channel'
|
|
131
|
+
}
|
|
132
|
+
}).then(res=>{
|
|
133
|
+
console.log(res,'ss')
|
|
134
|
+
this.optionsData = res.data
|
|
135
|
+
this.initSearchForm();
|
|
136
|
+
}).catch(err=>{
|
|
137
|
+
console.log(err,'eee')
|
|
138
|
+
})
|
|
139
|
+
|
|
124
140
|
},
|
|
125
141
|
methods: {
|
|
126
142
|
...mapActions("wallet", ["listChannelWallet", "getChannelAmount",'channelAmountNotice']),
|
|
@@ -241,6 +257,15 @@ export default {
|
|
|
241
257
|
value: "",
|
|
242
258
|
placeholder: "请输入渠道ID"
|
|
243
259
|
},
|
|
260
|
+
{
|
|
261
|
+
label: '钱包类型:',
|
|
262
|
+
ele: 'xd-select-list',
|
|
263
|
+
valueKey: 'wallet_type',
|
|
264
|
+
value: "",
|
|
265
|
+
placeholder: '请选择钱包类型',
|
|
266
|
+
className:'input40',
|
|
267
|
+
list: this.optionsData.list_wallet_type,
|
|
268
|
+
},
|
|
244
269
|
];
|
|
245
270
|
},
|
|
246
271
|
/**
|
|
@@ -246,5 +246,17 @@ module.exports = {
|
|
|
246
246
|
role: '@@@@.@@@.SERVICE_FREE_RULE_PUBLIST',
|
|
247
247
|
// #endif
|
|
248
248
|
|
|
249
|
+
},{
|
|
250
|
+
title: '发布平台 - 按页面路由与业务线获取第一个应用的一个页面目录信息',
|
|
251
|
+
mapFn: "pageCatelogByPageRoute",
|
|
252
|
+
path: "/editx/v1/platforms/page-catelog-by-page-route",
|
|
253
|
+
isRule: false,
|
|
254
|
+
isPublic:true,
|
|
255
|
+
params: {
|
|
256
|
+
site_id: ['site_id', 'String', '是'],
|
|
257
|
+
business_code: ['business_code', 'String', '否'],
|
|
258
|
+
page_route: ['page_route', 'String', '否'],
|
|
259
|
+
},
|
|
260
|
+
disabled: true,
|
|
249
261
|
}],
|
|
250
262
|
}
|
|
@@ -541,6 +541,7 @@ export default {
|
|
|
541
541
|
"getServiceFeeRuleList",
|
|
542
542
|
"delServiceFeeRule",
|
|
543
543
|
"publishService",
|
|
544
|
+
"pageCatelogByPageRoute",
|
|
544
545
|
]),
|
|
545
546
|
insertArrayAt(arr1, index, arr2) {
|
|
546
547
|
return arr1.slice(0, index).concat(arr2, arr1.slice(index));
|
|
@@ -758,19 +759,9 @@ export default {
|
|
|
758
759
|
if (res.data.pay_error_url_data) {
|
|
759
760
|
res.data.pay_error_url_data = JSON.parse(res.data.pay_error_url_data);
|
|
760
761
|
}
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
if(item.ele==='xd-select-site-path') {
|
|
765
|
-
if(res.data[item.valueKey]) {
|
|
766
|
-
res.data[item.valueKey]= JSON.parse(
|
|
767
|
-
res.data[item.valueKey]
|
|
768
|
-
);
|
|
769
|
-
}
|
|
770
|
-
|
|
771
|
-
}
|
|
772
|
-
}
|
|
773
|
-
})
|
|
762
|
+
if (res.data.phone_collect_url_data) {
|
|
763
|
+
res.data.phone_collect_url_data = JSON.parse(res.data.phone_collect_url_data);
|
|
764
|
+
}
|
|
774
765
|
this.initForm(res.data);
|
|
775
766
|
})
|
|
776
767
|
.catch((err) => {});
|
|
@@ -1072,14 +1063,16 @@ export default {
|
|
|
1072
1063
|
// },
|
|
1073
1064
|
// ],
|
|
1074
1065
|
// },
|
|
1075
|
-
|
|
1066
|
+
params.site_id&&{
|
|
1076
1067
|
label: "订单结算页:",
|
|
1077
1068
|
ele: "xd-select-site-path",
|
|
1078
1069
|
className: "input100",
|
|
1079
1070
|
valueKey: "pay_url_data",
|
|
1071
|
+
placeholder:'请选择业务线对应应用的三方支付页面',
|
|
1080
1072
|
value: params.pay_url_data || null,
|
|
1081
1073
|
setting: {
|
|
1082
|
-
site_id:
|
|
1074
|
+
site_id: params.site_id,
|
|
1075
|
+
hiddenSite:true,
|
|
1083
1076
|
},
|
|
1084
1077
|
handleCustom: ({ action, data }) => {
|
|
1085
1078
|
if (action === "siteList") {
|
|
@@ -1150,14 +1143,16 @@ export default {
|
|
|
1150
1143
|
},
|
|
1151
1144
|
],
|
|
1152
1145
|
},
|
|
1153
|
-
this.$channelCode==='
|
|
1154
|
-
label: "
|
|
1146
|
+
this.$channelCode==='wenyu_dingdong'&¶ms.site_id&&{
|
|
1147
|
+
label: "手机号收集页:",
|
|
1155
1148
|
ele: "xd-select-site-path",
|
|
1156
1149
|
className: "input100",
|
|
1157
|
-
valueKey: "
|
|
1158
|
-
|
|
1150
|
+
valueKey: "phone_collect_url_data",
|
|
1151
|
+
placeholder:'请选择基础应用的手机号收集页面',
|
|
1152
|
+
value: params.phone_collect_url_data || null,
|
|
1159
1153
|
setting: {
|
|
1160
|
-
site_id:
|
|
1154
|
+
site_id: params.site_id,
|
|
1155
|
+
hiddenSite:true,
|
|
1161
1156
|
},
|
|
1162
1157
|
handleCustom: ({ action, data }) => {
|
|
1163
1158
|
if (action === "siteList") {
|
|
@@ -1228,50 +1223,16 @@ export default {
|
|
|
1228
1223
|
},
|
|
1229
1224
|
],
|
|
1230
1225
|
},
|
|
1231
|
-
{
|
|
1232
|
-
label: "
|
|
1233
|
-
ele: "xd-radio",
|
|
1234
|
-
valueKey: "status",
|
|
1235
|
-
value: params.status || "Y",
|
|
1236
|
-
placeholder: "请选择状态",
|
|
1237
|
-
list: [
|
|
1238
|
-
{ value: "Y", label: "启用" },
|
|
1239
|
-
{ value: "N", label: "禁用" },
|
|
1240
|
-
],
|
|
1241
|
-
rules: [
|
|
1242
|
-
{
|
|
1243
|
-
required: true,
|
|
1244
|
-
message: "请选择状态",
|
|
1245
|
-
trigger: ["blur", "change"],
|
|
1246
|
-
},
|
|
1247
|
-
],
|
|
1248
|
-
},
|
|
1249
|
-
// {
|
|
1250
|
-
// label: '品牌:', //label
|
|
1251
|
-
// ele: 'xd-check', //package 名称
|
|
1252
|
-
// valueKey: 'brand_id', //form[valueKey]
|
|
1253
|
-
// value: params.brand_id||[], //v-model
|
|
1254
|
-
// list: [
|
|
1255
|
-
// {"label": "万利达集团", "value": 4},
|
|
1256
|
-
// {"label": "中国联通", "value": 5},
|
|
1257
|
-
// {"label": "中国移动", "value": 6},
|
|
1258
|
-
// {"label": "味多美", "value": 7},
|
|
1259
|
-
// ],
|
|
1260
|
-
// rules: [
|
|
1261
|
-
// {required: true, message: '请选择品牌', trigger: ['blur', 'change']},
|
|
1262
|
-
// ]
|
|
1263
|
-
// },
|
|
1264
|
-
].filter((i) => i);
|
|
1265
|
-
this.openDialogForm = this.openDialogForm.map(item=>{
|
|
1266
|
-
if(item.ele === "xd-select-site-path"){
|
|
1267
|
-
item = {
|
|
1268
|
-
label: item.label,
|
|
1226
|
+
this.$channelCode==='gxzx'&¶ms.site_id&&{
|
|
1227
|
+
label: "订单错误页:",
|
|
1269
1228
|
ele: "xd-select-site-path",
|
|
1270
1229
|
className: "input100",
|
|
1271
|
-
valueKey:
|
|
1272
|
-
|
|
1230
|
+
valueKey: "pay_error_url_data",
|
|
1231
|
+
placeholder:'请选择基础应用的授权失败页面',
|
|
1232
|
+
value: params.pay_error_url_data || null,
|
|
1273
1233
|
setting: {
|
|
1274
|
-
site_id:
|
|
1234
|
+
site_id: params.site_id,
|
|
1235
|
+
hiddenSite:true,
|
|
1275
1236
|
},
|
|
1276
1237
|
handleCustom: ({ action, data }) => {
|
|
1277
1238
|
if (action === "siteList") {
|
|
@@ -1341,8 +1302,42 @@ export default {
|
|
|
1341
1302
|
trigger: "change",
|
|
1342
1303
|
},
|
|
1343
1304
|
],
|
|
1344
|
-
}
|
|
1345
|
-
|
|
1305
|
+
},
|
|
1306
|
+
{
|
|
1307
|
+
label: "状态:",
|
|
1308
|
+
ele: "xd-radio",
|
|
1309
|
+
valueKey: "status",
|
|
1310
|
+
value: params.status || "Y",
|
|
1311
|
+
placeholder: "请选择状态",
|
|
1312
|
+
list: [
|
|
1313
|
+
{ value: "Y", label: "启用" },
|
|
1314
|
+
{ value: "N", label: "禁用" },
|
|
1315
|
+
],
|
|
1316
|
+
rules: [
|
|
1317
|
+
{
|
|
1318
|
+
required: true,
|
|
1319
|
+
message: "请选择状态",
|
|
1320
|
+
trigger: ["blur", "change"],
|
|
1321
|
+
},
|
|
1322
|
+
],
|
|
1323
|
+
},
|
|
1324
|
+
// {
|
|
1325
|
+
// label: '品牌:', //label
|
|
1326
|
+
// ele: 'xd-check', //package 名称
|
|
1327
|
+
// valueKey: 'brand_id', //form[valueKey]
|
|
1328
|
+
// value: params.brand_id||[], //v-model
|
|
1329
|
+
// list: [
|
|
1330
|
+
// {"label": "万利达集团", "value": 4},
|
|
1331
|
+
// {"label": "中国联通", "value": 5},
|
|
1332
|
+
// {"label": "中国移动", "value": 6},
|
|
1333
|
+
// {"label": "味多美", "value": 7},
|
|
1334
|
+
// ],
|
|
1335
|
+
// rules: [
|
|
1336
|
+
// {required: true, message: '请选择品牌', trigger: ['blur', 'change']},
|
|
1337
|
+
// ]
|
|
1338
|
+
// },
|
|
1339
|
+
].filter((i) => i);
|
|
1340
|
+
this.openDialogForm = this.openDialogForm.map(item=>{
|
|
1346
1341
|
return item;
|
|
1347
1342
|
})
|
|
1348
1343
|
listForm = this.insertArrayAt(listForm, 3, this.openDialogForm);
|
|
@@ -1508,16 +1503,11 @@ export default {
|
|
|
1508
1503
|
this.listValue.pay_error_url_data
|
|
1509
1504
|
);
|
|
1510
1505
|
}
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
this.listValue[item.valueKey]
|
|
1517
|
-
);
|
|
1518
|
-
}
|
|
1519
|
-
}
|
|
1520
|
-
})
|
|
1506
|
+
if (this.listValue.phone_collect_url_data) {
|
|
1507
|
+
copyListValue.phone_collect_url_data = JSON.stringify(
|
|
1508
|
+
this.listValue.phone_collect_url_data
|
|
1509
|
+
);
|
|
1510
|
+
}
|
|
1521
1511
|
return copyListValue;
|
|
1522
1512
|
},
|
|
1523
1513
|
handleConfirmSave() {
|