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
c51f88b5
Commit
c51f88b5
authored
Dec 27, 2020
by
liuquan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3.1.4
U:修改实名认证规则
parent
0d4aab6b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
47 additions
and
45 deletions
+47
-45
packageA/buyService/buyService.js
+2
-1
packageA/editPatientInfo/editPatientInfo.js
+23
-22
packageA/editUser/editUser.js
+22
-22
No files found.
packageA/buyService/buyService.js
View file @
c51f88b5
...
@@ -329,7 +329,8 @@ Page({
...
@@ -329,7 +329,8 @@ Page({
})
})
return
;
return
;
}
else
{
}
else
{
if
(
that
.
data
.
idType
==
1
)
{
//非大陆和新疆不走验证
if
(
that
.
data
.
idType
==
1
||
that
.
data
.
idCard
.
substring
(
0
,
2
)
==
'65'
)
{
that
.
servicePay
();
that
.
servicePay
();
}
else
{
}
else
{
Util
.
verifyIdCardAnName
(
that
.
data
.
name
,
that
.
data
.
idCard
,
res
=>
{
Util
.
verifyIdCardAnName
(
that
.
data
.
name
,
that
.
data
.
idCard
,
res
=>
{
...
...
packageA/editPatientInfo/editPatientInfo.js
View file @
c51f88b5
...
@@ -358,10 +358,7 @@ Page({
...
@@ -358,10 +358,7 @@ Page({
})
})
return
;
return
;
}
else
if
(
that
.
data
.
idCard
!=
''
)
{
}
else
if
(
that
.
data
.
idCard
!=
''
)
{
if
(
that
.
data
.
idType
==
0
)
{
if
(
that
.
data
.
idType
==
1
||
that
.
data
.
idCard
.
substring
(
0
,
2
)
==
'65'
)
{
Util
.
verifyIdCardAnName
(
that
.
data
.
name
,
that
.
data
.
idCard
,
res
=>
{
switch
(
res
.
code
)
{
case
0
:
var
allData
=
wx
.
getStorageSync
(
"data"
);
var
allData
=
wx
.
getStorageSync
(
"data"
);
var
data
var
data
if
(
that
.
data
.
id
==
''
)
{
if
(
that
.
data
.
id
==
''
)
{
...
@@ -443,25 +440,10 @@ Page({
...
@@ -443,25 +440,10 @@ Page({
}
}
})
})
}
}
break
;
case
6000
:
case
6001
:
case
6002
:
case
6003
:
case
6004
:
case
6005
:
wx
.
showModal
({
title
:
'提示'
,
content
:
res
.
msg
,
showCancel
:
false
,
})
that
.
setData
({
sava
:
true
})
return
;
}
})
}
else
{
}
else
{
Util
.
verifyIdCardAnName
(
that
.
data
.
name
,
that
.
data
.
idCard
,
res
=>
{
switch
(
res
.
code
)
{
case
0
:
var
allData
=
wx
.
getStorageSync
(
"data"
);
var
allData
=
wx
.
getStorageSync
(
"data"
);
var
data
var
data
if
(
that
.
data
.
id
==
''
)
{
if
(
that
.
data
.
id
==
''
)
{
...
@@ -543,6 +525,25 @@ Page({
...
@@ -543,6 +525,25 @@ Page({
}
}
})
})
}
}
break
;
case
6000
:
case
6001
:
case
6002
:
case
6003
:
case
6004
:
case
6005
:
wx
.
showModal
({
title
:
'提示'
,
content
:
res
.
msg
,
showCancel
:
false
,
})
that
.
setData
({
sava
:
true
})
return
;
}
})
}
}
}
else
{
}
else
{
var
allData
=
wx
.
getStorageSync
(
"data"
);
var
allData
=
wx
.
getStorageSync
(
"data"
);
...
...
packageA/editUser/editUser.js
View file @
c51f88b5
...
@@ -364,10 +364,7 @@ Page({
...
@@ -364,10 +364,7 @@ Page({
})
})
return
;
return
;
}
else
if
(
that
.
data
.
idCard
!=
''
)
{
}
else
if
(
that
.
data
.
idCard
!=
''
)
{
if
(
that
.
data
.
idType
==
0
)
{
if
(
that
.
data
.
idType
==
1
||
that
.
data
.
idCard
.
substring
(
0
,
2
)
==
'65'
)
{
Util
.
verifyIdCardAnName
(
that
.
data
.
name
,
that
.
data
.
idCard
,
res
=>
{
switch
(
res
.
code
)
{
case
0
:
var
allData
=
wx
.
getStorageSync
(
"data"
);
var
allData
=
wx
.
getStorageSync
(
"data"
);
var
data
var
data
if
(
that
.
data
.
id
==
''
)
{
if
(
that
.
data
.
id
==
''
)
{
...
@@ -476,25 +473,10 @@ Page({
...
@@ -476,25 +473,10 @@ Page({
}
}
})
})
}
}
break
;
case
6000
:
case
6001
:
case
6002
:
case
6003
:
case
6004
:
case
6005
:
wx
.
showModal
({
title
:
'提示'
,
content
:
res
.
msg
,
showCancel
:
false
,
})
that
.
setData
({
sava
:
true
})
return
;
}
})
}
else
{
}
else
{
Util
.
verifyIdCardAnName
(
that
.
data
.
name
,
that
.
data
.
idCard
,
res
=>
{
switch
(
res
.
code
)
{
case
0
:
var
allData
=
wx
.
getStorageSync
(
"data"
);
var
allData
=
wx
.
getStorageSync
(
"data"
);
var
data
var
data
if
(
that
.
data
.
id
==
''
)
{
if
(
that
.
data
.
id
==
''
)
{
...
@@ -603,6 +585,24 @@ Page({
...
@@ -603,6 +585,24 @@ Page({
}
}
})
})
}
}
break
;
case
6000
:
case
6001
:
case
6002
:
case
6003
:
case
6004
:
case
6005
:
wx
.
showModal
({
title
:
'提示'
,
content
:
res
.
msg
,
showCancel
:
false
,
})
that
.
setData
({
sava
:
true
})
return
;
}
})
}
}
}
else
{
}
else
{
var
allData
=
wx
.
getStorageSync
(
"data"
);
var
allData
=
wx
.
getStorageSync
(
"data"
);
...
...
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