diff --git a/src/api/notice/template.ts b/src/api/notice/template.ts index 088f37aa..712ed67b 100644 --- a/src/api/notice/template.ts +++ b/src/api/notice/template.ts @@ -11,8 +11,8 @@ export default { // 修改 update: (data: any) => patch(`/notifier/template`, data), del: (id: any) => remove(`/notifier/template/${id}`), - getConfig: (data: any) => post(`/notifier/config/_query/no-paging?paging=false`, data), - getTemplateDetail: (id: string) => get(`/notifier/template/${id}/detail`), + getConfig: (data: any) => post(`/notifier/config/_query/no-paging?paging=false`, data), + getTemplateDetail: (id: string) => get(`/notifier/template/${id}/detail`), debug: (data: any, configId: string, templateId: string) => post(`/notifier/${configId}/${templateId}/_send`, data), getHistory: (data: any, id: string) => post(`/notify/history/template/${id}/_query`, data), // 钉钉/微信, 根据配置获取部门和用户 diff --git a/src/views/notice/Template/Debug/index.vue b/src/views/notice/Template/Debug/index.vue index 90b43d00..c1d50f77 100644 --- a/src/views/notice/Template/Debug/index.vue +++ b/src/views/notice/Template/Debug/index.vue @@ -8,8 +8,12 @@ @cancel="handleCancel" :confirmLoading="btnLoading" > - - + + - - + diff --git a/vite.config.ts b/vite.config.ts index aa5f4420..c27f4b93 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -85,8 +85,8 @@ export default defineConfig(({ mode}) => { // target: 'http://192.168.33.22:8800', // target: 'http://192.168.32.244:8881', // target: 'http://47.112.135.104:5096', // opcua - // target: 'http://120.77.179.54:8844', // 120测试 - target: 'http://47.108.63.174:8845', // 测试 + target: 'http://120.77.179.54:8844', // 120测试 + // target: 'http://47.108.63.174:8845', // 测试 // target: 'http://120.77.179.54:8844', ws: 'ws://120.77.179.54:8844', changeOrigin: true,