9.17提交
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user