Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-learning-report
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.education.frontend
pica-learning-report
提交
44dcddd4
提交
44dcddd4
编写于
5月 12, 2023
作者:
张磊
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'feature/zl' into 'release-new'
Feature/zl See merge request
!14
上级
72d1aa38
80cd7ab9
变更
7
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
236 行增加
和
181 行删除
+236
-181
.env.development.local
.env.development.local
+1
-1
package.json
package.json
+3
-3
pica-area.vue
src/components/common/pica-area.vue
+217
-174
index.js
src/router/index.js
+1
-0
index.js
src/service/index.js
+7
-1
index.vue
src/views/index.vue
+6
-1
vue.config.js
vue.config.js
+1
-1
未找到文件。
.env.development.local
浏览文件 @
44dcddd4
...
@@ -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=
520A62A63FA043CD90593429C5D12D0
D
VUE_APP_TOKEN=
208774C74EAC430EB07EF3532B8F942
D
# 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/
...
...
package.json
浏览文件 @
44dcddd4
...
@@ -53,8 +53,8 @@
...
@@ -53,8 +53,8 @@
"
@babel/plugin-proposal-object-rest-spread
"
:
"
^7.11.0
"
,
"
@babel/plugin-proposal-object-rest-spread
"
:
"
^7.11.0
"
,
"
@pica-cli/pica-cli-framework
"
:
"
^1.0.11
"
,
"
@pica-cli/pica-cli-framework
"
:
"
^1.0.11
"
,
"
@pica-cli/vue-cli-plugin-pica-cli-plugin
"
:
"
~1.1.52
"
,
"
@pica-cli/vue-cli-plugin-pica-cli-plugin
"
:
"
~1.1.52
"
,
"
@pica-core/multiple-versions-plugin
"
:
"
^1.0.1
2
"
,
"
@pica-core/multiple-versions-plugin
"
:
"
^1.0.1
6
"
,
"
@pica-core/reset-pathfile-plugin
"
:
"
^1.0.1
3
"
,
"
@pica-core/reset-pathfile-plugin
"
:
"
^1.0.1
6
"
,
"
@pica-core/web-buried-point
"
:
"
^1.0.20
"
,
"
@pica-core/web-buried-point
"
:
"
^1.0.20
"
,
"
@pica-kit/page-model
"
:
"
^1.0.10
"
,
"
@pica-kit/page-model
"
:
"
^1.0.10
"
,
"
@vue/cli-plugin-babel
"
:
"
~4.5.0
"
,
"
@vue/cli-plugin-babel
"
:
"
~4.5.0
"
,
...
@@ -79,7 +79,7 @@
...
@@ -79,7 +79,7 @@
"
prettier
"
:
"
^2.3.2
"
,
"
prettier
"
:
"
^2.3.2
"
,
"
prettier-eslint-cli
"
:
"
^5.0.1
"
,
"
prettier-eslint-cli
"
:
"
^5.0.1
"
,
"
puppeteer
"
:
"
^10.1.0
"
,
"
puppeteer
"
:
"
^10.1.0
"
,
"
sass
"
:
"
^
1.26.3
"
,
"
sass
"
:
"
1.26.3
"
,
"
sass-loader
"
:
"
^8.0.2
"
,
"
sass-loader
"
:
"
^8.0.2
"
,
"
vue-skeleton-webpack-plugin
"
:
"
^1.2.2
"
,
"
vue-skeleton-webpack-plugin
"
:
"
^1.2.2
"
,
"
vue-template-compiler
"
:
"
^2.6.11
"
,
"
vue-template-compiler
"
:
"
^2.6.11
"
,
...
...
src/components/common/pica-area.vue
浏览文件 @
44dcddd4
此差异已折叠。
点击以展开。
src/router/index.js
浏览文件 @
44dcddd4
...
@@ -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
);
src/service/index.js
浏览文件 @
44dcddd4
...
@@ -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
}
`
,
});
};
/**
/**
* 获取区域(一般是乡镇)下的机构列表
* 获取区域(一般是乡镇)下的机构列表
*/
*/
...
...
src/views/index.vue
浏览文件 @
44dcddd4
...
@@ -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
);
...
...
vue.config.js
浏览文件 @
44dcddd4
...
@@ -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
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录