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 @@
- + {{ field.replaceValue ? field.replaceValue[fieldValue] : fieldValue }}
diff --git a/src/views/pqs/supervise/terminalNetworkDetection/components/cycleDetection/detail.vue b/src/views/pqs/supervise/terminalNetworkDetection/components/cycleDetection/detail.vue new file mode 100644 index 00000000..9338bce8 --- /dev/null +++ b/src/views/pqs/supervise/terminalNetworkDetection/components/cycleDetection/detail.vue @@ -0,0 +1,118 @@ + + diff --git a/src/views/pqs/supervise/terminalNetworkDetection/components/cycleDetection/form.vue b/src/views/pqs/supervise/terminalNetworkDetection/components/cycleDetection/form.vue new file mode 100644 index 00000000..facb6fe8 --- /dev/null +++ b/src/views/pqs/supervise/terminalNetworkDetection/components/cycleDetection/form.vue @@ -0,0 +1,148 @@ + + + + diff --git a/src/views/pqs/supervise/terminalNetworkDetection/components/cycleDetection/index.vue b/src/views/pqs/supervise/terminalNetworkDetection/components/cycleDetection/index.vue new file mode 100644 index 00000000..f380c7ad --- /dev/null +++ b/src/views/pqs/supervise/terminalNetworkDetection/components/cycleDetection/index.vue @@ -0,0 +1,224 @@ + + + + + diff --git a/src/views/pqs/supervise/terminalNetworkDetection/index.vue b/src/views/pqs/supervise/terminalNetworkDetection/index.vue index bf8c3ac6..46bfb315 100644 --- a/src/views/pqs/supervise/terminalNetworkDetection/index.vue +++ b/src/views/pqs/supervise/terminalNetworkDetection/index.vue @@ -10,6 +10,9 @@ + + + @@ -20,6 +23,7 @@ import { mainHeight } from '@/utils/layout' import terminal from './components/terminainal/index.vue' import monitorpoint from './components/monitorpoint/index.vue' import jointDebugList from './components/jointDebugList/index.vue' +import cycleDetection from './components/cycleDetection/index.vue' defineOptions({ name: 'terminalNetwotk' })