服务预约
This commit is contained in:
parent
e7be819cf3
commit
dfa00bcb0f
@ -22,6 +22,7 @@
|
|||||||
预约
|
预约
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<u-toast ref="uToast" />
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
@ -60,7 +61,16 @@
|
|||||||
this.userinfo = uni.getStorageSync('userinfo');
|
this.userinfo = uni.getStorageSync('userinfo');
|
||||||
this.identity = this.userinfo.cardNo
|
this.identity = this.userinfo.cardNo
|
||||||
getForm(this.identity, this.projectName).then(res => {
|
getForm(this.identity, this.projectName).then(res => {
|
||||||
this.listinfo = res.data
|
if(res.code==500){
|
||||||
|
this.$refs.uToast.show({
|
||||||
|
title: res.msg,
|
||||||
|
type: 'error',
|
||||||
|
duration: '1000',
|
||||||
|
})
|
||||||
|
}else{
|
||||||
|
this.listinfo = res.data
|
||||||
|
|
||||||
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
goprevious() {
|
goprevious() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user