|
|
@ -27,7 +27,7 @@ |
|
|
z-index: 2; |
|
|
z-index: 2; |
|
|
"> |
|
|
"> |
|
|
<el-tooltip content="删除该图" placement="bottom" effect="light"> |
|
|
<el-tooltip content="删除该图" placement="bottom" effect="light"> |
|
|
<i class="el-icon-close" @click="btnDelImage(index)" v-show="!doctorBtnDisabled('btnDelImage')" |
|
|
|
|
|
|
|
|
<i class="el-icon-close" @click="btnDelImage(index)" v-show="!doctorBtnDisabled('btnDelImage')" |
|
|
style="color: red; cursor: pointer"></i> |
|
|
style="color: red; cursor: pointer"></i> |
|
|
</el-tooltip> |
|
|
</el-tooltip> |
|
|
</div> |
|
|
</div> |
|
|
@ -40,13 +40,14 @@ |
|
|
</div> |
|
|
</div> |
|
|
<div style="display: flex"> |
|
|
<div style="display: flex"> |
|
|
<div style="margin: -6px 0 0 1px"> |
|
|
<div style="margin: -6px 0 0 1px"> |
|
|
<el-checkbox v-model="item.isPrintTrans" @change="btnSavePic" :disabled="doctorBtnDisabled('btnSavePic')"></el-checkbox> |
|
|
|
|
|
|
|
|
<el-checkbox v-model="item.isPrintTrans" @change="btnSavePic" |
|
|
|
|
|
:disabled="doctorBtnDisabled('btnSavePic')"></el-checkbox> |
|
|
</div> |
|
|
</div> |
|
|
<div style="font-size: 12px; margin: -2px 0 0 1px">打印</div> |
|
|
<div style="font-size: 12px; margin: -2px 0 0 1px">打印</div> |
|
|
<div style="font-size: 15px; margin: -5px 0 0 2px"> |
|
|
<div style="font-size: 15px; margin: -5px 0 0 2px"> |
|
|
<el-tooltip content="保存后,图片将按序号从小到大排序" placement="bottom" effect="light"> |
|
|
<el-tooltip content="保存后,图片将按序号从小到大排序" placement="bottom" effect="light"> |
|
|
<input placeholder="排序" v-model="item.displayOrder" @onkeyup="validateInteger(e, index)" |
|
|
<input placeholder="排序" v-model="item.displayOrder" @onkeyup="validateInteger(e, index)" |
|
|
style="width: 30px" :disabled="doctorBtnDisabled('btnSavePic')"/> |
|
|
|
|
|
|
|
|
style="width: 30px" :disabled="doctorBtnDisabled('btnSavePic')" /> |
|
|
</el-tooltip> |
|
|
</el-tooltip> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
@ -158,7 +159,7 @@ export default { |
|
|
this.checkPictures = res.data |
|
|
this.checkPictures = res.data |
|
|
this.checkPictures.forEach(e => { |
|
|
this.checkPictures.forEach(e => { |
|
|
e.isPrintTrans = e.isPrint == "Y" ? true : false |
|
|
e.isPrintTrans = e.isPrint == "Y" ? true : false |
|
|
}); |
|
|
|
|
|
|
|
|
}); |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
@ -192,16 +193,38 @@ export default { |
|
|
|
|
|
|
|
|
btnGetPic() { |
|
|
btnGetPic() { |
|
|
if (!this.doctorCheck.RegisterCheckId) { |
|
|
if (!this.doctorCheck.RegisterCheckId) { |
|
|
this.$message.warning({ showClose: true, message: "未选中组合项目!"}); |
|
|
|
|
|
|
|
|
this.$message.warning({ showClose: true, message: "未选中组合项目!" }); |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
console.log("采图,开发中……"); |
|
|
|
|
|
|
|
|
if (!this.$peisAPI) { |
|
|
|
|
|
this.$message.info({ showClose: true, message: "此功能,需要在壳客户端才可运行!" }) |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
let toOutShell = { |
|
|
|
|
|
barCode: this.doctorCheck.checkRequestNo, |
|
|
|
|
|
patientName: this.dataTransOpts.tableS.patient_register.patientName, |
|
|
|
|
|
sexName: this.dataTransOpts.tableS.patient_register.sexName, |
|
|
|
|
|
age: (this.dataTransOpts.tableS.patient_register.age||'') + '', |
|
|
|
|
|
asbitemName: this.doctorCheck.asbitemName |
|
|
|
|
|
} |
|
|
|
|
|
console.log('this.$peisAPI.imageAcquisition',JSON.stringify(toOutShell)) |
|
|
|
|
|
this.$peisAPI.imageAcquisition(JSON.stringify(toOutShell)).then(res => { |
|
|
|
|
|
let lres = JSON.parse(res) |
|
|
|
|
|
if (lres.code > -1) { |
|
|
|
|
|
console.log(lres.data) |
|
|
|
|
|
} |
|
|
|
|
|
console.log('lres', lres) |
|
|
|
|
|
}).catch(err => { |
|
|
|
|
|
this.$message.error(err) |
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
//导图(上传图片) |
|
|
//导图(上传图片) |
|
|
btnExpPic() { |
|
|
btnExpPic() { |
|
|
if (!this.doctorCheck.RegisterCheckId) { |
|
|
if (!this.doctorCheck.RegisterCheckId) { |
|
|
this.$message.warning({ showClose: true, message: "未选中组合项目!"}); |
|
|
|
|
|
|
|
|
this.$message.warning({ showClose: true, message: "未选中组合项目!" }); |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
this.uploadSeq++; |
|
|
this.uploadSeq++; |
|
|
@ -215,7 +238,7 @@ export default { |
|
|
|
|
|
|
|
|
btnSavePic() { |
|
|
btnSavePic() { |
|
|
if (!this.doctorCheck.RegisterCheckId) { |
|
|
if (!this.doctorCheck.RegisterCheckId) { |
|
|
this.$message.warning({ showClose: true, message: "未选中组合项目!"}); |
|
|
|
|
|
|
|
|
this.$message.warning({ showClose: true, message: "未选中组合项目!" }); |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@ -230,7 +253,7 @@ export default { |
|
|
// } |
|
|
// } |
|
|
// ] |
|
|
// ] |
|
|
if (this.checkPictures.length == 0) { |
|
|
if (this.checkPictures.length == 0) { |
|
|
this.$message.warning({ showClose: true, message: "没有可保存的图片数据!"}); |
|
|
|
|
|
|
|
|
this.$message.warning({ showClose: true, message: "没有可保存的图片数据!" }); |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@ -282,7 +305,7 @@ export default { |
|
|
type: "warning", |
|
|
type: "warning", |
|
|
}) |
|
|
}) |
|
|
.then(() => { |
|
|
.then(() => { |
|
|
return postapi(`/api/app/registercheckpicture/deleteregistercheckpicturemany`,body); |
|
|
|
|
|
|
|
|
return postapi(`/api/app/registercheckpicture/deleteregistercheckpicturemany`, body); |
|
|
}) |
|
|
}) |
|
|
.then((res) => { |
|
|
.then((res) => { |
|
|
if (res && res.code > -1) { |
|
|
if (res && res.code > -1) { |
|
|
|