@@ -36,7 +36,11 @@ const props = defineProps({
data: {
type: Object,
required: true
- }
+ },
+ upData: {
+ type: Object,
+ required: true
+ },
})
// 子传父的时候需要先定义好emit这个方法
const emit = defineEmits(['handleImport','deleteAnnexSuccess'])
diff --git a/src/components/BasicForm/src/BasicForm.vue b/src/components/BasicForm/src/BasicForm.vue
index 1f2ed6bea..685595369 100644
--- a/src/components/BasicForm/src/BasicForm.vue
+++ b/src/components/BasicForm/src/BasicForm.vue
@@ -338,20 +338,14 @@ const handleTableSelect = (row, column, event) => {
// 删除数据
const handleDeleteTable = (row, index) => {
- console.log(row);
- console.log(index);
emit('handleDeleteTable', row)
}
// 添加数据
const handleAddTable = () => {
- console.log(2);
-
emit('handleAddTable')
}
// 输入框聚焦
const inpuFocus = (headerItem) => {
- console.log(11);
-
opensearchTable()
}
diff --git a/src/components/ChangeRecord/src/ChangeRecord.vue b/src/components/ChangeRecord/src/ChangeRecord.vue
index 206315421..379e9b7ae 100644
--- a/src/components/ChangeRecord/src/ChangeRecord.vue
+++ b/src/components/ChangeRecord/src/ChangeRecord.vue
@@ -6,7 +6,7 @@
-
+
- {{ item.time }}
+ {{ formatDate(item.createTime) }}
- {{ item.name }} 创建了 记录
+ {{ item.nickname }} {{ item.content }}
+
- {{ item.name }} 修改了 状态
+ {{ item.nickname }} {{ item.content }}
+
- {{ item.name }} 添加了 附件
+ {{ item.nickname }} {{ item.content }}
+
-
+
@@ -51,12 +54,13 @@