| | |
| | | <span class="mulsz" slot="label" |
| | | ><i class="el-icon-s-management"></i> 医疗档案</span |
| | | > |
| | | <el-tabs v-model="sonactiveName" @tab-click="handleClick"> |
| | | <el-tabs v-model="sonactiveName" @tab-click="handleClickson"> |
| | | <el-tab-pane name="outpatient" |
| | | ><span class="mulsz" slot="label" |
| | | >门诊({{ mznumber }})</span |
| | |
| | | alterpatient, |
| | | Patientclinic, |
| | | } from "@/api/patient/homepage"; |
| | | import { listPatouthosp } from "@/api/smartor/patouthosp"; |
| | | import { listpatient } from "@/api/patient/record"; |
| | | |
| | | export default { |
| | | name: "Profile", |
| | |
| | | }, |
| | | |
| | | methods: { |
| | | // 查询医疗档案列表信息 |
| | | getList() { |
| | | // 查询医疗档案各列表信息 |
| | | getList(type) { |
| | | this.loading = true; |
| | | if (type == 1) { |
| | | // 门诊记录 |
| | | Patientclinic(this.id).then((response) => { |
| | | listPatouthosp({ patid: this.id }).then((response) => { |
| | | console.log(response); |
| | | }); |
| | | } else if (type == 2) { |
| | | listpatient({ patid: this.id }).then((response) => { |
| | | console.log(response); |
| | | }); |
| | | } else if (type == 3) { |
| | | listpatient({ patid: this.id }).then((response) => { |
| | | console.log(response); |
| | | }); |
| | | } |
| | | }, |
| | | getcontactlist() { |
| | | listcontactinformation({ patid: this.id }).then((response) => { |
| | |
| | | }, |
| | | // tab切换 |
| | | handleClick(tab, event) { |
| | | if (tab.index == 1) { |
| | | this.getList(); |
| | | } |
| | | this.getList(tab.index); |
| | | }, |
| | | handleClickson(tab, event) { |
| | | console.log(tab.index, "son"); |
| | | |
| | | this.getList(tab.index); |
| | | }, |
| | | // 联系方式新增 |
| | | Addanumber() {}, |