提交 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
VUE_APP_APPID=wxf4e66242d31c81c2
# 本地token
VUE_APP_TOKEN=520A62A63FA043CD90593429C5D12D0D
VUE_APP_TOKEN=208774C74EAC430EB07EF3532B8F942D
# mock的基础地址
VUE_APP_BASE_MOCK_URL=http://192.168.120.69:40001/mock/
......
此差异已折叠。
......@@ -85,6 +85,7 @@ router.beforeEach(async (to, from, next) => {
setCookie('conslToken', params.userToken);
next();
});
// next();
});
router.addRoutes(routerConfig);
......@@ -19,7 +19,13 @@ export const getAreaOrOrgList = async (params) => {
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 {
this.CNTParams.projectId = this.projectId;
this.queryParams.projectId = this.projectId;
this.getUserInfo();
// this.getProjectInfo(this.queryParams);
this.getProjectInfo(this.queryParams);
},
mounted() {
window.addEventListener(
......@@ -687,6 +687,11 @@ export default {
return;
}
this.clearParams();
if(selData.hospitalId) {
console.log('--selData', selData);
this.areaName = selData.hospitalName;
this.queryGDParams.hospitalIdList = [selData.hospitalId];
}
this.queryGDParams.regionId = selData.regionId;
this.CNTParams.regionId = selData.regionId;
this.getHospitalsCNT(this.CNTParams);
......
......@@ -35,7 +35,7 @@ module.exports = {
port: 8080,
proxy: {
'/proxy': {
target: 'https://sc.yunqueyi.com',
target: 'https://uat-sc.yunqueyi.com',
ws: false,
changeOrigin: true,
secure: true,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册