| | |
| | | <SortCheckbox |
| | | v-model="checkList" |
| | | :options="checkboxlist" |
| | | :selectedOrder="selectedOrder" |
| | | :initialselectedOrder="selectedOrder" |
| | | value-key="value" |
| | | label-key="label" |
| | | @change="checkSelectionChange" |
| | |
| | | size="medium" |
| | | :disabled="!patientqueryParams.allhosp" |
| | | @click="handleQuery" |
| | | >新增</el-button |
| | | >添加患者</el-button |
| | | > |
| | | </el-col> |
| | | |
| | |
| | | import { messagelistpatient } from "@/api/patient/homepage"; |
| | | import store from "@/store"; |
| | | import { |
| | | getTaskpatient, |
| | | getTaskpatientQC, |
| | | getillnesslist, |
| | | getbaseopera, |
| | | getFollowuplist, |
| | |
| | | }, |
| | | taskoptions: [ |
| | | { |
| | | value: "1", |
| | | value: "4", |
| | | label: "出院病人", |
| | | }, |
| | | { |
| | | value: "4", |
| | | value: "1", |
| | | label: "在院病人", |
| | | }, |
| | | { |
| | |
| | | } else { |
| | | this.patientqueryParams.pids = null; |
| | | } |
| | | // 类型判断 |
| | | if (this.patientqueryParams.allhosp == 1) { |
| | | this.patientqueryParams.cry = 1; |
| | | } else if (this.patientqueryParams.allhosp == 4) { |
| | | this.patientqueryParams.cry = 0; |
| | | this.patientqueryParams.allhosp = "1"; |
| | | // this.patientqueryParams.cry = 0; |
| | | // this.patientqueryParams.allhosp = "1"; |
| | | } |
| | | // 来源判断 |
| | | |
| | |
| | | this.patientqueryParams.leavehospitaldistrictcodes = |
| | | store.getters.belongWards.map((obj) => obj.districtCode); |
| | | } |
| | | getTaskpatient(this.patientqueryParams).then((response) => { |
| | | getTaskpatientQC(this.patientqueryParams).then((response) => { |
| | | this.patientuserList = response.rows; |
| | | this.patientuserList.forEach((item) => { |
| | | if (item.endtime) { |
| | |
| | | }, |
| | | getList() {}, |
| | | handleQuery() { |
| | | console.log( |
| | | "this.patientqueryParams.allhosp", |
| | | this.patientqueryParams.allhosp |
| | | ); |
| | | if (this.patientqueryParams.topica == 0) { |
| | | this.patientqueryParams.leavehospitaldistrictcodes = |
| | | store.getters.leavehospitaldistrictcodes; |
| | |
| | | ) |
| | | this.patientqueryParams.leaveldeptcodes = null; |
| | | this.handleAddpatient(); |
| | | |
| | | console.log( |
| | | "this.patientqueryParams.allhosp", |
| | | this.patientqueryParams.allhosp |
| | | ); |
| | | }, |
| | | |
| | | resetQuerymb() { |
| | | this.topqueryParams = { svyname: "" }; |
| | | this.handleQuerymb(); |