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
提交
6fb72ac9
提交
6fb72ac9
编写于
12月 09, 2019
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
解决为值0的情况
上级
fc4bba2f
变更
3
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
21 行增加
和
4 行删除
+21
-4
common-area-select.vue
components/common/common-area-select.vue
+1
-0
pica-process.vue
components/common/pica-process.vue
+6
-2
index.vue
pages/index.vue
+14
-2
未找到文件。
components/common/common-area-select.vue
浏览文件 @
6fb72ac9
...
@@ -40,6 +40,7 @@ export default {
...
@@ -40,6 +40,7 @@ export default {
}),
}),
isNotVisible
()
{
isNotVisible
()
{
if
(
this
.
orgList
.
length
==
0
||
this
.
areaDegree
==
0
||
this
.
areaDegree
==
1
||
this
.
areaDegree
==
2
)
{
if
(
this
.
orgList
.
length
==
0
||
this
.
areaDegree
==
0
||
this
.
areaDegree
==
1
||
this
.
areaDegree
==
2
)
{
// if(this.areaDegree == 0 || this.areaDegree == 1 || this.areaDegree == 2) {
return
true
;
return
true
;
}
else
{
}
else
{
return
false
;
return
false
;
...
...
components/common/pica-process.vue
浏览文件 @
6fb72ac9
...
@@ -59,8 +59,12 @@ export default {
...
@@ -59,8 +59,12 @@ export default {
if
(
this
.
value
&&
this
.
maxValue
>
this
.
value
)
{
if
(
this
.
value
&&
this
.
maxValue
>
this
.
value
)
{
ratio
=
this
.
value
/
this
.
maxValue
;
ratio
=
this
.
value
/
this
.
maxValue
;
}
}
if
(
this
.
value
<=
1
||
this
.
maxValue
<=
1
)
{
this
.
maxPocessWidth
=
'1px'
}
else
{
this
.
maxPocessWidth
=
Math
.
round
(
ratio
*
maxWidth
)
+
'px'
this
.
maxPocessWidth
=
Math
.
round
(
ratio
*
maxWidth
)
+
'px'
}
}
}
},
},
deep
:
true
deep
:
true
}
}
...
...
pages/index.vue
浏览文件 @
6fb72ac9
...
@@ -496,7 +496,15 @@ export default {
...
@@ -496,7 +496,15 @@ export default {
tabClicked
(
index
)
{
tabClicked
(
index
)
{
this
.
cIndex
=
index
;
this
.
cIndex
=
index
;
},
},
// 清空参数
clearParams
()
{
this
.
orgName
=
'全部机构'
;
this
.
queryGDParams
.
hospitalIdList
=
[];
// this.setOrgList([]);
// this.setRegionId
},
areaConfirm
(
selData
)
{
areaConfirm
(
selData
)
{
this
.
clearParams
();
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
);
...
@@ -534,7 +542,10 @@ export default {
...
@@ -534,7 +542,10 @@ export default {
}
}
this
.
isShowOrg
=
false
;
this
.
isShowOrg
=
false
;
this
.
orgName
=
hospitalNames
[
0
]
||
this
.
orgName
this
.
orgName
=
hospitalNames
[
0
]
||
this
.
orgName
console
.
log
(
selData
,
hospitalIds
);
this
.
getGeneralExam
(
this
.
queryGDParams
);
this
.
getUserAnalysis
(
this
.
queryGDParams
);
this
.
getGeneralCourse
(
this
.
queryGDParams
);
this
.
getStudyEffect
(
this
.
queryGDParams
);
},
},
orgCancel
()
{
orgCancel
()
{
this
.
isShowOrg
=
false
;
this
.
isShowOrg
=
false
;
...
@@ -621,7 +632,8 @@ export default {
...
@@ -621,7 +632,8 @@ export default {
setUserToken
:
"setUserToken"
,
setUserToken
:
"setUserToken"
,
setProvinceList
:
"setProvinceList"
,
setProvinceList
:
"setProvinceList"
,
setExamTimesList
:
"setExamTimesList"
,
setExamTimesList
:
"setExamTimesList"
,
setExamScoreList
:
"setExamScoreList"
setExamScoreList
:
"setExamScoreList"
,
setOrgList
:
"setOrgList"
})
})
}
}
};
};
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录