diff --git a/src/api/account/notificationRecord.ts b/src/api/account/notificationRecord.ts
index 6cf7d876..7279b831 100644
--- a/src/api/account/notificationRecord.ts
+++ b/src/api/account/notificationRecord.ts
@@ -9,7 +9,7 @@ export const changeStatus_api = (type: '_read' | '_unread', data: string[]): any
export const changeAllStatus = (type: '_read' | '_unread', data: string[]): any => server.post(`/notifications/${type}/provider`, data)
//查看工作流通知详情
-export const getWorkflowNotice = (data:any) => server.post('/process/runtime/processes/_query?history=true',data)
+export const getWorkflowNotice = (data:any) => server.post('/process/runtime/processes/_query/no-paging',data)
// 查询告警记录详情
export const getDetail = (id: string): any => server.get(`/alarm/record/${id}`)
diff --git a/src/views/account/Center/components/StationMessage/components/NotificationRecord/components/ViewDialog.vue b/src/views/account/Center/components/StationMessage/components/NotificationRecord/components/ViewDialog.vue
index 0b52769e..7e7ba28e 100644
--- a/src/views/account/Center/components/StationMessage/components/NotificationRecord/components/ViewDialog.vue
+++ b/src/views/account/Center/components/StationMessage/components/NotificationRecord/components/ViewDialog.vue
@@ -16,6 +16,43 @@
+
+
+
+ {{ _data?.creatorName }}
+
+
+
+ {{ dayjs(_data?.createTime).format('YYYY-MM-DD HH:mm:ss') }}
+
+
+
+
+ {{ _data?.classifiedName }}
+
+
+
+ {{ _data?.modelName }}
+
+
+ {{ _data?.name }}
+
+
+
+ {{ _data?.summary }}
+
+
+
+
import { JsonViewer } from 'vue3-json-viewer';
import 'vue3-json-viewer/dist/index.css';
-import { queryLevel as queryLevel_api } from '@/api/rule-engine/config';
+import { queryLevel as queryLevel_api} from '@/api/rule-engine/config';
import dayjs from 'dayjs';
const emits = defineEmits(['update:visible']);
diff --git a/src/views/account/Center/components/StationMessage/components/NotificationRecord/index.vue b/src/views/account/Center/components/StationMessage/components/NotificationRecord/index.vue
index 2778f12c..aecd570b 100644
--- a/src/views/account/Center/components/StationMessage/components/NotificationRecord/index.vue
+++ b/src/views/account/Center/components/StationMessage/components/NotificationRecord/index.vue
@@ -221,21 +221,24 @@ const queryParams = ref({});
const tableRef = ref();
const view = (row: any) => {
- // if(props.type === 'workflow-notification'){
- // const params = {
- // terms:[{
- // type: "or",
- // value: ['workflow-process-finish', 'workflow-process-repealed'].includes(row.topicProvider) ? row.dataId : JSON.parse(row.detailJson)?.processId,
- // termType: "eq",
- // column: "id"
- // }]
- // }
- // getWorkflowNotice(params).then((res)=>{
- // console.log(res)
- // })
- // }
- viewItem.value = row;
- viewVisible.value = true;
+ if(props.type === 'workflow-notification'){
+ const params = {
+ terms:[{
+ type: "or",
+ value: ['workflow-process-finish', 'workflow-process-repealed'].includes(row.topicProvider) ? row.dataId : JSON.parse(row.detailJson)?.processId,
+ termType: "eq",
+ column: "id"
+ }]
+ }
+ getWorkflowNotice(params).then((res)=>{
+ viewItem.value = {'topicProvider':row.topicProvider,...res?.result?.[0]}
+ viewVisible.value = true;
+ })
+ }else{
+ viewItem.value = row;
+ viewVisible.value = true;
+ }
+
};
const refresh = () => {
tableRef.value && tableRef.value.reload();