Merge remote-tracking branch 'origin/master'
| | |
| | | {id: 4,name: '点位在线率', value: 40}, |
| | | {id: 5,name: '录像可用率', value: 80}, |
| | | {id: 6,name: '重点点位录像可用率', value: 20}, |
| | | {id: 7,name: '一机一档合格率', value: 60}, |
| | | {id: 7,name: '信息采集准确率', value: 60}, |
| | | {id: 8,name: '卡门过车数据一致性', value: 40}, |
| | | |
| | | ] |
| | |
| | | <img src="@/assets/images/screen/header_bg.png" class="width-img" alt=""> |
| | | </div> |
| | | <div class="header-text"> |
| | | 自贡运维考核可视化大屏 |
| | | 自贡市运维考核可视化大屏 |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <template> |
| | | <div class="wrapper-container"> |
| | | |
| | | <select-item></select-item> |
| | | <div class="return-button"> |
| | | <el-button type="primary">返回</el-button> |
| | | </div> |
| | | <div class="wrapper-content"> |
| | | <div class="left-container wrapper"> |
| | | <screen-face></screen-face> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import SelectItem from '../select-item/index'; |
| | | import ScreenFace from '../screen-face/index'; |
| | | import ScreenDetection from '../screen-detection/index'; |
| | | import ScreenExamine from '../screen-examine/index'; |
| | |
| | | export default { |
| | | name: 'ScreenWrapper', |
| | | components: { |
| | | SelectItem, |
| | | ScreenFace, |
| | | ScreenDetection, |
| | | ScreenExamine, |
| | |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | .return-button { |
| | | position: absolute; |
| | | right: 20px; |
| | | top: 30px; |
| | | } |
| | | .wrapper-container { |
| | | width: 100%; |
| | | height: 100%; |
| | |
| | | <template> |
| | | <div class="select-container"> |
| | | <div class="type-select"> |
| | | <div class="select-label">数据源</div> |
| | | <el-select v-model="typeValue" popper-class="type-select" class="select-style" @change="setConfig"> |
| | | <el-option v-for="item in testData1" :key="item.name" :label="item.name" :value="item.value" /> |
| | | </el-select> |
| | | </div> |
| | | |
| | | <div class="date-select"> |
| | | <div class="select-label">日期</div> |
| | | <el-date-picker |
| | | v-model="dateValue" |
| | | type="daterange" |
| | | range-separator="至" |
| | | start-placeholder="开始日期" |
| | | end-placeholder="结束日期" |
| | | value-format="yyyy-MM-dd" |
| | | @change="setConfig" |
| | | /> |
| | | </div> |
| | | |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | data() { |
| | | return { |
| | | typeValue: 1, |
| | | dateValue: new Date(), |
| | | testData1: [ |
| | | { |
| | | name: '省厅', |
| | | value: 1 |
| | | }, |
| | | { |
| | | name: '市厅', |
| | | value: 2 |
| | | }, |
| | | { |
| | | name: '公安部', |
| | | value: 3 |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | methods: { |
| | | setConfig() { |
| | | |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | |
| | | .select-container { |
| | | position: absolute; |
| | | top: 30px; |
| | | left: 20px; |
| | | display: flex; |
| | | align-items: center; |
| | | .select-label { |
| | | font-size: 20px; |
| | | margin-right: 10px; |
| | | color: #2375f0; |
| | | } |
| | | .type-select { |
| | | display: flex; |
| | | align-items: center; |
| | | margin-right: 20px; |
| | | } |
| | | .date-select { |
| | | display: flex; |
| | | align-items: center; |
| | | } |
| | | } |
| | | </style> |
| | |
| | | <div class="title-container"> |
| | | <span class="title">{{ title }}</span> |
| | | |
| | | <div class="more-button"> |
| | | <div class="more-button" v-if="path" @click="toPath"> |
| | | <dv-border-box-12> |
| | | <div class="button-text"> |
| | | 详情 |
| | |
| | | }, |
| | | path: { |
| | | type: String, |
| | | default: '' |
| | | } |
| | | }, |
| | | methods: { |
| | | toPath () { |
| | | this.$router.push(this.path); |
| | | } |
| | | } |
| | | } |
| | |
| | | <template> |
| | | <div class="screen-container"> |
| | | |
| | | <screen-title></screen-title> |
| | | <v-scale-screen width="1920" height="1080" :autoScale="true" :delay="0" class="screen"> |
| | | <screen-wrapper></screen-wrapper> |
| | |
| | | background-repeat: no-repeat !important; |
| | | background-position: center center !important; |
| | | } |
| | | |
| | | </style> |