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
b597f0de
Commit
b597f0de
authored
May 07, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增页面
parent
b467c53d
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
524 additions
and
33 deletions
+524
-33
busPriceConfig.vue
src/components/busManagement/busPriceConfig.vue
+445
-0
busUsePrice.vue
src/components/busManagement/busUsePrice.vue
+31
-14
busUsePriceDetails.vue
src/components/busManagement/busUsePriceDetails.vue
+40
-18
admissionStatistics.vue
src/components/scenicSpot/admissionStatistics.vue
+0
-1
config.js
src/router/config.js
+8
-0
No files found.
src/components/busManagement/busPriceConfig.vue
0 → 100644
View file @
b597f0de
<
style
>
.busPriceConfig
.busList
{
width
:
230px
;
height
:
270px
;
float
:
left
;
margin
:
0
10px
10px
0
;
background-color
:
#fff
;
border-radius
:
4px
;
font-size
:
12px
;
overflow
:
hidden
;
}
.busPriceConfig
.busListTable
{
width
:
98%
;
margin
:
0px
2px
0px
2px
;
}
.busPriceConfig
.busListTable
tr
td
{
height
:
20px
;
line-height
:
20px
;
}
.busPriceConfig
.busListTop
{
width
:
100%
;
position
:
relative
;
text-align
:
center
;
}
.busPriceConfig
.usePricediv
{
margin
:
7px
0
0
20px
;
}
.busPriceConfig
.btmAddStore
{
border-top
:
1px
solid
#d1d1d1
;
width
:
100%
;
display
:
none
;
overflow-x
:
auto
;
overflow-y
:
auto
;
position
:
fixed
;
background
:
#f9f9f9
;
bottom
:
0
;
}
.busPriceConfig
.changeMsg
{
width
:
80%
;
}
.busPriceConfig
.changeMsg
li
{
float
:
left
;
}
.busPriceConfig
.changeMsg
li
:first-child
{
margin-left
:
20px
;
}
.busPriceConfig
.btmTitle
{
padding
:
0
10px
;
margin
:
20px
0
20px
25px
;
border-left
:
3px
solid
#e95252
;
font-size
:
14px
;
color
:
#000000
;
}
.busPriceConfig
.busUsePeople
.el-input__inner
{
border-top-right-radius
:
0
;
border-bottom-right-radius
:
0
;
}
.busPriceConfig
.busType
{
margin
:
10px
0
0
31px
;
font-size
:
14px
;
display
:
inline-block
;
}
.busPriceConfig
.cityBtnList
{
margin
:
10px
0
20px
20px
;
}
.busPriceConfig
.busUserBtnList
{
width
:
100%
;
text-align
:
center
;
margin-top
:
10px
;
}
.busPriceConfig
.busListTop
img
{
width
:
100%
;
}
.busPriceConfig
.BusTypeStr
{
position
:
absolute
;
top
:
15px
;
color
:
#fff
;
font-size
:
25px
;
left
:
63px
;
}
.busPriceConfig
.UPBtn
{
width
:
70px
;
height
:
23px
;
}
.busPriceConfig
.topNotice
{
width
:
100%
;
height
:
20px
;
font-size
:
12px
;
text-align
:
left
;
margin
:
20px
0
;
}
.busPriceConfig
.delScien
{
position
:
absolute
;
right
:
10px
;
top
:
10px
;
display
:
none
;
}
.busPriceConfig
.delScien
:hover
{
color
:
#f76f6f
;
cursor
:
pointer
;
}
.busPriceConfig
.busList
:hover
.delScien
{
display
:
block
;
}
.busPriceConfig
.busDiv
{
margin-top
:
20px
;
}
.busPriceConfig
.busList
:hover
{
box-shadow
:
0px
0px
20px
rgba
(
191
,
191
,
191
,
1
);
transition
:
all
linear
0.5s
;
}
.Bus_BtnList
{
text-align
:
right
;
margin-bottom
:
10px
;
}
.Bus_Spacing
{
margin-left
:
24px
;
}
.busPriceConfig
.combottomDiv
.el-select
{
width
:
100%
;
}
.busPriceConfig
.linkStrle
{
cursor
:
pointer
;
text-decoration
:
underline
;
color
:
blue
;
}
.busUsePriceTable
{
width
:
100%
;
font-size
:
14px
;
color
:
#333
;
background-color
:
#fff
;
border-collapse
:
collapse
;
}
.busUsePriceTable
tr
th
{
background
:
#e6e6e6
;
height
:
30px
;
font-size
:
14px
;
text-align
:
left
;
text-indent
:
15px
;
border
:
1px
solid
#cccccc
;
}
.busUsePriceTable
tr
td
{
min-height
:
60px
;
height
:
auto
;
padding
:
10px
;
font-size
:
14px
!important
;
border
:
1px
solid
#cccccc
;
}
.busPriceConfig
.busUsePriceTable
.el-pagination
{
border-top
:
0
!important
;
}
</
style
>
<
template
>
<div
class=
"flexOne busPriceConfig"
>
<div
class=
"query-box"
>
<ul>
<li>
<span>
<em>
名称
</em>
<el-input
v-model=
"msg.Trip"
clearable=
""
/>
</span>
</li>
<li>
<input
type=
"button"
class=
"hollowFixedBtn"
@
click=
"msg.pageIndex=1,initData()"
value=
"查询"
/>
<input
type=
"button"
class=
"normalBtn"
@
click=
"addPanel"
:value=
"$t('pub.addBtn')"
/>
</li>
</ul>
</div>
<div
class=
"busDiv clearfix"
v-loading=
"msg.loading"
>
<table
class=
"busUsePriceTable"
>
<thead>
<tr>
<th>
编号
</th>
<th>
行程
</th>
<th>
越文行程
</th>
<th>
公里数
</th>
<th>
操作人
</th>
<th>
操作时间
</th>
<th>
{{
$t
(
'admin.admin_operate'
)
}}
</th>
</tr>
</thead>
<tbody
v-for=
"item in dataList"
:key=
"item.subCode"
>
<tr>
<td>
{{
item
.
Id
}}
</td>
<td>
{{
item
.
Trip
}}
</td>
<td>
{{
item
.
VietnamTrip
}}
</td>
<td>
{{
item
.
Kilometre
}}
</td>
<td>
{{
item
.
UpdateByName
}}
</td>
<td>
{{
item
.
UpdateDateStr
}}
</td>
<td
style=
"text-align:center;"
>
<el-button-group
size=
'mini'
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('ground.glbaojia')"
placement=
"top-start"
>
<el-button
type=
"primary"
class=
"iconfont icon-bianji-smal"
@
click=
"managePrice(item.Id)"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('system.ph_shanchu')"
placement=
"top-start"
>
<el-button
type=
"danger"
class=
"iconfont icon-img_delete_small"
@
click=
"isdelete(item.Id)"
>
</el-button>
</el-tooltip>
</el-button-group>
</td>
</tr>
</tbody>
<tfoot>
<tr>
<td
colspan=
"7"
>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"msg.currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
"this.msg.pageSize"
:total=
"msg.total"
>
</el-pagination>
</td>
</tr>
</tfoot>
</table>
</div>
<div
class=
"combottomDiv"
v-if=
"isShow"
>
<el-row>
<el-col
:span=
"18"
>
<div
class=
"combottomTitle"
>
车资价格
</div>
</el-col>
<el-col
:span=
"4"
class=
"Bus_BtnList"
>
<input
type=
"button"
class=
"hollowFixedBtn"
@
click=
"cancelPanel"
:value=
"$t('pub.cancelBtn')"
/>
<input
type=
"button"
class=
"normalBtn"
@
click=
"submitForm('addMsg')"
:value=
"$t('pub.saveBtn')"
/>
</el-col>
</el-row>
<el-form
:model=
"addMsg"
ref=
"addMsg"
label-width=
"100px"
>
<el-row>
<el-col
:span=
"5"
>
<el-form-item
label=
"行程"
>
<el-input
type=
"textarea"
autosize
:placeholder=
"$t('pub.pleaseImport')"
v-model=
"addMsg.Trip"
>
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"越文行程"
>
<el-input
type=
"textarea"
autosize
:placeholder=
"$t('pub.pleaseImport')"
v-model=
"addMsg.VietnamTrip"
>
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"公里数"
>
<el-input
v-model=
"addMsg.Kilometre"
@
keyup
.
native=
"checkInteger(addMsg,'Kilometre')"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"排序"
>
<el-input
v-model=
"addMsg.SortNum"
@
keyup
.
native=
"checkInteger(addMsg,'SortNum')"
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
</div>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
dataList
:
[],
isShow
:
false
,
msg
:
{
pageIndex
:
1
,
pageSize
:
10
,
total
:
0
,
currentPage
:
1
,
loading
:
false
,
Trip
:
""
,
},
//表单json
addMsg
:
{
Id
:
0
,
//编号
Trip
:
''
,
//行程
VietnamTrip
:
''
,
//越文行程
Kilometre
:
0
,
//公里数
SortNum
:
0
,
//排序
},
};
},
methods
:
{
handleCurrentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
initData
();
},
resetPageIndex
()
{
this
.
msg
.
pageIndex
=
1
;
this
.
msg
.
currentPage
=
1
;
},
initData
()
{
this
.
msg
.
loading
=
true
;
this
.
apipost
(
"buspriceconfig_get_GetBusPriceConfigPageList"
,
this
.
msg
,
res
=>
{
this
.
msg
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
msg
.
total
=
res
.
data
.
data
.
count
;
}
},
null
);
},
saveInfo
()
{
this
.
apipost
(
"buspriceconfig_post_SetBusPriceConfig"
,
this
.
addMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
initData
();
this
.
Success
(
"保存成功"
);
this
.
isShow
=
false
;
this
.
resetForm
(
"addMsg"
);
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
null
);
},
//修改管理报价
managePrice
(
ID
)
{
this
.
addMsg
.
ID
=
ID
;
this
.
isShow
=
true
;
let
msg
=
{
Id
:
ID
};
this
.
apipost
(
"buspriceconfig_get_GetBusPriceConfig"
,
msg
,
res
=>
{
this
.
addMsg
=
res
.
data
.
data
;
},
null
);
},
//取消
cancelPanel
()
{
this
.
isShow
=
false
;
this
.
resetForm
(
"addMsg"
);
},
//添加
addPanel
()
{
this
.
isShow
=
true
;
this
.
addMsg
.
ID
=
0
;
this
.
clearInfo
();
},
clearInfo
()
{
this
.
addMsg
.
Id
=
0
;
this
.
addMsg
.
Trip
=
""
;
this
.
addMsg
.
VietnamTrip
=
""
;
this
.
addMsg
.
Kilometre
=
0
;
this
.
addMsg
.
SortNum
=
0
;
},
submitForm
(
addMsg
)
{
//提交创建、修改表单
let
that
=
this
;
that
.
$refs
[
addMsg
].
validate
(
valid
=>
{
if
(
valid
)
{
that
.
saveInfo
();
}
else
{
return
false
;
}
});
},
resetForm
(
formName
)
{
this
.
$refs
[
formName
].
resetFields
();
},
//删除
isdelete
(
ID
)
{
var
that
=
this
;
this
.
Confirm
(
"是否删除?"
,
function
()
{
var
msg
=
{
Id
:
ID
,
Status
:
1
,
};
that
.
apipost
(
"buspriceconfig_post_RemoveBusPriceConfig"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
initData
();
}
},
null
);
});
},
},
mounted
()
{
this
.
initData
();
},
}
</
script
>
src/components/busManagement/busUsePrice.vue
View file @
b597f0de
...
@@ -218,6 +218,9 @@
...
@@ -218,6 +218,9 @@
<th>
<th>
{{
$t
(
'ground.btbj'
)
}}
{{
$t
(
'ground.btbj'
)
}}
</th>
</th>
<th>
公里价格
</th>
<th>
<th>
{{
$t
(
'ground.qtgs'
)
}}
{{
$t
(
'ground.qtgs'
)
}}
</th>
</th>
...
@@ -262,6 +265,9 @@
...
@@ -262,6 +265,9 @@
<td>
<td>
{{
item
.
HalfDayPrice
}}
{{
item
.
HalfDayPrice
}}
</td>
</td>
<td>
{{
item
.
KMPrice
}}
</td>
<td>
<td>
{{
item
.
AllDayHighSpeedFee
}}
{{
item
.
AllDayHighSpeedFee
}}
</td>
</td>
...
@@ -272,12 +278,13 @@
...
@@ -272,12 +278,13 @@
<td>
{{
item
.
PickUpChaDaiFee
}}
</td>
<td>
{{
item
.
PickUpChaDaiFee
}}
</td>
<td>
<td>
<el-popover
width=
"590"
trigger=
"click"
>
<el-popover
width=
"590"
trigger=
"click"
>
<table
width=
"100%"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<table
width=
"100%"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr
style=
"text-align:center;"
>
<tr
style=
"text-align:center;"
>
<th
width=
"70"
>
{{
$t
(
'ground.yuefen'
)
}}
</th>
<th
width=
"70"
>
{{
$t
(
'ground.yuefen'
)
}}
</th>
<th
width=
"80"
>
{{
$t
(
'ground.jsPrice'
)
}}
</th>
<th
width=
"80"
>
{{
$t
(
'ground.jsPrice'
)
}}
</th>
<th
width=
"80"
>
{{
$t
(
'ground.AllDayPrice'
)
}}
</th>
<th
width=
"80"
>
{{
$t
(
'ground.AllDayPrice'
)
}}
</th>
<th
width=
"80"
>
{{
$t
(
'ground.btbj'
)
}}
</th>
<th
width=
"80"
>
{{
$t
(
'ground.btbj'
)
}}
</th>
<th
width=
"80"
>
公里价格
</th>
<th
width=
"80"
>
{{
$t
(
'ground.qtgs'
)
}}
</th>
<th
width=
"80"
>
{{
$t
(
'ground.qtgs'
)
}}
</th>
<th
width=
"80"
>
{{
$t
(
'ground.jsgs'
)
}}
</th>
<th
width=
"80"
>
{{
$t
(
'ground.jsgs'
)
}}
</th>
<th
width=
"80"
>
{{
$t
(
'ground.qtchadai'
)
}}
</th>
<th
width=
"80"
>
{{
$t
(
'ground.qtchadai'
)
}}
</th>
...
@@ -296,6 +303,9 @@
...
@@ -296,6 +303,9 @@
<td>
<td>
{{
fItem
.
S_HalfDayPrice
}}
{{
fItem
.
S_HalfDayPrice
}}
</td>
</td>
<td>
{{
fItem
.
S_KMPrice
}}
</td>
<td>
<td>
{{
fItem
.
S_AllDayHighSpeedFee
}}
{{
fItem
.
S_AllDayHighSpeedFee
}}
</td>
</td>
...
@@ -332,14 +342,14 @@
...
@@ -332,14 +342,14 @@
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td
colspan=
"1
3
"
>
<td
colspan=
"1
4
"
>
{{
$t
(
'pub.pubRemark'
)
}}
:
{{
item
.
Remark
}}
{{
$t
(
'pub.pubRemark'
)
}}
:
{{
item
.
Remark
}}
</td>
</td>
</tr>
</tr>
</tbody>
</tbody>
<tfoot>
<tfoot>
<tr>
<tr>
<td
colspan=
"1
3
"
>
<td
colspan=
"1
4
"
>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
"this.msg.pageSize"
:total=
"total"
>
layout=
"total,prev, pager, next, jumper"
:page-size=
"this.msg.pageSize"
:total=
"total"
>
</el-pagination>
</el-pagination>
...
@@ -377,8 +387,8 @@
...
@@ -377,8 +387,8 @@
</el-col>
</el-col>
<el-col
:span=
"5"
>
<el-col
:span=
"5"
>
<el-form-item
:label=
"$t('sm.zuoweishu')"
prop=
"UseNum"
>
<el-form-item
:label=
"$t('sm.zuoweishu')"
prop=
"UseNum"
>
<el-input
:placeholder=
"$t('sm.zuoweishu')"
v-model=
"addMsg.UseNum"
@
keyup
.
native=
"checkInteger(addMsg,'UseNum')"
<el-input
:placeholder=
"$t('sm.zuoweishu')"
v-model=
"addMsg.UseNum"
class=
"busUsePeople"
>
@
keyup
.
native=
"checkInteger(addMsg,'UseNum')"
class=
"busUsePeople"
>
<template
slot=
"append"
>
座
</
template
>
<template
slot=
"append"
>
座
</
template
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
...
@@ -404,13 +414,19 @@
...
@@ -404,13 +414,19 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"5"
style=
"display:none;"
>
<el-col
:span=
"5"
style=
"display:none;"
>
<el-form-item
label=
"小时报价"
>
<el-form-item
label=
"小时报价"
>
<el-input
v-model=
"addMsg.HourPrice"
@
keyup
.
native=
"checkPrice(addMsg,'HourPrice')"
></el-input>
<el-input
v-model=
"addMsg.HourPrice"
@
keyup
.
native=
"checkPrice(addMsg,'HourPrice')"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"公里报价"
>
<el-input
v-model=
"addMsg.KMPrice"
@
keyup
.
native=
"checkPrice(addMsg,'KMPrice')"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-col
:span=
"5"
>
<el-form-item
:label=
"$t('ground.qtgs')"
prop=
"AllDayHighSpeedFee"
>
<el-form-item
:label=
"$t('ground.qtgs')"
prop=
"AllDayHighSpeedFee"
>
<el-input
v-model=
"addMsg.AllDayHighSpeedFee"
@
keyup
.
native=
"checkPrice(addMsg,'HourPrice')"
></el-input>
<el-input
v-model=
"addMsg.AllDayHighSpeedFee"
@
keyup
.
native=
"checkPrice(addMsg,'AllDayHighSpeedFee')"
>
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"5"
>
<el-col
:span=
"5"
>
...
@@ -517,6 +533,7 @@
...
@@ -517,6 +533,7 @@
PickUpChaDaiFee
:
0
,
//接送茶代费
PickUpChaDaiFee
:
0
,
//接送茶代费
BusImage
:
''
,
//车辆图片
BusImage
:
''
,
//车辆图片
ShowBusImage
:
""
,
ShowBusImage
:
""
,
KMPrice
:
0
,
//公里价格
},
},
//表单验证
//表单验证
rules
:
{
rules
:
{
...
@@ -675,8 +692,7 @@
...
@@ -675,8 +692,7 @@
})
})
return
AreaName
;
return
AreaName
;
},
},
getBusTypeStr
(
busType
)
getBusTypeStr
(
busType
)
{
{
var
AreaName
=
''
;
var
AreaName
=
''
;
this
.
BusTypeList
.
forEach
(
item
=>
{
this
.
BusTypeList
.
forEach
(
item
=>
{
if
(
item
.
Id
==
busType
)
{
if
(
item
.
Id
==
busType
)
{
...
@@ -761,7 +777,8 @@
...
@@ -761,7 +777,8 @@
PickUpHighSpeedFee
:
0
,
PickUpHighSpeedFee
:
0
,
AllDayChaDaiFee
:
0
,
AllDayChaDaiFee
:
0
,
PickUpChaDaiFee
:
0
,
PickUpChaDaiFee
:
0
,
BusImage
:
''
BusImage
:
''
,
KMPrice
:
0
};
};
},
},
submitForm
(
addMsg
)
{
submitForm
(
addMsg
)
{
...
...
src/components/busManagement/busUsePriceDetails.vue
View file @
b597f0de
...
@@ -174,6 +174,9 @@
...
@@ -174,6 +174,9 @@
<th>
<th>
半天价格
半天价格
</th>
</th>
<th>
每公里价格
</th>
<th>
<th>
全天高速
全天高速
</th>
</th>
...
@@ -208,6 +211,9 @@
...
@@ -208,6 +211,9 @@
<td>
<td>
{{
item
.
S_HalfDayPrice
}}
{{
item
.
S_HalfDayPrice
}}
</td>
</td>
<td>
{{
item
.
S_KMPrice
}}
</td>
<td>
<td>
{{
item
.
S_AllDayHighSpeedFee
}}
{{
item
.
S_AllDayHighSpeedFee
}}
</td>
</td>
...
@@ -219,10 +225,12 @@
...
@@ -219,10 +225,12 @@
<td>
<td>
<el-row>
<el-row>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"管理报价"
placement=
"top-start"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"管理报价"
placement=
"top-start"
>
<el-button
type=
"primary"
class=
"iconfont icon-bianji-smal"
circle
@
click=
"managePrice(item.Id)"
></el-button>
<el-button
type=
"primary"
class=
"iconfont icon-bianji-smal"
circle
@
click=
"managePrice(item.Id)"
>
</el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('system.table_delete')"
placement=
"top-start"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('system.table_delete')"
placement=
"top-start"
>
<el-button
type=
"danger"
class=
"iconfont icon-img_delete_small"
circle
@
click=
"isdelete(item.Id)"
></el-button>
<el-button
type=
"danger"
class=
"iconfont icon-img_delete_small"
circle
@
click=
"isdelete(item.Id)"
>
</el-button>
</el-tooltip>
</el-tooltip>
</el-row>
</el-row>
</td>
</td>
...
@@ -230,7 +238,7 @@
...
@@ -230,7 +238,7 @@
</tbody>
</tbody>
<tfoot>
<tfoot>
<tr>
<tr>
<td
colspan=
"1
0
"
>
<td
colspan=
"1
1
"
>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"msg.currentPage"
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"msg.currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
"msg.pageSize"
:total=
"msg.total"
>
layout=
"total,prev, pager, next, jumper"
:page-size=
"msg.pageSize"
:total=
"msg.total"
>
</el-pagination>
</el-pagination>
...
@@ -290,6 +298,11 @@
...
@@ -290,6 +298,11 @@
<el-input
v-model=
"addMsg.S_HourPrice"
@
keyup
.
native=
"checkPrice(addMsg,'S_HourPrice')"
></el-input>
<el-input
v-model=
"addMsg.S_HourPrice"
@
keyup
.
native=
"checkPrice(addMsg,'S_HourPrice')"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"每公里价格"
>
<el-input
v-model=
"addMsg.S_KMPrice"
@
keyup
.
native=
"checkPrice(addMsg,'S_KMPrice')"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-col
:span=
"5"
>
<el-form-item
label=
"全天高速"
>
<el-form-item
label=
"全天高速"
>
<el-input
v-model=
"addMsg.S_AllDayHighSpeedFee"
@
keyup
.
native=
"checkPrice(addMsg,'S_AllDayHighSpeedFee')"
>
<el-input
v-model=
"addMsg.S_AllDayHighSpeedFee"
@
keyup
.
native=
"checkPrice(addMsg,'S_AllDayHighSpeedFee')"
>
...
@@ -333,8 +346,8 @@
...
@@ -333,8 +346,8 @@
total
:
0
,
total
:
0
,
currentPage
:
1
,
currentPage
:
1
,
},
},
AreaList
:[],
AreaList
:
[],
BusTypeList
:[],
BusTypeList
:
[],
addMsg
:
{
addMsg
:
{
Id
:
0
,
//主键编号
Id
:
0
,
//主键编号
StartDateStr
:
""
,
//开始月份
StartDateStr
:
""
,
//开始月份
...
@@ -350,10 +363,19 @@
...
@@ -350,10 +363,19 @@
S_PickUpHighSpeedFee
:
0
,
//接送高速费
S_PickUpHighSpeedFee
:
0
,
//接送高速费
S_AllDayChaDaiFee
:
0
,
//全天茶代费
S_AllDayChaDaiFee
:
0
,
//全天茶代费
S_PickUpChaDaiFee
:
0
,
//接送茶代费
S_PickUpChaDaiFee
:
0
,
//接送茶代费
S_KMPrice
:
0
,
//每公里价格
},
},
rules
:
{
rules
:
{
StartDateStr
:
[{
required
:
true
,
message
:
"请选择开始月份"
,
trigger
:
"change"
}],
StartDateStr
:
[{
EndDateStr
:
[{
required
:
true
,
message
:
"请选择结束月份"
,
trigger
:
"change"
}],
required
:
true
,
message
:
"请选择开始月份"
,
trigger
:
"change"
}],
EndDateStr
:
[{
required
:
true
,
message
:
"请选择结束月份"
,
trigger
:
"change"
}],
}
}
};
};
},
},
...
@@ -439,6 +461,7 @@
...
@@ -439,6 +461,7 @@
this
.
addMsg
.
S_PickUpHighSpeedFee
=
0
;
this
.
addMsg
.
S_PickUpHighSpeedFee
=
0
;
this
.
addMsg
.
S_AllDayChaDaiFee
=
0
;
this
.
addMsg
.
S_AllDayChaDaiFee
=
0
;
this
.
addMsg
.
S_PickUpChaDaiFee
=
0
;
this
.
addMsg
.
S_PickUpChaDaiFee
=
0
;
this
.
addMsg
.
S_KMPrice
=
0
;
},
},
submitForm
(
addMsg
)
{
submitForm
(
addMsg
)
{
//提交创建、修改表单
//提交创建、修改表单
...
@@ -495,8 +518,7 @@
...
@@ -495,8 +518,7 @@
})
})
return
AreaName
;
return
AreaName
;
},
},
getBusTypeStr
(
busType
)
getBusTypeStr
(
busType
)
{
{
var
AreaName
=
''
;
var
AreaName
=
''
;
this
.
BusTypeList
.
forEach
(
item
=>
{
this
.
BusTypeList
.
forEach
(
item
=>
{
if
(
item
.
Id
==
busType
)
{
if
(
item
.
Id
==
busType
)
{
...
...
src/components/scenicSpot/admissionStatistics.vue
View file @
b597f0de
...
@@ -182,7 +182,6 @@
...
@@ -182,7 +182,6 @@
EndDate
:
''
EndDate
:
''
},
},
queryCommonData
:
{
queryCommonData
:
{
PlaceList
:
[],
PlaceList
:
[],
LineList
:
[],
LineList
:
[],
LineTeamList
:
[],
LineTeamList
:
[],
...
...
src/router/config.js
View file @
b597f0de
...
@@ -1857,6 +1857,14 @@ export default {
...
@@ -1857,6 +1857,14 @@ export default {
title
:
'车辆报价'
title
:
'车辆报价'
},
},
},
},
{
path
:
'/busPriceConfig'
,
//车资价格
name
:
'busPriceConfig'
,
component
:
resolve
=>
require
([
'@/components/busManagement/busPriceConfig'
],
resolve
),
meta
:
{
title
:
'车辆报价'
},
},
{
{
path
:
'/BusApportionManagement'
,
path
:
'/BusApportionManagement'
,
name
:
'BusApportionManagement'
,
name
:
'BusApportionManagement'
,
...
...
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