Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
4f5afc8e
提交
4f5afc8e
编写于
5月 23, 2019
作者:
yi.li
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
细节调整
上级
1cc69212
变更
2
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
6 行增加
和
7 行删除
+6
-7
select-patitents.vue
src/views/patients/labels-manage/dialog/select-patitents.vue
+3
-1
edit-information.vue
...atients/mypatients-manage/components/edit-information.vue
+3
-6
未找到文件。
src/views/patients/labels-manage/dialog/select-patitents.vue
浏览文件 @
4f5afc8e
...
@@ -298,11 +298,13 @@
...
@@ -298,11 +298,13 @@
item
.
disableNum
=
1
;
item
.
disableNum
=
1
;
let
diseaseNames
=
[];
let
diseaseNames
=
[];
let
groupNames
=
[]
let
groupNames
=
[]
if
(
!
item
.
idNo
)
{
item
.
idNo
=
'-'
;
}
//转化分组
//转化分组
if
(
item
.
labelModels
)
{
if
(
item
.
labelModels
)
{
item
.
labelModels
.
forEach
(
item
=>
{
item
.
labelModels
.
forEach
(
item
=>
{
groupNames
.
push
(
item
.
label
)
groupNames
.
push
(
item
.
label
)
});
});
item
.
showLabelName
=
groupNames
.
join
(
'、'
);
item
.
showLabelName
=
groupNames
.
join
(
'、'
);
}
else
{
}
else
{
...
...
src/views/patients/mypatients-manage/components/edit-information.vue
浏览文件 @
4f5afc8e
...
@@ -332,9 +332,8 @@
...
@@ -332,9 +332,8 @@
patientId
:
String
,
patientId
:
String
,
}
,
}
,
watch
:
{
watch
:
{
// const obj = await searchObj(id).then(res => res);
async
patientInfoObj
(
val
)
{
async
patientInfoObj
(
val
)
{
if
(
this
.
patientId
){
if
(
this
.
patientId
){
//编辑居民信息,对拿到的数据做处理
this
.
patientInfoForm
=
val
;
this
.
patientInfoForm
=
val
;
this
.
baseInfoEdit
=
this
.
patientInfoForm
.
baseInfoEdit
;
this
.
baseInfoEdit
=
this
.
patientInfoForm
.
baseInfoEdit
;
let
customLabels
=
this
.
patientInfoForm
.
customLabels
;
let
customLabels
=
this
.
patientInfoForm
.
customLabels
;
...
@@ -358,13 +357,12 @@
...
@@ -358,13 +357,12 @@
}
else
{
}
else
{
this
.
hasIdNo
=
false
;
this
.
hasIdNo
=
false
;
}
}
//对地区数据做处理
//对地区数据做
回显
处理
if
(
this
.
patientInfoForm
.
patientAddress
)
{
if
(
this
.
patientInfoForm
.
patientAddress
)
{
let
provinceId
=
this
.
patientInfoForm
.
provinceId
;
let
provinceId
=
this
.
patientInfoForm
.
provinceId
;
let
cityId
=
this
.
patientInfoForm
.
cityId
;
let
cityId
=
this
.
patientInfoForm
.
cityId
;
let
countyId
=
this
.
patientInfoForm
.
countyId
;
let
countyId
=
this
.
patientInfoForm
.
countyId
;
let
townId
=
this
.
patientInfoForm
.
townId
;
let
townId
=
this
.
patientInfoForm
.
townId
;
await
this
.
getCity
(
provinceId
);
await
this
.
getCity
(
provinceId
);
await
this
.
getCounty
(
provinceId
,
cityId
);
await
this
.
getCounty
(
provinceId
,
cityId
);
await
this
.
getTown
(
provinceId
,
cityId
,
countyId
);
await
this
.
getTown
(
provinceId
,
cityId
,
countyId
);
...
@@ -373,8 +371,7 @@
...
@@ -373,8 +371,7 @@
}
else
{
}
else
{
this
.
addressList
=
[];
this
.
addressList
=
[];
}
}
}
else
{
}
else
{
// 新增
// 新增
this
.
patientInfoForm
=
{
this
.
patientInfoForm
=
{
nickname
:
''
,
nickname
:
''
,
mobilePhone
:
''
,
mobilePhone
:
''
,
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录