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