jufubao-base 1.0.260 → 1.0.262-beta1
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/package.json +1 -1
- package/src/components/JfbBaseAfterOrderList/Attr.js +13 -0
- package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderList.vue +33 -1
- package/src/components/JfbBaseAfterSales/Api.js +58 -0
- package/src/components/JfbBaseAfterSales/Attr.js +25 -0
- package/src/components/JfbBaseAfterSales/JfbBaseAfterSales.vue +598 -0
- package/src/components/JfbBaseAfterSales/JfbBaseAfterSalesLess.less +79 -0
- package/src/components/JfbBaseAfterSales/JfbBaseAfterSalesMixin.js +30 -0
- package/src/components/JfbBaseAfterSales/Mock.js +6 -0
- package/src/components/JfbBaseAfterSales/refundOrderInfo.vue +150 -0
- package/src/components/JfbBaseAfterSalesDetail/Api.js +41 -0
- package/src/components/JfbBaseAfterSalesDetail/Attr.js +25 -0
- package/src/components/JfbBaseAfterSalesDetail/JfbBaseAfterSalesDetail.vue +562 -0
- package/src/components/JfbBaseAfterSalesDetail/JfbBaseAfterSalesDetailLess.less +79 -0
- package/src/components/JfbBaseAfterSalesDetail/JfbBaseAfterSalesDetailMixin.js +30 -0
- package/src/components/JfbBaseAfterSalesDetail/Mock.js +60 -0
- package/src/components/JfbBaseAfterSalesDetail/secProd.vue +66 -0
- package/src/components/JfbBaseAfterSalesFast/Api.js +30 -0
- package/src/components/JfbBaseAfterSalesFast/Attr.js +32 -0
- package/src/components/JfbBaseAfterSalesFast/JfbBaseAfterSalesFast.vue +297 -0
- package/src/components/JfbBaseAfterSalesFast/JfbBaseAfterSalesFastLess.less +79 -0
- package/src/components/JfbBaseAfterSalesFast/JfbBaseAfterSalesFastMixin.js +30 -0
- package/src/components/JfbBaseAfterSalesFast/Mock.js +38 -0
- package/src/components/JfbBaseAfterSalesList/Api.js +40 -0
- package/src/components/JfbBaseAfterSalesList/Attr.js +130 -0
- package/src/components/JfbBaseAfterSalesList/JfbBaseAfterSalesList.vue +512 -0
- package/src/components/JfbBaseAfterSalesList/JfbBaseAfterSalesListLess.less +79 -0
- package/src/components/JfbBaseAfterSalesList/JfbBaseAfterSalesListMixin.js +30 -0
- package/src/components/JfbBaseAfterSalesList/Mock.js +362 -0
- package/src/components/JfbBaseCard/JfbBaseCard.vue +3 -1
- package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +3 -1
- package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +3 -1
- package/src/components/JfbBaseOrderDetail/Api.js +11 -0
- package/src/components/JfbBaseOrderDetail/Attr.js +36 -0
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +47 -2
- package/src/components/JfbBaseOrderList/Api.js +11 -0
- package/src/components/JfbBaseOrderList/Attr.js +36 -0
- package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +50 -2
- package/src/components/JfbBaseOrderList/Mock.js +1 -1
- package/src/components/JfbBaseOrderList/XdTfkOrderItem.vue +17 -5
package/package.json
CHANGED
|
@@ -5,6 +5,19 @@ export default {
|
|
|
5
5
|
advanced: [],
|
|
6
6
|
content: (data)=>{
|
|
7
7
|
return [
|
|
8
|
+
{
|
|
9
|
+
label: "状态筛选:",
|
|
10
|
+
ele: "xd-radio",
|
|
11
|
+
valueKey: "showStatusFilter",
|
|
12
|
+
groupKey: "content",
|
|
13
|
+
value: data['showStatusFilter'],
|
|
14
|
+
placeholder: '请选择状态筛选',
|
|
15
|
+
className: 'input80',
|
|
16
|
+
list: [
|
|
17
|
+
{label:'展示',value:'Y'},
|
|
18
|
+
{label:'隐藏',value:'N'}
|
|
19
|
+
]
|
|
20
|
+
},
|
|
8
21
|
{
|
|
9
22
|
label: '外填充:',
|
|
10
23
|
ele: 'xd-margin-padding',
|
|
@@ -16,7 +16,17 @@
|
|
|
16
16
|
<view class="jfb-base-after-order-list__edit-icon" @click="delEdit">删除</view>
|
|
17
17
|
</view>
|
|
18
18
|
<!-- #endif -->
|
|
19
|
-
<view class="jfb-base-after-order-list__body"
|
|
19
|
+
<view class="jfb-base-after-order-list__body" :style="{
|
|
20
|
+
'--main-color': mainColor,
|
|
21
|
+
}">
|
|
22
|
+
<view v-if="showStatusFilter==='Y'" class="filter_tab" :style="{
|
|
23
|
+
top: layoutInfo.top + 'rpx',
|
|
24
|
+
}">
|
|
25
|
+
<view class="filter_item active">处理中</view>
|
|
26
|
+
<view class="filter_item">已完成</view>
|
|
27
|
+
</view>
|
|
28
|
+
<view style="height: 80rpx"></view>
|
|
29
|
+
|
|
20
30
|
<view :style="{ padding: outMargin }">
|
|
21
31
|
<view v-if="loadingList" class="skeleton-wrap">
|
|
22
32
|
<view
|
|
@@ -131,6 +141,8 @@ export default {
|
|
|
131
141
|
loadingList: true,
|
|
132
142
|
brandTextColor:'',
|
|
133
143
|
|
|
144
|
+
showStatusFilter: "",
|
|
145
|
+
|
|
134
146
|
//基础
|
|
135
147
|
radius: 0,
|
|
136
148
|
backgroundColor: "",
|
|
@@ -187,6 +199,7 @@ export default {
|
|
|
187
199
|
* @param container {object} 业务组件对象自己
|
|
188
200
|
*/
|
|
189
201
|
init(container) {
|
|
202
|
+
this.showStatusFilter = getContainerPropsValue(container, "content.showStatusFilter", "");
|
|
190
203
|
this.margin = getContainerPropsValue(container, "content.margin", {});
|
|
191
204
|
this.radius = getContainerPropsValue(container, "content.radius", 0);
|
|
192
205
|
this.backgroundColor = getContainerPropsValue(container, "content.backgroundColor", "#f8f8f8");
|
|
@@ -272,6 +285,25 @@ export default {
|
|
|
272
285
|
|
|
273
286
|
.jfb-base-after-order-list {
|
|
274
287
|
&__body {
|
|
288
|
+
.filter_tab{
|
|
289
|
+
display: flex;
|
|
290
|
+
align-items: center;
|
|
291
|
+
justify-content: center;
|
|
292
|
+
height: 80rpx;
|
|
293
|
+
line-height: 80rpx;
|
|
294
|
+
border-bottom: 1px solid #DDD;
|
|
295
|
+
position: fixed;
|
|
296
|
+
top: 0;
|
|
297
|
+
left: 0;
|
|
298
|
+
width: 100%;
|
|
299
|
+
.filter_item{
|
|
300
|
+
margin: 0 40rpx;
|
|
301
|
+
&.active{
|
|
302
|
+
border-bottom: 1px solid var(--main-color);
|
|
303
|
+
color: var(--main-color);
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
}
|
|
275
307
|
.brand-name {
|
|
276
308
|
padding-top: 5rpx;
|
|
277
309
|
font-size: 24rpx;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
/**
|
|
3
|
+
* @description 接口配置,
|
|
4
|
+
* 在设置方法名字当时候,别忘记加上【模块名字】:After
|
|
5
|
+
* @type {*[]}
|
|
6
|
+
*/
|
|
7
|
+
module.exports = [
|
|
8
|
+
{
|
|
9
|
+
mapFnName: "getAfterOmsOrder",
|
|
10
|
+
path: "/aftersale/v1/service-order/get-oms-order",
|
|
11
|
+
title: "获取订单信息",
|
|
12
|
+
isRule: false,
|
|
13
|
+
params: {
|
|
14
|
+
main_order_id: ['主单订单号', 'String', true],
|
|
15
|
+
db_from: ['来源', 'String', true],
|
|
16
|
+
},
|
|
17
|
+
isConsole: true,
|
|
18
|
+
disabled: true,
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
mapFnName: "getAfterSalesTypeList",
|
|
22
|
+
path: "/aftersale/v1/service-order/after-sales-type-list",
|
|
23
|
+
title: "售后类型列表",
|
|
24
|
+
isRule: false,
|
|
25
|
+
params: {},
|
|
26
|
+
isConsole: true,
|
|
27
|
+
disabled: true,
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
mapFnName: "createAfterServiceOrder",
|
|
31
|
+
path: "/aftersale/v1/service-order/create",
|
|
32
|
+
title: "服务单创建",
|
|
33
|
+
isRule: false,
|
|
34
|
+
data: {
|
|
35
|
+
after_sale_method: ['售后方式', 'refund:退款 refund_and_good:退货退款 exchange:换货 again:补发 good:退货不退款', true],
|
|
36
|
+
after_sale_type: ['售后类型', 'String', true],
|
|
37
|
+
main_order_id: ['订单号', 'String', true],
|
|
38
|
+
customer_feedback: ['客户反馈', 'String', true],
|
|
39
|
+
sub_order_id: ['子订单号', 'String', true],
|
|
40
|
+
business_code: ['业务编码', 'String', false],
|
|
41
|
+
refund_voucher: ['售后图片json', 'String', false],
|
|
42
|
+
product_list: ['商品列表', 'String', false],
|
|
43
|
+
db_from: ['来源', 'String', true],
|
|
44
|
+
},
|
|
45
|
+
isConsole: true,
|
|
46
|
+
disabled: true,
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
mapFnName: "getConOssSign",
|
|
50
|
+
title: "获取上传参数",
|
|
51
|
+
path: "/common-user/v1/h5-oss/sign",
|
|
52
|
+
isRule: false,
|
|
53
|
+
data: {
|
|
54
|
+
},
|
|
55
|
+
isConsole: true,
|
|
56
|
+
disabled: true,
|
|
57
|
+
},
|
|
58
|
+
];
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @description 当表单组件中有联动操作时候,使用方法进行返回
|
|
5
|
+
*/
|
|
6
|
+
export default {
|
|
7
|
+
style: [],
|
|
8
|
+
content: (data) => {
|
|
9
|
+
return [
|
|
10
|
+
{
|
|
11
|
+
label: '售后详情页面路径:',
|
|
12
|
+
ele: 'xd-select-pages-path',
|
|
13
|
+
valueKey: 'refundStepPath',
|
|
14
|
+
groupKey:'advanced',
|
|
15
|
+
placeholder: '请选择售后详情页面路径',
|
|
16
|
+
value: data['refundStepPath'] || null,
|
|
17
|
+
setting: {
|
|
18
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
19
|
+
},
|
|
20
|
+
inline: false,
|
|
21
|
+
},
|
|
22
|
+
].filter(i=>i)
|
|
23
|
+
},
|
|
24
|
+
advanced: [],
|
|
25
|
+
};
|