修改
This commit is contained in:
parent
52d4730dc6
commit
8bbb79ad6d
@ -3,9 +3,11 @@ import baseurl from './baseurl.js'
|
||||
// Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
|
||||
var request = function(config) {
|
||||
return new Promise((resolve, rejected) => {
|
||||
const urls = config.url.split('?')[0]
|
||||
if (config.url != '/nurseApplet/chatRecord/updateReadStatus' && config.url !=
|
||||
"/nurseApplet/chatRecord/sendMessage" && config.url !=
|
||||
`/applet/sign/apply/checkSignApply/` + uni.getStorageSync('userinfo').cardNo) {
|
||||
`/applet/sign/apply/checkSignApply/` + uni.getStorageSync('userinfo').cardNo && urls !=
|
||||
`/nurseApplet/chatRecord/getChatRecord`) {
|
||||
uni.showLoading({
|
||||
title: ''
|
||||
});
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="contentcenter">
|
||||
<view class="contentcenter" :style="Number(region)==2?'':'height:500rpx'">
|
||||
<view class="home" @tap="goonline">
|
||||
<image src="@/static/qianyue.png" mode=""></image>
|
||||
<view class="name">
|
||||
@ -47,13 +47,13 @@
|
||||
服务记录
|
||||
</view>
|
||||
</view>
|
||||
<view class="home" @tap='gointegration'>
|
||||
<view class="home" @tap='gointegration' v-if="Number(region)==2">
|
||||
<image src="@/static/zhaohufangan.png" mode=""></image>
|
||||
<view class="name">
|
||||
一体化照护方案
|
||||
</view>
|
||||
</view>
|
||||
<view class="home" @tap='gonurseRecord'>
|
||||
<view class="home" @tap='gonurseRecord' v-if="Number(region)==2">
|
||||
<image src="@/static/zhaohujilu.png" mode=""></image>
|
||||
<view class="name">
|
||||
照护记录
|
||||
@ -61,7 +61,7 @@
|
||||
</view>
|
||||
<view class="home">
|
||||
</view>
|
||||
<view class="home">
|
||||
<view class="home" v-if="Number(region)==2">
|
||||
</view>
|
||||
</view>
|
||||
<view class="contentbottom">
|
||||
|
||||
@ -315,7 +315,7 @@
|
||||
}
|
||||
getChatRecord(obj).then(res => {
|
||||
res.data.forEach(e => {
|
||||
if (e.readStatus == 0) {
|
||||
if (Number(e.readStatus) == 0) {
|
||||
this.Read()
|
||||
}
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user