|
|
|
@ -2,74 +2,40 @@ |
|
|
|
<div> |
|
|
|
<!--组件主体--> |
|
|
|
<div style="display: flex"> |
|
|
|
<div |
|
|
|
:style="'width:' + (window.pageWidth - 200 - 145) + 'px;'" |
|
|
|
@contextmenu.prevent="onContextmenu" |
|
|
|
> |
|
|
|
<div :style="'width:' + (window.pageWidth - 200 - 145) + 'px;'" @contextmenu.prevent="onContextmenu"> |
|
|
|
<div> |
|
|
|
<u-table |
|
|
|
:data="tableData" |
|
|
|
border |
|
|
|
:height=" |
|
|
|
window.pageHeight < 600 |
|
|
|
? 248 |
|
|
|
: Math.floor(((window.pageHeight - 250) * 2) / 3) |
|
|
|
" |
|
|
|
highlight-current-row |
|
|
|
@row-click="rowClick" |
|
|
|
size="small" |
|
|
|
row-key="id" |
|
|
|
@selection-change="handleSelectionChange" |
|
|
|
@row-contextmenu="onCellRightClick" |
|
|
|
ref="info" |
|
|
|
id="info" |
|
|
|
:row-class-name="handleRowClassName" |
|
|
|
use-virtual |
|
|
|
:row-height="30" |
|
|
|
@table-body-scroll="scrollFull" |
|
|
|
big-data-checkbox |
|
|
|
:data-changes-scroll-top="false" |
|
|
|
> |
|
|
|
<u-table-column |
|
|
|
type="selection" |
|
|
|
width="40" |
|
|
|
align="center" |
|
|
|
></u-table-column> |
|
|
|
<u-table-column |
|
|
|
v-for="(item, index) in dragCol" |
|
|
|
:key="index" |
|
|
|
:type="dragCol[index].type" |
|
|
|
:min-width="dragCol[index].minWidth" |
|
|
|
:align="dragCol[index].align" |
|
|
|
:label="item.label" |
|
|
|
:prop="dragCol[index].prop" |
|
|
|
:sortable=" |
|
|
|
dragCol[index].type || dragCol[index].prop == 'sn' |
|
|
|
? false |
|
|
|
: true |
|
|
|
" |
|
|
|
> |
|
|
|
<u-table :data="tableData" border :height="window.pageHeight < 600 |
|
|
|
? 248 |
|
|
|
: Math.floor(((window.pageHeight - 250) * 2) / 3) |
|
|
|
" highlight-current-row @row-click="rowClick" size="small" row-key="id" |
|
|
|
@selection-change="handleSelectionChange" @row-contextmenu="onCellRightClick" ref="info" id="info" |
|
|
|
:row-class-name="handleRowClassName" use-virtual :row-height="30" @table-body-scroll="scrollFull" |
|
|
|
big-data-checkbox :data-changes-scroll-top="false"> |
|
|
|
<u-table-column type="selection" width="40" align="center"></u-table-column> |
|
|
|
<u-table-column v-for="(item, index) in dragCol" :key="index" :type="dragCol[index].type" |
|
|
|
:min-width="dragCol[index].minWidth" :align="dragCol[index].align" :label="item.label" |
|
|
|
:prop="dragCol[index].prop" :sortable="dragCol[index].type || dragCol[index].prop == 'sn' |
|
|
|
? false |
|
|
|
: true |
|
|
|
"> |
|
|
|
<template slot-scope="scope" v-if="!dragCol[index].type"> |
|
|
|
<div v-if="!dragCol[index].type"> |
|
|
|
<div v-if="dragCol[index].prop == 'sn'"> |
|
|
|
{{ scope.$index + 1 }} |
|
|
|
</div> |
|
|
|
<div |
|
|
|
v-else-if="dragCol[index].prop == 'completeFlag'" |
|
|
|
:style="`color: ${setPrStatusColor( |
|
|
|
scope.row.isAudit, |
|
|
|
scope.row.completeFlag |
|
|
|
)}`" |
|
|
|
> |
|
|
|
<div v-else-if="dragCol[index].prop == 'completeFlag'" :style="`color: ${setPrStatusColor( |
|
|
|
scope.row.isAudit, |
|
|
|
scope.row.completeFlag |
|
|
|
)}`"> |
|
|
|
{{ |
|
|
|
scope.row.isAudit == "Y" |
|
|
|
? "已审核" |
|
|
|
: dddw( |
|
|
|
dict.completeFlag, |
|
|
|
"id", |
|
|
|
scope.row.completeFlag, |
|
|
|
"displayName" |
|
|
|
) |
|
|
|
dict.completeFlag, |
|
|
|
"id", |
|
|
|
scope.row.completeFlag, |
|
|
|
"displayName" |
|
|
|
) |
|
|
|
}} |
|
|
|
</div> |
|
|
|
<div v-else-if="dragCol[index].prop == 'qztlType'"> |
|
|
|
@ -83,37 +49,26 @@ |
|
|
|
}} |
|
|
|
</div> |
|
|
|
<div v-else-if="dragCol[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 v-else-if="dragCol[index].prop == 'isLock'"> |
|
|
|
<i |
|
|
|
class="el-icon-lock" |
|
|
|
v-if="scope.row.isLock == 'Y'" |
|
|
|
style="font-size: 20px; color: red" |
|
|
|
/> |
|
|
|
<i class="el-icon-lock" v-if="scope.row.isLock == 'Y'" style="font-size: 20px; color: red" /> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
v-else-if=" |
|
|
|
dragCol[index].prop == 'isVip' || |
|
|
|
dragCol[index].prop == 'isUpload' || |
|
|
|
dragCol[index].prop == 'qztlIsMain' || |
|
|
|
dragCol[index].prop == 'qztlIsCy' || |
|
|
|
dragCol[index].prop == 'qztlIsCw' || |
|
|
|
dragCol[index].prop == 'qztlIsGt' || |
|
|
|
dragCol[index].prop == 'qztlIsWh' || |
|
|
|
dragCol[index].prop == 'qztlIsFj' |
|
|
|
" |
|
|
|
> |
|
|
|
<div v-else-if=" |
|
|
|
dragCol[index].prop == 'isVip' || |
|
|
|
dragCol[index].prop == 'isUpload' || |
|
|
|
dragCol[index].prop == 'qztlIsMain' || |
|
|
|
dragCol[index].prop == 'qztlIsCy' || |
|
|
|
dragCol[index].prop == 'qztlIsCw' || |
|
|
|
dragCol[index].prop == 'qztlIsGt' || |
|
|
|
dragCol[index].prop == 'qztlIsWh' || |
|
|
|
dragCol[index].prop == 'qztlIsFj' |
|
|
|
"> |
|
|
|
{{ scope.row[dragCol[index].prop] == "Y" ? "是" : "否" }} |
|
|
|
</div> |
|
|
|
|
|
|
|
<div |
|
|
|
v-else-if="dragCol[index].prop == 'customerOrgParentName'" |
|
|
|
> |
|
|
|
<div v-else-if="dragCol[index].prop == 'customerOrgParentName'"> |
|
|
|
{{ |
|
|
|
scope.row.customerOrgParentName |
|
|
|
? scope.row.customerOrgParentName |
|
|
|
@ -131,12 +86,10 @@ |
|
|
|
}} |
|
|
|
</div> |
|
|
|
<div v-else-if="dragCol[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, |
|
|
|
@ -146,12 +99,10 @@ |
|
|
|
) |
|
|
|
}} |
|
|
|
</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, |
|
|
|
@ -176,8 +127,8 @@ |
|
|
|
{{ |
|
|
|
scope.row[dragCol[index].prop] |
|
|
|
? moment(scope.row[dragCol[index].prop]).format( |
|
|
|
"yyyy-MM-DD" |
|
|
|
) |
|
|
|
"yyyy-MM-DD" |
|
|
|
) |
|
|
|
: "" |
|
|
|
}} |
|
|
|
</div> |
|
|
|
@ -217,7 +168,7 @@ |
|
|
|
<div v-else-if="dragCol[index].prop == 'customerOrgName'"> |
|
|
|
{{ |
|
|
|
scope.row[dragCol[index].prop] == |
|
|
|
scope.row["customerOrgParentName"] |
|
|
|
scope.row["customerOrgParentName"] |
|
|
|
? "" |
|
|
|
: scope.row[dragCol[index].prop] |
|
|
|
}} |
|
|
|
@ -259,12 +210,10 @@ |
|
|
|
<div style="display: flex; justify-content: space-between"> |
|
|
|
<div></div> |
|
|
|
<div> |
|
|
|
<span style="font-size: 12px" |
|
|
|
>共:{{ loadOpts.totalCount }} 条记录,当前显示:{{ |
|
|
|
tableData.length |
|
|
|
}} |
|
|
|
条。</span |
|
|
|
> |
|
|
|
<span style="font-size: 12px">共:{{ loadOpts.totalCount }} 条记录,当前显示:{{ |
|
|
|
tableData.length |
|
|
|
}} |
|
|
|
条。</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -277,53 +226,23 @@ |
|
|
|
</el-tabs> |
|
|
|
</div> |
|
|
|
<div style="margin-left: 10px"> |
|
|
|
<div |
|
|
|
v-show="checkPagePriv(pagePriv.privs, '导入青藏数据')" |
|
|
|
class="listBtn" |
|
|
|
> |
|
|
|
<el-button |
|
|
|
type="success" |
|
|
|
class="commonbutton" |
|
|
|
@click="btnImportOrgData" |
|
|
|
>导入青藏数据</el-button |
|
|
|
> |
|
|
|
<div v-show="checkPagePriv(pagePriv.privs, '导入青藏数据')" class="listBtn"> |
|
|
|
<el-button type="success" class="commonbutton" @click="btnImportOrgData">导入青藏数据</el-button> |
|
|
|
</div> |
|
|
|
<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 |
|
|
|
v-show="checkPagePriv(pagePriv.privs, '批量正式登记')" |
|
|
|
class="listBtn" |
|
|
|
> |
|
|
|
<el-button |
|
|
|
type="success" |
|
|
|
class="commonbutton" |
|
|
|
@click="btnAddBatch('1')" |
|
|
|
>批量正式登记</el-button |
|
|
|
> |
|
|
|
<div v-show="checkPagePriv(pagePriv.privs, '批量正式登记')" class="listBtn"> |
|
|
|
<el-button type="success" class="commonbutton" @click="btnAddBatch('1')">批量正式登记</el-button> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
v-show="checkPagePriv(pagePriv.privs, '批量转预登记')" |
|
|
|
class="listBtn" |
|
|
|
> |
|
|
|
<el-button |
|
|
|
type="success" |
|
|
|
class="commonbutton" |
|
|
|
@click="btnAddBatch('0')" |
|
|
|
>批量转预登记</el-button |
|
|
|
> |
|
|
|
<div v-show="checkPagePriv(pagePriv.privs, '批量转预登记')" class="listBtn"> |
|
|
|
<el-button type="success" class="commonbutton" @click="btnAddBatch('0')">批量转预登记</el-button> |
|
|
|
</div> |
|
|
|
<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 v-show="checkPagePriv(pagePriv.privs, '删除')" class="listBtn"> |
|
|
|
<el-button type="danger" class="deleteButton" @click="btnDel" |
|
|
|
>删除</el-button |
|
|
|
> |
|
|
|
<el-button type="danger" class="deleteButton" @click="btnDel">删除</el-button> |
|
|
|
</div> |
|
|
|
<!-- |
|
|
|
<div class="listBtn"> |
|
|
|
@ -339,74 +258,29 @@ |
|
|
|
<el-button type="" class="btnClass commonbutton">健康档案</el-button> |
|
|
|
</div> |
|
|
|
--> |
|
|
|
<div |
|
|
|
v-show="checkPagePriv(pagePriv.privs, '批量调整分组')" |
|
|
|
class="listBtn" |
|
|
|
> |
|
|
|
<el-button type="" class="commonbutton" @click="btnGroupBatch" |
|
|
|
>批量调整分组</el-button |
|
|
|
> |
|
|
|
<div v-show="checkPagePriv(pagePriv.privs, '批量调整分组')" class="listBtn"> |
|
|
|
<el-button type="" class="commonbutton" @click="btnGroupBatch">批量调整分组</el-button> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
v-show="checkPagePriv(pagePriv.privs, '批量调整项目')" |
|
|
|
class="listBtn" |
|
|
|
> |
|
|
|
<el-button type="" class="commonbutton" @click="btnAsbBatch" |
|
|
|
>批量调整项目</el-button |
|
|
|
> |
|
|
|
<div v-show="checkPagePriv(pagePriv.privs, '批量调整项目')" class="listBtn"> |
|
|
|
<el-button type="" class="commonbutton" @click="btnAsbBatch">批量调整项目</el-button> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
v-show="checkPagePriv(pagePriv.privs, '指引单打印')" |
|
|
|
class="listBtn" |
|
|
|
> |
|
|
|
<el-button |
|
|
|
type="" |
|
|
|
class="commonbutton" |
|
|
|
@click="guidePrint('0001', false)" |
|
|
|
>指引单打印</el-button |
|
|
|
> |
|
|
|
<div v-show="checkPagePriv(pagePriv.privs, '指引单打印')" class="listBtn"> |
|
|
|
<el-button type="" class="commonbutton" @click="guidePrint('0001', false)">指引单打印</el-button> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
v-show="checkPagePriv(pagePriv.privs, '指引单预览')" |
|
|
|
class="listBtn" |
|
|
|
> |
|
|
|
<el-button |
|
|
|
type="" |
|
|
|
class="commonbutton" |
|
|
|
@click="guidePrint('0001', true)" |
|
|
|
>指引单预览</el-button |
|
|
|
> |
|
|
|
<div v-show="checkPagePriv(pagePriv.privs, '指引单预览')" class="listBtn"> |
|
|
|
<el-button type="" class="commonbutton" @click="guidePrint('0001', true)">指引单预览</el-button> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
v-show="checkPagePriv(pagePriv.privs, '人员检验检查条码')" |
|
|
|
class="listBtn" |
|
|
|
> |
|
|
|
<el-button |
|
|
|
type="" |
|
|
|
class="commonbutton" |
|
|
|
@click="printPromise()" |
|
|
|
style="font-size: 12px" |
|
|
|
>人员检验检查条码</el-button |
|
|
|
> |
|
|
|
<div v-show="checkPagePriv(pagePriv.privs, '人员检验检查条码')" class="listBtn"> |
|
|
|
<el-button type="" class="commonbutton" @click="printPromise()" style="font-size: 12px">人员检验检查条码</el-button> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
v-show="checkPagePriv(pagePriv.privs, '人员信息导出')" |
|
|
|
class="listBtn" |
|
|
|
> |
|
|
|
<download-excel |
|
|
|
:fields="jsonFields" |
|
|
|
:fetch="btnExport" |
|
|
|
type="xls" |
|
|
|
:name="tableName" |
|
|
|
> |
|
|
|
<div v-show="checkPagePriv(pagePriv.privs, '人员信息导出')" class="listBtn"> |
|
|
|
<download-excel :fields="jsonFields" :fetch="btnExport" type="xls" :name="tableName"> |
|
|
|
<el-button type="" style="width:100%">人员信息导出</el-button> |
|
|
|
</download-excel> |
|
|
|
<!-- <el-button type="" class="commonbutton" @click="btnExport('info')">人员信息导出</el-button> --> |
|
|
|
</div> |
|
|
|
<div class="listBtn"> |
|
|
|
<el-button type="" class="commonbutton" @click="btnDragColDesign" |
|
|
|
>设计列排序</el-button |
|
|
|
> |
|
|
|
<el-button type="" class="commonbutton" @click="btnDragColDesign">设计列排序</el-button> |
|
|
|
</div> |
|
|
|
<!-- elProgress.display dialogWin.LocalConfig |
|
|
|
<div class="listBtn"> |
|
|
|
@ -417,40 +291,25 @@ |
|
|
|
<div class="listBtn"> |
|
|
|
<el-button type="" class="btnClass commonbutton" @click="rowSelected(tableData)">选中</el-button> |
|
|
|
</div> |
|
|
|
--></div> |
|
|
|
--> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!--组件弹窗--> |
|
|
|
<div> |
|
|
|
<!-- 体检人员登记 :title="patientRegister.patientRegisterRd.id ? '体检人员--编辑' : '体检人员--新增'" --> |
|
|
|
<el-dialog |
|
|
|
:title=" |
|
|
|
dataTransOpts.tableS.patient_register.id |
|
|
|
? '体检人员--编辑' |
|
|
|
: '体检人员--新增' |
|
|
|
" |
|
|
|
:visible.sync="dialogWin.PatientRegisterEdit" |
|
|
|
:close-on-click-modal="false" |
|
|
|
fullscreen |
|
|
|
@close="close_dialogWin_PatientRegisterEdit" |
|
|
|
> |
|
|
|
<el-dialog :title="dataTransOpts.tableS.patient_register.id |
|
|
|
? '体检人员--编辑' |
|
|
|
: '体检人员--新增' |
|
|
|
" :visible.sync="dialogWin.PatientRegisterEdit" :close-on-click-modal="false" fullscreen |
|
|
|
@close="close_dialogWin_PatientRegisterEdit"> |
|
|
|
<!-- :formInitData="patientRegister.patientRegisterRd" --> |
|
|
|
<PatientRegisterEdit |
|
|
|
:isDoctor="'1'" |
|
|
|
:patientRegisterId="patientRegister.patientRegisterRd.id" |
|
|
|
:editTimes="editTimes" |
|
|
|
:refFuncSetData="refFuncSetData" |
|
|
|
/> |
|
|
|
<PatientRegisterEdit :isDoctor="'1'" :patientRegisterId="patientRegister.patientRegisterRd.id" |
|
|
|
:editTimes="editTimes" :refFuncSetData="refFuncSetData" /> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
<!-- 修改信息 --> |
|
|
|
<el-dialog |
|
|
|
:title="`修改信息--${upBaseInfo.label}`" |
|
|
|
:visible.sync="upBaseInfo.visble" |
|
|
|
width="400" |
|
|
|
:show-close="false" |
|
|
|
:append-to-body="true" |
|
|
|
:close-on-click-modal="false" |
|
|
|
> |
|
|
|
<el-dialog :title="`修改信息--${upBaseInfo.label}`" :visible.sync="upBaseInfo.visble" width="400" :show-close="false" |
|
|
|
:append-to-body="true" :close-on-click-modal="false"> |
|
|
|
<div> |
|
|
|
<div style="display: flex; margin-bottom: 20px"> |
|
|
|
<span style="padding: 5px 0 0 10px; width: 100px">{{ |
|
|
|
@ -461,183 +320,91 @@ |
|
|
|
<div style="display: flex; justify-content: space-between"> |
|
|
|
<div></div> |
|
|
|
<div> |
|
|
|
<el-button class="commonbutton" @click="btnUpBaseInfo" |
|
|
|
>提交</el-button |
|
|
|
> |
|
|
|
<el-button |
|
|
|
class="commonbutton" |
|
|
|
@click="close_dialogWin_upBaseInfo" |
|
|
|
>关闭</el-button |
|
|
|
> |
|
|
|
<el-button class="commonbutton" @click="btnUpBaseInfo">提交</el-button> |
|
|
|
<el-button class="commonbutton" @click="close_dialogWin_upBaseInfo">关闭</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
<el-dialog |
|
|
|
title="修改信息--体检日期" |
|
|
|
:visible.sync="dialogEditMedicalStartDate" |
|
|
|
width="400" |
|
|
|
:show-close="false" |
|
|
|
:append-to-body="true" |
|
|
|
:close-on-click-modal="false" |
|
|
|
> |
|
|
|
<el-dialog title="修改信息--体检日期" :visible.sync="dialogEditMedicalStartDate" width="400" :show-close="false" |
|
|
|
:append-to-body="true" :close-on-click-modal="false"> |
|
|
|
<div> |
|
|
|
<div style="display: flex; margin-bottom: 20px"> |
|
|
|
<span style="padding: 5px 0 0 10px; width: 100px">体检日期</span> |
|
|
|
<el-date-picker |
|
|
|
v-model="upBaseInfo.medicalStartDate" |
|
|
|
type="date" |
|
|
|
placeholder="体检日期" |
|
|
|
size="small" |
|
|
|
value-format="yyyy-MM-dd" |
|
|
|
:picker-options="pickerOptions" |
|
|
|
/> |
|
|
|
<el-date-picker v-model="upBaseInfo.medicalStartDate" type="date" placeholder="体检日期" size="small" |
|
|
|
value-format="yyyy-MM-dd" :picker-options="pickerOptions" /> |
|
|
|
</div> |
|
|
|
<div style="display: flex; justify-content: space-between"> |
|
|
|
<div></div> |
|
|
|
<div> |
|
|
|
<el-button class="commonbutton" @click="btnEditMedicalStartDate" |
|
|
|
>提交</el-button |
|
|
|
> |
|
|
|
<el-button |
|
|
|
class="commonbutton" |
|
|
|
@click="dialogEditMedicalStartDate = false" |
|
|
|
>关闭</el-button |
|
|
|
> |
|
|
|
<el-button class="commonbutton" @click="btnEditMedicalStartDate">提交</el-button> |
|
|
|
<el-button class="commonbutton" @click="dialogEditMedicalStartDate = false">关闭</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
<!-- 分诊排队 --> |
|
|
|
<el-dialog |
|
|
|
title="分诊排队" |
|
|
|
:visible.sync="dialogWin.queue" |
|
|
|
width="800px" |
|
|
|
:append-to-body="true" |
|
|
|
:close-on-click-modal="false" |
|
|
|
> |
|
|
|
<el-dialog title="分诊排队" :visible.sync="dialogWin.queue" width="800px" :append-to-body="true" |
|
|
|
:close-on-click-modal="false"> |
|
|
|
<Queue :refParams="queueParams" /> |
|
|
|
</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" /> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
<!-- 导入企业数据 --> |
|
|
|
<el-dialog |
|
|
|
title="导入企业数据" |
|
|
|
:visible.sync="dialogWin.ImportOrgData" |
|
|
|
width="800px" |
|
|
|
:append-to-body="true" |
|
|
|
:close-on-click-modal="false" |
|
|
|
> |
|
|
|
<el-dialog title="导入企业数据" :visible.sync="dialogWin.ImportOrgData" width="800px" :append-to-body="true" |
|
|
|
:close-on-click-modal="false"> |
|
|
|
<ImportOrgData /> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
<!-- 列排序 --> |
|
|
|
<el-dialog |
|
|
|
title="列排序" |
|
|
|
:visible.sync="dialogColSort" |
|
|
|
width="300px" |
|
|
|
:append-to-body="true" |
|
|
|
:close-on-click-modal="false" |
|
|
|
> |
|
|
|
<el-table |
|
|
|
id="elTable_dragCol" |
|
|
|
:data="dragColDesign" |
|
|
|
row-key="prop" |
|
|
|
border |
|
|
|
height="600" |
|
|
|
> |
|
|
|
<el-dialog title="列排序" :visible.sync="dialogColSort" width="300px" :append-to-body="true" |
|
|
|
:close-on-click-modal="false"> |
|
|
|
<el-table id="elTable_dragCol" :data="dragColDesign" row-key="prop" border height="600"> |
|
|
|
<el-table-column type="index" label="序号" width="40" align="center"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
label="列名" |
|
|
|
prop="label" |
|
|
|
min-width="120" |
|
|
|
align="center" |
|
|
|
></el-table-column> |
|
|
|
<el-table-column label="列名" prop="label" min-width="120" align="center"></el-table-column> |
|
|
|
</el-table> |
|
|
|
<span slot="footer" class="dialog-footer"> |
|
|
|
<el-button class="commonbutton" @click="dialogColSort = false" |
|
|
|
>取消</el-button |
|
|
|
> |
|
|
|
<el-button class="commonbutton" @click="btnDragColDesignOk" |
|
|
|
>确定</el-button |
|
|
|
> |
|
|
|
<el-button class="commonbutton" @click="dialogColSort = false">取消</el-button> |
|
|
|
<el-button class="commonbutton" @click="btnDragColDesignOk">确定</el-button> |
|
|
|
</span> |
|
|
|
</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" /> |
|
|
|
</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" /> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
<!-- 批量调整检查项目医生 --> |
|
|
|
<el-dialog |
|
|
|
title="批量调整检查项目医生" |
|
|
|
:visible.sync="dialogWin.PatientRegisterEditDoctorBatch" |
|
|
|
width="610px" |
|
|
|
:append-to-body="true" |
|
|
|
:close-on-click-modal="false" |
|
|
|
> |
|
|
|
<PatientRegisterEditDoctorBatch |
|
|
|
:multipleSelection="multipleSelection" |
|
|
|
/> |
|
|
|
<el-dialog title="批量调整检查项目医生" |
|
|
|
:visible.sync="dialogWin.PatientRegisterEditDoctorBatch" width="610px" :append-to-body="true" |
|
|
|
:close-on-click-modal="false"> |
|
|
|
<PatientRegisterEditDoctorBatch :multipleSelection="multipleSelection" :doctorType="doctorType" /> |
|
|
|
</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 /> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
<!--通用本地参数设置--> |
|
|
|
<el-dialog |
|
|
|
title="本地参数设置" |
|
|
|
:visible.sync="dialogWin.LocalConfig" |
|
|
|
:close-on-click-modal="false" |
|
|
|
:append-to-body="true" |
|
|
|
width="800px" |
|
|
|
height="600px" |
|
|
|
> |
|
|
|
<el-dialog title="本地参数设置" :visible.sync="dialogWin.LocalConfig" :close-on-click-modal="false" |
|
|
|
:append-to-body="true" width="800px" height="600px"> |
|
|
|
<LocalConfig /> |
|
|
|
</el-dialog> |
|
|
|
</div> |
|
|
|
@ -856,7 +623,8 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
LocalConfigInit: {}, |
|
|
|
tableName:""//导出人员列表表名 |
|
|
|
tableName: "", //导出人员列表表名 |
|
|
|
doctorType: "check" //check:检查 audit:审核 |
|
|
|
}; |
|
|
|
}, |
|
|
|
|
|
|
|
@ -1536,7 +1304,7 @@ export default { |
|
|
|
if ( |
|
|
|
this.loadOpts.skipCount != 0 && |
|
|
|
this.loadOpts.skipCount * this.loadOpts.maxResultCount >= |
|
|
|
this.loadOpts.totalCount |
|
|
|
this.loadOpts.totalCount |
|
|
|
) |
|
|
|
return; |
|
|
|
// console.log('getPrList', this.loadOpts) |
|
|
|
@ -1723,7 +1491,7 @@ export default { |
|
|
|
if (scroll.judgeFlse) { |
|
|
|
if ( |
|
|
|
(Number(this.loadOpts.skipCount) + 1) * |
|
|
|
Number(this.loadOpts.maxResultCount) >= |
|
|
|
Number(this.loadOpts.maxResultCount) >= |
|
|
|
Number(this.loadOpts.totalCount) |
|
|
|
) { |
|
|
|
return; |
|
|
|
@ -2036,10 +1804,13 @@ export default { |
|
|
|
items.push({ |
|
|
|
label: "调整检查项目医生", |
|
|
|
onClick: () => { |
|
|
|
// this.doctorType = 'check' |
|
|
|
this.dataTransOpts.plus.PatientRegisterEditDoctorBatch++; //如果放在弹窗显示后面,在首次加载子组件时,会触发两次数据处理 |
|
|
|
this.dialogWin.PatientRegisterEditDoctorBatch = true; |
|
|
|
}, |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
items.push({ label: "----------------" }); |
|
|
|
this.$contextmenu({ |
|
|
|
items, |
|
|
|
@ -2347,35 +2118,35 @@ export default { |
|
|
|
this.dragCol.forEach((e) => { |
|
|
|
this.jsonFields[e.label] = e.prop; |
|
|
|
}); |
|
|
|
let tableDatas=deepCopy(this.tableData) |
|
|
|
tableDatas.forEach((e,index)=>{ |
|
|
|
if(index)e.sn=index+1 |
|
|
|
if(e.completeFlag)e.completeFlag=e.isAudit == "Y"? "已审核": dddw(this.dict.completeFlag,"id",e.completeFlag,"displayName") |
|
|
|
if(e.guidePrintTimes)e.guidePrintTimes=e.guidePrintTimes > 0?'打印':'' |
|
|
|
if(e.isLock)e.isLock=e.isLock=='Y'?'锁住':'' |
|
|
|
if(e.sexId)e.sexId=dddw(this.dict.sex,"id",e.sexId,"displayName") |
|
|
|
if(e.medicalPackageId !== this.dict.personOrgId &&e.customerOrgId === this.dict.personOrgId){ |
|
|
|
e.groupPack=dddw(this.dict.medicalPackage,"id",e.medicalPackageId,"displayName") |
|
|
|
}else if(e.medicalPackageId !== this.dict.personOrgId &&e.customerOrgId !== this.dict.personOrgId){ |
|
|
|
e.groupPack=dddw(this.dict.customerOrgGroupAll,"id",e.customerOrgGroupId,"displayName") |
|
|
|
let tableDatas = deepCopy(this.tableData) |
|
|
|
tableDatas.forEach((e, index) => { |
|
|
|
if (index) e.sn = index + 1 |
|
|
|
if (e.completeFlag) e.completeFlag = e.isAudit == "Y" ? "已审核" : dddw(this.dict.completeFlag, "id", e.completeFlag, "displayName") |
|
|
|
if (e.guidePrintTimes) e.guidePrintTimes = e.guidePrintTimes > 0 ? '打印' : '' |
|
|
|
if (e.isLock) e.isLock = e.isLock == 'Y' ? '锁住' : '' |
|
|
|
if (e.sexId) e.sexId = dddw(this.dict.sex, "id", e.sexId, "displayName") |
|
|
|
if (e.medicalPackageId !== this.dict.personOrgId && e.customerOrgId === this.dict.personOrgId) { |
|
|
|
e.groupPack = dddw(this.dict.medicalPackage, "id", e.medicalPackageId, "displayName") |
|
|
|
} else if (e.medicalPackageId !== this.dict.personOrgId && e.customerOrgId !== this.dict.personOrgId) { |
|
|
|
e.groupPack = dddw(this.dict.customerOrgGroupAll, "id", e.customerOrgGroupId, "displayName") |
|
|
|
} |
|
|
|
if(e.nationId)e.nationId=dddw(this.dict.nation,"id",e.nationId,"displayName") |
|
|
|
if(e.idNo)e.idNo=e.idNo+'&' |
|
|
|
if(e.birthDate)e.birthDate=moment(e.birthDate).format("yyyy-MM-DD") |
|
|
|
if(e.maritalStatusId)e.maritalStatusId=dddw(this.dict.maritalStatus,"id",e.maritalStatusId,"displayName") |
|
|
|
if(e.medicalTypeId)e.medicalTypeId=dddw(this.dict.medicalType,"id",e.medicalTypeId,"displayName") |
|
|
|
if(e.personnelTypeId)e.personnelTypeId=dddw(this.dict.personnelType,"id",e.personnelTypeId,"displayName") |
|
|
|
if(e.isVip)e.isVip=e.isVip == "Y" ? "是" : "否" |
|
|
|
if(e.isUpload)e.isUpload=e.isUpload == "Y" ? "是" : "否" |
|
|
|
if(e.qztlType)e.qztlType=dddw(this.dict.qztlType,"id",e.qztlType,"displayName") |
|
|
|
if(e.qztlIsMain)e.qztlIsMain=e.qztlIsMain == "Y" ? "是" : "否" |
|
|
|
if(e.qztlIsCy)e.qztlIsCy=e.qztlIsCy == "Y" ? "是" : "否" |
|
|
|
if(e.qztlIsCw)e.qztlIsCw=e.qztlIsCw == "Y" ? "是" : "否" |
|
|
|
if(e.qztlIsGt)e.qztlIsGt=e.qztlIsGt == "Y" ? "是" : "否" |
|
|
|
if(e.qztlIsWh)e.qztlIsWh=e.qztlIsWh == "Y" ? "是" : "否" |
|
|
|
if(e.qztlIsFj)e.qztlIsFj=e.qztlIsFj == "Y" ? "是" : "否" |
|
|
|
if (e.nationId) e.nationId = dddw(this.dict.nation, "id", e.nationId, "displayName") |
|
|
|
if (e.idNo) e.idNo = e.idNo + '&' |
|
|
|
if (e.birthDate) e.birthDate = moment(e.birthDate).format("yyyy-MM-DD") |
|
|
|
if (e.maritalStatusId) e.maritalStatusId = dddw(this.dict.maritalStatus, "id", e.maritalStatusId, "displayName") |
|
|
|
if (e.medicalTypeId) e.medicalTypeId = dddw(this.dict.medicalType, "id", e.medicalTypeId, "displayName") |
|
|
|
if (e.personnelTypeId) e.personnelTypeId = dddw(this.dict.personnelType, "id", e.personnelTypeId, "displayName") |
|
|
|
if (e.isVip) e.isVip = e.isVip == "Y" ? "是" : "否" |
|
|
|
if (e.isUpload) e.isUpload = e.isUpload == "Y" ? "是" : "否" |
|
|
|
if (e.qztlType) e.qztlType = dddw(this.dict.qztlType, "id", e.qztlType, "displayName") |
|
|
|
if (e.qztlIsMain) e.qztlIsMain = e.qztlIsMain == "Y" ? "是" : "否" |
|
|
|
if (e.qztlIsCy) e.qztlIsCy = e.qztlIsCy == "Y" ? "是" : "否" |
|
|
|
if (e.qztlIsCw) e.qztlIsCw = e.qztlIsCw == "Y" ? "是" : "否" |
|
|
|
if (e.qztlIsGt) e.qztlIsGt = e.qztlIsGt == "Y" ? "是" : "否" |
|
|
|
if (e.qztlIsWh) e.qztlIsWh = e.qztlIsWh == "Y" ? "是" : "否" |
|
|
|
if (e.qztlIsFj) e.qztlIsFj = e.qztlIsFj == "Y" ? "是" : "否" |
|
|
|
}) |
|
|
|
this.tableName='人员登记列表'+moment(new Date()).format('yyyyMMDDHHmmss')+'.xls' |
|
|
|
this.tableName = '人员登记列表' + moment(new Date()).format('yyyyMMDDHHmmss') + '.xls' |
|
|
|
return tableDatas; |
|
|
|
// const columns = this.$refs.info.getColumns(); // 获取列信息 |
|
|
|
// const data = this.$refs.info.getData(); // 获取数据 |
|
|
|
|