Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wechat_lung
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hanpeng
wechat_lung
Commits
866c9e98
Commit
866c9e98
authored
Jan 08, 2020
by
zujiaozhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'医生端图文咨询添加结束咨询功能'
parent
4c51f0e3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
4 deletions
+29
-4
rukou.css
app/doctor/img_consult/css/rukou.css
+1
-0
rukou.js
app/doctor/img_consult/javaScript/rukou.js
+26
-2
rukou.html
app/doctor/img_consult/rukou.html
+2
-2
No files found.
app/doctor/img_consult/css/rukou.css
View file @
866c9e98
...
...
@@ -342,6 +342,7 @@ body {
color
:
#1D8AEF
}
.footer_tip
{
display
:
none
;
width
:
100%
;
height
:
0.76rem
;
background
:
#E5E8F0
;
...
...
app/doctor/img_consult/javaScript/rukou.js
View file @
866c9e98
...
...
@@ -18,7 +18,6 @@ define(['zepto', 'medtap'], function($, medtap) {
init
:
function
()
{
main
.
getOrderDetail
();
main
.
bindEve
();
var
getTalk
=
setInterval
(
function
()
{
main
.
getTalkRecord
();
if
(
document
.
documentElement
.
scrollHeight
>
document
.
documentElement
.
clientHeight
){
...
...
@@ -73,7 +72,10 @@ define(['zepto', 'medtap'], function($, medtap) {
$
(
'.refer_btn'
).
unbind
().
bind
(
'click'
,
function
()
{
main
.
rejectOrder
();
});
$
(
'.close_consult'
).
unbind
().
bind
(
'click'
,
function
()
{
$
(
'.footer_tip'
).
hide
()
main
.
finishOrder
()
});
},
getOrderDetail
:
function
()
{
...
...
@@ -90,6 +92,11 @@ define(['zepto', 'medtap'], function($, medtap) {
$
(
'.user_age'
).
html
(
detail
.
imageConsultOrder
.
age
+
'岁'
+
' '
+
detail
.
imageConsultOrder
.
diseaseDiagnosisDesc
)
main
.
talkRelation
(
detail
.
clientId
);
var
imgConsultDetail
=
detail
.
imageConsultOrder
;
//图文咨询详情
if
(
imgConsultDetail
.
serviceStatus
==
'3'
){
$
(
'.footer_tip'
).
show
()
}
else
{
$
(
'.footer_tip'
).
hide
()
}
main
.
userId
=
imgConsultDetail
.
clientId
;
$
(
'.patient_name'
).
html
(
imgConsultDetail
.
patientName
+
' ('
+
(
imgConsultDetail
.
sex
==
'M'
?
'男 '
:
'女 '
)
+
imgConsultDetail
.
age
+
'岁'
+
' '
+
(
imgConsultDetail
.
hasOwnProperty
(
'areaItem'
)
?
imgConsultDetail
.
areaItem
...
...
@@ -247,6 +254,7 @@ define(['zepto', 'medtap'], function($, medtap) {
orderSn
:
main
.
orderSn
,
},
success
:
function
(
res
)
{
console
.
log
(
res
)
medtap
.
jzz
(
0
);
var
record
=
res
.
content
.
list
;
var
html
=
''
;
...
...
@@ -383,6 +391,22 @@ define(['zepto', 'medtap'], function($, medtap) {
}
}
})
},
// 完成订单
finishOrder
:
function
(){
$
.
ajax
({
url
:
'https://testdevgw.medtap.cn/trade/order/completeOrder'
,
type
:
'post'
,
async
:
false
,
headers
:
medtap
.
getHeaders
(),
contentType
:
'application/json'
,
data
:
JSON
.
stringify
({
orderSn
:
main
.
orderSn
}),
success
:
function
(
res
)
{
}
})
}
}
main
.
init
();
...
...
app/doctor/img_consult/rukou.html
View file @
866c9e98
...
...
@@ -89,10 +89,10 @@
</div>
</div>
<
!-- <
div class="footer_tip clearfix">
<div
class=
"footer_tip clearfix"
>
<span
class=
"footer_tip_desc"
>
图文咨询服务中
</span>
<span
class=
"close_consult"
>
结束咨询
</span>
</div>
-->
</div>
<div
class=
"footer clearfix"
>
<div
class=
"footer_input"
>
<input
type=
"text"
name=
""
id=
"sendMsg"
value=
""
placeholder=
"输入新消息"
/>
...
...
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