Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
提交
议题看板
打开侧边栏
jingqi.liu
pica.cloud.web-education-admin
提交
c6159bae
提交
c6159bae
编写于
5月 27, 2019
作者:
yi.li
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
我的居民列表样式优化11
上级
45154812
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
22 行增加
和
7 行删除
+22
-7
edit-information.vue
...atients/mypatients-manage/components/edit-information.vue
+16
-4
patient-detail.vue
src/views/patients/mypatients-manage/patient-detail.vue
+2
-2
new-patient.vue
src/views/patients/new-manage/new-patient.vue
+4
-1
未找到文件。
src/views/patients/mypatients-manage/components/edit-information.vue
浏览文件 @
c6159bae
...
...
@@ -369,9 +369,15 @@
let
cityId
=
this
.
patientInfoForm
.
cityId
;
let
countyId
=
this
.
patientInfoForm
.
countyId
;
let
townId
=
this
.
patientInfoForm
.
townId
;
await
this
.
getCity
(
provinceId
);
await
this
.
getCounty
(
provinceId
,
cityId
);
await
this
.
getTown
(
provinceId
,
cityId
,
countyId
);
if
(
provinceId
)
{
await
this
.
getCity
(
provinceId
);
}
if
(
cityId
)
{
await
this
.
getCounty
(
provinceId
,
cityId
);
}
if
(
countyId
)
{
await
this
.
getTown
(
provinceId
,
cityId
,
countyId
);
}
this
.
addressList
=
[
Number
(
provinceId
),
Number
(
cityId
),
Number
(
countyId
),
Number
(
townId
)];
this
.
$forceUpdate
();
}
else
{
...
...
@@ -537,7 +543,13 @@
this
.
patientInfoForm
.
townName
=
item
.
townName
;
}
}
)
this
.
patientInfoForm
.
patientAddress
=
`${this.patientInfoForm.provinceName
}
${this.patientInfoForm.cityName
}
${this.patientInfoForm.countyName
}
${this.patientInfoForm.townName
}
`
if
(
this
.
patientInfoForm
.
provinceName
&&
this
.
patientInfoForm
.
cityName
&&
this
.
patientInfoForm
.
countyName
&&
this
.
patientInfoForm
.
townName
)
{
this
.
patientInfoForm
.
patientAddress
=
`${this.patientInfoForm.provinceName
}
${this.patientInfoForm.cityName
}
${this.patientInfoForm.countyName
}
${this.patientInfoForm.townName
}
`
}
else
{
this
.
patientInfoForm
.
patientAddress
=
''
;
// this.$message.warning('请选择正确的地区')
// return ;
}
}
if
(
!
this
.
patientInfoForm
.
idNo
)
{
this
.
patientInfoForm
.
idNo
=
null
;
...
...
src/views/patients/mypatients-manage/patient-detail.vue
浏览文件 @
c6159bae
...
...
@@ -100,8 +100,8 @@
<
div
class
=
"list-visit"
>
<
span
class
=
"left-label"
>
随访量表:
<
/span
>
<
div
class
=
"right-item"
>
<
p
v
-
for
=
"(item2, index2) in item.scaleSimpleDtos"
:
key
=
"index2"
>
{{
item2
.
name
}}
<
!--
<
span
class
=
"check-btn"
@
click
=
"openScaleDetail(item2.url)"
>
查看量表
<
/span>--
>
<
p
v
-
for
=
"(item2, index2) in item.scaleSimpleDtos"
:
key
=
"index2"
v
-
if
=
"item.scaleSimpleDtos"
>
{{
item2
.
name
}}
<
span
class
=
"check-btn"
@
click
=
"openScaleDetail(item2.url)"
>
查看量表
<
/span
>
<
/p
>
<
/div
>
<
/div
>
...
...
src/views/patients/new-manage/new-patient.vue
浏览文件 @
c6159bae
...
...
@@ -71,12 +71,15 @@
this
.
checkForm
=
false
;
if
(
val
.
status
)
{
// this.patientInfo = val.patientInfoForm
console
.
log
(
'填写内容'
,
val
.
patientInfoForm
);
//
console.log('填写内容',val.patientInfoForm);
savePatientInfo
(
val
.
patientInfoForm
).
then
(
data
=>
{
if
(
data
.
code
==
'000000'
){
this
.
$message
.
success
(
'新增成功'
)
setTimeout
(()
=>
{
this
.
$refs
.
newForm
.
$refs
.
patientInfoForm
.
resetFields
()
this
.
$refs
.
newForm
.
diseaseIdList
=
[];
this
.
$refs
.
newForm
.
labelIdList
=
[];
this
.
$refs
.
newForm
.
addressList
=
[];
// this.$router.go(0);//体验不好
},
500
)
}
else
{
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录