Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
abf33f26
提交
abf33f26
编写于
4月 08, 2019
作者:
Yuanzhao.dai
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fixed
上级
09f5fcf6
变更
1
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
4 行增加
和
8 行删除
+4
-8
resident-list.vue
src/views/followup/plan-manage/resident-list.vue
+4
-8
未找到文件。
src/views/followup/plan-manage/resident-list.vue
浏览文件 @
abf33f26
...
@@ -70,7 +70,7 @@
...
@@ -70,7 +70,7 @@
label=
"姓名"
label=
"姓名"
align=
"center"
>
align=
"center"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"goPatientDetail(scope.row.patientId
,scope.row.planId
)"
>
{{
scope
.
row
.
patientName
}}
</el-button>
<el-button
type=
"text"
@
click=
"goPatientDetail(scope.row.patientId)"
>
{{
scope
.
row
.
patientName
}}
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
...
@@ -226,8 +226,8 @@
...
@@ -226,8 +226,8 @@
planId
:
this
.
$route
.
query
.
planId
planId
:
this
.
$route
.
query
.
planId
})
})
},
},
goPatientDetail
(
patientId
,
planId
)
{
//居民详情页
goPatientDetail
(
patientId
)
{
//居民详情页
this
.
$router
.
push
({
path
:
'/followup/plan-manage/resident-detail'
,
query
:
{
patientId
:
patientId
,
planId
:
'1'
}})
this
.
$router
.
push
({
path
:
'/followup/plan-manage/resident-detail'
,
query
:
{
patientId
:
patientId
,
planId
:
this
.
$route
.
query
.
planId
}})
},
},
searchResidentList
()
{
//查询居民列表
searchResidentList
()
{
//查询居民列表
...
@@ -320,15 +320,11 @@
...
@@ -320,15 +320,11 @@
console
.
log
(
selectPatients
)
console
.
log
(
selectPatients
)
let
patientIds
=
[]
let
patientIds
=
[]
let
patientNames
=
[]
let
patientNames
=
[]
/*selectPatients.forEach((item)=>{
patientIds.push(item.patientId)
patientNames.push(item.nickname)
})*/
selectPatients
.
forEach
((
item
)
=>
{
selectPatients
.
forEach
((
item
)
=>
{
if
(
!
this
.
initialPatientIdList
.
includes
(
item
.
patientId
)){
if
(
!
this
.
initialPatientIdList
.
includes
(
item
.
patientId
)){
patientIds
.
push
(
item
.
patientId
)
patientIds
.
push
(
item
.
patientId
)
patientNames
.
push
(
item
.
nickname
)
patientNames
.
push
(
item
.
nickname
)
// this.baseInfo.patientIdList.push(item.patientId); // 页面中数据存储所有选择的人,没有去重
}
}
})
})
this
.
addPatientData
=
{
this
.
addPatientData
=
{
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录