Browse Source

audit

master
pengjun 11 months ago
parent
commit
ffb38e9ccf
  1. 12
      src/components/customerOrg/customerOrgTree.vue
  2. 20
      src/components/patientRegister/PatientRegisterEditDoctorBatch.vue
  3. 471
      src/components/patientRegister/PatientRegisterList.vue

12
src/components/customerOrg/customerOrgTree.vue

@ -9,8 +9,8 @@
<div>
<el-tree :data="customerOrg.customerOrgTree" :props="treeprops" node-key="id" :filter-node-method="filterNode"
:style="'overflow: scroll;width:200px;height:' + (window.pageHeight < 600 ? 465 : window.pageHeight - 135) + 'px;'"
:default-expanded-keys="customerOrg.defaultExpandedKeys" @node-click="treeclick" highlight-current
ref="customerOrgTree">
:default-expanded-keys="customerOrg.defaultExpandedKeys" @node-click="treeclick" highlight-current draggable
@allow-drag="allowDrag" @allow-drop="allowDrop" ref="customerOrgTree">
<span class="custom-tree-node" slot-scope="{ node, data }">
<div>
<span class="treeicons">
@ -90,6 +90,14 @@ export default {
});
},
allowDrag(node) {
console.log('node', node)
},
allowDrop(draggingNode, dropNode, type) {
console.log('draggingNode, dropNode, type', draggingNode, dropNode, type)
},
//
//api/app/contact-method/in-contact-person-id?ContactPersonId=3a0c08ad-4304-138b-d9e6-a7338739dfc4' \

20
src/components/patientRegister/PatientRegisterEditDoctorBatch.vue

@ -2,7 +2,7 @@
<div>
<div>
<div style="color: red;">
检查项目不选医生表示不更新
项目的检查审核医生不选表示对应项目的检查审核医生不更新
</div>
<div style="display: flex; margin-top: 2px">
<el-table :data="tableData" height="400" width="400" show-summary size="small" highlight-current-row
@ -15,6 +15,13 @@
</el-select>
</template>
</el-table-column>
<el-table-column label="审核医生" prop="auditorUserId" min-width="80">
<template slot-scope="scope">
<el-select v-model="scope.row.auditorUserId" filterable clearable placeholder="请选择" size="small">
<el-option v-for="item in users" :key="item.id" :label="item.surname" :value="item.id" />
</el-select>
</template>
</el-table-column>
</el-table>
<div style="margin: 300px 0 0 10px;">
<div style="margin: 10px 0">
@ -56,7 +63,7 @@ export default {
components: {
ElProgressOCX,
},
props: ["multipleSelection"],
props: ["multipleSelection","doctorType"],
data() {
return {
tableData: [],
@ -96,15 +103,20 @@ export default {
btnOk() {
let checkDoctorDetail = []
this.tableData.forEach(e => {
if (e.checkDoctorId) checkDoctorDetail.push(e)
if (!e.checkDoctorId) e.checkDoctorId = null
if (!e.auditorUserId) e.auditorUserId = null
});
checkDoctorDetail = this.tableData
if (checkDoctorDetail.length == 0) {
this.$message.warning({ showClose: true, message: '没有可更新的数据记录!' })
return
}
postapi('/api/app/RegisterCheck/UpdateBatchCheckDoctor', { patientRegisterIds: this.patientRegisterIds, checkDoctorDetail })
let url = '/api/app/RegisterCheck/UpdateBatchCheckDoctor'
//if(this.doctorType == 'audit') url = '/api/app/RegisterCheck/UpdateBatchAuditDoctor'
postapi(url, { patientRegisterIds: this.patientRegisterIds, checkDoctorDetail })
.then(res => {
if (res.code > -1) {
this.dialogWin.PatientRegisterEditDoctorBatch = false;

471
src/components/patientRegister/PatientRegisterList.vue

@ -2,65 +2,31 @@
<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
<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'
" 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(
<div v-else-if="dragCol[index].prop == 'completeFlag'" :style="`color: ${setPrStatusColor(
scope.row.isAudit,
scope.row.completeFlag
)}`"
>
)}`">
{{
scope.row.isAudit == "Y"
? "已审核"
@ -83,21 +49,13 @@
}}
</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="
<div v-else-if="
dragCol[index].prop == 'isVip' ||
dragCol[index].prop == 'isUpload' ||
dragCol[index].prop == 'qztlIsMain' ||
@ -106,14 +64,11 @@
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="
<div v-if="
scope.row.medicalPackageId !== dict.personOrgId &&
scope.row.customerOrgId === dict.personOrgId
"
>
">
{{
dddw(
dict.medicalPackage,
@ -146,12 +99,10 @@
)
}}
</div>
<div
v-if="
<div v-if="
scope.row.medicalPackageId !== dict.personOrgId &&
scope.row.customerOrgId !== dict.personOrgId
"
>
">
{{
dddw(
dict.customerOrgGroupAll,
@ -259,12 +210,10 @@
<div style="display: flex; justify-content: space-between">
<div></div>
<div>
<span style="font-size: 12px"
>{{ loadOpts.totalCount }} 条记录当前显示{{
<span style="font-size: 12px">{{ loadOpts.totalCount }} 条记录当前显示{{
tableData.length
}}
</span
>
</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
<el-dialog :title="dataTransOpts.tableS.patient_register.id
? '体检人员--编辑'
: '体检人员--新增'
"
:visible.sync="dialogWin.PatientRegisterEdit"
:close-on-click-modal="false"
fullscreen
@close="close_dialogWin_PatientRegisterEdit"
>
" :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
};
},
@ -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")
}
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" ? "是" : "否"
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" ? "是" : "否"
})
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(); //

Loading…
Cancel
Save