提交 c4ea5890 编写于 作者: tao.wu's avatar tao.wu

no message

上级 184a1f2c
...@@ -27,7 +27,10 @@ ...@@ -27,7 +27,10 @@
<!--模板页面除了显示居民基本信息,将病种展示作为组件引入--> <!--模板页面除了显示居民基本信息,将病种展示作为组件引入-->
<div class="form-container"> <div class="form-container">
<stroke :showBtn="showBtn" :scaleType="scaleNo" :checkStart="checkStart" @checkEnd="checkEnd" :saveWay="saveWay" /> <!--脑卒中-->
<stroke v-if="scaleNo=='SCALE0003'" :showBtn="showBtn" :scaleType="scaleNo" :checkStart="checkStart" @checkEnd="checkEnd" :saveWay="saveWay" />
<!--高血压-->
<hypertension v-if="scaleNo=='SCALE0001'" :showBtn="showBtn" :scaleType="scaleNo" :checkStart="checkStart" @checkEnd="checkEnd" :saveWay="saveWay" ></hypertension>
</div> </div>
...@@ -39,9 +42,9 @@ ...@@ -39,9 +42,9 @@
<script> <script>
import BreadCrumb from '@/components/breadcrumb' import BreadCrumb from '@/components/breadcrumb'
// 脑卒中 // 脑卒中
import stroke from './patient-scale/stroke' import stroke from './patient-scale/stroke'
import hypertension from './patient-scale/hypertension'
export default { export default {
data(){ data(){
return { return {
...@@ -56,6 +59,7 @@ ...@@ -56,6 +59,7 @@
}, },
components: { components: {
stroke, stroke,
hypertension,
BreadCrumb, BreadCrumb,
}, },
methods: { methods: {
......
...@@ -2,62 +2,62 @@ import { checkMobile } from '@/utils/followup/followupUtils/checkField'; ...@@ -2,62 +2,62 @@ import { checkMobile } from '@/utils/followup/followupUtils/checkField';
export default ($this) => { export default ($this) => {
return [ return [
{ // {
formType: 'input', // formType: 'input',
className: 'float-none', // className: 'float-none',
prop: 'followUpOrgName', // prop: 'followUpOrgName',
model: 'followUpOrgName', // model: 'followUpOrgName',
label: '随访单位名称:', // label: '随访单位名称:',
disabled: false, // disabled: false,
placeholder: '请输入随访单位名称', // placeholder: '请输入随访单位名称',
spanNum: 12, // spanNum: 12,
maxlength: 30, // maxlength: 30,
type: 'text', // type: 'text',
labmsg: '次', // labmsg: '次',
rules: [{required: true, message: '请输入随访单位名称', trigger: ['submit','change']}], // rules: [{required: true, message: '请输入随访单位名称', trigger: ['submit','change']}],
}, // },
{ // {
formType: 'input', // formType: 'input',
className: 'float-none', // className: 'float-none',
prop: 'followUpUser', // prop: 'followUpUser',
model: 'followUpUser', // model: 'followUpUser',
label: '随访人员姓名:', // label: '随访人员姓名:',
disabled: false, // disabled: false,
placeholder: '请输入随访人员姓名', // placeholder: '请输入随访人员姓名',
spanNum: 12, // spanNum: 12,
maxlength: 30, // maxlength: 30,
type: 'text', // type: 'text',
labmsg: '次', // labmsg: '次',
rules: [{required: true, message: '请输入随访人员姓名', trigger: ['submit','change']}], // rules: [{required: true, message: '请输入随访人员姓名', trigger: ['submit','change']}],
}, // },
{ // {
formType: 'input', // formType: 'input',
className: 'float-none', // className: 'float-none',
prop: 'followUpMobile', // prop: 'followUpMobile',
model: 'followUpMobile', // model: 'followUpMobile',
label: '随访人员联系电话:', // label: '随访人员联系电话:',
disabled: false, // disabled: false,
placeholder: '请输入随访人员联系电话', // placeholder: '请输入随访人员联系电话',
spanNum: 12, // spanNum: 12,
maxlength: 11, // maxlength: 11,
type: 'tel', // type: 'tel',
labmsg: '次', // labmsg: '次',
rules: [{required: true, message: '请输入随访人员联系电话', trigger: ['submit','change']},{ validator: checkMobile , trigger: ['submit','change'] }], // rules: [{required: true, message: '请输入随访人员联系电话', trigger: ['submit','change']},{ validator: checkMobile , trigger: ['submit','change'] }],
}, // },
{ // {
formType: 'date-picker', // formType: 'date-picker',
className: 'float-none', // className: 'float-none',
prop: 'surveyTime', // prop: 'surveyTime',
model: 'surveyTime', // model: 'surveyTime',
placeholder: '请选择', // placeholder: '请选择',
label: '本次调查时间:', // label: '本次调查时间:',
format: 'yyyy-MM-dd', // format: 'yyyy-MM-dd',
valueFormat: 'yyyy-MM-dd', // valueFormat: 'yyyy-MM-dd',
dateType: 'date', // dateType: 'date',
type: 'date', // type: 'date',
rules: [{required: true, message: '请选择本次调查时间', trigger: ['submit','change']}], // rules: [{required: true, message: '请选择本次调查时间', trigger: ['submit','change']}],
spanNum: 12, // spanNum: 12,
}, // },
] ]
} }
...@@ -2,62 +2,62 @@ import { checkMobile } from '@/utils/followup/followupUtils/checkField'; ...@@ -2,62 +2,62 @@ import { checkMobile } from '@/utils/followup/followupUtils/checkField';
export default ($this) => { export default ($this) => {
return [ return [
{ // {
formType: 'input', // formType: 'input',
className: 'float-none', // className: 'float-none',
prop: 'followUpOrgName', // prop: 'followUpOrgName',
model: 'followUpOrgName', // model: 'followUpOrgName',
label: '随访单位名称:', // label: '随访单位名称:',
disabled: false, // disabled: false,
placeholder: '请输入随访单位名称', // placeholder: '请输入随访单位名称',
spanNum: 12, // spanNum: 12,
maxlength: 30, // maxlength: 30,
type: 'text', // type: 'text',
labmsg: '次', // labmsg: '次',
rules: [{required: true, message: '请输入随访单位名称', trigger: ['submit','change']}], // rules: [{required: true, message: '请输入随访单位名称', trigger: ['submit','change']}],
}, // },
{ // {
formType: 'input', // formType: 'input',
className: 'float-none', // className: 'float-none',
prop: 'followUpUser', // prop: 'followUpUser',
model: 'followUpUser', // model: 'followUpUser',
label: '随访人员姓名:', // label: '随访人员姓名:',
disabled: false, // disabled: false,
placeholder: '请输入随访人员姓名', // placeholder: '请输入随访人员姓名',
spanNum: 12, // spanNum: 12,
maxlength: 30, // maxlength: 30,
type: 'text', // type: 'text',
labmsg: '次', // labmsg: '次',
rules: [{required: true, message: '请输入随访人员姓名', trigger: ['submit','change']}], // rules: [{required: true, message: '请输入随访人员姓名', trigger: ['submit','change']}],
}, // },
{ // {
formType: 'input', // formType: 'input',
className: 'float-none', // className: 'float-none',
prop: 'followUpMobile', // prop: 'followUpMobile',
model: 'followUpMobile', // model: 'followUpMobile',
label: '随访人员联系电话:', // label: '随访人员联系电话:',
disabled: false, // disabled: false,
placeholder: '请输入随访人员联系电话', // placeholder: '请输入随访人员联系电话',
spanNum: 12, // spanNum: 12,
maxlength: 11, // maxlength: 11,
type: 'tel', // type: 'tel',
labmsg: '次', // labmsg: '次',
rules: [{required: true, message: '请输入随访人员联系电话', trigger: ['submit','change']},{ validator: checkMobile , trigger: ['submit','change'] }], // rules: [{required: true, message: '请输入随访人员联系电话', trigger: ['submit','change']},{ validator: checkMobile , trigger: ['submit','change'] }],
}, // },
{ // {
formType: 'date-picker', // formType: 'date-picker',
className: 'float-none', // className: 'float-none',
prop: 'surveyTime', // prop: 'surveyTime',
model: 'surveyTime', // model: 'surveyTime',
placeholder: '请选择', // placeholder: '请选择',
label: '本次调查时间:', // label: '本次调查时间:',
format: 'yyyy-MM-dd', // format: 'yyyy-MM-dd',
valueFormat: 'yyyy-MM-dd', // valueFormat: 'yyyy-MM-dd',
dateType: 'date', // dateType: 'date',
type: 'date', // type: 'date',
rules: [{required: true, message: '请选择本次调查时间', trigger: ['submit','change']}], // rules: [{required: true, message: '请选择本次调查时间', trigger: ['submit','change']}],
spanNum: 12, // spanNum: 12,
}, // },
] ]
} }
...@@ -2,62 +2,62 @@ import { checkMobile } from '@/utils/followup/followupUtils/checkField'; ...@@ -2,62 +2,62 @@ import { checkMobile } from '@/utils/followup/followupUtils/checkField';
export default ($this) => { export default ($this) => {
return [ return [
{ // {
formType: 'input', // formType: 'input',
className: 'float-none', // className: 'float-none',
prop: 'followUpOrgName', // prop: 'followUpOrgName',
model: 'followUpOrgName', // model: 'followUpOrgName',
label: '随访单位名称:', // label: '随访单位名称:',
disabled: false, // disabled: false,
placeholder: '请输入随访单位名称', // placeholder: '请输入随访单位名称',
spanNum: 12, // spanNum: 12,
maxlength: 30, // maxlength: 30,
type: 'text', // type: 'text',
labmsg: '次', // labmsg: '次',
rules: [{required: true, message: '请输入随访单位名称', trigger: ['submit','change']}], // rules: [{required: true, message: '请输入随访单位名称', trigger: ['submit','change']}],
}, // },
{ // {
formType: 'input', // formType: 'input',
className: 'float-none', // className: 'float-none',
prop: 'followUpUser', // prop: 'followUpUser',
model: 'followUpUser', // model: 'followUpUser',
label: '随访人员姓名:', // label: '随访人员姓名:',
disabled: false, // disabled: false,
placeholder: '请输入随访人员姓名', // placeholder: '请输入随访人员姓名',
spanNum: 12, // spanNum: 12,
maxlength: 30, // maxlength: 30,
type: 'text', // type: 'text',
labmsg: '次', // labmsg: '次',
rules: [{required: true, message: '请输入随访人员姓名', trigger: ['submit','change']}], // rules: [{required: true, message: '请输入随访人员姓名', trigger: ['submit','change']}],
}, // },
{ // {
formType: 'input', // formType: 'input',
className: 'float-none', // className: 'float-none',
prop: 'followUpMobile', // prop: 'followUpMobile',
model: 'followUpMobile', // model: 'followUpMobile',
label: '随访人员联系电话:', // label: '随访人员联系电话:',
disabled: false, // disabled: false,
placeholder: '请输入随访人员联系电话', // placeholder: '请输入随访人员联系电话',
spanNum: 12, // spanNum: 12,
maxlength: 11, // maxlength: 11,
type: 'tel', // type: 'tel',
labmsg: '次', // labmsg: '次',
rules: [{required: true, message: '请输入随访人员联系电话', trigger: ['submit','change']},{ validator: checkMobile , trigger: ['submit','change'] }], // rules: [{required: true, message: '请输入随访人员联系电话', trigger: ['submit','change']},{ validator: checkMobile , trigger: ['submit','change'] }],
}, // },
{ // {
formType: 'date-picker', // formType: 'date-picker',
className: 'float-none', // className: 'float-none',
prop: 'surveyTime', // prop: 'surveyTime',
model: 'surveyTime', // model: 'surveyTime',
placeholder: '请选择', // placeholder: '请选择',
label: '本次调查时间:', // label: '本次调查时间:',
format: 'yyyy-MM-dd', // format: 'yyyy-MM-dd',
valueFormat: 'yyyy-MM-dd', // valueFormat: 'yyyy-MM-dd',
dateType: 'date', // dateType: 'date',
type: 'date', // type: 'date',
rules: [{required: true, message: '请选择本次调查时间', trigger: ['submit','change']}], // rules: [{required: true, message: '请选择本次调查时间', trigger: ['submit','change']}],
spanNum: 12, // spanNum: 12,
}, // },
] ]
} }
...@@ -2,62 +2,62 @@ import { checkMobile } from '@/utils/followup/followupUtils/checkField'; ...@@ -2,62 +2,62 @@ import { checkMobile } from '@/utils/followup/followupUtils/checkField';
export default ($this) => { export default ($this) => {
return [ return [
{ // {
formType: 'input', // formType: 'input',
className: 'float-none', // className: 'float-none',
prop: 'followUpOrgName', // prop: 'followUpOrgName',
model: 'followUpOrgName', // model: 'followUpOrgName',
label: '随访单位名称:', // label: '随访单位名称:',
disabled: false, // disabled: false,
placeholder: '请输入随访单位名称', // placeholder: '请输入随访单位名称',
spanNum: 12, // spanNum: 12,
maxlength: 30, // maxlength: 30,
type: 'text', // type: 'text',
labmsg: '次', // labmsg: '次',
rules: [{required: true, message: '请输入随访单位名称', trigger: ['submit','change']}], // rules: [{required: true, message: '请输入随访单位名称', trigger: ['submit','change']}],
}, // },
{ // {
formType: 'input', // formType: 'input',
className: 'float-none', // className: 'float-none',
prop: 'followUpUser', // prop: 'followUpUser',
model: 'followUpUser', // model: 'followUpUser',
label: '随访人员姓名:', // label: '随访人员姓名:',
disabled: false, // disabled: false,
placeholder: '请输入随访人员姓名', // placeholder: '请输入随访人员姓名',
spanNum: 12, // spanNum: 12,
maxlength: 30, // maxlength: 30,
type: 'text', // type: 'text',
labmsg: '次', // labmsg: '次',
rules: [{required: true, message: '请输入随访人员姓名', trigger: ['submit','change']}], // rules: [{required: true, message: '请输入随访人员姓名', trigger: ['submit','change']}],
}, // },
{ // {
formType: 'input', // formType: 'input',
className: 'float-none', // className: 'float-none',
prop: 'followUpMobile', // prop: 'followUpMobile',
model: 'followUpMobile', // model: 'followUpMobile',
label: '随访人员联系电话:', // label: '随访人员联系电话:',
disabled: false, // disabled: false,
placeholder: '请输入随访人员联系电话', // placeholder: '请输入随访人员联系电话',
spanNum: 12, // spanNum: 12,
maxlength: 11, // maxlength: 11,
type: 'tel', // type: 'tel',
labmsg: '次', // labmsg: '次',
rules: [{required: true, message: '请输入随访人员联系电话', trigger: ['submit','change']},{ validator: checkMobile , trigger: ['submit','change'] }], // rules: [{required: true, message: '请输入随访人员联系电话', trigger: ['submit','change']},{ validator: checkMobile , trigger: ['submit','change'] }],
}, // },
{ // {
formType: 'date-picker', // formType: 'date-picker',
className: 'float-none', // className: 'float-none',
prop: 'surveyTime', // prop: 'surveyTime',
model: 'surveyTime', // model: 'surveyTime',
placeholder: '请选择', // placeholder: '请选择',
label: '本次调查时间:', // label: '本次调查时间:',
format: 'yyyy-MM-dd', // format: 'yyyy-MM-dd',
valueFormat: 'yyyy-MM-dd', // valueFormat: 'yyyy-MM-dd',
dateType: 'date', // dateType: 'date',
type: 'date', // type: 'date',
rules: [{required: true, message: '请选择本次调查时间', trigger: ['submit','change']}], // rules: [{required: true, message: '请选择本次调查时间', trigger: ['submit','change']}],
spanNum: 12, // spanNum: 12,
}, // },
] ]
} }
...@@ -4,11 +4,11 @@ export default ($this) => { ...@@ -4,11 +4,11 @@ export default ($this) => {
return [ return [
{ {
formType: 'checkbox', formType: 'checkbox',
className: 'obj-form-title3', className: 'obj-form-title',
prop: 'symptom', prop: 'symptom',
model: 'symptom', model: 'symptom',
label: '选择的症状:', label: '选择的症状:',
linkageRule: [{name: 'takeHypoglycemicDrugs', value: ['是']}], // linkageRule: [{name: 'takeHypoglycemicDrugs', value: ['是']}],
disabled: false, disabled: false,
changeFun: (val) => { changeFun: (val) => {
// console.log(val) // console.log(val)
...@@ -28,6 +28,20 @@ export default ($this) => { ...@@ -28,6 +28,20 @@ export default ($this) => {
], ],
rules: [{required: true, message: '选择的症状', trigger: ['submit']}] rules: [{required: true, message: '选择的症状', trigger: ['submit']}]
}, },
{
formType: 'input',
className: 'obj-form-title4',
linkageRule: [{name: 'symptom',value: ['其他']}],
prop: 'remark',
model: 'remark',
disabled: false,
placeholder: '请输入其他症状',
spanNum: 12,
maxlength: 30,
type: 'text',
labmsg: '',
rules: [{ required: true, message: '请输入其他症状', trigger: ['submit','change'] }]
},
] ]
} }
...@@ -192,35 +192,7 @@ ...@@ -192,35 +192,7 @@
{name: 'CheckBody',formObject: {bmi: 0,},showModule: true,formName: 'stroke_014',className: 'obj-form-title',dataSource: dataSourceCheckBody(this), ruleNew:true,title: '五、体格检查(高危人群12个月随访必做)'}, {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个月随访必填)'}, {name: 'CheckLab',formObject: {},showModule: true,formName: 'stroke_015',className: 'obj-form-title',dataSource: dataSourceCheckLab(this),ruleNew:true, title: '六、实验室检查(高危人群12个月随访必填)'},
] ]
// 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(){
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册