Merge branch 'hi-ucs-dev' of http://192.168.124.50:3000/wuhongjian/hi-ucs into hi-ucs-dev

This commit is contained in:
gongjiale 2022-12-30 16:55:22 +08:00
commit 69b0e17a85
6 changed files with 36 additions and 13 deletions

View File

@ -79,7 +79,7 @@ export default {
} }
], ],
tableData: [], tableData: [],
maxSize: { y: 195 }, maxSize: { y: 235 },
loadingDynamic: false, loadingDynamic: false,
loadingTable: false loadingTable: false
} }
@ -170,6 +170,7 @@ export default {
font-size: 16px; font-size: 16px;
color: #212121; color: #212121;
text-align: center; text-align: center;
box-shadow: 2px 2px 5px #ccc;
} }
.container { .container {
background: #fff; background: #fff;
@ -177,6 +178,7 @@ export default {
height: 335px; height: 335px;
padding: 0px 0 0 10px; padding: 0px 0 0 10px;
box-sizing: border-box; box-sizing: border-box;
box-shadow: 2px 2px 5px #ccc;
} }
} }
@ -256,6 +258,10 @@ export default {
::v-deep .ant-table-thead { ::v-deep .ant-table-thead {
background-color: #f4f5f8; background-color: #f4f5f8;
} }
::v-deep .ant-table-header{
margin-right: -17px;
}
::v-deep .ant-table-body::-webkit-scrollbar{width:0;}
</style> </style>
<style lang="scss"> <style lang="scss">
.testTooltip { .testTooltip {

View File

@ -1,8 +1,8 @@
<!-- <!--
* @Author: hisense.wuhongjian * @Author: hisense.wuhongjian
* @Date: 2022-07-05 12:53:03 * @Date: 2022-07-05 12:53:03
* @LastEditors: hisense.wuhongjian * @LastEditors: Light
* @LastEditTime: 2022-08-26 10:24:16 * @LastEditTime: 2022-12-30 10:07:30
* @Description: 告诉大家这是什么 * @Description: 告诉大家这是什么
--> -->
<template> <template>
@ -35,5 +35,9 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
&>div{
box-shadow: 2px 2px 5px #ccc;
}
} }
</style> </style>

View File

@ -211,6 +211,7 @@ export default {
.num { .num {
font-size: 30px; font-size: 30px;
font-weight: 600;
} }
.unit { .unit {

View File

@ -68,7 +68,6 @@ export default {
const valueItem = y + '-' + m + '-' + d // const valueItem = y + '-' + m + '-' + d //
days.unshift(valueItem) // days.unshift(valueItem) //
} }
return days return days
}, },
@ -88,7 +87,6 @@ export default {
endDate: this.endDate endDate: this.endDate
}, },
(res) => { (res) => {
if (res.data.data && res.data.data.length > 0) { if (res.data.data && res.data.data.length > 0) {
this.data = res.data.data[0].values this.data = res.data.data[0].values
this.data.map((item) => { this.data.map((item) => {
@ -106,23 +104,23 @@ export default {
} else { } else {
this.trendChartData = { this.trendChartData = {
xaxis: this.ydata, xaxis: this.ydata,
ydata:this.xaxis ydata: this.xaxis
} }
} }
this.$nextTick(() => { this.$nextTick(() => {
trendLineChart('trendId', this.trendChartData) trendLineChart('trendId', this.trendChartData)
}) })
}, },
(err) => { (err) => {
} }
) )
}, },
handleTitleSwitch (idx) { handleTitleSwitch (idx) {
this.selectedTitle = idx this.selectedTitle = idx
this.startDate = this.getData(this.selectedTitle == 0 ? 7 : 30) this.startDate = this.getData(this.selectedTitle == 0 ? 7 : 30)
this.initChart() this.initChart()
}, },
getData (aa) { getData (aa) {

View File

@ -73,13 +73,13 @@ export default {
}, },
// //
resourceData: [], resourceData: [],
resourceColor: ['#7b2cff', '#fd5151' , '#2ca1ff', '#0adbfa', '#febe13', '#65e5dd', '#f071ff', '#85f67a'], resourceColor: ['#fe845e', '#0058e1', '#48c6c7', '#48c760', '#9c78ed', '#ff9999', '#d5c438', '#ff3e55'],
// //
applyData: [], applyData: [],
applyColor: ['#5085f2', '#e75fc3', '#f87be2', '#f2719a', '#fca4bb', '#f59a8f', '#fdb301', '#57e7ec', '#cf9ef1'], applyColor: ['#fe845e', '#0058e1', '#48c6c7', '#48c760', '#9c78ed', '#ff9999', '#d5c438', '#ff3e55'],
// //
requireData: [], requireData: [],
requireColor: ['#FD866A', '#9E87FF', '#58D5FF', '#73DDFF', '#73ACFF', '#FDD56A', '#FDB36A'], requireColor: ['#fe845e', '#0058e1', '#48c6c7', '#48c760', '#9c78ed', '#ff9999', '#d5c438', '#ff3e55'],
loadingToDo: false, loadingToDo: false,
loadingHasToDo: false, loadingHasToDo: false,
loadingResource: false, loadingResource: false,
@ -252,12 +252,20 @@ export default {
width: 836px; width: 836px;
background: #fff; background: #fff;
margin-right: 16px; margin-right: 16px;
box-shadow: 2px 2px 5px #ccc;
} }
.dept-chart-box { .dept-chart-box {
width: 780px; width: 780px;
height: 100%; height: 100%;
background: #fff; background: #fff;
box-shadow: 2px 2px 5px #ccc;
&>div{
border-left: 1px solid rgba($color: #d0d4de, $alpha: 0.5);
}
&>div:nth-of-type(1){
border: none;
}
} }
} }
</style> </style>

View File

@ -619,7 +619,13 @@
right: 0rem; right: 0rem;
} }
} }
@media only screen and (min-width: 1921px) and (max-width: 3840px) { @media only screen and (min-width: 1921px) and (max-width: 2560px) {
.fixedmount {
bottom: 1.56rem;
right: 0.37rem;
}
}
@media only screen and (min-width: 2561px) and (max-width: 3840px) {
.fixedmount { .fixedmount {
bottom: 1.56rem; bottom: 1.56rem;
right: 9.6rem; right: 9.6rem;