Commit 2d2fcc2e by 匡雅琴

Merge branch 'v1.0.0' of http://192.168.3.233:8090/h5/glsk-data-view-pd into v1.0.0

2 parents c3b8e8bc 419aa0e2
......@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-10-25 10:12:26
* @LastEditors: huyue
* @LastEditTime: 2023-07-14 16:49:50
* @LastEditTime: 2023-07-14 18:15:03
* @FilePath: \dj-data-view\src\components\ViewTitle.vue
* @Description: 页面头部组件
-->
......@@ -38,7 +38,6 @@
<script type="text/ecmascript-6">
import utils from '@/utils/util'
import { number } from 'echarts'
export default {
name: 'DetailTitle',
props: {
......
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2023-07-05 15:11:53
* @LastEditors: huyue
* @LastEditTime: 2023-07-14 17:03:43
* @LastEditTime: 2023-07-14 18:02:44
-->
<template>
<div v-click-outside="handleClickOutside" @mouseleave="handleMouseLeave" v-show="isShow" class="select-box" :style="{'width': boxWidth}">
......@@ -146,6 +146,6 @@ export default {
}
::-webkit-scrollbar-thumb {
border-radius: 5px;
background-image: linear-gradient(270deg, #6578FF 0%, #079FF1 100%); /* 设置滑块的颜色 */
background-color: rgba(244, 244, 244, 0.26); /* 设置滑块的颜色 */
}
</style>
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2023-07-05 10:35:43
* @LastEditors: huyue
* @LastEditTime: 2023-07-14 17:07:42
* @LastEditTime: 2023-07-14 18:11:23
-->
<template>
<div class="view-date">统计年份:
......@@ -17,7 +17,10 @@
<div class="year-item" :class="year == item ? 'active' : ''" v-for="(item,index) in dataList" :key="index" @click.s="selectYear(item)">{{item}}</div>
</div> -->
</div>
业务开始时间:{{businessTime}}</div>
<span class="businessTime">
业务开始时间:{{new Date(businessTime).format('yyyy-MM-dd')}}
</span>
</div>
</template>
<script type='text/ecmascript-6'>
import datas from '@/utils/data'
......@@ -43,8 +46,6 @@ export default {
this.isShow = !this.isShow
},
selectVal(val) {
// this.year = val
// this.$emit('yearValue', val)
this.setSolarYear(val)
this.switchYear()
},
......@@ -84,4 +85,8 @@ export default {
}
}
}
.businessTime {
color: #536079;
font-size: 14px;
}
</style>
......@@ -218,6 +218,7 @@ export default {
return
}
const _dataList = res.data.dataList[0]
this.businessTime = _dataList.businessstarttime
this.solarDetailList.forEach(item => {
item.value = _dataList[item.valueName]
item.bottomValue = _dataList[item.bottemName]
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!