pengjun 1 year ago
parent
commit
b3d41df8bf
  1. 2
      public/sysConfig.json
  2. 80
      src/components/doctorCheck/PacsDcmList.vue

2
public/sysConfig.json

@ -2,5 +2,5 @@
"apiurl": "http://140.143.162.39:9529",
"softName": "神豚体检管理系统",
"pacsApi":"http://140.143.162.39:9529",
"dcmViewers":"http://192.168.2.74:5081"
"dcmViewers":"http://140.143.162.39:5081"
}

80
src/components/doctorCheck/PacsDcmList.vue

@ -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() {

Loading…
Cancel
Save