|
@@ -63,7 +63,7 @@
|
|
|
<div class="small-box bg-fuchsia">
|
|
|
<div class="inner">
|
|
|
<h3>{{thcOrderSum}}</h3>
|
|
|
- <p>退款</p>
|
|
|
+ <p>申请退款订单</p>
|
|
|
</div>
|
|
|
<div class="icon">
|
|
|
<i class="fa fa-shopping-bag"></i>
|
|
@@ -313,6 +313,26 @@
|
|
|
// });
|
|
|
$.get("../orderrefund/queryTotal?isOnfflineOrder=0&refundStatus=1", function (r) {
|
|
|
vue.thcOrderSum = r.sum;
|
|
|
+ if (r.sum > 0) {
|
|
|
+ iview.Notice.info({
|
|
|
+ title: '您有退款申请订单',
|
|
|
+ desc: '<a onclick="vm.toOrderByRefundStatus(1)" class="small-box-footer">查看</a>',
|
|
|
+ duration: 0
|
|
|
+ });
|
|
|
+ let iN = new iNotify({
|
|
|
+ effect: 'flash',
|
|
|
+ interval: 500,
|
|
|
+ message: "申请退款订单",
|
|
|
+ audio: {
|
|
|
+ file: ['../statics/audio/dforder.mp3']
|
|
|
+ },
|
|
|
+ notification: {
|
|
|
+ title: "通知!",
|
|
|
+ body: '您有退款申请订单'
|
|
|
+ }
|
|
|
+ });
|
|
|
+ iN.setTitle(true).player();
|
|
|
+ }
|
|
|
});
|
|
|
$.getJSON("../order/getUserOrderInfo?type=yfkOrderUserSum", function (r) {
|
|
|
vue.yfkOrderUserSum = r.result;
|