| | |
| | | icon="el-icon-plus" |
| | | size="medium" |
| | | @click="handleAdd" |
| | | v-hasPermi="['system:user:add']" |
| | | >新增</el-button |
| | | > |
| | | </el-col> |
| | |
| | | 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; |
| | |
| | | // detail: https://cli.vuejs.org/config/#devserver-proxy |
| | | [process.env.VUE_APP_BASE_API]: { |
| | | // target: `http://192.168.168.60:8095`, |
| | | // target: `http://192.168.144.34:8095`, |
| | | target: `http://192.168.144.34:8095`, |
| | | // target: `http://192.168.100.100:8095`, |
| | | target:`http://localhost:8095`, |
| | | // target:`http://localhost:8095`, |
| | | changeOrigin: true, |
| | | pathRewrite: { |
| | | ['^' + process.env.VUE_APP_BASE_API]: '' |