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
606f9bd5
Commit
606f9bd5
authored
Jun 14, 2019
by
huangyuanyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加侧边栏
parent
12ebad01
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
3 deletions
+39
-3
lineManagement.vue
src/components/systemManagement/lineManagement.vue
+39
-3
No files found.
src/components/systemManagement/lineManagement.vue
View file @
606f9bd5
...
...
@@ -452,7 +452,7 @@ input[type="number"] {
<div
class=
"combottomDiv"
v-if=
"isShowDIv"
>
<div
class=
"combottomTitle"
>
{{
divTitle
}}
</div>
<div
class=
""
>
<el-form
:model=
"addMsg"
:rules=
"rules"
ref=
"addMsg"
label-width=
"1
0
0px"
>
<el-form
:model=
"addMsg"
:rules=
"rules"
ref=
"addMsg"
label-width=
"1
3
0px"
>
<el-col
:span=
"5"
>
<el-form-item
:label=
"$t('system.query_lineName')"
prop=
"lineName"
>
<el-input
v-model=
"addMsg.lineName"
></el-input>
...
...
@@ -521,7 +521,7 @@ input[type="number"] {
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"线路方向"
prop=
"LineDirection"
>
<el-select
v-model=
"addMsg.LineDirection"
:placeholder=
"$t('pub.pleaseSel')"
class=
"w290"
>
<el-select
v-model=
"addMsg.LineDirection"
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
label=
'入境'
:value=
'1'
></el-option>
<el-option
label=
'出境'
:value=
'2'
></el-option>
<el-option
label=
'一日游'
:value=
'3'
></el-option>
...
...
@@ -529,7 +529,7 @@ input[type="number"] {
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"
线路图片
"
>
<el-form-item
label=
"
B2B线路背景图
"
>
<div
class=
"TFimgList"
>
<img
v-if=
"!addMsg.BackgroundImage"
src=
"../../assets/img/bg_c3@3x.png"
>
<img
v-else
:src=
'addMsg.BackgroundImage'
>
...
...
@@ -546,6 +546,25 @@ input[type="number"] {
</div>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"B2B线路侧边长图"
>
<div
class=
"TFimgList"
style=
"width:90px"
>
<img
v-if=
"!addMsg.BroadsideImage"
src=
"../../assets/img/bg_c3@3x.png"
>
<img
v-else
:src=
'addMsg.BroadsideImage'
>
<div
class=
"TFIMGzhe"
>
<div
class=
"TFreupload"
>
<el-upload
:file-list=
"fileList2"
:http-request=
"uploadTest2"
:multiple=
"true"
:limit=
"2"
:on-change=
"handleChange2"
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')"
/>
...
...
@@ -635,6 +654,7 @@ export default {
data
()
{
return
{
fileList
:[],
fileList2
:[],
msg
:
{
pageIndex
:
1
,
pageSize
:
6
,
...
...
@@ -657,6 +677,7 @@ export default {
Is_PacketGroup
:
0
,
LineDirection
:
2
,
BackgroundImage
:
""
,
BroadsideImage
:
''
,
},
departCompany
:
""
,
departDepartment
:
""
,
...
...
@@ -701,6 +722,19 @@ export default {
this
.
fileList
=
fileList
.
slice
(
-
1
);
},
handleChange2
(
file
,
fileList
)
{
this
.
fileList2
=
fileList
.
slice
(
-
1
);
},
uploadTest2
(
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
.
BroadsideImage
=
url
;
});
},
uploadTest
(
file
)
{
let
newArr
=
[];
newArr
.
push
(
file
.
file
);
...
...
@@ -810,6 +844,8 @@ export default {
this
.
addMsg
.
Is_PacketGroup
=
getInfo
.
is_PacketGroup
;
this
.
addMsg
.
LineDirection
=
getInfo
.
lineDirection
;
this
.
addMsg
.
BackgroundImage
=
getInfo
.
BackgroundImage
;
this
.
addMsg
.
BroadsideImage
=
getInfo
.
BroadsideImage
;
console
.
log
(
"this.addMsg.BackgroundImage"
,
getInfo
)
},
deletelist
(
lineID
)
{
...
...
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