Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
a85c50df
Commit
a85c50df
authored
Mar 18, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
ad99bf34
851671a0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
53 additions
and
2 deletions
+53
-2
lineManagement.vue
src/components/systemManagement/lineManagement.vue
+53
-2
No files found.
src/components/systemManagement/lineManagement.vue
View file @
a85c50df
...
...
@@ -609,7 +609,38 @@
</div>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"行程顶部图片"
>
<div
class=
"TFimgList"
>
<img
v-if=
"!addMsg.TripFeatureTopBg"
src=
"../../assets/img/bg_c3@3x.png"
>
<img
v-else
:src=
'addMsg.TripFeatureTopBg'
>
<div
class=
"TFIMGzhe"
>
<div
class=
"TFreupload"
>
<el-upload
:http-request=
"uploadTripFeatureTopBg"
:multiple=
"false"
accept=
"image/jpeg, image/gif, image/png, image/bmp"
:show-file-list=
"false"
action=
""
>
<i
class=
"iconfont icon-Edit"
></i>
</el-upload>
</div>
</div>
</div>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"行程底部图片"
>
<div
class=
"TFimgList"
>
<img
v-if=
"!addMsg.TripFeatureBottomBg"
src=
"../../assets/img/bg_c3@3x.png"
>
<img
v-else
:src=
'addMsg.TripFeatureBottomBg'
>
<div
class=
"TFIMGzhe"
>
<div
class=
"TFreupload"
>
<el-upload
:http-request=
"uploadTripFeatureBottomBg"
:multiple=
"false"
accept=
"image/jpeg, image/gif, image/png, image/bmp"
:show-file-list=
"false"
action=
""
>
<i
class=
"iconfont icon-Edit"
></i>
</el-upload>
</div>
</div>
</div>
</el-form-item>
</el-col>
<div
class=
"LM_Btcontent"
>
<input
type=
"button"
class=
"normalBtn"
@
click=
"submitForm('addMsg')"
:value=
"$t('pub.saveBtn')"
/>
<input
type=
"button"
class=
"hollowFixedBtn"
@
click=
"isShowDIv=false"
:value=
"$t('pub.cancelBtn')"
/>
...
...
@@ -717,6 +748,8 @@
BroadsideImage
:
''
,
AppLineIcon
:
""
,
RebateMoney
:
0
,
//人头返佣
TripFeatureTopBg
:
""
,
//行程特色顶部图片
TripFeatureBottomBg
:
""
,
//行程特色顶部图片
},
departCompany
:
""
,
departDepartment
:
""
,
...
...
@@ -780,9 +813,27 @@
this
.
fileList
=
fileList
.
slice
(
-
1
);
},
handleChange2
(
file
,
fileList
)
{
this
.
fileList2
=
fileList
.
slice
(
-
1
);
},
//行程特色顶部图片
uploadTripFeatureTopBg
(
file
)
{
let
newArr
=
[];
newArr
.
push
(
file
.
file
);
let
path
=
"/Upload/DMC/Icon/"
;
this
.
UploadSelfFileT
(
path
,
newArr
,
x
=>
{
let
url
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
;
this
.
addMsg
.
TripFeatureTopBg
=
url
;
});
},
uploadTripFeatureBottomBg
(
file
)
{
let
newArr
=
[];
newArr
.
push
(
file
.
file
);
let
path
=
"/Upload/DMC/Icon/"
;
this
.
UploadSelfFileT
(
path
,
newArr
,
x
=>
{
let
url
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
;
this
.
addMsg
.
TripFeatureBottomBg
=
url
;
});
},
uploadTest3
(
file
)
{
let
newArr
=
[];
newArr
.
push
(
file
.
file
);
...
...
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