订阅,文案完善
This commit is contained in:
parent
9391fa99d9
commit
c2acc33e26
|
|
@ -0,0 +1,43 @@
|
|||
<template>
|
||||
<view>
|
||||
<!-- 模态框 -->
|
||||
<view class="cu-modal" :class="isShow?'show':''">
|
||||
<view class="cu-dialog">
|
||||
<view class="padding-xl text-left">
|
||||
<view>检测到工单消息未订阅,是否前往修改订阅设置?</view>
|
||||
</view>
|
||||
<view class="cu-bar bg-white">
|
||||
<navigator class="modal-bottom-oper margin-0 flex-sub text-black" @tap="hideModal">取消
|
||||
</navigator>
|
||||
<view class="modal-bottom-oper margin-0 flex-sub text-main-color solid-left" @tap="confirm">确定</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'vertify-settingSubscribe',
|
||||
data() {
|
||||
return {
|
||||
isShow: false
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
showModal(e) {
|
||||
this.isShow = true
|
||||
},
|
||||
hideModal(e) {
|
||||
this.isShow = false;
|
||||
},
|
||||
confirm(e) {
|
||||
this.hideModal();
|
||||
wx.openSetting();
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
</style>
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
<view class="cu-modal" :class="isShow?'show':''">
|
||||
<view class="cu-dialog">
|
||||
<view class="padding-xl text-left">
|
||||
<view>前往确认是否授权订单进度消息提醒</view>
|
||||
<view>是否授权订单进度消息提醒</view>
|
||||
</view>
|
||||
<view class="cu-bar bg-white">
|
||||
<navigator class="modal-bottom-oper margin-0 flex-sub text-black" @tap="hideModal" target="miniProgram">取消
|
||||
|
|
@ -34,7 +34,7 @@
|
|||
confirm(e) {
|
||||
this.hideModal();
|
||||
// 提示订阅消息
|
||||
uni.requestSubscribeMessage({
|
||||
wx.requestSubscribeMessage({
|
||||
tmplIds: ['yqd3p4qsqn1RiyUb8kO4dPqoGKipRQg_y99nGw0jtLE',
|
||||
'gFoPAYF4J6Y_O5OzzNUbvMxTrsAS7aUWffdNH42xhzM'],
|
||||
complete(res) {
|
||||
|
|
|
|||
2
main.js
2
main.js
|
|
@ -18,6 +18,7 @@ import vertifyBusinessCertify from '@/components/vertify/vertify-business-certif
|
|||
import vertifyWorkerType from '@/components/vertify/vertify-worker-type.vue';
|
||||
import vertifyBankBind from '@/components/vertify/vertify-bank-bind.vue';
|
||||
import vertifySubscribe from '@/components/vertify/vertify-subscribe.vue';
|
||||
import vertifySettingSubscribe from '@/components/vertify/vertify-settingSubscribe.vue';
|
||||
|
||||
Vue.component('cu-custom', CuCustom)
|
||||
Vue.component('confirm-modal', ConfirmModal);
|
||||
|
|
@ -28,6 +29,7 @@ Vue.component('vertify-worker-type', vertifyWorkerType);
|
|||
Vue.component('vertify-bank-bind', vertifyBankBind);
|
||||
Vue.component('vertify-business-certify', vertifyBusinessCertify);
|
||||
Vue.component('vertify-subscribe', vertifySubscribe);
|
||||
Vue.component('vertify-settingSubscribe', vertifySettingSubscribe);
|
||||
|
||||
const data = type => {
|
||||
//模拟异步请求数据
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
<!-- <vertify-phone ref="vertifyPhone" @reload="reloadForwardPage"></vertify-phone> -->
|
||||
<!-- 订阅授权 -->
|
||||
<vertify-subscribe ref="vertifySubscribe"></vertify-subscribe>
|
||||
<vertify-settingSubscribe ref="vertifySettingSubscribe"></vertify-settingSubscribe>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
|
@ -56,17 +57,21 @@
|
|||
this.moduleBarInfos = await this.$api.data('moduleBarInfos');
|
||||
let curUserInfo = this.$request.getCurUserInfo();
|
||||
let _this = this;
|
||||
|
||||
if (curUserInfo && curUserInfo.phone && curUserInfo.type != null) {
|
||||
wx.getSetting({
|
||||
withSubscriptions: true,
|
||||
success(res) {
|
||||
console.log(res.subscriptionsSetting)
|
||||
if (!res.subscriptionsSetting.mainSwitch
|
||||
|| !res.subscriptionsSetting.itemSettings
|
||||
|| res.subscriptionsSetting.itemSettings['yqd3p4qsqn1RiyUb8kO4dPqoGKipRQg_y99nGw0jtLE'] !== 'accept'
|
||||
|| res.subscriptionsSetting.itemSettings['gFoPAYF4J6Y_O5OzzNUbvMxTrsAS7aUWffdNH42xhzM'] !== 'accept') {
|
||||
if (res.subscriptionsSetting.mainSwitch && (!res.subscriptionsSetting.itemSettings
|
||||
|| !res.subscriptionsSetting.itemSettings['yqd3p4qsqn1RiyUb8kO4dPqoGKipRQg_y99nGw0jtLE']
|
||||
|| !res.subscriptionsSetting.itemSettings['gFoPAYF4J6Y_O5OzzNUbvMxTrsAS7aUWffdNH42xhzM'])) {
|
||||
// 提示授权订单进度消息提示
|
||||
_this.$refs.vertifySubscribe.showModal();
|
||||
} else if (!res.subscriptionsSetting.mainSwitch
|
||||
|| res.subscriptionsSetting.itemSettings['yqd3p4qsqn1RiyUb8kO4dPqoGKipRQg_y99nGw0jtLE'] !== 'accept'
|
||||
|| res.subscriptionsSetting.itemSettings['gFoPAYF4J6Y_O5OzzNUbvMxTrsAS7aUWffdNH42xhzM'] !== 'accept') {
|
||||
_this.$refs.vertifySettingSubscribe.showModal();
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -48,9 +48,11 @@
|
|||
<view class="cu-bar solid-top">
|
||||
<view class="action margin-0 flex-sub text-black" data-modal="agreeAfterSale" @click="hideModal">取消</view>
|
||||
<view class="action margin-0 flex-sub text-main-color solid-left" data-modal="agreeAfterSale"
|
||||
@click="submit">确认</view>
|
||||
@click="showNotice">确认</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<confirm-modal ref="notice" :content="'本单款项银联确认已发起支付,款项已到达或即将到达您所绑定帐户,需退款的同意后您线下与客户操作退款,系统无法提供原路返回退款!'" :confirmMsg="'同意'" @confirm="noticeConfirm" @cancel="noticeCancel"></confirm-modal>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
|
@ -80,7 +82,7 @@
|
|||
uni.$emit(this.$globalFun.HIDE_MODAL, e);
|
||||
},
|
||||
resetData() {
|
||||
this.data = null;
|
||||
// this.data = null;
|
||||
this.agreedRefund = null;
|
||||
this.reasonType = null;
|
||||
this.remark = null;
|
||||
|
|
@ -88,6 +90,31 @@
|
|||
changeReasonRadio(e) {
|
||||
this.reasonType = e.detail.value;
|
||||
},
|
||||
showNotice(e) {
|
||||
if (this.data.drawCashStatus != null && this.data.drawCashStatus >= 1) {
|
||||
this.$refs.notice.showModal();
|
||||
} else {
|
||||
this.submit(e);
|
||||
}
|
||||
},
|
||||
noticeConfirm() {
|
||||
this.submit({
|
||||
currentTarget: {
|
||||
dataset: {
|
||||
modal: 'agreeAfterSale'
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
noticeCancel() {
|
||||
this.hideModal({
|
||||
currentTarget: {
|
||||
dataset: {
|
||||
modal: 'agreeAfterSale'
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
async submit(e) {
|
||||
let agreedRefund = this.agreedRefund;
|
||||
if (!agreedRefund && this.data.afterServiceRecordList[0].refund != null) {
|
||||
|
|
|
|||
|
|
@ -192,7 +192,7 @@
|
|||
</view> -->
|
||||
<view class="margin-top-sm text-red" v-if="order.orderDetailId != null && order.drawCashStatus === 2">
|
||||
<text class="text-lg margin-right-xs"><text class="cuIcon-notice"></text></text>
|
||||
<text>贷款分账成功:{{order.arrivalTime}}</text>
|
||||
<text>货款分账成功:{{order.arrivalTime}}</text>
|
||||
</view>
|
||||
<view class="margin-top-sm text-red" v-if="order.orderDetailId != null && order.drawCashStatus === -1">
|
||||
<text class="text-lg margin-right-xs"><text class="cuIcon-notice"></text></text>
|
||||
|
|
@ -269,7 +269,19 @@
|
|||
</view>
|
||||
<view>
|
||||
<text>退款原因:</text>
|
||||
<text>{{afterServiceRecord.customerReason}}</text>
|
||||
<text v-if="afterServiceRecord.customerReasonType === 1">上门/服务不守时</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 2">态度不友好,无法继续</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 3">服务效果差,未达到合格</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 4">技能水平问题,未妥善完成</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 5">要求加费用,费用不合理</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 6">订单拖太久了</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 7">超了些服务内容,师傅不接受</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 8">客户/我时间不方便了</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 9">客户/我已让别的师傅服务了</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>具体原因:</text>
|
||||
<text v-if="afterServiceRecord.customerReason">{{afterServiceRecord.customerReason}}</text>
|
||||
</view>
|
||||
<view class="grid col-3 grid-square flex-sub margin-top-sm">
|
||||
<view class="bg-img" v-for="(imgObj, imgIndex) in afterServiceRecord.imgsList" :key="imgIndex" v-if="imgObj.imgUploadBy === 1">
|
||||
|
|
@ -289,7 +301,19 @@
|
|||
</view>
|
||||
<view>
|
||||
<text>售后原因:</text>
|
||||
<text>{{afterServiceRecord.customerReason}}</text>
|
||||
<text v-if="afterServiceRecord.customerReasonType === 1">上门/服务不守时</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 2">态度不友好,无法继续</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 3">服务效果差,未达到合格</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 4">技能水平问题,未妥善完成</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 5">要求加费用,费用不合理</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 6">订单拖太久了</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 7">超了些服务内容,师傅不接受</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 8">客户/我时间不方便了</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 9">客户/我已让别的师傅服务了</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>具体原因:</text>
|
||||
<text v-if="afterServiceRecord.customerReason">{{afterServiceRecord.customerReason}}</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>完成操作:点击“操作处理”提交由客服回访!</text>
|
||||
|
|
|
|||
|
|
@ -174,7 +174,19 @@
|
|||
</view>
|
||||
<view>
|
||||
<text>退款原因:</text>
|
||||
<text>{{afterServiceRecord.customerReason}}</text>
|
||||
<text v-if="afterServiceRecord.customerReasonType === 1">上门/服务不守时</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 2">态度不友好,无法继续</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 3">服务效果差,未达到合格</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 4">技能水平问题,未妥善完成</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 5">要求加费用,费用不合理</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 6">订单拖太久了</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 7">超了些服务内容,师傅不接受</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 8">客户/我时间不方便了</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 9">客户/我已让别的师傅服务了</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>具体原因:</text>
|
||||
<text v-if="afterServiceRecord.customerReason">{{afterServiceRecord.customerReason}}</text>
|
||||
</view>
|
||||
<view class="grid col-3 grid-square flex-sub margin-top-sm">
|
||||
<view class="bg-img" v-for="(imgObj, imgIndex) in afterServiceRecord.imgsList"
|
||||
|
|
@ -200,7 +212,19 @@
|
|||
</view>
|
||||
<view>
|
||||
<text>售后原因:</text>
|
||||
<text>{{afterServiceRecord.customerReason}}</text>
|
||||
<text v-if="afterServiceRecord.customerReasonType === 1">上门/服务不守时</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 2">态度不友好,无法继续</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 3">服务效果差,未达到合格</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 4">技能水平问题,未妥善完成</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 5">要求加费用,费用不合理</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 6">订单拖太久了</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 7">超了些服务内容,师傅不接受</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 8">客户/我时间不方便了</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 9">客户/我已让别的师傅服务了</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>具体原因:</text>
|
||||
<text v-if="afterServiceRecord.customerReason">{{afterServiceRecord.customerReason}}</text>
|
||||
</view>
|
||||
<view class="grid col-3 grid-square flex-sub margin-top-sm">
|
||||
<view class="bg-img" v-for="(imgObj, imgIndex) in afterServiceRecord.imgsList"
|
||||
|
|
@ -394,7 +418,19 @@
|
|||
</view>
|
||||
<view>
|
||||
<text>退款原因:</text>
|
||||
<text>{{afterServiceRecord.customerReason}}</text>
|
||||
<text v-if="afterServiceRecord.customerReasonType === 1">上门/服务不守时</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 2">态度不友好,无法继续</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 3">服务效果差,未达到合格</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 4">技能水平问题,未妥善完成</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 5">要求加费用,费用不合理</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 6">订单拖太久了</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 7">超了些服务内容,师傅不接受</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 8">客户/我时间不方便了</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 9">客户/我已让别的师傅服务了</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>具体原因:</text>
|
||||
<text v-if="afterServiceRecord.customerReason">{{afterServiceRecord.customerReason}}</text>
|
||||
</view>
|
||||
<view class="grid col-3 grid-square flex-sub margin-top-sm">
|
||||
<view class="bg-img" v-for="(imgObj, imgIndex) in afterServiceRecord.imgsList"
|
||||
|
|
@ -420,7 +456,19 @@
|
|||
</view>
|
||||
<view>
|
||||
<text>售后原因:</text>
|
||||
<text>{{afterServiceRecord.customerReason}}</text>
|
||||
<text v-if="afterServiceRecord.customerReasonType === 1">上门/服务不守时</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 2">态度不友好,无法继续</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 3">服务效果差,未达到合格</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 4">技能水平问题,未妥善完成</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 5">要求加费用,费用不合理</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 6">订单拖太久了</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 7">超了些服务内容,师傅不接受</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 8">客户/我时间不方便了</text>
|
||||
<text v-else-if="afterServiceRecord.customerReasonType === 9">客户/我已让别的师傅服务了</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>具体原因:</text>
|
||||
<text v-if="afterServiceRecord.customerReason">{{afterServiceRecord.customerReason}}</text>
|
||||
</view>
|
||||
<view class="grid col-3 grid-square flex-sub margin-top-sm">
|
||||
<view class="bg-img" v-for="(imgObj, imgIndex) in afterServiceRecord.imgsList"
|
||||
|
|
|
|||
Loading…
Reference in New Issue