查询技师列表
This commit is contained in:
parent
2e1dae8f20
commit
df6fb56dd6
|
@ -16,7 +16,7 @@
|
||||||
<image class="fenlei-img" src="../../static/excel1.png"></image>
|
<image class="fenlei-img" src="../../static/excel1.png"></image>
|
||||||
<u-search class="flex-sub" placeholder="请输入技师名字" :focus="false" shape="square" v-model="artificerName"
|
<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()"
|
:show-action="true" :animation="true" bg-color="#fff" color="#019c88" @search="onSearch()"
|
||||||
action-text="搜索" @custom="onSearch()">
|
action-text="搜索" @custom="onSearch()" @clear="clear">
|
||||||
</u-search>
|
</u-search>
|
||||||
<span @click="toggle" class="screen-button">筛选</span>
|
<span @click="toggle" class="screen-button">筛选</span>
|
||||||
<!-- <z-tabs class="z-tabs-fenlei" :list="tabList" @change="tabChange" @changeClick="changeClick"/> -->
|
<!-- <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 style="padding: 0 20upx;margin-top: 60rpx;margin-bottom: 20rpx;">
|
||||||
<view class="popup-top">
|
<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>
|
<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>
|
||||||
<view class="popup-top">
|
<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>
|
<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) {
|
onLoad(e) {
|
||||||
let that = this
|
let that = this
|
||||||
that.massageTypeId = e.massageTypeId;
|
that.massageTypeId = e.massageTypeId;
|
||||||
that.classifyId = '';
|
|
||||||
that.technicianType = 3;
|
|
||||||
// that.getLocation();//低精度,快就完事了
|
// that.getLocation();//低精度,快就完事了
|
||||||
// that.getLocation(true);//高精度,慢慢查询
|
// that.getLocation(true);//高精度,慢慢查询
|
||||||
if(e){
|
if(e){
|
||||||
|
@ -419,6 +417,9 @@
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
let that = this
|
let that = this
|
||||||
|
that.orderList=[];
|
||||||
|
that.technicianType=3;
|
||||||
|
that.selectedValues=[];
|
||||||
that.XCXIsSelect = this.$queue.getData("XCXIsSelect");
|
that.XCXIsSelect = this.$queue.getData("XCXIsSelect");
|
||||||
var add=uni.getStorageSync('cityTherapist');
|
var add=uni.getStorageSync('cityTherapist');
|
||||||
if(add!=''){
|
if(add!=''){
|
||||||
|
@ -439,9 +440,6 @@
|
||||||
url: '/pages/public/login'
|
url: '/pages/public/login'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
that.orderList=[];
|
|
||||||
that.technicianType='3'
|
|
||||||
that.selectedValues=[];
|
|
||||||
that.token = uni.getStorageSync('token')
|
that.token = uni.getStorageSync('token')
|
||||||
if (uni.getStorageSync('token')) {
|
if (uni.getStorageSync('token')) {
|
||||||
if (that.latitude && that.longitude) {
|
if (that.latitude && that.longitude) {
|
||||||
|
@ -491,10 +489,12 @@
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
quding(){
|
quding(){
|
||||||
this.getlist()
|
this.getlist();
|
||||||
|
console.log("this.technicianType=============>",this.technicianType)
|
||||||
this.showpay = false;
|
this.showpay = false;
|
||||||
},
|
},
|
||||||
toggle() {
|
toggle() {
|
||||||
|
this.technicianType=3;
|
||||||
this.showpay = true;
|
this.showpay = true;
|
||||||
},
|
},
|
||||||
tabNavSon(){
|
tabNavSon(){
|
||||||
|
@ -511,7 +511,7 @@
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
this.tabListSon=list;
|
this.tabListSon=list;
|
||||||
this.classifyId=res.data[0].id;
|
// this.classifyId=res.data[0].id;
|
||||||
this.page = 1;
|
this.page = 1;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -531,6 +531,13 @@
|
||||||
this.technicianType=item.id;
|
this.technicianType=item.id;
|
||||||
this.page=1;
|
this.page=1;
|
||||||
},
|
},
|
||||||
|
clear(res) {
|
||||||
|
let that = this
|
||||||
|
that.orderList=[];
|
||||||
|
that.technicianType=3;
|
||||||
|
that.selectedValues=[];
|
||||||
|
that.getlist()
|
||||||
|
},
|
||||||
getlist() {
|
getlist() {
|
||||||
var that=this;
|
var that=this;
|
||||||
let index = 2
|
let index = 2
|
||||||
|
@ -835,12 +842,7 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
tanChange(index, item) {
|
|
||||||
this.orderIndex = index
|
|
||||||
this.tabIndex = item.id
|
|
||||||
this.page = 1
|
|
||||||
this.getlist()
|
|
||||||
},
|
|
||||||
// 开启订阅消息
|
// 开启订阅消息
|
||||||
openMsg() {
|
openMsg() {
|
||||||
console.log('订阅消息')
|
console.log('订阅消息')
|
||||||
|
@ -905,41 +907,6 @@
|
||||||
this.page = 1;
|
this.page = 1;
|
||||||
this.getlist()
|
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() {
|
goLowTaking() {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
|
|
Loading…
Reference in New Issue