This commit is contained in:
许允枞 2025-03-18 17:22:55 +08:00
parent 130af71b8b
commit 026b94f9db
2 changed files with 33 additions and 2 deletions

View File

@ -125,7 +125,12 @@
params: data
})
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
this.totalPages = Math.ceil(total / this.pageSize);
}

View File

@ -70,6 +70,17 @@
<uni-icons type="right" color="#999999" size="16"></uni-icons>
</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 class="ian-box">-->
<!-- <view class="on-input" @click="goWord()">-->
@ -147,7 +158,8 @@ export default {
user: {},
baseUrl: '',
partnerId: '',
myindex: {}
myindex: {},
lookAppointment: false
}
},
onLoad() {
@ -158,6 +170,7 @@ export default {
console.log(this.user);
this.partnerId = uni.getStorageSync('partnerId')
this.getindexmy()
this.ifAppointment()
},
components: {
tabBar,
@ -176,6 +189,14 @@ export default {
this.tui()
this.$refs.alertDialog.close()
},
ifAppointment(){
request({
url: '/partnerOwn/partner/ifAppointment',
method: 'get',
}).then((res) => {
this.lookAppointment = res.data
})
},
//
editUserInfo() {
//
@ -227,6 +248,11 @@ export default {
url: "/pages/manage/deviceManage"
})
},
goAppointment() {
uni.navigateTo({
url: "/pages/order/reservationlist"
})
},
goWord() {
request({
url: '/system/info/exportWord',