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 aecd570b..73cc3a31 100644 --- a/src/views/account/Center/components/StationMessage/components/NotificationRecord/index.vue +++ b/src/views/account/Center/components/StationMessage/components/NotificationRecord/index.vue @@ -110,7 +110,7 @@ const getType = computed(() => { return ['system-event']; } else if(props.type === 'workflow-notification'){ return ['workflow-task-cc','workflow-task-todo','workflow-task-reject', 'workflow-process-finish', 'workflow-process-repealed'] - } + } else { return [ 'alarm', @@ -129,6 +129,7 @@ const columns = [ key: 'topicProvider', search: { type: 'select', + termFilter: ['in', 'nin'], options: () => getTypeList_api().then((resp: any) => { return resp.result @@ -229,7 +230,7 @@ const view = (row: any) => { termType: "eq", column: "id" }] - } + } getWorkflowNotice(params).then((res)=>{ viewItem.value = {'topicProvider':row.topicProvider,...res?.result?.[0]} viewVisible.value = true; @@ -238,7 +239,7 @@ const view = (row: any) => { viewItem.value = row; viewVisible.value = true; } - + }; const refresh = () => { tableRef.value && tableRef.value.reload(); diff --git a/vite.config.ts b/vite.config.ts index 397b5f47..27e124c5 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -96,8 +96,8 @@ export default defineConfig(({ mode}) => { // target: 'http://192.168.32.244:8881', // target: 'http://192.168.32.163:8844', //张季本地 // target: 'http://120.77.179.54:8844', // 120测试 - // target: 'http://192.168.33.46:8844', // 本地开发环境 - target: 'http://192.168.33.1:8845', // 社区版开发环境 + target: 'http://192.168.33.46:8844', // 本地开发环境 + // target: 'http://192.168.33.1:8845', // 社区版开发环境 // target: 'http://192.168.32.5:8848', // 刘本地 // target: 'http://192.168.32.187:8844', // 谭本地 ws: 'ws://192.168.33.46:8844',