Commit 32b78d2c authored by songrui's avatar songrui

筛查修改

parent 54e2aca2
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、胃癌高发地区人群'),
......
......@@ -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>
......
......@@ -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) + '筛查结果',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment