|
|
|
|
@ -59,22 +59,25 @@
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item label="站名:" :label-width="formLabelWidth" prop="sta">
|
|
|
|
|
<el-form-item label="站名:" :label-width="formLabelWidth" prop="stanos">
|
|
|
|
|
<el-select
|
|
|
|
|
class="tags-select-input"
|
|
|
|
|
style="margin-left: 0px; width: 180px"
|
|
|
|
|
v-model="inPortDTO.sta"
|
|
|
|
|
collapse-tags
|
|
|
|
|
collapse-tags-tooltip
|
|
|
|
|
v-model="inPortDTO.stanos"
|
|
|
|
|
filterable
|
|
|
|
|
clearable
|
|
|
|
|
allow-create
|
|
|
|
|
multiple
|
|
|
|
|
default-first-option
|
|
|
|
|
:reserve-keyword="false"
|
|
|
|
|
placeholder=""
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in nameTypeForm"
|
|
|
|
|
:key="item.staname"
|
|
|
|
|
:key="item.stano"
|
|
|
|
|
:label="item.staname"
|
|
|
|
|
:value="item.staname"
|
|
|
|
|
:value="item.stano"
|
|
|
|
|
>
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
@ -566,9 +569,7 @@ export default {
|
|
|
|
|
inPortDTO: {
|
|
|
|
|
road: '', //路段
|
|
|
|
|
// road: '呼城高速', //路段
|
|
|
|
|
sta: '', //站名
|
|
|
|
|
// sta: '呼城呼南', //站名
|
|
|
|
|
// sta: '托县', //站名
|
|
|
|
|
stanos: '', //站名
|
|
|
|
|
portno: '', //车道
|
|
|
|
|
classDateTBegin: '', //统计日期(起始)
|
|
|
|
|
classDateTEnd: '', //统计日期(结束)
|
|
|
|
|
@ -690,7 +691,7 @@ export default {
|
|
|
|
|
this.inPortDTO.road = this.roadTypeForm[0]
|
|
|
|
|
}else if(res.data.roadNO != null && res.data.userStaNO != null){
|
|
|
|
|
this.inPortDTO.road = this.roadTypeForm[0]
|
|
|
|
|
this.inPortDTO.sta = this.nameTypeForm[0]
|
|
|
|
|
this.inPortDTO.stanos = this.nameTypeForm[0]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}).catch(()=>{
|
|
|
|
|
@ -713,21 +714,40 @@ export default {
|
|
|
|
|
this.nameTypeGet()
|
|
|
|
|
},
|
|
|
|
|
nameTypeGet(){ //查询所属路段站名全部类型
|
|
|
|
|
this.$http.get("/nameType/nameTypeAllSelected",{
|
|
|
|
|
this.$http.get("/userType/getMessageByManNO",{
|
|
|
|
|
params: {
|
|
|
|
|
roadname: this.inPortDTO.road,
|
|
|
|
|
manNO: localStorage.getItem("manno"),
|
|
|
|
|
}
|
|
|
|
|
}).then(res=>{
|
|
|
|
|
if(res.statusCode == '200'){
|
|
|
|
|
this.nameTypeForm = res.data
|
|
|
|
|
if(this.nameTypeForm.length == 1){
|
|
|
|
|
this.inPortDTO.sta = this.nameTypeForm[0].staname
|
|
|
|
|
}
|
|
|
|
|
this.nameTypeForm = res.data.nameTableSelectedVOList
|
|
|
|
|
localStorage.setItem("stanosIP", JSON.stringify(res.data.stanos))
|
|
|
|
|
this.inPortDTO.stanos = res.data.stanos
|
|
|
|
|
// if(this.nameTypeForm.length == 1){
|
|
|
|
|
// this.inPortDTO.stanos = this.nameTypeForm[0].staname
|
|
|
|
|
// }
|
|
|
|
|
// console.log(this.nameTypeForm)
|
|
|
|
|
}
|
|
|
|
|
}).catch(()=>{
|
|
|
|
|
console.log('所属路段站名类型加载失败!')
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
// nameTypeGet(){ //查询所属路段站名全部类型
|
|
|
|
|
// this.$http.get("/nameType/nameTypeAllSelected",{
|
|
|
|
|
// params: {
|
|
|
|
|
// roadname: this.inPortDTO.road,
|
|
|
|
|
// }
|
|
|
|
|
// }).then(res=>{
|
|
|
|
|
// if(res.statusCode == '200'){
|
|
|
|
|
// this.nameTypeForm = res.data
|
|
|
|
|
// if(this.nameTypeForm.length == 1){
|
|
|
|
|
// this.inPortDTO.stanos = this.nameTypeForm[0].staname
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
// }).catch(()=>{
|
|
|
|
|
// console.log('所属路段站名类型加载失败!')
|
|
|
|
|
// })
|
|
|
|
|
// },
|
|
|
|
|
setupTypeGet(){ //查询车道下拉类型
|
|
|
|
|
this.$http.get("/setupType/setupTypeAll").then(res=>{
|
|
|
|
|
if(res.statusCode == '200'){
|
|
|
|
|
@ -818,32 +838,32 @@ export default {
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
clearSelect() {
|
|
|
|
|
this.inPortDTO.portno = ''
|
|
|
|
|
this.inPortDTO.classno = ''
|
|
|
|
|
this.inPortDTO.portno = []
|
|
|
|
|
this.inPortDTO.classno = []
|
|
|
|
|
this.inPortDTO.classDateCBegin = ''
|
|
|
|
|
this.inPortDTO.classDateCEnd = ''
|
|
|
|
|
this.inPortDTO.manNO = ''
|
|
|
|
|
this.inPortDTO.man = ''
|
|
|
|
|
this.inPortDTO.man = []
|
|
|
|
|
this.inPortDTO.cardNO = ''
|
|
|
|
|
this.inPortDTO.typeText = ''
|
|
|
|
|
this.inPortDTO.kindText = ''
|
|
|
|
|
this.inPortDTO.typeText = []
|
|
|
|
|
this.inPortDTO.kindText = []
|
|
|
|
|
this.inPortDTO.carNO = ''
|
|
|
|
|
this.inPortDTO.flagText = ''
|
|
|
|
|
this.inPortDTO.flagText = []
|
|
|
|
|
this.inPortDTO.listNO = ''
|
|
|
|
|
this.inPortDTO.axisCount = ''
|
|
|
|
|
this.inPortDTO.backup2 = ''
|
|
|
|
|
this.inPortDTO.backup3 = ''
|
|
|
|
|
this.inPortDTO.porttypegbText = ''
|
|
|
|
|
this.inPortDTO.participant = ''
|
|
|
|
|
this.inPortDTO.cardtpText = ''
|
|
|
|
|
this.inPortDTO.participant = []
|
|
|
|
|
this.inPortDTO.cardtpText = []
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
getInPortQueryCriteria() {
|
|
|
|
|
this.queryCriteriaData = ''
|
|
|
|
|
if(this.inPortDTO.road != ""){
|
|
|
|
|
this.queryCriteriaData = " 路段="+this.inPortDTO.road
|
|
|
|
|
}if(this.inPortDTO.sta != ""){
|
|
|
|
|
this.queryCriteriaData = this.queryCriteriaData + ",站名="+this.inPortDTO.sta
|
|
|
|
|
}if(this.inPortDTO.stanos != ""){
|
|
|
|
|
this.queryCriteriaData = this.queryCriteriaData + ",站名="+this.inPortDTO.stanos
|
|
|
|
|
}if(this.inPortDTO.portno != ""){
|
|
|
|
|
this.queryCriteriaData = this.queryCriteriaData + ",车道="+this.inPortDTO.portno
|
|
|
|
|
}if(this.inPortDTO.classDateTBegin != ""){
|
|
|
|
|
@ -892,6 +912,9 @@ export default {
|
|
|
|
|
this.loading = true
|
|
|
|
|
this.inPortDTO.pageNum = this.pageNum
|
|
|
|
|
this.inPortDTO.pageSize = this.pageSize
|
|
|
|
|
if( this.inPortDTO.stanos.length == 0 ){
|
|
|
|
|
this.inPortDTO.stanos = JSON.parse(localStorage.getItem("stanosIP"))
|
|
|
|
|
}
|
|
|
|
|
if(this.inPortDTO.classDateCBegin != null && this.inPortDTO.classDateCBegin != ""){
|
|
|
|
|
this.inPortDTO.classDateCBegin = moment(this.inPortDTO.classDateCBegin).format('YYYY-MM-DD HH:mm:ss');
|
|
|
|
|
}
|
|
|
|
|
|