修改请他上线功能
This commit is contained in:
parent
c3349ee8ec
commit
e2b6df7640
|
@ -15,15 +15,14 @@
|
|||
<view class="view-head">
|
||||
<view class="jian-view">
|
||||
<view class="jian-view-left">
|
||||
<span>{{order.artificerName}}</span>
|
||||
<span>22{{order.artificerName}}</span>
|
||||
</view>
|
||||
<view class="jian-view-right">
|
||||
|
||||
<view class="oder-mian-right">
|
||||
<view class="oder-mian-view oder-mian-jin">
|
||||
今日可约
|
||||
{{order.status == 1?"可服务":"休息中"}}
|
||||
</view>
|
||||
<view class="oder-mian-view oder-mian-time">{{order.time}}</view>
|
||||
<view class="oder-mian-view oder-mian-time"><span v-if="order.status == 1">{{order.time}}</span></view>
|
||||
</view>
|
||||
<view class="jian-view-right-weizhi">
|
||||
<image class="jian-view-right-img" src="../../static/orderDetail/dingwei.png"></image>
|
||||
|
@ -52,7 +51,7 @@
|
|||
|
||||
</view>
|
||||
</view>
|
||||
<view class="oder-mian-qing" @click="shangxian">请TA上线</view>
|
||||
<view class="oder-mian-qing" @click="shangxian" v-if="order.status == 2">请TA上线</view>
|
||||
<view class="oder-mian-guan" :class="[isFollow?'activeG':'activeQ']" @click="guanzhu(order)">
|
||||
+ 关注
|
||||
</view>
|
||||
|
@ -345,8 +344,8 @@
|
|||
methods: {
|
||||
shangxian(){//请TA上线
|
||||
var data={
|
||||
userId: this.myId,
|
||||
artificerId: this.artificerId
|
||||
userId: this.artificerId,
|
||||
byUserId: this.myId
|
||||
}
|
||||
this.$Request.post("/app/message/insertUpMessage", data).then(res => {
|
||||
if (res.code == 0) {
|
||||
|
@ -470,6 +469,7 @@
|
|||
}).then(res => {
|
||||
uni.hideLoading();
|
||||
this.loading = false;
|
||||
console.log('getDet---->',res)
|
||||
if (res.code == 0) {
|
||||
this.order = res.data
|
||||
this.status = res.data.status
|
||||
|
|
Loading…
Reference in New Issue