jufubao-base 1.0.243-beta201 → 1.0.243
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 +0 -13
- package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderList.vue +1 -33
- package/src/components/JfbBaseBalance/Api.js +46 -0
- package/src/components/JfbBaseBalance/Attr.js +316 -0
- package/src/components/JfbBaseBalance/JfbBaseBalance.vue +336 -0
- package/src/components/{JfbBaseAfterSales/JfbBaseAfterSalesLess.less → JfbBaseBalance/JfbBaseBalanceLess.less} +2 -2
- package/src/components/{JfbBaseAfterSales/JfbBaseAfterSalesMixin.js → JfbBaseBalance/JfbBaseBalanceMixin.js} +1 -1
- package/src/components/JfbBaseBalance/Mock.js +9 -0
- package/src/components/JfbBaseCodeOpenVip/Api.js +35 -0
- package/src/components/JfbBaseCodeOpenVip/Attr.js +281 -0
- package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVip.vue +251 -0
- package/src/components/{JfbBaseAfterSalesFast/JfbBaseAfterSalesFastLess.less → JfbBaseCodeOpenVip/JfbBaseCodeOpenVipLess.less} +2 -2
- package/src/components/{JfbBaseAfterSalesList/JfbBaseAfterSalesListMixin.js → JfbBaseCodeOpenVip/JfbBaseCodeOpenVipMixin.js} +1 -1
- package/src/components/JfbBaseCodeOpenVip/Mock.js +13 -0
- package/src/components/JfbBaseConsumpCode/Api.js +133 -0
- package/src/components/JfbBaseConsumpCode/Attr.js +74 -0
- package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCode.vue +1109 -0
- package/src/components/{JfbBaseAfterSalesList/JfbBaseAfterSalesListLess.less → JfbBaseConsumpCode/JfbBaseConsumpCodeLess.less} +2 -2
- package/src/components/{JfbBaseAfterSalesFast/JfbBaseAfterSalesFastMixin.js → JfbBaseConsumpCode/JfbBaseConsumpCodeMixin.js} +1 -1
- package/src/components/JfbBaseConsumpCode/Mock.js +22 -0
- package/src/components/JfbBaseFastLink/Attr.js +12 -1
- package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +66 -0
- package/src/components/JfbBaseFooter/Attr.js +12 -0
- package/src/components/JfbBaseFooter/JfbBaseFooter.vue +13 -0
- package/src/components/JfbBaseHeader/Attr.js +82 -0
- package/src/components/JfbBaseHeader/JfbBaseHeader.vue +47 -1
- package/src/components/JfbBaseHeaderColumn/Attr.js +82 -0
- package/src/components/JfbBaseHeaderColumn/JfbBaseHeaderColumn.vue +48 -2
- package/src/components/JfbBaseLogin/JfbBaseLogin.vue +12 -0
- package/src/components/JfbBaseNoticeDialog/Api.js +1 -1
- package/src/components/JfbBaseNoticeDialog/Attr.js +26 -0
- package/src/components/JfbBaseNoticeDialog/JfbBaseNoticeDialog.vue +38 -15
- package/src/components/JfbBaseNoticeGroup/Api.js +23 -0
- package/src/components/JfbBaseNoticeGroup/Attr.js +237 -0
- package/src/components/JfbBaseNoticeGroup/JfbBaseNoticeGroup.vue +174 -0
- package/src/components/{JfbBaseAfterSalesDetail/JfbBaseAfterSalesDetailLess.less → JfbBaseNoticeGroup/JfbBaseNoticeGroupLess.less} +2 -2
- package/src/components/{JfbBaseAfterSalesDetail/JfbBaseAfterSalesDetailMixin.js → JfbBaseNoticeGroup/JfbBaseNoticeGroupMixin.js} +1 -1
- package/src/components/JfbBaseNoticeGroup/Mock.js +13 -0
- package/src/components/JfbBaseOpenVip/Api.js +39 -0
- package/src/components/JfbBaseOpenVip/Attr.js +331 -0
- package/src/components/JfbBaseOpenVip/JfbBaseOpenVip.vue +457 -0
- package/src/components/JfbBaseOpenVip/JfbBaseOpenVipLess.less +79 -0
- package/src/components/JfbBaseOpenVip/JfbBaseOpenVipMixin.js +30 -0
- package/src/components/JfbBaseOpenVip/Mock.js +7 -0
- package/src/components/JfbBaseOpenVip/XdVipList.vue +131 -0
- package/src/components/JfbBaseOpenVipCard/Api.js +58 -0
- package/src/components/JfbBaseOpenVipCard/Attr.js +48 -0
- package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCard.vue +111 -0
- package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardLess.less +79 -0
- package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardMixin.js +30 -0
- package/src/components/JfbBaseOpenVipCard/Mock.js +13 -0
- package/src/components/JfbBaseOpenVipDetail/Api.js +35 -0
- package/src/components/JfbBaseOpenVipDetail/Attr.js +37 -0
- package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetail.vue +234 -0
- package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailLess.less +79 -0
- package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailMixin.js +30 -0
- package/src/components/JfbBaseOpenVipDetail/Mock.js +15 -0
- package/src/components/JfbBaseOrderDetail/Attr.js +0 -36
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +178 -39
- package/src/components/JfbBaseOrderList/Attr.js +0 -36
- package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +0 -30
- package/src/components/JfbBaseOrderList/Mock.js +1 -1
- package/src/components/JfbBaseOrderList/XdTfkOrderItem.vue +5 -17
- package/src/components/JfbBasePay/Attr.js +52 -0
- package/src/components/JfbBasePay/JfbBasePay.vue +23 -6
- package/src/components/JfbBasePay/Mock.js +0 -9
- package/src/components/JfbBasePersonalData/Api.js +26 -0
- package/src/components/JfbBasePersonalData/Attr.js +13 -0
- package/src/components/JfbBasePersonalData/JfbBasePersonalData.vue +200 -0
- package/src/components/JfbBasePersonalData/JfbBasePersonalDataLess.less +79 -0
- package/src/components/JfbBasePersonalData/JfbBasePersonalDataMixin.js +30 -0
- package/src/components/JfbBasePersonalData/Mock.js +13 -0
- package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +11 -1
- package/src/components/JfbBasePointsCard/Api.js +18 -0
- package/src/components/JfbBasePointsCard/Attr.js +187 -0
- package/src/components/JfbBasePointsCard/JfbBasePointsCard.vue +212 -0
- package/src/components/JfbBasePointsCard/JfbBasePointsCardLess.less +79 -0
- package/src/components/JfbBasePointsCard/JfbBasePointsCardMixin.js +30 -0
- package/src/components/JfbBasePointsCard/Mock.js +5 -0
- package/src/components/JfbBasePointsDetail/Api.js +48 -0
- package/src/components/JfbBasePointsDetail/Attr.js +305 -0
- package/src/components/JfbBasePointsDetail/JfbBasePointsDetail.vue +267 -0
- package/src/components/JfbBasePointsDetail/JfbBasePointsDetailLess.less +79 -0
- package/src/components/JfbBasePointsDetail/JfbBasePointsDetailMixin.js +30 -0
- package/src/components/JfbBasePointsDetail/Mock.js +6 -0
- package/src/components/JfbBasePoster/Attr.js +1 -1
- package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +2 -2
- package/src/components/JfbBasePosterGroup/Api.js +22 -0
- package/src/components/JfbBasePosterGroup/Attr.js +156 -0
- package/src/components/JfbBasePosterGroup/JfbBasePosterGroup.vue +268 -0
- package/src/components/JfbBasePosterGroup/JfbBasePosterGroupLess.less +79 -0
- package/src/components/JfbBasePosterGroup/JfbBasePosterGroupMixin.js +30 -0
- package/src/components/JfbBasePosterGroup/Mock.js +13 -0
- package/src/components/JfbBaseSavingDetail/Api.js +41 -0
- package/src/components/JfbBaseSavingDetail/Attr.js +70 -0
- package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetail.vue +724 -0
- package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailLess.less +79 -0
- package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailMixin.js +30 -0
- package/src/components/JfbBaseSavingDetail/Mock.js +10 -0
- package/src/components/JfbBaseSavingDetail/components/echarts.min.js +26 -0
- package/src/components/JfbBaseSavingDetail/components/echarts.vue +254 -0
- package/src/components/JfbBaseSavingDetail/components/wx-canvas.js +105 -0
- package/src/components/JfbBaseShare/Api.js +20 -0
- package/src/components/JfbBaseShare/Attr.js +59 -0
- package/src/components/JfbBaseShare/JfbBaseShare.vue +282 -0
- package/src/components/JfbBaseShare/JfbBaseShareLess.less +79 -0
- package/src/components/JfbBaseShare/JfbBaseShareMixin.js +30 -0
- package/src/components/JfbBaseShare/Mock.js +16 -0
- package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +9 -3
- package/src/components/JfbBaseTfkSearch/ContentProduct.vue +12 -22
- package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearch.vue +12 -1
- package/src/components/JfbBaseTfkSearch/Mock.js +51 -3
- package/src/components/JfbBaseTfkSearch/listMixins.js +2 -1
- package/src/components/JfbBaseUserInfo/Attr.js +175 -11
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +337 -115
- package/src/components/JfbBaseUserOrder/Attr.js +16 -0
- package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +11 -2
- package/src/components/JfbBaseWithDrawAgain/Api.js +41 -0
- package/src/components/JfbBaseWithDrawAgain/Attr.js +92 -0
- package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgain.vue +354 -0
- package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainLess.less +79 -0
- package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainMixin.js +30 -0
- package/src/components/JfbBaseWithDrawAgain/Mock.js +10 -0
- package/src/components/JfbBaseWithDrawRecord/Api.js +19 -0
- package/src/components/JfbBaseWithDrawRecord/Attr.js +79 -0
- package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecord.vue +233 -0
- package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordLess.less +79 -0
- package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordMixin.js +30 -0
- package/src/components/JfbBaseWithDrawRecord/Mock.js +7 -0
- package/src/components/JfbBaseWithdraw/Api.js +48 -0
- package/src/components/JfbBaseWithdraw/Attr.js +328 -0
- package/src/components/JfbBaseWithdraw/JfbBaseWithdraw.vue +272 -0
- package/src/components/JfbBaseWithdraw/JfbBaseWithdrawLess.less +79 -0
- package/src/components/JfbBaseWithdraw/JfbBaseWithdrawMixin.js +30 -0
- package/src/components/JfbBaseWithdraw/Mock.js +7 -0
- package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +10 -0
- package/src/components/JfbBaseAfterSales/Api.js +0 -58
- package/src/components/JfbBaseAfterSales/Attr.js +0 -25
- package/src/components/JfbBaseAfterSales/JfbBaseAfterSales.vue +0 -550
- package/src/components/JfbBaseAfterSales/Mock.js +0 -13
- package/src/components/JfbBaseAfterSales/refundOrderInfo.vue +0 -150
- package/src/components/JfbBaseAfterSalesDetail/Api.js +0 -41
- package/src/components/JfbBaseAfterSalesDetail/Attr.js +0 -25
- package/src/components/JfbBaseAfterSalesDetail/JfbBaseAfterSalesDetail.vue +0 -538
- package/src/components/JfbBaseAfterSalesDetail/Mock.js +0 -60
- package/src/components/JfbBaseAfterSalesDetail/secProd.vue +0 -58
- package/src/components/JfbBaseAfterSalesFast/Api.js +0 -30
- package/src/components/JfbBaseAfterSalesFast/Attr.js +0 -32
- package/src/components/JfbBaseAfterSalesFast/JfbBaseAfterSalesFast.vue +0 -297
- package/src/components/JfbBaseAfterSalesFast/Mock.js +0 -38
- package/src/components/JfbBaseAfterSalesList/Api.js +0 -40
- package/src/components/JfbBaseAfterSalesList/Attr.js +0 -107
- package/src/components/JfbBaseAfterSalesList/JfbBaseAfterSalesList.vue +0 -463
- package/src/components/JfbBaseAfterSalesList/Mock.js +0 -362
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @description 当表单组件中有联动操作时候,使用方法进行返回
|
|
5
|
-
*/
|
|
6
|
-
export default {
|
|
7
|
-
style: [],
|
|
8
|
-
content: (data) => {
|
|
9
|
-
return [
|
|
10
|
-
{
|
|
11
|
-
label: "温馨提示:",
|
|
12
|
-
ele: "xd-tinymce",
|
|
13
|
-
valueKey: "warmTips",
|
|
14
|
-
groupKey: "content",
|
|
15
|
-
value: data['warmTips'] || '',
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
label: '售后详情页面路径:',
|
|
19
|
-
ele: 'xd-select-pages-path',
|
|
20
|
-
valueKey: 'refundStepPath',
|
|
21
|
-
groupKey:'advanced',
|
|
22
|
-
placeholder: '请选择售后详情页面路径',
|
|
23
|
-
value: data['refundStepPath'] || null,
|
|
24
|
-
setting: {
|
|
25
|
-
router: XdBus.getParentApi('getPagesTree'),
|
|
26
|
-
},
|
|
27
|
-
inline: false,
|
|
28
|
-
},
|
|
29
|
-
].filter(i=>i)
|
|
30
|
-
},
|
|
31
|
-
advanced: [],
|
|
32
|
-
};
|
|
@@ -1,297 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<view
|
|
3
|
-
class="jfb-base-after-sales-fast"
|
|
4
|
-
@click="handleEditxSelect"
|
|
5
|
-
:class="{ editx : isEditx && active }"
|
|
6
|
-
>
|
|
7
|
-
<!--#ifdef H5-->
|
|
8
|
-
<view
|
|
9
|
-
class="jfb-base-after-sales-fast__edit"
|
|
10
|
-
:class="{ editx : isEditx && active }"
|
|
11
|
-
v-if="isEditx && active"
|
|
12
|
-
>
|
|
13
|
-
<view class="jfb-base-after-sales-fast__edit-icon" @click="delEdit">删除</view>
|
|
14
|
-
</view>
|
|
15
|
-
<!-- #endif -->
|
|
16
|
-
<view class="jfb-base-after-sales-fast__body" :style="{
|
|
17
|
-
minHeight: layoutInfo.bodyMinHeightRpx + 'rpx',
|
|
18
|
-
'--main-color': mainColor
|
|
19
|
-
}">
|
|
20
|
-
<view class="list_section section_inline" @click="toChoseReason">
|
|
21
|
-
<view class="sec_label">
|
|
22
|
-
<view class="label_require">*</view>
|
|
23
|
-
<view>申请原因</view>
|
|
24
|
-
</view>
|
|
25
|
-
<view class="sec_content">
|
|
26
|
-
<view>{{ afterSaleTypeText }}</view>
|
|
27
|
-
<xd-font-icon icon="iconxiangyou_xian" :size="28" style="margin-left: 8rpx;"></xd-font-icon>
|
|
28
|
-
</view>
|
|
29
|
-
</view>
|
|
30
|
-
<view class="refund_warm_tip">
|
|
31
|
-
<view class="tip_title">温馨提示</view>
|
|
32
|
-
<xd-content-xss :html="warmTips"></xd-content-xss>
|
|
33
|
-
</view>
|
|
34
|
-
<view class="bottom_fixed" :style="prod_bottom">
|
|
35
|
-
<xd-button type="primary" @click="handleApplyRefund">提交申请</xd-button>
|
|
36
|
-
</view>
|
|
37
|
-
<xd-down-drawer :show.sync="reasonShow" :isClose="false">
|
|
38
|
-
<view class="refund_reason_head">申请原因</view>
|
|
39
|
-
<view class="refund_reason_body" style="min-height: 50vh;max-height: 75vh;">
|
|
40
|
-
<view class="reason_cont">
|
|
41
|
-
<view class="reason_item" v-for="item in afterSalesTypes" :key="item.id">
|
|
42
|
-
<view>{{ item.type_name }}</view>
|
|
43
|
-
<xd-radio :value="temp_type === item.id" @change="selectApplyReason(item.id)"></xd-radio>
|
|
44
|
-
</view>
|
|
45
|
-
</view>
|
|
46
|
-
<view class="reason_foot">
|
|
47
|
-
<xd-button type="primary" @click="handleChoseReason">确定</xd-button>
|
|
48
|
-
</view>
|
|
49
|
-
</view>
|
|
50
|
-
</xd-down-drawer>
|
|
51
|
-
</view>
|
|
52
|
-
</view>
|
|
53
|
-
</template>
|
|
54
|
-
|
|
55
|
-
<script>
|
|
56
|
-
import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
|
|
57
|
-
import XdContentXss from "@/components/XdContentXss/XdContentXss"
|
|
58
|
-
import XdButton from "@/components/XdButton/XdButton";
|
|
59
|
-
import XdDownDrawer from "@/components/XdDownDrawer/XdDownDrawer"
|
|
60
|
-
import XdRadio from "@/components/XdRadio/XdRadio"
|
|
61
|
-
import { jfbRootExec } from "@/utils/xd.event";
|
|
62
|
-
import JfbBaseAfterSalesFastMixin from "./JfbBaseAfterSalesFastMixin";
|
|
63
|
-
import { getContainerPropsValue } from "@/utils/xd.base";
|
|
64
|
-
import componentsMixins from "@/mixins/componentsMixins";
|
|
65
|
-
import extsMixins from "@/mixins/extsMixins";
|
|
66
|
-
export default {
|
|
67
|
-
name: "JfbBaseAfterSalesFast",
|
|
68
|
-
components: {
|
|
69
|
-
XdFontIcon,
|
|
70
|
-
XdContentXss,
|
|
71
|
-
XdButton,
|
|
72
|
-
XdDownDrawer,
|
|
73
|
-
XdRadio
|
|
74
|
-
},
|
|
75
|
-
mixins: [
|
|
76
|
-
componentsMixins, extsMixins, JfbBaseAfterSalesFastMixin
|
|
77
|
-
],
|
|
78
|
-
data() {
|
|
79
|
-
return {
|
|
80
|
-
reasonShow: false,
|
|
81
|
-
// content: `1.遇订单拆分,京券将换成同价值京豆返还;<br/>2.本单支付券退还以实际使用规则为准;<br/>3.订单一旦取消,无法恢复;<br/>4.微信搜一搜订单返现金额会从退款中扣除`,
|
|
82
|
-
order_id: "",
|
|
83
|
-
//todo
|
|
84
|
-
warmTips: "",
|
|
85
|
-
after_sale_type: "",
|
|
86
|
-
temp_type: "",
|
|
87
|
-
afterSalesTypes: [],
|
|
88
|
-
|
|
89
|
-
refundStepPath: "",
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
watch: {
|
|
93
|
-
container(value, oldValue) {
|
|
94
|
-
if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
95
|
-
if (this.$configProject['isPreview']) this.init(value)
|
|
96
|
-
},
|
|
97
|
-
},
|
|
98
|
-
computed: {
|
|
99
|
-
afterSaleTypeText(){
|
|
100
|
-
if(!this.after_sale_type) return "";
|
|
101
|
-
let item = this.afterSalesTypes.find(i => i.id === this.after_sale_type);
|
|
102
|
-
return item ? item.type_name : "";
|
|
103
|
-
},
|
|
104
|
-
prod_bottom() {
|
|
105
|
-
return this.fixedStyle({ height: 20, zIndex: 111 });
|
|
106
|
-
},
|
|
107
|
-
},
|
|
108
|
-
|
|
109
|
-
created() {
|
|
110
|
-
this.init(this.container);
|
|
111
|
-
|
|
112
|
-
//todo
|
|
113
|
-
},
|
|
114
|
-
methods: {
|
|
115
|
-
onJfbLoad(options) {
|
|
116
|
-
this.order_id = options.order_id;
|
|
117
|
-
this.p_getAfterSalesTypeList();
|
|
118
|
-
},
|
|
119
|
-
/**
|
|
120
|
-
* @description 监听事件变化
|
|
121
|
-
* @param container {object} 业务组件对象自己
|
|
122
|
-
*/
|
|
123
|
-
init(container) {
|
|
124
|
-
this.warmTips = getContainerPropsValue(container, 'content.warmTips', "");
|
|
125
|
-
this.refundStepPath = getContainerPropsValue(container, 'content.refundStepPath', {value: ""}).value;
|
|
126
|
-
},
|
|
127
|
-
p_getAfterSalesTypeList(){
|
|
128
|
-
jfbRootExec("getAfterSalesTypeList", {
|
|
129
|
-
vm: this,
|
|
130
|
-
data: {}
|
|
131
|
-
}).then(res => {
|
|
132
|
-
this.afterSalesTypes = res.list;
|
|
133
|
-
})
|
|
134
|
-
},
|
|
135
|
-
selectApplyReason(id){
|
|
136
|
-
this.temp_type = id;
|
|
137
|
-
},
|
|
138
|
-
handleApplyRefund(){
|
|
139
|
-
if(!this.after_sale_type) {
|
|
140
|
-
this.$xdAlert({
|
|
141
|
-
content: '请选择申请原因',
|
|
142
|
-
type: "error"
|
|
143
|
-
})
|
|
144
|
-
return;
|
|
145
|
-
}
|
|
146
|
-
jfbRootExec("createAfterServiceOrderQuick", {
|
|
147
|
-
vm: this,
|
|
148
|
-
data: {
|
|
149
|
-
main_order_id: this.order_id,
|
|
150
|
-
after_sale_type: this.after_sale_type,
|
|
151
|
-
}
|
|
152
|
-
}).then(res => {
|
|
153
|
-
this.$xdUniHelper.navigateTo({
|
|
154
|
-
url: `${this.refundStepPath}?service_order_id=${res.service_order_id}`,
|
|
155
|
-
});
|
|
156
|
-
})
|
|
157
|
-
},
|
|
158
|
-
toChoseReason(){
|
|
159
|
-
this.reasonShow = true;
|
|
160
|
-
},
|
|
161
|
-
handleChoseReason(){
|
|
162
|
-
this.reasonShow = false;
|
|
163
|
-
this.after_sale_type = this.temp_type;
|
|
164
|
-
},
|
|
165
|
-
onJfbScroll(options) {
|
|
166
|
-
// console.log('event.onJfbScroll', options)
|
|
167
|
-
},
|
|
168
|
-
onJfbReachBottom(options) {
|
|
169
|
-
console.log('event.onJfbReachBottom', options)
|
|
170
|
-
},
|
|
171
|
-
onJfbShow(options) {
|
|
172
|
-
console.log('event.onJfbShow', options)
|
|
173
|
-
},
|
|
174
|
-
onJfbHide(options) {
|
|
175
|
-
console.log('event.onJfbHide', options)
|
|
176
|
-
},
|
|
177
|
-
onJfbBack(options) {
|
|
178
|
-
console.log('event.onJfbBack', options)
|
|
179
|
-
},
|
|
180
|
-
onJfbUpdate(...data) {
|
|
181
|
-
console.log('event.onJfbUpdate', data)
|
|
182
|
-
},
|
|
183
|
-
onJfbCustomEvent(options) {
|
|
184
|
-
console.log('event.onJfbReachBottom', options)
|
|
185
|
-
},
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
</script>
|
|
190
|
-
|
|
191
|
-
<style scoped lang="less">
|
|
192
|
-
@import "./JfbBaseAfterSalesFastLess.less";
|
|
193
|
-
|
|
194
|
-
.jfb-base-after-sales-fast {
|
|
195
|
-
&__body{
|
|
196
|
-
padding: 20rpx 20rpx 120rpx;
|
|
197
|
-
box-sizing: border-box;
|
|
198
|
-
background-color: #EEEEEE;
|
|
199
|
-
.list_section{
|
|
200
|
-
padding: 24rpx 36rpx;
|
|
201
|
-
border-radius: 16rpx;
|
|
202
|
-
background-color: #FFFFFF;
|
|
203
|
-
display: flex;
|
|
204
|
-
flex-direction: column;
|
|
205
|
-
margin: 20rpx 0;
|
|
206
|
-
color: #333333;
|
|
207
|
-
font-size: 28rpx;
|
|
208
|
-
&.section_inline{
|
|
209
|
-
flex-direction: row;
|
|
210
|
-
justify-content: space-between;
|
|
211
|
-
.sec_label{
|
|
212
|
-
margin-bottom: 0;
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
.sec_label{
|
|
216
|
-
display: flex;
|
|
217
|
-
align-items: center;
|
|
218
|
-
margin-bottom: 24rpx;
|
|
219
|
-
.label_require{
|
|
220
|
-
color: #FF5733;
|
|
221
|
-
margin-right: 4rpx;
|
|
222
|
-
}
|
|
223
|
-
.label_sub{
|
|
224
|
-
color: #CCCCCC;
|
|
225
|
-
font-size: 24rpx;
|
|
226
|
-
margin-left: 16rpx;
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
.sec_content{
|
|
230
|
-
display: flex;
|
|
231
|
-
align-items: center;
|
|
232
|
-
color: #666666;
|
|
233
|
-
|
|
234
|
-
.img_list{
|
|
235
|
-
display: flex;
|
|
236
|
-
flex-wrap: wrap;
|
|
237
|
-
.img_box{
|
|
238
|
-
width: 160rpx;
|
|
239
|
-
height: 160rpx;
|
|
240
|
-
border-radius: 8rpx;
|
|
241
|
-
border: 1px solid #E0E0E0;
|
|
242
|
-
margin-right: 28rpx;
|
|
243
|
-
margin-bottom: 28rpx;
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
.refund_warm_tip{
|
|
249
|
-
padding: 24rpx;
|
|
250
|
-
.tip_title{
|
|
251
|
-
font-size: 26rpx;
|
|
252
|
-
color: #333333;
|
|
253
|
-
font-weight: 500;
|
|
254
|
-
margin-bottom: 24rpx;
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
.bottom_fixed{
|
|
258
|
-
position: fixed;
|
|
259
|
-
bottom: 0;
|
|
260
|
-
left: 0;
|
|
261
|
-
width: 100%;
|
|
262
|
-
padding: 20rpx;
|
|
263
|
-
box-sizing: border-box;
|
|
264
|
-
}
|
|
265
|
-
.refund_reason_head{
|
|
266
|
-
padding: 32rpx 0;
|
|
267
|
-
text-align: center;
|
|
268
|
-
border-bottom: 1px solid #F2F2F2;
|
|
269
|
-
margin: 0 32rpx;
|
|
270
|
-
font-size: 28rpx;
|
|
271
|
-
color: #333333;
|
|
272
|
-
font-weight: bold;
|
|
273
|
-
}
|
|
274
|
-
.refund_reason_body{
|
|
275
|
-
display: flex;
|
|
276
|
-
flex-direction: column;
|
|
277
|
-
.reason_cont{
|
|
278
|
-
flex: 1;
|
|
279
|
-
padding: 0 40rpx;
|
|
280
|
-
overflow: auto;
|
|
281
|
-
.reason_item{
|
|
282
|
-
display: flex;
|
|
283
|
-
align-items: center;
|
|
284
|
-
justify-content: space-between;
|
|
285
|
-
padding: 20rpx 20rpx;
|
|
286
|
-
font-size: 28rpx;
|
|
287
|
-
color: #333333;
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
.reason_foot{
|
|
291
|
-
padding: 32rpx;
|
|
292
|
-
border-top: 1px solid #F2F2F2;
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
</style>
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
getAfterSalesTypeList: {
|
|
5
|
-
list: [
|
|
6
|
-
{
|
|
7
|
-
id: 57,
|
|
8
|
-
type_name: "接口问题导致退款",
|
|
9
|
-
status: "Y",
|
|
10
|
-
description: "影院网络问题、网售系统问题、接口商品下架等",
|
|
11
|
-
created_time: 1733302517,
|
|
12
|
-
updated_time: 1733302517,
|
|
13
|
-
is_show_web: "Y"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
id: 56,
|
|
17
|
-
type_name: "客户原因",
|
|
18
|
-
status: "Y",
|
|
19
|
-
description: "客户原因",
|
|
20
|
-
created_time: 1717726245,
|
|
21
|
-
updated_time: 1717726245,
|
|
22
|
-
is_show_web: "Y"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
id: 55,
|
|
26
|
-
type_name: "账号已达到充值上限",
|
|
27
|
-
status: "Y",
|
|
28
|
-
description: "账号已达到充值上限",
|
|
29
|
-
created_time: 1717726196,
|
|
30
|
-
updated_time: 1717726196,
|
|
31
|
-
is_show_web: "Y"
|
|
32
|
-
}
|
|
33
|
-
],
|
|
34
|
-
next_page_token: "",
|
|
35
|
-
total_size: "3",
|
|
36
|
-
request_id: "2ff3227604479b81"
|
|
37
|
-
}
|
|
38
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
/**
|
|
3
|
-
* @description 接口配置,
|
|
4
|
-
* 在设置方法名字当时候,别忘记加上【模块名字】:After
|
|
5
|
-
* @type {*[]}
|
|
6
|
-
*/
|
|
7
|
-
module.exports = [
|
|
8
|
-
{
|
|
9
|
-
mapFnName: 'getAfterServiceOrderList',
|
|
10
|
-
title: '获取服务单列表',
|
|
11
|
-
path: '/aftersale/v1/service-order/list',
|
|
12
|
-
isRule: false,
|
|
13
|
-
params: {
|
|
14
|
-
},
|
|
15
|
-
isConsole: true,
|
|
16
|
-
disabled: true,
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
mapFnName: "delAfterServiceOrder",
|
|
20
|
-
path: "/aftersale/v1/service-order/del",
|
|
21
|
-
title: "删除服务单",
|
|
22
|
-
isRule: false,
|
|
23
|
-
params: {
|
|
24
|
-
service_order_id: ['服务单订单号', 'String', true],
|
|
25
|
-
},
|
|
26
|
-
isConsole: true,
|
|
27
|
-
disabled: true,
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
mapFnName: "cancelAfterServiceOrder",
|
|
31
|
-
path: "/aftersale/v1/service-order/cancel",
|
|
32
|
-
title: "服务单取消",
|
|
33
|
-
isRule: false,
|
|
34
|
-
params: {
|
|
35
|
-
service_order_id: ['服务单订单号', 'String', true],
|
|
36
|
-
},
|
|
37
|
-
isConsole: true,
|
|
38
|
-
disabled: true,
|
|
39
|
-
},
|
|
40
|
-
];
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @description 当表单组件中有联动操作时候,使用方法进行返回
|
|
5
|
-
*/
|
|
6
|
-
export default {
|
|
7
|
-
style: [],
|
|
8
|
-
content: (data) => {
|
|
9
|
-
return [
|
|
10
|
-
{
|
|
11
|
-
label: "背景颜色:",
|
|
12
|
-
ele: "xd-color",
|
|
13
|
-
valueKey: "bodyBgColor",
|
|
14
|
-
value: data.bodyBgColor || "",
|
|
15
|
-
groupKey: "style",
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
label: "内容配置设置",
|
|
19
|
-
ele: "title",
|
|
20
|
-
groupKey: "style",
|
|
21
|
-
size: "small"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
label: "背景颜色:",
|
|
25
|
-
ele: "xd-color",
|
|
26
|
-
valueKey: "cardItemBgColor",
|
|
27
|
-
value: data.cardItemBgColor || "#FFFFFF",
|
|
28
|
-
groupKey: "style",
|
|
29
|
-
labelInline: true,
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
label: "间距设置:",
|
|
33
|
-
ele: "el-input",
|
|
34
|
-
valueKey: "cardItemSpace",
|
|
35
|
-
value: data.cardItemSpace || "20",
|
|
36
|
-
placeholder: '请输入间距',
|
|
37
|
-
groupKey: "style",
|
|
38
|
-
className: "input80",
|
|
39
|
-
labelInline: true,
|
|
40
|
-
inline: false,
|
|
41
|
-
notice: '设置间距,<span style="color: red">单位:像素</span>。默认值:<span style="color:red">20</span>像素',
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
label: '投影设置:',
|
|
45
|
-
ele: 'xd-shadow',
|
|
46
|
-
groupKey:'style',
|
|
47
|
-
labelInline: true,
|
|
48
|
-
valueKey: 'cardItemShadow',
|
|
49
|
-
value: data['cardItemShadow'] || '',
|
|
50
|
-
setting: {
|
|
51
|
-
selected: 'N',
|
|
52
|
-
},
|
|
53
|
-
handleCustom({action, data}) {
|
|
54
|
-
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
|
|
55
|
-
.then(res => {
|
|
56
|
-
data.cb(res.list)
|
|
57
|
-
})
|
|
58
|
-
.catch(error => {
|
|
59
|
-
console.error(error);
|
|
60
|
-
data.cb([])
|
|
61
|
-
});
|
|
62
|
-
},
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
label: '边框设置:',
|
|
66
|
-
ele: 'xd-border',
|
|
67
|
-
groupKey:'style',
|
|
68
|
-
labelInline: true,
|
|
69
|
-
valueKey: 'cardItemBorder',
|
|
70
|
-
value: data['cardItemBorder'] || '',
|
|
71
|
-
setting: {
|
|
72
|
-
selected:'N'
|
|
73
|
-
},
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
label: "圆角设置:",
|
|
77
|
-
groupKey: 'style',
|
|
78
|
-
ele: 'xd-slider',
|
|
79
|
-
valueKey: "cardItemRadius",
|
|
80
|
-
value: data['cardItemRadius'] === undefined?16:data['cardItemRadius'] ,
|
|
81
|
-
className: "input80",
|
|
82
|
-
labelInline: true,
|
|
83
|
-
setting:{
|
|
84
|
-
min: 0,//最小值
|
|
85
|
-
max: 60, //最小值
|
|
86
|
-
step:1, //步长
|
|
87
|
-
showStops:false,//显示间断点
|
|
88
|
-
showInput:false,//显示输入框
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
label: '服务详情跳转路径:',
|
|
93
|
-
ele: 'xd-select-pages-path',
|
|
94
|
-
valueKey: 'afterSalesDetailPath',
|
|
95
|
-
placeholder: '请选择服务详情跳转路径',
|
|
96
|
-
groupKey:'advanced',
|
|
97
|
-
className: 'input100',
|
|
98
|
-
value: data['afterSalesDetailPath'] || null,
|
|
99
|
-
setting: {
|
|
100
|
-
router: XdBus.getParentApi('getPagesTree'),
|
|
101
|
-
},
|
|
102
|
-
inline: false,
|
|
103
|
-
},
|
|
104
|
-
].filter(i=>i)
|
|
105
|
-
},
|
|
106
|
-
advanced: [],
|
|
107
|
-
};
|