Merge remote-tracking branch 'origin/dev' into dev
# Conflicts: # pagesC/Onlinesigning/Onlinesigning.vue
This commit is contained in:
commit
a2f8c3e6e5
@ -12,8 +12,9 @@
|
||||
}, {
|
||||
"path": "pages/message/message",
|
||||
"style": {
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarTitleText": "消息中心"
|
||||
"navigationBarTitleText": "消息中心",
|
||||
"onReachBottomDistance": 40, //距离底部多远时触发 单位为px
|
||||
"enablePullDownRefresh": true //设置参数为true
|
||||
}
|
||||
}, {
|
||||
"path": "pages/homepage/homepage",
|
||||
|
||||
@ -51,7 +51,7 @@
|
||||
<view class="item" v-for="item in listthree" v-if="listthree.length>0" @tap='goseekadvicefrom(item)'>
|
||||
<image src="../../static/docHead.png" mode=""></image>
|
||||
<view class="title">
|
||||
服务推送
|
||||
{{item.senderName}}
|
||||
</view>
|
||||
<view class="time">
|
||||
{{item.sendTime}}
|
||||
@ -137,7 +137,16 @@
|
||||
}
|
||||
})
|
||||
},
|
||||
}
|
||||
},
|
||||
onReachBottom() { //上滑加载
|
||||
},
|
||||
onPullDownRefresh() { //下拉刷新
|
||||
this.info();
|
||||
setTimeout(function() {
|
||||
uni.stopPullDownRefresh();
|
||||
}, 1000);
|
||||
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
@ -199,4 +208,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
@ -383,9 +383,17 @@
|
||||
},
|
||||
// 签约信息
|
||||
Signing() {
|
||||
uni.navigateTo({
|
||||
url: '/pagesB/mysigning/mysigning'
|
||||
})
|
||||
if (uni.getStorageSync('region') == 3) {
|
||||
this.$refs.uToast.show({
|
||||
title: '当前地区不支持,请选择其它地区',
|
||||
type: 'error',
|
||||
})
|
||||
} else {
|
||||
uni.navigateTo({
|
||||
url: '/pagesB/mysigning/mysigning'
|
||||
})
|
||||
}
|
||||
|
||||
},
|
||||
//去登陆
|
||||
gologin() {
|
||||
@ -527,4 +535,4 @@
|
||||
|
||||
<style lang="scss">
|
||||
@import './myinformation.scss'
|
||||
</style>
|
||||
</style>
|
||||
@ -259,7 +259,7 @@
|
||||
title: '请选择现住区县',
|
||||
type: 'error',
|
||||
})
|
||||
}
|
||||
// }
|
||||
// else if (!this.query.townName) {
|
||||
// this.$refs.uToast.show({
|
||||
// title: '请选择乡镇/街道',
|
||||
@ -270,8 +270,7 @@
|
||||
// title: '请选择村/社区',
|
||||
// type: 'error',
|
||||
// })
|
||||
// }
|
||||
else if (!this.query.address) {
|
||||
} else if (!this.query.address) {
|
||||
this.$refs.uToast.show({
|
||||
title: '请输入详细地址',
|
||||
type: 'error',
|
||||
@ -388,7 +387,7 @@
|
||||
type: 'success',
|
||||
duration: 1500,
|
||||
back: 1,
|
||||
|
||||
|
||||
})
|
||||
// uni.switchTab({
|
||||
// url: "/pages/homepage/homepage"
|
||||
@ -611,7 +610,6 @@
|
||||
},
|
||||
//接收拍照或签名
|
||||
residentAutographPath(data) {
|
||||
console.log(data,'1111')
|
||||
this.query.residentAutographPath = data.residentAutographPath
|
||||
// this.protocolshow = false
|
||||
},
|
||||
|
||||
@ -161,7 +161,6 @@
|
||||
}
|
||||
})
|
||||
uni.onSocketMessage(res => {
|
||||
console.log("webScoket监听收到的信息", res);
|
||||
this.uploadType = 2
|
||||
this.number = JSON.parse(res.data).fbg
|
||||
this.$forceUpdate()
|
||||
|
||||
@ -89,7 +89,7 @@
|
||||
this.$refs.uToast.show({
|
||||
title: '预约成功',
|
||||
type: 'success',
|
||||
url: '/pagesC/ServiceAppointment/ServiceAppointment'
|
||||
// url: '/pagesC/ServiceAppointment/ServiceAppointment'
|
||||
})
|
||||
} else if (res.code == '500') {
|
||||
this.$refs.uToast.show({
|
||||
|
||||
@ -469,7 +469,7 @@
|
||||
that.newsList.push({
|
||||
senderName: that.currentItem.doctorName,
|
||||
content: JSON.parse(res.data).message,
|
||||
messageType: JSON.parse(res.data).messageType
|
||||
messageType: Number(JSON.parse(res.data).messageType)
|
||||
})
|
||||
setTimeout(() => {
|
||||
let query = uni.createSelectorQuery().in(this);
|
||||
@ -767,4 +767,4 @@
|
||||
bottom: 38rpx;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user