pengjun 2 weeks ago
parent
commit
433afb6206
  1. 1
      src/components/patientRegister/patientRegisterQuery.vue
  2. 52
      src/components/patientRegister/patientRegisterRecoverListQuery.vue
  3. 6
      src/router/index.js

1
src/components/patientRegister/patientRegisterQuery.vue

@ -11,7 +11,6 @@
<el-option label="登记或体检" :value="'3'" />
</el-select>
<!-- dateType 1 登记2 体检3 体检或登记-->
<el-date-picker v-model="patientRegister.query.startDate" type="date" placeholder="起始日期" size="small"
style="width:90px;" value-format="yyyy-MM-dd" :picker-options="pickerOptions" />
<span class="spanClass"></span>

52
src/components/patientRegister/patientRegisterRecoverListQuery.vue

@ -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'" />
@ -308,17 +308,40 @@ export default {
//
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 = {}; //

6
src/router/index.js

@ -581,6 +581,12 @@ const routes = [{
component: () =>
import ("../views/report/chargeAsbitem.vue"),
},
{
path: "/recoverQuery",
name: "回收表查询",
component: () =>
import ("../components/patientRegister/patientRegisterRecoverListQuery.vue"),
},
{
path: "/unCheckAsbitem",
name: "人员未检组合项目",

Loading…
Cancel
Save