Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
frontend-h5
Project
Project
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
songrui
frontend-h5
Commits
4c4a66a7
Commit
4c4a66a7
authored
Sep 13, 2024
by
songrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
筛查校验方法修改
parent
788e79c8
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
6 deletions
+19
-6
Doctor.vue
src/doctor/Doctor.vue
+1
-1
BaseInfo.vue
src/resident/screening/first/form/BaseInfo.vue
+7
-1
ScreenInfo.vue
src/resident/screening/first/form/ScreenInfo.vue
+11
-4
No files found.
src/doctor/Doctor.vue
View file @
4c4a66a7
...
@@ -52,7 +52,7 @@ export default {
...
@@ -52,7 +52,7 @@ export default {
if
(
!
token
)
{
if
(
!
token
)
{
token
=
sessionStorage
.
getItem
(
'token'
)
token
=
sessionStorage
.
getItem
(
'token'
)
if
(
process
.
env
.
NODE_ENV
!==
'production'
)
{
if
(
process
.
env
.
NODE_ENV
!==
'production'
)
{
token
=
'
210a0035-82a1-4979-a2eb-74130a292a9f
'
token
=
'
599c5ba1-d338-4569-a245-681566a79098
'
}
}
}
}
if
(
token
)
{
if
(
token
)
{
...
...
src/resident/screening/first/form/BaseInfo.vue
View file @
4c4a66a7
...
@@ -302,7 +302,13 @@ export default {
...
@@ -302,7 +302,13 @@ export default {
this
.
$refs
.
form
.
validate
().
then
(()
=>
{
this
.
$refs
.
form
.
validate
().
then
(()
=>
{
this
.
recordForm
.
base
=
{...
this
.
form
}
this
.
recordForm
.
base
=
{...
this
.
form
}
this
.
$parent
.
onNext
()
this
.
$parent
.
onNext
()
}).
catch
(
err
=>
console
.
warn
(
err
))
}).
catch
(
err
=>
{
console
.
warn
(
err
)
const
array
=
err
||
[]
if
(
array
.
length
)
{
this
.
$refs
.
form
.
scrollToField
(
array
[
0
].
name
)
}
})
},
},
// 性别
// 性别
genderConfirm
({
selectedValues
,
selectedOptions
})
{
genderConfirm
({
selectedValues
,
selectedOptions
})
{
...
...
src/resident/screening/first/form/ScreenInfo.vue
View file @
4c4a66a7
...
@@ -466,13 +466,20 @@ export default {
...
@@ -466,13 +466,20 @@ export default {
})).
then
(()
=>
{
})).
then
(()
=>
{
this
.
$parent
.
onNext
()
this
.
$parent
.
onNext
()
})
})
}).
catch
(
err
=>
console
.
warn
(
err
))
}).
catch
(
err
=>
{
console
.
warn
(
err
)
const
array
=
err
||
[]
if
(
array
.
length
)
{
this
.
$refs
.
form
.
scrollToField
(
array
[
0
].
name
)
}
})
},
},
onPrev
()
{
onPrev
()
{
this
.
$refs
.
form
.
validate
().
then
(()
=>
{
this
.
recordForm
.
screen
=
{...
this
.
form
}
this
.
$parent
.
onBack
()
this
.
$parent
.
onBack
()
}).
catch
(
err
=>
console
.
warn
(
err
))
// this.$refs.form.validate().then(() => {
// this.recordForm.screen = {...this.form}
// this.$parent.onBack()
// }).catch(err => console.warn(err))
},
},
// 既往史
// 既往史
medicalConfirm
()
{
medicalConfirm
()
{
...
...
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