|
|
@ -51,17 +51,27 @@ |
|
|
</el-image> |
|
|
</el-image> |
|
|
</div> |
|
|
</div> |
|
|
<div style="display: flex"> |
|
|
<div style="display: flex"> |
|
|
<div style="margin: -6px 0 0 1px"> |
|
|
|
|
|
|
|
|
<div style="margin: -6px 2px 0 1px"> |
|
|
|
|
|
<el-tooltip content="是否打印" placement="bottom" effect="light"> |
|
|
<el-checkbox v-model="item.isPrintTrans" @change="btnSavePic" |
|
|
<el-checkbox v-model="item.isPrintTrans" @change="btnSavePic" |
|
|
:disabled="doctorBtnDisabled('btnSavePic')"></el-checkbox> |
|
|
:disabled="doctorBtnDisabled('btnSavePic')"></el-checkbox> |
|
|
|
|
|
</el-tooltip> |
|
|
</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 2px 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 style="margin: -6px 0 0 2px"> |
|
|
|
|
|
<el-tooltip content="是否报告图片" placement="bottom" effect="light"> |
|
|
|
|
|
<el-checkbox v-model="item.pictureFileType" @change="btnSavePic" true-label="1" false-label="0" |
|
|
|
|
|
:disabled="doctorBtnDisabled('btnSavePic')"></el-checkbox> |
|
|
|
|
|
</el-tooltip> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
@ -229,6 +239,7 @@ export default { |
|
|
// 裁图 |
|
|
// 裁图 |
|
|
dialogWinCutPic: false, |
|
|
dialogWinCutPic: false, |
|
|
cutPicParam: {}, |
|
|
cutPicParam: {}, |
|
|
|
|
|
pictureFileType:'0' |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
@ -238,6 +249,8 @@ export default { |
|
|
if (userPriv) this.pagePriv.privs = deepCopy(getPagePriv(this.pagePriv.routeUrlorPageName)) |
|
|
if (userPriv) this.pagePriv.privs = deepCopy(getPagePriv(this.pagePriv.routeUrlorPageName)) |
|
|
this.sysConfig = JSON.parse(window.sessionStorage.getItem('sysConfig')) |
|
|
this.sysConfig = JSON.parse(window.sessionStorage.getItem('sysConfig')) |
|
|
// console.log('this.sysConfig checkPictures', this.sysConfig) |
|
|
// console.log('this.sysConfig checkPictures', this.sysConfig) |
|
|
|
|
|
let LocalConfig = JSON.parse(window.localStorage.getItem("LocalConfig") || null) |
|
|
|
|
|
if (LocalConfig && LocalConfig.doctorCheck && LocalConfig.doctorCheck.pictureFileType) this.pictureFileType = LocalConfig.doctorCheck.pictureFileType |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
//挂载完成 |
|
|
//挂载完成 |
|
|
@ -363,7 +376,6 @@ export default { |
|
|
// FilePath: |
|
|
// FilePath: |
|
|
// Image |
|
|
// Image |
|
|
// ImageFormat |
|
|
// ImageFormat |
|
|
|
|
|
|
|
|
let baseHead = 'data:image/jpeg;base64,' |
|
|
let baseHead = 'data:image/jpeg;base64,' |
|
|
switch (item.ImageFormat) { |
|
|
switch (item.ImageFormat) { |
|
|
case 'png': |
|
|
case 'png': |
|
|
@ -384,7 +396,8 @@ export default { |
|
|
fileName, |
|
|
fileName, |
|
|
localPathName: item.FilePath, |
|
|
localPathName: item.FilePath, |
|
|
pictureBaseStr: baseHead + item.Image |
|
|
pictureBaseStr: baseHead + item.Image |
|
|
}] |
|
|
|
|
|
|
|
|
}], |
|
|
|
|
|
pictureFileType:this.pictureFileType |
|
|
} |
|
|
} |
|
|
try { |
|
|
try { |
|
|
//await postapi('/api/app/RegisterCheckPicture/InstrumentMapping', body) |
|
|
//await postapi('/api/app/RegisterCheckPicture/InstrumentMapping', body) |
|
|
@ -658,6 +671,7 @@ export default { |
|
|
let item = { |
|
|
let item = { |
|
|
registerCheckId: e.registerCheckId, |
|
|
registerCheckId: e.registerCheckId, |
|
|
pictureFilename: e.pictureFilename, |
|
|
pictureFilename: e.pictureFilename, |
|
|
|
|
|
pictureFileType: e.pictureFileType |
|
|
}; |
|
|
}; |
|
|
if (e.id) item.registerCheckPictureId = e.id; |
|
|
if (e.id) item.registerCheckPictureId = e.id; |
|
|
if (e.isPrintTrans) { |
|
|
if (e.isPrintTrans) { |
|
|
|