|
|
@ -1,36 +1,18 @@ |
|
|
<template> |
|
|
<template> |
|
|
<div style="display: flex"> |
|
|
<div style="display: flex"> |
|
|
<div |
|
|
|
|
|
:style=" |
|
|
|
|
|
'margin-left:5px;width:' + (window.pageWidth - 200 - 110 - 35) + 'px;' |
|
|
|
|
|
" |
|
|
|
|
|
@contextmenu.prevent="onContextmenu" |
|
|
|
|
|
> |
|
|
|
|
|
|
|
|
<div :style="'margin-left:5px;width:' + (window.pageWidth - 200 - 110 - 10) + 'px;'" @contextmenu.prevent="onContextmenu"> |
|
|
<div> |
|
|
<div> |
|
|
<el-table @body-scrolling="load" |
|
|
|
|
|
:data="patientRegister.prList" |
|
|
|
|
|
border :height="window.pageHeight < 600 ? 226 : Math.floor(((window.pageHeight - 261) * 2) / 3)" |
|
|
|
|
|
highlight-current-row |
|
|
|
|
|
@row-click="rowClick" |
|
|
|
|
|
size="small" row-key="id" |
|
|
|
|
|
@selection-change="handleSelectionChange" |
|
|
|
|
|
@cell-contextmenu="onCellRightClick" |
|
|
|
|
|
ref="info" id="info" |
|
|
|
|
|
:row-class-name="handleRowClassName" |
|
|
|
|
|
> |
|
|
|
|
|
|
|
|
<el-table @body-scrolling="load" :data="patientRegister.prList" border |
|
|
|
|
|
:height="window.pageHeight < 600 ? 248 : Math.floor(((window.pageHeight - 228) * 2) / 3)" highlight-current-row |
|
|
|
|
|
@row-click="rowClick" size="small" row-key="id" @selection-change="handleSelectionChange" |
|
|
|
|
|
@cell-contextmenu="onCellRightClick" ref="info" id="info" :row-class-name="handleRowClassName"> |
|
|
<!-- 取消勾选,改为选中 |
|
|
<!-- 取消勾选,改为选中 |
|
|
<el-table-column type="selection" width="40" show-overflow-tooltip/> |
|
|
<el-table-column type="selection" width="40" show-overflow-tooltip/> |
|
|
:height="window.pageHeight < 600 ? 202 : Math.floor(((window.pageHeight - 302) * 2) / 3)" |
|
|
:height="window.pageHeight < 600 ? 202 : Math.floor(((window.pageHeight - 302) * 2) / 3)" |
|
|
--> |
|
|
--> |
|
|
<el-table-column |
|
|
|
|
|
v-for="(item, index) in headerCols" |
|
|
|
|
|
:key="`col_${index}`" |
|
|
|
|
|
:min-width="dropCol[index].minWidth" |
|
|
|
|
|
:align="dropCol[index].align" |
|
|
|
|
|
:label="item.label" |
|
|
|
|
|
:prop="dropCol[index].prop" |
|
|
|
|
|
:sortable="dropCol[index].prop == 'sn' ? false:true" |
|
|
|
|
|
> |
|
|
|
|
|
|
|
|
<el-table-column v-for="(item, index) in headerCols" :key="`col_${index}`" :min-width="dropCol[index].minWidth" |
|
|
|
|
|
:align="dropCol[index].align" :label="item.label" :prop="dropCol[index].prop" |
|
|
|
|
|
:sortable="dropCol[index].prop == 'sn' ? false : true"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<div v-if="dropCol[index].prop == 'sn'"> |
|
|
<div v-if="dropCol[index].prop == 'sn'"> |
|
|
{{ scope.$index + 1 }} |
|
|
{{ scope.$index + 1 }} |
|
|
@ -39,9 +21,7 @@ |
|
|
{{ dddw(dict.completeFlag, "id", scope.row.completeFlag, "displayName") }} |
|
|
{{ dddw(dict.completeFlag, "id", scope.row.completeFlag, "displayName") }} |
|
|
</div> |
|
|
</div> |
|
|
<div v-else-if="dropCol[index].prop == 'guidePrintTimes'"> |
|
|
<div v-else-if="dropCol[index].prop == 'guidePrintTimes'"> |
|
|
<i class="el-icon-printer" |
|
|
|
|
|
v-if="scope.row.guidePrintTimes > 0" |
|
|
|
|
|
style="font-size: 20px; color: green" /> |
|
|
|
|
|
|
|
|
<i class="el-icon-printer" v-if="scope.row.guidePrintTimes > 0" style="font-size: 20px; color: green" /> |
|
|
</div> |
|
|
</div> |
|
|
<div v-else-if="dropCol[index].prop == 'isLock' |
|
|
<div v-else-if="dropCol[index].prop == 'isLock' |
|
|
|| dropCol[index].prop == 'isVip' |
|
|
|| dropCol[index].prop == 'isVip' |
|
|
@ -58,10 +38,12 @@ |
|
|
{{ dddw(dict.sex, "id", scope.row[dropCol[index].prop], "displayName") }} |
|
|
{{ dddw(dict.sex, "id", scope.row[dropCol[index].prop], "displayName") }} |
|
|
</div> |
|
|
</div> |
|
|
<div v-else-if="dropCol[index].prop == 'groupPack'"> |
|
|
<div v-else-if="dropCol[index].prop == 'groupPack'"> |
|
|
<div v-if=" scope.row.medicalPackageId !== dict.personOrgId && scope.row.customerOrgId === dict.personOrgId"> |
|
|
|
|
|
|
|
|
<div |
|
|
|
|
|
v-if="scope.row.medicalPackageId !== dict.personOrgId && scope.row.customerOrgId === dict.personOrgId"> |
|
|
{{ dddw(dict.medicalPackage, "id", scope.row.medicalPackageId, "displayName") }} |
|
|
{{ dddw(dict.medicalPackage, "id", scope.row.medicalPackageId, "displayName") }} |
|
|
</div> |
|
|
</div> |
|
|
<div v-if="scope.row.medicalPackageId !== dict.personOrgId && scope.row.customerOrgId !== dict.personOrgId"> |
|
|
|
|
|
|
|
|
<div |
|
|
|
|
|
v-if="scope.row.medicalPackageId !== dict.personOrgId && scope.row.customerOrgId !== dict.personOrgId"> |
|
|
{{ dddw(dict.customerOrgGroupAll, "id", scope.row.customerOrgGroupId, "displayName") }} |
|
|
{{ dddw(dict.customerOrgGroupAll, "id", scope.row.customerOrgGroupId, "displayName") }} |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
@ -130,22 +112,16 @@ |
|
|
</div> |
|
|
</div> |
|
|
<div style="margin-left: 10px;"> |
|
|
<div style="margin-left: 10px;"> |
|
|
<div v-show="checkPagePriv(pagePriv.privs, '人员登记')" class="listBtn"> |
|
|
<div v-show="checkPagePriv(pagePriv.privs, '人员登记')" class="listBtn"> |
|
|
<el-button type="success" class="commonbutton" @click="btnAdd">人员登记</el-button |
|
|
|
|
|
> |
|
|
|
|
|
|
|
|
<el-button type="success" class="commonbutton" @click="btnAdd">人员登记</el-button> |
|
|
</div> |
|
|
</div> |
|
|
<div v-show="checkPagePriv(pagePriv.privs, '批量正式登记')" class="listBtn"> |
|
|
<div v-show="checkPagePriv(pagePriv.privs, '批量正式登记')" class="listBtn"> |
|
|
<el-button type="success" class="commonbutton" @click="btnAddBatch">批量正式登记</el-button |
|
|
|
|
|
> |
|
|
|
|
|
|
|
|
<el-button type="success" class="commonbutton" @click="btnAddBatch">批量正式登记</el-button> |
|
|
</div> |
|
|
</div> |
|
|
<div v-show="checkPagePriv(pagePriv.privs, '编辑')" class="listBtn"> |
|
|
<div v-show="checkPagePriv(pagePriv.privs, '编辑')" class="listBtn"> |
|
|
<el-button type="primary" class="commonbutton" @click="btnEdit" |
|
|
|
|
|
>编辑</el-button |
|
|
|
|
|
> |
|
|
|
|
|
|
|
|
<el-button type="primary" class="commonbutton" @click="btnEdit">编辑</el-button> |
|
|
</div> |
|
|
</div> |
|
|
<div v-show="checkPagePriv(pagePriv.privs, '删除')" class="listBtn"> |
|
|
<div v-show="checkPagePriv(pagePriv.privs, '删除')" class="listBtn"> |
|
|
<el-button type="danger" class="commonbutton" @click="btnDel" |
|
|
|
|
|
>删除</el-button |
|
|
|
|
|
> |
|
|
|
|
|
|
|
|
<el-button type="danger" class="commonbutton" @click="btnDel">删除</el-button> |
|
|
</div> |
|
|
</div> |
|
|
<!-- |
|
|
<!-- |
|
|
<div class="listBtn"> |
|
|
<div class="listBtn"> |
|
|
@ -162,38 +138,19 @@ |
|
|
</div> |
|
|
</div> |
|
|
--> |
|
|
--> |
|
|
<div v-show="checkPagePriv(pagePriv.privs, '批量调整分组')" class="listBtn"> |
|
|
<div v-show="checkPagePriv(pagePriv.privs, '批量调整分组')" class="listBtn"> |
|
|
<el-button type="" class="commonbutton" @click="btnGroupBatch" |
|
|
|
|
|
>批量调整分组</el-button |
|
|
|
|
|
> |
|
|
|
|
|
|
|
|
<el-button type="" class="commonbutton" @click="btnGroupBatch">批量调整分组</el-button> |
|
|
</div> |
|
|
</div> |
|
|
<div v-show="checkPagePriv(pagePriv.privs, '批量调整项目')" class="listBtn"> |
|
|
<div v-show="checkPagePriv(pagePriv.privs, '批量调整项目')" class="listBtn"> |
|
|
<el-button type="" class="commonbutton" @click="btnAsbBatch" |
|
|
|
|
|
>批量调整项目</el-button |
|
|
|
|
|
> |
|
|
|
|
|
|
|
|
<el-button type="" class="commonbutton" @click="btnAsbBatch">批量调整项目</el-button> |
|
|
</div> |
|
|
</div> |
|
|
<div v-show="checkPagePriv(pagePriv.privs, '指引单打印')" class="listBtn"> |
|
|
<div v-show="checkPagePriv(pagePriv.privs, '指引单打印')" class="listBtn"> |
|
|
<el-button |
|
|
|
|
|
type="" |
|
|
|
|
|
class="commonbutton" |
|
|
|
|
|
@click="guidePrint('0001', false)" |
|
|
|
|
|
>指引单打印</el-button |
|
|
|
|
|
> |
|
|
|
|
|
|
|
|
<el-button type="" class="commonbutton" @click="guidePrint('0001', false)">指引单打印</el-button> |
|
|
</div> |
|
|
</div> |
|
|
<div v-show="checkPagePriv(pagePriv.privs, '指引单预览')" class="listBtn"> |
|
|
<div v-show="checkPagePriv(pagePriv.privs, '指引单预览')" class="listBtn"> |
|
|
<el-button |
|
|
|
|
|
type="" |
|
|
|
|
|
class="commonbutton" |
|
|
|
|
|
@click="guidePrint('0001', true)" |
|
|
|
|
|
>指引单预览</el-button |
|
|
|
|
|
> |
|
|
|
|
|
|
|
|
<el-button type="" class="commonbutton" @click="guidePrint('0001', true)">指引单预览</el-button> |
|
|
</div> |
|
|
</div> |
|
|
<div v-show="checkPagePriv(pagePriv.privs, '人员信息导出')" class="listBtn"> |
|
|
<div v-show="checkPagePriv(pagePriv.privs, '人员信息导出')" class="listBtn"> |
|
|
<el-button |
|
|
|
|
|
type="" |
|
|
|
|
|
class="commonbutton" |
|
|
|
|
|
@click="btnExport('info')" |
|
|
|
|
|
>人员信息导出</el-button |
|
|
|
|
|
> |
|
|
|
|
|
|
|
|
<el-button type="" class="commonbutton" @click="btnExport('info')">人员信息导出</el-button> |
|
|
</div> |
|
|
</div> |
|
|
<!-- |
|
|
<!-- |
|
|
<div class="listBtn"> |
|
|
<div class="listBtn"> |
|
|
@ -203,81 +160,41 @@ |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<!-- 体检人员登记 :title="patientRegister.patientRegisterRd.id ? '体检人员--编辑' : '体检人员--新增'" --> |
|
|
<!-- 体检人员登记 :title="patientRegister.patientRegisterRd.id ? '体检人员--编辑' : '体检人员--新增'" --> |
|
|
<el-dialog |
|
|
|
|
|
:title="dataTransOpts.tableS.patient_register.id ? '体检人员--编辑' : '体检人员--新增'" |
|
|
|
|
|
:visible.sync="dialogVisible" |
|
|
|
|
|
:close-on-click-modal="false" |
|
|
|
|
|
fullscreen @close="closeDialogPR" |
|
|
|
|
|
> |
|
|
|
|
|
|
|
|
<el-dialog :title="dataTransOpts.tableS.patient_register.id ? '体检人员--编辑' : '体检人员--新增'" :visible.sync="dialogVisible" |
|
|
|
|
|
:close-on-click-modal="false" fullscreen @close="closeDialogPR"> |
|
|
<!-- :formInitData="patientRegister.patientRegisterRd" --> |
|
|
<!-- :formInitData="patientRegister.patientRegisterRd" --> |
|
|
<PatientRegisterEdit |
|
|
|
|
|
:isDoctor="'0'" |
|
|
|
|
|
:patientRegisterId = "patientRegister.patientRegisterRd.id" |
|
|
|
|
|
:editTimes="editTimes" |
|
|
|
|
|
:refreshRegister="refreshRegister" |
|
|
|
|
|
/> |
|
|
|
|
|
|
|
|
<PatientRegisterEdit :isDoctor="'0'" :patientRegisterId="patientRegister.patientRegisterRd.id" |
|
|
|
|
|
:editTimes="editTimes" :refreshRegister="refreshRegister" /> |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
<!-- 拍照 --> |
|
|
<!-- 拍照 --> |
|
|
<el-dialog |
|
|
|
|
|
title="拍照" |
|
|
|
|
|
:visible.sync="patientRegister.cameraVisble" |
|
|
|
|
|
width="400" |
|
|
|
|
|
height="800" |
|
|
|
|
|
:show-close="false" |
|
|
|
|
|
:append-to-body="true" |
|
|
|
|
|
:close-on-click-modal="false" |
|
|
|
|
|
> |
|
|
|
|
|
|
|
|
<el-dialog title="拍照" :visible.sync="patientRegister.cameraVisble" width="400" height="800" :show-close="false" |
|
|
|
|
|
:append-to-body="true" :close-on-click-modal="false"> |
|
|
<Camera :id="patientRegister.patientRegisterId" /> |
|
|
<Camera :id="patientRegister.patientRegisterId" /> |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
<!-- 指引单 --> |
|
|
<!-- 指引单 --> |
|
|
<el-dialog |
|
|
|
|
|
title="指引单" |
|
|
|
|
|
:visible.sync="dialogGuide" |
|
|
|
|
|
width="400" |
|
|
|
|
|
height="800" |
|
|
|
|
|
:append-to-body="true" |
|
|
|
|
|
:close-on-click-modal="false" |
|
|
|
|
|
> |
|
|
|
|
|
|
|
|
<el-dialog title="指引单" :visible.sync="dialogGuide" width="400" height="800" :append-to-body="true" |
|
|
|
|
|
:close-on-click-modal="false"> |
|
|
<div>{{ guideMsg }}</div> |
|
|
<div>{{ guideMsg }}</div> |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
<!-- 批量调整分组 --> |
|
|
<!-- 批量调整分组 --> |
|
|
<el-dialog |
|
|
|
|
|
title="批量调整分组" |
|
|
|
|
|
:visible.sync="dialogWin.PatientRegisterEditGroupBatch" |
|
|
|
|
|
width="600px" |
|
|
|
|
|
height="800px" |
|
|
|
|
|
:append-to-body="true" |
|
|
|
|
|
:close-on-click-modal="false" |
|
|
|
|
|
> |
|
|
|
|
|
|
|
|
<el-dialog title="批量调整分组" :visible.sync="dialogWin.PatientRegisterEditGroupBatch" width="600px" height="800px" |
|
|
|
|
|
:append-to-body="true" :close-on-click-modal="false"> |
|
|
<PatientRegisterEditGroupBatch :multipleSelection="multipleSelection" /> |
|
|
<PatientRegisterEditGroupBatch :multipleSelection="multipleSelection" /> |
|
|
|
|
|
|
|
|
</el-dialog> |
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
<!-- 批量调整项目 --> |
|
|
<!-- 批量调整项目 --> |
|
|
<el-dialog |
|
|
|
|
|
title="批量调整项目" |
|
|
|
|
|
:visible.sync="dialogWin.PatientRegisterEditItemBatch" |
|
|
|
|
|
width="610px" |
|
|
|
|
|
height="800px" |
|
|
|
|
|
:append-to-body="true" |
|
|
|
|
|
:close-on-click-modal="false" |
|
|
|
|
|
> |
|
|
|
|
|
|
|
|
<el-dialog title="批量调整项目" :visible.sync="dialogWin.PatientRegisterEditItemBatch" width="610px" height="800px" |
|
|
|
|
|
:append-to-body="true" :close-on-click-modal="false"> |
|
|
<PatientRegisterEditItemBatch :multipleSelection="multipleSelection" /> |
|
|
<PatientRegisterEditItemBatch :multipleSelection="multipleSelection" /> |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
<!-- 通用进度条 --> |
|
|
<!-- 通用进度条 --> |
|
|
<el-dialog |
|
|
|
|
|
title="数据处理中……" |
|
|
|
|
|
:visible.sync="elProgress.display" |
|
|
|
|
|
width="600px" |
|
|
|
|
|
height="400" |
|
|
|
|
|
:show-close="false" |
|
|
|
|
|
:close-on-click-modal="false" |
|
|
|
|
|
:append-to-body="true" |
|
|
|
|
|
> |
|
|
|
|
|
|
|
|
<el-dialog title="数据处理中……" :visible.sync="elProgress.display" width="600px" height="400" :show-close="false" |
|
|
|
|
|
:close-on-click-modal="false" :append-to-body="true"> |
|
|
<ElProgressOCX /> |
|
|
<ElProgressOCX /> |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
|
</div> |
|
|
</div> |
|
|
@ -1394,5 +1311,4 @@ export default { |
|
|
.btnClass { |
|
|
.btnClass { |
|
|
width: 100px; |
|
|
width: 100px; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
</style> |
|
|
</style> |