|
|
|
@ -5,8 +5,8 @@ |
|
|
|
<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) |
|
|
|
? 248 |
|
|
|
: Math.floor(((window.pageHeight - 250) * 2) / 3) |
|
|
|
" highlight-current-row @row-click="rowClick" @row-dblclick="dblClick" size="small" row-key="id" |
|
|
|
@selection-change="handleSelectionChange" @row-contextmenu="onCellRightClick" ref="info" id="info" |
|
|
|
:row-class-name="handleRowClassName" use-virtual :row-height="25" @table-body-scroll="scrollFull" |
|
|
|
@ -15,8 +15,8 @@ |
|
|
|
<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 |
|
|
|
? false |
|
|
|
: true |
|
|
|
"> |
|
|
|
<template slot-scope="scope" v-if="!dragCol[index].type"> |
|
|
|
<div v-if="!dragCol[index].type"> |
|
|
|
@ -299,8 +299,8 @@ |
|
|
|
<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"> |
|
|
|
<!-- :formInitData="patientRegister.patientRegisterRd" --> |
|
|
|
@ -2107,9 +2107,15 @@ export default { |
|
|
|
this.dataTransOpts.tableS.patient_register.patientRegisterNo = |
|
|
|
row.patientRegisterNo; |
|
|
|
|
|
|
|
this.upBaseInfo = Object.assign(this.upBaseInfo, row); |
|
|
|
this.upBaseInfo.patientRegisterId = row.id; |
|
|
|
this.upBaseInfo.visble = true; |
|
|
|
// 获取资料 |
|
|
|
postapi('/api/app/patientregister/getinfoorpatient', { patientRegisterId: row.id }) |
|
|
|
.then(res => { |
|
|
|
if (res.code > -1) { |
|
|
|
this.upBaseInfo = Object.assign(this.upBaseInfo, row); |
|
|
|
this.upBaseInfo.patientRegisterId = row.id; |
|
|
|
this.upBaseInfo.visble = true; |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
editMedicalStartDate() { |
|
|
|
|