This commit is contained in:
parent
b412c01724
commit
99752b5910
|
@ -190,6 +190,7 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
z-index: 666;
|
||||||
}
|
}
|
||||||
.time-money{
|
.time-money{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
|
@ -1626,6 +1626,7 @@
|
||||||
accomplishLatitude:latitude,
|
accomplishLatitude:latitude,
|
||||||
earlyFinishReason: that.earlyFinishReason,
|
earlyFinishReason: that.earlyFinishReason,
|
||||||
}
|
}
|
||||||
|
that.$queue.showLoading('提交中...')
|
||||||
that.$Request.post('/app/artificer/accomplishOrders', data).then(res => {
|
that.$Request.post('/app/artificer/accomplishOrders', data).then(res => {
|
||||||
if (res.code == 0||res.code == 200) {
|
if (res.code == 0||res.code == 200) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
|
@ -1636,7 +1637,9 @@
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url:'/pages/order/index'
|
url:'/pages/order/index'
|
||||||
})
|
})
|
||||||
|
uni.hideLoading();
|
||||||
}else{
|
}else{
|
||||||
|
uni.hideLoading();
|
||||||
that.getOrder()
|
that.getOrder()
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
icon:'error',
|
icon:'error',
|
||||||
|
@ -1664,6 +1667,7 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
|
uni.hideLoading();
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
icon:'error',
|
icon:'error',
|
||||||
title:'请输入提前结束原因!'
|
title:'请输入提前结束原因!'
|
||||||
|
|
|
@ -497,7 +497,7 @@
|
||||||
</u-button>
|
</u-button>
|
||||||
<u-button
|
<u-button
|
||||||
shape="circle" :plain="true"
|
shape="circle" :plain="true"
|
||||||
@click="goNav('/my/wallet/index?artificerId='+order.artificerId)"
|
@click="goNav('/my/wallet/index?artificerId='+order.artificerId+'&ordersId='+order.ordersId)"
|
||||||
class="btns">
|
class="btns">
|
||||||
充值
|
充值
|
||||||
</u-button>
|
</u-button>
|
||||||
|
@ -624,7 +624,7 @@
|
||||||
</view>
|
</view>
|
||||||
<radio-group name="openWay" style="margin-left: 45upx;" @tap='selectWay(item)'>
|
<radio-group name="openWay" style="margin-left: 45upx;" @tap='selectWay(item)'>
|
||||||
<label class="tui-radio">
|
<label class="tui-radio">
|
||||||
<radio color="#096f4b" :checked="openWay === item.id ? true : false" />
|
<radio color="#019c88" :checked="openWay === item.id ? true : false" />
|
||||||
</label>
|
</label>
|
||||||
</radio-group>
|
</radio-group>
|
||||||
</view>
|
</view>
|
||||||
|
@ -1197,6 +1197,7 @@
|
||||||
accomplishLatitude:latitude,
|
accomplishLatitude:latitude,
|
||||||
earlyFinishReason: that.earlyFinishReason,
|
earlyFinishReason: that.earlyFinishReason,
|
||||||
}
|
}
|
||||||
|
that.$queue.showLoading('提交中...')
|
||||||
that.$Request.post('/app/artificer/accomplishOrders', data).then(res => {
|
that.$Request.post('/app/artificer/accomplishOrders', data).then(res => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
|
@ -1207,12 +1208,14 @@
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url:'/pages/order/index'
|
url:'/pages/order/index'
|
||||||
})
|
})
|
||||||
|
uni.hideLoading();
|
||||||
}else{
|
}else{
|
||||||
that.getOrder()
|
that.getOrder()
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
icon:'error',
|
icon:'error',
|
||||||
title:'操作失败!'
|
title:'操作失败!'
|
||||||
})
|
})
|
||||||
|
uni.hideLoading();
|
||||||
}
|
}
|
||||||
|
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
|
@ -1234,6 +1237,7 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}else{
|
}else{
|
||||||
|
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
icon:'error',
|
icon:'error',
|
||||||
title:'请输入提前结束原因!'
|
title:'请输入提前结束原因!'
|
||||||
|
|
|
@ -722,7 +722,7 @@
|
||||||
</view>
|
</view>
|
||||||
<radio-group name="openWay" style="margin-left: 45upx;" @tap='selectWay(item)'>
|
<radio-group name="openWay" style="margin-left: 45upx;" @tap='selectWay(item)'>
|
||||||
<label class="tui-radio">
|
<label class="tui-radio">
|
||||||
<radio color="#096f4b" :checked="openWay === item.id ? true : false" />
|
<radio color="#019c88" :checked="openWay === item.id ? true : false" />
|
||||||
</label>
|
</label>
|
||||||
</radio-group>
|
</radio-group>
|
||||||
</view>
|
</view>
|
||||||
|
@ -1485,6 +1485,7 @@
|
||||||
accomplishLatitude:latitude,
|
accomplishLatitude:latitude,
|
||||||
earlyFinishReason: that.earlyFinishReason,
|
earlyFinishReason: that.earlyFinishReason,
|
||||||
}
|
}
|
||||||
|
that.$queue.showLoading('提交中...')
|
||||||
that.$Request.post('/app/artificer/accomplishOrders', data).then(res => {
|
that.$Request.post('/app/artificer/accomplishOrders', data).then(res => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
|
@ -1495,12 +1496,14 @@
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url:'/pages/order/index'
|
url:'/pages/order/index'
|
||||||
})
|
})
|
||||||
|
uni.hideLoading();
|
||||||
}else{
|
}else{
|
||||||
that.getOrder()
|
that.getOrder()
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
icon:'error',
|
icon:'error',
|
||||||
title:'操作失败!'
|
title:'操作失败!'
|
||||||
})
|
})
|
||||||
|
uni.hideLoading();
|
||||||
}
|
}
|
||||||
|
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<view class="my-head-top-view" v-if="!isLogin">
|
<view class="my-head-top-view" v-if="!isLogin">
|
||||||
<view class="my-head-top-text">
|
<view class="my-head-top-text">
|
||||||
<span>{{userName}}</span>
|
<span>{{userName}}</span>
|
||||||
<view class="my-head-top-id" v-if="vipNameType">
|
<view class="my-head-top-id" v-if="vipNameType!=null">
|
||||||
<image v-if="vipNameType=='0'" class="my-head-vip" style="width:60rpx; height: 60rpx;" src="../../static/vip/membership5.png"></image>
|
<image v-if="vipNameType=='0'" class="my-head-vip" style="width:60rpx; height: 60rpx;" src="../../static/vip/membership5.png"></image>
|
||||||
<image v-if="vipNameType=='1'" class="my-head-vip" style="width:60rpx; height: 60rpx;" src="../../static/vip/membership6.png"></image>
|
<image v-if="vipNameType=='1'" class="my-head-vip" style="width:60rpx; height: 60rpx;" src="../../static/vip/membership6.png"></image>
|
||||||
<image v-if="vipNameType=='2'" class="my-head-vip" style="width:60rpx; height: 60rpx;" src="../../static/vip/membership4.png"></image>
|
<image v-if="vipNameType=='2'" class="my-head-vip" style="width:60rpx; height: 60rpx;" src="../../static/vip/membership4.png"></image>
|
||||||
|
|
|
@ -31,38 +31,16 @@
|
||||||
<span>{{item.price}}</span>
|
<span>{{item.price}}</span>
|
||||||
<span style="color: #999;text-decoration: line-through;margin-left: 5px;">¥{{item.oldPrice}}</span>
|
<span style="color: #999;text-decoration: line-through;margin-left: 5px;">¥{{item.oldPrice}}</span>
|
||||||
</view>
|
</view>
|
||||||
<view class="item-view-jianjie">
|
<view class="shop_label" v-if="tagsData">
|
||||||
{{item.content}}
|
<span v-for="tag in tagsData" :key="tag">{{tag}}</span>
|
||||||
</view>
|
</view>
|
||||||
<view class="item-view-bottom">
|
<view class="item-view-bottom">
|
||||||
<view class="item-view-xiangmu">
|
<view class="item-view-xiangmu">
|
||||||
<span>已售</span><span>{{item.sales}}</span>
|
<span>已售</span><span>{{item.sales}}</span>
|
||||||
</view>
|
</view>
|
||||||
<!--<view class="item-view-bottom-btn">
|
|
||||||
预约
|
|
||||||
</view>-->
|
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="flex shop_category">
|
|
||||||
<view class="shop_category_a">中医理疗</view>
|
|
||||||
<view>6.7km</view>
|
|
||||||
</view>
|
|
||||||
<view class="shop_label">
|
|
||||||
<span>有包厢</span>
|
|
||||||
<span>有吸烟区</span>
|
|
||||||
<span>有淋浴房</span>
|
|
||||||
<span>有免费wifi</span>
|
|
||||||
</view> -->
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="shop_item">
|
|
||||||
<view>
|
|
||||||
<span>¥</span>
|
|
||||||
<span class="shop_color">980</span>
|
|
||||||
<span>元</span>
|
|
||||||
</view>
|
|
||||||
<view>【冬病夏治】无烟明火艾灸疗</view>
|
|
||||||
<view class="shop-arrow"></view>
|
|
||||||
</view> -->
|
|
||||||
</view>
|
</view>
|
||||||
<view v-if="getText=='商家'">
|
<view v-if="getText=='商家'">
|
||||||
<view class="item" v-for="(item,index) in dataList" :key="index" @click="itemClick(item)">
|
<view class="item" v-for="(item,index) in dataList" :key="index" @click="itemClick(item)">
|
||||||
|
@ -171,6 +149,10 @@
|
||||||
if (res.data) {
|
if (res.data) {
|
||||||
if (this.page == 1) this.dataList = []; //如果是第一页需手动制空列表
|
if (this.page == 1) this.dataList = []; //如果是第一页需手动制空列表
|
||||||
this.dataList = [...this.dataList, ...res.data.list]; //追加新数据
|
this.dataList = [...this.dataList, ...res.data.list]; //追加新数据
|
||||||
|
for(var i=0;i<this.dataList.length;i++){
|
||||||
|
this.tagsData=this.dataList[i].labels.split(',');
|
||||||
|
}
|
||||||
|
console.log("tagsData",this.tagsData)
|
||||||
uni.stopPullDownRefresh()
|
uni.stopPullDownRefresh()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue