Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
H
hr-admin-view
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
anjia-hr
hr-admin-view
Commits
4d07056f
Commit
4d07056f
authored
Dec 09, 2025
by
刘斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 测试文件预览2
parent
443048fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
modal.vue
apps/web-antd/src/views/hr/laborCost/modal.vue
+5
-1
No files found.
apps/web-antd/src/views/hr/laborCost/modal.vue
View file @
4d07056f
...
...
@@ -74,7 +74,11 @@ const [BasicModal, modalApi] = useVbenModal({
if
(
ossId
)
{
const
resp
=
await
ossInfo
(
ossId
);
const
ossData
=
resp
[
0
];
url
.
value
=
`http://119.184.127.215:8012/onlinePreview?url=
${
encodeURIComponent
(
urlToBase64
(
ossData
.
url
))}
`
;
ossData
.
url
=
(
ossData
?.
url
as
string
).
replace
(
'http://cdn.hr.antaikeji.top'
,
'/oss-proxy'
,
);
url
.
value
=
`/file-preview/onlinePreview?url=
${
encodeURIComponent
(
await
urlToBase64
(
ossData
.
url
))}
`
;
// console.log('[url.value]', url.value);
// formData.value = data;
// await formApi.setValues(formData.value);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment