From 0dde108cbd1f1c54321089818e38827866e8a118 Mon Sep 17 00:00:00 2001
From: Admin <978517621@qq.com>
Date: Tue, 23 Aug 2022 15:45:31 +0800
Subject: [PATCH] Default Changelist
---
src/views/intellectInspect/inspectRecordManage/inspectRecord/components/inspectRecordDialog.vue | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/views/intellectInspect/inspectRecordManage/inspectRecord/components/inspectRecordDialog.vue b/src/views/intellectInspect/inspectRecordManage/inspectRecord/components/inspectRecordDialog.vue
index 5838e2a..9dc829e 100644
--- a/src/views/intellectInspect/inspectRecordManage/inspectRecord/components/inspectRecordDialog.vue
+++ b/src/views/intellectInspect/inspectRecordManage/inspectRecord/components/inspectRecordDialog.vue
@@ -80,7 +80,7 @@
</template>
<script lang="ts">
-import { reactive, toRefs, ref } from 'vue';
+ import {reactive, toRefs, ref, defineAsyncComponent} from 'vue';
import { RFIDApi } from '/@/api/intellectInspectSystem/RFID';
import { ElMessage } from 'element-plus/es';
import { inspectTaskApi } from '/@/api/intellectInspectSystem/inspectTask';
@@ -155,6 +155,9 @@
}
export default {
name: 'inspectTaskDialog',
+ components: {
+ SumData: defineAsyncComponent(() => import('/@/views/intellectInspect/inspectIndex/components/sum.vue'))
+ },
setup(props: any, context: any) {
const inspectTaskFormRef = ref();
const data = reactive<dataState>({
@@ -258,6 +261,7 @@
data.ifShowInspectTaskDialog = true;
data.inspectPointConfirm = false;
data.title = '查看巡检记录';
+ getSum(item.id)
inspectRecordApi()
.getInspectRecordById({ id: value.id, uuid: value.uuid })
.then((res) => {
--
Gitblit v1.9.2