|
|
|
@ -66,7 +66,7 @@
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
<!-- 表格主体-->
|
|
|
|
|
<el-table v-loading="loading" :data="postList" @selection-change="handleSelectionChange">
|
|
|
|
|
<el-table @row-click="rowClick" v-loading="loading" :data="postList" @selection-change="handleSelectionChange">
|
|
|
|
|
<el-table-column align="center" fixed type="selection" width="55"/>
|
|
|
|
|
<el-table-column :label="t('baseCar.car.carLicense')" align="center" prop="carLicense" width="150"/>
|
|
|
|
|
<el-table-column :label="t('baseCar.car.team')" align="center" prop="carQueue"/>
|
|
|
|
@ -86,14 +86,14 @@
|
|
|
|
|
<el-button
|
|
|
|
|
v-if="scope.row.trailerNum === 0"
|
|
|
|
|
type="text"
|
|
|
|
|
@click="SetTrailer(scope.row)"
|
|
|
|
|
@click.stop="SetTrailer(scope.row)"
|
|
|
|
|
>
|
|
|
|
|
{{ t('web.SetUpTrailer') }}
|
|
|
|
|
</el-button>
|
|
|
|
|
<el-button
|
|
|
|
|
icon="Finished"
|
|
|
|
|
type="text"
|
|
|
|
|
@click="handleBang(scope.row.id)"
|
|
|
|
|
@click.stop="handleBang(scope.row.id)"
|
|
|
|
|
>
|
|
|
|
|
{{ t('web.BindingReceiver') }}
|
|
|
|
|
</el-button>
|
|
|
|
@ -430,6 +430,10 @@ function handleSelectionChange(selection) {
|
|
|
|
|
single.value = selection.length !== 1;
|
|
|
|
|
multiple.value = !selection.length;
|
|
|
|
|
}
|
|
|
|
|
const rowClick = e =>{
|
|
|
|
|
console.log(e.id)
|
|
|
|
|
proxy.$tab.openPage("/realTimeMonitoring/carMonitoring"+"?id="+e.id,"/realTimeMonitoring")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 设置挂车模态框
|
|
|
|
|
const SetTrailer = (e) => {
|
|
|
|
|