Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
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
黄媛媛
ElectricitySheep
Commits
2c916d2d
Commit
2c916d2d
authored
Sep 09, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
da8ed71d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
6 deletions
+20
-6
addCar.vue
src/components/director/addCar.vue
+20
-6
No files found.
src/components/director/addCar.vue
View file @
2c916d2d
...
...
@@ -4,15 +4,15 @@
<span
@
click=
"CommonJump('directorCarList')"
class=
"blue point"
>
车辆管理
</span>
/ 编辑车辆管理
</div>
<div
class=
"content"
>
<el-form
:model=
"addMsg"
:rules=
"rules"
ref=
"addMsg"
label-width=
"150px"
style=
"width:50%"
>
<el-form
:model=
"addMsg"
:rules=
"rules"
ref=
"addMsg"
label-width=
"150px"
>
<el-form-item
label=
"车辆名称"
prop=
"Name"
class=
"is-required"
>
<el-form-item
label=
"车辆名称"
prop=
"Name"
class=
"is-required"
size=
"small"
>
<el-input
v-model=
"addMsg.Name"
placeholder=
"请输入车辆名称"
/>
</el-form-item>
<el-form-item
label=
"LOGO"
>
<el-form-item
label=
"LOGO"
size=
"small"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"建议尺寸100*100"
placement=
"top"
>
<el-button
@
click=
"openChangeDig(1)"
size=
"small"
>
选择文件
</el-button>
<el-button
@
click=
"openChangeDig(1)"
>
选择文件
</el-button>
</el-tooltip>
<div
class=
"app-gallery-item"
style=
"position: relative;width: 100px;margin-top: 10px;"
>
<img
v-if=
"!addMsg.CarLogo || addMsg.CarLogo==''"
...
...
@@ -35,10 +35,10 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"车辆型号"
prop=
"CarType"
class=
"is-required"
>
<el-form-item
label=
"车辆型号"
prop=
"CarType"
class=
"is-required"
size=
"small"
>
<el-input
v-model=
"addMsg.CarType"
placeholder=
"请输入车辆型号"
/>
</el-form-item>
<el-form-item
label=
"可乘坐人数"
prop=
"GuestNum"
class=
"is-required"
>
<el-form-item
label=
"可乘坐人数"
prop=
"GuestNum"
class=
"is-required"
size=
"small"
>
<el-input
v-model=
"addMsg.GuestNum"
placeholder=
"请输入可乘坐人数"
type=
"number"
/>
</el-form-item>
...
...
@@ -246,6 +246,11 @@
},
res
=>
{
this
.
loading
=
false
;
this
.
addMsg
=
res
.
data
.
data
;
this
.
addMsg
.
ColorList
.
forEach
(
x
=>
{
if
(
x
.
PicList
==
null
){
x
.
PicList
=
[];
}
})
})
},
...
...
@@ -362,6 +367,9 @@
padding
:
20px
;
box-sizing
:
border-box
;
}
.content
form
{
width
:
50%
;
}
.addCar
.gez_list
{
/*width: 650px;*/
margin-bottom
:
12px
;
...
...
@@ -418,4 +426,10 @@
top
:
-8px
;
padding
:
4px
4px
!important
;
}
@media
(
max-width
:
1400px
)
and
(
min-width
:
0
)
{
.content
form
{
width
:
100%
;
}
}
</
style
>
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