| | |
| | | wherecondition: `survery_form_type=1 and patient_code='${patientsInfo.value.code}'`, |
| | | ordercondition: 'survery_time desc' |
| | | } |
| | | pasm.wherecondition += "and suvery_form_name='营养风险筛查表(NRS2002)'" |
| | | pasm.wherecondition += "and suvery_form_name='NRS2002'" |
| | | const yinyangbiaodan1 = await list(pasm) |
| | | return yinyangbiaodan1 |
| | | } |
| | |
| | | wherecondition: `survery_form_type=1 and patient_code='${patientsInfo.value.code}'`, |
| | | ordercondition: 'survery_time desc' |
| | | } |
| | | pasm.wherecondition += "and suvery_form_name='GNIR营养评估分'" |
| | | pasm.wherecondition += "and suvery_form_name='GNRI'" |
| | | const yinyangbiaodan1 = await list(pasm) |
| | | return yinyangbiaodan1 |
| | | } |
| | |
| | | <template> |
| | | <div class="dietarySurvey-item"> |
| | | <el-dialog v-model="state.dialogTableVisible" title="营养风险筛查表(NRS2002)" :fullscreen="true" width="100%"> |
| | | <el-dialog v-model="state.dialogTableVisible" title="NRS2002" :fullscreen="true" width="100%"> |
| | | <div class="container" style="width: 100%; height: 100%; overflow: auto"> |
| | | <div id="pinggu1"> |
| | | <div> |
| | |
| | | const state = reactive({ |
| | | dialogTableVisible: false, |
| | | tableData: { |
| | | 表名: '营养风险筛查表(NRS2002)', |
| | | 表名: 'NRS2002', |
| | | 初次调查日期: '', |
| | | 填表日期: '', |
| | | 更新日期: '', |
| | |
| | | surveryTime: formatDate(new Date(), 'YYYY-mm-dd HH:MM:SS'), |
| | | surveryPerson: userInfos.value.code, |
| | | surveryJsonBody: '', |
| | | suveryFormName: '营养风险筛查表(NRS2002)', |
| | | suveryFormName: 'NRS2002', |
| | | surveryFormType: 1, |
| | | updateTime: '', |
| | | }, |
| | |
| | | surveryTime: formatDate(new Date(), 'YYYY-mm-dd HH:MM:SS'), |
| | | surveryPerson: userInfos.value.code, |
| | | surveryJsonBody: JSON.stringify(state.tableData), |
| | | suveryFormName: '营养风险筛查表(NRS2002)', |
| | | suveryFormName: 'NRS2002', |
| | | updateTime: '', |
| | | }; |
| | | console.log(info); |
| | |
| | | }; |
| | | const getPageInfo = () => { |
| | | state.tableData = { |
| | | 表名: '营养风险筛查表(NRS2002)', |
| | | 表名: 'NRS2002', |
| | | 初次调查日期: formatDate(new Date(), 'YYYY-mm-dd'), |
| | | 填表日期: '', |
| | | 更新日期: formatDate(new Date(), 'YYYY-mm-dd'), |
| | |
| | | surveryTime: formatDate(new Date(), 'YYYY-mm-dd HH:MM:SS'), |
| | | surveryPerson: userInfos.value.code, |
| | | surveryJsonBody: '', |
| | | suveryFormName: '营养风险筛查表(NRS2002)', |
| | | suveryFormName: 'NRS2002', |
| | | surveryFormType: 1, |
| | | updateTime: '', |
| | | }; |
| | |
| | | <template> |
| | | <div class="dietarySurvey-item"> |
| | | <el-dialog v-model="state.dialogTableVisible" title="主观全面评定(SGA)评价" :fullscreen="true" width="100%"> |
| | | <el-dialog v-model="state.dialogTableVisible" title="SGA" :fullscreen="true" width="100%"> |
| | | <div class="container" style="width: 100%; height: 100%;overflow: auto;"> |
| | | <div id="pinggu2"> |
| | | <div> |
| | |
| | | const state = reactive({ |
| | | dialogTableVisible: false, |
| | | tableData: { |
| | | 表名: '主观全面评定(SGA)评价', |
| | | 表名: 'SGA', |
| | | 初次调查日期: "", |
| | | 填表日期: '', |
| | | 更新日期: '', |
| | |
| | | surveryTime: formatDate(new Date(), 'YYYY-mm-dd HH:MM:SS'), |
| | | surveryPerson: userInfos.value.code, |
| | | surveryJsonBody: '', |
| | | suveryFormName: '主观全面评定(SGA)评价', |
| | | suveryFormName: 'SGA', |
| | | surveryFormType: 1, |
| | | updateTime: '' |
| | | } |
| | |
| | | surveryTime: formatDate(new Date(), 'YYYY-mm-dd HH:MM:SS'), |
| | | surveryPerson: userInfos.value.code, |
| | | surveryJsonBody: JSON.stringify(state.tableData), |
| | | suveryFormName: '主观全面评定(SGA)评价', |
| | | suveryFormName: 'SGA', |
| | | updateTime: '' |
| | | } |
| | | console.log(info) |
| | |
| | | } |
| | | const getPageInfo = () => { |
| | | state.tableData = { |
| | | 表名: '主观全面评定(SGA)评价', |
| | | 表名: 'SGA', |
| | | 初次调查日期: formatDate(new Date(), 'YYYY-mm-dd'), |
| | | 填表日期: '', |
| | | 更新日期: formatDate(new Date(), 'YYYY-mm-dd'), |
| | |
| | | surveryTime: formatDate(new Date(), 'YYYY-mm-dd HH:MM:SS'), |
| | | surveryPerson: userInfos.value.code, |
| | | surveryJsonBody: '', |
| | | suveryFormName: '主观全面评定(SGA)评价', |
| | | suveryFormName: 'SGA', |
| | | surveryFormType: 1, |
| | | updateTime: '' |
| | | } |
| | |
| | | <template> |
| | | <div class="dietarySurvey-item"> |
| | | <el-dialog v-model="state.dialogTableVisible" title="营养不良炎症评分表(MIS)" :fullscreen="true" width="100%"> |
| | | <el-dialog v-model="state.dialogTableVisible" title="MIS" :fullscreen="true" width="100%"> |
| | | <div class="container" style="width: 100%; height: 100%; overflow: auto"> |
| | | <div id="pinggu3"> |
| | | <div> |
| | |
| | | const state = reactive({ |
| | | dialogTableVisible: false, |
| | | tableData: { |
| | | 表名: '营养不良炎症评分表(MIS)', |
| | | 表名: 'MIS', |
| | | 初次调查日期: '', |
| | | 填表日期: '', |
| | | 更新日期: '', |
| | |
| | | surveryTime: formatDate(new Date(), 'YYYY-mm-dd HH:MM:SS'), |
| | | surveryPerson: userInfos.value.code, |
| | | surveryJsonBody: JSON.stringify(state.tableData), |
| | | suveryFormName: '营养不良炎症评分表(MIS)', |
| | | suveryFormName: 'MIS', |
| | | updateTime: '', |
| | | }; |
| | | console.log(info); |
| | |
| | | }; |
| | | const getPageInfo = () => { |
| | | state.tableData = { |
| | | 表名: '营养不良炎症评分表(MIS)', |
| | | 表名: 'MIS', |
| | | 初次调查日期: formatDate(new Date(), 'YYYY-mm-dd'), |
| | | 填表日期: '', |
| | | 更新日期: formatDate(new Date(), 'YYYY-mm-dd'), |
| | |
| | | <template> |
| | | <div class="dietarySurvey-item"> |
| | | <el-dialog v-model="state.dialogTableVisible" title="PEW(蛋白质能量消耗评估)" :fullscreen="true" width="100%"> |
| | | <el-dialog v-model="state.dialogTableVisible" title="PEW" :fullscreen="true" width="100%"> |
| | | <div class="container" style="width: 100%; height: 100%;overflow: auto;"> |
| | | <div id="pinggu4"> |
| | | <div> |
| | |
| | | options:[0,1], |
| | | dialogTableVisible:false, |
| | | tableData: { |
| | | 表名: 'PEW(蛋白质能量消耗评估)', |
| | | 表名: 'PEW', |
| | | 初次调查日期:"", |
| | | 填表日期: '', |
| | | 更新日期: '', |
| | |
| | | surveryTime: formatDate(new Date(), 'YYYY-mm-dd HH:MM:SS'), |
| | | surveryPerson: userInfos.value.code, |
| | | surveryJsonBody: '', |
| | | suveryFormName:'PEW(蛋白质能量消耗评估)', |
| | | suveryFormName:'PEW', |
| | | surveryFormType:1, |
| | | updateTime: '' |
| | | } |
| | |
| | | surveryTime: formatDate(new Date(), 'YYYY-mm-dd HH:MM:SS'), |
| | | surveryPerson: userInfos.value.code, |
| | | surveryJsonBody: JSON.stringify(state.tableData), |
| | | suveryFormName:'PEW(蛋白质能量消耗评估)', |
| | | suveryFormName:'PEW', |
| | | updateTime: '' |
| | | } |
| | | console.log(info) |
| | |
| | | } |
| | | const getPageInfo=()=>{ |
| | | state.tableData={ |
| | | 表名: 'PEW(蛋白质能量消耗评估)', |
| | | 表名: 'PEW', |
| | | 初次调查日期:formatDate(new Date(),'YYYY-mm-dd'), |
| | | 填表日期: '', |
| | | 更新日期: formatDate(new Date(),'YYYY-mm-dd'), |
| | |
| | | surveryTime: formatDate(new Date(), 'YYYY-mm-dd HH:MM:SS'), |
| | | surveryPerson: userInfos.value.code, |
| | | surveryJsonBody: '', |
| | | suveryFormName:'PEW(蛋白质能量消耗评估)', |
| | | suveryFormName:'PEW', |
| | | surveryFormType:1, |
| | | updateTime: '' |
| | | } |
| | |
| | | <template> |
| | | <div class="dietarySurvey-item"> |
| | | <el-dialog v-model="state.dialogTableVisible" title="GNIR营养评估分" :fullscreen="true" width="100%"> |
| | | <el-dialog v-model="state.dialogTableVisible" title="GNRI" :fullscreen="true" width="100%"> |
| | | <div class="container" style="width: 100%; height: 100%;overflow: auto;"> |
| | | <div id="pinggu5"> |
| | | <div> |
| | |
| | | </tr> |
| | | <tr> |
| | | <td colspan="6" style="color: #E6A23C;"> |
| | | GNIR营养评估分为4个等级:<br> |
| | | GNRI为4个等级:<br> |
| | | 高营养风险(GNIR<82<br> |
| | | 中营养风险(82≤GNIR<92)<br> |
| | | 低营养风险(92≤GNIR≤98)<br> |
| | |
| | | options: [0, 1], |
| | | dialogTableVisible: false, |
| | | tableData: { |
| | | 表名: 'GNIR营养评估分', |
| | | 表名: 'GNRI', |
| | | 初次调查日期: "", |
| | | 填表日期: '', |
| | | 更新日期: '', |
| | |
| | | surveryTime: formatDate(new Date(), 'YYYY-mm-dd HH:MM:SS'), |
| | | surveryPerson: userInfos.value.code, |
| | | surveryJsonBody: '', |
| | | suveryFormName: 'GNIR营养评估分', |
| | | suveryFormName: 'GNRI', |
| | | surveryFormType: 1, |
| | | updateTime: '' |
| | | } |
| | |
| | | data= Number(((1.498 * Number(state.tableData.血清白蛋白浓度)) + 41.7).toFixed(2)) |
| | | } |
| | | if(data<82){ |
| | | return `GNIR营养评估分:${data} 高营养风险` |
| | | return `GNRI:${data} 高营养风险` |
| | | }else if(data>=82&&data<92){ |
| | | return `GNIR营养评估分:${data} 中营养风险` |
| | | return `GNRI:${data} 中营养风险` |
| | | }else if(data>=92&&data<98){ |
| | | return `GNIR营养评估分:${data} 低营养风险` |
| | | return `GNRI:${data} 低营养风险` |
| | | }else if(data>=98){ |
| | | return `GNIR营养评估分:${data} 无营养风险` |
| | | return `GNRI:${data} 无营养风险` |
| | | }else{ |
| | | return '' |
| | | } |
| | |
| | | surveryTime: formatDate(new Date(), 'YYYY-mm-dd HH:MM:SS'), |
| | | surveryPerson: userInfos.value.code, |
| | | surveryJsonBody: JSON.stringify(state.tableData), |
| | | suveryFormName: 'GNIR营养评估分', |
| | | suveryFormName: 'GNRI', |
| | | updateTime: '' |
| | | } |
| | | console.log(info) |
| | |
| | | const res = await getPatData({ patCode: patientsInfo.value.code, }) |
| | | console.log(res.data, '----') |
| | | state.tableData = { |
| | | 表名: 'GNIR营养评估分', |
| | | 表名: 'GNRI', |
| | | 初次调查日期: formatDate(new Date(), 'YYYY-mm-dd'), |
| | | 填表日期: '', |
| | | 更新日期: formatDate(new Date(), 'YYYY-mm-dd'), |
| | |
| | | surveryTime: formatDate(new Date(), 'YYYY-mm-dd HH:MM:SS'), |
| | | surveryPerson: userInfos.value.code, |
| | | surveryJsonBody: '', |
| | | suveryFormName:'GNIR营养评估分', |
| | | suveryFormName:'GNRI', |
| | | surveryFormType:1, |
| | | updateTime: '' |
| | | } |
| | |
| | | placeholder="不选默认查全部" |
| | | clearable |
| | | > |
| | | <el-option label="营养风险筛查表(NRS2002)" value="营养风险筛查表(NRS2002)" /> |
| | | <el-option label="营养不良炎症评分表(MIS)" value="营养不良炎症评分表(MIS)" /> |
| | | <el-option label="主观全面评定(SGA)评价" value="主观全面评定(SGA)评价" /> |
| | | <el-option label="PEW(蛋白质能量消耗评估)" value="PEW(蛋白质能量消耗评估)" /> |
| | | <el-option label="GNIR营养评估分" value="GNIR营养评估分" /> |
| | | <el-option label="NRS2002" value="NRS2002" /> |
| | | <el-option label="MIS" value="MIS" /> |
| | | <el-option label="SGA" value="SGA" /> |
| | | <el-option label="PEW" value="PEW" /> |
| | | <el-option label="GNRI" value="GNRI" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="填报日期"> |
| | |
| | | const addItem=()=>{ |
| | | |
| | | if(state.formInline.formTableName){ |
| | | if(state.formInline.formTableName==='营养风险筛查表(NRS2002)'){ |
| | | if(state.formInline.formTableName==='NRS2002'){ |
| | | editDietaryRef.value.openShow('add') |
| | | }else if(state.formInline.formTableName==='主观全面评定(SGA)评价'){ |
| | | }else if(state.formInline.formTableName==='SGA'){ |
| | | editDietaryRef2.value.openShow('add') |
| | | }else if(state.formInline.formTableName==='营养不良炎症评分表(MIS)'){ |
| | | }else if(state.formInline.formTableName==='MIS'){ |
| | | editDietaryRef3.value.openShow('add') |
| | | }else if(state.formInline.formTableName==='PEW(蛋白质能量消耗评估)'){ |
| | | }else if(state.formInline.formTableName==='PEW'){ |
| | | editDietaryRef4.value.openShow('add') |
| | | }else if(state.formInline.formTableName==='GNIR营养评估分'){ |
| | | }else if(state.formInline.formTableName==='GNRI'){ |
| | | editDietaryRef5.value.openShow('add') |
| | | } |
| | | }else{ |
| | |
| | | */ |
| | | const handleEdit = (index: number, row: any) => { |
| | | console.log(index, row,state.formInline.formTableName) |
| | | if(row.suveryFormName==='营养风险筛查表(NRS2002)'){ |
| | | if(row.suveryFormName==='NRS2002'){ |
| | | editDietaryRef.value.openShow('update',row) |
| | | }else if(row.suveryFormName==='主观全面评定(SGA)评价'){ |
| | | }else if(row.suveryFormName==='SGA'){ |
| | | editDietaryRef2.value.openShow('update',row) |
| | | }else if(row.suveryFormName==='营养不良炎症评分表(MIS)'){ |
| | | }else if(row.suveryFormName==='MIS'){ |
| | | editDietaryRef3.value.openShow('update',row) |
| | | }else if(row.suveryFormName==='PEW(蛋白质能量消耗评估)'){ |
| | | }else if(row.suveryFormName==='PEW'){ |
| | | editDietaryRef4.value.openShow('update',row) |
| | | }else if(row.suveryFormName==='GNIR营养评估分'){ |
| | | }else if(row.suveryFormName==='GNRI'){ |
| | | editDietaryRef5.value.openShow('update',row) |
| | | } |
| | | } |
| | |
| | | wherecondition: `survery_form_type=1 and patient_code='${patientsInfo.value.code}'`, |
| | | ordercondition: 'survery_time desc' |
| | | } |
| | | pasm.wherecondition += "and suvery_form_name='营养风险筛查表(NRS2002)'" |
| | | pasm.wherecondition += "and suvery_form_name='NRS2002'" |
| | | const yinyangbiaodan1 = await list(pasm) |
| | | return yinyangbiaodan1 |
| | | } |
| | |
| | | wherecondition: `survery_form_type=1 and patient_code='${patientsInfo.value.code}'`, |
| | | ordercondition: 'survery_time desc' |
| | | } |
| | | pasm.wherecondition += "and suvery_form_name='GNIR营养评估分'" |
| | | pasm.wherecondition += "and suvery_form_name='GNRI'" |
| | | const yinyangbiaodan1 = await list(pasm) |
| | | return yinyangbiaodan1 |
| | | } |