Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
1a96e69e
提交
1a96e69e
编写于
5月 15, 2019
作者:
Yuanzhao.dai
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fixed
上级
eb5401ac
变更
1
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
26 行增加
和
24 行删除
+26
-24
patients-list.vue
src/views/patients/mypatients-manage/patients-list.vue
+26
-24
未找到文件。
src/views/patients/mypatients-manage/patients-list.vue
浏览文件 @
1a96e69e
...
@@ -237,29 +237,31 @@
...
@@ -237,29 +237,31 @@
if
(
data
.
code
==
"000000"
)
{
if
(
data
.
code
==
"000000"
)
{
this
.
patientList
=
data
.
data
.
patientList
;
this
.
patientList
=
data
.
data
.
patientList
;
this
.
pagination
.
totalRows
=
data
.
data
.
totalRows
this
.
pagination
.
totalRows
=
data
.
data
.
totalRows
this
.
patientList
.
forEach
((
item
)
=>
{
if
(
this
.
patientList
)
{
item
.
disableNum
=
1
;
this
.
patientList
.
forEach
((
item
)
=>
{
let
diseaseNames
=
[];
item
.
disableNum
=
1
;
let
groupNames
=
[]
let
diseaseNames
=
[];
//转化分组
let
groupNames
=
[]
if
(
item
.
labelModels
)
{
//转化分组
item
.
labelModels
.
forEach
(
item
=>
{
if
(
item
.
labelModels
)
{
groupNames
.
push
(
item
.
label
)
item
.
labelModels
.
forEach
(
item
=>
{
});
groupNames
.
push
(
item
.
label
)
item
.
showLabelName
=
groupNames
.
join
(
'、'
);
});
}
else
{
item
.
showLabelName
=
groupNames
.
join
(
'、'
);
item
.
showLabelName
=
'-'
;
}
else
{
}
item
.
showLabelName
=
'-'
;
//转化疾病
}
if
(
item
.
patientTypeModels
)
{
//转化疾病
item
.
patientTypeModels
.
forEach
(
item
=>
{
if
(
item
.
patientTypeModels
)
{
diseaseNames
.
push
(
item
.
name
)
item
.
patientTypeModels
.
forEach
(
item
=>
{
})
diseaseNames
.
push
(
item
.
name
)
item
.
showDiseaseNames
=
diseaseNames
.
join
(
'、'
);
})
}
else
{
item
.
showDiseaseNames
=
diseaseNames
.
join
(
'、'
);
item
.
showDiseaseNames
=
'-'
;
}
else
{
}
item
.
showDiseaseNames
=
'-'
;
})
}
})
}
}
}
}).
catch
((
error
)
=>
{
}).
catch
((
error
)
=>
{
...
@@ -267,7 +269,7 @@
...
@@ -267,7 +269,7 @@
message
:
error
,
message
:
error
,
type
:
'error'
type
:
'error'
});
});
})
})
;
},
},
handleSizeChange
(
val
)
{
handleSizeChange
(
val
)
{
this
.
pagination
.
pageSize
=
val
this
.
pagination
.
pageSize
=
val
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录