|
|
@ -307,6 +307,19 @@ const butttondata = (row,$index) => { |
|
|
|
// 列表-操作按钮事件 |
|
|
|
const buttonTableClick = async (val, row) => { |
|
|
|
if (val == 'edit') { // 编辑 |
|
|
|
// 设备 |
|
|
|
tableDataDevice.value = row.cellDeviceList |
|
|
|
// 环境 |
|
|
|
tableDataEnv.value = row.cellEnvList |
|
|
|
// 单体极片 |
|
|
|
tableDataPlate.value = row.cellPlateList |
|
|
|
// 单体卷芯或叠芯 |
|
|
|
tableDataCore.value = row.cellCoreList |
|
|
|
// 单体产品 |
|
|
|
tableDataProd.value = row.cellProdList |
|
|
|
// 单体直通率 |
|
|
|
tableDataPass.value = row.cellPassList |
|
|
|
|
|
|
|
openForm('update', row) |
|
|
|
} else if (val == 'delete') { // 删除 |
|
|
|
handleDelete(row.id) |
|
|
|