修改大屏显示

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

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

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

Loading…
Cancel
Save