|
|
|
@ -4,14 +4,17 @@ |
|
|
|
<div style="display: flex; flex-wrap: wrap; width: 100%;height:142px; "> |
|
|
|
<div v-if="winAbsolute" style="position: absolute;top:3px;right:0px;"> |
|
|
|
<el-tooltip content="关闭人员列表窗口" placement="bottom" effect="light"> |
|
|
|
<i class="el-icon-close" @click="doctorCheck.doctorCheckDialogVisible = false;sumDoctorCheck.sumDoctorCheckDialogVisible = false;" |
|
|
|
<i class="el-icon-close" |
|
|
|
@click="doctorCheck.doctorCheckDialogVisible = false; sumDoctorCheck.sumDoctorCheckDialogVisible = false;" |
|
|
|
style="font-size: 24px;color: red;cursor:pointer;"></i> |
|
|
|
</el-tooltip> |
|
|
|
</div> |
|
|
|
<div class="query" style="display: flex;padding-top: 2px;"> |
|
|
|
<el-input placeholder="请选择体检单位" v-model="patientRegister.query.cusOrgOCX" style="width:238px;" size="small" disabled> |
|
|
|
<el-input placeholder="请选择体检单位" v-model="patientRegister.query.cusOrgOCX" style="width:238px;" size="small" |
|
|
|
disabled> |
|
|
|
</el-input> |
|
|
|
<el-button icon="el-icon-search" @click="report.dialogCusOrgOCX = true" style="font-size: 20px;height:30px;min-width:30px; padding: 5px 5px;" size="small"></el-button> |
|
|
|
<el-button icon="el-icon-search" @click="report.dialogCusOrgOCX = true" |
|
|
|
style="font-size: 20px;height:30px;min-width:30px; padding: 5px 5px;" size="small"></el-button> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="query"> |
|
|
|
@ -42,23 +45,23 @@ |
|
|
|
</div> |
|
|
|
<div class="query" v-if="win == 'doctorCheck' ? true : false"> |
|
|
|
<span>组合项目:</span> |
|
|
|
<el-select v-model="local.query.checkAsb" placeholder="快速选择组合项目" size="small" |
|
|
|
filterable :filter-method="filterMethod" |
|
|
|
clearable @clear="quickAsb = deepCopy(asbItemQuick)" |
|
|
|
default-first-option ref="quickAsbOCX" |
|
|
|
style="width:157px;text-align: left;"> |
|
|
|
<el-select v-model="local.query.checkAsb" placeholder="快速选择组合项目" size="small" filterable |
|
|
|
:filter-method="filterMethod" clearable @clear="quickAsb = deepCopy(asbItemQuick)" default-first-option |
|
|
|
ref="quickAsbOCX" style="width:157px;text-align: left;"> |
|
|
|
<el-option v-for="item in quickAsb" :key="item.id" :value="item.id" :label="item.displayName" /> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
<div class="query"> |
|
|
|
<el-button class="commonbutton" type="primary" @click="query" size="small" style="width:60px;height:26px;padding: 5px 0 5px 0px;">查询</el-button> |
|
|
|
<el-button class="commonbutton" type="primary" @click="query" size="small" |
|
|
|
style="width:60px;height:26px;padding: 5px 0 5px 0px;">查询</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<!-- 人员列表 --> |
|
|
|
<el-table :data="dataList" border width="100%" :height="winAbsolute ? (window.pageHeight - 44 - 120 - 30) : (window.pageHeight - 44 - 120)" row-key="id" size="small" |
|
|
|
highlight-current-row @row-click="rowClick" @row-dblclick="rowDblclick" ref="dataList" style="border-radius:10px;"> |
|
|
|
|
|
|
|
<el-table :data="dataList" border width="100%" |
|
|
|
:height="winAbsolute ? (window.pageHeight - 44 - 120 - 30) : (window.pageHeight - 44 - 120)" row-key="id" |
|
|
|
size="small" highlight-current-row @row-click="rowClick" @row-dblclick="rowDblclick" ref="dataList" |
|
|
|
style="border-radius:10px;"> |
|
|
|
<el-table-column prop="customerOrgParentName" label="单位" width="120"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div>{{ scope.row.customerOrgParentName ? scope.row.customerOrgParentName : scope.row.customerOrgName }}</div> |
|
|
|
@ -163,8 +166,8 @@ |
|
|
|
</el-table> |
|
|
|
|
|
|
|
<!--通用选单位、体检次数、分组的控件--> |
|
|
|
<el-dialog title="体检单位选择" :visible.sync="report.dialogCusOrgOCX" |
|
|
|
:close-on-click-modal="false" :append-to-body="true" width="800px" height="600px"> |
|
|
|
<el-dialog title="体检单位选择" :visible.sync="report.dialogCusOrgOCX" :close-on-click-modal="false" :append-to-body="true" |
|
|
|
width="800px" height="600px"> |
|
|
|
<CusOrgOCX :useCustomerOrg="false" :initDateType="'medicalStartDate'" /> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
@ -201,6 +204,9 @@ export default { |
|
|
|
|
|
|
|
quickAsb: [], |
|
|
|
asbItemQuick: [], |
|
|
|
|
|
|
|
oneClick: 0, // 1 表示行单击一次 |
|
|
|
DbClick: 0, // 1 表示行有单击第二次 |
|
|
|
}; |
|
|
|
}, |
|
|
|
|
|
|
|
@ -285,6 +291,28 @@ export default { |
|
|
|
//点击体检次数行 |
|
|
|
rowClick(row) { |
|
|
|
|
|
|
|
if (this.oneClick == 0) { |
|
|
|
this.oneClick = 1; |
|
|
|
} else { |
|
|
|
this.DbClick = 1; |
|
|
|
} |
|
|
|
|
|
|
|
//双击事件 |
|
|
|
if (this.DbClick == 1) { //第一次点击的节点和第二次点击的节点id相同 |
|
|
|
this.rowClickRetrieve(row) |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
setTimeout(() => { //300ms内没有第二次点击,执行单击事件 |
|
|
|
if(this.oneClick == 1 && this.DbClick == 0) this.rowClickRetrieve(row) |
|
|
|
}, 300) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
rowClickRetrieve(row) { |
|
|
|
this.oneClick = 0; |
|
|
|
this.DbClick = 0; |
|
|
|
|
|
|
|
this.dataTransOpts.tableS.patient_register = deepCopy(row) |
|
|
|
// setTimeout(() => { |
|
|
|
this.dataTransOpts.refresh.patient_register.S++ //人员体检登记信息刷新 |
|
|
|
@ -303,11 +331,11 @@ export default { |
|
|
|
//双击选中客户记录后,并半闭列表 |
|
|
|
rowDblclick(row) { |
|
|
|
this.rowClick(row) |
|
|
|
if(this.win == 'doctorCheck'){ |
|
|
|
|
|
|
|
this.doctorCheck.doctorCheckDialogVisible = false |
|
|
|
}else{ |
|
|
|
this.sumDoctorCheck.sumDoctorCheckDialogVisible = false |
|
|
|
} |
|
|
|
// console.log('rowDblclick', this.doctorCheck.doctorCheckDialogVisible, this.sumDoctorCheck.sumDoctorCheckDialogVisible) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
ldddw(arrayData, key, value, display) { |
|
|
|
@ -400,7 +428,6 @@ export default { |
|
|
|
}; |
|
|
|
</script> |
|
|
|
<style scoped> |
|
|
|
|
|
|
|
.box { |
|
|
|
display: flex; |
|
|
|
} |
|
|
|
|