From e2d556803e3138732ffde7d3d07b0a4a9b0b7f0a Mon Sep 17 00:00:00 2001 From: batman <978517621@qq.com> Date: 星期五, 10 三月 2023 10:33:40 +0800 Subject: [PATCH] 新修改添加页面 --- src/views/intellectInspect/inspectIndex2/index.vue | 18 ++++++++++++++++-- 1 files changed, 16 insertions(+), 2 deletions(-) diff --git a/src/views/intellectInspect/inspectIndex2/index.vue b/src/views/intellectInspect/inspectIndex2/index.vue index 2ef1411..7b43609 100644 --- a/src/views/intellectInspect/inspectIndex2/index.vue +++ b/src/views/intellectInspect/inspectIndex2/index.vue @@ -183,6 +183,7 @@ import { ElTable } from 'element-plus'; import { FormInstance, FormRules, ElMessage } from 'element-plus'; import { inspectRecordApi } from '/@/api/intellectInspectSystem/inspectRecord'; +import { inspectIndexApi } from '/@/api/intellectInspectSystem/inspectIndex' import { useRouter } from 'vue-router'; import * as echarts from 'echarts' import inspectRecordDialog from './components/inspectRecordDialog.vue'; @@ -323,6 +324,7 @@ // 页面载入时执行方法 onMounted(() => { getInspectRecord(); + getListExcepOrder(); getDayData(); getDepartmentData(); initXjLine() @@ -509,7 +511,7 @@ myChart.resize(); }); } - // 分页获取工作时段列表 + // 分页获取 const getInspectRecord = async () => { const data = { pageSize: state.pageSize, pageIndex: state.pageIndex }; let res = await inspectRecordApi().getInspectRecordByIndex(data); @@ -522,6 +524,19 @@ message: res.data.msg }); } + }; + // 分页获取 + const getListExcepOrder = async () => { + const data = { pageSize: state.pageSize, pageIndex: state.pageIndex }; + let res = await inspectIndexApi().getListExcepOrderByPage(data); + if (res.data.code === '200') { + console.log(res.data,'res') + } else { + ElMessage({ + type: 'warning', + message: res.data.msg + }); + } }; //获取部门 const getDepartmentData = async () => { @@ -872,7 +887,6 @@ line-height: 34px; top: 0; right: 20px; - z-index: 99999; } .topChart{ .chart-item{ -- Gitblit v1.9.2