9.17提交

This commit is contained in:
zoujiandong
2025-09-17 09:24:02 +08:00
parent 7799c04883
commit 8883dded38
14 changed files with 152 additions and 62 deletions
+9 -3
View File
@@ -12,6 +12,7 @@ Page({
editId:'',
showDraft:true,
reason:'',
isLogin:false,
status_title:'病例状态',
casetype_title:'治疗类型',
draftTime:'',
@@ -470,8 +471,14 @@ getBank(){
}
let token = wx.getStorageSync(tokenStr);
if(token){
this.setData({
isLogin:true
})
return true
}else {
this.setData({
isLogin:false
})
return false
}
},
@@ -481,9 +488,8 @@ getBank(){
fields: [,"active"],
actions: ["updateActive"],
});
if(this.isHasToken()){
this.getAuthStatus();
}
this.isHasToken()
this.getAuthStatus();
},
onUnload() {
+1
View File
@@ -59,6 +59,7 @@
<image src="{{img_host+'/noCase.png'}}" class="nocase" />
<view class="nodatatip">暂无病例,<text class="link" bind:tap="goCreate">点击创建病例</text></view>
</view>
</scroll-view>
</view>
</view>