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
<!--<template>-->
<!--<div>-->
<!--<!–<el-form :ref="timeForm.formRef" :model="timeForm" :rules="timeFormRules" label-suffix=":" label-width="140px" :inline-message="true" size="small">–>-->
<!--<el-form-item label="本次随访时间" required>-->
<!--<div style="display: flex;">-->
<!--<el-form-item prop="timeNo">-->
<!--<el-input-->
<!--v-model="timeForm.timeNo"-->
<!--type="tel"-->
<!--size="small"-->
<!--placeholder="请输入"-->
<!--:disabled="isStandedTemplate"-->
<!--maxlength="2"-->
<!--clearable />-->
<!--</el-form-item>-->
<!--<el-form-item prop="timeUnit" class="ml20">-->
<!--<el-select v-if="!isStandedTemplate && !planId" v-model="timeForm.timeUnit" placeholder="请选择" :disabled="timeForm.isDisabled">-->
<!--<el-option-->
<!--v-for="(item,index) in markOptions"-->
<!--:key="index"-->
<!--:label="item.value"-->
<!--:value="item.no">-->
<!--</el-option>-->
<!--</el-select>-->
<!--<el-select v-if="isStandedTemplate || planId" v-model="timeForm.timeUnit" placeholder="请选择" :disabled="isStandedTemplate">-->
<!--<el-option-->
<!--v-for="(item,index) in markOptions"-->
<!--:key="index"-->
<!--:label="item.value"-->
<!--:value="item.no">-->
<!--</el-option>-->
<!--</el-select>-->
<!--</el-form-item>-->
<!--</div>-->
<!--</el-form-item>-->
<!--<el-form-item label="随访方式" prop="type">-->
<!--<el-radio-group v-model="timeForm.type" size="small">-->
<!--<el-radio v-for="(item,index) in followTypeList" :key="index" :label="item.no" :disabled="isStandedTemplate">{{item.value}}</el-radio>-->
<!--</el-radio-group>-->
<!--</el-form-item>-->
<!--<el-form-item label="提醒医生预约居民">-->
<!--<el-select-->
<!--v-if="!isStandedTemplate"-->
<!--v-model="timeForm.remindDay"-->
<!--multiple-->
<!--:multiple-limit=3-->
<!--@change="changeRemindDay"-->
<!--placeholder="请选择">-->
<!--<el-option-->
<!--v-for="(item,index) in remindOptions"-->
<!--:key="index"-->
<!--:label="item.value"-->
<!--:value="item.no">-->
<!--</el-option>-->
<!--</el-select>-->
<!--<!–固定模板需要填充–>-->
<!--<el-select-->
<!--v-if="isStandedTemplate"-->
<!--v-model="timeForm.remindDay"-->
<!--multiple-->
<!--:multiple-limit=3-->
<!--:disabled="isStandedTemplate"-->
<!--placeholder="请选择">-->
<!--<el-option-->
<!--v-for="(item,index) in remindOptionsCopy"-->
<!--:key="index"-->
<!--:label="item.startDaysStr"-->
<!--:value="item.startDays">-->
<!--</el-option>-->
<!--</el-select>-->
<!--</el-form-item>-->
<!--<el-form-item label="推送患教">-->
<!--<div style="display: flex">-->
<!--<el-select-->
<!--v-if="!isStandedTemplate"-->
<!--v-model="timeForm.pushDay"-->
<!--placeholder="选择推送时间"-->
<!--clearable-->
<!-->-->
<!--<el-option-->
<!--v-for="(item,index) in pushTimeOptions"-->
<!--:key="index"-->
<!--:label="item.value"-->
<!--:value="item.no">-->
<!--</el-option>-->
<!--</el-select>-->
<!--<!–固定模板需要填充–>-->
<!--<el-select-->
<!--v-if="isStandedTemplate"-->
<!--v-model="timeForm.pushDay"-->
<!--placeholder="选择推送时间"-->
<!--clearable-->
<!--:disabled="isStandedTemplate"-->
<!-->-->
<!--<el-option-->
<!--:label="timeForm.startDaysStr"-->
<!--:value="timeForm.pushDay">-->
<!--</el-option>-->
<!--</el-select>-->
<!--<el-button plain class="ml20" @click="goSelectCartoon" v-if="!timeForm.hasSelected && !isStandedTemplate && !planId">选择健康漫画</el-button>-->
<!--<div class="selected-div ml20" v-if="timeForm.hasSelected">-->
<!--<span>《{{timeForm.comentMsg.header_name}}》</span>-->
<!--<el-button type="text" @click="goSelectCartoon" v-if="!isStandedTemplate && !planId">重选</el-button>-->
<!--<el-button type="text" @click="deleteClick" v-if="!isStandedTemplate && !planId">删除</el-button>-->
<!--</div>-->
<!--</div>-->
<!--</el-form-item>-->
<!--<div class="tips-contnt" v-if="timeForm.hasSelected">-->
<!--<p class="yellow-font">当前计划中共{{timeForm.totalNumber}}位居民(微信:{{timeForm.wechatPatientNum}}位,短信:{{timeForm.messagePatientNum}}位),本次定时推送任务在发送当日预计需要{{timeForm.messagePatientNum}}条短信额度(微信推送不消耗额度,建议您让居民关注云鹊健康微信公众号),务必提前确保短信额度的充足。</p>-->
<!--<p>需要更多额度,请前往「云鹊医App-个人中心-啾啾币中心」兑换短信额度后再进行预约,您也可以联系云鹊医客服购买短信额度,客服电话:400-920-8877</p>-->
<!--</div>-->
<!--<el-form-item label="随访登记表">-->
<!--<el-select-->
<!--v-if="!isStandedTemplate"-->
<!--v-model="timeForm.followResourceId"-->
<!--multiple-->
<!--:multiple-limit=3-->
<!--@change="changeFollowId"-->
<!--placeholder="请选择">-->
<!--<el-option-->
<!--v-for="(item,index) in formOptions"-->
<!--:key="index"-->
<!--:label="item.name"-->
<!--:value="item.scaleNo">-->
<!--</el-option>-->
<!--</el-select>-->
<!--<!–固定模板需要填充–>-->
<!--<el-select-->
<!--v-if="isStandedTemplate"-->
<!--v-model="timeForm.followResourceId"-->
<!--multiple-->
<!--:multiple-limit=3-->
<!--@change="changeFollowId"-->
<!--:disabled="isStandedTemplate"-->
<!--placeholder="请选择">-->
<!--<el-option-->
<!--v-for="(item,index) in formOptionsCopy"-->
<!--:key="index"-->
<!--:label="item.sendContent"-->
<!--:value="item.resourceId">-->
<!--</el-option>-->
<!--</el-select>-->
<!--</el-form-item>-->
<!--<!–</el-form>–>-->
<!--<select-cartoon-->
<!--:isSelectCartoon="isSelectCartoon"-->
<!--@closeSelectCartoon="closeSelectCartoon"-->
<!--@pushConmentMsg="pushConmentMsg"-->
<!--/>-->
<!--</div>-->
<!--</template>-->
<!--<script>-->
<!--import _ from 'lodash';-->
<!--import SelectCartoon from '@/views/followup/plan-manage/dialog/select-cartoon';-->
<!--import { getPatientNumber } from '@/utils/followup/followapis'-->
<!--export default {-->
<!--components: {-->
<!--SelectCartoon-->
<!--},-->
<!--data() {-->
<!--const checkDay = (rule, value, callback)=>{-->
<!--const num = parseFloat(value)-->
<!--if(num < 1 || num>99){-->
<!--return callback(new Error('日期不能大于99天或小于0天'));-->
<!--}-->
<!--callback();-->
<!--}-->
<!--return {-->
<!--formNoList: [],//存放量表 scaleNo 的数组,用于匹配所选项-->
<!--remindOptionsCopy: [],//提升医生预约居民 - 标准模板-->
<!--formOptionsCopy: [], //量表 - 标准模板-->
<!--isSelectCartoon: false,-->
<!--timeFormRules: {-->
<!--timeNo: [{ required: true, message: '请添加随访时间', trigger: 'change' },{ validator: checkDay, trigger: 'blur' }],-->
<!--timeUnit: [{ required: true, message: '请添加随访时间', trigger: 'change' }],-->
<!--type: [{ required: true, message: '请选择随访方式', trigger: 'change' }],-->
<!--},-->
<!--}-->
<!--},-->
<!--props: {-->
<!--timeForm: Object,-->
<!--valBegin: Boolean, // 设置新时间节点的校验开关-->
<!--saveValiedBegin: Boolean, // 点击保存提交整个表单的校验开关-->
<!--markOptions:Array,-->
<!--followTypeList:Array,-->
<!--remindOptions:Array,-->
<!--pushTimeOptions:Array,-->
<!--formOptions: Array,-->
<!--patientIdList: Array,-->
<!--isStandedTemplate: Boolean,-->
<!--planId: String-->
<!--},-->
<!--watch: {-->
<!--patientIdList(val){-->
<!--},-->
<!--timeForm(val){-->
<!--this.timeForm = val-->
<!--if(this.isStandedTemplate || this.planId){-->
<!--// console.log('表单子组件监听到的form数据',this.timeForm)-->
<!--this.timeForm.isDisabled = true-->
<!--console.log(this.timeForm.remindList)-->
<!--if(this.timeForm.remindList && this.timeForm.remindList.length > 0){// remindDay-->
<!--this.remindOptionsCopy = this.timeForm.remindList-->
<!--this.timeForm.remindDay = []-->
<!--this.timeForm.remindList.forEach((item)=>{-->
<!--this.timeForm.remindDay.push(item.startDays)-->
<!--})-->
<!--}-->
<!--if(this.timeForm.pushContentList && this.timeForm.pushContentList.length > 0){//pushDay-->
<!--let pushData = this.timeForm.pushContentList[0]-->
<!--this.timeForm.pushDay = pushData.startDays-->
<!--this.timeForm.startDaysStr = pushData.startDaysStr-->
<!--this.timeForm.comentMsg = {-->
<!--id: pushData.resourceId,-->
<!--header_name: pushData.sendContent-->
<!--}-->
<!--this.closeSelectCartoon({-->
<!--closeStatus: false,-->
<!--hasSelected: this.timeForm.comentMsg-->
<!--})-->
<!--}-->
<!--if(this.timeForm.followupList && this.timeForm.followupList.length > 0){ //followResourceId-->
<!--this.formOptionsCopy = this.timeForm.followupList-->
<!--this.timeForm.followResourceId = []-->
<!--this.timeForm.followupList.forEach((item)=>{-->
<!--this.timeForm.followResourceId.push(item.resourceId)-->
<!--})-->
<!--}-->
<!--console.log(this.formOptionsCopy)-->
<!--getPatientNumber({-->
<!--patientIdList: this.patientIdList-->
<!--}).then(res=>{-->
<!--if(res.code=='000000'){-->
<!--this.timeForm.wechatPatientNum = res.data.wechatPatientNum;-->
<!--this.timeForm.messagePatientNum = res.data.messagePatientNum;-->
<!--this.timeForm.totalNumber = this.timeForm.wechatPatientNum + this.timeForm.messagePatientNum-->
<!--}else{-->
<!--this.$notify.success({-->
<!--title: '提交失败',-->
<!--message: res.message,-->
<!--showClose: false-->
<!--});-->
<!--}-->
<!--})-->
<!--// console.log(this.isStandedTemplate)-->
<!--// console.log(this.formOptions)-->
<!--// console.log(this.formOptionsCopy)-->
<!--}-->
<!--},-->
<!--formOptions(val){-->
<!--val.forEach((item)=>{-->
<!--this.formNoList.push(item.scaleNo)-->
<!--})-->
<!--},-->
<!--valBegin(val){-->
<!--if(val){-->
<!--this.$refs[this.timeForm.formRef].validate((valid) => {-->
<!--this.$emit('checkValid',{valid: valid, type: 'normal'})-->
<!--});-->
<!--}-->
<!--},-->
<!--saveValiedBegin(val){-->
<!--// console.log('保存按钮子组件的校验',val)-->
<!--// console.log('++++',this.timeForm.formRef)-->
<!--if(val && this.timeForm.formRef){-->
<!--this.$refs[this.timeForm.formRef].validate((valid) => {-->
<!--// console.log('告诉父组件,校验结果' + valid)-->
<!--this.$emit('checkValid',{valid: valid, type: 'save'})-->
<!--});-->
<!--}-->
<!--}-->
<!--},-->
<!--methods: {-->
<!--changeRemindDay(val){-->
<!--console.log(val)-->
<!--},-->
<!--changeFollowId(val){-->
<!--console.log(val)-->
<!--this.timeForm.followResourceIdStr = []-->
<!--val.forEach((item)=>{-->
<!--if(this.formNoList.includes(item)){-->
<!--this.timeForm.followResourceIdStr.push(item)-->
<!--}-->
<!--})-->
<!--},-->
<!--goSelectCartoon() {-->
<!--this.isSelectCartoon = true;-->
<!--},-->
<!--closeSelectCartoon(val) {-->
<!--this.isSelectCartoon = val.closeStatus;-->
<!--this.timeForm.hasSelected = val.hasSelected;-->
<!--},-->
<!--deleteClick() {-->
<!--this.timeForm.hasSelected = '';-->
<!--},-->
<!--pushConmentMsg(val){-->
<!--this.timeForm.comentMsg = val-->
<!--getPatientNumber({-->
<!--patientIdList: this.patientIdList-->
<!--}).then(res=>{-->
<!--if(res.code=='000000'){-->
<!--this.timeForm.wechatPatientNum = res.data.wechatPatientNum;-->
<!--this.timeForm.messagePatientNum = res.data.messagePatientNum;-->
<!--this.timeForm.totalNumber = this.timeForm.wechatPatientNum + this.timeForm.messagePatientNum-->
<!--}else{-->
<!--this.$notify.success({-->
<!--title: '提交失败',-->
<!--message: res.message,-->
<!--showClose: false-->
<!--});-->
<!--}-->
<!--})-->
<!--}-->
<!--},-->
<!--}-->
<!--</script>-->
<!--<style scoped lang="scss">-->
<!--.form-div{-->
<!--padding-top: 30px;-->
<!--.tips-contnt{-->
<!--margin-top: -10px;-->
<!--padding-left: 140px;-->
<!--padding-bottom: 30px;-->
<!--font-size: 12px;-->
<!--color: #9B9997;-->
<!--width: 55%;-->
<!--p{-->
<!--line-height: 18px;-->
<!--&.yellow-font{-->
<!--color: #e6a23c;-->
<!--padding-bottom: 10px;-->
<!--}-->
<!--}-->
<!--}-->
<!--}-->
<!--.ml20{-->
<!--margin-left: 20px;-->
<!--}-->
<!--</style>-->
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
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录