|
|
|
@ -40,6 +40,10 @@ |
|
|
|
<el-button type="primary" class="commonbutton" @click="refuseItem" style="font-size:11px;" |
|
|
|
:disabled="doctorBtnDisabled('refuseItem')">放弃明细项目检查</el-button> |
|
|
|
</div> |
|
|
|
<div v-show="checkPagePriv(pagePriv.privs, '放弃项目检查')" class="divBtnClass"> |
|
|
|
<el-button type="primary" class="commonbutton" @click="refuse" |
|
|
|
:disabled="doctorBtnDisabled('refuse')">放弃项目检查</el-button> |
|
|
|
</div> |
|
|
|
<div v-show="checkPagePriv(pagePriv.privs, '删除明细项目')" class="divBtnClass"> |
|
|
|
<el-button type="primary" class="deleteButton" @click="delItem" |
|
|
|
:disabled="doctorBtnDisabled('delItem')">删除明细项目</el-button> |
|
|
|
@ -461,6 +465,32 @@ export default { |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
//放弃项目检查 |
|
|
|
refuse() { |
|
|
|
if (!this.doctorCheck.RegisterCheckEdit.id) { |
|
|
|
this.$message.warning({ showClose: true, message: '请选择要操作的项目' }) |
|
|
|
return |
|
|
|
} |
|
|
|
|
|
|
|
// [ |
|
|
|
// { |
|
|
|
// "registerCheckId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", |
|
|
|
// "completeFlag": "0" |
|
|
|
// } |
|
|
|
// ] |
|
|
|
postapi(`/api/app/registercheck/updatecompletemany`, [{registerCheckId:this.doctorCheck.RegisterCheckEdit.id,completeFlag:'2'}]) |
|
|
|
.then((res) => { |
|
|
|
if (res.code > -1) { |
|
|
|
this.doctorCheck.RegisterCheckEdit.completeFlag = '2' |
|
|
|
let lfind = arrayExistObj(this.doctorCheck.RegisterCheckList,'id',this.doctorCheck.RegisterCheckEdit.id) |
|
|
|
if(lfind > -1) this.doctorCheck.RegisterCheckList[lfind].completeFlag = '2' |
|
|
|
} |
|
|
|
}) |
|
|
|
; |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
//删除明细项目 |
|
|
|
delItem() { |
|
|
|
let ret = this.optGrant('delItem') |
|
|
|
@ -611,8 +641,10 @@ export default { |
|
|
|
}, |
|
|
|
}; |
|
|
|
</script> |
|
|
|
<style scoped>@import '../../assets/css/global_button.css'; |
|
|
|
<style scoped> |
|
|
|
@import '../../assets/css/global_button.css'; |
|
|
|
|
|
|
|
.divBtnClass { |
|
|
|
margin-top: 5px; |
|
|
|
}</style> |
|
|
|
} |
|
|
|
</style> |