提交 44dcddd4 编写于 作者: 张磊's avatar 张磊

Merge branch 'feature/zl' into 'release-new'

Feature/zl

See merge request !14
...@@ -18,7 +18,7 @@ VUE_APP_IS_LOCAL=true ...@@ -18,7 +18,7 @@ VUE_APP_IS_LOCAL=true
VUE_APP_APPID=wxf4e66242d31c81c2 VUE_APP_APPID=wxf4e66242d31c81c2
# 本地token # 本地token
VUE_APP_TOKEN=520A62A63FA043CD90593429C5D12D0D VUE_APP_TOKEN=208774C74EAC430EB07EF3532B8F942D
# mock的基础地址 # mock的基础地址
VUE_APP_BASE_MOCK_URL=http://192.168.120.69:40001/mock/ VUE_APP_BASE_MOCK_URL=http://192.168.120.69:40001/mock/
......
此差异已折叠。
...@@ -85,6 +85,7 @@ router.beforeEach(async (to, from, next) => { ...@@ -85,6 +85,7 @@ router.beforeEach(async (to, from, next) => {
setCookie('conslToken', params.userToken); setCookie('conslToken', params.userToken);
next(); next();
}); });
// next();
}); });
router.addRoutes(routerConfig); router.addRoutes(routerConfig);
...@@ -19,7 +19,13 @@ export const getAreaOrOrgList = async (params) => { ...@@ -19,7 +19,13 @@ export const getAreaOrOrgList = async (params) => {
url: 'stats/region', url: 'stats/region',
}); });
}; };
export const getAreaOrOrgList2 = async (params) => {
return request({
method: 'get',
withCredentials: true,
url: `hospital/hospitalStats/portal/hospital/deepLowers/${params.projectId}`,
});
};
/** /**
* 获取区域(一般是乡镇)下的机构列表 * 获取区域(一般是乡镇)下的机构列表
*/ */
......
...@@ -422,7 +422,7 @@ export default { ...@@ -422,7 +422,7 @@ export default {
this.CNTParams.projectId = this.projectId; this.CNTParams.projectId = this.projectId;
this.queryParams.projectId = this.projectId; this.queryParams.projectId = this.projectId;
this.getUserInfo(); this.getUserInfo();
// this.getProjectInfo(this.queryParams); this.getProjectInfo(this.queryParams);
}, },
mounted() { mounted() {
window.addEventListener( window.addEventListener(
...@@ -687,6 +687,11 @@ export default { ...@@ -687,6 +687,11 @@ export default {
return; return;
} }
this.clearParams(); this.clearParams();
if(selData.hospitalId) {
console.log('--selData', selData);
this.areaName = selData.hospitalName;
this.queryGDParams.hospitalIdList = [selData.hospitalId];
}
this.queryGDParams.regionId = selData.regionId; this.queryGDParams.regionId = selData.regionId;
this.CNTParams.regionId = selData.regionId; this.CNTParams.regionId = selData.regionId;
this.getHospitalsCNT(this.CNTParams); this.getHospitalsCNT(this.CNTParams);
......
...@@ -35,7 +35,7 @@ module.exports = { ...@@ -35,7 +35,7 @@ module.exports = {
port: 8080, port: 8080,
proxy: { proxy: {
'/proxy': { '/proxy': {
target: 'https://sc.yunqueyi.com', target: 'https://uat-sc.yunqueyi.com',
ws: false, ws: false,
changeOrigin: true, changeOrigin: true,
secure: true, secure: true,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册