From f7bd94cf4a3d6ce6b06c2f90413f6798c488481d Mon Sep 17 00:00:00 2001 From: batman <978517621@qq.com> Date: 星期三, 15 三月 2023 10:21:22 +0800 Subject: [PATCH] 修改特殊作业首页 --- src/views/facilityManagement/facilityIndex/index.vue | 950 +++++++++++++++++++++++++++++++++------------------------- 1 files changed, 538 insertions(+), 412 deletions(-) diff --git a/src/views/facilityManagement/facilityIndex/index.vue b/src/views/facilityManagement/facilityIndex/index.vue index 0e011e8..598286f 100644 --- a/src/views/facilityManagement/facilityIndex/index.vue +++ b/src/views/facilityManagement/facilityIndex/index.vue @@ -1,36 +1,50 @@ <template> - <div class="home-container"> + <div class="home-container" :class="isFull==true?'container':''" id="bigScreen"> + <div class="full"> + <el-button v-if="isFull==false" type="text" style="height: 34px" @click="toFullscreen"> + <el-icon style="vertical-align: middle"> + <FullScreen /> + </el-icon> + <span style="vertical-align: middle">全屏</span> + </el-button> + <el-button v-else type="text" style="height: 34px" @click="toFullscreen"> + <el-icon style="vertical-align: middle"> + <Close /> + </el-icon> + <span style="vertical-align: middle">退出全屏</span> + </el-button> + </div> <div class="topChart"> - <div class="chart-item"> + <div class="chart-item" :class="zin==1?'upItem':''"> <div class="chart-tit"> <span class="tit">当前时间设备状态</span> <div class="filter-part filter-part2"> - <el-cascader v-model="chartSearch1.searchDep" :options="departmentList" :props="casProps" :show-all-levels="false" size="small"/> + <el-cascader @focus="upgrade(1)" :teleported="false" v-model="chartSearch1.searchDep" :options="departmentList" :props="casProps" :show-all-levels="false" size="small"/> </div> </div> <div class="chart" :id="sbzt"></div> </div> - <div class="chart-item"> + <div class="chart-item" :class="zin==2?'upItem':''"> <div class="chart-tit"> <span class="tit">设备异常趋势</span> <div class="filter-part filter-part2"> - <el-cascader v-model="chartSearch2.searchDep" :options="departmentList" :props="casProps" :show-all-levels="false" size="small"/> + <el-cascader @focus="upgrade(2)" :teleported="false" v-model="chartSearch2.searchDep" :options="departmentList" :props="casProps" :show-all-levels="false" size="small"/> </div> </div> <div class="chart" :id="ycqs"></div> </div> - <div class="chart-item"> + <div class="chart-item" :class="zin==3?'upItem':''"> <div class="chart-tit"> <span class="tit">关联作业排行</span> <div class="filter-part filter-part3"> - <el-cascader v-model="chartSearch3.searchDep" :options="departmentList" :props="casProps" :show-all-levels="false" size="small"/> - <el-select v-model="chartSearch3.period" size="small"> + <el-cascader @focus="upgrade(3)" :teleported="false" v-model="chartSearch3.searchDep" :options="departmentList" :props="casProps" :show-all-levels="false" size="small"/> + <el-select :teleported="false" v-model="chartSearch3.period" size="small"> <el-option label="近7天" value="week"/> <el-option label="近30天" value="month"/> <el-option label="近90天" value="season"/> <el-option label="近1年" value="year"/> </el-select> - <el-select v-model="chartSearch3.workType" size="small"> + <el-select :teleported="false" v-model="chartSearch3.workType" size="small"> <el-option v-for="item in workType1" :key="item.id" @@ -40,64 +54,55 @@ </el-select> </div> </div> - <div class="chart" style="margin-top: 10px"> - <el-table ref="multipleTableRef" :data="warningData" style="width: 100%" :header-cell-style="{ background: '#fafafa' }"> - <el-table-column property="name" label="姓名" align="center"/> - <el-table-column property="depName" label="所属部门" align="center"/> - <el-table-column property="applyUname" label="异常报警次数" align="center"/> - <el-table-column property="operators" label="角色" align="center"/> - <el-table-column label="是否持证" align="center"> - <template #default="scope"> - - </template> - </el-table-column> + <div class="chart"> + <el-table ref="multipleTableRef" :data="rankData" style="width: 100%" stripe border :header-cell-style="{ background: '#fafafa' }"> + <el-table-column property="num" label="设备位号" align="center"/> + <el-table-column property="name" label="设备名称" align="center"/> + <el-table-column property="dep" label="所属部门" align="center"/> + <el-table-column property="count" label="关联次数" align="center"/> </el-table> - <el-button type="text" size="small">查看所有设计特殊作业的设备>></el-button> + <el-button type="text" size="small" style="margin-top: 10px">查看所有涉及殊作业的设备>></el-button> </div> <!-- <div class="chart" :id="ycqs"></div>--> </div> </div> <div class="topChart"> - <div class="chart-item chart-item2"> + <div class="chart-item chart-item2" :class="zin==4?'upItem':''"> <div class="chart-tit"> <span class="tit">关联作业趋势图</span> <div class="filter-part filter-part2"> - <el-cascader v-model="chartSearch4.searchDep" :options="departmentList" :props="casProps" :show-all-levels="false" size="small"/> + <el-cascader @focus="upgrade(4)" :teleported="false" v-model="chartSearch4.searchDep" :options="departmentList" :props="casProps" :show-all-levels="false" size="small"/> </div> </div> - <div class="chart" style="margin-top: 10px"> + <div class="chart"> <el-table :data="wdsbData" style="width: 100%" stripe border :header-cell-style="{ background: '#fafafa' }"> - <el-table-column label="设备位号" align="center"/> - <el-table-column label="设备名称" align="center"/> - <el-table-column label="所属事业部" align="center"/> - <el-table-column label="温度敏感范围" align="center"/> - <el-table-column label="当前气温" align="center"/> - <el-table-column label="状态" align="center" width="180"> + <el-table-column prop="num" label="设备位号" align="center"/> + <el-table-column prop="name" label="设备名称" align="center"/> + <el-table-column prop="dep" label="所属事业部" align="center"/> + <el-table-column prop="temRange" label="温度敏感范围" align="center"/> + <el-table-column prop="tem" label="当前气温" align="center"/> + <el-table-column prop="status" label="状态" align="center" width="180"> <template #default="scope"> - <span :style="{color: scope.row.taskStatus == 1 ? '#999' : scope.row.taskStatus == 2 ? '#44b100' : scope.row.taskStatus == 3 ? '#409eff' : 'red'}">{{ scope.row.taskStatus == 1 ? '待巡检' : scope.row.taskStatus == 2 ? '巡检中' : scope.row.taskStatus == 3 ? '已巡检' : '超期未巡检' }}</span> + <el-tag :type="scope.row.status == 0 ? 'success' : scope.row.status == 1 ? '' : 'danger'">{{ scope.row.status == 0 ? '正常' : scope.row.status == 1 ? '低温警报' : '高温警报' }}</el-tag> </template> </el-table-column> </el-table> - <el-pagination v-model:currentPage="chartSearch4.pageIndex" v-model:page-size="chartSearch4.pageSize" :page-sizes="[10, 15]" small="false" background layout="total, sizes, prev, pager, next, jumper" :total="totalSize" @size-change="handleSizeChange" @current-change="handleCurrentChange" /> + <div class="pageBtn" style="margin-top: 10px"> + <el-pagination v-model:currentPage="pageIndex1" v-model:page-size="pageSize1" :page-sizes="[3]" small="false" background layout="total, sizes, prev, pager, next, jumper" :total="totalSize1" @size-change="handleSizeChange1" @current-change="handleCurrentChange1" /> + </div> </div> </div> - <div class="chart-item chart-item2"> + <div class="chart-item chart-item2" :class="zin==5?'upItem':''"> <div class="chart-tit"> <span class="tit">其他数据分析</span> <div class="filter-part filter-part2"> - <el-cascader v-model="chartSearch4.searchDep" :options="departmentList" :props="casProps" :show-all-levels="false" size="small"/> + <el-cascader @focus="upgrade(5)" :teleported="false" v-model="chartSearch4.searchDep" :options="departmentList" :props="casProps" :show-all-levels="false" size="small"/> </div> </div> <div class="chart" style="margin-top: 10px;display: flex;align-items: center"> - <div class="c-item" :id="aqxj"> - - </div> - <div class="c-item" :id="aqby"> - - </div> - <div class="c-item" :id="yhxh"> - - </div> + <div class="c-item" :id="aqxj"></div> + <div class="c-item" :id="aqby"></div> + <div class="c-item" :id="yhxh"></div> </div> </div> </div> @@ -120,6 +125,7 @@ import Cookies from 'js-cookie'; import axios from 'axios'; import * as echarts from "echarts"; +import screenfull from "screenfull"; // 定义接口来定义对象的类型 interface stateType { @@ -139,19 +145,17 @@ chartSearch2: object; chartSearch3: object; chartSearch4: object; - searchDep2: number | null; - searchDep: number | null; - searchDate: Array<any>, totalSize1: number; details: {}; workType: Array<type>; workType1: Array<type>; dialogType: number | null; departmentList: Array<any>; - departmentRecursionList: Array<DepartmentState>; - workStatus: Array<status>; - reviewForm: object; - reviewRules: object; + rankData: Array<any>; + wdsbData: Array<any>; + isFull:boolean; + themeColor:string; + zin:number } interface type { id: number; @@ -177,20 +181,21 @@ const userInfo = useUserInfo(); const { userInfos } = storeToRefs(userInfo); const router = useRouter(); - const reviewFormRef = ref<FormInstance>() const sbzt = ref("eChartSbzt" + Date.now() + Math.random()) const ycqs = ref("eChartYcqs" + Date.now() + Math.random()) const aqxj = ref("eChartAqxj" + Date.now() + Math.random()) const aqby = ref("eChartAqby" + Date.now() + Math.random()) const yhxh = ref("eChartYhxh" + Date.now() + Math.random()) const state = reactive<stateType>({ + isFull: false, + themeColor: '#333', + zin: 1, pageIndex1: 1, - pageSize1: 10, - totalSize1: 0, + pageSize1: 3, + totalSize1: 3, dialogType: null, dialogReview: false, departmentList: [], - departmentRecursionList: [], chosenIndex: null, searchWord: null, searchStatus: null, @@ -208,9 +213,6 @@ chartSearch4: { searchDep: null }, - searchDep2: null, - searchDep: null, - searchDate: [], applyData: [], workTimeList: [], multipleSelection: [], @@ -248,34 +250,68 @@ { id: 7, name: '临时用电作业' }, { id: 8, name: '盲板抽堵作业' } ], - workStatus: [ + rankData: [ { - name: '作业进行中', - value: 0 + num: '111', + name: '设备1', + dep: '事业部1', + count: 58 }, { - name: '作业终止', - value: 1 + num: '222', + name: '设备2', + dep: '事业部2', + count: 58 }, { - name: '作业结束待验收', - value: 2 + num: '333', + name: '设备3', + dep: '事业部3', + count: 58 }, { - name: '作业完成', - value: 3 + num: '444', + name: '设备4', + dep: '事业部4', + count: 58 + }, + { + num: '555', + name: '设备5', + dep: '事业部5', + count: 58 } ], - reviewForm: { - advice: '' - }, - reviewRules:{ - advice: [{ required: true, message: '请填写验收意见', trigger: 'blur' }] - } + wdsbData: [ + { + num: '111', + name: '设备1', + dep: '事业部1', + temRange: '>=35摄氏度', + tem: '38摄氏度', + status: '2' + }, + { + num: '222', + name: '设备1', + dep: '事业部1', + temRange: '<=55摄氏度', + tem: '38摄氏度', + status: '1' + }, + { + num: '333', + name: '设备1', + dep: '事业部1', + temRange: '>=55摄氏度', + tem: '38摄氏度', + status: '0' + } + ] }); // 页面载入时执行方法 onMounted(() => { - getListByPage(); + // getListByPage(); getAllDepartment(); initSbzt() initYcqs() @@ -283,7 +319,30 @@ initAqby() initYhxh() }); - + const toFullscreen =()=>{ + console.log(state.isFull,'quanp',state.themeColor) + const element = document.getElementById('bigScreen') + if (!screenfull.isEnabled) { + ElMessage.warning('暂不不支持全屏'); + return false; + } + screenfull.toggle(element); + state.isFull = !state.isFull + if(state.isFull == true){ + state.themeColor = '#11FEEE' + }else{ + state.themeColor = '#333' + } + initSbzt() + initYcqs() + initAqxj() + initAqby() + initYhxh() + } + const upgrade =(level:number)=>{ + state.zin = level + console.log(state.zin,'zin') + } type EChartsOption = echarts.EChartsOption const initSbzt =()=>{ let dom = document.getElementById(sbzt.value); @@ -294,34 +353,49 @@ trigger: 'item' }, legend: { - orient: 'vertical', - left: 'left', - top: 'center' + bottom: '10%', + textStyle: { + // 设置默认的文字颜色 + color: state.themeColor, + fontSize: 12 + }, + itemStyle: { + borderWidth: 0 // 设置图例边框宽度为0 + } }, series: [ { - name: 'Access From', + name: '当前时间设备状态', type: 'pie', radius: '50%', + center: ['50%','35%'], avoidLabelOverlap: false, itemStyle: { borderRadius: 1, borderColor: '#fff', - borderWidth: 2 + borderWidth: 1 }, label: { - show: false, - position: 'center' - }, - emphasis: { - label: { - show: true, - fontSize: 40, - fontWeight: 'bold' - } + show: true, + position: 'outside', + overflow: 'truncate', + borderWidth: 0, + color: state.themeColor }, labelLine: { - show: true + show: true, // 显示指示线 + lineStyle: { + color: '#ccc', + width: 1, + type: 'solid' + } + }, + emphasis: { + itemStyle: { + shadowBlur: 10, + shadowOffsetX: 0, + shadowColor: 'rgba(0, 0, 0, 0.5)' + }, }, data: [ { value: 1048, name: '在用' }, @@ -345,10 +419,23 @@ option = { xAxis: { type: 'category', - data: ['四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月', '一月', '二月', '三月'] + data: ['四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月', '一月', '二月', '三月'], + axisLabel: { + color: state.themeColor + } }, yAxis: { - type: 'value' + splitLine: { + show: true, + lineStyle: { + color: '#fafafa', + width: 1, + type: 'dashed' + } + }, + axisLabel:{ + color: '#ccc' + } }, grid: { top: '8%', @@ -357,7 +444,10 @@ series: [ { data: [150, 230, 224, 218, 135, 147, 230, 224, 218, 135, 147, 260], - type: 'line' + type: 'line', + label:{ + show: true + } } ] } @@ -374,20 +464,32 @@ option = { title: { text: '按期巡检率', - left: 'center' + left: 'center', + textStyle:{ + color: state.themeColor + } }, tooltip: { trigger: 'item' }, legend: { bottom: '5%', - left: 'center' + left: 'center', + textStyle: { + // 设置默认的文字颜色 + color: state.themeColor, + fontSize: 12 + }, + itemStyle: { + borderWidth: 0 // 设置图例边框宽度为0 + } }, series: [ { - name: 'Access From', + name: '按期巡检率', type: 'pie', radius: ['40%', '70%'], + center: ['50%','48%'], avoidLabelOverlap: false, itemStyle: { borderRadius: 1, @@ -428,20 +530,32 @@ option = { title: { text: '按期保养率', - left: 'center' + left: 'center', + textStyle:{ + color: state.themeColor + } }, tooltip: { trigger: 'item' }, legend: { bottom: '5%', - left: 'center' + left: 'center', + textStyle: { + // 设置默认的文字颜色 + color: state.themeColor, + fontSize: 12 + }, + itemStyle: { + borderWidth: 0 // 设置图例边框宽度为0 + } }, series: [ { - name: 'Access From', + name: '按期保养率', type: 'pie', radius: ['40%', '70%'], + center: ['50%','48%'], avoidLabelOverlap: false, itemStyle: { borderRadius: 1, @@ -482,20 +596,32 @@ option = { title: { text: '隐患销号率', - left: 'center' + left: 'center', + textStyle:{ + color: state.themeColor + } }, tooltip: { trigger: 'item' }, legend: { bottom: '5%', - left: 'center' + left: 'center', + textStyle: { + // 设置默认的文字颜色 + color: state.themeColor, + fontSize: 12 + }, + itemStyle: { + borderWidth: 0 // 设置图例边框宽度为0 + } }, series: [ { - name: 'Access From', + name: '隐患销号率', type: 'pie', radius: ['40%', '70%'], + center: ['50%','48%'], avoidLabelOverlap: false, itemStyle: { borderRadius: 1, @@ -531,7 +657,7 @@ } // 刷新 const reLoadData = async () => { - getListByPage(); + // getListByPage(); }; // 填写表单 @@ -556,29 +682,29 @@ }; // 分页获取列表 - const getListByPage = async () => { - const dateRange = JSON.parse(JSON.stringify(state.searchDate)) - if(dateRange[1]){dateRange[1] = dateRange[1].replace('00:00:00','23:59:59')} - const data = { pageSize: state.pageSize1, pageIndex: state.pageIndex1, searchParams: { workType: state.searchWord, applyDepId: state.searchDep,applyStartTime: dateRange[0],applyEndTime: dateRange[1]} }; - let res = await workApplyApi().getApplyList(data); - if (res.data.code === '200') { - state.applyData = JSON.parse(JSON.stringify(res.data.data)); - state.applyData = state.applyData.map((item) => { - if (item.operators == null || item.operators == []) { - item.operators = []; - } else { - item.operators = Array.from(item.operators, ({ operatorUname }) => operatorUname); - } - return item; - }); - state.totalSize1 = res.data.total; - } else { - ElMessage({ - type: 'warning', - message: res.data.msg - }); - } - }; + // const getListByPage = async () => { + // const dateRange = JSON.parse(JSON.stringify(state.searchDate)) + // if(dateRange[1]){dateRange[1] = dateRange[1].replace('00:00:00','23:59:59')} + // const data = { pageSize: state.pageSize1, pageIndex: state.pageIndex1, searchParams: { workType: state.searchWord, applyDepId: state.searchDep,applyStartTime: dateRange[0],applyEndTime: dateRange[1]} }; + // let res = await workApplyApi().getApplyList(data); + // if (res.data.code === '200') { + // state.applyData = JSON.parse(JSON.stringify(res.data.data)); + // state.applyData = state.applyData.map((item) => { + // if (item.operators == null || item.operators == []) { + // item.operators = []; + // } else { + // item.operators = Array.from(item.operators, ({ operatorUname }) => operatorUname); + // } + // return item; + // }); + // state.totalSize1 = res.data.total; + // } else { + // ElMessage({ + // type: 'warning', + // message: res.data.msg + // }); + // } + // }; // 表格数据格式化 const toNames = (row, column, cellValue, index) => { @@ -598,32 +724,32 @@ }; // 关键词查询记录 - const searchRecord = async () => { - if (state.searchWord == null && state.searchStatus == null && state.searchDep == null && state.searchDate == []) { - ElMessage({ - type: 'warning', - message: '请输入查询关键词' - }); - } else { - getListByPage(); - } - }; + // const searchRecord = async () => { + // if (state.searchWord == null && state.searchStatus == null && state.searchDep == null && state.searchDate == []) { + // ElMessage({ + // type: 'warning', + // message: '请输入查询关键词' + // }); + // } else { + // getListByPage(); + // } + // }; // 重置搜索 - const clearSearch = async () => { - state.searchWord = null; - state.searchDep = null; - state.searchDate = [] - getListByPage(); - }; - - const handleSizeChange1 = (val: number) => { - state.pageSize1 = val; - getListByPage(); - }; - const handleCurrentChange1 = (val: number) => { - state.pageIndex1 = val; - getListByPage(); - }; + // const clearSearch = async () => { + // state.searchWord = null; + // state.searchDep = null; + // state.searchDate = [] + // getListByPage(); + // }; + // + // const handleSizeChange1 = (val: number) => { + // state.pageSize1 = val; + // getListByPage(); + // }; + // const handleCurrentChange1 = (val: number) => { + // state.pageIndex1 = val; + // getListByPage(); + // }; const handleReview = (row)=>{ state.dialogReview = true @@ -656,22 +782,23 @@ Finished, Download, FolderChecked, - reviewFormRef, sbzt, ycqs, aqxj, aqby, yhxh, + toFullscreen, + upgrade, handleReview, submitReview, reLoadData, toApply, toNames, - searchRecord, - clearSearch, - getListByPage, - handleSizeChange1, - handleCurrentChange1, + // searchRecord, + // clearSearch, + // getListByPage, + // handleSizeChange1, + // handleCurrentChange1, ...toRefs(state) }; } @@ -684,6 +811,14 @@ height: calc(100vh - 144px); box-sizing: border-box; overflow: hidden; + .full{ + position:fixed; + height: 34px; + line-height: 34px; + top: 80px; + right: 20px; + z-index: 9; + } .demo-tabs { width: 100%; height: 100%; @@ -698,11 +833,11 @@ } .topChart{ width: 100%; + height: calc(50% - 10px); display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; - height: 50%; .chart-item{ width: calc((100% - 40px)/3); @@ -718,6 +853,7 @@ .chart-tit{ width: 100%; + height: 15%; display: flex; align-items: flex-start; justify-content: space-between; @@ -762,11 +898,71 @@ } .chart{ width: 100%; - height: 88%; - + height: 85%; + .el-table{ + height: 90% !important; + :deep(.el-table__inner-wrapper){ + height: 100% !important; + .el-table__header-wrapper { + height: 20% !important; + .el-table__header{ + height: 100% !important; + th{ + height: 100% !important; + padding: 0 0 !important; + .cell{ + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } + } + } + } + .el-table__body-wrapper { + height: 80% !important; + .el-scrollbar__view{ + height: 100% !important; + .el-table__body{ + height: 100% !important; + tbody{ + height: 100% !important; + .el-table__row{ + height: 20% !important; + td{ + height: 20% !important; + padding: 0 0 !important; + .left-info{ + display: flex; + align-items: center; + } + .cell{ + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } + .el-button{ + padding: 0 !important; + } + } + } + } + } + } + } + } + } .c-item{ width: calc((100% - 20px)/3); height: 100%; + } + .pageBtn { + display: flex; + align-items: center; + justify-content: right; + + .demo-pagination-block .demonstration { + margin-bottom: 16px; + } } } .el-radio-group{ @@ -803,268 +999,63 @@ &:last-of-type{ margin-right: 0; } - } - } - .homeCard { - width: 100%; - padding: 20px; - box-sizing: border-box; - background: #fff; - border-radius: 4px; - - .main-card { - width: 100%; - height: 100%; - .cardTop { - display: flex; - align-items: center; - justify-content: space-between; - margin-bottom: 20px; - .mainCardBtn { - margin: 0; + .chart{ + .el-table{ + height: 90% !important; + :deep(.el-table__inner-wrapper){ + height: 100% !important; + .el-table__header-wrapper { + height: 20% !important; + .el-table__header{ + height: 100% !important; + th{ + height: 100% !important; + padding: 0 0 !important; + .cell{ + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } + } } - - .top-info { - display: flex; - font-size: 16px; - font-weight: bolder; - align-items: center; - padding: 6px 10px; - background: #ffeb87; - border-radius: 4px; - border: 1px solid #ffae00; - margin-right: 20px; - - & > div { - vertical-align: middle; - white-space: nowrap; - span { - font-size: 22px; - color: #f3001e; - margin: 0 2px; - cursor: pointer; - - &:hover{ - text-decoration: underline; + } + .el-table__body-wrapper { + height: 80% !important; + .el-scrollbar__view{ + height: 100% !important; + .el-table__body{ + height: 100% !important; + tbody{ + height: 100% !important; + .el-table__row{ + height: 20% !important; + td{ + height: 20% !important; + padding: 0 0 !important; + .left-info{ + display: flex; + align-items: center; + } + .cell{ + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } + .el-button{ + padding: 0 !important; + } + } + } } } } } } - .pageBtn { - height: 60px; - display: flex; - align-items: center; - justify-content: right; - - .demo-pagination-block + .demo-pagination-block { - margin-top: 10px; - } - .demo-pagination-block .demonstration { - margin-bottom: 16px; - } - } + } } + } } - .stepItem { - display: flex; - align-items: flex-start; - margin-top: 30px; - margin-left: 30px; - padding-bottom: 30px; - padding-left: 40px; - border-left: 1px solid #a0cfff; - position: relative; - &:first-of-type { - margin-top: 30px; - } - &:first-of-type { - margin-bottom: 0; - border-left: none; - } - .stepNum { - position: absolute; - width: 40px; - height: 40px; - border-radius: 20px; - box-sizing: border-box; - font-size: 18px; - color: #333; - border: 1px solid #a0cfff; - line-height: 38px; - text-align: center; - left: -20px; - top: -30px; - background: #d9ecff; - } - .stepCard { - width: 100%; - margin-top: -30px; - .box-card { - width: 100%; - - .card-header { - display: flex; - justify-content: space-between; - align-items: center; - - span { - font-weight: bold; - margin-left: 10px; - } - } - - .text { - width: 100%; - font-size: 14px; - margin-bottom: 10px; - padding-left: 10px; - - span { - font-weight: bolder; - color: #409eff; - } - - &:last-of-type { - margin-bottom: 0; - } - } - .approveUnit { - width: 100%; - font-size: 14px; - margin-bottom: 20px; - padding: 10px 15px; - border: 1px solid #fff; - background: #ecf8ff; - border-radius: 6px; - .item-tit { - width: 100%; - display: flex; - color: #409eff; - align-items: flex-start; - justify-content: space-between; - padding-bottom: 10px; - border-bottom: 1px solid #a0cfff; - - & > span { - flex: 1; - &:last-of-type{ - text-align: center; - } - } - & > div { - flex: 1; - text-align: center; - } - } - .item-cont { - width: 100%; - display: flex; - align-items: center; - justify-content: space-between; - padding: 10px 0; - border-bottom: 1px solid #c6e2ff; - - & > span { - flex: 1; - &:last-of-type{ - text-align: center; - } - } - & > div { - flex: 1; - text-align: center; - - & > div { - text-align: left; - width: 100%; - display: flex; - justify-content: center; - align-items: center; - span { - width: 45%; - &:first-of-type { - width: 30%; - } - } - } - } - &:last-of-type { - border-bottom: 0; - } - } - } - .approveItem { - width: 100%; - font-size: 14px; - margin-bottom: 20px; - padding: 10px 15px; - background: #ecf8ff; - border: 1px solid #fff; - border-radius: 6px; - .item-tit { - width: 100%; - display: flex; - color: #409eff; - align-items: flex-start; - justify-content: space-between; - padding-bottom: 10px; - border-bottom: 1px solid #a0cfff; - - & > span { - flex: 1; - } - & > div { - flex: 2; - text-align: center; - } - } - .item-cont { - width: 100%; - display: flex; - align-items: center; - justify-content: space-between; - padding: 10px 0; - border-bottom: 1px solid #c6e2ff; - - & > span { - flex: 1; - } - & > div { - flex: 2; - text-align: center; - - & > div { - text-align: left; - width: 100%; - display: flex; - justify-content: center; - align-items: flex-start; - margin-bottom: 10px; - span { - width: 50%; - &:first-of-type { - width: 25%; - } - } - } - } - &:last-of-type { - border-bottom: 0; - } - } - } - } - } - &:hover .card-header { - color: #0098f5; - } - &:hover .stepNum { - border: 2px solid #0098f5; - color: #0098f5; - } - } .el-row { display: flex; align-items: center; @@ -1091,6 +1082,141 @@ } } } +.container{ + padding: 20px; + background: url('../../../assets/spwbg.png') no-repeat center; + + .full{ + position:fixed; + background: rgba(0,0,0,.2); + border: 1px solid rgba(54, 252, 252, .6); + border-radius: 17px 1px 1px 17px; + box-shadow: 3px 3px 12px rgba(0,0,0,.2); + height: 32px; + line-height: 30px; + top: 10px; + right: 2px; + display: flex; + justify-content: center; + backdrop-filter: blur(2px); + z-index: 99999; + } + .topChart{ + .chart-item{ + border-radius: 4px; + background: rgba(8, 109, 209, 0.2); + border: 1px solid rgba(54, 252, 252, .6); + backdrop-filter: blur(5px); + + .el-radio.is-bordered.is-checked{ + border-color: #11FEEE !important; + :deep(.el-radio__inner){ + border-color: #11FEEE !important; + background: #11FEEE !important; + } + :deep(.el-radio__label){ + color: #11FEEE !important + } + } + .chart-tit{ + .tit{ + color: #11FEEE; + } + + ::v-deep(.el-popper){ + background-color: rgba(10,31,92,1); + border: 1px solid rgba(17,254,238,.4); + color: #11FEEE; + .el-cascader-node{ + .in-active-path{ + background: #0049af; + } + &:hover{ + background: #0049af; + } + } + .el-cascader-node__label{ + color: #11FEEE; + } + .el-icon{ + color: #11FEEE; + } + .el-select-dropdown__item{ + color: #11FEEE; + } + .el-select-dropdown__item.hover{ + background: #0049af; + } + } + ::v-deep(.el-popper__arrow){ + &::before{ + background-color: rgba(10,31,92,.6) !important; + border: 1px solid rgba(17,254,238,.4); + } + } + ::v-deep(.el-input__wrapper){ + box-shadow: none; + border: 1px solid rgba(17,254,238,.2); + background: rgba(10,31,92,.6) !important; + height: 1.5rem; + color: #11FEEE; + + input{ + font-size: 0.8rem; + color: #11FEEE; + } + .el-icon{ + color: #11FEEE; + } + } + } + .chart{ + .el-table { + color: #11FEEE !important; + background-color: rgba(0,0,0,0) !important; + :deep(thead){ + color: #11FEEE !important; + background-color: #092846 !important + } + :deep(tr){ + background-color: rgba(0,0,0,0) !important; + .el-table__cell{ + background-color: rgba(0,0,0,0) !important; + } + } + } + .el-button--text{ + color: #11FEEE; + } + } + } + .upItem{ + position: relative; + z-index: 9999; + } + .chart-item2{ + .chart{ + .el-table { + color: #11FEEE !important; + background-color: rgba(0,0,0,0) !important; + :deep(thead){ + color: #11FEEE !important; + background-color: #092846 !important + } + :deep(tr){ + background-color: rgba(0,0,0,0) !important; + .el-table__cell{ + background-color: rgba(0,0,0,0) !important; + } + } + } + .el-button--text{ + color: #11FEEE; + } + } + } + } +} .el-card { border: 0; } -- Gitblit v1.9.2