|
|
@ -205,7 +205,7 @@ const buttonTableClick = async (val, row) => { |
|
|
|
console.log(err) |
|
|
|
}) |
|
|
|
} else if (val == 'mainSubmit') { // 提交审批 |
|
|
|
await message.confirm('确认要重新添加吗?') |
|
|
|
await message.confirm('确认要提交审批吗?') |
|
|
|
RepleinshRequestMainApi.submit(row.id).then(() => { |
|
|
|
message.success(t('common.updateSuccess')) |
|
|
|
getList() |
|
|
@ -213,7 +213,7 @@ const buttonTableClick = async (val, row) => { |
|
|
|
console.log(err) |
|
|
|
}) |
|
|
|
} else if (val == 'mainTurnDown') { // 驳回 |
|
|
|
await message.confirm('确认要重新添加吗?') |
|
|
|
await message.confirm('确认要驳回吗?') |
|
|
|
RepleinshRequestMainApi.refused(row.id).then(() => { |
|
|
|
message.success(t('common.updateSuccess')) |
|
|
|
getList() |
|
|
@ -221,6 +221,7 @@ const buttonTableClick = async (val, row) => { |
|
|
|
console.log(err) |
|
|
|
}) |
|
|
|
} else if (val == 'mainApprove') { // 审批通过 |
|
|
|
await message.confirm('确认要审批通过吗?') |
|
|
|
RepleinshRequestMainApi.agree(row.id).then(() => { |
|
|
|
message.success(t('common.updateSuccess')) |
|
|
|
getList() |
|
|
@ -228,6 +229,7 @@ const buttonTableClick = async (val, row) => { |
|
|
|
console.log(err) |
|
|
|
}) |
|
|
|
} else if (val == 'mainHandle') { // 处理 |
|
|
|
await message.confirm('确认要处理吗?') |
|
|
|
RepleinshRequestMainApi.handle(row.id).then(() => { |
|
|
|
message.success(t('common.updateSuccess')) |
|
|
|
getList() |
|
|
|