This commit is contained in:
Teo
2025-07-26 11:49:39 +08:00
parent d503e64098
commit dd9b5da394
9 changed files with 416 additions and 9 deletions

View File

@ -77,6 +77,8 @@ const insId = ref(null);
//初始化查询审批记录
const init = async (businessId: string | number) => {
console.log(323232);
visible.value = true;
loading.value = true;
tabActiveName.value = 'image';

View File

@ -21,8 +21,9 @@ const iframeUrl = ref('');
const baseUrl = import.meta.env.VITE_APP_BASE_API;
onMounted(async () => {
const url = `/warm-flow-ui/index.html?id=${props.insId}&type=FlowChart&t=${Date.now()}`;
const url = baseUrl + `/warm-flow-ui/index.html?id=${props.insId}&type=FlowChart&t=${Date.now()}`;
iframeUrl.value = url + '&Authorization=Bearer ' + getToken() + '&clientid=' + import.meta.env.VITE_APP_CLIENT_ID;
console.log('🚀 ~ iframeUrl.value:', iframeUrl.value);
});
</script>
<style scoped>