Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Z
zrch-risk-39
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Administrator
zrch-risk-39
Commits
0c0437cc
提交
0c0437cc
authored
3月 12, 2026
作者:
kxjia
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改下载文件方法
上级
c9d664bf
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
25 行增加
和
27 行删除
+25
-27
BaosongTaskReviewList.vue
...ent-39/src/views/baosong/review/BaosongTaskReviewList.vue
+5
-5
DocFilesList.vue
zrch-risk-client-39/src/views/doc/DocFilesList.vue
+7
-10
DocFilesList.vue
...lient-39/src/views/newlib/components/doc/DocFilesList.vue
+13
-12
没有找到文件。
zrch-risk-client-39/src/views/baosong/review/BaosongTaskReviewList.vue
浏览文件 @
0c0437cc
...
...
@@ -21,6 +21,7 @@
import
{
list
,
deleteOne
,
batchDelete
,
downLoadTaskXml
,
saveOrUpdate
}
from
'./BaosongTaskReview.api'
;
import
BaosongApproveModal
from
'./components/BaosongApproveModal.vue'
;
import
{
useRoute
,
useRouter
}
from
'vue-router'
;
import
{
getFileAccessHttpUrl
}
from
'/@/utils/common/compUtils.js'
;
const
route
=
useRoute
();
const
router
=
useRouter
();
...
...
@@ -148,11 +149,10 @@
}
const
handleDownloadFile
=
(
filePath
)
=>
{
const
globOnlineViewUrl
:
string
=
import
.
meta
.
env
.
VITE_GLOB_ONLINE_VIEW_URL
;
const
url
=
globOnlineViewUrl
+
filePath
;
if
(
url
)
{
window
.
open
(
url
);
}
const
res
=
getFileAccessHttpUrl
(
item
.
filePath
);
if
(
res
)
{
window
.
open
(
res
);
}
};
const
gotoPage
=
async
(
item
)
=>
{
...
...
zrch-risk-client-39/src/views/doc/DocFilesList.vue
浏览文件 @
0c0437cc
...
...
@@ -120,12 +120,10 @@
import
{
getChildList
}
from
'./DocFilesDir.api'
;
import
FileList
from
'./components/FileList.vue'
;
import
FileHistory
from
'./components/FileHistory.vue'
;
import
FileItem
from
'./components/FileItem.vue'
;
import
FileIcon
from
'./components/FileIcon.vue'
;
import
{
getFileAccessHttpUrl
}
from
'/@/utils/common/compUtils.js'
;
import
{
FolderFilled
,
FileTextTwoTone
,
MenuOutlined
,
AppstoreOutlined
,
FileWordTwoTone
,
FilePdfTwoTone
}
from
'@ant-design/icons-vue'
;
import
{
Base64
}
from
'js-base64'
;
// 状态定义
const
fileName
=
ref
(
''
);
...
...
@@ -360,12 +358,11 @@
isShowFolder
.
value
=
!
isShowFolder
.
value
;
};
const
handleDownloadFile
=
(
item
:
Recordable
)
=>
{
const
globOnlineViewUrl
:
string
=
import
.
meta
.
env
.
VITE_GLOB_ONLINE_VIEW_URL
;
const
url
=
globOnlineViewUrl
+
item
.
filePath
;
if
(
url
)
{
window
.
open
(
url
);
}
const
handleDownloadFile
=
async
(
item
:
Recordable
)
=>
{
const
res
=
getFileAccessHttpUrl
(
item
.
filePath
);
if
(
res
)
{
window
.
open
(
res
);
}
};
const
showFileContent
=
(
item
:
Recordable
)
=>
{
...
...
zrch-risk-client-39/src/views/newlib/components/doc/DocFilesList.vue
浏览文件 @
0c0437cc
...
...
@@ -125,6 +125,9 @@
import
AuditProblemModal
from
'../modal/AuditProblemModal.vue'
;
import
AuditBestPracticeModal
from
'../modal/AuditBestPracticeModal.vue'
;
import
AuditRiskEventModal
from
'../modal/AuditRiskEventModal.vue'
;
import
{
getFileAccessHttpUrl
}
from
'/@/utils/common/compUtils.js'
;
const
$attrs
=
useAttrs
();
const
fileName
=
ref
(
''
);
const
labelNames
=
ref
(
''
);
...
...
@@ -308,13 +311,6 @@
}
}
function
handleGoFile
(
item
)
{
let
globOnlineViewUrl
:
string
=
import
.
meta
.
env
.
VITE_GLOB_ONLINE_VIEW_URL
;
let
globOnlineViewServerUrl
:
string
=
import
.
meta
.
env
.
VITE_GLOB_ONLINE_VIEW_SERVER_URL
;
let
urlpath
=
globOnlineViewUrl
+
item
.
filePath
;
urlpath
=
encodeURIComponent
(
Base64
.
encode
(
urlpath
));
window
.
open
(
globOnlineViewServerUrl
+
'?url='
+
urlpath
);
}
const
draggingNode
=
ref
();
...
...
@@ -372,12 +368,17 @@
}
function
handleDownloadFile
(
item
)
{
let
globOnlineViewUrl
:
string
=
import
.
meta
.
env
.
VITE_GLOB_ONLINE_VIEW_URL
;
let
url
=
globOnlineViewUrl
+
item
.
filePath
;
getFileAccessHttpUrl
(
item
.
filePath
).
then
((
res
)
=>
{
if
(
res
)
{
window
.
open
(
res
);
}
});
// let globOnlineViewUrl: string = import.meta.env.VITE_GLOB_ONLINE_VIEW_URL;
// let url = globOnlineViewUrl + item.filePath;
if
(
url
)
{
window
.
open
(
url
);
}
//
if (url) {
//
window.open(url);
//
}
}
function
showFileContent
(
item
)
{
if
(
item
.
filePath
)
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论