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
32b78d2c
Commit
32b78d2c
authored
Nov 11, 2024
by
songrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
筛查修改
parent
54e2aca2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
4 deletions
+15
-4
config.js
src/tumour/screening/simpleV2/config.js
+13
-2
Question.vue
src/tumour/screening/simpleV2/form/Question.vue
+1
-1
Result.vue
src/tumour/screening/simpleV2/form/Result.vue
+1
-1
No files found.
src/tumour/screening/simpleV2/config.js
View file @
32b78d2c
import
{
getDict
}
from
'@/tumour/utils/dictionaries.js'
/**
* 1肺癌 2乳腺癌 3结直肠癌 4肝癌 5宫颈癌 6甲状腺癌 7胃癌 8食管癌 9前列腺癌 10肾癌 11黑色素癌
*/
/**
*
* @param {String} key 需要生成的问卷
...
...
@@ -128,7 +132,9 @@ export function getQuestion(key, userInfo, detail) {
check
()
{
return
this
.
issue
.
filter
(
e
=>
e
.
value
===
1
).
length
>=
1
},
remark
:
`一般风险人群建议: \n一、20~39岁:(1)每月1次乳腺自我检查;(2)每1—3年1次临床检查。\n 二、40~69岁:(1)每1~2年1次乳腺彩超或乳腺钼靶检查;(2)每月1次乳腺自我检查; (3)每年1次临床检查。\n三、70岁以上:(1)有症状或可疑体征时进行影像学检查;(2)每月1次乳腺自我检查;(3)每年1次临床检查。\n乳腺癌高危人群建议:临床体检、B 超、乳腺钼靶检查、乳腺MRI、肿瘤标志物。`
,
remark
:
`一般风险人群建议:一、20~39岁:(1)每月1次乳腺自我检查;(2)每1—3年1次临床检查。
二、40~69岁:(1)每1~2年1次乳腺彩超或乳腺钼靶检查;(2)每月1次乳腺自我检查; (3)每年1次临床检查。
三、70岁以上:(1)有症状或可疑体征时进行影像学检查;(2)每月1次乳腺自我检查;(3)每年1次临床检查。\n乳腺癌高危人群建议:临床体检、B 超、乳腺钼靶检查、乳腺MRI、肿瘤标志物。`
,
sub
:
'满足任意一项乳腺癌高危人群'
},
q3
:
{
...
...
@@ -421,7 +427,12 @@ export function getQuestion(key, userInfo, detail) {
key
:
'question1'
,
answer
:
{
type
:
'radio'
,
cont
:
getDict
(
'DC00001'
)
cont
:
getDict
(
'DC00001'
),
disabled
:
true
},
// 赋初始值
init
:
()
=>
{
return
userInfo
.
age
>
40
?
1
:
2
}
},
{
title
:
setTitle
(
'2、胃癌高发地区人群'
),
...
...
src/tumour/screening/simpleV2/form/Question.vue
View file @
32b78d2c
...
...
@@ -17,7 +17,7 @@
</van-checkbox-group>
<van-radio-group
v-model=
"q.value"
@
change=
"onChange($event, item)"
class=
"pl-2"
:disabled=
"q.answer.disabled"
v-
else
>
v-
show=
"!q.title.linkKey"
>
<van-radio
v-for=
"a in q.answer.cont"
shape=
"dot"
class=
"mt-2"
:name=
"a.value"
:key=
"a.value"
>
{{
a
.
name
}}
</van-radio>
</van-radio-group>
...
...
src/tumour/screening/simpleV2/form/Result.vue
View file @
32b78d2c
...
...
@@ -36,7 +36,7 @@ export default {
const
{
species
=
[],
details
=
{},
unitName
=
'本单位'
}
=
this
.
info
// console.log(species, details, unitName)
species
.
forEach
(
e
=>
{
const
q
=
getQuestion
(
e
)
const
q
=
getQuestion
(
e
,
this
.
$parent
.
baseInfo
)
this
.
list
.
push
({
key
:
e
,
title
:
getDictValue
(
'DC00032'
,
e
)
+
'筛查结果'
,
...
...
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