Commit 5e7dab3e by 李伟康

feat(mobile): 添加AI智能问数页面

- 在移动端路由配置中新增aiWebView页面
- 创建aiWebView.vue组件实现iframe嵌入功能
- 集成AI数据链接并传递必要参数
- 设置页面标题为AI智能问数
- 实现移动端适配和参数透传逻辑
1 parent a14d6834
...@@ -23,6 +23,12 @@ export const mobilePages = { ...@@ -23,6 +23,12 @@ export const mobilePages = {
meta: { meta: {
noAuth: true noAuth: true
} }
},
{
name:'aiWebView',
meta: {
noAuth: true
}
} }
] ]
} }
<template>
<iframe
:src="src"
frameborder="0"
width="100%"
height="100%"
></iframe>
</template>
<script type='text/ecmascript-6'>
import { util } from 'utils'
export default {
name: '',
data () {
return {
src: ''
}
},
mounted () {
document.title = 'AI智能问数'
let baseUrl = window.$fetchConfig.aiDataLink;
let { phone, staffUuid, role_type, sessionId, corpId } = util.getQuery()
this.src = `${baseUrl}?platformType=1&domain=https://aiassistant.glsx.com.cn&phone=${phone}&staffUuid=${staffUuid}&role_type=${role_type}&sessionId=${sessionId}&corpId=${corpId}`
},
methods: {
}
}
</script>
<style scoped lang='scss'>
</style>
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!