|
|
|
@ -61,12 +61,16 @@
|
|
|
|
|
}).then(async ({ value }) => {
|
|
|
|
|
this.data.refuseReason = value
|
|
|
|
|
await post('lb/labrecord/refuse',this.data)
|
|
|
|
|
this.$emit('complete')
|
|
|
|
|
this.show = false
|
|
|
|
|
showSuccess('已拒绝申请!',this)
|
|
|
|
|
}).catch(()=>{})
|
|
|
|
|
},
|
|
|
|
|
async commit(){
|
|
|
|
|
await showDialog('确定同意吗?',this)
|
|
|
|
|
await post('lb/labrecord/commit',this.data)
|
|
|
|
|
this.$emit('complete')
|
|
|
|
|
this.show = false
|
|
|
|
|
showSuccess('已同意申请!',this)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|