Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
279121aa
提交
279121aa
编写于
6月 03, 2019
作者:
yi.li
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
选择居民、编辑信息、我的居民bug修复
上级
40af792e
变更
3
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
45 行增加
和
12 行删除
+45
-12
select-patitents.vue
src/views/patients/labels-manage/dialog/select-patitents.vue
+30
-8
edit-information.vue
...atients/mypatients-manage/components/edit-information.vue
+14
-3
patients-list.vue
src/views/patients/mypatients-manage/patients-list.vue
+1
-1
未找到文件。
src/views/patients/labels-manage/dialog/select-patitents.vue
浏览文件 @
279121aa
...
@@ -24,6 +24,7 @@
...
@@ -24,6 +24,7 @@
<div>
<div>
<el-form-item
style=
"width: 100px;"
prop=
"sex"
>
<el-form-item
style=
"width: 100px;"
prop=
"sex"
>
<el-select
<el-select
style=
"width: 100px;"
v-model=
"searchData.sex"
v-model=
"searchData.sex"
placeholder=
"请选择性别"
placeholder=
"请选择性别"
clearable
>
clearable
>
...
@@ -42,6 +43,7 @@
...
@@ -42,6 +43,7 @@
collapse-tags
collapse-tags
filterable
filterable
placeholder=
"请选择年龄段"
placeholder=
"请选择年龄段"
style=
"width: 100px;"
clearable
>
clearable
>
<el-option
<el-option
v-for=
"(item,index) in ageOptions"
v-for=
"(item,index) in ageOptions"
...
@@ -51,7 +53,7 @@
...
@@ -51,7 +53,7 @@
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
prop=
"diseaseId"
>
<el-form-item
prop=
"diseaseId"
style=
"width: 150px;"
>
<el-select
<el-select
v-model=
"searchData.diseaseId"
v-model=
"searchData.diseaseId"
multiple
multiple
...
@@ -67,7 +69,7 @@
...
@@ -67,7 +69,7 @@
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
prop=
"labelId"
>
<el-form-item
prop=
"labelId"
style=
"width: 150px;"
>
<el-select
<el-select
v-model=
"searchData.labelId"
v-model=
"searchData.labelId"
multiple
multiple
...
@@ -84,7 +86,7 @@
...
@@ -84,7 +86,7 @@
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
prop=
"fuPlanIdList"
v-if=
"selectPatientType == 1"
>
<el-form-item
prop=
"fuPlanIdList"
v-if=
"selectPatientType == 1"
style=
"width: 150px;"
>
<el-select
<el-select
v-model=
"searchData.fuPlanIdList"
v-model=
"searchData.fuPlanIdList"
multiple
multiple
...
@@ -101,7 +103,7 @@
...
@@ -101,7 +103,7 @@
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
prop=
"searchCondition"
>
<el-form-item
prop=
"searchCondition"
style=
"width:150px;"
>
<el-input
<el-input
v-model=
"searchData.searchCondition"
v-model=
"searchData.searchCondition"
placeholder=
"请输入姓名,手机号,身份证"
placeholder=
"请输入姓名,手机号,身份证"
...
@@ -162,7 +164,7 @@
...
@@ -162,7 +164,7 @@
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"showDiseaseNames"
prop=
"showDiseaseNames"
label=
"
基础疾病
"
label=
"
诊断
"
align=
"center"
align=
"center"
width=
"180"
width=
"180"
:show-overflow-tooltip=
"true"
>
:show-overflow-tooltip=
"true"
>
...
@@ -204,6 +206,18 @@
...
@@ -204,6 +206,18 @@
<el-button
type=
"primary"
size=
"small"
@
click=
"sureClick"
>
确 定
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"sureClick"
>
确 定
</el-button>
</div>
</div>
</el-dialog>
</el-dialog>
<el-dialog
class=
"reload-label-modal"
:visible
.
sync=
"showReloadModal"
width=
"320px"
:show-close=
"false"
:close-on-click-modal=
"false"
center
>
<p
class=
"tips"
>
您刚才跳转到新增居民页面进行新增居民,请点击下方按钮刷新数据
</p>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"handleReload"
>
重新加载
</el-button>
</span>
</el-dialog>
</div>
</div>
</
template
>
</
template
>
...
@@ -251,6 +265,7 @@
...
@@ -251,6 +265,7 @@
fuPlanOptions
:
[],
fuPlanOptions
:
[],
newSelects
:
[],
//新选中的人
newSelects
:
[],
//新选中的人
oldPatientList
:
[],
oldPatientList
:
[],
showReloadModal
:
false
,
getRowKeys
(
row
)
{
getRowKeys
(
row
)
{
return
row
.
patientId
;
return
row
.
patientId
;
},
},
...
@@ -444,9 +459,16 @@
...
@@ -444,9 +459,16 @@
this
.
getPatientsList
();
this
.
getPatientsList
();
},
},
goAddPatient
()
{
goAddPatient
()
{
this
.
$router
.
push
({
// this.$router.push({
path
:
'/patients-manage/new-manage/new-patient'
// path: '/patients-manage/new-manage/new-patient'
})
// })
let
routeData
=
this
.
$router
.
resolve
({
path
:
'/patients-manage/new-manage/new-patient'
});
window
.
open
(
routeData
.
href
,
'_blank'
);
this
.
showReloadModal
=
true
;
},
handleReload
()
{
this
.
getPatientsList
();
this
.
showReloadModal
=
false
;
},
},
ageDate
(
val
){
ageDate
(
val
){
let
ageObj
;
let
ageObj
;
...
...
src/views/patients/mypatients-manage/components/edit-information.vue
浏览文件 @
279121aa
...
@@ -41,6 +41,7 @@
...
@@ -41,6 +41,7 @@
v-model=
"diseaseIdList"
v-model=
"diseaseIdList"
multiple
multiple
@
change=
"changeDiseases"
@
change=
"changeDiseases"
:popper-append-to-body=
"false"
placeholder=
"请选择居民疾病诊断"
>
placeholder=
"请选择居民疾病诊断"
>
<el-option
<el-option
v-for=
"(item, index) in diseasesList"
v-for=
"(item, index) in diseasesList"
...
@@ -57,6 +58,7 @@
...
@@ -57,6 +58,7 @@
v-model=
"labelIdList"
v-model=
"labelIdList"
multiple
multiple
@
change=
"changeLabels"
@
change=
"changeLabels"
:popper-append-to-body=
"false"
placeholder=
"请选择居民分组"
>
placeholder=
"请选择居民分组"
>
<el-option
<el-option
v-for=
"(item, index) in labelsList"
v-for=
"(item, index) in labelsList"
...
@@ -92,6 +94,7 @@
...
@@ -92,6 +94,7 @@
value=
"yyyy-MM-dd"
value=
"yyyy-MM-dd"
@
change=
"getAge"
@
change=
"getAge"
:picker-options=
"setPickerOption"
:picker-options=
"setPickerOption"
:editable=
"false"
style=
"width:250px"
style=
"width:250px"
clearable
>
clearable
>
</el-date-picker>
</el-date-picker>
...
@@ -119,6 +122,7 @@
...
@@ -119,6 +122,7 @@
<
el
-
select
<
el
-
select
v
-
model
=
"patientInfoForm.permanentResidence"
v
-
model
=
"patientInfoForm.permanentResidence"
placeholder
=
"请选择居民常驻类型"
placeholder
=
"请选择居民常驻类型"
:
popper
-
append
-
to
-
body
=
"false"
clearable
>
clearable
>
<
el
-
option
<
el
-
option
v
-
for
=
"(item, index) in residenceList"
v
-
for
=
"(item, index) in residenceList"
...
@@ -134,6 +138,7 @@
...
@@ -134,6 +138,7 @@
<
el
-
select
<
el
-
select
v
-
model
=
"patientInfoForm.nationality"
v
-
model
=
"patientInfoForm.nationality"
placeholder
=
"请选择民族"
placeholder
=
"请选择民族"
:
popper
-
append
-
to
-
body
=
"false"
clearable
>
clearable
>
<
el
-
option
<
el
-
option
v
-
for
=
"(item, index) in nationsList"
v
-
for
=
"(item, index) in nationsList"
...
@@ -300,7 +305,7 @@
...
@@ -300,7 +305,7 @@
customLabels
:
[],
customLabels
:
[],
idNo
:
''
,
idNo
:
''
,
birthTime
:
''
,
birthTime
:
''
,
age
:
''
,
age
:
null
,
sex
:
null
,
sex
:
null
,
permanentResidence
:
''
,
permanentResidence
:
''
,
nationality
:
''
,
nationality
:
''
,
...
@@ -415,6 +420,9 @@
...
@@ -415,6 +420,9 @@
this
.
initForm
();
this
.
initForm
();
}
}
}
,
}
,
// 'patientInfoForm.age'(val)
{
// console.log('年龄',val)
//
}
,
checkForm
(
val
){
checkForm
(
val
){
if
(
val
){
// 触发校验
if
(
val
){
// 触发校验
this
.
saveInfoData
();
this
.
saveInfoData
();
...
@@ -451,7 +459,7 @@
...
@@ -451,7 +459,7 @@
customLabels
:
[],
customLabels
:
[],
idNo
:
''
,
idNo
:
''
,
birthTime
:
''
,
birthTime
:
''
,
age
:
''
,
age
:
null
,
sex
:
null
,
sex
:
null
,
permanentResidence
:
''
,
permanentResidence
:
''
,
nationality
:
''
,
nationality
:
''
,
...
@@ -477,7 +485,7 @@
...
@@ -477,7 +485,7 @@
}
}
}
);
}
);
getLabelList
({
getLabelList
({
type
:
1
,
type
:
2
,
token
:
this
.
_token
,
token
:
this
.
_token
,
}
).
then
((
data
)
=>
{
}
).
then
((
data
)
=>
{
if
(
data
.
code
==
'000000'
)
{
if
(
data
.
code
==
'000000'
)
{
...
@@ -753,6 +761,9 @@
...
@@ -753,6 +761,9 @@
}
}
<
/script
>
<
/script
>
<
style
lang
=
"scss"
>
<
style
lang
=
"scss"
>
.
screenSet
{
overflow
:
visible
!
important
;
}
.
el
-
input
{
.
el
-
input
{
width
:
250
px
;
width
:
250
px
;
}
}
...
...
src/views/patients/mypatients-manage/patients-list.vue
浏览文件 @
279121aa
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
:curmbSecond=
"curmbSecond"
>
:curmbSecond=
"curmbSecond"
>
</bread-crumb>
</bread-crumb>
<section
class=
"not-complete-content screenSet"
>
<section
class=
"not-complete-content screenSet"
>
<h1
class=
"page-title"
>
我的居民:共
{{
pagination
.
totalRows
}}
人
</h1>
<h1
class=
"page-title"
>
我的居民:共
{{
pagination
.
totalRows
?
pagination
.
totalRows
:
0
}}
人
</h1>
<div
class=
"search-div"
>
<div
class=
"search-div"
>
<div
class=
"search-input"
>
<div
class=
"search-input"
>
<el-form
:model=
"searchData"
ref=
"searchData"
:inline=
"true"
label-width=
"100px"
>
<el-form
:model=
"searchData"
ref=
"searchData"
:inline=
"true"
label-width=
"100px"
>
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录