| | |
| | | @focus="chooseDate2" |
| | | /> |
| | | </div> |
| | | <!-- <el-card class="box-card" style="width: 274px; margin: 13px auto"> --> |
| | | |
| | | <!-- <div v-else style="height: 180px; width: 274px; overflow-x: hidden"> |
| | | <div |
| | | style=" |
| | | width: 272px; |
| | | text-align: center; |
| | | height: 180px; |
| | | line-height: 140px; |
| | | font-size: 14px; |
| | | color: #5a5c60; |
| | | " |
| | | > |
| | | 无飞行记录 |
| | | </div> |
| | | </div> --> |
| | | <!-- </el-card> --> |
| | | |
| | | <div |
| | | style="width: 274px; margin: 10px auto; border-radius: 8px" |
| | | class="coll" |
| | |
| | | <el-collapse |
| | | v-show="shou1 === true" |
| | | v-loading="loading" |
| | | accordion |
| | | style="box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1)" |
| | | > |
| | | <el-collapse-item |
| | | style="text-indent: 2em; position: relative; padding-botton: 10px" |
| | |
| | | <el-radio-button label="03" /> |
| | | <el-radio-button label="TVOC" /> |
| | | </el-radio-group> |
| | | <div v-if="selecttrue === 2" class="Duo"> |
| | | <div |
| | | v-if="selecttrue === 2" |
| | | class="Duo" |
| | | > |
| | | <div class="spantuu"> |
| | | <span>无人机飞行高度范围(米): </span> |
| | | <el-input |
| | |
| | | placeholder="请输入内容" |
| | | /> |
| | | </div> |
| | | <el-select v-model="Duovalue" placeholder="其他因子" class="slee"> |
| | | <el-select |
| | | v-model="Duovalue" |
| | | placeholder="其他因子" |
| | | class="slee" |
| | | > |
| | | <el-option |
| | | v-for="item in optionsduo" |
| | | :key="item.code" |
| | |
| | | ></el-input> |
| | | </div> --> |
| | | </div> |
| | | <div v-if="selecttrue === 1" style="margin-left: 10px"> |
| | | <div |
| | | v-if="selecttrue === 1" |
| | | style="margin-left: 10px" |
| | | > |
| | | <el-button |
| | | type="primary" |
| | | style="margin-top: 10px" |
| | | @click="gengD" |
| | | >更多条件</el-button> |
| | | > |
| | | 更多条件 |
| | | </el-button> |
| | | </div> |
| | | <div |
| | | v-if="selecttrue === 2" |
| | |
| | | type="primary" |
| | | icon="el-icon-setting" |
| | | @click="dialogFormVisible = true" |
| | | >6参设定</el-button> |
| | | <el-button class="gengD" @click="shou">收起</el-button> |
| | | <el-button type="primary" @click="selectDuo">查询</el-button> |
| | | > |
| | | 6参设定 |
| | | </el-button> |
| | | <el-button |
| | | class="gengD" |
| | | @click="shou" |
| | | > |
| | | 收起 |
| | | </el-button> |
| | | <el-button |
| | | type="primary" |
| | | @click="selectDuo" |
| | | > |
| | | 查询 |
| | | </el-button> |
| | | </div> |
| | | </div> |
| | | <!-- <div class="Duo" v-if="selecttrue === 2"> |
| | |
| | | </div> --> |
| | | </div> |
| | | <!-- <div v-if="noneData" class="noneData">当前时间没有飞行数据</div> --> |
| | | <div id="map_container" v-loading="loading1" /> |
| | | <div |
| | | id="map_container" |
| | | v-loading="loading1" |
| | | /> |
| | | <div class="dataParameter"> |
| | | <dir class="item"> |
| | | <div |
| | | v-for="(item, index) in temMergeDataList" |
| | | v-show="index < 3" |
| | | :key="index" |
| | | > |
| | | <p> {{ item.name }}:{{ item.value }}</p> |
| | | </div> |
| | | </dir> |
| | | <div |
| | | class="item1" |
| | | style="margin-left: 10px;" |
| | | > |
| | | <div |
| | | v-for="(item, index) in temMergeDataList" |
| | | v-show="index > 2" |
| | | :key="index" |
| | | > |
| | | <p> {{ item.name }}:{{ item.value }}</p> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </el-main> |
| | | </el-container> |
| | | <el-dialog title="6参设定" :visible.sync="dialogFormVisible" width="1000px"> |
| | | <el-descriptions title="国控6参" :column="3" border> |
| | | <el-dialog |
| | | title="6参设定" |
| | | :visible.sync="dialogFormVisible" |
| | | width="1000px" |
| | | > |
| | | <el-descriptions |
| | | title="国控6参" |
| | | :column="3" |
| | | border |
| | | > |
| | | <el-descriptions-item |
| | | label="PM2.5 | ug/m³" |
| | | label-class-name="my-label" |
| | | content-class-name="my-content" |
| | | >22</el-descriptions-item> |
| | | <el-descriptions-item label="PM10 | ug/m³">34</el-descriptions-item> |
| | | <el-descriptions-item label="SO2 | ug/m³">4</el-descriptions-item> |
| | | <el-descriptions-item label="NO2 | ug/m³">16</el-descriptions-item> |
| | | <el-descriptions-item label="CO | mg/m³">0.5</el-descriptions-item> |
| | | <el-descriptions-item label="O3 | ug/m³">149</el-descriptions-item> |
| | | > |
| | | 22 |
| | | </el-descriptions-item> |
| | | <el-descriptions-item label="PM10 | ug/m³"> |
| | | 34 |
| | | </el-descriptions-item> |
| | | <el-descriptions-item label="SO2 | ug/m³"> |
| | | 4 |
| | | </el-descriptions-item> |
| | | <el-descriptions-item label="NO2 | ug/m³"> |
| | | 16 |
| | | </el-descriptions-item> |
| | | <el-descriptions-item label="CO | mg/m³"> |
| | | 0.5 |
| | | </el-descriptions-item> |
| | | <el-descriptions-item label="O3 | ug/m³"> |
| | | 149 |
| | | </el-descriptions-item> |
| | | </el-descriptions> |
| | | <!-- <el-descriptions title="设备标准值" border> |
| | | </el-descriptions> --> |
| | |
| | | > |
| | | 设备标准值 |
| | | </div> |
| | | <el-table :data="sensorTableData" border> |
| | | <el-table-column prop="sensorName" label="名称" /> |
| | | <el-table-column prop="unit" label="单位" /> |
| | | <el-table |
| | | :data="sensorTableData" |
| | | border |
| | | > |
| | | <el-table-column |
| | | prop="sensorName" |
| | | label="名称" |
| | | /> |
| | | <el-table-column |
| | | prop="unit" |
| | | label="单位" |
| | | /> |
| | | <el-table-column label="一级"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.tab1" placeholder="请输入内容" /> |
| | | <el-input |
| | | v-model="scope.row.tab1" |
| | | placeholder="请输入内容" |
| | | /> |
| | | <!-- <span v-show="!scope.row.show">{{ scope.row.tab1 }}</span> --> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="二级"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.tab2" placeholder="请输入内容" /> |
| | | <el-input |
| | | v-model="scope.row.tab2" |
| | | placeholder="请输入内容" |
| | | /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="三级"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.tab3" placeholder="请输入内容" /> |
| | | <el-input |
| | | v-model="scope.row.tab3" |
| | | placeholder="请输入内容" |
| | | /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="四级"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.tab4" placeholder="请输入内容" /> |
| | | <el-input |
| | | v-model="scope.row.tab4" |
| | | placeholder="请输入内容" |
| | | /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="五级"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.tab5" placeholder="请输入内容" /> |
| | | <el-input |
| | | v-model="scope.row.tab5" |
| | | placeholder="请输入内容" |
| | | /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="六级"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.tab6" placeholder="请输入内容" /> |
| | | <el-input |
| | | v-model="scope.row.tab6" |
| | | placeholder="请输入内容" |
| | | /> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button @click="dialogFormVisible = false">取 消</el-button> |
| | | <el-button type="primary" @click="customLevel">确 定</el-button> |
| | | <div |
| | | slot="footer" |
| | | class="dialog-footer" |
| | | > |
| | | <el-button @click="dialogFormVisible = false"> |
| | | 取 消 |
| | | </el-button> |
| | | <el-button |
| | | type="primary" |
| | | @click="customLevel" |
| | | > |
| | | 确 定 |
| | | </el-button> |
| | | </div> |
| | | </el-dialog> |
| | | </div> |
| | |
| | | var GPS = { |
| | | PI: 3.14159265358979324, |
| | | x_pi: (3.14159265358979324 * 3000.0) / 180.0, |
| | | delta: function(lat, lon) { |
| | | delta: function (lat, lon) { |
| | | var a = 6378245.0 // a: 卫星椭球坐标投影到平面地图坐标系的投影因子。 |
| | | var ee = 0.00669342162296594323 // ee: 椭球的偏心率。 |
| | | var dLat = this.transformLat(lon - 105.0, lat - 35.0) |
| | |
| | | }, |
| | | |
| | | // WGS-84 to GCJ-02 |
| | | gcj_encrypt: function(wgsLat, wgsLon) { |
| | | gcj_encrypt: function (wgsLat, wgsLon) { |
| | | if (this.outOfChina(wgsLat, wgsLon)) { |
| | | return { lat: wgsLat, lon: wgsLon } |
| | | } |
| | |
| | | return { lat: wgsLat + d.lat, lon: wgsLon + d.lon } |
| | | }, |
| | | // GCJ-02 to WGS-84 |
| | | gcj_decrypt: function(gcjLat, gcjLon) { |
| | | gcj_decrypt: function (gcjLat, gcjLon) { |
| | | if (this.outOfChina(gcjLat, gcjLon)) { |
| | | return { lat: gcjLat, lon: gcjLon } |
| | | } |
| | |
| | | return { lat: gcjLat - d.lat, lon: gcjLon - d.lon } |
| | | }, |
| | | // GCJ-02 to WGS-84 exactly |
| | | gcj_decrypt_exact: function(gcjLat, gcjLon) { |
| | | gcj_decrypt_exact: function (gcjLat, gcjLon) { |
| | | var initDelta = 0.01 |
| | | var threshold = 0.000000001 |
| | | var dLat = initDelta |
| | |
| | | break |
| | | } |
| | | |
| | | if (dLat > 0) pLat = wgsLat |
| | | else mLat = wgsLat |
| | | if (dLon > 0) pLon = wgsLon |
| | | else mLon = wgsLon |
| | | if (dLat > 0) { |
| | | pLat = wgsLat |
| | | } else { |
| | | mLat = wgsLat |
| | | } |
| | | if (dLon > 0) { |
| | | pLon = wgsLon |
| | | } else { |
| | | mLon = wgsLon |
| | | } |
| | | |
| | | if (++i > 10000) break |
| | | if (++i > 10000) { |
| | | break |
| | | } |
| | | } |
| | | return { lat: wgsLat, lon: wgsLon } |
| | | }, |
| | | // GCJ-02 to BD-09 |
| | | bd_encrypt: function(gcjLat, gcjLon) { |
| | | bd_encrypt: function (gcjLat, gcjLon) { |
| | | var x = gcjLon |
| | | var y = gcjLat |
| | | var z = Math.sqrt(x * x + y * y) + 0.00002 * Math.sin(y * this.x_pi) |
| | |
| | | return { lat: this.bdLat, lon: this.bdLon } |
| | | }, |
| | | // BD-09 to GCJ-02 |
| | | bd_decrypt: function(bdLat, bdLon) { |
| | | bd_decrypt: function (bdLat, bdLon) { |
| | | var x = bdLon - 0.0065 |
| | | var y = bdLat - 0.006 |
| | | var z = Math.sqrt(x * x + y * y) - 0.00002 * Math.sin(y * this.x_pi) |
| | |
| | | }, |
| | | // WGS-84 to Web mercator |
| | | // mercatorLat -> y mercatorLon -> x |
| | | mercator_encrypt: function(wgsLat, wgsLon) { |
| | | mercator_encrypt: function (wgsLat, wgsLon) { |
| | | var x = (wgsLon * 20037508.34) / 180.0 |
| | | var y = |
| | | Math.log(Math.tan(((90.0 + wgsLat) * this.PI) / 360.0)) / |
| | |
| | | }, |
| | | // Web mercator to WGS-84 |
| | | // mercatorLat -> y mercatorLon -> x |
| | | mercator_decrypt: function(mercatorLat, mercatorLon) { |
| | | mercator_decrypt: function (mercatorLat, mercatorLon) { |
| | | var x = (mercatorLon / 20037508.34) * 180.0 |
| | | var y = (mercatorLat / 20037508.34) * 180.0 |
| | | y = |
| | |
| | | return { lat: y, lon: x } |
| | | }, |
| | | // two point's distance |
| | | distance: function(latA, lonA, latB, lonB) { |
| | | distance: function (latA, lonA, latB, lonB) { |
| | | var earthR = 6371000.0 |
| | | var x = |
| | | Math.cos((latA * this.PI) / 180.0) * |
| | |
| | | var y = |
| | | Math.sin((latA * this.PI) / 180.0) * Math.sin((latB * this.PI) / 180.0) |
| | | var s = x + y |
| | | if (s > 1) s = 1 |
| | | if (s < -1) s = -1 |
| | | if (s > 1) { |
| | | s = 1 |
| | | } |
| | | if (s < -1) { |
| | | s = -1 |
| | | } |
| | | var alpha = Math.acos(s) |
| | | var distance = alpha * earthR |
| | | return distance |
| | | }, |
| | | outOfChina: function(lat, lon) { |
| | | outOfChina: function (lat, lon) { |
| | | if (lon < 72.004 || lon > 137.8347) { |
| | | return true |
| | | } |
| | |
| | | } |
| | | return false |
| | | }, |
| | | transformLat: function(x, y) { |
| | | transformLat: function (x, y) { |
| | | var ret = |
| | | -100.0 + |
| | | 2.0 * x + |
| | |
| | | 3.0 |
| | | return ret |
| | | }, |
| | | transformLon: function(x, y) { |
| | | transformLon: function (x, y) { |
| | | var ret = |
| | | 300.0 + |
| | | x + |
| | |
| | | 2.0) / |
| | | 3.0 |
| | | return ret |
| | | } |
| | | }, |
| | | } |
| | | export default { |
| | | filters: { |
| | | sensorFilter: function(value) { |
| | | if (!value) return '' |
| | | sensorFilter: function (value) { |
| | | if (!value) { |
| | | return '' |
| | | } |
| | | return json[value] |
| | | } |
| | | }, |
| | | }, |
| | | data() { |
| | | data () { |
| | | return { |
| | | dialogFormVisible: false, |
| | | chosee: 1, |
| | |
| | | if (this.timeNums.includes(timeDate)) { |
| | | return 'dateArrClass' // 返回值设置的是我们添加的类名 |
| | | } |
| | | } |
| | | }, |
| | | }, |
| | | |
| | | tallone: 0, |
| | |
| | | activeNames: [0], |
| | | uavTimeFly: [], // 存放无人机信息以及飞行时间区间 |
| | | activeKey: -1, |
| | | activeAreaKey: 0 |
| | | activeAreaKey: 0, |
| | | }, |
| | | load: 1, |
| | | value: [], |
| | |
| | | { code: 'a21004', name: 'NO2' }, |
| | | { code: 'a21005', name: 'CO' }, |
| | | { code: 'a05024', name: 'O3' }, |
| | | { code: 'a99054', name: 'TVOC' } |
| | | { code: 'a99054', name: 'TVOC' }, |
| | | ], |
| | | valuetime: '2023-01-01', |
| | | defautRadio: { code: 'a34004', name: 'PM2.5' }, |
| | |
| | | 'CO', |
| | | 'O3', |
| | | 'TVOC', |
| | | '尘负荷' |
| | | '尘负荷', |
| | | ], |
| | | changeColor: 0, |
| | | changeColor1: 0, |
| | |
| | | // 最大时间 最小时间 |
| | | this.timeOne = minDate.getTime() // 当选一个日期时 就是最小日期 |
| | | // 如何你选择了两个日期了,就把那个变量置空 |
| | | if (maxDate) this.timeOne = '' |
| | | if (maxDate) { |
| | | this.timeOne = '' |
| | | } |
| | | }, |
| | | disabledDate: (time) => { |
| | | if (this.timeOne) { |
| | |
| | | } else { |
| | | return time.getTime() > new Date() |
| | | } |
| | | } |
| | | }, |
| | | }, |
| | | sensorDate: null, |
| | | noneData: true, |
| | |
| | | { code: 'a99054', name: 'TVOC' }, |
| | | { |
| | | code: 'a01006', |
| | | name: '气压' |
| | | name: '气压', |
| | | }, |
| | | { |
| | | code: 'a01001', |
| | | name: '温度' |
| | | name: '温度', |
| | | }, |
| | | { |
| | | code: 'a01002', |
| | | name: '湿度' |
| | | } |
| | | name: '湿度', |
| | | }, |
| | | ], |
| | | sensorTableData: [ |
| | | { |
| | |
| | | tab3: '115', |
| | | tab4: '150', |
| | | tab5: '250', |
| | | tab6: '350' |
| | | tab6: '350', |
| | | }, |
| | | { |
| | | sensorName: 'PM10', |
| | |
| | | tab3: '250', |
| | | tab4: '350', |
| | | tab5: '420', |
| | | tab6: '500' |
| | | tab6: '500', |
| | | }, |
| | | { |
| | | sensorName: 'SO2', |
| | |
| | | tab3: '475', |
| | | tab4: '800', |
| | | tab5: '1600', |
| | | tab6: '2100' |
| | | tab6: '2100', |
| | | }, |
| | | { |
| | | sensorName: 'NO2', |
| | |
| | | tab3: '180', |
| | | tab4: '280', |
| | | tab5: '565', |
| | | tab6: '750' |
| | | tab6: '750', |
| | | }, |
| | | { |
| | | sensorName: 'CO', |
| | |
| | | tab3: '14', |
| | | tab4: '24', |
| | | tab5: '36', |
| | | tab6: '48' |
| | | tab6: '48', |
| | | }, |
| | | { |
| | | sensorName: 'O3', |
| | |
| | | tab3: '300', |
| | | tab4: '400', |
| | | tab5: '800', |
| | | tab6: '1000' |
| | | tab6: '1000', |
| | | }, |
| | | { |
| | | sensorName: 'TVOC', |
| | |
| | | tab3: '0.5', |
| | | tab4: '0.7', |
| | | tab5: '0.9', |
| | | tab6: '1' |
| | | tab6: '1', |
| | | }, |
| | | { |
| | | sensorName: '尘负荷', |
| | |
| | | tab3: '1000', |
| | | tab4: '10000', |
| | | tab5: '20000', |
| | | tab6: '50000' |
| | | tab6: '50000', |
| | | }, |
| | | |
| | | { |
| | | sensorName: '气压', |
| | | unit: 'hpa' |
| | | unit: 'hpa', |
| | | }, |
| | | { |
| | | sensorName: '湿度', |
| | | unit: '%' |
| | | unit: '%', |
| | | }, |
| | | { |
| | | sensorName: '温度', |
| | | unit: '℃' |
| | | } |
| | | unit: '℃', |
| | | }, |
| | | ], |
| | | carWs: null, |
| | | map: null, |
| | |
| | | dataTypeList: [ |
| | | { |
| | | value: 'history', |
| | | label: '历史数据' |
| | | label: '历史数据', |
| | | }, |
| | | { |
| | | value: 'webSocket', |
| | | label: '实时数据' |
| | | } |
| | | label: '实时数据', |
| | | }, |
| | | ], |
| | | dataTypeValue: 'history', |
| | | historyView: true, |
| | |
| | | uvasize: 20, |
| | | timeValue: [ |
| | | new Date(2020, 1, 1, 0, 0, 0), |
| | | new Date(2022, 12, 31, 23, 59, 59) |
| | | new Date(2022, 12, 31, 23, 59, 59), |
| | | ], |
| | | timeNums: [], |
| | | batchs: '', |
| | |
| | | tab3: '115', |
| | | tab4: '150', |
| | | tab5: '250', |
| | | tab6: '350' |
| | | tab6: '350', |
| | | }, |
| | | { |
| | | sensorName: 'PM10', |
| | |
| | | tab3: '250', |
| | | tab4: '350', |
| | | tab5: '420', |
| | | tab6: '500' |
| | | tab6: '500', |
| | | }, |
| | | { |
| | | sensorName: 'SO2', |
| | |
| | | tab3: '650', |
| | | tab4: '800', |
| | | tab5: '', |
| | | tab6: '' |
| | | tab6: '', |
| | | }, |
| | | { |
| | | sensorName: 'NO2', |
| | |
| | | tab3: '700', |
| | | tab4: '1200', |
| | | tab5: '2340', |
| | | tab6: '3090' |
| | | tab6: '3090', |
| | | }, |
| | | { |
| | | sensorName: 'CO', |
| | |
| | | tab3: '35', |
| | | tab4: '60', |
| | | tab5: '90', |
| | | tab6: '120' |
| | | tab6: '120', |
| | | }, |
| | | { |
| | | sensorName: 'O3', |
| | |
| | | tab3: '300', |
| | | tab4: '400', |
| | | tab5: '800', |
| | | tab6: '1000' |
| | | tab6: '1000', |
| | | }, |
| | | { |
| | | sensorName: 'TVOC', |
| | |
| | | tab3: '0.5', |
| | | tab4: '0.7', |
| | | tab5: '0.9', |
| | | tab6: '1' |
| | | tab6: '1', |
| | | }, |
| | | { |
| | | sensorName: '尘负荷', |
| | |
| | | tab3: '1000', |
| | | tab4: '10000', |
| | | tab5: '20000', |
| | | tab6: '50000' |
| | | } |
| | | ] |
| | | tab6: '50000', |
| | | }, |
| | | ], |
| | | temMergeDataList: [] |
| | | } |
| | | }, |
| | | watch: { |
| | | dataTypeValue(n, o) { |
| | | dataTypeValue (n, o) { |
| | | if (this.dataTypeValue === 'webSocket') { |
| | | this.dateValue = [] |
| | | this.historyView = false |
| | |
| | | this.webSocketView = false |
| | | } |
| | | }, |
| | | dateValue(n, o) { |
| | | dateValue (n, o) { |
| | | if (n === null) { |
| | | this.dateValue = [] |
| | | } |
| | | }, |
| | | viewKey(n, o) { |
| | | viewKey (n, o) { |
| | | // console.log(n) |
| | | }, |
| | | deep: true, |
| | | immediate: true |
| | | immediate: true, |
| | | }, |
| | | |
| | | mounted() { |
| | | this.initStart() |
| | | mounted () { |
| | | this.$nextTick(() => { |
| | | this.initStart() |
| | | }) |
| | | |
| | | // this.$refs.datePick.focus() |
| | | // this.getDate() |
| | | // this.flyData() |
| | | }, |
| | | created() { |
| | | created () { |
| | | this.newTime(this.timeValue) |
| | | this.newDate() |
| | | this.getDate() |
| | |
| | | // this.getFlyData() |
| | | }, |
| | | methods: { |
| | | customLevel() { |
| | | customLevel () { |
| | | this.selectDuo() |
| | | this.dialogFormVisible = false |
| | | }, |
| | | selectDuo() { |
| | | selectDuo () { |
| | | // console.log(2115); |
| | | if (this.chosee === 1) { |
| | | this.$message.warning('请先在左侧选择无人机时间') |
| | |
| | | uvasize: this.uvasize, |
| | | mac: this.macs, |
| | | height1: this.tallone, |
| | | height2: this.talltwo |
| | | height2: this.talltwo, |
| | | // batch: '2023-06-16 16:21:21', |
| | | } |
| | | }, |
| | | }).then((res) => { |
| | | // console.log(res) |
| | | this.carData = [] |
| | |
| | | this.initStart(this.carData) |
| | | }) |
| | | }, |
| | | chooseDate() { |
| | | chooseDate () { |
| | | // this.$refs.datePick.focus() // 选择日期后依旧触发焦点 |
| | | this.getTimeAreaData(this.datenum) |
| | | $('.coll').css('margin-top', '350px') |
| | | }, |
| | | chooseDate2() { |
| | | chooseDate2 () { |
| | | // this.$refs.datePick.focus() // 选择日期后依旧触发焦点 |
| | | // this.getTimeAreaData(this.datenum) |
| | | $('.coll').css('margin-top', '350px') |
| | | }, |
| | | chooseDate1() { |
| | | chooseDate1 () { |
| | | $('.coll').css('margin-top', '10px') |
| | | // this.$refs.datePick.focus() // 选择日期后依旧触发焦点 |
| | | }, |
| | | gengD() { |
| | | gengD () { |
| | | // if (this.zhanK === 1) { |
| | | // this.$message.warning('请先在左侧选择无人机和时间') |
| | | // return |
| | |
| | | this.selecttrue = 2 |
| | | $('.numss').css({ width: '1050px' }) |
| | | }, |
| | | shou() { |
| | | shou () { |
| | | this.selecttrue = 1 |
| | | $('.numss').css({ width: '700px' }) |
| | | }, |
| | | parseTime(time, cFormat) { |
| | | parseTime (time, cFormat) { |
| | | if (arguments.length === 0 || !time) { |
| | | return null |
| | | } |
| | |
| | | h: date.getHours(), |
| | | i: date.getMinutes(), |
| | | s: date.getSeconds(), |
| | | a: date.getDay() |
| | | a: date.getDay(), |
| | | } |
| | | const time_str = format.replace(/{([ymdhisa])+}/g, (result, key) => { |
| | | const value = formatObj[key] |
| | |
| | | }) |
| | | return time_str |
| | | }, |
| | | newTime2(timeArr) { |
| | | newTime2 (timeArr) { |
| | | var arr = [] |
| | | timeArr.map((v) => { |
| | | var date = new Date(v) |
| | |
| | | return arr |
| | | }, |
| | | // 进行经纬度转换为距离的计算 |
| | | Rad(d) { |
| | | Rad (d) { |
| | | return (d * Math.PI) / 180.0 // 经纬度转换成三角函数中度分表形式。 |
| | | }, |
| | | // 计算距离,参数分别为第一点的纬度,经度;第二点的纬度,经度 |
| | | GetDistance(lat1, lng1, lat2, lng2) { |
| | | GetDistance (lat1, lng1, lat2, lng2) { |
| | | var radLat1 = this.Rad(lat1) |
| | | var radLat2 = this.Rad(lat2) |
| | | var a = radLat1 - radLat2 |
| | |
| | | return s |
| | | }, |
| | | // 日期格式化 |
| | | newDate() { |
| | | newDate () { |
| | | var aData = new Date() |
| | | var month = |
| | | aData.getMonth() < 9 |
| | |
| | | this.sensorDate = aData.getFullYear() + '-' + month + '-' + date |
| | | }, |
| | | // 时间格式化 |
| | | newTime(timeArr) { |
| | | newTime (timeArr) { |
| | | let str = '' |
| | | let str2 = '' |
| | | this.sensorTime = [] |
| | |
| | | }) |
| | | }, |
| | | // 修改时间 |
| | | dateChange(e) { |
| | | dateChange (e) { |
| | | if (e === null) { |
| | | this.sensorDate = [] |
| | | } else { |
| | |
| | | } |
| | | }, |
| | | // 获取无人机以及时间区间 |
| | | getTimeAreaData(item) { |
| | | getTimeAreaData (item) { |
| | | // this.asideData.uavTimeFly = [] |
| | | this.loading = true |
| | | this.$request({ |
| | |
| | | method: 'get', |
| | | params: { |
| | | organizationId: this.$store.state.orgId, |
| | | date: item |
| | | } |
| | | date: item, |
| | | }, |
| | | }).then((res) => { |
| | | // console.log(res, 'res.data.vos') |
| | | if (res.code === -47) { |
| | |
| | | }) |
| | | }, |
| | | // 折叠面板监听 |
| | | handleChange(val) { |
| | | handleChange (val) { |
| | | // console.log(val, 222) |
| | | }, |
| | | // 经纬度转换为三维坐标系下的 XY 坐标 map.lngLatToGeodeticCoord |
| | | // 选中radio |
| | | selectRedio(item) { |
| | | selectRedio (item) { |
| | | this.map.remove(this.textMarkers.markers) |
| | | this.textMarkers.markers = [] |
| | | this.map.remove(this.Layler) |
| | | this.addLayers(item) |
| | | }, |
| | | // 初始化地图 |
| | | getFlyData(item, index, mac) { |
| | | getFlyData (item, index, mac) { |
| | | // for (var i = 0; i < this.xie.date.length; i++) { |
| | | // this.xie.date[i].flyLat = this.xie.date[i].flyLat + ' °'.toString() |
| | | // this.xie.date[i].flyLon = this.xie.date[i].flyLon + ' °'.toString() |
| | |
| | | uvasize: this.uvasize, |
| | | height1: this.tallone, |
| | | height2: this.talltwo, |
| | | mac: mac |
| | | mac: mac, |
| | | // batch: '2023-06-16 16:21:21', |
| | | } |
| | | }, |
| | | }).then((res) => { |
| | | // console.log(res) |
| | | this.carData = [] |
| | |
| | | }) |
| | | }, |
| | | // 获取组织下存在飞行记录的日期 |
| | | getDate() { |
| | | getDate () { |
| | | this.$request({ |
| | | url: '/uav/queryDate', |
| | | method: 'get', |
| | | params: { |
| | | organizationId: this.$store.state.orgId |
| | | } |
| | | organizationId: this.$store.state.orgId, |
| | | }, |
| | | }).then((res) => { |
| | | this.asideData.dates = JSON.parse(JSON.stringify(res.data.datesStr)) |
| | | this.timeNums = this.asideData.dates |
| | |
| | | } |
| | | }) |
| | | }, |
| | | initStart(res) { |
| | | initDataParams (res) { |
| | | const filteredObject = {} |
| | | for (let key in res) { |
| | | if (key.includes(this.sensorKey)) { |
| | | filteredObject[key] = res[key] |
| | | } |
| | | } |
| | | console.log('filteredObject', filteredObject) |
| | | |
| | | let options = { |
| | | MergeAvg: '合并范围均值', |
| | | MergedHighest: '合并范围最高值', |
| | | MergedLowest: '合并范围最低值', |
| | | NotMergedAvg: '未合并范围均值', |
| | | NotMergedHighest: '未合并范围最高值', |
| | | NotMergedLowest: '未合并范围最低值' |
| | | } |
| | | |
| | | let notMergedKeys = Object.keys(filteredObject).filter(k => k.match(/(NotMergedHighest|NotMergedLowest|NotMergedAvg)/i)) |
| | | let mergedKeys = Object.keys(filteredObject).filter(k => !k.match(/(NotMergedHighest|NotMergedLowest|NotMergedAvg)/i)) |
| | | |
| | | this.temMergeDataList = Object.keys(options).reduce((acc, key) => { |
| | | let valueKey = mergedKeys.find(k => k.toLowerCase().includes(key.toLowerCase())) |
| | | if (!valueKey && notMergedKeys.length) { |
| | | valueKey = notMergedKeys.find(k => k.toLowerCase().includes(key.replace('NotMerged', '').toLowerCase())) |
| | | } |
| | | if (valueKey) { |
| | | acc.push({ |
| | | key: key, |
| | | name: options[key], |
| | | value: filteredObject[valueKey] |
| | | }) |
| | | } |
| | | return acc |
| | | }, []) |
| | | |
| | | console.log(this.temMergeDataList) |
| | | }, |
| | | initStart (res) { |
| | | console.log('res', res) |
| | | this.abc += 1 |
| | | const that = this |
| | | if (res) this.initDataParams(res[0]) |
| | | if (!res) { |
| | | that.map = new window.window.BMapGL.Map('map_container') |
| | | that.map = new BMapGL.Map('map_container') |
| | | console.log('BMapGL', BMapGL) |
| | | console.log('BMapGL', BMapGL) |
| | | console.log('window', window.BMapGL) |
| | | that.map.enableScrollWheelZoom(true) // 开启鼠标滚轮,地图可以进行放大、缩小s |
| | | that.map.setMapType(BMAP_EARTH_MAP) // 设置地图类型为地球模式 |
| | | that.map.setDisplayOptions({ |
| | | street: false // 是否显示路网(只对卫星图和地球模式有效) |
| | | street: false, // 是否显示路网(只对卫星图和地球模式有效) |
| | | }) |
| | | that.map.setHeading(0) // 设置旋转角度 |
| | | if (that.viewKey === '2D') { |
| | |
| | | elementType: 'all', |
| | | stylers: { |
| | | color: '#ffffff', |
| | | visibility: 'off' |
| | | } |
| | | visibility: 'off', |
| | | }, |
| | | }, |
| | | { |
| | | featureType: 'building', |
| | | elementType: 'all', |
| | | stylers: { |
| | | visibility: 'off' |
| | | } |
| | | visibility: 'off', |
| | | }, |
| | | }, |
| | | { |
| | | featureType: 'poilabel', |
| | | elementType: 'all', |
| | | stylers: { |
| | | visibility: 'off' |
| | | } |
| | | visibility: 'off', |
| | | }, |
| | | }, |
| | | { |
| | | featureType: 'manmade', |
| | | elementType: 'all', |
| | | stylers: { |
| | | visibility: 'off' |
| | | } |
| | | } |
| | | ] |
| | | visibility: 'off', |
| | | }, |
| | | }, |
| | | ], |
| | | }) |
| | | showNoPoints() |
| | | this.loading1 = false |
| | |
| | | // lat = GPS.bd_encrypt(lat, lng).lat |
| | | // lng = GPS.bd_decrypt(lat, lng).lon |
| | | // lat = GPS.bd_decrypt(lat, lng).lat |
| | | var point = new window.BMapGL.Point(lng, lat) |
| | | var point = new BMapGL.Point(lng, lat) |
| | | point.a34004 = parseInt(value.a34004) |
| | | point.a34002 = parseInt(value.a34002) |
| | | point.a21026 = parseInt(value.a21026) |
| | |
| | | if (that.firstPlayFlag) { |
| | | that.map.centerAndZoom(that.centerPoint, that.mapZoom) |
| | | that.view = new mapvgl.View({ |
| | | map: that.map |
| | | map: that.map, |
| | | }) |
| | | that.firstPlayFlag = false |
| | | that.loading1 = false |
| | |
| | | this.map.clearOverlays() |
| | | that.map.centerAndZoom(that.centerPoint, that.mapZoom) |
| | | that.view = new mapvgl.View({ |
| | | map: that.map |
| | | map: that.map, |
| | | }) |
| | | that.loading1 = false |
| | | |
| | |
| | | // draw(that.sensor, that.viewType, that.carMac) |
| | | // drawLine()// 轨迹(绘制带折线箭头) |
| | | // drawStartAndEnd() // 起点和终点标注 |
| | | function draw(sensor, type, carMac) { |
| | | function draw (sensor, type, carMac) { |
| | | var levels = getGrading(sensor, type, carMac) |
| | | $.each(levels, function(index, value) { |
| | | $.each(levels, function (index, value) { |
| | | var color = value.color |
| | | var data = value.data |
| | | if (data.length > 0) { |
| | |
| | | selectedIndex: -1, // 选中项 |
| | | selectedColor: '#ee1111', // 选中项颜色 |
| | | autoSelect: true, // 根据鼠标位置来自动设置选中项 |
| | | riseTime: 1800 // 楼块初始化升起时间 |
| | | riseTime: 1800, // 楼块初始化升起时间 |
| | | }) |
| | | that.shapeLayer.setData(data) |
| | | that.view.addLayer(that.shapeLayer) |
| | |
| | | }) |
| | | that.map.setDefaultCursor('default') |
| | | if (type === '2D') { |
| | | $.each(that.showPoints, function(item, point) { |
| | | $.each(that.showPoints, function (item, point) { |
| | | setLabelStyle(point[sensor], point) |
| | | }) |
| | | } |
| | | } |
| | | |
| | | // 画方块,上色,添加文字 |
| | | function drawPolygon(sensor) { |
| | | $.each(that.showPoints, function(item, point) { |
| | | function drawPolygon (sensor) { |
| | | $.each(that.showPoints, function (item, point) { |
| | | var sw = getPoint(225, point.lng, point.lat, that.distance) |
| | | var ne = getPoint(45, point.lng, point.lat, that.distance) |
| | | var data = point[sensor] |
| | | // 根据因子浓度变换方块颜色 |
| | | var color = getColorAndLevel(sensor, data).color |
| | | var polygon = new window.BMapGL.Polygon( |
| | | var polygon = new BMapGL.Polygon( |
| | | [ |
| | | new window.BMapGL.Point(sw.lng, sw.lat), // 左下角 |
| | | new window.BMapGL.Point(ne.lng, sw.lat), // 左上角 |
| | | new window.BMapGL.Point(ne.lng, ne.lat), // 右上角 |
| | | new window.BMapGL.Point(sw.lng, ne.lat) // 右下角 |
| | | new BMapGL.Point(sw.lng, sw.lat), // 左下角 |
| | | new BMapGL.Point(ne.lng, sw.lat), // 左上角 |
| | | new BMapGL.Point(ne.lng, ne.lat), // 右上角 |
| | | new BMapGL.Point(sw.lng, ne.lat), // 右下角 |
| | | ], |
| | | { |
| | | strokeWeight: 0.1, // 边框线的宽度,以像素为单位 |
| | |
| | | fillColor: color, // 是否需要填充色 |
| | | fillOpacity: 0.8, // 填充色的透明度,0~1之间 |
| | | strokeColor: 'black', // 边框线的颜色 |
| | | strokeStyle: 'solid' // 边线的样式,solid或dashed。 |
| | | strokeStyle: 'solid', // 边线的样式,solid或dashed。 |
| | | } |
| | | ) |
| | | that.map.addOverlay(polygon) |
| | |
| | | } |
| | | |
| | | // 起点和终点标注 |
| | | function drawStartAndEnd() { |
| | | var startIcon = new window.BMapGL.Icon( |
| | | function drawStartAndEnd () { |
| | | var startIcon = new BMapGL.Icon( |
| | | require('@/assets/images/start.png'), |
| | | new window.BMapGL.Size(48, 48) |
| | | new BMapGL.Size(48, 48) |
| | | ) |
| | | var startMark = new window.BMapGL.Marker(that.showPoints[0], { |
| | | var startMark = new BMapGL.Marker(that.showPoints[0], { |
| | | icon: startIcon, |
| | | offset: new window.BMapGL.Size(0, -20) |
| | | offset: new BMapGL.Size(0, -20), |
| | | }) |
| | | that.map.addOverlay(startMark) |
| | | var endIcon = new window.BMapGL.Icon( |
| | | var endIcon = new BMapGL.Icon( |
| | | require('@/assets/images/end.png'), |
| | | new window.BMapGL.Size(48, 48) |
| | | new BMapGL.Size(48, 48) |
| | | ) |
| | | var endMark = new window.BMapGL.Marker( |
| | | var endMark = new BMapGL.Marker( |
| | | that.showPoints[that.showPoints.length - 1], |
| | | { |
| | | icon: endIcon, |
| | | offset: new window.BMapGL.Size(0, -20) |
| | | offset: new BMapGL.Size(0, -20), |
| | | } |
| | | ) |
| | | that.map.addOverlay(endMark) |
| | | } |
| | | |
| | | // 绘制带箭头折线 |
| | | function drawLine() { |
| | | function drawLine () { |
| | | var data = [] |
| | | var points = [] |
| | | $.each(trackPoints, function(index, value) { |
| | | $.each(trackPoints, function (index, value) { |
| | | var point = [] |
| | | point.push(value['lng'], value['lat']) |
| | | points.push(point) |
| | |
| | | data.push({ |
| | | geometry: { |
| | | type: '"LineString"', |
| | | coordinates: [points] |
| | | } |
| | | coordinates: [points], |
| | | }, |
| | | }) |
| | | var lineLayer = new mapvgl.LineLayer({ |
| | | color: 'red', |
| | |
| | | animation: true, |
| | | duration: 10, // 循环时间2s |
| | | trailLength: 0.1, // 拖尾长度占间隔的0.4 |
| | | interval: 0.3 // 粒子长度占线整体长度的0.2 |
| | | interval: 0.3, // 粒子长度占线整体长度的0.2 |
| | | }) |
| | | that.view.addLayer(lineLayer) |
| | | lineLayer.setData(data) |
| | | } |
| | | |
| | | // 格子间隔>=size的放进points |
| | | function getShowPoints(size) { |
| | | function getShowPoints (size) { |
| | | var points = [] |
| | | points.push(trackPoints[0]) |
| | | for (var i = 1; i < trackPoints.length; i++) { |
| | |
| | | } |
| | | |
| | | // 根据中心,角度,距离,找点 |
| | | function getPoint(angle, lng, lat, distance) { |
| | | function getPoint (angle, lng, lat, distance) { |
| | | var EARTH_RADIUS = 6378137 // 地球的半径,m |
| | | // 将距离转换成经度的计算公式 |
| | | var ra = distance / EARTH_RADIUS |
| | |
| | | lng = (lng * 180) / Math.PI |
| | | lat = (lat * 180) / Math.PI |
| | | // console.log(lng, lat) |
| | | return new window.BMapGL.Point(lng, lat) |
| | | return new BMapGL.Point(lng, lat) |
| | | } |
| | | |
| | | function getGrading(sensor, type, carMac) { |
| | | function getGrading (sensor, type, carMac) { |
| | | var levels = [] |
| | | var level0 = {} |
| | | var level1 = {} |
| | |
| | | level5.color = '#99004c' |
| | | level6.color = '#7e0023' |
| | | |
| | | $.each(that.showPoints, function(index, value) { |
| | | $.each(that.showPoints, function (index, value) { |
| | | var sw = getPoint(225, value.lng, value.lat, that.distance) |
| | | var ne = getPoint(45, value.lng, value.lat, 30) |
| | | var polygon = [] |
| | |
| | | data0.push({ |
| | | geometry: { |
| | | type: 'Polygon', |
| | | coordinates: [polygon] |
| | | coordinates: [polygon], |
| | | }, |
| | | properties: { |
| | | height: height |
| | | } |
| | | height: height, |
| | | }, |
| | | }) |
| | | break |
| | | case 1: |
| | | data1.push({ |
| | | geometry: { |
| | | type: 'Polygon', |
| | | coordinates: [polygon] |
| | | coordinates: [polygon], |
| | | }, |
| | | properties: { |
| | | height: height |
| | | } |
| | | height: height, |
| | | }, |
| | | }) |
| | | break |
| | | case 2: |
| | | data2.push({ |
| | | geometry: { |
| | | type: 'Polygon', |
| | | coordinates: [polygon] |
| | | coordinates: [polygon], |
| | | }, |
| | | properties: { |
| | | height: height |
| | | } |
| | | height: height, |
| | | }, |
| | | }) |
| | | break |
| | | case 3: |
| | | data3.push({ |
| | | geometry: { |
| | | type: 'Polygon', |
| | | coordinates: [polygon] |
| | | coordinates: [polygon], |
| | | }, |
| | | properties: { |
| | | height: height |
| | | } |
| | | height: height, |
| | | }, |
| | | }) |
| | | break |
| | | case 4: |
| | | data4.push({ |
| | | geometry: { |
| | | type: 'Polygon', |
| | | coordinates: [polygon] |
| | | coordinates: [polygon], |
| | | }, |
| | | properties: { |
| | | height: height |
| | | } |
| | | height: height, |
| | | }, |
| | | }) |
| | | break |
| | | case 5: |
| | | data5.push({ |
| | | geometry: { |
| | | type: 'Polygon', |
| | | coordinates: [polygon] |
| | | coordinates: [polygon], |
| | | }, |
| | | properties: { |
| | | height: height |
| | | } |
| | | height: height, |
| | | }, |
| | | }) |
| | | break |
| | | case 6: |
| | | data6.push({ |
| | | geometry: { |
| | | type: 'Polygon', |
| | | coordinates: [polygon] |
| | | coordinates: [polygon], |
| | | }, |
| | | properties: { |
| | | height: height |
| | | } |
| | | height: height, |
| | | }, |
| | | }) |
| | | break |
| | | } |
| | |
| | | levels.push(level0, level1, level2, level3, level4, level5, level6) |
| | | return levels |
| | | } |
| | | function getColorAndLevel(senosor, data) { |
| | | function getColorAndLevel (senosor, data) { |
| | | var levelData = that.sensorTableData |
| | | var colorAndLevel = {} |
| | | var color |
| | |
| | | } |
| | | |
| | | // point上添加label文本 |
| | | function setLabelStyle(content, point) { |
| | | var label = new window.BMapGL.Label( |
| | | function setLabelStyle (content, point) { |
| | | var label = new BMapGL.Label( |
| | | "<span class='my-maptip'>" + content + '<br /><span>', // 为lable填写内容 |
| | | { |
| | | offset: new window.BMapGL.Size(-8, -10), // label的偏移量,为了让label的中心显示在点上 |
| | | position: point |
| | | offset: new BMapGL.Size(-8, -10), // label的偏移量,为了让label的中心显示在点上 |
| | | position: point, |
| | | } // label的位置 |
| | | ) |
| | | var offsetSize = new window.BMapGL.Size(0, 0) |
| | | var offsetSize = new BMapGL.Size(0, 0) |
| | | var size = '10px' |
| | | if (that.map.getZoom() <= 15.5) { |
| | | size = '0px' |
| | |
| | | lineHeight: '20px', |
| | | fontFamily: '微软雅黑', |
| | | backgroundColor: '0.05', |
| | | fontWeight: 'bold' |
| | | fontWeight: 'bold', |
| | | } |
| | | label.setStyle(labelStyle) |
| | | that.map.addOverlay(label) |
| | | } |
| | | |
| | | // 无数据时,缩放至该中心 |
| | | function showNoPoints() { |
| | | function showNoPoints () { |
| | | that.map.centerAndZoom('苏州市', 17) |
| | | setTimeout(function() { |
| | | setTimeout(function () { |
| | | document.getElementById('cpm').style.display = 'block' |
| | | document.getElementById('data').style.display = 'none' |
| | | }, 250) |
| | | } |
| | | |
| | | // 地图缩放级别监控 |
| | | that.map.addEventListener('zoomend', function() { |
| | | that.map.addEventListener('zoomend', function () { |
| | | // 这里根据缩放显示和隐藏文本 |
| | | var zoom = that.map.getZoom() |
| | | $('span.my-maptip').parent()[zoom <= 15.5 ? 'hide' : 'show']() |
| | |
| | | }) |
| | | |
| | | // var that = this |
| | | function clickChange() { |
| | | function clickChange () { |
| | | $('.carTop').on('click', () => { |
| | | // console.log('点击了') |
| | | that.view.removeAllLayers() |
| | |
| | | clickChange() |
| | | } |
| | | }, |
| | | changeCode(value) { |
| | | changeCode (value) { |
| | | switch (value) { |
| | | case 'PM2.5': |
| | | this.sensorKey = 'a34004' |
| | |
| | | break |
| | | } |
| | | this.initStart(this.carData) |
| | | } |
| | | } |
| | | }, |
| | | }, |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" > |
| | | <style lang="scss" scoped> |
| | | .main-container { |
| | | display: -webkit-box; |
| | | display: -ms-flexbox; |
| | | display: flex; |
| | | -webkit-box-orient: vertical; |
| | | -webkit-box-direction: normal; |
| | | -ms-flex-flow: column; |
| | | flex-flow: column; |
| | | min-height: 100%; |
| | | -webkit-transition: margin-left 0.28s; |
| | | transition: margin-left 0.28s; |
| | | margin-left: 210px; |
| | | position: relative; |
| | | height: 100%; |
| | | } |
| | | /deep/.BMap_cpyCtrl { |
| | | display: none; |
| | | } |
| | |
| | | /deep/.inputNum { |
| | | width: 4% !important; |
| | | } |
| | | .dateArrClass { |
| | | position: relative; |
| | | } |
| | | .dateArrClass > div ::after { |
| | | content: ''; |
| | | position: absolute; |
| | | right: 8px; |
| | | top: 23px; |
| | | width: 5px; |
| | | height: 5px; |
| | | border-radius: 50%; |
| | | z-index: 999; |
| | | background-color: #f40; |
| | | } |
| | | |
| | | .numss { |
| | | width: 700px; |
| | | background-color: white; |
| | |
| | | width: 20%; |
| | | } |
| | | } |
| | | .jlpMySelectPopper.el-picker-panel { |
| | | width: 280px; |
| | | height: 330px; |
| | | } |
| | | .jlpMySelectPopper.el-date-picker table { |
| | | width: 88%; |
| | | } |
| | | |
| | | .BMap_cpyCtrl { |
| | | display: none; |
| | | } |
| | |
| | | .el-scrollbar__wrap { |
| | | overflow-x: hidden; |
| | | } |
| | | .dataParameter{ |
| | | background-color: rgba(192, 192, 192, 0.4); |
| | | position: absolute; |
| | | bottom: 0px; |
| | | padding: 10px; |
| | | color: #000; |
| | | font-size: 16px; |
| | | cursor: pointer; |
| | | display: flex; |
| | | .item{ |
| | | margin: 0px; |
| | | padding: 0px; |
| | | } |
| | | } |
| | | </style> |
| | | <style > |
| | | .jlpMySelectPopper.el-picker-panel { |
| | | width: 280px; |
| | | height: 330px; |
| | | } |
| | | .jlpMySelectPopper.el-date-picker table { |
| | | width: 88%; |
| | | } |
| | | .dateArrClass { |
| | | position: relative; |
| | | } |
| | | .dateArrClass > div ::after { |
| | | content: ''; |
| | | position: absolute; |
| | | right: 8px; |
| | | top: 23px; |
| | | width: 5px; |
| | | height: 5px; |
| | | border-radius: 50%; |
| | | z-index: 999; |
| | | background-color: #f40; |
| | | } |
| | | |
| | | </style> |