Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
voucher-h5
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
潘琦
voucher-h5
Commits
e2bdca3a
Commit
e2bdca3a
authored
Aug 12, 2020
by
何为
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改电子券BUG
parent
71c1a104
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
5 deletions
+25
-5
index.vue
src/views/signingWD/index.vue
+25
-5
No files found.
src/views/signingWD/index.vue
View file @
e2bdca3a
...
...
@@ -113,7 +113,7 @@
</div>
</div>
</div>
-->
<
!--
<
div
class=
"form"
>
<div
class=
"form"
>
<div
class=
"table"
>
<div
class=
"tr"
>
<div
class=
"td label"
>
社区卫生机构
</div>
...
...
@@ -130,7 +130,7 @@
</div>
</div>
</div>
</div>
-->
</div>
<div
class=
"p-title"
>
<span
class=
"label"
>
服务成员信息
</span>
</div>
...
...
@@ -469,7 +469,7 @@ export default {
return
{
userId
:
store
.
getters
.
user_id
,
pageType
:
this
.
$route
.
query
.
pageType
?
parseInt
(
this
.
$route
.
query
.
pageType
)
:
null
,
// 0=孕产妇 1=儿童
orgId
:
this
.
$route
.
query
.
orgId
?
parseInt
(
this
.
$route
.
query
.
orgId
)
:
null
,
orgId
:
null
,
groupId
:
this
.
$route
.
query
.
groupId
?
parseInt
(
this
.
$route
.
query
.
groupId
)
:
null
,
accountId
:
this
.
$route
.
query
.
accountId
?
this
.
$route
.
query
.
accountId
:
store
.
getters
.
accountId
,
slaveId
:
this
.
$route
.
query
.
slaveId
?
this
.
$route
.
query
.
slaveId
:
null
,
...
...
@@ -597,6 +597,10 @@ export default {
}
},
created
()
{
console
.
log
(
'----------------'
,
store
.
getters
)
if
(
this
.
$route
.
query
.
orgId
)
{
this
.
orgId
=
parseInt
(
this
.
$route
.
query
.
orgId
)
}
console
.
log
(
'created'
)
wxpermission
(
0
,
()
=>
{})
// this.getOrgInfoFn()
...
...
@@ -893,6 +897,17 @@ export default {
})
return
false
}
// 社区卫生机构字段校验
const
_orgNameFlag
=
this
.
BaseForm
.
orgName
if
(
!
_orgNameFlag
)
{
this
.
BaseValidate
.
orgState
=
false
this
.
$toast
({
message
:
'请选择所在社区卫生机构!'
,
position
:
'center'
,
duration
:
3000
})
return
false
}
return
true
},
...
...
@@ -1064,7 +1079,8 @@ export default {
}
let
birth
=
selectedDate
.
getFullYear
()
+
'-'
+
month
+
'-'
+
day
this
.
childrenArr
[
this
.
pickerOpenIndex
].
birth
=
birth
this
.
childrenArr
[
this
.
pickerOpenIndex
].
age
=
getAgeByBirth
(
birth
)
// this.childrenArr[this.pickerOpenIndex].age = getAgeByBirth(birth)
this
.
childrenArr
[
this
.
pickerOpenIndex
].
age
=
birth
},
openPopupAddress
()
{
// 现住址picker
this
.
addressPopupVisible
=
true
...
...
@@ -1253,7 +1269,7 @@ export default {
bs
:
childrenArr
,
'accountId'
:
this
.
accountId
,
'group_id'
:
this
.
groupId
,
'orgId'
:
this
.
orgId
,
'orgId'
:
this
.
BaseForm
.
orgId
,
'idCard'
:
this
.
BaseForm
.
idCard
,
'pregnantDate'
:
this
.
BaseForm
.
lastMensesTime
,
'imagedate'
:
this
.
signatureImage
,
...
...
@@ -1270,6 +1286,7 @@ export default {
'voucherUserId'
:
this
.
userId
,
'dq'
:
'wd'
}
console
.
log
(
params
)
params
.
accountId
=
this
.
accountId
if
(
this
.
signStatus
===
'update'
)
{
// 如signId不为0或者为空则是修改签约信息
params
.
fileUuid
=
this
.
fileUuid
...
...
@@ -1480,7 +1497,10 @@ export default {
this
.
cancelPopupAddress
()
},
setOrgId
(
item
)
{
console
.
log
(
item
)
this
.
BaseValidate
.
orgState
=
true
this
.
BaseForm
.
orgId
=
item
.
orgId
console
.
log
(
this
.
BaseForm
.
orgId
)
this
.
BaseForm
.
orgName
=
item
.
orgName
this
.
cancelPopupOrg
()
},
...
...
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