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
d08fcbdd
Commit
d08fcbdd
authored
Mar 19, 2025
by
gengchunlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
医生端 v1.2 1、复筛表单及高危随访表单bug修复
parent
e90b76b2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
11 deletions
+25
-11
Doctor.vue
src/doctor/Doctor.vue
+1
-1
FormCont.vue
src/doctor/screening/highVisit/second/FormCont.vue
+12
-5
FormCont.vue
src/doctor/screening/second/FormCont.vue
+12
-5
No files found.
src/doctor/Doctor.vue
View file @
d08fcbdd
...
@@ -66,7 +66,7 @@ export default {
...
@@ -66,7 +66,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
=
'
597477a9-728e-40c8-bd1b-08f5cb193565
'
token
=
'
41c17a67-ba9d-4d08-9696-96c2f25f037a
'
}
}
}
}
if
(
token
)
{
if
(
token
)
{
...
...
src/doctor/screening/highVisit/second/FormCont.vue
View file @
d08fcbdd
...
@@ -838,7 +838,7 @@
...
@@ -838,7 +838,7 @@
<van-radio-group
v-model=
'riskScoreInfo'
<van-radio-group
v-model=
'riskScoreInfo'
direction=
'horizontal'
direction=
'horizontal'
shape=
"dot"
shape=
"dot"
class=
'w-full doc-radio-group'
>
class=
'w-full doc-radio-group'
@
change=
'changeRiskScoreInfo'
>
<van-radio
v-for=
"item in store.getDict('CP00136')"
<van-radio
v-for=
"item in store.getDict('CP00136')"
:key=
'item.value'
:name=
'item.value'
:key=
'item.value'
:name=
'item.value'
label-position=
'left'
>
{{
item
.
name
}}
label-position=
'left'
>
{{
item
.
name
}}
...
@@ -1592,7 +1592,6 @@ export default {
...
@@ -1592,7 +1592,6 @@ export default {
//修改时 或者引用上一次复筛数据时赋值
//修改时 或者引用上一次复筛数据时赋值
setUpdateInfo
()
{
setUpdateInfo
()
{
this
.
formRight
.
hypertensionHighItemSelect
=
this
.
form
.
hypertensionHighItem
||
[]
this
.
formRight
.
hypertensionHighItemSelect
=
this
.
form
.
hypertensionHighItem
||
[]
this
.
formRight
.
diabetesHighItemSelect
=
this
.
form
.
diabetesHighItem
||
[]
this
.
formRight
.
coronaryHighItemSelect
=
this
.
form
.
coronaryHighItem
||
[]
this
.
formRight
.
coronaryHighItemSelect
=
this
.
form
.
coronaryHighItem
||
[]
this
.
formRight
.
strokeHighItemSelect
=
this
.
form
.
strokeHighItem
||
[]
this
.
formRight
.
strokeHighItemSelect
=
this
.
form
.
strokeHighItem
||
[]
this
.
formRight
.
pulmonaryHighItemSelect
=
this
.
form
.
pulmonaryHighItem
||
[]
this
.
formRight
.
pulmonaryHighItemSelect
=
this
.
form
.
pulmonaryHighItem
||
[]
...
@@ -1605,6 +1604,7 @@ export default {
...
@@ -1605,6 +1604,7 @@ export default {
//利用setTimeout改变值的赋值顺序让这两个值在watch事件结束后再被赋值
//利用setTimeout改变值的赋值顺序让这两个值在watch事件结束后再被赋值
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
riskScoreInfo
=
this
.
form
.
riskScore
this
.
riskScoreInfo
=
this
.
form
.
riskScore
this
.
formRight
.
diabetesHighItemSelect
=
this
.
form
.
diabetesHighItem
||
[]
this
.
specialScreenResultSelect
=
this
.
form
.
specialScreenResult
||
[
9
]
this
.
specialScreenResultSelect
=
this
.
form
.
specialScreenResult
||
[
9
]
},
0
)
},
0
)
...
@@ -1618,9 +1618,9 @@ export default {
...
@@ -1618,9 +1618,9 @@ export default {
}
}
//糖尿病
//糖尿病
if
(
this
.
form
.
diseaseArrays
?.
includes
(
2
))
{
if
(
this
.
form
.
diseaseArrays
?.
includes
(
2
))
{
this
.
diabetesHigh
()
//糖尿病风险
//糖尿病风险
this
.
diabetesHighCompute
()
this
.
diabetesHighCompute
()
this
.
diabetesHigh
()
}
}
//冠心病
//冠心病
if
(
this
.
form
.
diseaseArrays
?.
includes
(
3
))
{
if
(
this
.
form
.
diseaseArrays
?.
includes
(
3
))
{
...
@@ -1962,8 +1962,11 @@ export default {
...
@@ -1962,8 +1962,11 @@ export default {
if
(
medicineHistory
.
includes
(
4
))
{
if
(
medicineHistory
.
includes
(
4
))
{
list
.
push
(
13
)
list
.
push
(
13
)
}
}
let
socre
=
this
.
diabetesHighScore
()
// let socre = this.diabetesHighScore()
if
(
socre
>=
25
)
{
// if (socre >= 25) {
// list.push(14)
// }
if
(
this
.
riskScoreInfo
==
1
)
{
list
.
push
(
14
)
list
.
push
(
14
)
}
}
this
.
formRight
.
diabetesHighItemSelect
=
Array
.
from
(
new
Set
(
list
))
this
.
formRight
.
diabetesHighItemSelect
=
Array
.
from
(
new
Set
(
list
))
...
@@ -2477,6 +2480,10 @@ export default {
...
@@ -2477,6 +2480,10 @@ export default {
this
.
specialScreenResultSelect
=
this
.
checkboxReject
(
this
.
specialScreenResultSelect
,
[
9
])
this
.
specialScreenResultSelect
=
this
.
checkboxReject
(
this
.
specialScreenResultSelect
,
[
9
])
// this.form.specialScreenResult = this.specialScreenResultSelect
// this.form.specialScreenResult = this.specialScreenResultSelect
},
},
changeRiskScoreInfo
()
{
//糖尿病风险
this
.
diabetesHigh
()
},
//提交
//提交
onSubmit
()
{
onSubmit
()
{
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
...
...
src/doctor/screening/second/FormCont.vue
View file @
d08fcbdd
...
@@ -838,7 +838,7 @@
...
@@ -838,7 +838,7 @@
<van-radio-group
v-model=
'riskScoreInfo'
<van-radio-group
v-model=
'riskScoreInfo'
direction=
'horizontal'
direction=
'horizontal'
shape=
"dot"
shape=
"dot"
class=
'w-full doc-radio-group'
>
class=
'w-full doc-radio-group'
@
change=
'changeRiskScoreInfo'
>
<van-radio
v-for=
"item in store.getDict('CP00136')"
<van-radio
v-for=
"item in store.getDict('CP00136')"
:key=
'item.value'
:name=
'item.value'
:key=
'item.value'
:name=
'item.value'
label-position=
'left'
>
{{
item
.
name
}}
label-position=
'left'
>
{{
item
.
name
}}
...
@@ -1592,7 +1592,6 @@ export default {
...
@@ -1592,7 +1592,6 @@ export default {
//修改时 或者引用上一次复筛数据时赋值
//修改时 或者引用上一次复筛数据时赋值
setUpdateInfo
()
{
setUpdateInfo
()
{
this
.
formRight
.
hypertensionHighItemSelect
=
this
.
form
.
hypertensionHighItem
||
[]
this
.
formRight
.
hypertensionHighItemSelect
=
this
.
form
.
hypertensionHighItem
||
[]
this
.
formRight
.
diabetesHighItemSelect
=
this
.
form
.
diabetesHighItem
||
[]
this
.
formRight
.
coronaryHighItemSelect
=
this
.
form
.
coronaryHighItem
||
[]
this
.
formRight
.
coronaryHighItemSelect
=
this
.
form
.
coronaryHighItem
||
[]
this
.
formRight
.
strokeHighItemSelect
=
this
.
form
.
strokeHighItem
||
[]
this
.
formRight
.
strokeHighItemSelect
=
this
.
form
.
strokeHighItem
||
[]
this
.
formRight
.
pulmonaryHighItemSelect
=
this
.
form
.
pulmonaryHighItem
||
[]
this
.
formRight
.
pulmonaryHighItemSelect
=
this
.
form
.
pulmonaryHighItem
||
[]
...
@@ -1605,6 +1604,7 @@ export default {
...
@@ -1605,6 +1604,7 @@ export default {
//利用setTimeout改变值的赋值顺序让这两个值在watch事件结束后再被赋值
//利用setTimeout改变值的赋值顺序让这两个值在watch事件结束后再被赋值
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
riskScoreInfo
=
this
.
form
.
riskScore
this
.
riskScoreInfo
=
this
.
form
.
riskScore
this
.
formRight
.
diabetesHighItemSelect
=
this
.
form
.
diabetesHighItem
||
[]
this
.
specialScreenResultSelect
=
this
.
form
.
specialScreenResult
||
[
9
]
this
.
specialScreenResultSelect
=
this
.
form
.
specialScreenResult
||
[
9
]
},
0
)
},
0
)
...
@@ -1618,9 +1618,9 @@ export default {
...
@@ -1618,9 +1618,9 @@ export default {
}
}
//糖尿病
//糖尿病
if
(
this
.
form
.
diseaseArrays
?.
includes
(
2
))
{
if
(
this
.
form
.
diseaseArrays
?.
includes
(
2
))
{
this
.
diabetesHigh
()
//糖尿病风险
//糖尿病风险
this
.
diabetesHighCompute
()
this
.
diabetesHighCompute
()
this
.
diabetesHigh
()
}
}
//冠心病
//冠心病
if
(
this
.
form
.
diseaseArrays
?.
includes
(
3
))
{
if
(
this
.
form
.
diseaseArrays
?.
includes
(
3
))
{
...
@@ -1962,8 +1962,11 @@ export default {
...
@@ -1962,8 +1962,11 @@ export default {
if
(
medicineHistory
.
includes
(
4
))
{
if
(
medicineHistory
.
includes
(
4
))
{
list
.
push
(
13
)
list
.
push
(
13
)
}
}
let
socre
=
this
.
diabetesHighScore
()
// let socre = this.diabetesHighScore()
if
(
socre
>=
25
)
{
// if (socre >= 25) {
// list.push(14)
// }
if
(
this
.
riskScoreInfo
==
1
)
{
list
.
push
(
14
)
list
.
push
(
14
)
}
}
this
.
formRight
.
diabetesHighItemSelect
=
Array
.
from
(
new
Set
(
list
))
this
.
formRight
.
diabetesHighItemSelect
=
Array
.
from
(
new
Set
(
list
))
...
@@ -2477,6 +2480,10 @@ export default {
...
@@ -2477,6 +2480,10 @@ export default {
this
.
specialScreenResultSelect
=
this
.
checkboxReject
(
this
.
specialScreenResultSelect
,
[
9
])
this
.
specialScreenResultSelect
=
this
.
checkboxReject
(
this
.
specialScreenResultSelect
,
[
9
])
// this.form.specialScreenResult = this.specialScreenResultSelect
// this.form.specialScreenResult = this.specialScreenResultSelect
},
},
changeRiskScoreInfo
()
{
//糖尿病风险
this
.
diabetesHigh
()
},
//提交
//提交
onSubmit
()
{
onSubmit
()
{
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
...
...
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