|
@@ -69,11 +69,7 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
onResolve () {
|
|
|
- this.$confirm('是否确定通过?', '提示', {
|
|
|
- confirmButtonText: '确定',
|
|
|
- cancelButtonText: '取消',
|
|
|
- type: 'warning'
|
|
|
- }).then(async () => {
|
|
|
+ this.$confirm('是否确定通过?', '提示').then(async () => {
|
|
|
try {
|
|
|
await saveBonusApproveConfirmation({
|
|
|
employeePerformanceConfirmationId: this.item.employeePerformanceConfirmationId,
|
|
@@ -92,11 +88,7 @@ export default {
|
|
|
this.$message.error('请输入拒绝原因')
|
|
|
return
|
|
|
}
|
|
|
- this.$confirm('是否确定拒绝?', '提示', {
|
|
|
- confirmButtonText: '确定',
|
|
|
- cancelButtonText: '取消',
|
|
|
- type: 'warning'
|
|
|
- }).then(async () => {
|
|
|
+ this.$confirm('是否确定拒绝?', '提示').then(async () => {
|
|
|
try {
|
|
|
await saveBonusApproveConfirmation({
|
|
|
employeePerformanceConfirmationId: this.item.employeePerformanceConfirmationId,
|