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
提交
e8b5419d
提交
e8b5419d
编写于
5月 06, 2019
作者:
tao.wu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
no message
上级
9b7cc8bc
变更
5
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
82 行增加
和
368 行删除
+82
-368
rangeHype.js
src/utils/followup/followupUtils/rangConfig/rangeHype.js
+49
-0
set-time-form.vue
src/views/followup/plan-manage/dialog/set-time-form.vue
+0
-349
hypeDataSourceLifeMode.js
...cord-manage/models/hypertension/hypeDataSourceLifeMode.js
+9
-9
hypeDataSourceMedicationUse.js
...manage/models/hypertension/hypeDataSourceMedicationUse.js
+14
-0
hypertension.vue
...ews/followup/record-manage/patient-scale/hypertension.vue
+10
-10
未找到文件。
src/utils/followup/followupUtils/rangConfig/rangeHype.js
浏览文件 @
e8b5419d
...
...
@@ -36,4 +36,53 @@ export default [
min
:
30
,
max
:
200
},
{
field
:
'smokingAmount'
,
name
:
'本次日吸烟量'
,
min
:
0
,
max
:
99
},
{
field
:
'nextSmokingAmount'
,
name
:
'下次随访日吸烟量'
,
min
:
0
,
max
:
99
},
{
field
:
'alcoholConsumption'
,
name
:
'本次日饮酒量'
,
min
:
0
,
max
:
99
},
{
field
:
'nextAlcoholConsumption'
,
name
:
'下次随访日饮酒量'
,
min
:
0
,
max
:
99
},
{
field
:
'workoutOfWeek'
,
name
:
'本次运动情况'
,
min
:
0
,
max
:
99
},
{
field
:
'workoutDuration'
,
name
:
'本次运动情况'
,
min
:
0
,
max
:
99
},
{
field
:
'nextWorkoutOfWeek'
,
name
:
'下次随访运动情况'
,
min
:
0
,
max
:
99
},
{
field
:
'nextWorkoutDuration'
,
name
:
'下次随访运动情况'
,
min
:
0
,
max
:
99
},
]
src/views/followup/plan-manage/dialog/set-time-form.vue
已删除
100644 → 0
浏览文件 @
9b7cc8bc
此差异已折叠。
点击以展开。
src/views/followup/record-manage/models/hypertension/hypeDataSourceLifeMode.js
浏览文件 @
e8b5419d
...
...
@@ -16,7 +16,7 @@ export default ($this) => {
type
:
'text'
,
labmsg
:
''
,
slots
:
[{
name
:
'支/日'
,
type
:
'append'
}],
rules
:
[{
required
:
true
,
message
:
'请输入日吸烟量'
,
trigger
:
[
'submit'
,
'change'
]
}]
rules
:
[{
required
:
true
,
message
:
'请输入日吸烟量'
,
trigger
:
[
'submit'
,
'change'
]
}
,{
validator
:
checkRange
,
trigger
:
[
'submit'
,
'change'
]
},
]
},
{
formType
:
'input'
,
...
...
@@ -24,14 +24,14 @@ export default ($this) => {
prop
:
'nextSmokingAmount'
,
model
:
'nextSmokingAmount'
,
disabled
:
false
,
label
:
'下次日吸烟量:'
,
label
:
'下次
随访
日吸烟量:'
,
placeholder
:
'请输入下次随访日吸烟量'
,
spanNum
:
6
,
maxlength
:
30
,
type
:
'text'
,
labmsg
:
''
,
slots
:
[{
name
:
'支/日'
,
type
:
'append'
}],
rules
:
[{
required
:
true
,
message
:
'请输入下次随访日吸烟量'
,
trigger
:
[
'submit'
,
'change'
]
}]
rules
:
[{
required
:
true
,
message
:
'请输入下次随访日吸烟量'
,
trigger
:
[
'submit'
,
'change'
]
}
,{
validator
:
checkRange
,
trigger
:
[
'submit'
,
'change'
]
},
]
},
...
...
@@ -48,7 +48,7 @@ export default ($this) => {
type
:
'text'
,
labmsg
:
''
,
slots
:
[{
name
:
'两/日'
,
type
:
'append'
}],
rules
:
[{
required
:
true
,
message
:
'请输入本次日饮酒量'
,
trigger
:
[
'submit'
,
'change'
]
}]
rules
:
[{
required
:
true
,
message
:
'请输入本次日饮酒量'
,
trigger
:
[
'submit'
,
'change'
]
}
,{
validator
:
checkRange
,
trigger
:
[
'submit'
,
'change'
]
},
]
},
{
formType
:
'input'
,
...
...
@@ -63,7 +63,7 @@ export default ($this) => {
type
:
'text'
,
labmsg
:
''
,
slots
:
[{
name
:
'两/日'
,
type
:
'append'
}],
rules
:
[{
required
:
true
,
message
:
'请输入下次随访日饮酒量'
,
trigger
:
[
'submit'
,
'change'
]
}]
rules
:
[{
required
:
true
,
message
:
'请输入下次随访日饮酒量'
,
trigger
:
[
'submit'
,
'change'
]
}
,{
validator
:
checkRange
,
trigger
:
[
'submit'
,
'change'
]
},
]
},
{
...
...
@@ -79,7 +79,7 @@ export default ($this) => {
type
:
'text'
,
labmsg
:
''
,
slots
:
[{
name
:
'次/周'
,
type
:
'append'
}],
rules
:
[{
required
:
true
,
message
:
'请输入本次运动情况'
,
trigger
:
[
'submit'
,
'change'
]
}]
rules
:
[{
required
:
true
,
message
:
'请输入本次运动情况'
,
trigger
:
[
'submit'
,
'change'
]
}
,{
validator
:
checkRange
,
trigger
:
[
'submit'
,
'change'
]
},
]
},
{
formType
:
'input'
,
...
...
@@ -93,7 +93,7 @@ export default ($this) => {
type
:
'text'
,
labmsg
:
''
,
slots
:
[{
name
:
'分钟/次'
,
type
:
'append'
}],
rules
:
[{
required
:
true
,
message
:
'请输入本次运动情况'
,
trigger
:
[
'submit'
,
'change'
]
}]
rules
:
[{
required
:
true
,
message
:
'请输入本次运动情况'
,
trigger
:
[
'submit'
,
'change'
]
}
,{
validator
:
checkRange
,
trigger
:
[
'submit'
,
'change'
]
},
]
},
{
...
...
@@ -109,7 +109,7 @@ export default ($this) => {
type
:
'text'
,
labmsg
:
''
,
slots
:
[{
name
:
'次/周'
,
type
:
'append'
}],
rules
:
[{
required
:
true
,
message
:
'请输入下次随访运动情况'
,
trigger
:
[
'submit'
,
'change'
]
}]
rules
:
[{
required
:
true
,
message
:
'请输入下次随访运动情况'
,
trigger
:
[
'submit'
,
'change'
]
}
,{
validator
:
checkRange
,
trigger
:
[
'submit'
,
'change'
]
},
]
},
{
formType
:
'input'
,
...
...
@@ -123,7 +123,7 @@ export default ($this) => {
type
:
'text'
,
labmsg
:
''
,
slots
:
[{
name
:
'分钟/次'
,
type
:
'append'
}],
rules
:
[{
required
:
true
,
message
:
'请输入下次随访运动情况'
,
trigger
:
[
'submit'
,
'change'
]
}]
rules
:
[{
required
:
true
,
message
:
'请输入下次随访运动情况'
,
trigger
:
[
'submit'
,
'change'
]
}
,{
validator
:
checkRange
,
trigger
:
[
'submit'
,
'change'
]
},
]
},
...
...
src/views/followup/record-manage/models/hypertension/hypeDataSourceMedicationUse.js
浏览文件 @
e8b5419d
...
...
@@ -2,6 +2,20 @@ import { checkRange, checkIsInteger, checkNumberIsToFixed } from '@/utils/follow
export
default
(
$this
)
=>
{
return
[
{
formType
:
'list'
,
className
:
'float-none'
,
arrList
:
[
],
prop
:
'arrList'
,
model
:
'arrList'
,
label
:
''
,
disabled
:
true
,
spanNum
:
12
,
rules
:
[{
required
:
false
,
message
:
''
,
trigger
:
[
'submit'
,
'change'
]}],
clickDeleteFunc
:
()
=>
{
}
},
{
formType
:
'button'
,
className
:
'float-none'
,
...
...
src/views/followup/record-manage/patient-scale/hypertension.vue
浏览文件 @
e8b5419d
...
...
@@ -179,14 +179,14 @@
// 获取量表类型
initScaleType
(){
this
.
addComponentsSourceList
=
[
{
name
:
'hypeDataSourceBaseInfo'
,
formObject
:
{},
showModule
:
true
,
formName
:
'h
ypertension
_001'
,
className
:
'obj-form-title'
,
dataSource
:
hypeDataSourceBaseInfo
(
this
),
hideTitle
:
true
,
title
:
'基本信息'
},
{
name
:
'hypeDataSourceSymptom'
,
formObject
:
{},
showModule
:
true
,
formName
:
'hypertension_00
2
'
,
className
:
'obj-form-title'
,
dataSource
:
hypeDataSourceSymptom
(
this
),
hideTitle
:
false
,
title
:
'症状'
},
{
name
:
'hypeDataSourceSign'
,
formObject
:
{
bmi
:
0
,
nextBmi
:
0
},
showModule
:
true
,
formName
:
'hypertension_00
3
'
,
className
:
'obj-form-title'
,
dataSource
:
hypeDataSourceSign
(
this
),
hideTitle
:
false
,
title
:
'体征'
},
{
name
:
'hypeDataSourceLifeMode'
,
formObject
:
{},
showModule
:
true
,
formName
:
'hypertension_00
4
'
,
className
:
'obj-form-title'
,
dataSource
:
hypeDataSourceLifeMode
(
this
),
hideTitle
:
false
,
title
:
'生活方式指导'
},
{
name
:
'hypeDataSourceHelpChecking'
,
formObject
:
{},
showModule
:
true
,
formName
:
'hypertension_00
5
'
,
className
:
'obj-form-title'
,
dataSource
:
hypeDataSourceHelpChecking
(
this
),
hideTitle
:
false
,
title
:
'辅助检查'
},
{
name
:
'hypeDataSourceMedicationUse'
,
formObject
:
{
},
showModule
:
true
,
formName
:
'hypertension_006
'
,
className
:
'obj-form-title'
,
dataSource
:
hypeDataSourceMedicationUse
(
this
),
hideTitle
:
false
,
title
:
'用药情况'
},
{
name
:
'hypeDataSourceReferral'
,
formObject
:
{
reason
:
''
,
mechanismDepartment
:
''
},
showModule
:
true
,
formName
:
'h
ypertension_007
'
,
className
:
'obj-form-title'
,
dataSource
:
hypeDataSourceReferral
(
this
),
hideTitle
:
false
,
title
:
'转诊'
},
{
name
:
'hypeDataSourceNextFollowDay'
,
formObject
:
{
nextFollowDay
:
''
},
showModule
:
true
,
formName
:
'h
ypertension_008
'
,
className
:
'obj-form-title'
,
dataSource
:
hypeDataSourceNextFollowDay
(
this
),
hideTitle
:
true
,
title
:
'下次随访日期'
},
{
name
:
'hypeDataSourceBaseInfo'
,
formObject
:
{},
showModule
:
true
,
formName
:
'h
_s
_001'
,
className
:
'obj-form-title'
,
dataSource
:
hypeDataSourceBaseInfo
(
this
),
hideTitle
:
true
,
title
:
'基本信息'
},
{
name
:
'hypeDataSourceSymptom'
,
formObject
:
{},
showModule
:
true
,
formName
:
'hypertension_00
1
'
,
className
:
'obj-form-title'
,
dataSource
:
hypeDataSourceSymptom
(
this
),
hideTitle
:
false
,
title
:
'症状'
},
{
name
:
'hypeDataSourceSign'
,
formObject
:
{
bmi
:
0
,
nextBmi
:
0
},
showModule
:
true
,
formName
:
'hypertension_00
2
'
,
className
:
'obj-form-title'
,
dataSource
:
hypeDataSourceSign
(
this
),
hideTitle
:
false
,
title
:
'体征'
},
{
name
:
'hypeDataSourceLifeMode'
,
formObject
:
{},
showModule
:
true
,
formName
:
'hypertension_00
3
'
,
className
:
'obj-form-title'
,
dataSource
:
hypeDataSourceLifeMode
(
this
),
hideTitle
:
false
,
title
:
'生活方式指导'
},
{
name
:
'hypeDataSourceHelpChecking'
,
formObject
:
{},
showModule
:
true
,
formName
:
'hypertension_00
4
'
,
className
:
'obj-form-title'
,
dataSource
:
hypeDataSourceHelpChecking
(
this
),
hideTitle
:
false
,
title
:
'辅助检查'
},
{
name
:
'hypeDataSourceMedicationUse'
,
formObject
:
{
arrList
:
this
.
medication
},
showModule
:
true
,
formName
:
'h_s_002
'
,
className
:
'obj-form-title'
,
dataSource
:
hypeDataSourceMedicationUse
(
this
),
hideTitle
:
false
,
title
:
'用药情况'
},
{
name
:
'hypeDataSourceReferral'
,
formObject
:
{
reason
:
''
,
mechanismDepartment
:
''
},
showModule
:
true
,
formName
:
'h
_s_003
'
,
className
:
'obj-form-title'
,
dataSource
:
hypeDataSourceReferral
(
this
),
hideTitle
:
false
,
title
:
'转诊'
},
{
name
:
'hypeDataSourceNextFollowDay'
,
formObject
:
{
nextFollowDay
:
''
},
showModule
:
true
,
formName
:
'h
_s_004
'
,
className
:
'obj-form-title'
,
dataSource
:
hypeDataSourceNextFollowDay
(
this
),
hideTitle
:
true
,
title
:
'下次随访日期'
},
]
},
// 获取白名单域名
...
...
@@ -282,7 +282,7 @@
// }
this
.
addComponents
[
i
].
formObject
=
this
.
formData
[
formName
];
// if(formName=='h
ypertension
_001'){
// if(formName=='h
_s
_001'){
// this.addComponents[i].formObject.dyslipidemia = []
// }
}
...
...
@@ -336,7 +336,7 @@
this
.
dialogFormVisible
=
val
;
},
setMedication
(
val
){
this
.
medication
.
push
(
val
);
this
.
medication
.
push
(
{...
val
,
type
:
1
}
);
console
.
log
(
'medication=>'
,
this
.
medication
)
}
},
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录