diff --git a/jero-web/public/iframe.css b/jero-web/public/iframe.css
new file mode 100644
index 000000000..95ce2f944
--- /dev/null
+++ b/jero-web/public/iframe.css
@@ -0,0 +1,3 @@
+img {
+ width: 100%;
+}
\ No newline at end of file
diff --git a/jero-web/src/config/router.config.js b/jero-web/src/config/router.config.js
index 92505da5d..5f5916571 100644
--- a/jero-web/src/config/router.config.js
+++ b/jero-web/src/config/router.config.js
@@ -482,83 +482,83 @@ export const constantRouterMap = [
/* 手机端开始 */
//搜索
- {
- path: '/phoneSearch',
- name: 'phoneSearch',
- component: () => import('@/views/phoneView/search')
- },
- //待办中心
- {
- path: '/phoneToDoCenter',
- name: 'phoneToDoCenter',
- component: () => import('@/views/phoneView/toDoCenter')
- },
- //任务数据
- {
- path: '/phoneTaskData',
- name: 'phoneTaskData',
- component: () => import('@/views/phoneView/taskData')
- },
- //我的
- {
- path: '/phoneHome',
- name: 'phoneHome',
- component: () => import('@/views/phoneView/home')
- },
- //搜索列表
- {
- path: '/phoneSearchList',
- name: 'phoneSearchList',
- component: () => import('@/views/phoneView/searchList')
- },
- //文档详情
- {
- path: '/phoneDocumentDetails',
- name: 'phoneDocumentDetails',
- component: () => import('@/views/phoneView/documentDetails')
- },
- //流程
- {
- path: '/phoneProcessManagement',
- name: 'phoneProcessManagement',
- component: () => import('@/views/phoneView/processManagement')
- },
- //知识分享
- {
- path: '/phoneProblemKnowledgeBase',
- name: 'phoneProblemKnowledgeBase',
- component: () => import('@/views/phoneView/problemKnowledgeBase')
- },
- //办理页面
- {
- path: '/phoneHandlingPage',
- name: 'phoneHandlingPage',
- component: () => import('@/views/phoneView/handlingPage')
- },
- //我的收藏
- {
- path: '/phoneMyCollection',
- name: 'phoneMyCollection',
- component: () => import('@/views/phoneView/myCollection')
- },
- //最近预览
- {
- path: '/phoneRecentBrowsing',
- name: 'phoneRecentBrowsing',
- component: () => import('@/views/phoneView/recentBrowsing')
- },
- //我的订阅
- {
- path: '/phoneMySubscribe',
- name: 'phoneMySubscribe',
- component: () => import('@/views/phoneView/mySubscribe')
- },
- //perhome办理流程
- {
- path: '/phonePreHomoMangement',
- name: 'phonePreHomoMangement',
- component: () => import('@/views/phoneView/preHomoMangement')
- },
+ // {
+ // path: '/phoneSearch',
+ // name: 'phoneSearch',
+ // component: () => import('@/views/phoneView/search')
+ // },
+ // //待办中心
+ // {
+ // path: '/phoneToDoCenter',
+ // name: 'phoneToDoCenter',
+ // component: () => import('@/views/phoneView/toDoCenter')
+ // },
+ // //任务数据
+ // {
+ // path: '/phoneTaskData',
+ // name: 'phoneTaskData',
+ // component: () => import('@/views/phoneView/taskData')
+ // },
+ // //我的
+ // {
+ // path: '/phoneHome',
+ // name: 'phoneHome',
+ // component: () => import('@/views/phoneView/home')
+ // },
+ // //搜索列表
+ // {
+ // path: '/phoneSearchList',
+ // name: 'phoneSearchList',
+ // component: () => import('@/views/phoneView/searchList')
+ // },
+ // //文档详情
+ // {
+ // path: '/phoneDocumentDetails',
+ // name: 'phoneDocumentDetails',
+ // component: () => import('@/views/phoneView/documentDetails')
+ // },
+ // //流程
+ // {
+ // path: '/phoneProcessManagement',
+ // name: 'phoneProcessManagement',
+ // component: () => import('@/views/phoneView/processManagement')
+ // },
+ // //知识分享
+ // {
+ // path: '/phoneProblemKnowledgeBase',
+ // name: 'phoneProblemKnowledgeBase',
+ // component: () => import('@/views/phoneView/problemKnowledgeBase')
+ // },
+ // //办理页面
+ // {
+ // path: '/phoneHandlingPage',
+ // name: 'phoneHandlingPage',
+ // component: () => import('@/views/phoneView/handlingPage')
+ // },
+ // //我的收藏
+ // {
+ // path: '/phoneMyCollection',
+ // name: 'phoneMyCollection',
+ // component: () => import('@/views/phoneView/myCollection')
+ // },
+ // //最近预览
+ // {
+ // path: '/phoneRecentBrowsing',
+ // name: 'phoneRecentBrowsing',
+ // component: () => import('@/views/phoneView/recentBrowsing')
+ // },
+ // //我的订阅
+ // {
+ // path: '/phoneMySubscribe',
+ // name: 'phoneMySubscribe',
+ // component: () => import('@/views/phoneView/mySubscribe')
+ // },
+ // //perhome办理流程
+ // {
+ // path: '/phonePreHomoMangement',
+ // name: 'phonePreHomoMangement',
+ // component: () => import('@/views/phoneView/preHomoMangement')
+ // },
/* 手机端结束 */
// {
// path:'/vehicleinformation',
diff --git a/jero-web/src/views/phoneView/documentDetails.vue b/jero-web/src/views/phoneView/documentDetails.vue
index c257b9899..d6afd2e3d 100644
--- a/jero-web/src/views/phoneView/documentDetails.vue
+++ b/jero-web/src/views/phoneView/documentDetails.vue
@@ -103,7 +103,7 @@
import { getAction, postAction, downFile } from '@/api/manage'
import { kkFileView } from '@/utils/kkfileView'
import eventBUs from '../../common/event'
- import { Toast } from 'vant'
+ import { Dialog, Toast } from 'vant'
export default {
name: 'phoneDocumentDetails',
@@ -261,8 +261,30 @@
this.getPage()
}
},
+ isBrowser() {
+ const userAgent = window.navigator.userAgent.toLowerCase()
+ return userAgent.includes('lark') || userAgent.includes('feishu')
+ },
fileClick(item) {
- kkFileView(item.fileName, item.id)
+ if (!this.isBrowser()) {
+ Dialog.alert({
+ message: '未授权用户
Unauthorized User',
+ theme: 'round-button',
+ }).then(() => {
+ // on close
+ });
+ return
+ }
+ let url = kkFileView(item.fileName, item.id)
+ if (url) {
+ this.$router.push({
+ path: '/phoneProblemKnowledgeBaseFile',
+ query: {
+ fileName: item.fileName,
+ fileId: item.id
+ }
+ })
+ }
},
urlClick(item) {
window.open(item.value)
diff --git a/jero-web/src/views/phoneView/preHomoMangement.vue b/jero-web/src/views/phoneView/preHomoMangement.vue
index d3feb419b..f8f1d5821 100644
--- a/jero-web/src/views/phoneView/preHomoMangement.vue
+++ b/jero-web/src/views/phoneView/preHomoMangement.vue
@@ -490,8 +490,30 @@
this.form.deliveryResult.splice(index, 1)
this.form = { ...this.form }
},
+ isBrowser() {
+ const userAgent = window.navigator.userAgent.toLowerCase()
+ return userAgent.includes('lark') || userAgent.includes('feishu')
+ },
deliverablesResultFileClick(item) {
- kkFileView(item.fileName, item.id)
+ if (!this.isBrowser()) {
+ Dialog.alert({
+ message: '未授权用户
Unauthorized User',
+ theme: 'round-button',
+ }).then(() => {
+ // on close
+ });
+ return
+ }
+ let url = kkFileView(item.fileName, item.id)
+ if (url) {
+ this.$router.push({
+ path: '/phoneProblemKnowledgeBaseFile',
+ query: {
+ fileName: item.fileName,
+ fileId: item.id
+ }
+ })
+ }
},
standardClick(item) {
this.$router.push({
diff --git a/jero-web/src/views/phoneView/problemKnowledgeBase.vue b/jero-web/src/views/phoneView/problemKnowledgeBase.vue
index 0ed4b414b..cc997a72b 100644
--- a/jero-web/src/views/phoneView/problemKnowledgeBase.vue
+++ b/jero-web/src/views/phoneView/problemKnowledgeBase.vue
@@ -354,8 +354,30 @@
vanField.focus()
})
},
+ isBrowser() {
+ const userAgent = window.navigator.userAgent.toLowerCase()
+ return userAgent.includes('lark') || userAgent.includes('feishu')
+ },
fileClick(item) {
- kkFileView(item.fileName, item.id)
+ if (!this.isBrowser()) {
+ Dialog.alert({
+ message: '未授权用户
Unauthorized User',
+ theme: 'round-button',
+ }).then(() => {
+ // on close
+ });
+ return
+ }
+ let url = kkFileView(item.fileName, item.id)
+ if (url) {
+ this.$router.push({
+ path: '/phoneProblemKnowledgeBaseFile',
+ query: {
+ fileName: item.fileName,
+ fileId: item.id
+ }
+ })
+ }
},
messageClick(item) {
this.isDisplay = true
diff --git a/jero-web/src/views/phoneView/problemKnowledgeBaseFile.vue b/jero-web/src/views/phoneView/problemKnowledgeBaseFile.vue
index e19454242..ccce60ac2 100644
--- a/jero-web/src/views/phoneView/problemKnowledgeBaseFile.vue
+++ b/jero-web/src/views/phoneView/problemKnowledgeBaseFile.vue
@@ -2,6 +2,7 @@