|
|
@ -267,14 +267,16 @@ export default { |
|
|
let ret = '' |
|
|
let ret = '' |
|
|
if (!this.doctorCheck.RegisterCheckEdit.id) return '请选择组合项目' |
|
|
if (!this.doctorCheck.RegisterCheckEdit.id) return '请选择组合项目' |
|
|
if (this.doctorCheck.RegisterCheckEdit.isLock == 'Y') return '组合项目已锁定,不可执行此操作' |
|
|
if (this.doctorCheck.RegisterCheckEdit.isLock == 'Y') return '组合项目已锁定,不可执行此操作' |
|
|
if (this.doctorCheck.RegisterCheckEdit.completeFlag == '2') return '组合项目已弃检,不可执行此操作' |
|
|
|
|
|
|
|
|
// if (this.doctorCheck.RegisterCheckEdit.completeFlag == '2') return '组合项目已弃检,不可执行此操作' |
|
|
if (optType == 'save') { |
|
|
if (optType == 'save') { |
|
|
// if (!this.doctorCheck.RegisterCheckEdit.checkDoctorId) return "请选择检查医生" |
|
|
// if (!this.doctorCheck.RegisterCheckEdit.checkDoctorId) return "请选择检查医生" |
|
|
|
|
|
if (this.doctorCheck.RegisterCheckEdit.completeFlag == '2') return "该项目项目已弃检,不可再执行此操作" |
|
|
if (this.doctorCheck.RegisterCheckEdit.completeFlag == '1') return "该项目项目已保存,不可再执行此操作,如需操作请点【修改结果】" |
|
|
if (this.doctorCheck.RegisterCheckEdit.completeFlag == '1') return "该项目项目已保存,不可再执行此操作,如需操作请点【修改结果】" |
|
|
if (this.doctorCheck.RegisterCheckEdit.isAudit == 'Y') return '组合项目已审核,请先取消审核,方可执行此操作!' |
|
|
if (this.doctorCheck.RegisterCheckEdit.isAudit == 'Y') return '组合项目已审核,请先取消审核,方可执行此操作!' |
|
|
} |
|
|
} |
|
|
if (optType == 'edit') { |
|
|
if (optType == 'edit') { |
|
|
if (this.doctorCheck.RegisterCheckEdit.completeFlag == '0') return "该检查项目尚未保存,无需执行此操作" |
|
|
if (this.doctorCheck.RegisterCheckEdit.completeFlag == '0') return "该检查项目尚未保存,无需执行此操作" |
|
|
|
|
|
if (this.doctorCheck.RegisterCheckEdit.completeFlag == '2') return "该项目项目已弃检,不可再执行此操作" |
|
|
if (this.doctorCheck.RegisterCheckEdit.isAudit == 'Y') return '组合项目已审核,请先取消审核,方可执行此操作!' |
|
|
if (this.doctorCheck.RegisterCheckEdit.isAudit == 'Y') return '组合项目已审核,请先取消审核,方可执行此操作!' |
|
|
} |
|
|
} |
|
|
if (optType == 'del') { |
|
|
if (optType == 'del') { |
|
|
@ -320,9 +322,10 @@ export default { |
|
|
switch (btnFlagName) { |
|
|
switch (btnFlagName) { |
|
|
case 'btnEdit': // 修改结果 |
|
|
case 'btnEdit': // 修改结果 |
|
|
case 'btnDel': // 删除结果 |
|
|
case 'btnDel': // 删除结果 |
|
|
if (RegisterCheckEdit.completeFlag && RegisterCheckEdit.completeFlag == '1') ret = false |
|
|
|
|
|
|
|
|
if (RegisterCheckEdit.completeFlag && (RegisterCheckEdit.completeFlag == '1' || RegisterCheckEdit.completeFlag == '2')) ret = false |
|
|
break; |
|
|
break; |
|
|
case 'refuseItem': // 放弃检查项目 |
|
|
|
|
|
|
|
|
case 'refuse': // 放弃检查项目 |
|
|
|
|
|
case 'refuseItem': // 放弃明细检查项目 |
|
|
case 'delItem': // 删除检查项目 |
|
|
case 'delItem': // 删除检查项目 |
|
|
case 'delItem': // 删除检查项目 |
|
|
case 'delItem': // 删除检查项目 |
|
|
case 'btnMakeDiagnosis': // 生成小结 |
|
|
case 'btnMakeDiagnosis': // 生成小结 |
|
|
|