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

机构选择调整等

上级 f9cdaadb
此差异已折叠。
......@@ -11,7 +11,7 @@
</div>
<div class="my-org" v-show="areaList.currentOrgList.length">
<span>我所在机构</span>
<ul>
<ul >
<li
class="list"
v-for="(provinceItem, index) in areaList.currentOrgList"
......@@ -197,7 +197,11 @@ export default {
let hospitalIdList = cQuery.hospitalIdList || "";
this.queryParams.projectId = cQuery.projectId || "";
}
}
},
mounted() {
},
computed: {
...mapGetters({
......@@ -629,7 +633,7 @@ export default {
display: flex;
position: relative;
padding-bottom: 4px;
margin: 0 5px;
margin: 0 7px;
&:after {
content: " ";
position: absolute;
......@@ -650,17 +654,18 @@ export default {
font-size: 15px;
line-height: 35px;
height: 35px;
padding: 0 10px;
padding: 0 8px;
// padding-right: 15px;
box-sizing: border-box;
max-width: 25%;
max-width: 23%;
min-width: 50px;
text-align: left;
color: #676869;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
position: relative;
// flex: 1 0 auto;
&:last-of-type {
padding-right: 15px;
}
......
......@@ -19,8 +19,7 @@
"nuxt": "^2.0.0",
"v-charts": "^1.19.0",
"vant": "^2.2.13",
"web-buried-point": "^2.1.0",
"vconsole": "^3.3.4"
"web-buried-point": "^2.1.0"
},
"devDependencies": {
"@nuxtjs/axios": "^5.5.4",
......
<template>
<section class="container">
<section class="container">
<CommonHeader :title="projectInfo.projectName | shortName"></CommonHeader>
<CommonAreaSelect v-show="!isScroll" @areaClick="areaTabClick" :areaName="areaName" :showArea="isShowArea">
</CommonAreaSelect>
......@@ -86,7 +86,8 @@
<CommonLoading v-show="false"></CommonLoading>
<PopTips :tipsContent="tipsContent" @clickTips="clickTips" v-show="isShowTips"></PopTips>
<Loading v-show="isShowLoading"></Loading>
</section>
</section>
</template>
<script>
......@@ -180,7 +181,7 @@ export default {
},
data() {
return {
isShowLoading: false,
isShowLoading: true,
isScroll: false,
isShowArea: false,
isShowTips: false,
......@@ -364,13 +365,15 @@ export default {
// 查询用户信息和权限
getProjectInfo(params) {
getProjectInfo({
projectId: this.projectId
}).then(res => {
if (res.code === "000000") {
this.projectInfo = res.data;
// getProjectInfo({
// projectId: this.projectId
// }).then(res => {
// if (res.code === "000000") {
// this.projectInfo = res.data;
getAreaOrOrgList(params).then(res => {
if (res.code === "000000") {
this.projectInfo = res.data.doctorInfoRep;
this.queryGDParams.originalFlag = res.data.doctorInfoRep.status == 2 ? 1 : 2;
// 如果直接是5级,则将其进行拆分(区域ID与机构ID)
let regionId = '', orgId = '', firstData = res.data.list[0];
if(firstData.degree == 5) {
......@@ -397,13 +400,14 @@ export default {
this.queryGDParams.hospitalIdList = [];
this.queryGDParams.hospitalIdList.push(orgId);
this.getGeneralPersonal(this.queryGDParams);
this.otherInterface();
} else {
this.getHospitalsCNT(this.CNTParams);
}
}
});
}
});
// }
// });
},
// 异步延迟调用其它Tabs接口(除了数据概述)
......@@ -726,4 +730,5 @@ export default {
padding-top: 94px;
}
}
</style>
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册