修改
This commit is contained in:
parent
10b1233d11
commit
eb5ee913dc
@ -9,46 +9,65 @@
|
|||||||
:class="tabIndex == index?'active':''">
|
:class="tabIndex == index?'active':''">
|
||||||
{{item.name}}
|
{{item.name}}
|
||||||
</view>
|
</view>
|
||||||
<view class="Apayment" @tap='gotask(item)' v-if='choicetab==0' v-for="(item,index) in list" :key="item.id">
|
<view class="" v-if="list.length>0">
|
||||||
<view class="names">{{item.serviceDate}} {{item.serviceStartTime}}-{{item.serviceEndTime}}
|
<view class="Apayment" v-if='choicetab==0' v-for="(item,index) in list" :key="item.id">
|
||||||
<span>待完成</span>
|
<view class="names">{{item.serviceDate}} {{item.serviceStartTime}}-{{item.serviceEndTime}}
|
||||||
</view>
|
<span>待完成</span>
|
||||||
<image :src="baseurl+item.itemPictureUrl" mode=""></image>
|
|
||||||
<view class="detailsinfo">
|
|
||||||
<view class="change">
|
|
||||||
{{item.nurseItemName}}
|
|
||||||
</view>
|
</view>
|
||||||
<view class="time">
|
<image @tap='gotask(item)' :src="baseurl+item.itemPictureUrl" mode=""></image>
|
||||||
服务时长:{{item.itemServeDurationUnit}}
|
<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>
|
||||||
<view class="price">
|
<view class="anniu">
|
||||||
¥{{item.totalPrice}}
|
<view class="logistics" @tap='gotask(item)'>详情</view>
|
||||||
|
<view class="logistics harvest" @tap='goconfirmCompletion(item)'>去完成</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="anniu">
|
<view class="Apayment" @tap='gotask(item)' v-if='choicetab==1' v-for="(item,uindex) in list"
|
||||||
<view class="logistics" @tap='gotask(item)'>详情</view>
|
:key="uindex">
|
||||||
<view class="logistics harvest" @tap='goconfirmCompletion(item)'>去完成</view>
|
<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>
|
</view>
|
||||||
<view class="Apayment" @tap='gotask(item)' v-if='choicetab==1' v-for="(item,uindex) in list" :key="uindex">
|
<view class="">
|
||||||
<view class="names">{{item.serviceDate}} {{item.serviceStartTime}}-{{item.serviceEndTime}}
|
<!-- //暂无未完成订单 -->
|
||||||
<span>已完成</span>
|
<view class="noorder" v-if="list.length==0&&choicetab==0">
|
||||||
</view>
|
<image src="../../static/noorder.png" mode=""></image>
|
||||||
<image src="../../static/fuwutu.png" mode=""></image>
|
<view class="">
|
||||||
<view class="detailsinfo">
|
暂无待完成服务
|
||||||
<view class="change">
|
</view>
|
||||||
{{item.nurseItemName}}
|
</view>
|
||||||
</view>
|
<!-- //暂无完成订单 -->
|
||||||
<view class="time">
|
<view class="noorder" v-if="list.length==0&&choicetab==1">
|
||||||
服务时长:{{item.itemServeDurationUnit}}
|
<image src="../../static/noorder.png" mode=""></image>
|
||||||
</view>
|
<view class="">
|
||||||
<view class="price">
|
暂无已完成服务
|
||||||
¥{{item.totalPrice}}
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="anniu">
|
|
||||||
<view class="evaluate">查看评价</view>
|
|
||||||
</view> -->
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -172,6 +191,24 @@
|
|||||||
height: 100vh;
|
height: 100vh;
|
||||||
padding: 1rpx 3%;
|
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 {
|
.tab .active {
|
||||||
background: #4C7BC9;
|
background: #4C7BC9;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -50,6 +50,11 @@
|
|||||||
getCodeBtnColor: "#4C7BC9", //获取验证码的color
|
getCodeBtnColor: "#4C7BC9", //获取验证码的color
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
onLoad(options) {
|
||||||
|
if (options.phonenumber) {
|
||||||
|
this.phonenumber = options.phonenumber
|
||||||
|
}
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
pwdlogin() {
|
pwdlogin() {
|
||||||
if (this.password !== this.newpassword) {
|
if (this.password !== this.newpassword) {
|
||||||
@ -64,9 +69,13 @@
|
|||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: '密码修改成功',
|
title: '密码修改成功',
|
||||||
type: 'success',
|
type: 'success',
|
||||||
url: '/pages/login/login',
|
|
||||||
duration: '1500'
|
duration: '1500'
|
||||||
})
|
})
|
||||||
|
setTimeout(e => {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: `/pages/login/login?phonenumber=${this.appPersonallist.phonenumber}&password=${this.appPersonallist.stationPersonPassword}`
|
||||||
|
})
|
||||||
|
}, 1500)
|
||||||
} else {
|
} else {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: res.msg,
|
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: {
|
methods: {
|
||||||
//密码登录
|
//密码登录
|
||||||
pwdlogin() {
|
pwdlogin() {
|
||||||
@ -76,11 +81,10 @@
|
|||||||
},
|
},
|
||||||
forgetpassword() {
|
forgetpassword() {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/forgotPassword/forgotPassword'
|
url: `/pages/forgotPassword/forgotPassword?phonenumber=${this.phonenumber}`
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@ -99,21 +99,6 @@
|
|||||||
this.info()
|
this.info()
|
||||||
},
|
},
|
||||||
methods: {
|
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() {
|
getInfo() {
|
||||||
if (this.radio == 1) {
|
if (this.radio == 1) {
|
||||||
@ -133,9 +118,13 @@
|
|||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: '注册成功,前往登录',
|
title: '注册成功,前往登录',
|
||||||
type: 'success',
|
type: 'success',
|
||||||
url: '/pages/login/login',
|
|
||||||
duration: '1500'
|
duration: '1500'
|
||||||
})
|
})
|
||||||
|
setTimeout(e => {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: `/pages/login/login?phonenumber=${this.appPersonallist.phonenumber}&password=${this.appPersonallist.stationPersonPassword}`
|
||||||
|
})
|
||||||
|
}, 1500)
|
||||||
} else {
|
} else {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: res.msg,
|
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() {
|
tapradio() {
|
||||||
this.radio = 2;
|
this.radio = 2;
|
||||||
this.maskshow = false;
|
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