查询技师列表

This commit is contained in:
Mr.jiang 2024-08-20 09:27:28 +08:00
parent 2e1dae8f20
commit df6fb56dd6
1 changed files with 17 additions and 50 deletions

View File

@ -16,7 +16,7 @@
<image class="fenlei-img" src="../../static/excel1.png"></image>
<u-search class="flex-sub" placeholder="请输入技师名字" :focus="false" shape="square" v-model="artificerName"
:show-action="true" :animation="true" bg-color="#fff" color="#019c88" @search="onSearch()"
action-text="搜索" @custom="onSearch()">
action-text="搜索" @custom="onSearch()" @clear="clear">
</u-search>
<span @click="toggle" class="screen-button">筛选</span>
<!-- <z-tabs class="z-tabs-fenlei" :list="tabList" @change="tabChange" @changeClick="changeClick"/> -->
@ -229,7 +229,7 @@
<view style="padding: 0 20upx;margin-top: 60rpx;margin-bottom: 20rpx;">
<view class="popup-top">
<view class="popup-top-one flex"><image style="width:30rpx; height:30rpx; margin-top:4rpx;margin-right: 4rpx;" src="../../static/shezhi9.png"></image><span>技师等级</span></view>
<z-tabs class="z-tabs-fenlei" :list="tabList" @change="tabChange" @changeClick="changeClick"/>
<z-tabs class="z-tabs-fenlei" :list="tabList" @changeClick="changeClick"/>
</view>
<view class="popup-top">
<view class="popup-top-one flex"><image style="width:30rpx; height:30rpx; margin-top:4rpx; margin-right: 4rpx;" src="../../static/shezhi10.png"></image><span>技师类型</span></view>
@ -360,8 +360,6 @@
onLoad(e) {
let that = this
that.massageTypeId = e.massageTypeId;
that.classifyId = '';
that.technicianType = 3;
// that.getLocation();//
// that.getLocation(true);//
if(e){
@ -419,6 +417,9 @@
},
onShow() {
let that = this
that.orderList=[];
that.technicianType=3;
that.selectedValues=[];
that.XCXIsSelect = this.$queue.getData("XCXIsSelect");
var add=uni.getStorageSync('cityTherapist');
if(add!=''){
@ -439,9 +440,6 @@
url: '/pages/public/login'
})
}
that.orderList=[];
that.technicianType='3'
that.selectedValues=[];
that.token = uni.getStorageSync('token')
if (uni.getStorageSync('token')) {
if (that.latitude && that.longitude) {
@ -491,10 +489,12 @@
},
methods: {
quding(){
this.getlist()
this.getlist();
console.log("this.technicianType=============>",this.technicianType)
this.showpay = false;
},
toggle() {
this.technicianType=3;
this.showpay = true;
},
tabNavSon(){
@ -511,7 +511,7 @@
})
}
this.tabListSon=list;
this.classifyId=res.data[0].id;
// this.classifyId=res.data[0].id;
this.page = 1;
}
})
@ -531,6 +531,13 @@
this.technicianType=item.id;
this.page=1;
},
clear(res) {
let that = this
that.orderList=[];
that.technicianType=3;
that.selectedValues=[];
that.getlist()
},
getlist() {
var that=this;
let index = 2
@ -835,12 +842,7 @@
}
});
},
tanChange(index, item) {
this.orderIndex = index
this.tabIndex = item.id
this.page = 1
this.getlist()
},
//
openMsg() {
console.log('订阅消息')
@ -905,41 +907,6 @@
this.page = 1;
this.getlist()
},
//
tabChange() {
if (uni.getStorageSync('sendMsg')) {
console.log('授权+1')
wx.requestSubscribeMessage({
tmplIds: this.arr,
success(re) {
console.log(JSON.stringify(re), 111111111111)
var datas = JSON.stringify(re);
if (datas.indexOf("accept") != -1) {
// console.log(re)
}
},
fail: (res) => {
// console.log(res)
}
})
}
this.defaultIndex = [0, 0, 0]
// this.$refs.uDropdown.close();
this.page = 1
this.getlist()
},
//
change(index) {
// this.value1 = e[0][0].value
// this.value2 = e[1][0].value
// this.value3 = e[2][0].value
this.listIndex = index
this.page = 1
this.getlist()
},
//
goLowTaking() {
uni.navigateTo({