提交 ab6397c0 编写于 作者: guangjun.yang's avatar guangjun.yang

列表数据有问题

上级 57754977
...@@ -86,10 +86,11 @@ export default { ...@@ -86,10 +86,11 @@ export default {
methods: { methods: {
tabClick(index) { tabClick(index) {
this.cIndex = index; this.cIndex = index;
if(!this.hasClicked[index]) { // if(!this.hasClicked[index]) {
this.hasClicked[index] = true; // this.hasClicked[index] = true;
this.$emit('orgDoctorTabChange', index); // this.$emit('orgDoctorTabChange', index);
} // }
this.$emit('orgDoctorTabChange', index);
} }
} }
}; };
......
...@@ -440,9 +440,6 @@ export default { ...@@ -440,9 +440,6 @@ export default {
// 请求单个机构下的数据(总体概述的数据) // 请求单个机构下的数据(总体概述的数据)
getGeneralPersonal(params) { getGeneralPersonal(params) {
this.orgDoctorTabData.certUserList = [];
this.orgDoctorTabData.noCertUserList = [];
this.orgDoctorTabData.noJoinList = [];
getGeneralPersonal(params).then(res => { getGeneralPersonal(params).then(res => {
if (res.code === "000000") { if (res.code === "000000") {
this.allData = res.data; this.allData = res.data;
...@@ -600,6 +597,9 @@ export default { ...@@ -600,6 +597,9 @@ export default {
} }
if (hospitalIds.length === 1) { if (hospitalIds.length === 1) {
// this.hospitalCnt = 1 // this.hospitalCnt = 1
this.orgDoctorTabData.certUserList = [];
this.orgDoctorTabData.noCertUserList = [];
this.orgDoctorTabData.noJoinList = [];
this.isSingleOrg = true; this.isSingleOrg = true;
this.getGeneralPersonal(this.queryGDParams); this.getGeneralPersonal(this.queryGDParams);
} else { } else {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册