| | |
| | | patientqueryParams: { |
| | | pageNum: 1, // |
| | | pageSize: 10, |
| | | topica: 1, //0全部1科室2病区 |
| | | leavehospitaldistrictcodes: [], |
| | | leaveldeptcodes: [], |
| | | hospitaldistrictcodes: [], |
| | |
| | | }, |
| | | |
| | | resetQuery() { |
| | | this.patientqueryParams= { |
| | | let allhosp = this.patientqueryParams.allhosp; |
| | | this.patientqueryParams = { |
| | | pageNum: 1, // |
| | | pageSize: 10, |
| | | allhosp: allhosp, |
| | | leavehospitaldistrictcodes: [], |
| | | leaveldeptcodes: [], |
| | | hospitaldistrictcodes: [], |
| | | deptcodes: [], |
| | | }; |
| | | console.log(this.patientqueryParams,'this.patientqueryParams'); |
| | | |
| | | this.handleQuery() |
| | | console.log(this.patientqueryParams, "this.patientqueryParams"); |
| | | |
| | | this.handleQuery(); |
| | | }, |
| | | handleQuerymb() { |
| | | getQtemplatelist(this.topqueryParams).then((response) => { |
| | |
| | | } |
| | | ) |
| | | .then(() => { |
| | | if (Array.isArray(this.objyl.suitway)) { |
| | | if (Array.isArray(this.objyl.suitway)) { |
| | | this.objyl.suitway = this.objyl.suitway.join(","); |
| | | } |
| | | this.objyl.templateid = this.objyl.svyid; |
| | |
| | | this.previewtf = false; |
| | | }) |
| | | .catch(() => { |
| | | |
| | | if (Array.isArray(this.objyl.suitway)) { |
| | | if (Array.isArray(this.objyl.suitway)) { |
| | | this.objyl.suitway = this.objyl.suitway.join(","); |
| | | } |
| | | this.objyl.templateid = this.objyl.svyid; |