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
d3bfcf5f
Commit
d3bfcf5f
authored
May 24, 2021
by
liuquan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
8dfbfbd2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
39 additions
and
13 deletions
+39
-13
packageA/drugOrderInfo/drugOrderInfo.js
+1
-1
packageA/editUser/editUser.js
+18
-3
packageA/productOrderInfo/productOrderInfo.js
+1
-1
pages/prescription/order/order.js
+19
-8
No files found.
packageA/drugOrderInfo/drugOrderInfo.js
View file @
d3bfcf5f
...
...
@@ -383,7 +383,7 @@ Page({
// hstr.push(healthcare[i].id);
// }
// }
let
{
unionid
}
=
wx
.
getStorageSync
(
'
user
'
);
let
{
unionid
}
=
wx
.
getStorageSync
(
'
data
'
);
let
data
=
{
payid
:
that
.
data
.
list
.
payid
,
patient_unionid
:
unionid
,
...
...
packageA/editUser/editUser.js
View file @
d3bfcf5f
...
...
@@ -273,12 +273,18 @@ Page({
//保存
sava
:
Util
.
debouce
(
function
()
{
var
that
=
this
;
that
.
setData
({
sava
:
false
})
if
(
that
.
data
.
name
==
""
)
{
wx
.
showModal
({
title
:
'提示'
,
content
:
'请填写正确的姓名'
,
showCancel
:
false
,
})
that
.
setData
({
sava
:
true
})
return
;
}
else
if
(
that
.
data
.
phone
==
""
)
{
wx
.
showModal
({
...
...
@@ -358,6 +364,9 @@ Page({
content
:
'请填写正确的出生年月'
,
showCancel
:
false
,
})
that
.
setData
({
sava
:
true
})
return
;
}
else
if
(
that
.
data
.
GMSstate
==
1
&&
that
.
data
.
GMSLength
==
0
)
{
wx
.
showModal
({
...
...
@@ -365,6 +374,9 @@ Page({
content
:
'请填写过敏药物'
,
showCancel
:
false
,
})
that
.
setData
({
sava
:
true
})
return
;
}
else
if
(
that
.
data
.
GWBSstate
==
1
&&
that
.
data
.
GWBSLength
==
0
)
{
wx
.
showModal
({
...
...
@@ -372,10 +384,13 @@ Page({
content
:
'请填写过往病史'
,
showCancel
:
false
,
})
that
.
setData
({
sava
:
true
})
return
;
}
else
if
(
that
.
data
.
idCard
!=
''
)
{
if
(
that
.
data
.
idType
==
1
||
that
.
data
.
idCard
.
substring
(
0
,
2
)
==
'65'
)
{
var
allData
=
wx
.
getStorageSync
(
"
data
"
);
var
allData
=
wx
.
getStorageSync
(
"
user
"
);
var
data
if
(
that
.
data
.
id
==
''
)
{
data
=
{
...
...
@@ -615,10 +630,10 @@ Page({
})
}
}
else
{
var
allData
=
wx
.
getStorageSync
(
"data"
);
var
{
unionid
}
=
wx
.
getStorageSync
(
"data"
);
if
(
that
.
data
.
id
==
''
)
{
var
data
=
{
unionid
:
allData
.
unionid
,
unionid
:
unionid
,
name
:
that
.
data
.
name
,
card
:
that
.
data
.
idCard
,
idType
:
that
.
data
.
idType
,
...
...
packageA/productOrderInfo/productOrderInfo.js
View file @
d3bfcf5f
...
...
@@ -364,7 +364,7 @@ Page({
// hstr.push(healthcare[i].id);
// }
// }
let
{
unionid
}
=
wx
.
getStorageSync
(
'
user
'
);
let
{
unionid
}
=
wx
.
getStorageSync
(
'
data
'
);
let
data
=
{
id
:
that
.
data
.
options
.
scene
,
patient_unionid
:
unionid
,
...
...
pages/prescription/order/order.js
View file @
d3bfcf5f
...
...
@@ -351,16 +351,16 @@ Page({
prescriptionPay
:
function
()
{
let
that
=
this
;
let
hstr
=
new
Array
();
let
healthcare
=
that
.
data
.
list
.
healthcare
;
for
(
let
i
=
0
;
i
<
healthcare
.
length
;
i
++
)
{
if
(
healthcare
[
i
].
checked
)
{
hstr
.
push
(
healthcare
[
i
].
id
);
}
}
let
{
unionid
}
=
wx
.
getStorageSync
(
'
user
'
);
//
let healthcare = that.data.list.healthcare;
//
for (let i = 0; i < healthcare.length; i++) {
//
if (healthcare[i].checked) {
//
hstr.push(healthcare[i].id);
//
}
//
}
let
{
unionid
}
=
wx
.
getStorageSync
(
'
data
'
);
let
data
=
{
payid
:
that
.
data
.
list
.
payid
,
patient_unionid
:
unionid
,
patient_unionid
:
unionid
,
modular
:
that
.
data
.
list
.
modular
,
lastid
:
that
.
data
.
item
.
id
,
address
:
that
.
data
.
receiveAddress
.
id
,
...
...
@@ -452,6 +452,17 @@ Page({
isBtnAsh
:
true
})
return
;
default
:
wx
.
hideLoading
();
wx
.
showModal
({
title
:
'提示'
,
showCancel
:
false
,
content
:
res
.
msg
,
})
that
.
setData
({
isBtnAsh
:
true
})
return
;
}
})
},
...
...
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