Browse Source

报表菜单跳转添加tenant_id

hella_online_20240829
songguoqiang 4 months ago
parent
commit
e128e97a91
  1. 4
      src/views/wms/reportList/index.vue

4
src/views/wms/reportList/index.vue

@ -6,12 +6,12 @@
</template>
<script setup lang="ts">
import { getAccessToken } from '@/utils/auth'
import { getAccessToken , getTenantId} from '@/utils/auth'
import { getJmreportBaseUrl } from '@/utils/systemParam'
// const url = ref('http://localhost:12080/jmreport/view/881686740529258496')
const route = useRoute() //
const str = route.path.split('/')[3]
const url = ref(getJmreportBaseUrl() + '/jmreport/view/'+ str+ '?token='+ getAccessToken())
const url = ref(getJmreportBaseUrl() + '/jmreport/view/'+ str+ '?token='+ getAccessToken()+'&tenant_id='+getTenantId())
console.log(url);
</script>

Loading…
Cancel
Save