src/router/index.ts
@@ -81,7 +81,7 @@ Session.clear(); NProgress.done(); } else if (token && to.path === '/login') { next('/homeMenu'); next('/home'); NProgress.done(); } else { const storesRoutesList = useRoutesList(pinia); src/router/route.ts
@@ -13,7 +13,7 @@ { path: '/home', name: 'home', component: () => import('/@/views/home/index.vue'), component: () => import('/@/views/newHome/index.vue'), meta: { title: '首页', isLink: '', src/views/home/index.vue
文件已删除 src/views/newHome/homeMenu.vue
文件已删除 src/views/riskWarningSys/warningBigScreen/components/SPI.vue
@@ -5,7 +5,7 @@ class="spiSe" :teleported="false" v-model="spiValue" :options="spiOptions" :options="departList" :props="spiProps" :show-all-levels="false" @change="handleChange" @@ -31,11 +31,13 @@ import * as echarts from 'echarts'; import '/@/theme/bigScreen.css' import {useScreenTheme} from "/@/stores/screenTheme"; import {teamManageApi} from "/@/api/systemManage/basicDateManage/personShiftManage/teamManage"; interface stateType { spiValue: number; spiOptions: Array<any>; spiChart: string departList: Array<any>; spiChart: string; spiProps: object } export default defineComponent({ name: 'SPI', @@ -51,55 +53,30 @@ const { screenTheme } = storeToRefs(screenThemes); const spi = ref("eChartSpi" + Date.now() + Math.random()) const state = reactive<stateType>({ spiValue: 0, spiOptions: [ { value: 0, label: '公司级别SPI' spiValue: 1, departList: [], spiProps: { expandTrigger: 'hover', checkStrictly: true, value: 'depId', label: 'depName', }, { value: 1, label: 'A事业部SPI', children: [ { value: 11, label: 'A车间SPI' }, { value: 12, label: 'B车间SPI' }, { value: 13, label: 'C车间SPI' } ] }, { value: 2, label: 'B事业部SPI', children: [ { value: 21, label: 'D车间SPI' }, { value: 22, label: 'E车间SPI' }, { value: 23, label: 'F车间SPI' } ] } ], spiChart: 'spi-dark' }) const spiProps = { expandTrigger: 'hover', checkStrictly: true // 获取部门列表 const getAllDepartment = async () => { let res = await teamManageApi().getAllDepartment(); if (res.data.code === '200') { state.departList = JSON.parse(JSON.stringify(res.data.data)) } else { ElMessage({ type: 'warning', message: res.data.msg }); } }; type EChartsOption = echarts.EChartsOption // 隐患整改情况 const initSpi =()=>{ @@ -125,7 +102,7 @@ grid: { left: '8%', right: '8%', bottom: '4%', bottom: '5%', }, xAxis: [ { @@ -312,6 +289,7 @@ // 页面载入时执行方法 onMounted(() => { getAllDepartment(); initSpi(); getTheme(); }); @@ -319,7 +297,6 @@ return { spi, Search, spiProps, fontSize, ...toRefs(state) }; src/views/specialWorkSystem/afterWorkManage/workTicketCheck/index.vue
文件已删除 src/views/specialWorkSystem/afterWorkManage/workTicketRecord/index.vue
文件已删除 src/views/specialWorkSystem/approveProcessManage/approveLinkSettings/approveTypeSetting/index.vue
文件已删除 src/views/specialWorkSystem/approveProcessManage/approveLinkSettings/linkSetting/index.vue
文件已删除 src/views/specialWorkSystem/approveProcessManage/approveLinkSettings/reportTypeSetting/index.vue
文件已删除 src/views/specialWorkSystem/approveProcessManage/approveProcessList/index.vue
文件已删除 src/views/specialWorkSystem/approveProcessManage/approveProcessSetting/index.vue
文件已删除 src/views/specialWorkSystem/approveProcessManage/examineTemplate/index.vue
文件已删除 src/views/specialWorkSystem/approveProcessManage/templateSetting/index.vue
文件已删除 src/views/specialWorkSystem/workApplyManage/myApply/index.vue
文件已删除 src/views/specialWorkSystem/workApplyManage/workTicket/components/blindPanelForm.vue
文件已删除 src/views/specialWorkSystem/workApplyManage/workTicket/components/cutLineForm.vue
文件已删除 src/views/specialWorkSystem/workApplyManage/workTicket/components/dirtWorkForm.vue
文件已删除 src/views/specialWorkSystem/workApplyManage/workTicket/components/fireWorkForm.vue
文件已删除 src/views/specialWorkSystem/workApplyManage/workTicket/components/hangLoadForm.vue
文件已删除 src/views/specialWorkSystem/workApplyManage/workTicket/components/highWorkForm.vue
文件已删除 src/views/specialWorkSystem/workApplyManage/workTicket/components/limitedSpaceForm.vue
文件已删除 src/views/specialWorkSystem/workApplyManage/workTicket/components/tempElectForm.vue
文件已删除 src/views/specialWorkSystem/workApplyManage/workTicket/index.vue
文件已删除 src/views/specialWorkSystem/workBasicManage/certificateFilterSetting/index.vue
文件已删除 src/views/specialWorkSystem/workBasicManage/personalProtectDevices/index.vue
文件已删除 src/views/specialWorkSystem/workBasicManage/safeMeasuresManage/index.vue
文件已删除 src/views/specialWorkSystem/workBasicManage/workTypeSetting/index.vue
文件已删除