2024-07-11 18:02:47 +08:00
|
|
|
|
<template>
|
|
|
|
|
|
<div class="shuju">
|
|
|
|
|
|
<div class="shuju_con">
|
2024-07-13 18:00:03 +08:00
|
|
|
|
<div v-show="show == false" class="left">
|
2024-10-09 11:25:00 +08:00
|
|
|
|
<div class="tags">
|
|
|
|
|
|
<span class="tag" v-if="menu1">航次名称:{{ menu1 }} <i class="el-icon-close" @click="menu1 = ''"></i></span>
|
|
|
|
|
|
<span class="tag" v-if="menu2">平台类型:{{ menu2 }} <i class="el-icon-close" @click="menu2 = ''"></i></span>
|
|
|
|
|
|
<span class="tag" v-if="menu3">设备类型:{{ menu3 }} <i class="el-icon-close" @click="menu3 = ''"></i></span>
|
|
|
|
|
|
<span class="tag" v-if="menu4">数据样品类型:{{ menu4 }} <i class="el-icon-close" @click="menu4 = ''"></i></span>
|
|
|
|
|
|
</div>
|
2024-07-11 18:02:47 +08:00
|
|
|
|
<div class="left1">
|
|
|
|
|
|
<div class="xiala">
|
2024-07-13 18:00:03 +08:00
|
|
|
|
<el-select v-model="searchTypeValue" placeholder="">
|
2024-10-15 15:42:07 +08:00
|
|
|
|
<el-option v-for="(item, index) in searchType" :key="index" :label="item.label" :value="item.label"
|
|
|
|
|
|
:disabled="item.disabled" />
|
2024-07-11 18:02:47 +08:00
|
|
|
|
</el-select>
|
|
|
|
|
|
</div>
|
2024-07-13 18:00:03 +08:00
|
|
|
|
<el-input v-model="searchValue" placeholder="" />
|
2024-09-29 14:55:53 +08:00
|
|
|
|
<el-button class="sousuo" type="primary" icon="el-icon-search" @click="getSearch" />
|
2024-10-09 11:25:00 +08:00
|
|
|
|
<el-button v-if="menuShow" class="caidan" type="default" icon="el-icon-s-operation" @click="handleMenu" />
|
2024-07-11 18:02:47 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
<div class="left3">
|
2024-07-13 18:00:03 +08:00
|
|
|
|
<el-radio-group v-model="radio">
|
|
|
|
|
|
<el-radio label="数据样品集">数据样品集</el-radio>
|
|
|
|
|
|
<el-radio label="航次">航次</el-radio>
|
|
|
|
|
|
</el-radio-group>
|
2024-07-11 18:02:47 +08:00
|
|
|
|
</div>
|
2024-10-09 11:25:00 +08:00
|
|
|
|
<div class="left4" v-if="searchTypeValue == '航次名称' && menuList1.length">
|
|
|
|
|
|
<div class="list">
|
|
|
|
|
|
<div class="list-title">请选择航次名称</div>
|
2024-10-15 15:42:07 +08:00
|
|
|
|
<div class="list-value" v-for="(item, index) in menuList1" :key="index" @click="selectMenu1(item)">{{
|
|
|
|
|
|
item.name }}</div>
|
2024-10-09 11:25:00 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="left4" v-if="searchTypeValue == '平台类型' && menuList2.length">
|
|
|
|
|
|
<div class="list">
|
|
|
|
|
|
<div class="list-title">请选择平台类型</div>
|
2024-10-15 15:42:07 +08:00
|
|
|
|
<div class="list-value" v-for="(item, index) in menuList2" :key="index" @click="selectMenu2(item)">{{
|
|
|
|
|
|
item.name + '(' + item.value + ')' }}</div>
|
2024-10-09 11:25:00 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="left4" v-if="searchTypeValue == '设备类型' && menuList3.length">
|
|
|
|
|
|
<div class="list">
|
|
|
|
|
|
<div class="list-title">请选择设备类型</div>
|
2024-10-15 15:42:07 +08:00
|
|
|
|
<div class="list-value" v-for="(item, index) in menuList3" :key="index" @click="selectMenu3(item)">{{
|
|
|
|
|
|
item.name + '(' + item.value + ')' }}</div>
|
2024-10-09 11:25:00 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="left4" v-if="searchTypeValue == '数据样品类型' && menuList4.length">
|
|
|
|
|
|
<div class="list">
|
|
|
|
|
|
<div class="list-title">请选择数据样品类型</div>
|
2024-10-15 15:42:07 +08:00
|
|
|
|
<div class="list-value" v-for="(item, index) in menuList4" :key="index" @click="selectMenu4(item)">{{
|
|
|
|
|
|
item.name + '(' + item.value + ')' }}</div>
|
2024-10-09 11:25:00 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
2024-07-13 18:00:03 +08:00
|
|
|
|
<div class="left4" v-if="radio == '数据样品集'">
|
2024-09-29 14:55:53 +08:00
|
|
|
|
<div v-for="(item, index) in dataList" :key="index" class="left4_1" @click="openList(item)">
|
2024-07-11 18:02:47 +08:00
|
|
|
|
<div class="left4_top">
|
2024-09-29 14:55:53 +08:00
|
|
|
|
<p>{{ item.dataset_name }} <span class="mileage">{{ item.file_total }}</span></p>
|
2024-07-13 18:00:03 +08:00
|
|
|
|
<span class="org">{{ item.create_time }}</span>
|
2024-07-11 18:02:47 +08:00
|
|
|
|
</div>
|
2024-09-02 13:51:14 +08:00
|
|
|
|
<ul v-if="currenId == item.tsy_id && fold">
|
2024-09-29 14:55:53 +08:00
|
|
|
|
<li :class="sample.tsy_id == currenSample ? 'bg-color' : ''" class="sample"
|
|
|
|
|
|
v-for="(sample, i) in item.sampleArray" :key="i" @click.stop="onSample(sample)">{{ sample.sample_name }}
|
|
|
|
|
|
</li>
|
2024-07-14 20:41:51 +08:00
|
|
|
|
</ul>
|
2024-07-11 18:02:47 +08:00
|
|
|
|
<div class="left4_list">
|
|
|
|
|
|
<div class="list1">
|
|
|
|
|
|
<p>航次:</p>
|
2024-07-13 18:00:03 +08:00
|
|
|
|
<span>{{ item.voyage_name }}</span>
|
2024-07-11 18:02:47 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
<div class="list1">
|
2024-07-13 18:00:03 +08:00
|
|
|
|
<p>平台类型:</p>
|
|
|
|
|
|
<span>{{ item.platform_type }}</span>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="list1">
|
|
|
|
|
|
<p>平台名称:</p>
|
|
|
|
|
|
<span>{{ item.platform_name }}</span>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="list1">
|
|
|
|
|
|
<p>潜次序号:</p>
|
|
|
|
|
|
<span>{{ item.diving_sn }}</span>
|
2024-07-11 18:02:47 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="list1">
|
2024-07-13 18:00:03 +08:00
|
|
|
|
<p>设备类型:</p>
|
|
|
|
|
|
<span>{{ item.equipment_type }}</span>
|
2024-07-11 18:02:47 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="list1">
|
2024-07-13 18:00:03 +08:00
|
|
|
|
<p>数据样品类型:</p>
|
|
|
|
|
|
<span>{{ item.data_type }}</span>
|
2024-07-11 18:02:47 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
|
2024-07-13 18:00:03 +08:00
|
|
|
|
<div class="list1">
|
|
|
|
|
|
<p>作业类型:</p>
|
|
|
|
|
|
<span>{{ item.job_type }}</span>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="left4" v-if="radio == '航次'">
|
2024-09-29 14:55:53 +08:00
|
|
|
|
<div v-for="(item, index) in dataList" :key="index" class="left4_1" @click="turnDeatilPage(item)">
|
2024-07-13 18:00:03 +08:00
|
|
|
|
<div class="left4_top">
|
2024-10-16 09:16:41 +08:00
|
|
|
|
<p :style="currentVoyage === item.tsy_id ? 'color: #409eff' : ''">{{ item.voyage_name }} <span class="mileage">{{ item.voyage_mileage }}海里</span></p>
|
2024-07-13 18:00:03 +08:00
|
|
|
|
<span class="org">{{ item.funding_org }}</span>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="left4_list">
|
|
|
|
|
|
<div class="list1">
|
|
|
|
|
|
<p>科考船舶:</p>
|
|
|
|
|
|
<span>{{ item.ship_name }}</span>
|
|
|
|
|
|
</div>
|
2024-07-11 18:02:47 +08:00
|
|
|
|
<div class="list1">
|
|
|
|
|
|
<p>航次首席:</p>
|
2024-07-13 18:00:03 +08:00
|
|
|
|
<span>{{ item.voyage_officer }}</span>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="list1">
|
|
|
|
|
|
<p>离港日期:</p>
|
2024-09-29 14:55:53 +08:00
|
|
|
|
<span>{{ item.voyage_start_date.slice(0, 10) }}</span>
|
2024-07-13 18:00:03 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="list1">
|
|
|
|
|
|
<p>返港日期:</p>
|
2024-09-29 14:55:53 +08:00
|
|
|
|
<span>{{ item.voyage_end_date.slice(0, 10) }}</span>
|
2024-07-13 18:00:03 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="list1">
|
|
|
|
|
|
<p>项目编号:</p>
|
|
|
|
|
|
<span>{{ item.funding_code }}</span>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="list1">
|
|
|
|
|
|
<p>是否涉密:</p>
|
|
|
|
|
|
<span>{{ item.serect_status == 'Active' ? '是' : '否' }}</span>
|
2024-07-11 18:02:47 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="arrow">
|
|
|
|
|
|
<img src="../../static/images/arrow_nav.png" alt="" @click="shousuo">
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
2024-07-13 18:00:03 +08:00
|
|
|
|
<div v-show="show" class="arrow_r" @click="toshow">
|
2024-07-11 18:02:47 +08:00
|
|
|
|
<img src="../../static/images/arrow_nav1.png" alt="">
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="right">
|
2024-09-13 13:59:25 +08:00
|
|
|
|
<div id="cesiumContainerData" style="height: 100vh;width:100%;" />
|
2024-09-19 09:12:50 +08:00
|
|
|
|
<img class="logo" src="../../static/images/logo_map.png" alt="" @click="goHome" />
|
2024-07-11 18:02:47 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
2024-10-09 11:25:00 +08:00
|
|
|
|
import {
|
|
|
|
|
|
getMenu,
|
|
|
|
|
|
getDataList,
|
|
|
|
|
|
dataPoints,
|
|
|
|
|
|
sampleLineList,
|
|
|
|
|
|
sampleStationList
|
|
|
|
|
|
} from '../api/dataSearch'
|
2024-07-20 11:25:13 +08:00
|
|
|
|
import { getParamsList, getVoyageLine } from '../api/home'
|
2024-10-08 14:49:06 +08:00
|
|
|
|
import Cookies from 'js-cookie'
|
2024-10-16 15:22:42 +08:00
|
|
|
|
import {
|
|
|
|
|
|
setImageryViewModels
|
|
|
|
|
|
} from '@/utils/common'
|
|
|
|
|
|
|
2024-07-13 18:00:03 +08:00
|
|
|
|
const Cesium = window.Cesium
|
2024-07-11 18:02:47 +08:00
|
|
|
|
export default {
|
|
|
|
|
|
name: 'Shuju',
|
|
|
|
|
|
data() {
|
|
|
|
|
|
return {
|
2024-07-13 18:00:03 +08:00
|
|
|
|
show: false,
|
|
|
|
|
|
viewer: null,
|
|
|
|
|
|
color: [Cesium.Color.RED, Cesium.Color.GREEN, Cesium.Color.BLUE, Cesium.Color.CHARTREUSE, Cesium.Color.DARKBLUE],
|
2024-10-09 11:25:00 +08:00
|
|
|
|
searchType: [
|
|
|
|
|
|
{
|
|
|
|
|
|
label: '航次名称',
|
|
|
|
|
|
disabled: false
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
label: '平台类型',
|
|
|
|
|
|
disabled: false
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
label: '平台名称'
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
label: '设备类型',
|
|
|
|
|
|
disabled: false
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
label: '数据样品类型',
|
|
|
|
|
|
disabled: false
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
label: '数据集名称'
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
label: '航次首席'
|
|
|
|
|
|
}
|
|
|
|
|
|
],
|
2024-07-13 18:00:03 +08:00
|
|
|
|
searchTypeValue: '航次名称',
|
|
|
|
|
|
radio: '航次',
|
2024-10-09 11:25:00 +08:00
|
|
|
|
menu1: '',
|
|
|
|
|
|
menu2: '',
|
|
|
|
|
|
menu3: '',
|
|
|
|
|
|
menu4: '',
|
|
|
|
|
|
menuList1: [],
|
|
|
|
|
|
menuList2: [],
|
|
|
|
|
|
menuList3: [],
|
|
|
|
|
|
menuList4: [],
|
2024-07-13 18:00:03 +08:00
|
|
|
|
dataList: [],
|
|
|
|
|
|
searchValue: '',
|
2024-07-14 20:41:51 +08:00
|
|
|
|
menuShow: true,
|
|
|
|
|
|
currenId: null,
|
2024-09-02 13:51:14 +08:00
|
|
|
|
fold: false,
|
2024-07-14 20:41:51 +08:00
|
|
|
|
currenSample: null,
|
|
|
|
|
|
previousEntityId: null,
|
|
|
|
|
|
job: '',
|
|
|
|
|
|
chooseStation: null,
|
|
|
|
|
|
chooseLine: null,
|
2024-10-16 09:16:41 +08:00
|
|
|
|
currentVoyage: null, // 当前选中的航次
|
2024-07-20 11:25:13 +08:00
|
|
|
|
// 地图图层基础地址
|
2024-10-16 15:22:42 +08:00
|
|
|
|
CesiumHostAddr: '',
|
|
|
|
|
|
// 保存自定义底图
|
|
|
|
|
|
imageryViewModels: []
|
2024-07-13 18:00:03 +08:00
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
created() {
|
2024-07-20 11:25:13 +08:00
|
|
|
|
this.getParams()
|
2024-07-13 18:00:03 +08:00
|
|
|
|
},
|
|
|
|
|
|
mounted() {
|
2024-07-20 11:25:13 +08:00
|
|
|
|
// this.initCesium()
|
2024-07-13 18:00:03 +08:00
|
|
|
|
},
|
|
|
|
|
|
watch: {
|
2024-07-14 20:41:51 +08:00
|
|
|
|
radio(val) {
|
2024-10-09 11:25:00 +08:00
|
|
|
|
this.dataList = []
|
2024-07-14 20:41:51 +08:00
|
|
|
|
},
|
|
|
|
|
|
searchTypeValue(val) {
|
|
|
|
|
|
if (val == '航次名称' || val == '平台类型' || val == '设备类型' || val == '数据样品类型') {
|
|
|
|
|
|
this.menuShow = true
|
|
|
|
|
|
} else {
|
|
|
|
|
|
this.menuShow = false
|
|
|
|
|
|
}
|
2024-10-09 11:25:00 +08:00
|
|
|
|
},
|
|
|
|
|
|
menu1(val) {
|
|
|
|
|
|
if (val) {
|
|
|
|
|
|
this.searchType[0].disabled = true
|
|
|
|
|
|
} else {
|
|
|
|
|
|
this.searchType[0].disabled = false
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
menu2(val) {
|
|
|
|
|
|
if (val) {
|
|
|
|
|
|
this.searchType[1].disabled = true
|
|
|
|
|
|
} else {
|
|
|
|
|
|
this.searchType[1].disabled = false
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
menu3(val) {
|
|
|
|
|
|
if (val) {
|
|
|
|
|
|
this.searchType[3].disabled = true
|
|
|
|
|
|
} else {
|
|
|
|
|
|
this.searchType[3].disabled = false
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
menu4(val) {
|
|
|
|
|
|
if (val) {
|
|
|
|
|
|
this.searchType[4].disabled = true
|
|
|
|
|
|
} else {
|
|
|
|
|
|
this.searchType[4].disabled = false
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
2024-07-11 18:02:47 +08:00
|
|
|
|
},
|
|
|
|
|
|
methods: {
|
2024-07-20 11:25:13 +08:00
|
|
|
|
// 获取从参数列表
|
|
|
|
|
|
getParams() {
|
|
|
|
|
|
getParamsList().then(res => {
|
|
|
|
|
|
const arr = res.array
|
|
|
|
|
|
if (arr.length) {
|
|
|
|
|
|
arr.forEach(item => {
|
|
|
|
|
|
if (item.param_name === 'CesiumHostAddr') {
|
|
|
|
|
|
this.CesiumHostAddr = item.param_value
|
2024-10-16 15:22:42 +08:00
|
|
|
|
this.imageryViewModels = setImageryViewModels(this.CesiumHostAddr);
|
2024-07-20 11:25:13 +08:00
|
|
|
|
this.initCesium()
|
|
|
|
|
|
}
|
|
|
|
|
|
})
|
|
|
|
|
|
}
|
|
|
|
|
|
})
|
|
|
|
|
|
},
|
2024-10-09 11:25:00 +08:00
|
|
|
|
// 获取菜单
|
|
|
|
|
|
handleMenu() {
|
|
|
|
|
|
this.dataList = []
|
|
|
|
|
|
getMenu({
|
|
|
|
|
|
start: 0,
|
|
|
|
|
|
limit: 10000,
|
|
|
|
|
|
search_type: this.searchTypeValue,
|
|
|
|
|
|
return_type: this.radio,
|
|
|
|
|
|
voyage_name: this.menu1,
|
|
|
|
|
|
platform_type: this.menu2,
|
|
|
|
|
|
equipment_type: this.menu3,
|
|
|
|
|
|
data_type: this.menu4
|
|
|
|
|
|
}).then(res => {
|
|
|
|
|
|
if (this.searchTypeValue === '航次名称') {
|
|
|
|
|
|
this.menuList1 = res.page.records
|
|
|
|
|
|
} else if (this.searchTypeValue === '平台类型') {
|
|
|
|
|
|
this.menuList2 = res.page.records
|
|
|
|
|
|
} else if (this.searchTypeValue === '设备类型') {
|
|
|
|
|
|
this.menuList3 = res.page.records
|
|
|
|
|
|
} else if (this.searchTypeValue === '数据样品类型') {
|
|
|
|
|
|
this.menuList4 = res.page.records
|
|
|
|
|
|
}
|
|
|
|
|
|
})
|
|
|
|
|
|
},
|
|
|
|
|
|
selectMenu1(item) {
|
|
|
|
|
|
this.menu1 = item.name
|
|
|
|
|
|
this.menuList1 = []
|
|
|
|
|
|
this.searchType[0].disabled = true
|
|
|
|
|
|
const str = this.searchType.find(item => {
|
|
|
|
|
|
return item.disabled !== true
|
|
|
|
|
|
})
|
|
|
|
|
|
this.searchTypeValue = str.label
|
|
|
|
|
|
},
|
|
|
|
|
|
selectMenu2(item) {
|
|
|
|
|
|
this.menu2 = item.name
|
|
|
|
|
|
this.menuList2 = []
|
|
|
|
|
|
this.searchType[1].disabled = true
|
|
|
|
|
|
const str = this.searchType.find(item => {
|
|
|
|
|
|
return item.disabled !== true
|
|
|
|
|
|
})
|
|
|
|
|
|
this.searchTypeValue = str.label
|
|
|
|
|
|
},
|
|
|
|
|
|
selectMenu3(item) {
|
|
|
|
|
|
this.menu3 = item.name
|
|
|
|
|
|
this.menuList3 = []
|
|
|
|
|
|
this.searchType[3].disabled = true
|
|
|
|
|
|
const str = this.searchType.find(item => {
|
|
|
|
|
|
return item.disabled !== true
|
|
|
|
|
|
})
|
|
|
|
|
|
this.searchTypeValue = str.label
|
|
|
|
|
|
},
|
|
|
|
|
|
selectMenu4(item) {
|
|
|
|
|
|
this.menu4 = item.name
|
|
|
|
|
|
this.menuList4 = []
|
|
|
|
|
|
this.searchType[4].disabled = true
|
|
|
|
|
|
const str = this.searchType.find(item => {
|
|
|
|
|
|
return item.disabled !== true
|
|
|
|
|
|
})
|
|
|
|
|
|
this.searchTypeValue = str.label
|
|
|
|
|
|
},
|
2024-07-13 18:00:03 +08:00
|
|
|
|
// 获取左侧航次列表
|
|
|
|
|
|
getList() {
|
2024-07-14 20:41:51 +08:00
|
|
|
|
this.clearAll()
|
2024-07-13 18:00:03 +08:00
|
|
|
|
this.dataList = []
|
|
|
|
|
|
const params = {
|
2024-10-09 11:25:00 +08:00
|
|
|
|
start: 0,
|
|
|
|
|
|
limit: 10000,
|
2024-07-13 18:00:03 +08:00
|
|
|
|
search_type: this.searchTypeValue,
|
|
|
|
|
|
return_type: this.radio,
|
2024-10-09 11:25:00 +08:00
|
|
|
|
voyage_name: this.menu1,
|
|
|
|
|
|
platform_type: this.menu2,
|
|
|
|
|
|
equipment_type: this.menu3,
|
|
|
|
|
|
data_type: this.menu4,
|
2024-07-13 18:00:03 +08:00
|
|
|
|
search_value: this.searchValue,
|
2024-10-08 14:49:06 +08:00
|
|
|
|
FrameSessionId: Cookies.get('JSESSIONID')
|
2024-07-13 18:00:03 +08:00
|
|
|
|
}
|
2024-10-09 11:25:00 +08:00
|
|
|
|
getDataList(params).then(res => {
|
2024-07-14 20:41:51 +08:00
|
|
|
|
const arr = res.page.records
|
|
|
|
|
|
if (this.radio == '航次') {
|
|
|
|
|
|
this.getVoyagePoints(arr)
|
|
|
|
|
|
}
|
|
|
|
|
|
if (this.radio == '数据样品集') {
|
|
|
|
|
|
this.getDataPoints(arr)
|
|
|
|
|
|
}
|
|
|
|
|
|
})
|
|
|
|
|
|
},
|
|
|
|
|
|
// 搜素
|
|
|
|
|
|
getSearch() {
|
2024-10-09 11:25:00 +08:00
|
|
|
|
this.getList()
|
2024-07-14 20:41:51 +08:00
|
|
|
|
},
|
|
|
|
|
|
// 获取航次坐标点位
|
|
|
|
|
|
getVoyagePoints(arr) {
|
|
|
|
|
|
const voyageList = arr
|
|
|
|
|
|
voyageList.map((item, index) => {
|
|
|
|
|
|
// 获取航次坐标点
|
|
|
|
|
|
getVoyageLine({
|
|
|
|
|
|
voyage_id: item.tsy_id
|
|
|
|
|
|
}).then(res2 => {
|
|
|
|
|
|
// 格式化坐标点
|
|
|
|
|
|
const points = []
|
|
|
|
|
|
res2.array.forEach(point => {
|
|
|
|
|
|
points.push(Number(point.nav_lon), Number(point.nav_lat))
|
|
|
|
|
|
})
|
2024-10-16 09:16:41 +08:00
|
|
|
|
this.drawLine(index, item.tsy_id, points, '航次航线')
|
2024-07-14 20:41:51 +08:00
|
|
|
|
// 将坐标点添加到航次列表中
|
|
|
|
|
|
item.points = points
|
|
|
|
|
|
})
|
2024-07-13 18:00:03 +08:00
|
|
|
|
})
|
2024-07-14 20:41:51 +08:00
|
|
|
|
this.dataList = voyageList
|
2024-07-11 18:02:47 +08:00
|
|
|
|
},
|
2024-07-14 20:41:51 +08:00
|
|
|
|
// 获取数据样品集坐标点位
|
|
|
|
|
|
getDataPoints(arr) {
|
|
|
|
|
|
const voyageList = arr
|
|
|
|
|
|
voyageList.map((item, index) => {
|
|
|
|
|
|
if (item.job_type == '测线作业') {
|
|
|
|
|
|
// 获取样品列表
|
|
|
|
|
|
sampleLineList({
|
|
|
|
|
|
dataset_id: item.tsy_id
|
|
|
|
|
|
}).then(res => {
|
|
|
|
|
|
item.sampleArray = res.array
|
|
|
|
|
|
// 格式化坐标点
|
|
|
|
|
|
res.array.forEach(line => {
|
|
|
|
|
|
if (line.start_lon && line.start_lat && line.end_lon && line.end_lat) {
|
2024-10-16 09:16:41 +08:00
|
|
|
|
this.drawLine(index, line.tsy_id, [Number(line.start_lon), Number(line.start_lat), Number(line.end_lon), Number(line.end_lat)], '样品航线')
|
2024-07-14 20:41:51 +08:00
|
|
|
|
}
|
|
|
|
|
|
})
|
|
|
|
|
|
})
|
|
|
|
|
|
}
|
|
|
|
|
|
if (item.job_type == '站位作业') {
|
|
|
|
|
|
// 获取样品列表
|
|
|
|
|
|
sampleStationList({
|
|
|
|
|
|
dataset_id: item.tsy_id
|
|
|
|
|
|
}).then(res => {
|
|
|
|
|
|
item.sampleArray = res.array
|
|
|
|
|
|
// 格式化坐标点
|
|
|
|
|
|
res.array.forEach(point => {
|
|
|
|
|
|
this.setPoint(point.tsy_id, [Number(point.sampling_lon), Number(point.sampling_lat)])
|
|
|
|
|
|
})
|
|
|
|
|
|
})
|
|
|
|
|
|
}
|
|
|
|
|
|
// 获取数据样品集坐标点
|
|
|
|
|
|
dataPoints({
|
|
|
|
|
|
dataset_id: item.tsy_id
|
|
|
|
|
|
}).then(res => {
|
|
|
|
|
|
// 格式化坐标点
|
|
|
|
|
|
const points = []
|
|
|
|
|
|
res.array.forEach(point => {
|
|
|
|
|
|
points.push(Number(point.track_lon), Number(point.track_lat))
|
|
|
|
|
|
})
|
2024-10-16 09:16:41 +08:00
|
|
|
|
this.drawLine(index, item.tsy_id, points, '数据样品集航线')
|
2024-07-14 20:41:51 +08:00
|
|
|
|
// 将坐标点添加到航次列表中
|
|
|
|
|
|
item.points = points
|
|
|
|
|
|
})
|
|
|
|
|
|
})
|
|
|
|
|
|
this.dataList = voyageList
|
|
|
|
|
|
console.log(this.dataList)
|
|
|
|
|
|
},
|
|
|
|
|
|
|
2024-07-13 18:00:03 +08:00
|
|
|
|
// 初始化cesium
|
|
|
|
|
|
initCesium() {
|
|
|
|
|
|
Cesium.Ion.defaultAccessToken = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJkY2Y5NWY2Ni1mODQ1LTQ3YTUtYjc4Zi1jYzhjMGI2YzcxMWYiLCJpZCI6MTI5ODMwLCJpYXQiOjE2Nzk0Njk5NTd9.DTH54ioOH-HLqeNIetBe9hFyrPOX2Vp1AQmZzw8TIZ4'
|
|
|
|
|
|
this.viewer = new Cesium.Viewer('cesiumContainerData', {
|
|
|
|
|
|
sceneMode: Cesium.SceneMode.SCENE2D,
|
|
|
|
|
|
shadows: false,
|
|
|
|
|
|
timeline: false,
|
2024-10-16 15:22:42 +08:00
|
|
|
|
baseLayerPicker: true,
|
|
|
|
|
|
// 设置自定义底图
|
|
|
|
|
|
imageryProviderViewModels: this.imageryViewModels,
|
|
|
|
|
|
// 关闭默认的地形底图
|
|
|
|
|
|
terrainProviderViewModels: [],
|
2024-07-13 18:00:03 +08:00
|
|
|
|
fullscreenButton: false,
|
|
|
|
|
|
selectionIndicator: false,
|
2024-10-15 15:42:07 +08:00
|
|
|
|
homeButton: true,
|
2024-07-13 18:00:03 +08:00
|
|
|
|
animation: false,
|
|
|
|
|
|
infoBox: false,
|
|
|
|
|
|
geocoder: false,
|
|
|
|
|
|
navigationHelpButton: false
|
|
|
|
|
|
})
|
|
|
|
|
|
this.viewer._cesiumWidget._creditContainer.style.display = 'none'
|
|
|
|
|
|
this.viewer.scene.sun.show = false
|
|
|
|
|
|
this.viewer.scene.moon.show = false
|
|
|
|
|
|
this.viewer.scene.fog.enabled = false
|
|
|
|
|
|
this.viewer.scene.skyAtmosphere.show = false
|
|
|
|
|
|
this.viewer.scene.sun.show = false
|
|
|
|
|
|
this.viewer.scene.skyBox.show = false
|
|
|
|
|
|
this.viewer.scene.globe.enableLighting = false
|
|
|
|
|
|
this.viewer.shadowMap.darkness = 0.8
|
|
|
|
|
|
this.viewer.scene._sunBloom = false
|
|
|
|
|
|
this.viewer.scene.globe.showGroundAtmosphere = false
|
2024-09-02 13:51:14 +08:00
|
|
|
|
this.viewer.scene.postProcessStages.fxaa.enabled = true
|
|
|
|
|
|
|
2024-10-15 15:42:07 +08:00
|
|
|
|
// 单击 homeButton 返回初始位置
|
|
|
|
|
|
this.viewer.homeButton.viewModel.command.beforeExecute.addEventListener((e) => {
|
|
|
|
|
|
e.cancel = true;
|
|
|
|
|
|
this.viewer.camera.flyTo({
|
2024-09-29 17:12:39 +08:00
|
|
|
|
// 指定相机初始位置
|
2024-10-15 15:42:07 +08:00
|
|
|
|
destination: Cesium.Cartesian3.fromDegrees(112, 18, 4000000),
|
|
|
|
|
|
duration: 0.5
|
2024-09-29 17:12:39 +08:00
|
|
|
|
});
|
2024-10-15 15:42:07 +08:00
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
this.viewer.camera.setView({
|
|
|
|
|
|
// 指定相机初始位置
|
|
|
|
|
|
destination: Cesium.Cartesian3.fromDegrees(112, 18, 4000000)
|
|
|
|
|
|
});
|
2024-09-29 17:12:39 +08:00
|
|
|
|
|
2024-09-27 17:50:51 +08:00
|
|
|
|
// 不显示底图
|
2024-10-16 15:22:42 +08:00
|
|
|
|
// this.viewer.imageryLayers.get(0).show = false
|
2024-09-27 17:50:51 +08:00
|
|
|
|
|
2024-10-08 14:49:06 +08:00
|
|
|
|
// 创建一个ScreenSpaceEventHandler实例
|
|
|
|
|
|
const handler = new Cesium.ScreenSpaceEventHandler(this.viewer.scene.canvas);
|
|
|
|
|
|
// 设置一个点击事件监听器
|
|
|
|
|
|
handler.setInputAction((click) => {
|
|
|
|
|
|
// 获取点击位置的笛卡尔坐标(世界坐标)
|
|
|
|
|
|
const pickedObject = this.viewer.scene.pick(click.position);
|
|
|
|
|
|
this.currenSample = pickedObject.id._id
|
|
|
|
|
|
const type = pickedObject.id._type
|
2024-10-16 09:16:41 +08:00
|
|
|
|
if (type === 'point') {
|
2024-10-08 14:49:06 +08:00
|
|
|
|
this.job = '站位作业'
|
2024-10-16 09:16:41 +08:00
|
|
|
|
} else {
|
|
|
|
|
|
this.job = '测线作业'
|
2024-10-08 14:49:06 +08:00
|
|
|
|
}
|
|
|
|
|
|
this.onSample({
|
|
|
|
|
|
tsy_id: pickedObject.id._id
|
|
|
|
|
|
})
|
2024-10-16 09:16:41 +08:00
|
|
|
|
if (type === '航次航线') {
|
|
|
|
|
|
this.currentVoyage = pickedObject.id._id
|
|
|
|
|
|
}
|
2024-10-08 14:49:06 +08:00
|
|
|
|
}, Cesium.ScreenSpaceEventType.LEFT_CLICK);
|
|
|
|
|
|
|
2024-07-13 18:00:03 +08:00
|
|
|
|
// 叠加叠加影像服务
|
2024-10-16 15:22:42 +08:00
|
|
|
|
// const earthMap = new Cesium.WebMapTileServiceImageryProvider(
|
|
|
|
|
|
// {
|
|
|
|
|
|
// url: this.CesiumHostAddr + 'geoserver/gwc/service/wmts/rest/ougp:world/{TileMatrixSet}/{TileMatrixSet}:{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg',
|
|
|
|
|
|
// layer: 'ougp:world',
|
|
|
|
|
|
// style: 'default',
|
|
|
|
|
|
// format: 'image/jpeg',
|
|
|
|
|
|
// tileMatrixSetID: 'EPSG:4326',
|
|
|
|
|
|
// tilingScheme: new Cesium.GeographicTilingScheme()
|
|
|
|
|
|
// }
|
|
|
|
|
|
// )
|
|
|
|
|
|
// this.viewer.imageryLayers.addImageryProvider(earthMap)
|
2024-07-13 18:00:03 +08:00
|
|
|
|
// 增加海岸线 /geoserver/gwc/service/wmts/rest/ne:GSHHS_f_L1/EPSG:4326/EPSG:4326:{z}/{y}/{x}?format=image/png
|
2024-07-15 11:27:56 +08:00
|
|
|
|
const coastline = new Cesium.WebMapTileServiceImageryProvider(
|
|
|
|
|
|
{
|
2024-09-27 17:50:51 +08:00
|
|
|
|
url: this.CesiumHostAddr + 'geoserver/gwc/service/wmts/rest/ougp:GSHHS_f_L1/{TileMatrixSet}/{TileMatrixSet}:{TileMatrix}/{TileRow}/{TileCol}?format=image/png',
|
|
|
|
|
|
layer: 'ougp:GSHHS_f_L1',
|
2024-07-15 11:27:56 +08:00
|
|
|
|
style: 'default',
|
|
|
|
|
|
format: 'image/png',
|
2024-09-27 17:50:51 +08:00
|
|
|
|
tileMatrixSetID: 'EPSG:4326',
|
2024-07-15 11:27:56 +08:00
|
|
|
|
tilingScheme: new Cesium.GeographicTilingScheme()
|
|
|
|
|
|
}
|
|
|
|
|
|
)
|
|
|
|
|
|
this.viewer.imageryLayers.addImageryProvider(coastline)
|
2024-07-13 18:00:03 +08:00
|
|
|
|
// 沉船摄影拼接图 /geoserver/gwc/service/wmts/rest/ne:No1ShipWreck_UP/EPSG:4326/EPSG:4326:{z}/{y}/{x}?format=image/png
|
2024-07-15 11:27:56 +08:00
|
|
|
|
const shipline = new Cesium.WebMapTileServiceImageryProvider(
|
|
|
|
|
|
{
|
2024-09-27 17:50:51 +08:00
|
|
|
|
url: this.CesiumHostAddr + 'geoserver/gwc/service/wmts/rest/ougp:正射影像图_GM输出_20240516/{TileMatrixSet}/{TileMatrixSet}:{TileMatrix}/{TileRow}/{TileCol}?format=image/png',
|
|
|
|
|
|
layer: 'ougp:正射影像图_GM输出_20240516',
|
2024-07-15 11:27:56 +08:00
|
|
|
|
style: 'default',
|
|
|
|
|
|
format: 'image/png',
|
2024-09-27 17:50:51 +08:00
|
|
|
|
tileMatrixSetID: 'EPSG:4326',
|
2024-07-15 11:27:56 +08:00
|
|
|
|
tilingScheme: new Cesium.GeographicTilingScheme()
|
|
|
|
|
|
}
|
|
|
|
|
|
)
|
|
|
|
|
|
this.viewer.imageryLayers.addImageryProvider(shipline)
|
2024-07-11 18:02:47 +08:00
|
|
|
|
},
|
2024-07-13 18:00:03 +08:00
|
|
|
|
/* cesium 绘制线 */
|
2024-10-16 09:16:41 +08:00
|
|
|
|
drawLine(index, id, degreeArr, type) {
|
2024-07-13 18:00:03 +08:00
|
|
|
|
this.viewer.entities.add({
|
|
|
|
|
|
id: id,
|
2024-10-16 09:16:41 +08:00
|
|
|
|
type: type,
|
2024-07-13 18:00:03 +08:00
|
|
|
|
polyline: { //polyline折线实体
|
|
|
|
|
|
positions: Cesium.Cartesian3.fromDegreesArray(degreeArr),//位置
|
|
|
|
|
|
clampToGround: true, //地表层高度模式,
|
2024-09-02 13:51:14 +08:00
|
|
|
|
zIndex: 1000,
|
|
|
|
|
|
width: 2,
|
|
|
|
|
|
// 设置线条的材质(颜色)
|
2024-09-29 14:55:53 +08:00
|
|
|
|
material: Cesium.Color.fromRandom({ alpha: 0.5 })
|
2024-07-13 18:00:03 +08:00
|
|
|
|
}
|
|
|
|
|
|
})
|
2024-09-29 14:55:53 +08:00
|
|
|
|
// 修复 RangeError: Invalid array length
|
|
|
|
|
|
if (degreeArr.length > 1)
|
|
|
|
|
|
this.viewer.camera.setView({
|
|
|
|
|
|
// 指定相机位置
|
|
|
|
|
|
destination: Cesium.Cartesian3.fromDegrees(degreeArr[0], degreeArr[1])
|
|
|
|
|
|
})
|
2024-07-13 18:00:03 +08:00
|
|
|
|
this.autoZoom()
|
2024-07-11 18:02:47 +08:00
|
|
|
|
},
|
2024-07-13 18:00:03 +08:00
|
|
|
|
// 创建点位
|
2024-07-14 20:41:51 +08:00
|
|
|
|
setPoint(id, degree) {
|
2024-07-13 18:00:03 +08:00
|
|
|
|
this.viewer.entities.add({
|
|
|
|
|
|
id: id,
|
2024-10-08 14:49:06 +08:00
|
|
|
|
type: 'point',
|
2024-07-14 20:41:51 +08:00
|
|
|
|
position: Cesium.Cartesian3.fromDegrees(degree[0], degree[1]),
|
2024-07-13 18:00:03 +08:00
|
|
|
|
point: {
|
2024-07-14 20:41:51 +08:00
|
|
|
|
pixelSize: 8, // 点像素大小
|
|
|
|
|
|
color: Cesium.Color.GREEN
|
2024-07-13 18:00:03 +08:00
|
|
|
|
}
|
|
|
|
|
|
})
|
2024-07-14 20:41:51 +08:00
|
|
|
|
this.autoZoom()
|
|
|
|
|
|
},
|
|
|
|
|
|
// 删除单个实体
|
|
|
|
|
|
clearOne(id) {
|
|
|
|
|
|
const entityToRemove = this.viewer.entities.getById(id);
|
|
|
|
|
|
// 检查实体是否存在
|
|
|
|
|
|
if (Cesium.defined(entityToRemove)) {
|
|
|
|
|
|
this.viewer.entities.remove(entityToRemove)
|
|
|
|
|
|
}
|
2024-07-11 18:02:47 +08:00
|
|
|
|
},
|
2024-07-13 18:00:03 +08:00
|
|
|
|
// 清除所有实体
|
|
|
|
|
|
clearAll() {
|
|
|
|
|
|
this.viewer.entities.removeAll()
|
2024-07-11 18:02:47 +08:00
|
|
|
|
},
|
2024-07-13 18:00:03 +08:00
|
|
|
|
// 自动跳转到实体位置
|
2024-09-29 14:55:53 +08:00
|
|
|
|
autoZoom() {
|
2024-07-13 18:00:03 +08:00
|
|
|
|
this.viewer.zoomTo(this.viewer.entities)
|
2024-07-11 18:02:47 +08:00
|
|
|
|
},
|
2024-08-02 16:56:07 +08:00
|
|
|
|
turnDeatilPage(item) {
|
|
|
|
|
|
this.$router.push({
|
|
|
|
|
|
name: 'dataDetail',
|
|
|
|
|
|
query: {
|
|
|
|
|
|
voyage_name: item.voyage_name
|
|
|
|
|
|
}
|
|
|
|
|
|
})
|
2024-07-11 18:02:47 +08:00
|
|
|
|
},
|
|
|
|
|
|
shousuo() {
|
2024-07-13 18:00:03 +08:00
|
|
|
|
this.show = true
|
2024-07-11 18:02:47 +08:00
|
|
|
|
},
|
|
|
|
|
|
toshow() {
|
2024-07-13 18:00:03 +08:00
|
|
|
|
this.show = false
|
|
|
|
|
|
},
|
2024-07-14 20:41:51 +08:00
|
|
|
|
// 展开数据样品列表
|
|
|
|
|
|
openList(item) {
|
2024-09-02 13:51:14 +08:00
|
|
|
|
if (this.currenId == item.tsy_id) {
|
|
|
|
|
|
this.fold = !this.fold
|
|
|
|
|
|
} else {
|
|
|
|
|
|
this.fold = true
|
|
|
|
|
|
if (item.file_total) {
|
|
|
|
|
|
this.currenId = item.tsy_id
|
|
|
|
|
|
this.job = item.job_type
|
|
|
|
|
|
}
|
2024-07-14 20:41:51 +08:00
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
// 选中样品列表数据
|
|
|
|
|
|
onSample(sample) {
|
|
|
|
|
|
this.currenSample = sample.tsy_id
|
|
|
|
|
|
if (this.job === '站位作业') {
|
|
|
|
|
|
this.resetCesium()
|
|
|
|
|
|
const station = this.viewer.entities.getById(sample.tsy_id)
|
|
|
|
|
|
if (station) {
|
|
|
|
|
|
station.point.pixelSize = 20
|
|
|
|
|
|
station.point.color = Cesium.Color.WHITE
|
|
|
|
|
|
}
|
|
|
|
|
|
this.chooseStation = station
|
|
|
|
|
|
} else {
|
|
|
|
|
|
this.resetCesium()
|
|
|
|
|
|
const line = this.viewer.entities.getById(sample.tsy_id)
|
|
|
|
|
|
if (line) {
|
|
|
|
|
|
line.polyline.width = 8
|
|
|
|
|
|
line.oldMaterial = line.polyline.material
|
|
|
|
|
|
line.polyline.material = Cesium.Color.GREEN
|
|
|
|
|
|
}
|
|
|
|
|
|
this.chooseLine = line
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
resetCesium() {
|
|
|
|
|
|
if (this.chooseStation) {
|
|
|
|
|
|
this.chooseStation.point.pixelSize = 5
|
|
|
|
|
|
this.chooseStation.point.color = Cesium.Color.RED
|
|
|
|
|
|
}
|
|
|
|
|
|
if (this.chooseLine) {
|
2024-10-08 14:49:06 +08:00
|
|
|
|
this.chooseLine.polyline.width = 2
|
2024-07-14 20:41:51 +08:00
|
|
|
|
this.chooseLine.polyline.material = this.chooseLine.oldMaterial
|
|
|
|
|
|
}
|
2024-09-13 13:59:25 +08:00
|
|
|
|
},
|
|
|
|
|
|
goHome() {
|
2024-09-29 14:55:53 +08:00
|
|
|
|
this.$router.push({ name: 'home' })
|
2024-07-14 20:41:51 +08:00
|
|
|
|
}
|
2024-07-11 18:02:47 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
|
|
|
.shuju {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
height: 100%;
|
2024-09-29 14:55:53 +08:00
|
|
|
|
|
2024-07-11 18:02:47 +08:00
|
|
|
|
.shuju_con {
|
|
|
|
|
|
width: 100%;
|
2024-09-13 13:59:25 +08:00
|
|
|
|
height: 100%;
|
2024-07-11 18:02:47 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
2024-09-29 14:55:53 +08:00
|
|
|
|
|
2024-07-11 18:02:47 +08:00
|
|
|
|
.left {
|
|
|
|
|
|
position: relative;
|
2024-07-13 18:00:03 +08:00
|
|
|
|
width: 570px;
|
2024-09-13 13:59:25 +08:00
|
|
|
|
height: 100vh;
|
2024-07-11 18:02:47 +08:00
|
|
|
|
background: #fff;
|
|
|
|
|
|
box-sizing: border-box;
|
2024-07-13 18:00:03 +08:00
|
|
|
|
padding: 50px 30px;
|
2024-07-11 18:02:47 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
2024-09-29 14:55:53 +08:00
|
|
|
|
|
2024-07-11 18:02:47 +08:00
|
|
|
|
.left1 {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
height: 40px;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
2024-09-29 14:55:53 +08:00
|
|
|
|
|
2024-07-11 18:02:47 +08:00
|
|
|
|
.xiala {
|
2024-07-13 18:00:03 +08:00
|
|
|
|
width: 80%;
|
2024-07-11 18:02:47 +08:00
|
|
|
|
height: 40px;
|
2024-07-13 18:00:03 +08:00
|
|
|
|
margin-right: 15px;
|
2024-07-11 18:02:47 +08:00
|
|
|
|
}
|
2024-09-29 14:55:53 +08:00
|
|
|
|
|
2024-07-11 18:02:47 +08:00
|
|
|
|
.el-button {
|
|
|
|
|
|
width: 12%;
|
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
|
height: 40px;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
}
|
2024-09-29 14:55:53 +08:00
|
|
|
|
|
2024-07-11 18:02:47 +08:00
|
|
|
|
.sousuo {
|
|
|
|
|
|
margin-right: 1%;
|
|
|
|
|
|
}
|
2024-09-29 14:55:53 +08:00
|
|
|
|
|
2024-07-11 18:02:47 +08:00
|
|
|
|
.caidan {
|
|
|
|
|
|
color: #999;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2024-09-29 14:55:53 +08:00
|
|
|
|
|
2024-07-11 18:02:47 +08:00
|
|
|
|
.left2 {
|
|
|
|
|
|
margin-top: 20px;
|
2024-09-29 14:55:53 +08:00
|
|
|
|
|
2024-07-11 18:02:47 +08:00
|
|
|
|
.el-tag {
|
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2024-09-29 14:55:53 +08:00
|
|
|
|
|
2024-07-11 18:02:47 +08:00
|
|
|
|
.left3 {
|
2024-07-13 18:00:03 +08:00
|
|
|
|
padding: 10px 0;
|
2024-07-11 18:02:47 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
2024-07-13 18:00:03 +08:00
|
|
|
|
justify-content: center;
|
2024-07-11 18:02:47 +08:00
|
|
|
|
border-bottom: 1px solid #e5e5e5;
|
|
|
|
|
|
}
|
2024-09-29 14:55:53 +08:00
|
|
|
|
|
|
|
|
|
|
.left4 {
|
2024-07-11 18:02:47 +08:00
|
|
|
|
width: 100%;
|
2024-10-16 10:41:32 +08:00
|
|
|
|
height: 100%;
|
2024-07-13 18:00:03 +08:00
|
|
|
|
overflow-y: scroll;
|
2024-09-29 14:55:53 +08:00
|
|
|
|
|
2024-07-13 18:00:03 +08:00
|
|
|
|
&::-webkit-scrollbar {
|
2024-09-29 14:55:53 +08:00
|
|
|
|
width: 5px;
|
|
|
|
|
|
/* 保持一个最小的宽度 */
|
|
|
|
|
|
background-color: transparent;
|
|
|
|
|
|
/* 透明背景 */
|
2024-07-13 18:00:03 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&::-webkit-scrollbar-thumb {
|
2024-09-29 14:55:53 +08:00
|
|
|
|
background-color: transparent;
|
|
|
|
|
|
/* 滚动条滑块也设置为透明 */
|
2024-07-13 18:00:03 +08:00
|
|
|
|
}
|
2024-09-29 14:55:53 +08:00
|
|
|
|
|
|
|
|
|
|
.left4_1 {
|
|
|
|
|
|
padding: 20px 0;
|
2024-07-11 18:02:47 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
|
height: auto;
|
|
|
|
|
|
border-bottom: 1px solid #e5e5e5;
|
|
|
|
|
|
cursor: pointer;
|
2024-09-29 14:55:53 +08:00
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
|
.left4_top {
|
|
|
|
|
|
p {
|
2024-07-11 18:02:47 +08:00
|
|
|
|
color: #409eff;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2024-09-29 14:55:53 +08:00
|
|
|
|
|
|
|
|
|
|
.left4_top {
|
2024-07-11 18:02:47 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
margin-bottom: 10px;
|
2024-09-29 14:55:53 +08:00
|
|
|
|
|
|
|
|
|
|
p {
|
2024-07-11 18:02:47 +08:00
|
|
|
|
font-size: 16px;
|
|
|
|
|
|
color: #212121;
|
|
|
|
|
|
font-weight: bold;
|
2024-07-13 18:00:03 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: space-between;
|
2024-09-29 14:55:53 +08:00
|
|
|
|
|
2024-07-13 18:00:03 +08:00
|
|
|
|
.mileage {
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
color: #909fa7;
|
|
|
|
|
|
}
|
2024-07-11 18:02:47 +08:00
|
|
|
|
}
|
2024-09-29 14:55:53 +08:00
|
|
|
|
|
2024-07-13 18:00:03 +08:00
|
|
|
|
.org {
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
color: #999999;
|
2024-07-11 18:02:47 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
2024-09-29 14:55:53 +08:00
|
|
|
|
|
2024-07-14 20:41:51 +08:00
|
|
|
|
.sample {
|
|
|
|
|
|
padding: 6px 12px;
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
color: #555555;
|
|
|
|
|
|
position: relative;
|
2024-09-29 14:55:53 +08:00
|
|
|
|
|
2024-07-14 20:41:51 +08:00
|
|
|
|
&::before {
|
|
|
|
|
|
content: "";
|
|
|
|
|
|
display: block;
|
|
|
|
|
|
width: 8px;
|
|
|
|
|
|
height: 8px;
|
|
|
|
|
|
background-color: #B82C22;
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
left: 0;
|
|
|
|
|
|
top: 12px;
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
}
|
2024-09-29 14:55:53 +08:00
|
|
|
|
|
2024-07-14 20:41:51 +08:00
|
|
|
|
//&:hover {
|
|
|
|
|
|
// background-color: rgb(248,249,250);
|
|
|
|
|
|
//}
|
|
|
|
|
|
}
|
2024-09-29 14:55:53 +08:00
|
|
|
|
|
2024-07-14 20:41:51 +08:00
|
|
|
|
.bg-color {
|
2024-09-29 14:55:53 +08:00
|
|
|
|
background-color: rgb(93, 156, 236);
|
2024-07-14 20:41:51 +08:00
|
|
|
|
}
|
2024-09-29 14:55:53 +08:00
|
|
|
|
|
|
|
|
|
|
.left4_list {
|
2024-07-11 18:02:47 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
justify-content: space-between;
|
2024-09-29 14:55:53 +08:00
|
|
|
|
|
|
|
|
|
|
.list1 {
|
2024-07-11 18:02:47 +08:00
|
|
|
|
width: 50%;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
margin-bottom: 10px;
|
2024-09-29 14:55:53 +08:00
|
|
|
|
|
|
|
|
|
|
p {
|
2024-07-13 18:00:03 +08:00
|
|
|
|
font-size: 14px;
|
2024-07-11 18:02:47 +08:00
|
|
|
|
color: #999;
|
|
|
|
|
|
}
|
2024-09-29 14:55:53 +08:00
|
|
|
|
|
|
|
|
|
|
span {
|
2024-07-13 18:00:03 +08:00
|
|
|
|
font-size: 14px;
|
2024-07-11 18:02:47 +08:00
|
|
|
|
color: #212121;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2024-10-09 11:25:00 +08:00
|
|
|
|
|
|
|
|
|
|
.list {
|
|
|
|
|
|
margin-top: 20px;
|
|
|
|
|
|
border: 1px solid #e5e5e5;
|
|
|
|
|
|
|
|
|
|
|
|
div {
|
|
|
|
|
|
padding: 5px 10px;
|
|
|
|
|
|
border-bottom: 1px solid #e5e5e5;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.list-value {
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
:last-child {
|
|
|
|
|
|
border-bottom: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tags {
|
2024-10-09 13:38:02 +08:00
|
|
|
|
color: #333333;
|
2024-10-09 11:25:00 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
|
|
|
|
.tag {
|
2024-10-09 13:38:02 +08:00
|
|
|
|
color: #333333;
|
2024-10-09 11:25:00 +08:00
|
|
|
|
padding: 5px;
|
2024-10-15 15:42:07 +08:00
|
|
|
|
background-color: rgb(249, 249, 249);
|
2024-10-09 11:25:00 +08:00
|
|
|
|
margin: 0 15px 15px 0;
|
|
|
|
|
|
}
|
2024-07-11 18:02:47 +08:00
|
|
|
|
}
|
2024-09-29 14:55:53 +08:00
|
|
|
|
|
|
|
|
|
|
.arrow {
|
2024-07-11 18:02:47 +08:00
|
|
|
|
position: absolute;
|
|
|
|
|
|
right: 0;
|
|
|
|
|
|
top: 40%;
|
|
|
|
|
|
z-index: 888;
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2024-09-29 14:55:53 +08:00
|
|
|
|
|
|
|
|
|
|
.arrow_r {
|
2024-07-11 18:02:47 +08:00
|
|
|
|
position: absolute;
|
|
|
|
|
|
top: 40%;
|
|
|
|
|
|
left: 0;
|
|
|
|
|
|
z-index: 888;
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
}
|
2024-09-29 14:55:53 +08:00
|
|
|
|
|
2024-07-11 18:02:47 +08:00
|
|
|
|
.right {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
height: 100%;
|
2024-09-13 13:59:25 +08:00
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
|
|
|
|
.logo {
|
|
|
|
|
|
width: 60px;
|
|
|
|
|
|
height: 60px;
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
bottom: 20px;
|
|
|
|
|
|
right: 20px;
|
|
|
|
|
|
}
|
2024-07-11 18:02:47 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
</style>
|
|
|
|
|
|
<style>
|
|
|
|
|
|
.left3_1 .el-radio {
|
|
|
|
|
|
margin-right: 15px;
|
|
|
|
|
|
}
|
2024-09-29 14:55:53 +08:00
|
|
|
|
|
2024-07-11 18:02:47 +08:00
|
|
|
|
.left3_1 .el-radio__label {
|
|
|
|
|
|
font-size: 15px;
|
|
|
|
|
|
}
|
2024-09-29 14:55:53 +08:00
|
|
|
|
|
2024-07-11 18:02:47 +08:00
|
|
|
|
.el-input__inner::-webkit-input-placeholder {
|
|
|
|
|
|
color: #333;
|
|
|
|
|
|
}
|
2024-09-29 14:55:53 +08:00
|
|
|
|
|
2024-07-11 18:02:47 +08:00
|
|
|
|
.left3_2 .el-input__inner {
|
|
|
|
|
|
padding-left: 0;
|
|
|
|
|
|
border: none;
|
|
|
|
|
|
font-size: 15px;
|
|
|
|
|
|
}
|
2024-09-29 14:55:53 +08:00
|
|
|
|
|
|
|
|
|
|
.BMapLabel {
|
2024-07-11 18:02:47 +08:00
|
|
|
|
border: none !important;
|
|
|
|
|
|
color: #fff;
|
|
|
|
|
|
background: none !important;
|
|
|
|
|
|
}
|
|
|
|
|
|
</style>
|