|
@ -402,22 +402,22 @@ const butttondata = (row) => { |
|
|
const buttonTableClick = async (val, row) => { |
|
|
const buttonTableClick = async (val, row) => { |
|
|
if (val == 'mainClose') { |
|
|
if (val == 'mainClose') { |
|
|
// 关闭 |
|
|
// 关闭 |
|
|
handleClose(row.id) |
|
|
handleClose(row.masterId) |
|
|
} else if (val == 'mainReAdd') { |
|
|
} else if (val == 'mainReAdd') { |
|
|
// 重新添加 |
|
|
// 重新添加 |
|
|
handleReAdd(row.id) |
|
|
handleReAdd(row.masterId) |
|
|
} else if (val == 'mainSubmit') { |
|
|
} else if (val == 'mainSubmit') { |
|
|
// 提交审批 |
|
|
// 提交审批 |
|
|
handleSubmit(row.id) |
|
|
handleSubmit(row.masterId) |
|
|
} else if (val == 'mainTurnDown') { |
|
|
} else if (val == 'mainTurnDown') { |
|
|
// 驳回 |
|
|
// 驳回 |
|
|
handleRefused(row.id) |
|
|
handleRefused(row.masterId) |
|
|
} else if (val == 'mainApprove') { |
|
|
} else if (val == 'mainApprove') { |
|
|
// 审批通过 |
|
|
// 审批通过 |
|
|
handleAgree(row.id) |
|
|
handleAgree(row.masterId) |
|
|
} else if (val == 'mainHandle') { |
|
|
} else if (val == 'mainHandle') { |
|
|
// 处理 |
|
|
// 处理 |
|
|
handleHandle(row.id) |
|
|
handleHandle(row.masterId) |
|
|
} else if (val == 'edit') { |
|
|
} else if (val == 'edit') { |
|
|
// 编辑 |
|
|
// 编辑 |
|
|
openForm('update', row) |
|
|
openForm('update', row) |
|
|