|
|
|
@ -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> |
|
|
|
@ -124,8 +123,8 @@ |
|
|
|
<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> |
|
|
|
@ -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' |
|
|
|
}; |
|
|
|
}, |
|
|
|
|
|
|
|
@ -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) { |
|
|
|
@ -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 |
|
|
|
|
|
|
|
|