修改
This commit is contained in:
parent
10b1233d11
commit
eb5ee913dc
@ -9,46 +9,65 @@
|
||||
:class="tabIndex == index?'active':''">
|
||||
{{item.name}}
|
||||
</view>
|
||||
<view class="Apayment" @tap='gotask(item)' v-if='choicetab==0' v-for="(item,index) in list" :key="item.id">
|
||||
<view class="names">{{item.serviceDate}} {{item.serviceStartTime}}-{{item.serviceEndTime}}
|
||||
<span>待完成</span>
|
||||
</view>
|
||||
<image :src="baseurl+item.itemPictureUrl" mode=""></image>
|
||||
<view class="detailsinfo">
|
||||
<view class="change">
|
||||
{{item.nurseItemName}}
|
||||
<view class="" v-if="list.length>0">
|
||||
<view class="Apayment" v-if='choicetab==0' v-for="(item,index) in list" :key="item.id">
|
||||
<view class="names">{{item.serviceDate}} {{item.serviceStartTime}}-{{item.serviceEndTime}}
|
||||
<span>待完成</span>
|
||||
</view>
|
||||
<view class="time">
|
||||
服务时长:{{item.itemServeDurationUnit}}
|
||||
<image @tap='gotask(item)' :src="baseurl+item.itemPictureUrl" mode=""></image>
|
||||
<view class="detailsinfo" @tap='gotask(item)'>
|
||||
<view class="change">
|
||||
{{item.nurseItemName}}
|
||||
</view>
|
||||
<view class="time">
|
||||
服务时长:{{item.itemServeDurationUnit}}
|
||||
</view>
|
||||
<view class="price">
|
||||
¥{{item.totalPrice}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="price">
|
||||
¥{{item.totalPrice}}
|
||||
<view class="anniu">
|
||||
<view class="logistics" @tap='gotask(item)'>详情</view>
|
||||
<view class="logistics harvest" @tap='goconfirmCompletion(item)'>去完成</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="anniu">
|
||||
<view class="logistics" @tap='gotask(item)'>详情</view>
|
||||
<view class="logistics harvest" @tap='goconfirmCompletion(item)'>去完成</view>
|
||||
<view class="Apayment" @tap='gotask(item)' v-if='choicetab==1' v-for="(item,uindex) in list"
|
||||
:key="uindex">
|
||||
<view class="names">{{item.serviceDate}} {{item.serviceStartTime}}-{{item.serviceEndTime}}
|
||||
<span>已完成</span>
|
||||
</view>
|
||||
<image src="../../static/fuwutu.png" mode=""></image>
|
||||
<view class="detailsinfo">
|
||||
<view class="change">
|
||||
{{item.nurseItemName}}
|
||||
</view>
|
||||
<view class="time">
|
||||
服务时长:{{item.itemServeDurationUnit}}
|
||||
</view>
|
||||
<view class="price">
|
||||
¥{{item.totalPrice}}
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="anniu">
|
||||
<view class="evaluate">查看评价</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
<view class="Apayment" @tap='gotask(item)' v-if='choicetab==1' v-for="(item,uindex) in list" :key="uindex">
|
||||
<view class="names">{{item.serviceDate}} {{item.serviceStartTime}}-{{item.serviceEndTime}}
|
||||
<span>已完成</span>
|
||||
</view>
|
||||
<image src="../../static/fuwutu.png" mode=""></image>
|
||||
<view class="detailsinfo">
|
||||
<view class="change">
|
||||
{{item.nurseItemName}}
|
||||
</view>
|
||||
<view class="time">
|
||||
服务时长:{{item.itemServeDurationUnit}}
|
||||
</view>
|
||||
<view class="price">
|
||||
¥{{item.totalPrice}}
|
||||
<view class="">
|
||||
<!-- //暂无未完成订单 -->
|
||||
<view class="noorder" v-if="list.length==0&&choicetab==0">
|
||||
<image src="../../static/noorder.png" mode=""></image>
|
||||
<view class="">
|
||||
暂无待完成服务
|
||||
</view>
|
||||
</view>
|
||||
<!-- //暂无完成订单 -->
|
||||
<view class="noorder" v-if="list.length==0&&choicetab==1">
|
||||
<image src="../../static/noorder.png" mode=""></image>
|
||||
<view class="">
|
||||
暂无已完成服务
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="anniu">
|
||||
<view class="evaluate">查看评价</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -172,6 +191,24 @@
|
||||
height: 100vh;
|
||||
padding: 1rpx 3%;
|
||||
|
||||
.noorder {
|
||||
margin-top: 20%;
|
||||
|
||||
image {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
width: 200rpx;
|
||||
height: 240rpx;
|
||||
}
|
||||
|
||||
view {
|
||||
margin-top: 100rpx;
|
||||
text-align: center;
|
||||
font-size: 36rpx;
|
||||
color: #BFBFBF;
|
||||
}
|
||||
}
|
||||
|
||||
.tab .active {
|
||||
background: #4C7BC9;
|
||||
}
|
||||
|
||||
@ -50,6 +50,11 @@
|
||||
getCodeBtnColor: "#4C7BC9", //获取验证码的color
|
||||
}
|
||||
},
|
||||
onLoad(options) {
|
||||
if (options.phonenumber) {
|
||||
this.phonenumber = options.phonenumber
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
pwdlogin() {
|
||||
if (this.password !== this.newpassword) {
|
||||
@ -64,9 +69,13 @@
|
||||
this.$refs.uToast.show({
|
||||
title: '密码修改成功',
|
||||
type: 'success',
|
||||
url: '/pages/login/login',
|
||||
duration: '1500'
|
||||
})
|
||||
setTimeout(e => {
|
||||
uni.navigateTo({
|
||||
url: `/pages/login/login?phonenumber=${this.appPersonallist.phonenumber}&password=${this.appPersonallist.stationPersonPassword}`
|
||||
})
|
||||
}, 1500)
|
||||
} else {
|
||||
this.$refs.uToast.show({
|
||||
title: res.msg,
|
||||
|
||||
@ -39,7 +39,12 @@
|
||||
};
|
||||
},
|
||||
//获取到传值
|
||||
onLoad(options) {},
|
||||
onLoad(options) {
|
||||
if (options.phonenumber && options.password) {
|
||||
this.phonenumber = options.phonenumber
|
||||
this.password = options.password
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
//密码登录
|
||||
pwdlogin() {
|
||||
@ -76,11 +81,10 @@
|
||||
},
|
||||
forgetpassword() {
|
||||
uni.navigateTo({
|
||||
url: '/pages/forgotPassword/forgotPassword'
|
||||
url: `/pages/forgotPassword/forgotPassword?phonenumber=${this.phonenumber}`
|
||||
})
|
||||
},
|
||||
},
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@ -99,21 +99,6 @@
|
||||
this.info()
|
||||
},
|
||||
methods: {
|
||||
//护理站
|
||||
info() {
|
||||
personNurseStationLists(this.pageNum, this.pageSize).then(res => {
|
||||
this.listinfo = res.rows.map((e) => {
|
||||
return {
|
||||
value: e.id,
|
||||
label: e.nurseStationName,
|
||||
}
|
||||
})
|
||||
})
|
||||
},
|
||||
confirm(e) {
|
||||
this.appPersonallist.nurseStationIds = e[0].value
|
||||
this.nurseStationName = e[0]['label']
|
||||
},
|
||||
//注册功能
|
||||
getInfo() {
|
||||
if (this.radio == 1) {
|
||||
@ -133,9 +118,13 @@
|
||||
this.$refs.uToast.show({
|
||||
title: '注册成功,前往登录',
|
||||
type: 'success',
|
||||
url: '/pages/login/login',
|
||||
duration: '1500'
|
||||
})
|
||||
setTimeout(e => {
|
||||
uni.navigateTo({
|
||||
url: `/pages/login/login?phonenumber=${this.appPersonallist.phonenumber}&password=${this.appPersonallist.stationPersonPassword}`
|
||||
})
|
||||
}, 1500)
|
||||
} else {
|
||||
this.$refs.uToast.show({
|
||||
title: res.msg,
|
||||
@ -145,6 +134,21 @@
|
||||
})
|
||||
}
|
||||
},
|
||||
//护理站
|
||||
info() {
|
||||
personNurseStationLists(this.pageNum, this.pageSize).then(res => {
|
||||
this.listinfo = res.rows.map((e) => {
|
||||
return {
|
||||
value: e.id,
|
||||
label: e.nurseStationName,
|
||||
}
|
||||
})
|
||||
})
|
||||
},
|
||||
confirm(e) {
|
||||
this.appPersonallist.nurseStationIds = e[0].value
|
||||
this.nurseStationName = e[0]['label']
|
||||
},
|
||||
tapradio() {
|
||||
this.radio = 2;
|
||||
this.maskshow = false;
|
||||
|
||||
BIN
static/noorder.png
Normal file
BIN
static/noorder.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.5 KiB |
Loading…
Reference in New Issue
Block a user