更新
This commit is contained in:
parent
130af71b8b
commit
026b94f9db
@ -125,7 +125,12 @@
|
|||||||
params: data
|
params: data
|
||||||
})
|
})
|
||||||
if(res.code == 200){
|
if(res.code == 200){
|
||||||
this.goodsList = this.goodsList.concat(res.rows)
|
if (this.pageNum == 1) {
|
||||||
|
this.goodsList = res.rows
|
||||||
|
}else {
|
||||||
|
|
||||||
|
this.goodsList = this.goodsList.concat(res.rows)
|
||||||
|
}
|
||||||
let total = res.total
|
let total = res.total
|
||||||
this.totalPages = Math.ceil(total / this.pageSize);
|
this.totalPages = Math.ceil(total / this.pageSize);
|
||||||
}
|
}
|
||||||
|
@ -70,6 +70,17 @@
|
|||||||
<uni-icons type="right" color="#999999" size="16"></uni-icons>
|
<uni-icons type="right" color="#999999" size="16"></uni-icons>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="on-input" @click="goAppointment()" v-if="lookAppointment">
|
||||||
|
<view class="dix">
|
||||||
|
<view class="d-icon">
|
||||||
|
<image src="../../static/detection/zhaq.png" mode=""></image>
|
||||||
|
</view>
|
||||||
|
<view class="aa">预约信息</view>
|
||||||
|
</view>
|
||||||
|
<view class="">
|
||||||
|
<uni-icons type="right" color="#999999" size="16"></uni-icons>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="ian-box">-->
|
<!-- <view class="ian-box">-->
|
||||||
<!-- <view class="on-input" @click="goWord()">-->
|
<!-- <view class="on-input" @click="goWord()">-->
|
||||||
@ -147,7 +158,8 @@ export default {
|
|||||||
user: {},
|
user: {},
|
||||||
baseUrl: '',
|
baseUrl: '',
|
||||||
partnerId: '',
|
partnerId: '',
|
||||||
myindex: {}
|
myindex: {},
|
||||||
|
lookAppointment: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
@ -158,6 +170,7 @@ export default {
|
|||||||
console.log(this.user);
|
console.log(this.user);
|
||||||
this.partnerId = uni.getStorageSync('partnerId')
|
this.partnerId = uni.getStorageSync('partnerId')
|
||||||
this.getindexmy()
|
this.getindexmy()
|
||||||
|
this.ifAppointment()
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
tabBar,
|
tabBar,
|
||||||
@ -176,6 +189,14 @@ export default {
|
|||||||
this.tui()
|
this.tui()
|
||||||
this.$refs.alertDialog.close()
|
this.$refs.alertDialog.close()
|
||||||
},
|
},
|
||||||
|
ifAppointment(){
|
||||||
|
request({
|
||||||
|
url: '/partnerOwn/partner/ifAppointment',
|
||||||
|
method: 'get',
|
||||||
|
}).then((res) => {
|
||||||
|
this.lookAppointment = res.data
|
||||||
|
})
|
||||||
|
},
|
||||||
// 点击编辑信息按钮时调用此方法
|
// 点击编辑信息按钮时调用此方法
|
||||||
editUserInfo() {
|
editUserInfo() {
|
||||||
// 这里可以跳转到编辑页面并传递参数
|
// 这里可以跳转到编辑页面并传递参数
|
||||||
@ -227,6 +248,11 @@ export default {
|
|||||||
url: "/pages/manage/deviceManage"
|
url: "/pages/manage/deviceManage"
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
goAppointment() {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: "/pages/order/reservationlist"
|
||||||
|
})
|
||||||
|
},
|
||||||
goWord() {
|
goWord() {
|
||||||
request({
|
request({
|
||||||
url: '/system/info/exportWord',
|
url: '/system/info/exportWord',
|
||||||
|
Loading…
Reference in New Issue
Block a user