首页修改

This commit is contained in:
shidongli 2023-11-01 14:30:45 +08:00
parent 21e7835c7a
commit ca0e8152f8
2 changed files with 20 additions and 27 deletions

View File

@ -4,7 +4,8 @@ import baseurl from './baseurl.js'
var request = function(config) {
return new Promise((resolve, rejected) => {
if (config.url != '/nurseApplet/chatRecord/updateReadStatus' && config.url !=
"/nurseApplet/chatRecord/sendMessage") {
"/nurseApplet/chatRecord/sendMessage" && config.url !=
`/applet/sign/apply/checkSignApply/` + uni.getStorageSync('userinfo').cardNo) {
uni.showLoading({
title: ''
});

View File

@ -115,16 +115,8 @@
uni.setStorageSync("region", 3)
}
this.region = uni.getStorageSync('region')
// if (this.region) {
// if (this.region == "1" || this.region == "2") {
// } else {
// this.family()
// }
// }
if (this.userinfo) {
if (this.userinfo && this.region!="3") {
this.patientName = this.userinfo.patientName
checkSignApply(this.userinfo.cardNo).then(res => {
if (res.data.code != 0) {
@ -163,7 +155,7 @@
//
family() {
this.$refs.uToast.show({
title: '请切换城市,再操作家医相关功能',
title: '当前绑定地市不支持',
type: 'error',
duration: '3000',