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