传递车辆识别码(carVin)作为查询参数。

master
wxy 2024-09-29 20:31:28 +08:00
parent dbfd9652f9
commit 8cd6aa7a01
1 changed files with 15 additions and 0 deletions

View File

@ -31,6 +31,13 @@
</el-table-column> </el-table-column>
<el-table-column width="150" align="center" label="操作"> <el-table-column width="150" align="center" label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button
size="mini"
type="text"
icon="el-icon-takeaway-box"
@click="cs(scope.row)"
>自己測試用*
</el-button>
<el-button <el-button
size="mini" size="mini"
type="text" type="text"
@ -192,6 +199,14 @@ import {listManager , getManagerId , addManager,updateManager,delManager} from "
}; };
}, },
methods: { methods: {
cs(row){
const carVin = row.carVin;
alert(carVin);
this.$router.push({
path: `/vehicleManagement/record`,
query: { carVin }
});
},
// //
findStrategy(row){ findStrategy(row){
findStrategyList(3).then(res=>{ findStrategyList(3).then(res=>{