瀏覽代碼

token 测试

viviandjava 5 月之前
父節點
當前提交
b237da55e2
共有 1 個文件被更改,包括 5 次插入4 次删除
  1. 5 4
      src/views/Zhyw.vue

+ 5 - 4
src/views/Zhyw.vue

@@ -6,15 +6,16 @@ import { useRoute } from 'vue-router'
 const route = useRoute()
 const iframeUrl = ref('https://www.baidu.com')
 // 实时监测
-const baseUrl_ss = ref('http://10.8.48.235:8100/homePage.html#/watermonitoring/realhydrology?code=bf0740e4-5ddf-4482-b252-f0e9fa176f6d&stcd=')
+const baseUrl_ss = ref('http://10.8.48.235:8100/homePage.html#/watermonitoring/realhydrology')
 // 测站运维
-const baseUrl_yw = ref('http://10.8.48.235:8100/homePage.html#/inspectionmaintenance/equipmentInventory?code=bf0740e4-5ddf-4482-b252-f0e9fa176f6d&stcd=')
+const baseUrl_yw = ref('http://10.8.48.235:8100/homePage.html#/inspectionmaintenance/equipmentInventory')
 // 查询分析
-const baseUrl_cx = ref('http://10.8.48.235:8100/homePage.html#/dataManagement/watermultiplestations?code=bf0740e4-5ddf-4482-b252-f0e9fa176f6d&stcd=')
+const baseUrl_cx = ref('http://10.8.48.235:8100/homePage.html#/dataManagement/watermultiplestations')
 onMounted(() => {
   debugger
   const stcd = route.params.stcd
   const srcType = route.params.type
+  const code='4a3569fd-73b3-42a4-b3d0-ba752e020c19'
 
   let baseUrl = ''
   switch (srcType) {
@@ -28,7 +29,7 @@ onMounted(() => {
       baseUrl = baseUrl_cx.value
       break
   }
-  iframeUrl.value = baseUrl + stcd
+  iframeUrl.value = baseUrl +"?code="+code+"&stcd="+ stcd
 })
 </script>