|
@@ -23,8 +23,10 @@
|
|
|
</template>
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
+import { ref, reactive, toRefs, onMounted } from 'vue';
|
|
|
import { Search } from '@element-plus/icons-vue';
|
|
|
import { getDroneTree } from '@/api/emergencyCommandMap/Drone';
|
|
|
+const proxy = getCurrentInstance()?.proxy;
|
|
|
interface QueryParams {
|
|
|
equipment: string;
|
|
|
}
|
|
@@ -40,11 +42,12 @@ let showIframe = ref(false);
|
|
|
let iframeUrl = ref('');
|
|
|
let iframeTitle = ref('');
|
|
|
const handleNodeClick = (data, node) => {
|
|
|
- if (!!data.url && node.isLeaf) {
|
|
|
- iframeUrl.value = data.url;
|
|
|
- iframeTitle.value = data.label;
|
|
|
- showIframe.value = true;
|
|
|
- }
|
|
|
+ proxy?.$modal.msgWarning('省厅的茂名应急无人机需要手工启动【统一融合通信平台】查看');
|
|
|
+ // if (!!data.url && node.isLeaf) {
|
|
|
+ // iframeUrl.value = data.url;
|
|
|
+ // iframeTitle.value = data.label;
|
|
|
+ // showIframe.value = true;
|
|
|
+ // }
|
|
|
};
|
|
|
const treeData = ref([]);
|
|
|
onMounted(() => {
|