|
|
|
@ -27,7 +27,6 @@ |
|
|
|
<!-- 查询条件 --> |
|
|
|
<div style="width: 310px;margin-left: 2px;"> |
|
|
|
<div style="display: flex;"> |
|
|
|
|
|
|
|
<el-select v-model="query.dateType" placeholder="请选择" style="width: 80px" size="small"> |
|
|
|
<el-option label="检查日期" value="0" /> |
|
|
|
<el-option label="上传日期" value="1" /> |
|
|
|
@ -41,6 +40,15 @@ |
|
|
|
<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> |
|
|
|
<div style="font-size: 14px;"> |
|
|
|
<span>体检单位:</span> |
|
|
|
<el-select v-model="query.customerOrgIds" placeholder="请选择体检单位" :filter-method="filterMethod" default-first-option |
|
|
|
clearable filterable style="margin-left: 10px;width:225px;max-height: 32px;" size="small" multiple collapse-tags> |
|
|
|
<el-option v-for="item in customerOrg" :key="item.id" :label="item.displayName" :value="item.id"> |
|
|
|
{{ item.displayName }} |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
<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"> |
|
|
|
@ -112,8 +120,7 @@ |
|
|
|
</div> |
|
|
|
<div style="margin-top: -15px;"> |
|
|
|
<span style="color: #232748;">检查结论:</span> |
|
|
|
<el-table row-key="id" :data="doctorCheck.checkSummaryList" size="samll" height="186" |
|
|
|
width="100%" border> |
|
|
|
<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;"> |
|
|
|
@ -193,7 +200,8 @@ export default { |
|
|
|
startDate: "", |
|
|
|
endDate: "", |
|
|
|
maxResultCount: 1000, |
|
|
|
skipCount: 0 |
|
|
|
skipCount: 0, |
|
|
|
customerOrgIds:[] |
|
|
|
}, |
|
|
|
|
|
|
|
rClickRow: null, //右击的行 |
|
|
|
@ -219,6 +227,7 @@ export default { |
|
|
|
|
|
|
|
tabChoosed: "0", |
|
|
|
tabPosition: "top", // 多个明细检查排列方式 |
|
|
|
customerOrg:[], // 单位 |
|
|
|
}; |
|
|
|
}, |
|
|
|
|
|
|
|
@ -230,6 +239,16 @@ export default { |
|
|
|
let LocalConfig = JSON.parse(window.localStorage.getItem("LocalConfig") || null) |
|
|
|
if (LocalConfig && LocalConfig.doctorCheck && LocalConfig.doctorCheck.pacsType) this.pacsType = LocalConfig.doctorCheck.pacsType |
|
|
|
// console.log('this.pacsType', this.pacsType,) |
|
|
|
//获取单位列表 |
|
|
|
getapi("/api/app/customer-org/parent-all").then((res) => { |
|
|
|
if (res.code != -1) { |
|
|
|
this.customerOrgAll = res.data; |
|
|
|
let lfind = arrayExistObj(this.customerOrgAll, "id", this.dict.personOrgId); |
|
|
|
if (lfind > -1) this.customerOrgAll.splice(lfind, 1); |
|
|
|
this.customerOrg = deepCopy(this.customerOrgAll); |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
//挂载完成 |
|
|
|
@ -250,14 +269,13 @@ export default { |
|
|
|
"dialogWin", |
|
|
|
"dataTransOpts", |
|
|
|
"doctorCheck", |
|
|
|
"patientRegister", |
|
|
|
"customerOrg" |
|
|
|
"patientRegister" |
|
|
|
]), |
|
|
|
lmoment(date, forMat) { |
|
|
|
return moment(new Date(date)).format(forMat); |
|
|
|
}, |
|
|
|
tableHeight() { |
|
|
|
return this.window.pageHeight - 105 - 450 - 76 |
|
|
|
return this.window.pageHeight - 105 - 480 - 76 |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
@ -359,6 +377,22 @@ export default { |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
filterMethod(keyWords) { |
|
|
|
if (keyWords) { |
|
|
|
this.customerOrg = []; |
|
|
|
this.customerOrgAll.forEach((item) => { |
|
|
|
if ( |
|
|
|
item.displayName.toLowerCase().indexOf(keyWords.toLowerCase()) > -1 || |
|
|
|
item.simpleCode.toLowerCase().indexOf(keyWords.toLowerCase()) > -1 |
|
|
|
// || item.shortName.toLowerCase().indexOf(keyWords.toLowerCase()) > - 1 |
|
|
|
) { |
|
|
|
this.customerOrg.push(item); |
|
|
|
} |
|
|
|
}); |
|
|
|
} else { |
|
|
|
this.customerOrg = deepCopy(this.customerOrgAll); |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
btnQuery() { |
|
|
|
let body = Object.assign({}, this.query) |
|
|
|
@ -376,7 +410,6 @@ export default { |
|
|
|
body.checkTypeFlag = '3' |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
postapi('/api/app/PacsBusiness/GetPatientRegisterPacsCheck', body) |
|
|
|
.then(res => { |
|
|
|
if (res.code > -1) { |
|
|
|
|