修改大屏显示

master
夜笙歌 11 months ago
parent 10dc6ebd9f
commit 2279f6014a

@ -564,7 +564,7 @@ export default {
}
echarts.registerMap('china', chinaMap);
this.$refs.chart1.setData(this.chart1Option())
this.$refs.chart1 && this.$refs.chart1.setData(this.chart1Option());
this.$refs.chart4.setData({
tooltip: {},
grid: {
@ -1735,7 +1735,7 @@ export default {
option.dataZoom[0].end = 100
option.dataZoom[0].start = option.dataZoom[0].end - step
}
this.$refs.chart1.setData(option)
this.$refs.chart1 && this.$refs.chart1.setData(option);
}, 6000)
// time()
}

@ -593,226 +593,226 @@ export default {
let modelArr = [
// {
// url: '../../models/01-01-01/',
// link: '1'
// },
// {
// url: '../../models/01-01-02/',
// link: '2'
// },
// {
// url: '../../models/01-01-03/',
// link: '3'
// },
// {
// url: '../../models/01-01-04/',
// link: '4'
// },
// {
// url: '../../models/01-01-05/',
// link: '5'
// },
// {
// url: '../../models/01-01-06/',
// link: '6'
// },
// {
// url: '../../models/01-02-01/',
// link: '7'
// },
// {
// url: '../../models/01-02-02/',
// link: '8'
// },
// {
// url: '../../models/01-02-03/',
// link: '9'
// },
// {
// url: '../../models/01-02-04/',
// link: '10'
// },
// {
// url: '../../models/01-02-05/',
// link: '11'
// },
// {
// url: '../../models/01-02-06/',
// link: '12'
// },
// {
// url: '../../models/01-02-07/',
// link: '13'
// },
// {
// url: '../../models/01-03/',
// link: '14'
// },
// {
// url: '../../models/01-04/',
// link: '15'
// },
{
url: '../../models/01-01-01/',
link: '1'
},
{
url: '../../models/01-01-02/',
link: '2'
},
{
url: '../../models/01-01-03/',
link: '3'
},
{
url: '../../models/01-01-04/',
link: '4'
},
{
url: '../../models/01-01-05/',
link: '5'
},
{
url: '../../models/01-01-06/',
link: '6'
},
{
url: '../../models/01-02-01/',
link: '7'
},
{
url: '../../models/01-02-02/',
link: '8'
},
{
url: '../../models/01-02-03/',
link: '9'
},
{
url: '../../models/01-02-04/',
link: '10'
},
{
url: '../../models/01-02-05/',
link: '11'
},
{
url: '../../models/01-02-06/',
link: '12'
},
{
url: '../../models/01-02-07/',
link: '13'
},
{
url: '../../models/01-03/',
link: '14'
},
{
url: '../../models/01-04/',
link: '15'
},
{
url: '../../models/01changfang/',
link: '16'
},
// {
// url: '../../models/02-01/',
// link: '20'
// },
// {
// url: '../../models/02-01-01/',
// link: '21'
// },
// {
// url: '../../models/02-01-02-01/',
// link: '22'
// },
// {
// url: '../../models/02-01-02-02/',
// link: '23'
// },
// {
// url: '../../models/02-01-03-01/',
// link: '24'
// },
// {
// url: '../../models/02-01-03-02/',
// link: '25'
// },
// {
// url: '../../models/02-02/',
// link: '26'
// },
// {
// url: '../../models/02-02-01/',
// link: '27'
// },
// {
// url: '../../models/02-02-02/',
// link: '28'
// },
// {
// url: '../../models/02-03/',
// link: '29'
// },
// {
// url: '../../models/02-03-1/',
// link: '30'
// },
// {
// url: '../../models/02-03-pt-01/',
// link: '31'
// },
// {
// url: '../../models/02-03-pt-02/',
// link: '32'
// },
// {
// url: '../../models/02-03-pt-03/',
// link: '33'
// },
// {
// url: '../../models/02-03-pt-04/',
// link: '34'
// },
// {
// url: '../../models/02-03-pt-05/',
// link: '35'
// },
// {
// url: '../../models/02-03-pt-06/',
// link: '36'
// },
// {
// url: '../../models/02-04/',
// link: '37'
// },
// {
// url: '../../models/02-04-01-01/',
// link: '38'
// },
// {
// url: '../../models/02-04-01-02/',
// link: '39'
// },
// {
// url: '../../models/02-04-02/',
// link: '40'
// },
// {
// url: '../../models/02-05/',
// link: '41'
// },
// {
// url: '../../models/02changfang/',
// link: '42'
// },
{
url: '../../models/02-01/',
link: '20'
},
{
url: '../../models/02-01-01/',
link: '21'
},
{
url: '../../models/02-01-02-01/',
link: '22'
},
{
url: '../../models/02-01-02-02/',
link: '23'
},
{
url: '../../models/02-01-03-01/',
link: '24'
},
{
url: '../../models/02-01-03-02/',
link: '25'
},
{
url: '../../models/02-02/',
link: '26'
},
{
url: '../../models/02-02-01/',
link: '27'
},
{
url: '../../models/02-02-02/',
link: '28'
},
{
url: '../../models/02-03/',
link: '29'
},
{
url: '../../models/02-03-1/',
link: '30'
},
{
url: '../../models/02-03-pt-01/',
link: '31'
},
{
url: '../../models/02-03-pt-02/',
link: '32'
},
{
url: '../../models/02-03-pt-03/',
link: '33'
},
{
url: '../../models/02-03-pt-04/',
link: '34'
},
{
url: '../../models/02-03-pt-05/',
link: '35'
},
{
url: '../../models/02-03-pt-06/',
link: '36'
},
{
url: '../../models/02-04/',
link: '37'
},
{
url: '../../models/02-04-01-01/',
link: '38'
},
{
url: '../../models/02-04-01-02/',
link: '39'
},
{
url: '../../models/02-04-02/',
link: '40'
},
{
url: '../../models/02-05/',
link: '41'
},
{
url: '../../models/02changfang/',
link: '42'
},
// {
// url: '../../models/03-01-01/',
// link: '51'
// },
// {
// url: '../../models/03-01-02/',
// link: '52'
// },
// {
// url: '../../models/03-02-01/',
// link: '53'
// },
// {
// url: '../../models/03-02-02/',
// link: '54'
// },
// {
// url: '../../models/03-02-03/',
// link: '55'
// },
// {
// url: '../../models/03-02-04/',
// link: '56'
// },
// {
// url: '../../models/03-02-05/',
// link: '57'
// },
// {
// url: '../../models/03-03/',
// link: '58'
// },
// {
// url: '../../models/03-04/',
// link: '59'
// },
// {
// url: '../../models/03-05/',
// link: '60'
// },
// {
// url: '../../models/03-06/',
// link: '61'
// },
// {
// url: '../../models/03-07/',
// link: '62'
// },
// {
// url: '../../models/03-08/',
// link: '63'
// },
// {
// url: '../../models/03-09/',
// link: '64'
// },
// {
// url: '../../models/03-10/',
// link: '65'
// },
{
url: '../../models/03-01-01/',
link: '51'
},
{
url: '../../models/03-01-02/',
link: '52'
},
{
url: '../../models/03-02-01/',
link: '53'
},
{
url: '../../models/03-02-02/',
link: '54'
},
{
url: '../../models/03-02-03/',
link: '55'
},
{
url: '../../models/03-02-04/',
link: '56'
},
{
url: '../../models/03-02-05/',
link: '57'
},
{
url: '../../models/03-03/',
link: '58'
},
{
url: '../../models/03-04/',
link: '59'
},
{
url: '../../models/03-05/',
link: '60'
},
{
url: '../../models/03-06/',
link: '61'
},
{
url: '../../models/03-07/',
link: '62'
},
{
url: '../../models/03-08/',
link: '63'
},
{
url: '../../models/03-09/',
link: '64'
},
{
url: '../../models/03-10/',
link: '65'
},
]
@ -848,18 +848,20 @@ export default {
})
}
setModel(0, 10)
// viewer.operator.enabled = true
viewer.controls.enablePan = false
viewer.controls.enableRotate = false
// viewer.controls.enableZoom = false
setInterval(() => {
console.log(viewer.controls.getView())
viewer.controls.enableZoom = false
}, 1000)
// setInterval(() => {
// console.log(viewer.controls.getView())
// }, 1000)
//
// viewer.controls.startAutoRotate(1)
},
methods: {
click1(e) {

Loading…
Cancel
Save