diff --git a/src/views/floodSys/floodYP/lateWarn.vue b/src/views/floodSys/floodYP/lateWarn.vue index 8ab6f06..059f4f8 100644 --- a/src/views/floodSys/floodYP/lateWarn.vue +++ b/src/views/floodSys/floodYP/lateWarn.vue @@ -339,7 +339,7 @@ }, 3000); }; const mapInit = () => { - addCityBoundary(); + // addCityBoundary(); changeObj('depth'); }; onMounted(() => { diff --git a/src/views/floodSys/floodYP/lateWarn.vue b/src/views/floodSys/floodYP/lateWarn.vue index 8ab6f06..059f4f8 100644 --- a/src/views/floodSys/floodYP/lateWarn.vue +++ b/src/views/floodSys/floodYP/lateWarn.vue @@ -339,7 +339,7 @@ }, 3000); }; const mapInit = () => { - addCityBoundary(); + // addCityBoundary(); changeObj('depth'); }; onMounted(() => { diff --git a/src/views/floodSys/floodYP/riskAsses.vue b/src/views/floodSys/floodYP/riskAsses.vue index 0269d05..3e06411 100644 --- a/src/views/floodSys/floodYP/riskAsses.vue +++ b/src/views/floodSys/floodYP/riskAsses.vue @@ -37,15 +37,15 @@ - + - 开始 - 暂停 + 开始 + 暂停
@@ -109,10 +109,7 @@ { value: 'duration-filling', label: '充满度动态预演' }, { value: 'max-filling', label: '最大满管风险' }, ]); -const bsType = ref([ - { value: '1', label: '1倍' }, - { value: '2', label: '2倍' }, -]); + const searchValSpeed = ref('1'); const features = ref([]); const featureStep = ref(0); @@ -143,6 +140,7 @@ const gisModuleData = () => { moduleGeometryData(gisParams.value).then(res => { stopImitate(); + console.log('12------', res.data); gisJsonData.value = res.data.result; let maxPoint = res.data.maxPoint.split(','); let minPoint = res.data.minPoint.split(','); @@ -277,6 +275,7 @@ if (gisJsonData.value.length > 1) { let proStept = Math.round(100 / gisJsonData.value.length); timer.value = setInterval(() => { + console.log('timer------'); featureStep.value += 1; newfiberMapbox.map .getSource('riskAssesImage') @@ -311,8 +310,8 @@ } const mapInit = () => { getZSList(); - addCityBoundary(); - newfiberMapbox.map.moveLayer('xiaoganWater', 'xiaoganCityBoundary'); + // addCityBoundary(); + // newfiberMapbox.map.moveLayer('xiaoganWater', 'xiaoganCityBoundary'); }; // 暂停模拟 function stopImitate() { diff --git a/src/views/floodSys/floodYP/lateWarn.vue b/src/views/floodSys/floodYP/lateWarn.vue index 8ab6f06..059f4f8 100644 --- a/src/views/floodSys/floodYP/lateWarn.vue +++ b/src/views/floodSys/floodYP/lateWarn.vue @@ -339,7 +339,7 @@ }, 3000); }; const mapInit = () => { - addCityBoundary(); + // addCityBoundary(); changeObj('depth'); }; onMounted(() => { diff --git a/src/views/floodSys/floodYP/riskAsses.vue b/src/views/floodSys/floodYP/riskAsses.vue index 0269d05..3e06411 100644 --- a/src/views/floodSys/floodYP/riskAsses.vue +++ b/src/views/floodSys/floodYP/riskAsses.vue @@ -37,15 +37,15 @@ - + - 开始 - 暂停 + 开始 + 暂停
@@ -109,10 +109,7 @@ { value: 'duration-filling', label: '充满度动态预演' }, { value: 'max-filling', label: '最大满管风险' }, ]); -const bsType = ref([ - { value: '1', label: '1倍' }, - { value: '2', label: '2倍' }, -]); + const searchValSpeed = ref('1'); const features = ref([]); const featureStep = ref(0); @@ -143,6 +140,7 @@ const gisModuleData = () => { moduleGeometryData(gisParams.value).then(res => { stopImitate(); + console.log('12------', res.data); gisJsonData.value = res.data.result; let maxPoint = res.data.maxPoint.split(','); let minPoint = res.data.minPoint.split(','); @@ -277,6 +275,7 @@ if (gisJsonData.value.length > 1) { let proStept = Math.round(100 / gisJsonData.value.length); timer.value = setInterval(() => { + console.log('timer------'); featureStep.value += 1; newfiberMapbox.map .getSource('riskAssesImage') @@ -311,8 +310,8 @@ } const mapInit = () => { getZSList(); - addCityBoundary(); - newfiberMapbox.map.moveLayer('xiaoganWater', 'xiaoganCityBoundary'); + // addCityBoundary(); + // newfiberMapbox.map.moveLayer('xiaoganWater', 'xiaoganCityBoundary'); }; // 暂停模拟 function stopImitate() { diff --git a/src/views/floodSys/floodYP/riskAssesRight.vue b/src/views/floodSys/floodYP/riskAssesRight.vue index 54edcf4..e2c6593 100644 --- a/src/views/floodSys/floodYP/riskAssesRight.vue +++ b/src/views/floodSys/floodYP/riskAssesRight.vue @@ -80,7 +80,7 @@ }; getRainfallByHourEnum(params).then(res => { let datas = res.data; - console.log(datas, '9999999999999'); + // console.log(datas, '9999999999999'); chartOption.option2.xAxis[0].data = []; chartOption.option2.series[0].data = [];