|
|
|
@ -3,7 +3,7 @@ |
|
|
|
<div class="contenttitle"> |
|
|
|
体检查询 /<span class="contenttitleBold">回收表格查询</span> |
|
|
|
</div> |
|
|
|
<div style="display: flex;"> |
|
|
|
<div style="display: flex;justify-content: space-between;"> |
|
|
|
|
|
|
|
<div style="display: flex;"> |
|
|
|
<div class="query"> |
|
|
|
@ -132,20 +132,20 @@ |
|
|
|
</div> |
|
|
|
|
|
|
|
<!-- 按钮区域 --> |
|
|
|
<div style="margin-left: 10px;margin-top: -10px;"> |
|
|
|
<div style="display: flex; margin-left: 10px;margin-top: -10px;"> |
|
|
|
<div class="listBtn"> |
|
|
|
<el-button class="commonbutton" @click="btnQuery">查询</el-button> |
|
|
|
</div> |
|
|
|
<div class="listBtn"> |
|
|
|
<div class="listBtn" style="margin-left:10px;margin-right:10px;"> |
|
|
|
<el-button type="danger" class="commonbutton" @click="btnClear">清除条件</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div :style="'width:' + (window.pageWidth - 200 - 145) + 'px;'"> |
|
|
|
<el-table :data="tableData" width="100%" border :height="window.pageHeight < 600 ? 330 : window.pageHeight - 240" |
|
|
|
<div :style="'margin-top: 10px;width:' + (window.pageWidth - 15) + 'px;'"> |
|
|
|
<el-table :data="tableData" width="100%" border :height="window.pageHeight < 600 ? 405 : window.pageHeight - 165" |
|
|
|
row-key="id" size="small" highlight-current-row ref="dataList" @selection-change="handleSelectionChange" |
|
|
|
@row-click="rowClick"> |
|
|
|
<el-table-column type="selection" width="40" align="center" /> |
|
|
|
<el-table-column type="index" width="40" label="序号" align="center" /> |
|
|
|
<el-table-column prop="isRecoverGuide" label="回收" align="center" width="50"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-checkbox :value="scope.row.isRecoverGuide == 'Y'" /> |
|
|
|
@ -307,18 +307,41 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
//挂载完成 |
|
|
|
mounted() { |
|
|
|
mounted() { |
|
|
|
let ldate = new Date(); |
|
|
|
this.patientRegister.query.startDate = ldate; |
|
|
|
this.patientRegister.query.endDate = ldate; |
|
|
|
this.patientRegister.query.dateType = '2' |
|
|
|
|
|
|
|
this.dictInit() |
|
|
|
|
|
|
|
this.$nextTick(() => { |
|
|
|
this.scrollFull() |
|
|
|
}) |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
...mapState(["window", "dict", "patientRegister", "customerOrg"]), |
|
|
|
...mapState(["pickerOptions", "window", "dict", "patientRegister", "customerOrg"]), |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
...mapActions(["getCustomerOrgGroup", "getPatientRegisterAbs"]), |
|
|
|
dddw, moment, |
|
|
|
|
|
|
|
dictInit() { |
|
|
|
//体检类别 |
|
|
|
getapi("/api/app/medical-type/in-filter").then((res) => { |
|
|
|
if (res.code > -1) { |
|
|
|
this.dict.medicalType = res.data; |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
//人员类别 |
|
|
|
getapi("/api/app/personnel-type/in-filter").then((res) => { |
|
|
|
if (res.code > -1) { |
|
|
|
this.dict.personnelType = res.data; |
|
|
|
} |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
handleSelectionChange(val) { |
|
|
|
this.multipleSelection = val; |
|
|
|
}, |
|
|
|
@ -346,9 +369,22 @@ export default { |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
// 清除查询条件 |
|
|
|
btnClear() { |
|
|
|
this.patientRegister.query.patientRegisterNo = '' |
|
|
|
this.patientRegister.query.patientNo = '' |
|
|
|
this.patientRegister.query.patientName = '' |
|
|
|
this.patientRegister.query.pacsNo = '' |
|
|
|
this.patientRegister.query.lisNo = '' |
|
|
|
this.patientRegister.query.sex = '' |
|
|
|
this.patientRegister.query.phone = '' |
|
|
|
this.patientRegister.query.idCardNo = '' |
|
|
|
}, |
|
|
|
|
|
|
|
//查询 |
|
|
|
btnQuery() { |
|
|
|
this.Query() |
|
|
|
}, |
|
|
|
async Query() { |
|
|
|
// 查询时,清掉明细数据 (滚动时不清) |
|
|
|
this.tableDataCurrentRow = {}; // 清除选择 |
|
|
|
|