Commit 034238e4 authored by 芮自成's avatar 芮自成

症状翻译修改

parent 3a540491
...@@ -66,7 +66,8 @@ export default { ...@@ -66,7 +66,8 @@ 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 = '51f77c42-29a2-4d50-8010-bd19bab99a31' // token = '51f77c42-29a2-4d50-8010-bd19bab99a31'
token = 'f849fb46-b0d1-4b9e-bc1c-69f962d500ba'
} }
} }
if (token) { if (token) {
......
...@@ -311,16 +311,17 @@ export default { ...@@ -311,16 +311,17 @@ export default {
{ title: '现住址', key: 'presentCodeName' }, { title: '现住址', key: 'presentCodeName' },
{ title: '详细地址', key: 'nowAddress' }, { title: '详细地址', key: 'nowAddress' },
{ title: '户籍地址', key: 'registeredCodeName' }, { title: '户籍地址', key: 'registeredCodeName' },
{ title: '详细地址', key: 'permanentAddress' } { title: '详细地址', key: 'permanentAddress' },
{ title: '联系人姓名', key: 'contactName' },
{ title: '联系人与居民关系', key: 'relationName' },
{ title: '联系人电话', key: 'contactPhone' }
], ],
columnsPhysical: [ columnsPhysical: [
{ title: '收缩压SBP', key: 'signSystolicPressure', unit: 'mmHg' }, { title: '收缩压SBP', key: 'signSystolicPressure', unit: 'mmHg' },
{ title: '舒张压DBP', key: 'signDiastolicPressure', unit: 'mmHg' }, { title: '舒张压DBP', key: 'signDiastolicPressure', unit: 'mmHg' },
{ title: '身高', key: 'signHeight', unit: 'cm' },
{ title: '体重', key: 'signWeight', unit: 'kg' },
{ title: 'BMI', key: 'signBmi', unit: 'kg/m²' },
{ title: '腰围', key: 'signWaistline', unit: 'cm' },
{ title: '心率', key: 'signHeartRate', unit: '次/分' }, { title: '心率', key: 'signHeartRate', unit: '次/分' },
{ title: '体重', key: 'signWeight', unit: 'kg' },
{ title: '水肿', key: 'signEdemaName' },
{ title: '其他', key: 'signOther' } { title: '其他', key: 'signOther' }
], ],
columnsOrg: [ columnsOrg: [
......
...@@ -311,7 +311,10 @@ export default { ...@@ -311,7 +311,10 @@ export default {
{ title: '现住址', key: 'presentCodeName' }, { title: '现住址', key: 'presentCodeName' },
{ title: '详细地址', key: 'nowAddress' }, { title: '详细地址', key: 'nowAddress' },
{ title: '户籍地址', key: 'registeredCodeName' }, { title: '户籍地址', key: 'registeredCodeName' },
{ title: '详细地址', key: 'permanentAddress' } { title: '详细地址', key: 'permanentAddress' },
{ title: '联系人姓名', key: 'contactName' },
{ title: '联系人与居民关系', key: 'relationName' },
{ title: '联系人电话', key: 'contactPhone' }
], ],
columnsPhysical: [ columnsPhysical: [
{ title: '身高', key: 'signHeight', unit: 'cm' }, { title: '身高', key: 'signHeight', unit: 'cm' },
......
...@@ -327,7 +327,10 @@ export default { ...@@ -327,7 +327,10 @@ export default {
{ title: '现住址', key: 'presentCodeName' }, { title: '现住址', key: 'presentCodeName' },
{ title: '详细地址', key: 'nowAddress' }, { title: '详细地址', key: 'nowAddress' },
{ title: '户籍地址', key: 'registeredCodeName' }, { title: '户籍地址', key: 'registeredCodeName' },
{ title: '详细地址', key: 'permanentAddress' } { title: '详细地址', key: 'permanentAddress' },
{ title: '联系人姓名', key: 'contactName' },
{ title: '联系人与居民关系', key: 'relationName' },
{ title: '联系人电话', key: 'contactPhone' }
], ],
columnsPhysical: [ columnsPhysical: [
{ title: '收缩压SBP', key: 'signSystolicPressure', unit: 'mmHg' }, { title: '收缩压SBP', key: 'signSystolicPressure', unit: 'mmHg' },
......
...@@ -342,7 +342,10 @@ export default { ...@@ -342,7 +342,10 @@ export default {
{ title: '现住址', key: 'presentCodeName' }, { title: '现住址', key: 'presentCodeName' },
{ title: '详细地址', key: 'nowAddress' }, { title: '详细地址', key: 'nowAddress' },
{ title: '户籍地址', key: 'registeredCodeName' }, { title: '户籍地址', key: 'registeredCodeName' },
{ title: '详细地址', key: 'permanentAddress' } { title: '详细地址', key: 'permanentAddress' },
{ title: '联系人姓名', key: 'contactName' },
{ title: '联系人与居民关系', key: 'relationName' },
{ title: '联系人电话', key: 'contactPhone' }
], ],
columnsPhysical: [ columnsPhysical: [
{ title: '收缩压SBP', key: 'signSystolicPressure', unit: 'mmHg' }, { title: '收缩压SBP', key: 'signSystolicPressure', unit: 'mmHg' },
......
...@@ -311,7 +311,10 @@ export default { ...@@ -311,7 +311,10 @@ export default {
{ title: '现住址', key: 'presentCodeName' }, { title: '现住址', key: 'presentCodeName' },
{ title: '详细地址', key: 'nowAddress' }, { title: '详细地址', key: 'nowAddress' },
{ title: '户籍地址', key: 'registeredCodeName' }, { title: '户籍地址', key: 'registeredCodeName' },
{ title: '详细地址', key: 'permanentAddress' } { title: '详细地址', key: 'permanentAddress' },
{ title: '联系人姓名', key: 'contactName' },
{ title: '联系人与居民关系', key: 'relationName' },
{ title: '联系人电话', key: 'contactPhone' }
], ],
columnsPhysical: [ columnsPhysical: [
{ title: '收缩压SBP', key: 'signSystolicPressure', unit: 'mmHg' }, { title: '收缩压SBP', key: 'signSystolicPressure', unit: 'mmHg' },
......
...@@ -169,6 +169,36 @@ ...@@ -169,6 +169,36 @@
<template #right-icon> <template #right-icon>
<doc-icon type="doc-down" /> <doc-icon type="doc-down" />
</template> </template>
<!-- <div class="list">
<div v-for="item in columnsAuxiliary" :key="item.key">
<div class="flex justify-between py-1 border-bottom item">
<span class="shrink-0 mr-2 label">{{ item.title }}</span>
<span class="text-end">
<span>{{ visitInfo[item.key] || '-' }}</span>
<span v-if="item.unit" class="ml-1">{{ item.unit }}</span>
</span>
</div>
</div>
</div> -->
<div v-for="(x, xIndex) in inspectList" :key="xIndex">
<div style="color: #262626" :class="[xIndex === 0 ? '' : 'mt-2']">{{ x.insName }}</div>
<div class="gray-box mt-1">
<div v-for="(y, yIndex) in x.items" :key="yIndex">
<template v-if="x.insType === 99">
<div>检查结果:{{ store.getDictValue('CP00157', y.itemValue) }}</div>
<div v-if="y.itemValue === '2'">异常情况:{{ y.abnormalSituation }}</div>
<div>影像报告:</div>
<ImagePreview :img-list="y.picturesList"></ImagePreview>
</template>
<template v-else>
<span>{{ y.itemName }}</span>
<span v-if="y.itemName"></span>
<span>{{ y.itemValue }}</span>
<span class="ml-1">{{ y.unit }}</span>
</template>
</div>
</div>
</div>
</van-collapse-item> </van-collapse-item>
<van-collapse-item key="7" title="目前高血压用药及依从性" name="7"> <van-collapse-item key="7" title="目前高血压用药及依从性" name="7">
<template #right-icon> <template #right-icon>
...@@ -364,7 +394,10 @@ export default { ...@@ -364,7 +394,10 @@ export default {
{ title: '现住址', key: 'presentCodeName' }, { title: '现住址', key: 'presentCodeName' },
{ title: '详细地址', key: 'nowAddress' }, { title: '详细地址', key: 'nowAddress' },
{ title: '户籍地址', key: 'registeredCodeName' }, { title: '户籍地址', key: 'registeredCodeName' },
{ title: '详细地址', key: 'permanentAddress' } { title: '详细地址', key: 'permanentAddress' },
{ title: '联系人姓名', key: 'contactName' },
{ title: '联系人与居民关系', key: 'relationName' },
{ title: '联系人电话', key: 'contactPhone' }
], ],
columnsPhysical: [ columnsPhysical: [
{ title: '收缩压SBP', key: 'signSystolicPressure', unit: 'mmHg' }, { title: '收缩压SBP', key: 'signSystolicPressure', unit: 'mmHg' },
...@@ -408,6 +441,22 @@ export default { ...@@ -408,6 +441,22 @@ export default {
} else { } else {
return [] return []
} }
},
inspectList() {
let { auxiliaryExamination, inspectList = [] } = this.visitInfo
let auxiliaryExaminationList = auxiliaryExamination.split(',').map(e => +e) || []
let list = []
auxiliaryExaminationList.forEach(item => {
const items = inspectList.filter(e => e.insType === item)
if (items.length > 0) {
list.push({
insType: items[0].insType,
insName: items[0].insName,
items: [...items]
})
}
})
return list
} }
}, },
methods: { methods: {
......
...@@ -311,7 +311,10 @@ export default { ...@@ -311,7 +311,10 @@ export default {
{ title: '现住址', key: 'presentCodeName' }, { title: '现住址', key: 'presentCodeName' },
{ title: '详细地址', key: 'nowAddress' }, { title: '详细地址', key: 'nowAddress' },
{ title: '户籍地址', key: 'registeredCodeName' }, { title: '户籍地址', key: 'registeredCodeName' },
{ title: '详细地址', key: 'permanentAddress' } { title: '详细地址', key: 'permanentAddress' },
{ title: '联系人姓名', key: 'contactName' },
{ title: '联系人与居民关系', key: 'relationName' },
{ title: '联系人电话', key: 'contactPhone' }
], ],
columnsPhysical: [ columnsPhysical: [
{ title: '收缩压SBP', key: 'signSystolicPressure', unit: 'mmHg' }, { title: '收缩压SBP', key: 'signSystolicPressure', unit: 'mmHg' },
...@@ -319,7 +322,6 @@ export default { ...@@ -319,7 +322,6 @@ export default {
{ title: '身高', key: 'signHeight', unit: 'cm' }, { title: '身高', key: 'signHeight', unit: 'cm' },
{ title: '体重', key: 'signWeight', unit: 'kg' }, { title: '体重', key: 'signWeight', unit: 'kg' },
{ title: 'BMI', key: 'signBmi', unit: 'kg/m²' }, { title: 'BMI', key: 'signBmi', unit: 'kg/m²' },
{ title: '腰围', key: 'signWaistline', unit: 'cm' },
{ title: '心率', key: 'signHeartRate', unit: '次/分' }, { title: '心率', key: 'signHeartRate', unit: '次/分' },
{ title: '其他', key: 'signOther' } { title: '其他', key: 'signOther' }
], ],
......
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