Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-smart
Overview
Overview
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
platform
hg-smart
Commits
5b9b014e
Commit
5b9b014e
authored
Oct 19, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://129.211.46.84:8800/platform/hg-smart
into master-dc
parents
59fe56f2
e8ed80a2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
HGWD002A1.js
src/main/webapp/HG/WD/HGWD002A1.js
+3
-3
No files found.
src/main/webapp/HG/WD/HGWD002A1.js
View file @
5b9b014e
...
@@ -61,12 +61,12 @@ function previewFile(docId, docType, docName) {
...
@@ -61,12 +61,12 @@ function previewFile(docId, docType, docName) {
$
(
"#descDiv"
).
css
(
'display'
,
'none'
);
$
(
"#descDiv"
).
css
(
'display'
,
'none'
);
if
(
isXml
(
docType
))
{
if
(
isXml
(
docType
))
{
previewXml
(
docId
);
previewXml
(
docId
);
}
else
if
(
isExcel
(
docType
))
{
previewExcel
(
docId
);
}
else
if
(
true
)
{
}
else
if
(
true
)
{
previewOnline
(
docId
,
docName
);
previewOnline
(
docId
,
docName
);
}
else
if
(
isText
(
docType
))
{
}
else
if
(
isText
(
docType
))
{
previewText
(
docId
);
previewText
(
docId
);
}
else
if
(
isExcel
(
docType
))
{
previewExcel
(
docId
);
}
else
if
(
isWord
(
docType
))
{
}
else
if
(
isWord
(
docType
))
{
previewDocx
(
docId
);
previewDocx
(
docId
);
}
else
if
(
isImage
(
docType
))
{
}
else
if
(
isImage
(
docType
))
{
...
@@ -167,7 +167,7 @@ function isExcel(docType) {
...
@@ -167,7 +167,7 @@ function isExcel(docType) {
if
(
isBlank
(
docType
))
{
if
(
isBlank
(
docType
))
{
return
false
;
return
false
;
}
}
const
extensions
=
[
'xls'
,
'xlsx'
];
const
extensions
=
[
'xls'
];
return
extensions
.
includes
(
docType
.
toLowerCase
());
return
extensions
.
includes
(
docType
.
toLowerCase
());
}
}
...
...
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