Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
X
xxx_phase2_web
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
夏敏伟
xxx_phase2_web
Commits
69cfa573
Commit
69cfa573
authored
Dec 06, 2023
by
高飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改图片预览路径
parent
789b63a0
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
4 deletions
+17
-4
src/view/flfg/znfx.vue
src/view/flfg/znfx.vue
+4
-1
src/view/flfg/znfxZfcl.vue
src/view/flfg/znfxZfcl.vue
+2
-2
src/view/fzjc/znfx.vue
src/view/fzjc/znfx.vue
+4
-1
src/view/sjgl/wxk_public.vue
src/view/sjgl/wxk_public.vue
+7
-0
No files found.
src/view/flfg/znfx.vue
View file @
69cfa573
...
@@ -520,9 +520,12 @@ export default {
...
@@ -520,9 +520,12 @@ export default {
img_type
=
true
;
img_type
=
true
;
}
}
});
});
if
(
video_type
||
img_type
)
{
if
(
video_type
)
{
item
.
imgUrl
=
'
api/rest/file/viewPicture/DocumentPicture?objectName=
'
+
item
.
file
.
uuid
+
'
&
'
+
new
Date
().
getTime
();
item
.
imgUrl
=
'
api/rest/file/viewPicture/DocumentPicture?objectName=
'
+
item
.
file
.
uuid
+
'
&
'
+
new
Date
().
getTime
();
}
}
if
(
img_type
)
{
item
.
imgUrl
=
'
api/rest/file/viewPicture/Document?objectName=
'
+
item
.
file
.
uuid
+
'
&
'
+
new
Date
().
getTime
();
}
})
})
_this
.
tableData
=
data
.
list
;
_this
.
tableData
=
data
.
list
;
}
}
...
...
src/view/flfg/znfxZfcl.vue
View file @
69cfa573
...
@@ -508,7 +508,7 @@ export default {
...
@@ -508,7 +508,7 @@ export default {
data
.
list
.
forEach
(
item
=>
{
data
.
list
.
forEach
(
item
=>
{
//用户判断此格式是否是视频格式
//用户判断此格式是否是视频格式
let
video_type
=
false
;
let
video_type
=
false
;
//用户判断此格式是否是
音频
格式
//用户判断此格式是否是
图片
格式
let
img_type
=
false
;
let
img_type
=
false
;
arr_video_format
().
forEach
((
name
)
=>
{
arr_video_format
().
forEach
((
name
)
=>
{
if
(
name
.
toUpperCase
()
==
item
.
file
.
type
.
toUpperCase
())
{
if
(
name
.
toUpperCase
()
==
item
.
file
.
type
.
toUpperCase
())
{
...
@@ -524,7 +524,7 @@ export default {
...
@@ -524,7 +524,7 @@ export default {
item
.
imgUrl
=
'
api/rest/file/viewPicture/DocumentPicture?objectName=
'
+
item
.
file
.
uuid
+
'
&
'
+
new
Date
().
getTime
();
item
.
imgUrl
=
'
api/rest/file/viewPicture/DocumentPicture?objectName=
'
+
item
.
file
.
uuid
+
'
&
'
+
new
Date
().
getTime
();
}
}
if
(
img_type
)
{
if
(
img_type
)
{
item
.
imgUrl
=
'
api/rest/file/viewPicture/Document
PDF
?objectName=
'
+
item
.
file
.
uuid
+
'
&
'
+
new
Date
().
getTime
();
item
.
imgUrl
=
'
api/rest/file/viewPicture/Document?objectName=
'
+
item
.
file
.
uuid
+
'
&
'
+
new
Date
().
getTime
();
}
}
})
})
_this
.
tableData
=
data
.
list
;
_this
.
tableData
=
data
.
list
;
...
...
src/view/fzjc/znfx.vue
View file @
69cfa573
...
@@ -514,9 +514,12 @@ export default {
...
@@ -514,9 +514,12 @@ export default {
img_type
=
true
;
img_type
=
true
;
}
}
});
});
if
(
video_type
||
img_type
)
{
if
(
video_type
)
{
item
.
imgUrl
=
'
api/rest/file/viewPicture/DocumentPicture?objectName=
'
+
item
.
file
.
uuid
+
'
&
'
+
new
Date
().
getTime
();
item
.
imgUrl
=
'
api/rest/file/viewPicture/DocumentPicture?objectName=
'
+
item
.
file
.
uuid
+
'
&
'
+
new
Date
().
getTime
();
}
}
if
(
img_type
)
{
item
.
imgUrl
=
'
api/rest/file/viewPicture/Document?objectName=
'
+
item
.
file
.
uuid
+
'
&
'
+
new
Date
().
getTime
();
}
})
})
_this
.
tableData
=
data
.
list
;
_this
.
tableData
=
data
.
list
;
}
}
...
...
src/view/sjgl/wxk_public.vue
View file @
69cfa573
...
@@ -694,6 +694,13 @@ export default {
...
@@ -694,6 +694,13 @@ export default {
//新增弹出框弹出
//新增弹出框弹出
handleAdd
()
{
handleAdd
()
{
if
(
this
.
clientDetails_type
[
0
]
==
1
||
this
.
clientDetails_type
[
0
]
==
2
||
this
.
clientDetails_type
[
0
]
==
3
||
this
.
clientDetails_type
[
0
]
==
4
)
{
this
.
$message
({
type
:
"
warning
"
,
message
:
"
请选择文档列表子节点
"
,
});
return
;
}
let
_this
=
this
;
let
_this
=
this
;
//设置下拉框默认选择第一条
//设置下拉框默认选择第一条
// _this.form_add.region = _this.options[0].value;
// _this.form_add.region = _this.options[0].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