|
|
@ -198,15 +198,15 @@ const buttonTableClick = async (val, row) => { |
|
|
|
console.log('列表-操作按钮事件-执行') |
|
|
|
} else if (val == 'mainJobAba') { // 放弃 |
|
|
|
console.log('列表-操作按钮事件-放弃') |
|
|
|
await ScrapJobMainApi.abandonScrapJobMain(tableObject.params) |
|
|
|
await ScrapJobMainApi.abandonScrapJobMain(row.masterId) |
|
|
|
getList() |
|
|
|
} else if (val == 'mainJobClo') { // 关闭 |
|
|
|
console.log('列表-操作按钮事件-关闭') |
|
|
|
await ScrapJobMainApi.closeScrapJobMain(tableObject.params) |
|
|
|
await ScrapJobMainApi.closeScrapJobMain(row.masterId) |
|
|
|
getList() |
|
|
|
} else if (val == 'mainJobAcc') { // 承接 |
|
|
|
console.log('列表-操作按钮事件-承接') |
|
|
|
await ScrapJobMainApi.acceptScrapJobMain(tableObject.params) |
|
|
|
await ScrapJobMainApi.acceptScrapJobMain(row.masterId) |
|
|
|
getList() |
|
|
|
} |
|
|
|
} |
|
|
|