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
1e7d6644
Commit
1e7d6644
authored
Jun 08, 2021
by
liuquan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改电子处方笺判断
parent
382d0c54
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 @
1e7d6644
...
@@ -877,6 +877,7 @@ Page({
...
@@ -877,6 +877,7 @@ Page({
*/
*/
moreService
:
Util
.
debouce
(
function
()
{
moreService
:
Util
.
debouce
(
function
()
{
var
that
=
this
;
var
that
=
this
;
console
.
log
(
"getCurrentPages"
,
getCurrentPages
())
if
(
!
that
.
data
.
t_unionid
||
!
that
.
data
.
doctorunitid
||
!
that
.
data
.
t_openid
)
{
if
(
!
that
.
data
.
t_unionid
||
!
that
.
data
.
doctorunitid
||
!
that
.
data
.
t_openid
)
{
return
;
return
;
}
}
...
...
packageA/patientList/patientList.js
View file @
1e7d6644
...
@@ -24,8 +24,7 @@ Page({
...
@@ -24,8 +24,7 @@ Page({
/**
/**
* 生命周期函数--监听页面初次渲染完成
* 生命周期函数--监听页面初次渲染完成
*/
*/
onReady
:
function
()
{
onReady
:
function
()
{},
},
/**
/**
* 生命周期函数--监听页面显示
* 生命周期函数--监听页面显示
...
@@ -33,29 +32,29 @@ Page({
...
@@ -33,29 +32,29 @@ Page({
onShow
:
function
()
{
onShow
:
function
()
{
var
that
=
this
;
var
that
=
this
;
that
.
login
=
that
.
selectComponent
(
"#login"
);
that
.
login
=
that
.
selectComponent
(
"#login"
);
that
.
modal
=
that
.
selectComponent
(
"#modal"
);
that
.
modal
=
that
.
selectComponent
(
"#modal"
);
that
.
answer
=
that
.
selectComponent
(
"#answer"
);
that
.
answer
=
that
.
selectComponent
(
"#answer"
);
wx
.
login
({
wx
.
login
({
success
:
function
(
msg
)
{
success
:
function
(
msg
)
{
Service
.
getOpenId
(
msg
.
code
).
then
((
res
)
=>
{
Service
.
getOpenId
(
msg
.
code
).
then
((
res
)
=>
{
wx
.
setStorageSync
(
'user'
,
res
)
wx
.
setStorageSync
(
'user'
,
res
)
return
Service
.
getUserData
(
res
.
openid
)
return
Service
.
getUserData
(
res
.
openid
)
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
wx
.
setStorageSync
(
'data'
,
res
)
wx
.
setStorageSync
(
'data'
,
res
)
})
})
}
}
})
})
this
.
getListUser
();
this
.
getListUser
();
},
},
/**
/**
* 用户点击右上角分享
* 用户点击右上角分享
*/
*/
onShareAppMessage
:
function
(
res
)
{
onShareAppMessage
:
function
(
res
)
{
return
{
return
{
title
:
'请完善信息'
,
title
:
'请完善信息'
,
path
:
'packageA/patientList/patientList'
,
path
:
'packageA/patientList/patientList'
,
}
}
},
//判断是否是iPhonex
},
//判断是否是iPhonex
checkModal
()
{
checkModal
()
{
let
that
=
this
;
let
that
=
this
;
wx
.
getSystemInfo
({
wx
.
getSystemInfo
({
...
@@ -89,8 +88,8 @@ Page({
...
@@ -89,8 +88,8 @@ Page({
showview
:
true
showview
:
true
})
})
}
}
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
console
.
log
(
"userBuyInfoList"
,
err
)
console
.
log
(
"userBuyInfoList"
,
err
)
})
})
},
},
///新增用户信息 add lq dateTime 2020-03-23
///新增用户信息 add lq dateTime 2020-03-23
...
@@ -99,7 +98,6 @@ Page({
...
@@ -99,7 +98,6 @@ Page({
url
:
"/packageA/editUser/editUser?btid=''"
,
url
:
"/packageA/editUser/editUser?btid=''"
,
})
})
},
},
//修改
//修改
navto
:
function
(
e
)
{
navto
:
function
(
e
)
{
console
.
log
(
e
.
currentTarget
.
dataset
.
item
)
console
.
log
(
e
.
currentTarget
.
dataset
.
item
)
...
@@ -107,9 +105,9 @@ Page({
...
@@ -107,9 +105,9 @@ Page({
url
:
"/packageA/editUser/editUser?item="
+
JSON
.
stringify
(
e
.
currentTarget
.
dataset
.
item
)
+
"&btid=''"
,
url
:
"/packageA/editUser/editUser?item="
+
JSON
.
stringify
(
e
.
currentTarget
.
dataset
.
item
)
+
"&btid=''"
,
})
})
},
},
//登陆后组件回调方法刷新当前页面
//登陆后组件回调方法刷新当前页面
_refreshEvent
()
{
_refreshEvent
()
{
console
.
log
(
"刷新"
);
console
.
log
(
"刷新"
);
this
.
onShow
();
this
.
onShow
();
},
},
})
})
\ No newline at end of file
packageA/recipeDetails/recipeDetails.wxml
View file @
1e7d6644
...
@@ -101,7 +101,7 @@
...
@@ -101,7 +101,7 @@
</view>
</view>
<view class="hd-title">
<view class="hd-title">
<view>小懂健康互联网医院</view>
<view>小懂健康互联网医院</view>
<view>
电子处方笺
</view>
<view>
{{list.prescription.length>5?'用药建议':'电子处方笺'}}
</view>
</view>
</view>
<view class="line1"></view>
<view class="line1"></view>
<view class="diagnose">
<view class="diagnose">
...
...
pages/docuterInfo/docuterInfo.js
View file @
1e7d6644
...
@@ -289,7 +289,7 @@ Page({
...
@@ -289,7 +289,7 @@ Page({
wx
.
hideLoading
();
wx
.
hideLoading
();
}
else
{
}
else
{
let
t_unionid
=
that
.
data
.
t_userInfo
.
unionid
;
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
,
url
:
'/packageA/chat/chat?t_unionid='
+
t_unionid
+
'&orderId='
+
conductRes
.
data
+
'&groupID='
+
conductRes
.
chat_id
,
})
})
wx
.
hideLoading
();
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