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
aecf279e
Commit
aecf279e
authored
2 months ago
by
songrui
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'chronic-dev' into 'chronic-master'
Chronic dev See merge request
!4
parents
8cff9805
8f227861
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
53 additions
and
18 deletions
+53
-18
Doctor.vue
src/doctor/Doctor.vue
+1
-1
BloodPressure.vue
src/doctor/components/bloodPressure/BloodPressure.vue
+4
-1
BaseInfo.vue
src/doctor/followUp/separateFU/form/BaseInfo.vue
+5
-9
ChronicKidneyDiseaseForm.vue
...p/separateFU/form/components/ChronicKidneyDiseaseForm.vue
+5
-1
CopdForm.vue
src/doctor/followUp/separateFU/form/components/CopdForm.vue
+5
-1
CoronaryHeartDiseaseForm.vue
...p/separateFU/form/components/CoronaryHeartDiseaseForm.vue
+5
-1
DiabetesForm.vue
...ctor/followUp/separateFU/form/components/DiabetesForm.vue
+5
-1
DyslipidemiaForm.vue
.../followUp/separateFU/form/components/DyslipidemiaForm.vue
+5
-1
HypertensionForm.vue
.../followUp/separateFU/form/components/HypertensionForm.vue
+13
-1
StrokeForm.vue
...doctor/followUp/separateFU/form/components/StrokeForm.vue
+5
-1
No files found.
src/doctor/Doctor.vue
View file @
aecf279e
...
...
@@ -66,7 +66,7 @@ export default {
if
(
!
token
)
{
token
=
sessionStorage
.
getItem
(
'token'
)
if
(
process
.
env
.
NODE_ENV
!==
'production'
)
{
token
=
'
e91f5936-1adb-41bd-984b-b4e2ce5f33b2
'
token
=
'
1642c267-186f-4dd4-9e36-493d4fca1f14
'
}
}
if
(
token
)
{
...
...
This diff is collapsed.
Click to expand it.
src/doctor/components/bloodPressure/BloodPressure.vue
View file @
aecf279e
...
...
@@ -121,7 +121,10 @@ export default {
getPressureData
(
this
.
deviceNo
).
then
(
res
=>
{
const
result
=
res
.
data
||
[]
if
(
result
.
length
)
{
let
val
=
result
[
result
.
length
-
1
]
result
.
sort
((
a
,
b
)
=>
{
return
b
.
id
-
a
.
id
})
let
val
=
result
[
0
]
if
(
dayjs
(
val
.
created
).
isAfter
(
this
.
valueTime
))
{
this
.
lastValue
=
val
this
.
loopMark
=
0
...
...
This diff is collapsed.
Click to expand it.
src/doctor/followUp/separateFU/form/BaseInfo.vue
View file @
aecf279e
...
...
@@ -135,17 +135,13 @@ export default {
diseaseInfo
:
this
.
form
})
}).
catch
(
e
=>
{
console
.
warn
(
'居民信息校验失败'
,
e
)
const
array
=
e
||
[]
if
(
array
.
length
)
{
this
.
$refs
.
form
.
scrollToField
(
array
[
0
].
name
)
}
})
})
// let baseInfo = {}
// try {
// baseInfo = await this.$refs.archive.onSubmit()
// } catch(e) {
// }
},
showDiseaseTypeChange
()
{
if
(
this
.
$route
.
query
.
id
)
return
...
...
This diff is collapsed.
Click to expand it.
src/doctor/followUp/separateFU/form/components/ChronicKidneyDiseaseForm.vue
View file @
aecf279e
...
...
@@ -1343,7 +1343,11 @@ export default {
...
createdInfo
})
}).
catch
(
e
=>
{
console
.
warn
(
'慢性肾病表单'
,
e
)
console
.
warn
(
'慢性肾病表单校验失败'
,
e
)
const
array
=
e
||
[]
if
(
array
.
length
)
{
this
.
$refs
.
form
.
scrollToField
(
array
[
0
].
name
)
}
})
})
},
...
...
This diff is collapsed.
Click to expand it.
src/doctor/followUp/separateFU/form/components/CopdForm.vue
View file @
aecf279e
...
...
@@ -1712,7 +1712,11 @@ export default {
...
createdInfo
})
}).
catch
(
e
=>
{
console
.
warn
(
'慢阻肺表单'
,
e
)
console
.
warn
(
'慢阻肺表单校验失败'
,
e
)
const
array
=
e
||
[]
if
(
array
.
length
)
{
this
.
$refs
.
form
.
scrollToField
(
array
[
0
].
name
)
}
})
})
},
...
...
This diff is collapsed.
Click to expand it.
src/doctor/followUp/separateFU/form/components/CoronaryHeartDiseaseForm.vue
View file @
aecf279e
...
...
@@ -1345,7 +1345,11 @@ export default {
...
createdInfo
})
}).
catch
(
e
=>
{
console
.
warn
(
'冠心病表单'
,
e
)
console
.
warn
(
'冠心病表单校验失败'
,
e
)
const
array
=
e
||
[]
if
(
array
.
length
)
{
this
.
$refs
.
form
.
scrollToField
(
array
[
0
].
name
)
}
})
})
},
...
...
This diff is collapsed.
Click to expand it.
src/doctor/followUp/separateFU/form/components/DiabetesForm.vue
View file @
aecf279e
...
...
@@ -1638,7 +1638,11 @@ export default {
...
createdInfo
})
}).
catch
(
e
=>
{
console
.
warn
(
'糖尿病表单'
,
e
)
console
.
warn
(
'糖尿病表单校验失败'
,
e
)
const
array
=
e
||
[]
if
(
array
.
length
)
{
this
.
$refs
.
form
.
scrollToField
(
array
[
0
].
name
)
}
})
})
},
...
...
This diff is collapsed.
Click to expand it.
src/doctor/followUp/separateFU/form/components/DyslipidemiaForm.vue
View file @
aecf279e
...
...
@@ -1343,7 +1343,11 @@ export default {
...
createdInfo
})
}).
catch
(
e
=>
{
console
.
warn
(
'血脂异常表单'
,
e
)
console
.
warn
(
'血脂异常表单校验失败'
,
e
)
const
array
=
e
||
[]
if
(
array
.
length
)
{
this
.
$refs
.
form
.
scrollToField
(
array
[
0
].
name
)
}
})
})
},
...
...
This diff is collapsed.
Click to expand it.
src/doctor/followUp/separateFU/form/components/HypertensionForm.vue
View file @
aecf279e
...
...
@@ -1400,6 +1400,8 @@ export default {
},
referralUnitChange
(
option
=
{})
{
this
.
form
.
referralUnitName
=
option
.
unitName
this
.
form
.
referralOfficeId
=
undefined
this
.
form
.
referralOfficeName
=
undefined
},
referralOfficeChange
(
option
=
{})
{
this
.
form
.
referralOfficeName
=
option
.
officeName
...
...
@@ -1414,9 +1416,15 @@ export default {
},
visitUnitChange
(
option
=
{})
{
this
.
form
.
visitUnitName
=
option
.
unitName
this
.
form
.
visitOfficeId
=
undefined
this
.
form
.
visitOfficeName
=
undefined
this
.
form
.
visitDoctorId
=
undefined
this
.
form
.
visitDoctorName
=
undefined
},
visitOfficeChange
(
option
=
{})
{
this
.
form
.
visitOfficeName
=
option
.
officeName
this
.
form
.
visitDoctorId
=
undefined
this
.
form
.
visitDoctorName
=
undefined
},
submit
()
{
...
...
@@ -1459,7 +1467,11 @@ export default {
...
createdInfo
})
}).
catch
(
e
=>
{
console
.
warn
(
'高血压表单'
,
e
)
console
.
warn
(
'高血压表单校验失败'
,
e
)
const
array
=
e
||
[]
if
(
array
.
length
)
{
this
.
$refs
.
form
.
scrollToField
(
array
[
0
].
name
)
}
})
})
},
...
...
This diff is collapsed.
Click to expand it.
src/doctor/followUp/separateFU/form/components/StrokeForm.vue
View file @
aecf279e
...
...
@@ -1343,7 +1343,11 @@ export default {
...
createdInfo
})
}).
catch
(
e
=>
{
console
.
warn
(
'脑卒中表单'
,
e
)
console
.
warn
(
'脑卒中表单校验失败'
,
e
)
const
array
=
e
||
[]
if
(
array
.
length
)
{
this
.
$refs
.
form
.
scrollToField
(
array
[
0
].
name
)
}
})
})
},
...
...
This diff is collapsed.
Click to expand it.
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