|
@@ -51,7 +51,7 @@
|
|
|
<el-button type="primary" @click="handleAdd">
|
|
<el-button type="primary" @click="handleAdd">
|
|
|
<Icon icon="ep:plus" class="mr-5px" /> 新增
|
|
<Icon icon="ep:plus" class="mr-5px" /> 新增
|
|
|
</el-button>
|
|
</el-button>
|
|
|
- <el-button type="success" @click="handleAdd">
|
|
|
|
|
|
|
+ <el-button type="success" @click="handleExport">
|
|
|
<Icon icon="ep:upload" class="mr-5px" /> 导出
|
|
<Icon icon="ep:upload" class="mr-5px" /> 导出
|
|
|
</el-button>
|
|
</el-button>
|
|
|
</template>
|
|
</template>
|
|
@@ -178,8 +178,20 @@
|
|
|
<!-- 新增/编辑弹窗 -->
|
|
<!-- 新增/编辑弹窗 -->
|
|
|
<SafetyRiskNoticeForm ref="formRef" @success="getList" />
|
|
<SafetyRiskNoticeForm ref="formRef" @success="getList" />
|
|
|
|
|
|
|
|
- <!-- 防噎食评估详情弹窗 -->
|
|
|
|
|
|
|
+ <!-- 各项评估详情弹窗 -->
|
|
|
<AsphyxiationForm ref="asphyxiationFormRef" />
|
|
<AsphyxiationForm ref="asphyxiationFormRef" />
|
|
|
|
|
+ <PressureSoresForm ref="pressureSoresFormRef" />
|
|
|
|
|
+ <FallDownForm ref="fallDownFormRef" />
|
|
|
|
|
+ <FallPreventionForm ref="fallPreventionFormRef" />
|
|
|
|
|
+ <EmpyrosisForm ref="empyrosisFormRef" />
|
|
|
|
|
+ <WanderAwayForm ref="wanderAwayFormRef" />
|
|
|
|
|
+ <CommitSuicideForm ref="commitSuicideFormRef" />
|
|
|
|
|
+ <MMSEForm ref="mmseFormRef" />
|
|
|
|
|
+ <AttackForm ref="attackFormRef" />
|
|
|
|
|
+ <CommunicationForm ref="communicationFormRef" />
|
|
|
|
|
+ <EquilibriumForm ref="equilibriumFormRef" />
|
|
|
|
|
+ <DailyLifeForm ref="dailyLifeFormRef" />
|
|
|
|
|
+ <NutritionalRiskForm ref="nutritionalRiskFormRef" />
|
|
|
|
|
|
|
|
|
|
|
|
|
</template>
|
|
</template>
|
|
@@ -193,6 +205,18 @@ import {
|
|
|
import { formatTime } from '@/utils'
|
|
import { formatTime } from '@/utils'
|
|
|
import SafetyRiskNoticeForm from './Form.vue'
|
|
import SafetyRiskNoticeForm from './Form.vue'
|
|
|
import AsphyxiationForm from '@/views/elderly/apply/nine-precautions/asphyxiation-by-choking/AddForm.vue'
|
|
import AsphyxiationForm from '@/views/elderly/apply/nine-precautions/asphyxiation-by-choking/AddForm.vue'
|
|
|
|
|
+import PressureSoresForm from '@/views/elderly/apply/nine-precautions/pressure-sores/AddForm.vue'
|
|
|
|
|
+import FallDownForm from '@/views/elderly/apply/nine-precautions/fall-down/AddForm.vue'
|
|
|
|
|
+import FallPreventionForm from '@/views/elderly/apply/nine-precautions/fall-prevention-measures/AddForm.vue'
|
|
|
|
|
+import EmpyrosisForm from '@/views/elderly/apply/nine-precautions/empyrosis/AddForm.vue'
|
|
|
|
|
+import WanderAwayForm from '@/views/elderly/apply/nine-precautions/wander-away/AddForm.vue'
|
|
|
|
|
+import CommitSuicideForm from '@/views/elderly/apply/nine-precautions/commit-suicide/AddForm.vue'
|
|
|
|
|
+import MMSEForm from '@/views/elderly/apply/nine-precautions/MMSE/AddForm.vue'
|
|
|
|
|
+import AttackForm from '@/views/elderly/apply/nine-precautions/attack/AddForm.vue'
|
|
|
|
|
+import CommunicationForm from '@/views/elderly/apply/nine-precautions/communication/AddForm.vue'
|
|
|
|
|
+import EquilibriumForm from '@/views/elderly/apply/nine-precautions/equilibrium/AddForm.vue'
|
|
|
|
|
+import DailyLifeForm from '@/views/elderly/apply/nine-precautions/daily-life/AddForm.vue'
|
|
|
|
|
+import NutritionalRiskForm from '@/views/elderly/apply/nine-precautions/nutritional-risk/AddForm.vue'
|
|
|
|
|
|
|
|
defineOptions({ name: 'RiskDisclosureStatement' })
|
|
defineOptions({ name: 'RiskDisclosureStatement' })
|
|
|
|
|
|
|
@@ -240,54 +264,65 @@ const resetQuery = () => {
|
|
|
// 新增
|
|
// 新增
|
|
|
const formRef = ref()
|
|
const formRef = ref()
|
|
|
const handleAdd = () => {
|
|
const handleAdd = () => {
|
|
|
- formRef.value?.open()
|
|
|
|
|
|
|
+ // formRef.value?.open()
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-// 防噎食评估弹窗
|
|
|
|
|
|
|
+// 各项评估弹窗引用
|
|
|
const asphyxiationFormRef = ref()
|
|
const asphyxiationFormRef = ref()
|
|
|
|
|
+const pressureSoresFormRef = ref()
|
|
|
|
|
+const fallDownFormRef = ref()
|
|
|
|
|
+const fallPreventionFormRef = ref()
|
|
|
|
|
+const empyrosisFormRef = ref()
|
|
|
|
|
+const wanderAwayFormRef = ref()
|
|
|
|
|
+const commitSuicideFormRef = ref()
|
|
|
|
|
+const mmseFormRef = ref()
|
|
|
|
|
+const attackFormRef = ref()
|
|
|
|
|
+const communicationFormRef = ref()
|
|
|
|
|
+const equilibriumFormRef = ref()
|
|
|
|
|
+const dailyLifeFormRef = ref()
|
|
|
|
|
+const nutritionalRiskFormRef = ref()
|
|
|
|
|
+
|
|
|
|
|
+// 各项评估点击处理方法
|
|
|
const handleOpenAsphyxiation = (row: any) => {
|
|
const handleOpenAsphyxiation = (row: any) => {
|
|
|
- // 打开防噎食评估详情弹窗,传入租户ID和长者ID
|
|
|
|
|
asphyxiationFormRef.value?.open(row.tenantId, row.asphyxiationId, true)
|
|
asphyxiationFormRef.value?.open(row.tenantId, row.asphyxiationId, true)
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
-// 其他评估弹窗处理方法(待实现)
|
|
|
|
|
const handleOpenPressureUlcer = (row: any) => {
|
|
const handleOpenPressureUlcer = (row: any) => {
|
|
|
- message.info('防压疮评估功能开发中')
|
|
|
|
|
|
|
+ pressureSoresFormRef.value?.open(row.tenantId, row.pressureSoresId, true)
|
|
|
}
|
|
}
|
|
|
const handleOpenFall = (row: any) => {
|
|
const handleOpenFall = (row: any) => {
|
|
|
- message.info('防跌倒评估功能开发中')
|
|
|
|
|
|
|
+ fallDownFormRef.value?.open(row.tenantId, row.fallDownId, true)
|
|
|
}
|
|
}
|
|
|
const handleOpenBedFall = (row: any) => {
|
|
const handleOpenBedFall = (row: any) => {
|
|
|
- message.info('防坠床评估功能开发中')
|
|
|
|
|
|
|
+ fallPreventionFormRef.value?.open(row.tenantId, row.fallPreventionId, true)
|
|
|
}
|
|
}
|
|
|
const handleOpenScald = (row: any) => {
|
|
const handleOpenScald = (row: any) => {
|
|
|
- message.info('防烫伤评估功能开发中')
|
|
|
|
|
|
|
+ empyrosisFormRef.value?.open(row.tenantId, row.empyrosisId, true)
|
|
|
}
|
|
}
|
|
|
const handleOpenWandering = (row: any) => {
|
|
const handleOpenWandering = (row: any) => {
|
|
|
- message.info('防走失评估功能开发中')
|
|
|
|
|
|
|
+ wanderAwayFormRef.value?.open(row.tenantId, row.wanderAwayId, true)
|
|
|
}
|
|
}
|
|
|
const handleOpenSuicide = (row: any) => {
|
|
const handleOpenSuicide = (row: any) => {
|
|
|
- message.info('防自杀评估功能开发中')
|
|
|
|
|
|
|
+ commitSuicideFormRef.value?.open(row.tenantId, row.commitSuicideId, true)
|
|
|
}
|
|
}
|
|
|
const handleOpenMental = (row: any) => {
|
|
const handleOpenMental = (row: any) => {
|
|
|
- message.info('简易精神状态功能开发中')
|
|
|
|
|
|
|
+ mmseFormRef.value?.open(row.tenantId, row.mmseId, true)
|
|
|
}
|
|
}
|
|
|
const handleOpenAttack = (row: any) => {
|
|
const handleOpenAttack = (row: any) => {
|
|
|
- message.info('攻击风险评估功能开发中')
|
|
|
|
|
|
|
+ attackFormRef.value?.open(row.tenantId, row.attackId, true)
|
|
|
}
|
|
}
|
|
|
const handleOpenPerception = (row: any) => {
|
|
const handleOpenPerception = (row: any) => {
|
|
|
- message.info('感知觉与沟通评估功能开发中')
|
|
|
|
|
|
|
+ communicationFormRef.value?.open(row.tenantId, row.communicationId, true)
|
|
|
}
|
|
}
|
|
|
const handleOpenBalance = (row: any) => {
|
|
const handleOpenBalance = (row: any) => {
|
|
|
- message.info('平衡能力评估功能开发中')
|
|
|
|
|
|
|
+ equilibriumFormRef.value?.open(row.tenantId, row.equilibriumId, true)
|
|
|
}
|
|
}
|
|
|
const handleOpenDailyLiving = (row: any) => {
|
|
const handleOpenDailyLiving = (row: any) => {
|
|
|
- message.info('日常生活能力评估功能开发中')
|
|
|
|
|
|
|
+ dailyLifeFormRef.value?.open(row.tenantId, row.dailyLifeId, true)
|
|
|
}
|
|
}
|
|
|
const handleOpenNutrition = (row: any) => {
|
|
const handleOpenNutrition = (row: any) => {
|
|
|
- message.info('营养评估功能开发中')
|
|
|
|
|
|
|
+ nutritionalRiskFormRef.value?.open(row.tenantId, row.nutritionalRiskId, true)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|