Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
XDJK
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wechatminiprogram
XDJK
Commits
b49c4963
Commit
b49c4963
authored
Jun 08, 2021
by
liuquan
Browse files
Options
Browse Files
Download
Plain Diff
合并分支 'feature.login.v3.2.3.20210605.liuquan' 到 'XDJK-master'
修改电子处方笺判断 查看合并请求
!17
parents
9384e94d
1e7d6644
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
29 deletions
+29
-29
packageA/chat/chat.js
+1
-0
packageA/patientList/patientList.js
+26
-27
packageA/recipeDetails/recipeDetails.wxml
+1
-1
pages/docuterInfo/docuterInfo.js
+1
-1
No files found.
packageA/chat/chat.js
View file @
b49c4963
...
...
@@ -877,6 +877,7 @@ Page({
*/
moreService
:
Util
.
debouce
(
function
()
{
var
that
=
this
;
console
.
log
(
"getCurrentPages"
,
getCurrentPages
())
if
(
!
that
.
data
.
t_unionid
||
!
that
.
data
.
doctorunitid
||
!
that
.
data
.
t_openid
)
{
return
;
}
...
...
packageA/patientList/patientList.js
View file @
b49c4963
...
...
@@ -24,8 +24,7 @@ Page({
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady
:
function
()
{
},
onReady
:
function
()
{},
/**
* 生命周期函数--监听页面显示
...
...
@@ -33,29 +32,29 @@ Page({
onShow
:
function
()
{
var
that
=
this
;
that
.
login
=
that
.
selectComponent
(
"#login"
);
that
.
modal
=
that
.
selectComponent
(
"#modal"
);
that
.
answer
=
that
.
selectComponent
(
"#answer"
);
wx
.
login
({
success
:
function
(
msg
)
{
Service
.
getOpenId
(
msg
.
code
).
then
((
res
)
=>
{
wx
.
setStorageSync
(
'user'
,
res
)
return
Service
.
getUserData
(
res
.
openid
)
}).
then
((
res
)
=>
{
wx
.
setStorageSync
(
'data'
,
res
)
})
}
})
that
.
modal
=
that
.
selectComponent
(
"#modal"
);
that
.
answer
=
that
.
selectComponent
(
"#answer"
);
wx
.
login
({
success
:
function
(
msg
)
{
Service
.
getOpenId
(
msg
.
code
).
then
((
res
)
=>
{
wx
.
setStorageSync
(
'user'
,
res
)
return
Service
.
getUserData
(
res
.
openid
)
}).
then
((
res
)
=>
{
wx
.
setStorageSync
(
'data'
,
res
)
})
}
})
this
.
getListUser
();
},
/**
* 用户点击右上角分享
*/
onShareAppMessage
:
function
(
res
)
{
return
{
title
:
'请完善信息'
,
path
:
'packageA/patientList/patientList'
,
}
},
//判断是否是iPhonex
return
{
title
:
'请完善信息'
,
path
:
'packageA/patientList/patientList'
,
}
},
//判断是否是iPhonex
checkModal
()
{
let
that
=
this
;
wx
.
getSystemInfo
({
...
...
@@ -89,8 +88,8 @@ Page({
showview
:
true
})
}
}).
catch
(
err
=>
{
console
.
log
(
"userBuyInfoList"
,
err
)
}).
catch
(
err
=>
{
console
.
log
(
"userBuyInfoList"
,
err
)
})
},
///新增用户信息 add lq dateTime 2020-03-23
...
...
@@ -99,7 +98,6 @@ Page({
url
:
"/packageA/editUser/editUser?btid=''"
,
})
},
//修改
navto
:
function
(
e
)
{
console
.
log
(
e
.
currentTarget
.
dataset
.
item
)
...
...
@@ -107,9 +105,9 @@ Page({
url
:
"/packageA/editUser/editUser?item="
+
JSON
.
stringify
(
e
.
currentTarget
.
dataset
.
item
)
+
"&btid=''"
,
})
},
//登陆后组件回调方法刷新当前页面
_refreshEvent
()
{
console
.
log
(
"刷新"
);
this
.
onShow
();
},
//登陆后组件回调方法刷新当前页面
_refreshEvent
()
{
console
.
log
(
"刷新"
);
this
.
onShow
();
},
})
\ No newline at end of file
packageA/recipeDetails/recipeDetails.wxml
View file @
b49c4963
...
...
@@ -101,7 +101,7 @@
</view>
<view class="hd-title">
<view>小懂健康互联网医院</view>
<view>
电子处方笺
</view>
<view>
{{list.prescription.length>5?'用药建议':'电子处方笺'}}
</view>
</view>
<view class="line1"></view>
<view class="diagnose">
...
...
pages/docuterInfo/docuterInfo.js
View file @
b49c4963
...
...
@@ -289,7 +289,7 @@ Page({
wx
.
hideLoading
();
}
else
{
let
t_unionid
=
that
.
data
.
t_userInfo
.
unionid
;
wx
.
navigateTo
({
wx
.
reLaunch
({
url
:
'/packageA/chat/chat?t_unionid='
+
t_unionid
+
'&orderId='
+
conductRes
.
data
+
'&groupID='
+
conductRes
.
chat_id
,
})
wx
.
hideLoading
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment