|
|
|
@ -14,7 +14,6 @@ |
|
|
|
size="small">保存</el-button> |
|
|
|
</div> |
|
|
|
<el-dropdown v-show="checkPagePriv(pagePriv.privs, '导图')" :disabled="doctorBtnDisabled('btnExpPic')"> |
|
|
|
|
|
|
|
<span class="el-dropdown-link" style="color: #222531; font-weight: 700"> |
|
|
|
<el-button type="primary" class="btnClass" :disabled="doctorBtnDisabled('btnExpPic')">更多</el-button> |
|
|
|
</span> |
|
|
|
@ -68,7 +67,7 @@ |
|
|
|
</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" |
|
|
|
<el-checkbox v-model="item.pictureFileType" @change="btnSavePic" true-label="1" false-label="0" |
|
|
|
:disabled="doctorBtnDisabled('btnSavePic')"></el-checkbox> |
|
|
|
</el-tooltip> |
|
|
|
</div> |
|
|
|
@ -119,18 +118,18 @@ |
|
|
|
<el-radio :label="'left'">纵排</el-radio> |
|
|
|
</el-radio-group> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<el-tabs :tab-position="tabPosition" v-model="tabChoosed"> |
|
|
|
<el-tab-pane v-for="(item, seq) in doctorCheck.checkItemList" :label="dispLabel(item.itemName)" |
|
|
|
:name="seq + ''" :key="seq"> |
|
|
|
<el-input style="width: 100%;" type="textarea" v-model="item.result" placeholder="请输入检查结果" |
|
|
|
:disabled="doctorBtnDisabled('save')" |
|
|
|
:autosize="{ minRows: Math.floor((window.pageHeight - 500) / 24), maxRows: 19 }" /> |
|
|
|
:disabled="doctorBtnDisabled('save')" |
|
|
|
:autosize="{ minRows: Math.floor((window.pageHeight - 550) / 24), maxRows: 18 }" /> |
|
|
|
<div style="display: flex;justify-content: space-between;"> |
|
|
|
<div></div> |
|
|
|
<div> |
|
|
|
<el-tooltip :content="`给 ${item.itemName} 项目,赋默认结果`" placement="top"> |
|
|
|
<i class="el-icon-edit" @click="btnDefResult(seq)" |
|
|
|
<i class="el-icon-edit" @click="btnDefResult(seq)" |
|
|
|
style="font-size: 18px;color: blue;cursor:pointer;margin-right: 10px;"></i> |
|
|
|
</el-tooltip> |
|
|
|
<el-tooltip :content="`清除 ${item.itemName} 项目的检查结果`" placement="top"> |
|
|
|
@ -141,14 +140,36 @@ |
|
|
|
</div> |
|
|
|
</el-tab-pane> |
|
|
|
</el-tabs> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div style="margin-top: 5px;"> |
|
|
|
<span style="color: #232748;">检查结论:</span> |
|
|
|
<el-input style="width: 100%;border: 1px solid #232748;" type="textarea" v-model="pacsParams.summary" |
|
|
|
:disabled="doctorBtnDisabled('save')" placeholder="请输入结论" :autosize="{ minRows: 8, maxRows: 8 }" /> |
|
|
|
<el-table row-key="id" :data="doctorCheck.checkSummaryList" size="samll" height="186" width="100%" border> |
|
|
|
<el-table-column width="30" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-tag class="moveSummary" style="height:25px;padding:0 2px;cursor: move;background-color: #EEEEEE;"> |
|
|
|
<div style="width: 16px;">{{ scope.$index + 1 }}</div> |
|
|
|
</el-tag> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="summary" label="小结"> |
|
|
|
<template slot="header"> |
|
|
|
<div style="display: flex;justify-content:space-between;"> |
|
|
|
<div>小结</div> |
|
|
|
<div></div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div style="display: flex;"> |
|
|
|
<el-input type="textarea" v-model="scope.row.summary" :autosize="{ minRows: 1, maxRows: 100 }" |
|
|
|
placeholder="请输入小结"> |
|
|
|
</el-input> |
|
|
|
<el-button type="danger" style="min-width:23px;padding:2px;" icon="el-icon-delete" |
|
|
|
@click="delSum(scope.$index)" size="small"></el-button> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</div> |
|
|
|
<div style="display: flex;justify-content: space-between;margin-top: 10px;"> |
|
|
|
<div></div> |
|
|
|
@ -213,7 +234,7 @@ export default { |
|
|
|
summary: '' |
|
|
|
}, |
|
|
|
tabPosition: 'top', |
|
|
|
tabChoosed:"0", |
|
|
|
tabChoosed: "0", |
|
|
|
|
|
|
|
checkPictures: [ |
|
|
|
// { |
|
|
|
@ -239,7 +260,7 @@ export default { |
|
|
|
// 裁图 |
|
|
|
dialogWinCutPic: false, |
|
|
|
cutPicParam: {}, |
|
|
|
pictureFileType:'1' |
|
|
|
pictureFileType: '1' |
|
|
|
}; |
|
|
|
}, |
|
|
|
|
|
|
|
@ -249,7 +270,7 @@ export default { |
|
|
|
if (userPriv) this.pagePriv.privs = deepCopy(getPagePriv(this.pagePriv.routeUrlorPageName)) |
|
|
|
this.sysConfig = JSON.parse(window.sessionStorage.getItem('sysConfig')) |
|
|
|
// console.log('this.sysConfig checkPictures', this.sysConfig) |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
//挂载完成 |
|
|
|
@ -327,6 +348,22 @@ export default { |
|
|
|
return srcList |
|
|
|
}, |
|
|
|
|
|
|
|
//删除小结 |
|
|
|
delSum(index) { |
|
|
|
this.$confirm("此操作将删除该记录, 是否继续?", "提示", { |
|
|
|
confirmButtonText: "是", |
|
|
|
cancelButtonText: "否", |
|
|
|
type: "warning", |
|
|
|
}).then(() => { |
|
|
|
this.doctorCheck.checkSummaryList.splice(index, 1); |
|
|
|
}).catch(err => { |
|
|
|
if (err == "cancel") { |
|
|
|
// this.$message.info("已取消删除"); |
|
|
|
console.log('已取消删除') |
|
|
|
} |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
// 图片文件补全路径 |
|
|
|
imageFilePlus(fileName) { |
|
|
|
if (fileName.indexOf('base64') > -1 || fileName.indexOf('http') > -1) { |
|
|
|
@ -367,7 +404,7 @@ export default { |
|
|
|
this.$peisAPI.imageAcquisition(JSON.stringify(toOutShell)) |
|
|
|
.then(async (res) => { |
|
|
|
let lres = JSON.parse(res) |
|
|
|
console.log('this.$peisAPI.imageAcquisition', lres) |
|
|
|
console.log('this.$peisAPI.imageAcquisition', lres) |
|
|
|
if (lres.code > -1) { |
|
|
|
for (let i = 0; i < lres.data.length; i++) { |
|
|
|
let item = lres.data[i]; |
|
|
|
@ -394,7 +431,7 @@ export default { |
|
|
|
pictureBaseStrs: [{ |
|
|
|
fileName, |
|
|
|
localPathName: item.FilePath, |
|
|
|
pictureBaseStr: baseHead + item.Image |
|
|
|
pictureBaseStr: baseHead + item.Image |
|
|
|
}], |
|
|
|
pictureFileType: '0' //采图暂定图0,上传暂定报告1 this.pictureFileType |
|
|
|
} |
|
|
|
@ -424,8 +461,8 @@ export default { |
|
|
|
|
|
|
|
// 清除结果 |
|
|
|
btnClear(seq) { |
|
|
|
if(this.doctorBtnDisabled('save')){ |
|
|
|
this.$message.warning({showClose:true,message:"已保存,不可操作!"}) |
|
|
|
if (this.doctorBtnDisabled('save')) { |
|
|
|
this.$message.warning({ showClose: true, message: "已保存,不可操作!" }) |
|
|
|
return |
|
|
|
} |
|
|
|
this.doctorCheck.checkItemList[seq].result = '' |
|
|
|
@ -433,8 +470,8 @@ export default { |
|
|
|
|
|
|
|
// 默认结果 |
|
|
|
btnDefResult(seq) { |
|
|
|
if(this.doctorBtnDisabled('save')){ |
|
|
|
this.$message.warning({showClose:true,message:"已保存,不可操作!"}) |
|
|
|
if (this.doctorBtnDisabled('save')) { |
|
|
|
this.$message.warning({ showClose: true, message: "已保存,不可操作!" }) |
|
|
|
return |
|
|
|
} |
|
|
|
this.doctorCheck.checkItemList[seq].result = this.doctorCheck.checkItemList[seq].defaultResult |
|
|
|
@ -457,7 +494,7 @@ export default { |
|
|
|
let token = window.sessionStorage.getItem('token') |
|
|
|
this.iframeSrc = `${this.sysConfig.dcmViewers}/?mrn=${this.doctorCheck.checkRequestNo}&token=${token}&pacsapi=${this.sysConfig.pacsApiHttps}` |
|
|
|
// this.iframeSrc = `${this.sysConfig.dcmViewers}/viewer?StudyInstanceUIDs=1.3.12.2.1107.5.1.4.79623.30000024091203062645300000022` |
|
|
|
this.tabPosition = this.doctorCheck.checkItemList.length > 2 ? 'left':'top' |
|
|
|
this.tabPosition = this.doctorCheck.checkItemList.length > 2 ? 'left' : 'top' |
|
|
|
this.tabChoosed = "0" |
|
|
|
this.dialogDcm = true |
|
|
|
|
|
|
|
@ -677,7 +714,7 @@ export default { |
|
|
|
item.isPrint = "Y"; |
|
|
|
} else { |
|
|
|
item.isPrint = "N"; |
|
|
|
} |
|
|
|
} |
|
|
|
body.push(item); |
|
|
|
}); |
|
|
|
|
|
|
|
|