修改
This commit is contained in:
parent
4e080c91c9
commit
190bdc1370
32
pages.json
32
pages.json
@ -91,6 +91,18 @@
|
||||
"navigationBarTitleText": "院内陪护",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
}, {
|
||||
"path": "imagetextConsultation/imagetextConsultation",
|
||||
"style": {
|
||||
"navigationBarTitleText": "图文问诊",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
}, {
|
||||
"path": "createnewconsultation/createnewconsultation",
|
||||
"style": {
|
||||
"navigationBarTitleText": "新建图文问诊",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
}, {
|
||||
"path": "appointmenttime/appointmenttime",
|
||||
"style": {
|
||||
@ -466,17 +478,15 @@
|
||||
"navigationBarTitleText": "体征检测",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
}
|
||||
,{
|
||||
"path" : "seekadvicefrom/seekadvicefrom",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText": "咨询医生",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
}, {
|
||||
"path": "seekadvicefrom/seekadvicefrom",
|
||||
"style": {
|
||||
"navigationBarTitleText": "咨询医生",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}],
|
||||
"globalStyle": {
|
||||
"navigationBarTextStyle": "white",
|
||||
@ -525,4 +535,4 @@
|
||||
// }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -25,6 +25,9 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
consultationInfolist
|
||||
} from '@/api/pagesB/imagetextConsultation.js'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@ -41,6 +44,11 @@
|
||||
],
|
||||
};
|
||||
},
|
||||
onShow(){
|
||||
consultationInfolist().then(res=>{
|
||||
console.log(res)
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
//选择
|
||||
selecttitltext(item) {
|
||||
|
||||
@ -72,16 +72,16 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
// import {
|
||||
// sendMessage,
|
||||
// getChatHistory,
|
||||
// markRead
|
||||
// } from '@/service/api/api.js';
|
||||
import {
|
||||
sendMessage,
|
||||
getChatHistory,
|
||||
markRead
|
||||
} from '@/api/pagesC/seekadvicefrom.js';
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
title: '',
|
||||
SOCKETURL: 'wss://fdmp.xinelu.cn/fm/webSocket/' + uni.getStorageSync('userInfo').bindingNo,
|
||||
SOCKETURL: 'wss://http://192.168.16.212/fm/webSocket/' + uni.getStorageSync('userInfo').bindingNo,
|
||||
// SOCKETURL: 'wss://fdmp.xinelu.cn/fm/webSocket/' + uni.getStorageSync('userInfo').bindingNo,
|
||||
socketOpen: false,
|
||||
sendInfo: {},
|
||||
@ -149,7 +149,14 @@
|
||||
if (options.title) {
|
||||
this.title = options.title //导航栏标题
|
||||
}
|
||||
this.currentItem = JSON.parse(options.currentItem)
|
||||
this.currentItem = {
|
||||
senderName: e.userName,
|
||||
senderNo: e.userNo,
|
||||
recipientName: uni.getStorageSync('userInfo').residentName,
|
||||
recipientNo: uni.getStorageSync('userInfo').bindingNo,
|
||||
// messageCategory: '3'
|
||||
}
|
||||
// this.currentItem = JSON.parse(options.currentItem)
|
||||
this.getPageHistory()
|
||||
this.scoket()
|
||||
},
|
||||
@ -162,7 +169,7 @@
|
||||
getPageHistory() {
|
||||
let obj = {
|
||||
bindingNo: this.currentItem.recipientNo,
|
||||
messageCategory: this.currentItem.messageCategory,
|
||||
// messageCategory: this.currentItem.messageCategory,
|
||||
recipientNo: this.currentItem.senderNo,
|
||||
senderNo: this.currentItem.recipientNo
|
||||
}
|
||||
@ -179,7 +186,7 @@
|
||||
Read() {
|
||||
let markReadData = {
|
||||
bindingNo: this.currentItem.recipientNo,
|
||||
messageCategory: this.currentItem.messageCategory,
|
||||
// messageCategory: this.currentItem.messageCategory,
|
||||
senderNo: this.currentItem.senderNo
|
||||
}
|
||||
markRead(markReadData)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user