Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tea-resources-web
Project
Project
Details
Activity
Releases
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
张伯涛
tea-resources-web
Commits
1cc7c5b1
Commit
1cc7c5b1
authored
Apr 17, 2024
by
FangYuePeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改图片回显地址
parent
6b1ba1da
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
99 additions
and
82 deletions
+99
-82
index.vue
src/views/contentManagement/banner/index.vue
+4
-4
index.vue
src/views/contentManagement/centralCase/index.vue
+2
-3
index.vue
src/views/contentManagement/centralCase/info/index.vue
+1
-2
index.vue
src/views/contentManagement/competitionSupport/index.vue
+79
-59
index.vue
src/views/contentManagement/developmentCourse/index.vue
+4
-4
index.vue
src/views/contentManagement/newsInformation/index.vue
+3
-3
index.vue
src/views/contentManagement/newsInformation/info/index.vue
+2
-2
index.vue
src/views/courseInformation/courseManagement/info/index.vue
+1
-1
index.vue
src/views/courseInformation/lecturerManagement/index.vue
+3
-4
No files found.
src/views/contentManagement/banner/index.vue
View file @
1cc7c5b1
...
...
@@ -59,8 +59,8 @@
<div
:id=
"step(scope.$index)"
>
<el-image
style=
"width:100%;height:100%;"
:src=
"
imagePath+
scope.row.url"
:preview-src-list=
"[
imagePath+
scope.row.url]"
:src=
"scope.row.url"
:preview-src-list=
"[scope.row.url]"
@
click=
"handleClickStop(scope.$index)"
@
mouseover=
"justEnter($event)"
@
mouseout=
"justOut($event)"
...
...
@@ -214,7 +214,7 @@ export default {
data
()
{
return
{
imageUrl
:
''
,
imagePath
:
'http://49.232.167.247:20020/teaServer/'
,
fileUpload
:
'/dev-api/common/fileUpload?file='
+
this
.
file
+
'&temp='
+
'development'
,
// 遮罩层
loading
:
true
,
...
...
@@ -399,7 +399,7 @@ export default {
const
id
=
row
.
businessId
getCmsBanner
(
id
).
then
(
response
=>
{
this
.
form
=
response
.
data
this
.
imageUrl
=
this
.
imagePath
+
response
.
data
.
url
this
.
imageUrl
=
response
.
data
.
url
this
.
open
=
true
this
.
title
=
'修改banner'
})
...
...
src/views/contentManagement/centralCase/index.vue
View file @
1cc7c5b1
...
...
@@ -56,7 +56,7 @@
<el-table-column
label=
"封面"
prop=
"path"
>
<
template
slot-scope=
"scope"
>
<div
:id=
"step(scope.$index)"
>
<el-image
:src=
"
imagePath+
scope.row.path"
:preview-src-list=
"scope.row.srclist"
style=
"width:100%;height:100%;"
@
click=
"handleClickStop(scope.$index)"
@
mouseover=
"justEnter($event)"
@
mouseout=
"justOut($event)"
/>
<el-image
:src=
"scope.row.path"
:preview-src-list=
"scope.row.srclist"
style=
"width:100%;height:100%;"
@
click=
"handleClickStop(scope.$index)"
@
mouseover=
"justEnter($event)"
@
mouseout=
"justOut($event)"
/>
</div>
</
template
>
</el-table-column>
...
...
@@ -125,7 +125,6 @@ export default {
hasAddPerm
:
[
'sys:contentNewssInformation:add'
],
hasUpdatePerm
:
[
'sys:contentNewssInformation:update'
],
imageSrc
:
require
(
'@/assets/image/test.png'
),
imagePath
:
'http://49.232.167.247:20020/teaServer/'
,
// 显示开关
showSwitch
:
{
courseContent
:
true
,
...
...
@@ -253,7 +252,7 @@ export default {
_this
.
bussid
=
[]
res
.
rows
.
forEach
(
item
=>
{
item
.
srclist
=
[]
item
.
srclist
.
push
(
this
.
imagePath
+
item
.
path
)
item
.
srclist
.
push
(
item
.
path
)
console
.
log
(
item
.
srclist
)
})
_this
.
tableData
=
res
.
rows
...
...
src/views/contentManagement/centralCase/info/index.vue
View file @
1cc7c5b1
...
...
@@ -123,7 +123,6 @@ export default {
},
data
()
{
return
{
imagePath
:
'http://49.232.167.247:20020/teaServer/'
,
businessId
:
null
,
// 变更字段存储数组
formChanges
:
[],
...
...
@@ -234,7 +233,7 @@ export default {
console
.
log
(
'res'
,
res
.
data
)
if
(
res
.
code
===
200
)
{
this
.
form
=
res
.
data
this
.
imageUrl
=
this
.
imagePath
+
res
.
data
.
path
this
.
imageUrl
=
res
.
data
.
path
console
.
log
(
'this.form.imageUrl'
,
this
.
form
.
imageUrl
)
}
})
...
...
src/views/contentManagement/competitionSupport/index.vue
View file @
1cc7c5b1
This diff is collapsed.
Click to expand it.
src/views/contentManagement/developmentCourse/index.vue
View file @
1cc7c5b1
...
...
@@ -94,8 +94,8 @@
<div
:id=
"step(scope.$index)"
>
<el-image
style=
"width:100%;height:100%;"
:src=
"
imagePath+
scope.row.url"
:preview-src-list=
"[
imagePath+
scope.row.url]"
:src=
"scope.row.url"
:preview-src-list=
"[scope.row.url]"
@
click=
"handleClickStop(scope.$index)"
@
mouseover=
"justEnter($event)"
@
mouseout=
"justOut($event)"
...
...
@@ -241,7 +241,7 @@ export default {
data
()
{
return
{
imageUrl
:
''
,
imagePath
:
'http://49.232.167.247:20020/teaServer/'
,
dialogImageUrl
:
''
,
dialogVisible
:
false
,
disabled
:
false
,
...
...
@@ -450,7 +450,7 @@ export default {
const
id
=
row
.
businessId
getCmsDevelopment
(
id
).
then
(
response
=>
{
this
.
form
=
response
.
data
this
.
form
.
url
=
this
.
imagePath
+
response
.
data
.
url
this
.
form
.
url
=
response
.
data
.
url
this
.
open
=
true
this
.
title
=
'修改发展历程'
})
...
...
src/views/contentManagement/newsInformation/index.vue
View file @
1cc7c5b1
...
...
@@ -79,7 +79,7 @@
<el-table-column
align=
"left"
label=
"新闻标题图"
prop=
"pictureId"
>
<
template
slot-scope=
"scope"
>
<div
:id=
"step(scope.$index)"
>
<el-image
:src=
"
imagePath+
scope.row.path"
:preview-src-list=
"scope.row.srclist"
style=
"width:100%;height:100%;"
@
click=
"handleClickStop(scope.$index)"
@
mouseover=
"justEnter($event)"
@
mouseout=
"justOut($event)"
/>
<el-image
:src=
"scope.row.path"
:preview-src-list=
"scope.row.srclist"
style=
"width:100%;height:100%;"
@
click=
"handleClickStop(scope.$index)"
@
mouseover=
"justEnter($event)"
@
mouseout=
"justOut($event)"
/>
</div>
</
template
>
</el-table-column>
...
...
@@ -185,7 +185,7 @@ export default {
hasUpdatePerm
:
[
'sys:contentNewsInformation:update'
],
hasDetailPerm
:
[
'sys:contentNewsInformation:query'
],
imageSrc
:
require
(
'@/assets/image/test.png'
),
imagePath
:
'http://49.232.167.247:20020/teaServer/'
,
// 显示开关
showSwitch
:
{
courseContent
:
true
,
...
...
@@ -364,7 +364,7 @@ export default {
_this
.
bussid
=
[]
res
.
rows
.
forEach
(
item
=>
{
item
.
srclist
=
[]
item
.
srclist
.
push
(
this
.
imagePath
+
item
.
pictureId
)
item
.
srclist
.
push
(
item
.
pictureId
)
})
_this
.
tableData
=
res
.
rows
_this
.
fullscreenLoading
=
false
...
...
src/views/contentManagement/newsInformation/info/index.vue
View file @
1cc7c5b1
...
...
@@ -165,7 +165,7 @@ export default {
data
()
{
return
{
title
:
'新增新闻'
,
imagePath
:
'http://49.232.167.247:20020/teaServer/'
,
businessId
:
null
,
// 变更字段存储数组
formChanges
:
[],
...
...
@@ -305,7 +305,7 @@ export default {
console
.
log
(
'res'
,
res
.
data
)
if
(
res
.
code
===
200
)
{
this
.
form
=
res
.
data
this
.
imageUrl
=
this
.
imagePath
+
res
.
data
.
path
this
.
imageUrl
=
res
.
data
.
path
}
})
}
...
...
src/views/courseInformation/courseManagement/info/index.vue
View file @
1cc7c5b1
...
...
@@ -222,7 +222,7 @@ export default {
name
:
'Index'
,
data
()
{
return
{
imagePath
:
'http://49.232.167.247:20020/teaServer/'
,
// 方案集合
optionList
:
[],
// 岗位集合
...
...
src/views/courseInformation/lecturerManagement/index.vue
View file @
1cc7c5b1
...
...
@@ -57,8 +57,7 @@
<el-table-column
label=
"头像"
prop=
"avatarId"
width=
"150"
>
<template
slot-scope=
"scope"
>
<div
:id=
"step(scope.$index)"
class=
"img"
>
<!--
<el-image
@
click=
"handleClickStop(scope.$index)"
style=
"width:100px;height:100%;"
:src=
"imagePath+scope.row.avatarUrl"
:preview-src-list=
"[imagePath+scope.row.avatarUrl]"
/>
-->
<el-image
fit=
"fill"
class=
"self-avatar"
:src=
"imagePath+scope.row.avatarUrl"
:preview-src-list=
"[imagePath+scope.row.avatarUrl]"
@
click=
"handleClickStop(scope.$index)"
/>
<el-image
fit=
"fill"
class=
"self-avatar"
:src=
"scope.row.avatarUrl"
:preview-src-list=
"[scope.row.avatarUrl]"
@
click=
"handleClickStop(scope.$index)"
/>
</div>
</
template
>
</el-table-column>
...
...
@@ -220,8 +219,8 @@ export default {
// 讲师信息表表格数据
cmsLecturerList
:
[],
fileUpload
:
'/dev-api/common/fileUpload?file='
+
this
.
file
+
'&temp='
+
'lecturerManagement'
,
// imagePath: 'http://49.232.167.247:20020/eduServer/',
imagePath
:
'http://49.232.167.247:20020/teaServer/'
,
imageUrl
:
''
,
// 弹出层标题
title
:
''
,
...
...
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