feat : 新增图表多日期选择功能

This commit is contained in:
2024-03-13 17:20:20 +08:00
parent 499de290ab
commit d915fd378c
10 changed files with 292 additions and 59 deletions

View File

@@ -167,7 +167,7 @@ const info = ref({
})
const title = ref('新增站点')
const isVisited = ref(false);
const isUploadVisited = ref(false);
let isUploadVisited = ref(false);
const showFirst = ref(true)
const total = ref(10);
const showAddIcon = ref(true)
@@ -206,7 +206,7 @@ const getList = () => {
lock: true,
text: '正在加载系统资源...',
background: 'rgba(0, 0, 0, 0.7)',
customClass:'allLoading'
customClass: 'allLoading'
})
getSiteList({
userId: userId,
@@ -272,7 +272,7 @@ const handleEdit = (item) => {
lock: true,
text: '正在加载系统资源...',
background: 'rgba(0, 0, 0, 0.7)',
customClass:'allLoading'
customClass: 'allLoading'
})
getSiteDetail(item.siteId).then((res) => {
form.value = res.data;
@@ -667,7 +667,7 @@ const handleCurrentChange = (val) => {
.left-img {
margin-top: 50px;
margin-right: 60px;
margin-right: 36px;
width: 500px;
height: 370px;
background-image: url('@/assets/images/site/zdgl_zd.png');
@@ -690,7 +690,7 @@ const handleCurrentChange = (val) => {
.tunnel {
cursor: pointer;
margin-right: 20px;
width: 280px;
width: 320px;
height: 350px;
background: #3FBED1;
border-radius: 16px;
@@ -698,15 +698,24 @@ const handleCurrentChange = (val) => {
flex-direction: column;
align-items: center;
color: #FFFFFF;
text-align: center;
> div:first-child {
height: 37px;
width: 240px;
//height: 37px;
font-size: 32px;
margin-top: 20px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
> div:nth-child(3) {
width: 310px;
margin-bottom: 18px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
> div:nth-child(3), > div:nth-child(4) {