Browse Source

档案详情诊疗方法按钮点击无效

newMaster
1747191978@qq.com 4 months ago
parent
commit
ec5b2d312e
  1. 10
      acupuncture-前台/src/views/medicalFile/details.vue
  2. 8
      acupuncture-后台/src/views/medicalFile/details.vue

10
acupuncture-前台/src/views/medicalFile/details.vue

@ -339,7 +339,7 @@
诊疗方法 诊疗方法
</div> </div>
<div <div
class="div-border" class="div-border div-pad10"
style="margin-bottom: 14px" style="margin-bottom: 14px"
v-for="(i, ind) in healType" v-for="(i, ind) in healType"
:key="ind" :key="ind"
@ -1011,7 +1011,11 @@ export default {
this.title = "诊疗档案详情"; this.title = "诊疗档案详情";
}); });
}, },
//
handleButClick(_item, _row) {
console.log(_item, _row);
this.detailsForm[_item.valueCode] = _row.value || _row.title;
},
getDetailsForm() { getDetailsForm() {
this.detailsForm = { this.detailsForm = {
JBXX_ZYZD: [], // JBXX_ZYZD: [], //
@ -1167,9 +1171,11 @@ export default {
line-height: 32px; line-height: 32px;
padding: 0 15px; padding: 0 15px;
margin: 5px; margin: 5px;
cursor: pointer;
} }
.span-but-active { .span-but-active {
color: #70483e;
border: 1px solid #70483e; border: 1px solid #70483e;
} }

8
acupuncture-后台/src/views/medicalFile/details.vue

@ -339,7 +339,7 @@
诊疗方法 诊疗方法
</div> </div>
<div <div
class="div-border" class="div-border div-pad10"
style="margin-bottom: 14px" style="margin-bottom: 14px"
v-for="(i, ind) in healType" v-for="(i, ind) in healType"
:key="ind" :key="ind"
@ -975,6 +975,11 @@ export default {
this.handleDetails(treatmentId); this.handleDetails(treatmentId);
}, },
methods: { methods: {
//
handleButClick(_item, _row) {
console.log(_item, _row);
this.detailsForm[_item.valueCode] = _row.value || _row.title;
},
// //
getScaleResult(_scaleResult, _code) { getScaleResult(_scaleResult, _code) {
this.detailsForm[_code] = String(_scaleResult); this.detailsForm[_code] = String(_scaleResult);
@ -1175,6 +1180,7 @@ export default {
} }
.span-but-active { .span-but-active {
color: #70483e;
border: 1px solid #70483e; border: 1px solid #70483e;
} }

Loading…
Cancel
Save