Commit e5dc965b authored by 芮自成's avatar 芮自成

专病随访用药文案调整

parent 15e1b511
<template> <template>
<div class="label-title mt-2">治疗方案</div> <div class="label-title mt-2">{{ firstText }}</div>
<div class="bg-fa"> <div class="bg-fa">
<div style="font-size: 14px">是否调整治疗方案</div> <div class="label-title" required style="font-size: 14px; color: #262626; line-height: 24px">{{ secondText }}</div>
<van-field style="padding: 0" class="mt-2"> <van-field :rules="[{ required: true, message: '请选择' }]" style="padding: 0" class="mt-2">
<template #input> <template #input>
<van-radio-group <van-radio-group
v-model="form.adjustTreat" v-model="form.adjustTreat"
...@@ -141,6 +141,10 @@ export default { ...@@ -141,6 +141,10 @@ export default {
form: { form: {
type: Object, type: Object,
default: () => {} default: () => {}
},
diseaseInfo: {
type: Object,
default: () => {}
} }
}, },
data() { data() {
...@@ -152,6 +156,24 @@ export default { ...@@ -152,6 +156,24 @@ export default {
medicateCase: [{}] medicateCase: [{}]
} }
}, },
computed: {
firstText() {
let { diseaseType } = this.diseaseInfo
if (diseaseType === 1) {
return `药物治疗`
} else {
return `治疗方案`
}
},
secondText() {
let { diseaseType } = this.diseaseInfo
if (diseaseType === 1) {
return `本次就诊后的药物治疗方案(仅录入降压、降脂及抗血小板药物,在目前用药列表中进行增删)`
} else {
return `是否调整治疗方案`
}
}
},
methods: { methods: {
drugChange(option, item) { drugChange(option, item) {
item.drugName = option.chemicalName item.drugName = option.chemicalName
......
...@@ -303,13 +303,14 @@ export default { ...@@ -303,13 +303,14 @@ export default {
{ title: '详细地址', key: 'permanentAddress' } { title: '详细地址', key: 'permanentAddress' }
], ],
columnsPhysical: [ columnsPhysical: [
{ title: '收缩压SBP', key: 'signSystolicPressure', unit: 'mmHg' },
{ title: '舒张压DBP', key: 'signDiastolicPressure', unit: 'mmHg' },
{ 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: 'respiratoryRate', unit: '次/分钟' },
{ title: '心率', key: 'signHeartRate', unit: '次/分' }, { title: '心率', key: 'heartRate', unit: '次/分' },
{ title: '口唇紫绀', key: 'signCyanosisName' },
{ title: '下肢水肿', key: 'signEdemaName' },
{ title: '外周水肿', key: 'peripheralEdemaName' },
{ title: '其他', key: 'signOther' } { title: '其他', key: 'signOther' }
], ],
columnsOrg: [ columnsOrg: [
......
...@@ -673,7 +673,7 @@ ...@@ -673,7 +673,7 @@
</van-popup> </van-popup>
<!-- 治疗方案 --> <!-- 治疗方案 -->
<TreatmentPlan ref="treatmentPlan" :form="form"></TreatmentPlan> <TreatmentPlan ref="treatmentPlan" :form="form" :diseaseInfo="diseaseInfo"></TreatmentPlan>
<!-- 转诊 --> <!-- 转诊 -->
<div class="label-title mt-2" required>转诊</div> <div class="label-title mt-2" required>转诊</div>
......
...@@ -932,7 +932,7 @@ ...@@ -932,7 +932,7 @@
</van-popup> </van-popup>
<!-- 治疗方案 --> <!-- 治疗方案 -->
<TreatmentPlan ref="treatmentPlan" :form="form"></TreatmentPlan> <TreatmentPlan ref="treatmentPlan" :form="form" :diseaseInfo="diseaseInfo"></TreatmentPlan>
<!-- 家庭氧疗 --> <!-- 家庭氧疗 -->
<div class="label-title mt-2">家庭氧疗</div> <div class="label-title mt-2">家庭氧疗</div>
......
...@@ -677,7 +677,7 @@ ...@@ -677,7 +677,7 @@
</van-popup> </van-popup>
<!-- 治疗方案 --> <!-- 治疗方案 -->
<TreatmentPlan ref="treatmentPlan" :form="form"></TreatmentPlan> <TreatmentPlan ref="treatmentPlan" :form="form" :diseaseInfo="diseaseInfo"></TreatmentPlan>
<!-- 转诊 --> <!-- 转诊 -->
<div class="label-title mt-2" required>转诊</div> <div class="label-title mt-2" required>转诊</div>
......
...@@ -791,7 +791,7 @@ ...@@ -791,7 +791,7 @@
</van-popup> </van-popup>
<!-- 治疗方案 --> <!-- 治疗方案 -->
<TreatmentPlan ref="treatmentPlan" :form="form"></TreatmentPlan> <TreatmentPlan ref="treatmentPlan" :form="form" :diseaseInfo="diseaseInfo"></TreatmentPlan>
<!-- 胰岛素 --> <!-- 胰岛素 -->
<div class="label-title mt-2">胰岛素</div> <div class="label-title mt-2">胰岛素</div>
<van-field <van-field
...@@ -855,42 +855,6 @@ ...@@ -855,42 +855,6 @@
class="card-input mt-2" class="card-input mt-2"
/> />
</div> </div>
<!-- <div class="bg-fa mt-2">
<div class="label-title" style="font-size: 14px; color: #262626">用量</div>
<van-field style="padding: 0">
<template #input>
<van-checkbox-group
v-model="form.insulinDosage"
shape="square"
direction="horizontal"
class="doc-checkbox-group"
>
<van-checkbox
v-for="item in insulinDosage"
:key="item.value"
:name="item.checked"
label-position="left"
style="width: 48%"
>
{{ item.name }}
</van-checkbox>
</van-checkbox-group>
</template>
</van-field>
<template v-for="item in insulinDosage">
<van-field
v-if="item.checked"
:label="item.name"
v-model="item.dosage"
placeholder="请输入"
class="card-input mt-2"
>
<template #extra>
<span>IU</span>
</template>
</van-field>
</template>
</div> -->
<!-- 转诊 --> <!-- 转诊 -->
<div class="label-title mt-2" required>转诊</div> <div class="label-title mt-2" required>转诊</div>
......
...@@ -676,7 +676,7 @@ ...@@ -676,7 +676,7 @@
</van-popup> </van-popup>
<!-- 治疗方案 --> <!-- 治疗方案 -->
<TreatmentPlan ref="treatmentPlan" :form="form"></TreatmentPlan> <TreatmentPlan ref="treatmentPlan" :form="form" :diseaseInfo="diseaseInfo"></TreatmentPlan>
<!-- 转诊 --> <!-- 转诊 -->
<div class="label-title mt-2" required>转诊</div> <div class="label-title mt-2" required>转诊</div>
......
...@@ -700,7 +700,7 @@ ...@@ -700,7 +700,7 @@
</van-popup> </van-popup>
<!-- 药物治疗 --> <!-- 药物治疗 -->
<TreatmentPlan ref="treatmentPlan" :form="form"></TreatmentPlan> <TreatmentPlan ref="treatmentPlan" :form="form" :diseaseInfo="diseaseInfo"></TreatmentPlan>
<!-- 转诊 --> <!-- 转诊 -->
<div class="label-title mt-2" required>转诊</div> <div class="label-title mt-2" required>转诊</div>
......
...@@ -676,7 +676,7 @@ ...@@ -676,7 +676,7 @@
</van-popup> </van-popup>
<!-- 治疗方案 --> <!-- 治疗方案 -->
<TreatmentPlan ref="treatmentPlan" :form="form"></TreatmentPlan> <TreatmentPlan ref="treatmentPlan" :form="form" :diseaseInfo="diseaseInfo"></TreatmentPlan>
<!-- 转诊 --> <!-- 转诊 -->
<div class="label-title mt-2" required>转诊</div> <div class="label-title mt-2" required>转诊</div>
......
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