|
|
|
@ -53,6 +53,7 @@ |
|
|
|
> |
|
|
|
<div> |
|
|
|
{{ item.name }} |
|
|
|
<span @click="handleAll(item.id)">(全选)</span> |
|
|
|
<!-- ({{ item.scaleQuestionNum || 0 }}) --> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -318,14 +319,11 @@ export default { |
|
|
|
}, |
|
|
|
// 当前选择量表数据 |
|
|
|
handleCheckAll1(item1, item2, isAll) { |
|
|
|
console.log("11"); |
|
|
|
|
|
|
|
if (this.checkboxGroup21[item2.scaleCode] && !isAll) { |
|
|
|
delete this.checkboxGroup21[item2.scaleCode]; |
|
|
|
} else { |
|
|
|
this.checkboxGroup21[item2.scaleCode] = item1.id; |
|
|
|
} |
|
|
|
// console.log(" this.checkboxGroup21", this.checkboxGroup21); |
|
|
|
}, |
|
|
|
// 套餐选择 |
|
|
|
handleScaleItem(_id) { |
|
|
|
@ -333,6 +331,15 @@ export default { |
|
|
|
this.listCombo1 = list[0]; |
|
|
|
this.comboActive = _id; |
|
|
|
}, |
|
|
|
// 全选套餐 |
|
|
|
handleAll(_id) { |
|
|
|
// 当前高亮项和点击全选不是同一个不触发全选 |
|
|
|
if (this.comboActive == _id) { |
|
|
|
this.listCombo1.childrenList.forEach((item) => { |
|
|
|
this.handleCheckAll(item); |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
// 查看医院知情同意配置信息 |
|
|
|
async gethospitalConfig() { |
|
|
|
this.isSign = this.informed.informed_consent; |
|
|
|
@ -594,6 +601,9 @@ export default { |
|
|
|
color: #3d3d3d; |
|
|
|
line-height: 44px; |
|
|
|
} |
|
|
|
/* .scale-box1-item span { |
|
|
|
color: #5cc0be; |
|
|
|
} */ |
|
|
|
.scale-box1-item.active { |
|
|
|
background: #5cc0be; |
|
|
|
border: 1px solid #5cc0be; |
|
|
|
|