提交 a20e51fa 编写于 作者: zhentian.jia's avatar zhentian.jia

时间段导出问题

上级 2cf33810
...@@ -469,6 +469,8 @@ export default { ...@@ -469,6 +469,8 @@ export default {
vm.organizationNotice = "选择地区筛选到区才能选择机构"; vm.organizationNotice = "选择地区筛选到区才能选择机构";
} }
vm.gethHspitalsCnt()
//添加子节点 //添加子节点
// let node =this.$refs.cascaderRegion.getCheckedNodes()[0]; // let node =this.$refs.cascaderRegion.getCheckedNodes()[0];
if(node.data && node.data.id && node.hasChildren === true && node.loaded === false) { if(node.data && node.data.id && node.hasChildren === true && node.loaded === false) {
...@@ -667,13 +669,13 @@ export default { ...@@ -667,13 +669,13 @@ export default {
req.hospitalIdList = []; req.hospitalIdList = [];
req.hospitalIdList[0] = vm.organizationList[0].value; req.hospitalIdList[0] = vm.organizationList[0].value;
} }
if(req.regionNames == '全部') { // if(req.regionNames == '全部') {
//全部地区 机构只有一个情况 //全部地区 机构只有一个情况
if(vm.hospitalCntList.length == 1) { if(vm.hospitalCntList.length == 1) {
req.hospitalIdList = []; req.hospitalIdList = [];
req.hospitalIdList[0] = vm.hospitalCntList[0].hospitalId; req.hospitalIdList[0] = vm.hospitalCntList[0].hospitalId;
}
} }
// }
openLoading(vm); openLoading(vm);
vm.POST("stats/export/time", req).then(res => { vm.POST("stats/export/time", req).then(res => {
closeLoading(vm); closeLoading(vm);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册