From f15f5298428d16288304d5c0a86ed639f09fb261 Mon Sep 17 00:00:00 2001 From: GGJ <357021191@qq.com> Date: Thu, 13 Jun 2024 18:41:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20=E7=BB=88=E7=AB=AF?= =?UTF-8?q?=E5=91=A8=E6=9C=9F=E6=A3=80=E6=B5=8B=20=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supervision-boot/cycleDetection/index.ts | 45 ++++ src/components/table/fieldRender/index.vue | 2 +- .../components/cycleDetection/detail.vue | 118 +++++++++ .../components/cycleDetection/form.vue | 148 ++++++++++++ .../components/cycleDetection/index.vue | 224 ++++++++++++++++++ .../terminalNetworkDetection/index.vue | 4 + 6 files changed, 540 insertions(+), 1 deletion(-) create mode 100644 src/api/supervision-boot/cycleDetection/index.ts create mode 100644 src/views/pqs/supervise/terminalNetworkDetection/components/cycleDetection/detail.vue create mode 100644 src/views/pqs/supervise/terminalNetworkDetection/components/cycleDetection/form.vue create mode 100644 src/views/pqs/supervise/terminalNetworkDetection/components/cycleDetection/index.vue diff --git a/src/api/supervision-boot/cycleDetection/index.ts b/src/api/supervision-boot/cycleDetection/index.ts new file mode 100644 index 00000000..51f36054 --- /dev/null +++ b/src/api/supervision-boot/cycleDetection/index.ts @@ -0,0 +1,45 @@ +import createAxios from '@/utils/request' + +/** + * 重新发起 + */ +export const reload = (data: any) => { + return createAxios({ + url: '/supervision-boot/checkDevice/reload', + method: 'POST', + data: data + }) +} +/** + * 提交检测报告 + */ +export const submitDevice = (data: any) => { + return createAxios({ + url: '/supervision-boot/checkDevice/submit', + method: 'POST', + data: data + }) +} +/** + * 根据id查询详情 + */ +export const getInfoById = (data: any) => { + return createAxios({ + url: '/supervision-boot/checkDevice/getInfoById', + method: 'POST', + params: data + }) +} +/** + * 根据id查询详情 + */ +export const cancel = (data: any) => { + return createAxios({ + url: '/supervision-boot/checkDevice/cancel', + method: 'POST', + data: data + }) +} + + + diff --git a/src/components/table/fieldRender/index.vue b/src/components/table/fieldRender/index.vue index 70e3561e..e2e7dcd8 100644 --- a/src/components/table/fieldRender/index.vue +++ b/src/components/table/fieldRender/index.vue @@ -28,7 +28,7 @@