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

列表数据有问题

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