diff --git a/src/layout/default/components/header/msg.vue b/src/layout/default/components/header/msg.vue
index f538a68..d06c87a 100644
--- a/src/layout/default/components/header/msg.vue
+++ b/src/layout/default/components/header/msg.vue
@@ -33,9 +33,9 @@ const getNums = async () => {
}
-setInterval(() => {
- getNums()
-}, 10000);
+// setInterval(() => {
+// getNums()
+// }, 10000);
getNums()
diff --git a/src/views/oa_Deal/index.vue b/src/views/oa_Deal/index.vue
index 703590b..d6f377f 100644
--- a/src/views/oa_Deal/index.vue
+++ b/src/views/oa_Deal/index.vue
@@ -27,7 +27,7 @@
-
+
详情
@@ -39,7 +39,7 @@
+ @close="showDetail = false, getLists()" :typeName="typeName" />
@@ -55,6 +55,7 @@ import { apiOaoaApproveDetail } from "@/api/oa_Initiate"
const detailRef = ref(null)
// 是否显示编辑框
const showDetail = ref(false)
+const typeName = ref('')
// 查询条件
@@ -80,8 +81,9 @@ const { pager, getLists, resetParams, resetPage } = usePaging({
params: queryParams
})
-const handDetail = async (id: any) => {
- let res = await apiOaoaApproveDetail({ id })
+const handDetail = async (row: any) => {
+ typeName.value = row.type_name
+ let res = await apiOaoaApproveDetail({ id: row.id })
showDetail.value = true
await nextTick()
detailRef.value?.open()
diff --git a/src/views/oa_Initiate/index.vue b/src/views/oa_Initiate/index.vue
index 8363948..1a65b35 100644
--- a/src/views/oa_Initiate/index.vue
+++ b/src/views/oa_Initiate/index.vue
@@ -104,6 +104,7 @@ const handleEdit = async (id: any, cate = '', extend = '') => {
}
}
+
const handDetail = async (row: any, data = {}) => {
typeName.value = row.type_name
let res = await apiOaoaApproveDetail({ id: row.id })
diff --git a/src/views/oa_message/index.vue b/src/views/oa_message/index.vue
index 78e88b8..dd744b1 100644
--- a/src/views/oa_message/index.vue
+++ b/src/views/oa_message/index.vue
@@ -17,9 +17,9 @@
-
+
- {{ timeFormat(row.read_time, 'yyyy-mm-dd hh:MM') }}
+ {{ row.read_time == 0 ? '' : timeFormat(row.read_time, 'yyyy-mm-dd hh:MM') }}