Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
2fc8bd46
提交
2fc8bd46
编写于
4月 12, 2019
作者:
Yuanzhao.dai
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
疾病&分组展示
上级
4e58f14b
变更
1
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
26 行增加
和
2 行删除
+26
-2
select-patient.vue
src/views/followup/plan-manage/dialog/select-patient.vue
+26
-2
未找到文件。
src/views/followup/plan-manage/dialog/select-patient.vue
浏览文件 @
2fc8bd46
...
@@ -98,13 +98,13 @@
...
@@ -98,13 +98,13 @@
min-width=
"150px"
>
min-width=
"150px"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"
diseaseId
"
prop=
"
showDiseaseNames
"
label=
"基础疾病"
label=
"基础疾病"
align=
"center"
align=
"center"
:show-overflow-tooltip=
"true"
>
:show-overflow-tooltip=
"true"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"
labelId
"
prop=
"
showLabelName
"
label=
"分组"
label=
"分组"
align=
"center"
align=
"center"
:show-overflow-tooltip=
"true"
>
:show-overflow-tooltip=
"true"
>
...
@@ -269,8 +269,32 @@
...
@@ -269,8 +269,32 @@
this
.
paginationSet
.
total
=
res
.
data
.
totalRows
this
.
paginationSet
.
total
=
res
.
data
.
totalRows
// 设置所请求的当页人员是否成为选中状态
// 设置所请求的当页人员是否成为选中状态
// console.log('传入的已选居民',this.patientIdList)
// console.log('传入的已选居民',this.patientIdList)
this
.
patientsData
.
forEach
((
item
)
=>
{
this
.
patientsData
.
forEach
((
item
)
=>
{
item
.
disableNum
=
1
;
item
.
disableNum
=
1
;
let
diseaseNames
=
[];
let
groupNames
=
[]
//转化分组
if
(
item
.
labelModels
)
{
item
.
labelModels
.
forEach
(
item
=>
{
groupNames
.
push
(
item
.
label
)
});
item
.
showLabelName
=
groupNames
.
join
(
'、'
);
}
else
{
item
.
showLabelName
=
'-'
;
}
//转化疾病
if
(
item
.
patientTypeModels
)
{
item
.
patientTypeModels
.
forEach
(
item
=>
{
diseaseNames
.
push
(
item
.
name
)
})
item
.
showDiseaseNames
=
diseaseNames
.
join
(
'、'
);
}
else
{
item
.
showDiseaseNames
=
'-'
;
}
if
(
this
.
patientIdList
.
length
>
0
){
if
(
this
.
patientIdList
.
length
>
0
){
if
(
this
.
patientIdList
.
includes
(
item
.
patientId
)){
// 如果已经选过居民
if
(
this
.
patientIdList
.
includes
(
item
.
patientId
)){
// 如果已经选过居民
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录