Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
c4ded963
提交
c4ded963
编写于
4月 28, 2019
作者:
tao.wu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
no message
上级
755d5da0
变更
10
显示空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
359 行增加
和
49 行删除
+359
-49
checkField.js
src/utils/followup/followupUtils/checkField.js
+1
-1
plan-modify.vue
src/views/followup/plan-manage/plan-modify.vue
+13
-4
form-template.vue
src/views/followup/record-manage/form-template.vue
+8
-7
hypeDataSourceHelpChecking.js
...-manage/models/hypertension/hypeDataSourceHelpChecking.js
+63
-0
hypeDataSourceLifeMode.js
...cord-manage/models/hypertension/hypeDataSourceLifeMode.js
+63
-0
hypeDataSourceMedicationUse.js
...manage/models/hypertension/hypeDataSourceMedicationUse.js
+63
-0
hypeDataSourceSign.js
...p/record-manage/models/hypertension/hypeDataSourceSign.js
+63
-0
hypeDataSourceSymptom.js
...ecord-manage/models/hypertension/hypeDataSourceSymptom.js
+33
-0
hypertension.vue
...ews/followup/record-manage/patient-scale/hypertension.vue
+0
-13
scale.vue
src/views/followup/record-manage/patient-scale/scale.vue
+52
-24
未找到文件。
src/utils/followup/followupUtils/checkField.js
浏览文件 @
c4ded963
...
@@ -28,7 +28,7 @@ export const checkRange = (rule, value, callback) => {
...
@@ -28,7 +28,7 @@ export const checkRange = (rule, value, callback) => {
// 校验手机号
// 校验手机号
export
const
checkMobile
=
(
rule
,
value
,
callback
)
=>
{
export
const
checkMobile
=
(
rule
,
value
,
callback
)
=>
{
var
reg
=
/^1
[
3|4|5|7|8
][
0-9
]{9}
$/
;
//验证规则
var
reg
=
/^1
[
3|4|5|7|8
|9
][
0-9
]{9}
$/
;
//验证规则
const
flag
=
reg
.
test
(
value
);
const
flag
=
reg
.
test
(
value
);
if
(
flag
){
if
(
flag
){
callback
()
callback
()
...
...
src/views/followup/plan-manage/plan-modify.vue
浏览文件 @
c4ded963
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
</div>
</div>
<div
class=
"plan-btns-group"
>
<div
class=
"plan-btns-group"
>
<el-button
class=
"button-white"
plain
@
click=
"cancelEdit"
size=
"small"
>
取 消
</el-button>
<el-button
class=
"button-white"
plain
@
click=
"cancelEdit"
size=
"small"
>
取 消
</el-button>
<el-button
class=
"button-green"
type=
"primary"
@
click=
"saveModify"
size=
"small"
>
保 存
</el-button>
<el-button
class=
"button-green"
type=
"primary"
@
click=
"saveModify
('baseInfo')
"
size=
"small"
>
保 存
</el-button>
</div>
</div>
</div>
</div>
<el-form
ref=
"baseInfo"
:model=
"planDetailData"
:rules=
"rules"
label-suffix=
":"
label-width=
"140px"
>
<el-form
ref=
"baseInfo"
:model=
"planDetailData"
:rules=
"rules"
label-suffix=
":"
label-width=
"140px"
>
...
@@ -241,9 +241,18 @@
...
@@ -241,9 +241,18 @@
this
.
$router
.
back
(
-
1
)
this
.
$router
.
back
(
-
1
)
});
});
},
},
saveModify
()
{
saveModify
(
formName
)
{
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
if
(
valid
){
// 点击保存,先进行校验,表单字段是否通过验证
// 点击保存,先进行校验,表单字段是否通过验证
this
.
checkForm
=
true
this
.
checkForm
=
true
}
else
{
this
.
$message
({
message
:
'请填写完整表单'
,
type
:
'error'
});
}
});
},
},
// 监听保存校验结果
// 监听保存校验结果
addListenSave
(
val
){
addListenSave
(
val
){
...
...
src/views/followup/record-manage/form-template.vue
浏览文件 @
c4ded963
...
@@ -27,8 +27,7 @@
...
@@ -27,8 +27,7 @@
<!--模板页面除了显示居民基本信息,将病种展示作为组件引入-->
<!--模板页面除了显示居民基本信息,将病种展示作为组件引入-->
<div
class=
"form-container"
>
<div
class=
"form-container"
>
<!--脑卒中-->
<scale
:showBtn=
"showBtn"
:scaleType=
"scaleNo"
:checkStart=
"checkStart"
@
checkEnd=
"checkEnd"
:saveWay=
"saveWay"
/>
<stroke
v-if=
"resourceId=='SCALE0003'"
:showBtn=
"showBtn"
:checkStart=
"checkStart"
@
checkEnd=
"checkEnd"
:saveWay=
"saveWay"
/>
</div>
</div>
...
@@ -42,7 +41,7 @@
...
@@ -42,7 +41,7 @@
// 糖尿病
// 糖尿病
import
s
troke
from
'./patient-scale/strok
e'
import
s
cale
from
'./patient-scale/scal
e'
export
default
{
export
default
{
data
(){
data
(){
return
{
return
{
...
@@ -50,12 +49,13 @@
...
@@ -50,12 +49,13 @@
jumPathThird
:
'/followup/record-manage/record-list'
,
jumPathThird
:
'/followup/record-manage/record-list'
,
checkStart
:
false
,
checkStart
:
false
,
showBtn
:
'1'
,
showBtn
:
'1'
,
resourceId
:
''
,
//
resourceId: '',
saveWay
:
1
,
saveWay
:
1
,
scaleNo
:
''
}
}
},
},
components
:
{
components
:
{
s
trok
e
,
s
cal
e
,
BreadCrumb
,
BreadCrumb
,
},
},
methods
:
{
methods
:
{
...
@@ -68,8 +68,9 @@
...
@@ -68,8 +68,9 @@
}
}
},
},
created
(){
created
(){
this
.
resourceId
=
this
.
$route
.
query
.
resourceId
;
this
.
scaleNo
=
this
.
$route
.
query
.
scaleNo
;
this
.
resourceId
=
'SCALE0003'
console
.
log
(
this
.
scaleNo
)
// this.resourceId = 'SCALE0003'
if
(
this
.
$route
.
query
.
showBtn
==
'0'
){
if
(
this
.
$route
.
query
.
showBtn
==
'0'
){
this
.
showBtn
=
String
(
this
.
$route
.
query
.
showBtn
);
this
.
showBtn
=
String
(
this
.
$route
.
query
.
showBtn
);
}
}
...
...
src/views/followup/record-manage/models/hypertension/hypeDataSourceHelpChecking.js
0 → 100644
浏览文件 @
c4ded963
import
{
checkMobile
}
from
'@/utils/followup/followupUtils/checkField'
;
export
default
(
$this
)
=>
{
return
[
{
formType
:
'input'
,
className
:
'float-none'
,
prop
:
'followUpOrgName'
,
model
:
'followUpOrgName'
,
label
:
'随访单位名称:'
,
disabled
:
false
,
placeholder
:
'请输入随访单位名称'
,
spanNum
:
12
,
maxlength
:
30
,
type
:
'text'
,
labmsg
:
'次'
,
rules
:
[{
required
:
true
,
message
:
'请输入随访单位名称'
,
trigger
:
[
'submit'
,
'change'
]}],
},
{
formType
:
'input'
,
className
:
'float-none'
,
prop
:
'followUpUser'
,
model
:
'followUpUser'
,
label
:
'随访人员姓名:'
,
disabled
:
false
,
placeholder
:
'请输入随访人员姓名'
,
spanNum
:
12
,
maxlength
:
30
,
type
:
'text'
,
labmsg
:
'次'
,
rules
:
[{
required
:
true
,
message
:
'请输入随访人员姓名'
,
trigger
:
[
'submit'
,
'change'
]}],
},
{
formType
:
'input'
,
className
:
'float-none'
,
prop
:
'followUpMobile'
,
model
:
'followUpMobile'
,
label
:
'随访人员联系电话:'
,
disabled
:
false
,
placeholder
:
'请输入随访人员联系电话'
,
spanNum
:
12
,
maxlength
:
11
,
type
:
'tel'
,
labmsg
:
'次'
,
rules
:
[{
required
:
true
,
message
:
'请输入随访人员联系电话'
,
trigger
:
[
'submit'
,
'change'
]},{
validator
:
checkMobile
,
trigger
:
[
'submit'
,
'change'
]
}],
},
{
formType
:
'date-picker'
,
className
:
'float-none'
,
prop
:
'surveyTime'
,
model
:
'surveyTime'
,
placeholder
:
'请选择'
,
label
:
'本次调查时间:'
,
format
:
'yyyy-MM-dd'
,
valueFormat
:
'yyyy-MM-dd'
,
dateType
:
'date'
,
type
:
'date'
,
rules
:
[{
required
:
true
,
message
:
'请选择本次调查时间'
,
trigger
:
[
'submit'
,
'change'
]}],
spanNum
:
12
,
},
]
}
src/views/followup/record-manage/models/hypertension/hypeDataSourceLifeMode.js
0 → 100644
浏览文件 @
c4ded963
import
{
checkMobile
}
from
'@/utils/followup/followupUtils/checkField'
;
export
default
(
$this
)
=>
{
return
[
{
formType
:
'input'
,
className
:
'float-none'
,
prop
:
'followUpOrgName'
,
model
:
'followUpOrgName'
,
label
:
'随访单位名称:'
,
disabled
:
false
,
placeholder
:
'请输入随访单位名称'
,
spanNum
:
12
,
maxlength
:
30
,
type
:
'text'
,
labmsg
:
'次'
,
rules
:
[{
required
:
true
,
message
:
'请输入随访单位名称'
,
trigger
:
[
'submit'
,
'change'
]}],
},
{
formType
:
'input'
,
className
:
'float-none'
,
prop
:
'followUpUser'
,
model
:
'followUpUser'
,
label
:
'随访人员姓名:'
,
disabled
:
false
,
placeholder
:
'请输入随访人员姓名'
,
spanNum
:
12
,
maxlength
:
30
,
type
:
'text'
,
labmsg
:
'次'
,
rules
:
[{
required
:
true
,
message
:
'请输入随访人员姓名'
,
trigger
:
[
'submit'
,
'change'
]}],
},
{
formType
:
'input'
,
className
:
'float-none'
,
prop
:
'followUpMobile'
,
model
:
'followUpMobile'
,
label
:
'随访人员联系电话:'
,
disabled
:
false
,
placeholder
:
'请输入随访人员联系电话'
,
spanNum
:
12
,
maxlength
:
11
,
type
:
'tel'
,
labmsg
:
'次'
,
rules
:
[{
required
:
true
,
message
:
'请输入随访人员联系电话'
,
trigger
:
[
'submit'
,
'change'
]},{
validator
:
checkMobile
,
trigger
:
[
'submit'
,
'change'
]
}],
},
{
formType
:
'date-picker'
,
className
:
'float-none'
,
prop
:
'surveyTime'
,
model
:
'surveyTime'
,
placeholder
:
'请选择'
,
label
:
'本次调查时间:'
,
format
:
'yyyy-MM-dd'
,
valueFormat
:
'yyyy-MM-dd'
,
dateType
:
'date'
,
type
:
'date'
,
rules
:
[{
required
:
true
,
message
:
'请选择本次调查时间'
,
trigger
:
[
'submit'
,
'change'
]}],
spanNum
:
12
,
},
]
}
src/views/followup/record-manage/models/hypertension/hypeDataSourceMedicationUse.js
0 → 100644
浏览文件 @
c4ded963
import
{
checkMobile
}
from
'@/utils/followup/followupUtils/checkField'
;
export
default
(
$this
)
=>
{
return
[
{
formType
:
'input'
,
className
:
'float-none'
,
prop
:
'followUpOrgName'
,
model
:
'followUpOrgName'
,
label
:
'随访单位名称:'
,
disabled
:
false
,
placeholder
:
'请输入随访单位名称'
,
spanNum
:
12
,
maxlength
:
30
,
type
:
'text'
,
labmsg
:
'次'
,
rules
:
[{
required
:
true
,
message
:
'请输入随访单位名称'
,
trigger
:
[
'submit'
,
'change'
]}],
},
{
formType
:
'input'
,
className
:
'float-none'
,
prop
:
'followUpUser'
,
model
:
'followUpUser'
,
label
:
'随访人员姓名:'
,
disabled
:
false
,
placeholder
:
'请输入随访人员姓名'
,
spanNum
:
12
,
maxlength
:
30
,
type
:
'text'
,
labmsg
:
'次'
,
rules
:
[{
required
:
true
,
message
:
'请输入随访人员姓名'
,
trigger
:
[
'submit'
,
'change'
]}],
},
{
formType
:
'input'
,
className
:
'float-none'
,
prop
:
'followUpMobile'
,
model
:
'followUpMobile'
,
label
:
'随访人员联系电话:'
,
disabled
:
false
,
placeholder
:
'请输入随访人员联系电话'
,
spanNum
:
12
,
maxlength
:
11
,
type
:
'tel'
,
labmsg
:
'次'
,
rules
:
[{
required
:
true
,
message
:
'请输入随访人员联系电话'
,
trigger
:
[
'submit'
,
'change'
]},{
validator
:
checkMobile
,
trigger
:
[
'submit'
,
'change'
]
}],
},
{
formType
:
'date-picker'
,
className
:
'float-none'
,
prop
:
'surveyTime'
,
model
:
'surveyTime'
,
placeholder
:
'请选择'
,
label
:
'本次调查时间:'
,
format
:
'yyyy-MM-dd'
,
valueFormat
:
'yyyy-MM-dd'
,
dateType
:
'date'
,
type
:
'date'
,
rules
:
[{
required
:
true
,
message
:
'请选择本次调查时间'
,
trigger
:
[
'submit'
,
'change'
]}],
spanNum
:
12
,
},
]
}
src/views/followup/record-manage/models/hypertension/hypeDataSourceSign.js
0 → 100644
浏览文件 @
c4ded963
import
{
checkMobile
}
from
'@/utils/followup/followupUtils/checkField'
;
export
default
(
$this
)
=>
{
return
[
{
formType
:
'input'
,
className
:
'float-none'
,
prop
:
'followUpOrgName'
,
model
:
'followUpOrgName'
,
label
:
'随访单位名称:'
,
disabled
:
false
,
placeholder
:
'请输入随访单位名称'
,
spanNum
:
12
,
maxlength
:
30
,
type
:
'text'
,
labmsg
:
'次'
,
rules
:
[{
required
:
true
,
message
:
'请输入随访单位名称'
,
trigger
:
[
'submit'
,
'change'
]}],
},
{
formType
:
'input'
,
className
:
'float-none'
,
prop
:
'followUpUser'
,
model
:
'followUpUser'
,
label
:
'随访人员姓名:'
,
disabled
:
false
,
placeholder
:
'请输入随访人员姓名'
,
spanNum
:
12
,
maxlength
:
30
,
type
:
'text'
,
labmsg
:
'次'
,
rules
:
[{
required
:
true
,
message
:
'请输入随访人员姓名'
,
trigger
:
[
'submit'
,
'change'
]}],
},
{
formType
:
'input'
,
className
:
'float-none'
,
prop
:
'followUpMobile'
,
model
:
'followUpMobile'
,
label
:
'随访人员联系电话:'
,
disabled
:
false
,
placeholder
:
'请输入随访人员联系电话'
,
spanNum
:
12
,
maxlength
:
11
,
type
:
'tel'
,
labmsg
:
'次'
,
rules
:
[{
required
:
true
,
message
:
'请输入随访人员联系电话'
,
trigger
:
[
'submit'
,
'change'
]},{
validator
:
checkMobile
,
trigger
:
[
'submit'
,
'change'
]
}],
},
{
formType
:
'date-picker'
,
className
:
'float-none'
,
prop
:
'surveyTime'
,
model
:
'surveyTime'
,
placeholder
:
'请选择'
,
label
:
'本次调查时间:'
,
format
:
'yyyy-MM-dd'
,
valueFormat
:
'yyyy-MM-dd'
,
dateType
:
'date'
,
type
:
'date'
,
rules
:
[{
required
:
true
,
message
:
'请选择本次调查时间'
,
trigger
:
[
'submit'
,
'change'
]}],
spanNum
:
12
,
},
]
}
src/views/followup/record-manage/models/hypertension/hypeDataSourceSymptom.js
0 → 100644
浏览文件 @
c4ded963
import
{
checkMobile
}
from
'@/utils/followup/followupUtils/checkField'
;
export
default
(
$this
)
=>
{
return
[
{
formType
:
'checkbox'
,
className
:
'obj-form-title3'
,
prop
:
'symptom'
,
model
:
'symptom'
,
label
:
'选择的症状:'
,
linkageRule
:
[{
name
:
'takeHypoglycemicDrugs'
,
value
:
[
'是'
]}],
disabled
:
false
,
changeFun
:
(
val
)
=>
{
// console.log(val)
},
spanNum
:
24
,
options
:
[
{
label
:
'无症状'
,
value
:
'无症状'
,
disabled
:
false
},
{
label
:
'头痛头晕'
,
value
:
'头痛头晕'
,
disabled
:
false
},
{
label
:
'恶心呕吐'
,
value
:
'恶心呕吐'
,
disabled
:
false
},
{
label
:
'眼花耳鸣'
,
value
:
'眼花耳鸣'
,
disabled
:
false
},
{
label
:
'呼吸困难'
,
value
:
'呼吸困难'
,
disabled
:
false
},
{
label
:
'心悸胸闷'
,
value
:
'心悸胸闷'
,
disabled
:
false
},
{
label
:
'鼻衄出血不止'
,
value
:
'鼻衄出血不止'
,
disabled
:
false
},
{
label
:
'四肢发麻'
,
value
:
'四肢发麻'
,
disabled
:
false
},
{
label
:
'下肢水肿'
,
value
:
'下肢水肿'
,
disabled
:
false
},
{
label
:
'其他'
,
value
:
'其他'
,
disabled
:
false
},
],
rules
:
[{
required
:
true
,
message
:
'选择的症状'
,
trigger
:
[
'submit'
]}]
},
]
}
src/views/followup/record-manage/patient-scale/hypertension.vue
已删除
100644 → 0
浏览文件 @
755d5da0
<
template
>
<div>
</div>
</
template
>
<
script
>
export
default
{}
</
script
>
<
style
scoped
lang=
"scss"
>
</
style
>
src/views/followup/record-manage/patient-scale/s
trok
e.vue
→
src/views/followup/record-manage/patient-scale/s
cal
e.vue
浏览文件 @
c4ded963
...
@@ -26,12 +26,14 @@
...
@@ -26,12 +26,14 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
getDomain
,
getScaleModels
,
getScaleDetail
,
postScale
,
updateScalesStatus
}
from
'@/utils/followup/followapis'
import
{
getDomain
,
getScaleModels
,
getScaleDetail
,
postScale
,
updateScalesStatus
,
submitScale
}
from
'@/utils/followup/followapis'
// 量表 template
// 量表 template
import
FormScale
from
'@/components/followup/form/index'
import
FormScale
from
'@/components/followup/form/index'
// 量表模块数据模型
// 量表模块数据模型
// 脑卒中
import
dataSourceBaseInfo0
from
'../models/stroke/dataSourceBaseInfo0'
import
dataSourceBaseInfo0
from
'../models/stroke/dataSourceBaseInfo0'
import
dataSourceBaseInfo
from
'../models/stroke/dataSourceBaseInfo'
import
dataSourceBaseInfo
from
'../models/stroke/dataSourceBaseInfo'
import
dataSourceBaseInfo2
from
'../models/stroke/dataSourceBaseInfo2'
import
dataSourceBaseInfo2
from
'../models/stroke/dataSourceBaseInfo2'
...
@@ -48,8 +50,14 @@
...
@@ -48,8 +50,14 @@
import
dataSourceCheckBody
from
'../models/stroke/dataSourceCheckBody'
import
dataSourceCheckBody
from
'../models/stroke/dataSourceCheckBody'
import
dataSourceCheckLab
from
'../models/stroke/dataSourceCheckLab'
import
dataSourceCheckLab
from
'../models/stroke/dataSourceCheckLab'
import
axios
from
'axios'
;
// 高血压
import
{
submitScale
}
from
'@/utils/followup/followapis'
;
import
hypeDataSourceSymptom
from
'../models/hypertension/hypeDataSourceSymptom'
import
hypeDataSourceSign
from
'../models/hypertension/hypeDataSourceSign'
import
hypeDataSourceLifeMode
from
'../models/hypertension/hypeDataSourceLifeMode'
import
hypeDataSourceHelpChecking
from
'../models/hypertension/hypeDataSourceHelpChecking'
import
hypeDataSourceMedicationUse
from
'../models/hypertension/hypeDataSourceMedicationUse'
export
default
{
export
default
{
data
(){
data
(){
...
@@ -66,23 +74,7 @@
...
@@ -66,23 +74,7 @@
doctorId
:
''
,
doctorId
:
''
,
planTimesId
:
''
,
planTimesId
:
''
,
addComponents
:
[],
addComponents
:
[],
addComponentsSourceList
:
[
addComponentsSourceList
:
[],
{
name
:
'BaseInfo0'
,
formObject
:
{},
showModule
:
true
,
formName
:
'stroke_001'
,
className
:
'obj-form-title'
,
dataSource
:
dataSourceBaseInfo0
(
this
),
hideTitle
:
true
,
title
:
'一、量表脑卒中随访人员信息表'
},
{
name
:
'BaseInfo'
,
formObject
:
{},
showModule
:
true
,
formName
:
'stroke_002'
,
className
:
'obj-form-title'
,
dataSource
:
dataSourceBaseInfo
(
this
),
title
:
'一、基本信息'
},
{
name
:
'BaseInfo2'
,
formObject
:
{},
showModule
:
true
,
formName
:
'stroke_003'
,
className
:
'obj-form-title'
,
dataSource
:
dataSourceBaseInfo2
(
this
),
hideTitle
:
true
,
title
:
'一、基本信息'
},
{
name
:
'LifeStyleGuide'
,
formObject
:
{},
showModule
:
true
,
formName
:
'stroke_004'
,
className
:
'obj-form-title'
,
dataSource
:
dataSourceLifeStyleGuide
(
this
),
title
:
'二、随访期间生活方式'
},
{
name
:
'MainSickControl'
,
formObject
:
{},
showModule
:
true
,
formName
:
'stroke_005'
,
className
:
'obj-form-title'
,
dataSource
:
dataSourceMainSickControl
(
this
),
title
:
'三、随访期间主要病史及控制情况-脑血管病'
},
{
name
:
'MainSickControl2'
,
formObject
:
{},
showModule
:
true
,
formName
:
'stroke_006'
,
className
:
'obj-form-title'
,
dataSource
:
dataSourceMainSickControl2
(
this
),
hideTitle
:
true
,
ruleNew
:
true
,
title
:
'三、随访期间主要病史及控制情况-MRS评分(卒中患者12个月随访必填)'
},
{
name
:
'MainSickControl3'
,
formObject
:
{},
showModule
:
true
,
formName
:
'stroke_007'
,
className
:
'obj-form-title'
,
dataSource
:
dataSourceMainSickControl3
(
this
),
hideTitle
:
true
,
title
:
'三、随访期间主要病史及控制情况-心脏病'
},
{
name
:
'MainSickControl4'
,
formObject
:
{},
showModule
:
true
,
formName
:
'stroke_008'
,
className
:
'obj-form-title'
,
dataSource
:
dataSourceMainSickControl4
(
this
),
hideTitle
:
true
,
title
:
'三、随访期间主要病史及控制情况-高血压'
},
{
name
:
'MainSickControl5'
,
formObject
:
{},
showModule
:
true
,
formName
:
'stroke_009'
,
className
:
'obj-form-title'
,
dataSource
:
dataSourceMainSickControl5
(
this
),
hideTitle
:
true
,
title
:
'三、随访期间主要病史及控制情况-血脂异常'
},
{
name
:
'MainSickControl6'
,
formObject
:
{},
showModule
:
true
,
formName
:
'stroke_010'
,
className
:
'obj-form-title'
,
dataSource
:
dataSourceMainSickControl6
(
this
),
hideTitle
:
true
,
title
:
'三、随访期间主要病史及控制情况-糖尿病'
},
{
name
:
'TreatmentSituation'
,
formObject
:
{},
showModule
:
true
,
formName
:
'stroke_011'
,
className
:
'obj-form-title'
,
dataSource
:
dataSourceTreatmentSituation
(
this
),
title
:
'四、本次随访期间血管病变的外科手术或介入治疗情况'
},
{
name
:
'TreatmentSituation2'
,
formObject
:
{},
showModule
:
true
,
formName
:
'stroke_012'
,
className
:
'obj-form-title'
,
dataSource
:
dataSourceTreatmentSituation2
(
this
),
hideTitle
:
true
,
title
:
'四、本次随访期间血管病变的外科手术或介入治疗情况-冠状动脉'
},
{
name
:
'TreatmentSituation3'
,
formObject
:
{},
showModule
:
true
,
formName
:
'stroke_013'
,
className
:
'obj-form-title'
,
dataSource
:
dataSourceTreatmentSituation3
(
this
),
hideTitle
:
true
,
title
:
'四、本次随访期间血管病变的外科手术或介入治疗情况-出血性卒中外科治疗'
},
{
name
:
'CheckBody'
,
formObject
:
{
bmi
:
0
,},
showModule
:
true
,
formName
:
'stroke_014'
,
className
:
'obj-form-title'
,
dataSource
:
dataSourceCheckBody
(
this
),
ruleNew
:
true
,
title
:
'五、体格检查(高危人群12个月随访必做)'
},
{
name
:
'CheckLab'
,
formObject
:
{},
showModule
:
true
,
formName
:
'stroke_015'
,
className
:
'obj-form-title'
,
dataSource
:
dataSourceCheckLab
(
this
),
ruleNew
:
true
,
title
:
'六、实验室检查(高危人群12个月随访必填)'
},
],
formData
:
{},
//整个表单对象
formData
:
{},
//整个表单对象
}
}
},
},
...
@@ -90,6 +82,7 @@
...
@@ -90,6 +82,7 @@
FormScale
,
FormScale
,
},
},
props
:
{
props
:
{
scaleType
:
String
,
//病种类型
checkStart
:
Boolean
,
checkStart
:
Boolean
,
saveWay
:
Number
,
saveWay
:
Number
,
showBtn
:
String
,
showBtn
:
String
,
...
@@ -176,23 +169,59 @@
...
@@ -176,23 +169,59 @@
}
}
},
},
created
(){
created
(){
this
.
planPatientsTimesId
=
this
.
$route
.
query
.
planPatientsTimesId
this
.
planPatientsTimesId
=
this
.
$route
.
query
.
planPatientsTimesId
this
.
scaleNo
=
this
.
$route
.
query
.
scaleNo
this
.
scaleNo
=
this
.
$route
.
query
.
scaleNo
this
.
doctorId
=
this
.
$route
.
query
.
doctorId
this
.
doctorId
=
this
.
$route
.
query
.
doctorId
this
.
planTimesId
=
this
.
$route
.
query
.
planTimesId
;
this
.
planTimesId
=
this
.
$route
.
query
.
planTimesId
;
// 获取量表类型
this
.
initScaleType
();
// 获取白名单域名
this
.
getWhiteDomain
();
this
.
getWhiteDomain
();
localStorage
.
setItem
(
'needRule'
,
this
.
needRule
);
localStorage
.
setItem
(
'needRule'
,
this
.
needRule
);
},
},
methods
:
{
methods
:
{
// 获取量表类型
initScaleType
(){
if
(
this
.
scaleType
==
'SCALE0003'
){
//脑卒中
this
.
addComponentsSourceList
=
[
{
name
:
'BaseInfo0'
,
formObject
:
{},
showModule
:
true
,
formName
:
'stroke_001'
,
className
:
'obj-form-title'
,
dataSource
:
dataSourceBaseInfo0
(
this
),
hideTitle
:
true
,
title
:
'一、量表脑卒中随访人员信息表'
},
{
name
:
'BaseInfo'
,
formObject
:
{},
showModule
:
true
,
formName
:
'stroke_002'
,
className
:
'obj-form-title'
,
dataSource
:
dataSourceBaseInfo
(
this
),
title
:
'一、基本信息'
},
{
name
:
'BaseInfo2'
,
formObject
:
{},
showModule
:
true
,
formName
:
'stroke_003'
,
className
:
'obj-form-title'
,
dataSource
:
dataSourceBaseInfo2
(
this
),
hideTitle
:
true
,
title
:
'一、基本信息'
},
{
name
:
'LifeStyleGuide'
,
formObject
:
{},
showModule
:
true
,
formName
:
'stroke_004'
,
className
:
'obj-form-title'
,
dataSource
:
dataSourceLifeStyleGuide
(
this
),
title
:
'二、随访期间生活方式'
},
{
name
:
'MainSickControl'
,
formObject
:
{},
showModule
:
true
,
formName
:
'stroke_005'
,
className
:
'obj-form-title'
,
dataSource
:
dataSourceMainSickControl
(
this
),
title
:
'三、随访期间主要病史及控制情况-脑血管病'
},
{
name
:
'MainSickControl2'
,
formObject
:
{},
showModule
:
true
,
formName
:
'stroke_006'
,
className
:
'obj-form-title'
,
dataSource
:
dataSourceMainSickControl2
(
this
),
hideTitle
:
true
,
ruleNew
:
true
,
title
:
'三、随访期间主要病史及控制情况-MRS评分(卒中患者12个月随访必填)'
},
{
name
:
'MainSickControl3'
,
formObject
:
{},
showModule
:
true
,
formName
:
'stroke_007'
,
className
:
'obj-form-title'
,
dataSource
:
dataSourceMainSickControl3
(
this
),
hideTitle
:
true
,
title
:
'三、随访期间主要病史及控制情况-心脏病'
},
{
name
:
'MainSickControl4'
,
formObject
:
{},
showModule
:
true
,
formName
:
'stroke_008'
,
className
:
'obj-form-title'
,
dataSource
:
dataSourceMainSickControl4
(
this
),
hideTitle
:
true
,
title
:
'三、随访期间主要病史及控制情况-高血压'
},
{
name
:
'MainSickControl5'
,
formObject
:
{},
showModule
:
true
,
formName
:
'stroke_009'
,
className
:
'obj-form-title'
,
dataSource
:
dataSourceMainSickControl5
(
this
),
hideTitle
:
true
,
title
:
'三、随访期间主要病史及控制情况-血脂异常'
},
{
name
:
'MainSickControl6'
,
formObject
:
{},
showModule
:
true
,
formName
:
'stroke_010'
,
className
:
'obj-form-title'
,
dataSource
:
dataSourceMainSickControl6
(
this
),
hideTitle
:
true
,
title
:
'三、随访期间主要病史及控制情况-糖尿病'
},
{
name
:
'TreatmentSituation'
,
formObject
:
{},
showModule
:
true
,
formName
:
'stroke_011'
,
className
:
'obj-form-title'
,
dataSource
:
dataSourceTreatmentSituation
(
this
),
title
:
'四、本次随访期间血管病变的外科手术或介入治疗情况'
},
{
name
:
'TreatmentSituation2'
,
formObject
:
{},
showModule
:
true
,
formName
:
'stroke_012'
,
className
:
'obj-form-title'
,
dataSource
:
dataSourceTreatmentSituation2
(
this
),
hideTitle
:
true
,
title
:
'四、本次随访期间血管病变的外科手术或介入治疗情况-冠状动脉'
},
{
name
:
'TreatmentSituation3'
,
formObject
:
{},
showModule
:
true
,
formName
:
'stroke_013'
,
className
:
'obj-form-title'
,
dataSource
:
dataSourceTreatmentSituation3
(
this
),
hideTitle
:
true
,
title
:
'四、本次随访期间血管病变的外科手术或介入治疗情况-出血性卒中外科治疗'
},
{
name
:
'CheckBody'
,
formObject
:
{
bmi
:
0
,},
showModule
:
true
,
formName
:
'stroke_014'
,
className
:
'obj-form-title'
,
dataSource
:
dataSourceCheckBody
(
this
),
ruleNew
:
true
,
title
:
'五、体格检查(高危人群12个月随访必做)'
},
{
name
:
'CheckLab'
,
formObject
:
{},
showModule
:
true
,
formName
:
'stroke_015'
,
className
:
'obj-form-title'
,
dataSource
:
dataSourceCheckLab
(
this
),
ruleNew
:
true
,
title
:
'六、实验室检查(高危人群12个月随访必填)'
},
]
}
else
if
(
this
.
scaleType
==
'SCALE0001'
){
//高血压
this
.
addComponentsSourceList
=
[
{
name
:
'BaseInfo0'
,
formObject
:
{},
showModule
:
true
,
formName
:
'hypertension_001'
,
className
:
'obj-form-title'
,
dataSource
:
hypeDataSourceSymptom
(
this
),
hideTitle
:
true
,
title
:
'一、症状'
},
{
name
:
'BaseInfo0'
,
formObject
:
{},
showModule
:
true
,
formName
:
'hypertension_002'
,
className
:
'obj-form-title'
,
dataSource
:
hypeDataSourceSign
(
this
),
hideTitle
:
true
,
title
:
'二、体征'
},
{
name
:
'BaseInfo0'
,
formObject
:
{},
showModule
:
true
,
formName
:
'hypertension_003'
,
className
:
'obj-form-title'
,
dataSource
:
hypeDataSourceLifeMode
(
this
),
hideTitle
:
true
,
title
:
'三、生活方式指导'
},
{
name
:
'BaseInfo0'
,
formObject
:
{},
showModule
:
true
,
formName
:
'hypertension_004'
,
className
:
'obj-form-title'
,
dataSource
:
hypeDataSourceHelpChecking
(
this
),
hideTitle
:
true
,
title
:
'四、辅助检查'
},
{
name
:
'BaseInfo0'
,
formObject
:
{},
showModule
:
true
,
formName
:
'hypertension_005'
,
className
:
'obj-form-title'
,
dataSource
:
hypeDataSourceMedicationUse
(
this
),
hideTitle
:
true
,
title
:
'五、用药情况'
},
]
}
else
if
(
this
.
scaleType
==
'SCALE0002'
){
//糖尿病
}
},
// 获取白名单域名
getWhiteDomain
(){
getWhiteDomain
(){
getDomain
().
then
(
res
=>
{
getDomain
().
then
(
res
=>
{
if
(
res
.
code
==
'000000'
){
if
(
res
.
code
==
'000000'
){
this
.
domain
=
res
.
data
this
.
domain
=
res
.
data
;
// 获取量表模块
this
.
getFormModules
();
this
.
getFormModules
();
if
(
this
.
showBtn
!=
'0'
){
if
(
this
.
showBtn
!=
'0'
){
// 获取量表详情
this
.
getFormDetail
();
this
.
getFormDetail
();
}
}
}
else
{
}
else
{
...
@@ -315,7 +344,6 @@
...
@@ -315,7 +344,6 @@
font-size
:
18px
;
font-size
:
18px
;
border-bottom
:
1px
dashed
#ccc
;
border-bottom
:
1px
dashed
#ccc
;
}
}
}
}
}
}
</
style
>
</
style
>
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录