|
@@ -241,6 +241,17 @@
|
|
|
</el-table>
|
|
|
</el-col>
|
|
|
</el-row> -->
|
|
|
+ <el-dialog
|
|
|
+ title="提示"
|
|
|
+ :visible.sync="dialogVisible"
|
|
|
+ :append-to-body="true"
|
|
|
+ width="30%"
|
|
|
+ :before-close="handleClose">
|
|
|
+ <span style="color:#ffffff">为保证分析正确性,请先打开高程数据</span>
|
|
|
+ <span slot="footer" class="dialog-footer">
|
|
|
+ <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
|
|
|
+ </span>
|
|
|
+</el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -336,6 +347,7 @@ export default {
|
|
|
gd: 0,
|
|
|
geopolygon: null,
|
|
|
ProjectScope: { positions: [] },
|
|
|
+ dialogVisible:false
|
|
|
};
|
|
|
},
|
|
|
props: {
|
|
@@ -366,7 +378,7 @@ export default {
|
|
|
mounted() {
|
|
|
// sightline = new Cesium.Sightline(scene);
|
|
|
// sightline.build();
|
|
|
- this.multiViewportMode = scene.multiViewportMode + 1;
|
|
|
+ //this.multiViewportMode = scene.multiViewportMode + 1;
|
|
|
document.oncontextmenu = function (e) {
|
|
|
e.preventDefault();
|
|
|
};
|
|
@@ -687,6 +699,10 @@ export default {
|
|
|
that.clear();
|
|
|
that.tableData = [];
|
|
|
|
|
|
+ if (!viewer.terrainProvider||!viewer.terrainProvider.visible||viewer.terrainProvider.visible!=true) {
|
|
|
+ that.dialogVisible=true;
|
|
|
+ return;
|
|
|
+ }
|
|
|
if (that.form.startTime == that.form.endTime) {
|
|
|
this.$message.warning("请选择一个日照时间范围区间!!!");
|
|
|
return;
|