|
|
|
@ -39,23 +39,24 @@ |
|
|
|
<el-button icon="el-icon-search" @click="btnQuery" type="primary" |
|
|
|
style="font-size: 20px;height:32px;min-width:30px; padding: 5px;z-index: 2;" size="small"></el-button> |
|
|
|
</div> |
|
|
|
<el-table :data="pacsList" style="width: 100%;" border highlight-current-row @row-click="rowClick" |
|
|
|
:height="tableHeight" :row-style="{ height: '28px' }" ref="pacsList"> |
|
|
|
<el-table-column prop="patientName" label="姓名" min-width="80" align="center" /> |
|
|
|
<el-table-column prop="checkRequestNo" label="检查条码" min-width="120" align="center" /> |
|
|
|
<el-table-column prop="asbitemName" label="检查项目" show-overflow-tooltip min-width="200" /> |
|
|
|
<el-table-column prop="pacsCheckDate" label="检查日期" min-width="90" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ moment(scope.row.pacsCheckDate).format("yyyy-MM-DD") }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="pacsUploadDate" label="上传日期" min-width="90" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ moment(scope.row.pacsUploadDate).format("yyyy-MM-DD") }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
|
|
|
|
<div @contextmenu.prevent="onContextmenu"> |
|
|
|
<el-table :data="pacsList" style="width: 100%;" border highlight-current-row @row-click="rowClick" |
|
|
|
:height="tableHeight" :row-style="{ height: '28px' }" ref="pacsList" @cell-contextmenu="onCellRightClick"> |
|
|
|
<el-table-column prop="patientName" label="姓名" min-width="80" align="center" /> |
|
|
|
<el-table-column prop="checkRequestNo" label="检查条码" min-width="120" align="center" /> |
|
|
|
<el-table-column prop="asbitemName" label="检查项目" show-overflow-tooltip min-width="200" /> |
|
|
|
<el-table-column prop="pacsCheckDate" label="检查日期" min-width="90" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ moment(scope.row.pacsCheckDate).format("yyyy-MM-DD") }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="pacsUploadDate" label="上传日期" min-width="90" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ moment(scope.row.pacsUploadDate).format("yyyy-MM-DD") }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div v-if="false" style="margin-top: 5px;"> |
|
|
|
<span style="color: #232748;">人员信息:</span> |
|
|
|
@ -142,6 +143,10 @@ export default { |
|
|
|
maxResultCount: 1000, |
|
|
|
skipCount: 0 |
|
|
|
}, |
|
|
|
|
|
|
|
rClickRow: null, //右击的行 |
|
|
|
rClickColumn: null, //右击的列(预留) |
|
|
|
|
|
|
|
autoNext: 'Y', // 保存后自动下一条 |
|
|
|
doctorCheckEdit: {}, |
|
|
|
pacsList: [], |
|
|
|
@ -306,6 +311,47 @@ export default { |
|
|
|
this.onQueryByPacsNo(row.checkRequestNo) |
|
|
|
}, |
|
|
|
|
|
|
|
//右击菜单 |
|
|
|
onCellRightClick(row, column) { |
|
|
|
this.rClickRow = { ...row }; //右击的行记录 |
|
|
|
this.rClickColumn = { ...column }; //右击的列(预留) |
|
|
|
// console.log(row, column.property); |
|
|
|
}, |
|
|
|
onContextmenu(event) { |
|
|
|
//// console.log('onContextmenu',event); |
|
|
|
if (!this.rClickRow) return false; |
|
|
|
let row = { ...this.rClickRow }; |
|
|
|
let items = [] //菜单项 |
|
|
|
|
|
|
|
items.push({ |
|
|
|
label: "清除pacs影像数据", |
|
|
|
onClick: () => { |
|
|
|
postapi("/api/app/PacsBusiness/DeletePacsCheckDicomDataByRegisterCheckId", { |
|
|
|
registerCheckId: row.registerCheckId |
|
|
|
}) |
|
|
|
.then((res) => { |
|
|
|
if (res.code < 0) { |
|
|
|
this.$message.error({ showClose: true, message: res.message }) |
|
|
|
} |
|
|
|
}); |
|
|
|
}, |
|
|
|
}) |
|
|
|
|
|
|
|
this.$contextmenu({ |
|
|
|
items, |
|
|
|
event, |
|
|
|
//x: event.clientX, |
|
|
|
//y: event.clientY, |
|
|
|
customClass: "custom-class", |
|
|
|
zIndex: 3, |
|
|
|
minWidth: 80, |
|
|
|
}); |
|
|
|
|
|
|
|
this.rClickRow = null; |
|
|
|
return false; |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
// 浏览Dcm文件 |
|
|
|
btnBrowseDcm() { |
|
|
|
|
|
|
|
|