|
@@ -112,8 +112,8 @@
|
|
|
<view class="bnt cancelBnt" v-if="item.status == -1 && item.refund_status == -1 ">退款已拒绝</view>
|
|
|
</view>
|
|
|
<view class="bottom acea-row row-right row-middle" v-if="item.status == 2">
|
|
|
- <view class="bnt cancelBnt" v-if="item.reward && item.reward.id">已打赏</view>
|
|
|
- <view class="bnt cancelBnt showbtn" v-else @click="das(item)">打赏</view>
|
|
|
+ <view class="bnt cancelBnt" v-if="item.reward && item.reward.id">已表扬</view>
|
|
|
+ <view class="bnt cancelBnt showbtn" v-else @click="das(item)">表扬</view>
|
|
|
<view class="bnt cancelBnt " v-if="item.complaint && item.complaint.id" >已投诉</view>
|
|
|
<view class="bnt cancelBnt " v-else @click="ts(item)">投诉</view>
|
|
|
</view>
|
|
@@ -138,7 +138,7 @@
|
|
|
<view class="tit">
|
|
|
多少都是您的心意
|
|
|
</view>
|
|
|
- <input type="number" v-model="dsPrice" placeholder="请输入任意打赏金额"/>
|
|
|
+ <input type="number" v-model="dsPrice" placeholder="请输入任意表扬金额(1~5)"/>
|
|
|
<view class="btn-wrap">
|
|
|
<view class="btn" @click="closeDs">
|
|
|
取消
|
|
@@ -372,7 +372,12 @@
|
|
|
let that = this;
|
|
|
if(!that.dsPrice) {
|
|
|
return that.$util.Tips({
|
|
|
- title: '请输入打赏金额'
|
|
|
+ title: '请输入表扬金额'
|
|
|
+ });
|
|
|
+ }
|
|
|
+ if(that.dsPrice > 5) {
|
|
|
+ return that.$util.Tips({
|
|
|
+ title: '输入金额过大,请慎重考虑'
|
|
|
});
|
|
|
}
|
|
|
that.totalPrice = that.dsPrice + ''
|
|
@@ -396,6 +401,7 @@
|
|
|
that.$util.Tips({
|
|
|
title: '投诉已提交'
|
|
|
})
|
|
|
+ that.getOrderList('re')
|
|
|
}).catch(err=> {
|
|
|
that.$util.Tips({
|
|
|
title: err.msg
|
|
@@ -626,7 +632,7 @@
|
|
|
pay_complete: function() {
|
|
|
this.$set(this, 'pay_close', false);
|
|
|
// this.page = 1;
|
|
|
- this.getOrderList()
|
|
|
+ that.getOrderList('re')
|
|
|
// this.loadend = false;
|
|
|
// // this.page = 1;
|
|
|
// this.$set(this, 'orderList', []);
|
|
@@ -691,8 +697,14 @@
|
|
|
/**
|
|
|
* 获取订单列表
|
|
|
*/
|
|
|
- getOrderList: function() {
|
|
|
+ getOrderList: function(ttype) {
|
|
|
let that = this;
|
|
|
+ if(ttype == 're') {
|
|
|
+ that.loadend = false;
|
|
|
+ that.loading = false;
|
|
|
+ that.orderList = [];
|
|
|
+ that.page = 1
|
|
|
+ }
|
|
|
if (that.loadend) return;
|
|
|
if (that.loading) return;
|
|
|
that.loading = true;
|