| | |
| | | @change="dateChange"> |
| | | </el-date-picker> |
| | | </div> |
| | | <div > |
| | | <div style="margin-right: 20px"> |
| | | <el-select v-model="params.area" placeholder="区县" @change="getChart" clearable> |
| | | <el-option v-for="item in areaOption" :key="item.label" :label="item.label" :value="item.value"> |
| | | </el-option> |
| | | </el-select> |
| | | </div> |
| | | <div> |
| | | <el-select v-model="params.constructionType" @change="getChart" clearable placeholder="分建类型"> |
| | | <el-option v-for="(item,index) in constructionTypeList" :key="index" :label="item.label" :value="item.value"> |
| | | </el-option> |
| | | </el-select> |
| | | </div> |
| | |
| | | name: 'DataVideo', |
| | | data() { |
| | | return { |
| | | constructionTypeList:[ |
| | | { label:'一二期',value:'PHASE_ONE_TWO' }, |
| | | { label:'三期',value:'PHASE_THREE' }, |
| | | { label:'四区人脸',value:'PHASE_FOURTH' }, |
| | | { label:'东部新城',value:'EASTERN_NEW_CITY' }, |
| | | { label:'沿滩二期人脸',value:'YAN_TAN_PHASE_TWO_FACE' }, |
| | | { label: '入川即检',value: 'CHECK_ENTER_SICHUAN'} |
| | | ], |
| | | date: '', |
| | | params: { |
| | | month: '', |
| | |
| | | } |
| | | }, |
| | | grid: { |
| | | left: 10, |
| | | left: 15, |
| | | right: 0, |
| | | bottom: 0, |
| | | top: '20%', |
| | | top:'10%', |
| | | containLabel: true |
| | | }, |
| | | legend: { |
| | |
| | | .data-chart-container { |
| | | height: 400px; |
| | | margin-bottom: 20px; |
| | | |
| | | .data-card { |
| | | height: 100%; |
| | | |
| | |
| | | } |
| | | |
| | | .title-container { |
| | | position: absolute; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | z-index: 2; |
| | | |
| | | padding: 15px 20px; /* 内边距控制高度和边距 */ |
| | | background: #fff; |
| | | border-bottom: 1px solid #eee; /* 分隔线增强视觉分离 */ |
| | | .more-button { |
| | | cursor: pointer; |
| | | font-size: 16px; |
| | |
| | | } |
| | | |
| | | .chart-container { |
| | | |
| | | width: 100%; |
| | | height: 100%; |
| | | height: 80%; |
| | | |
| | | #chartContent { |
| | | width: 100%; |