|
|
|
@ -734,9 +734,8 @@ |
|
|
|
</el-option> |
|
|
|
</el-select> --> |
|
|
|
<el-checkbox |
|
|
|
v-model="form.isDiagnosisFunction" |
|
|
|
true-label="Y" |
|
|
|
false-label="N" |
|
|
|
v-model="form.isDiagnosisFunctionBox" |
|
|
|
@change="changeBox('isDiagnosisFunction')" |
|
|
|
/> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
@ -1210,7 +1209,8 @@ export default { |
|
|
|
barcodeMode:"0", |
|
|
|
isWebAppoint:"Y", |
|
|
|
warn:"", |
|
|
|
diseaseScreeningTypeId:"" |
|
|
|
diseaseScreeningTypeId:"", |
|
|
|
isDiagnosisFunctionBox: false |
|
|
|
}, |
|
|
|
forSexId: [], //性别 |
|
|
|
itemTypeId: [], //项目类别 |
|
|
|
@ -1401,6 +1401,16 @@ export default { |
|
|
|
...mapState(["window"]), |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
changeBox(type) { |
|
|
|
//赋值 |
|
|
|
if (this.form[type + "Box"]) { |
|
|
|
this.$delete(this.form, type); |
|
|
|
this.$set(this.form, type, "Y"); |
|
|
|
} else { |
|
|
|
this.$delete(this.form, type); |
|
|
|
this.$set(this.form, type, "N"); |
|
|
|
} |
|
|
|
}, |
|
|
|
removeAsbItem(row) { |
|
|
|
this.ary2 = [row]; |
|
|
|
}, |
|
|
|
@ -2142,6 +2152,11 @@ export default { |
|
|
|
asbitemgetid(this.form.id).then((res) => { |
|
|
|
if (res.code != -1) { |
|
|
|
this.form = {...res.data}; |
|
|
|
if (res.data.isDiagnosisFunction == "Y") { |
|
|
|
this.form.isDiagnosisFunctionBox = true; |
|
|
|
} else { |
|
|
|
this.form.isDiagnosisFunctionBox = false; |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
//性别 |
|
|
|
|