diff --git a/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue b/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue
index e1e9e27b..999144f4 100644
--- a/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue
+++ b/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue
@@ -21,7 +21,8 @@
+
@@ -68,9 +68,36 @@ export default {
}
})
},
- // 拒绝通过
- refuseBtn() {},
- // 审核通过
+ // 拒绝
+ refuseBtn() {
+ this.pass = 0
+ this.$confirm('确定要审核拒绝该数据?').then(() => {
+ this.examine()
+ })
+ },
+ // 通过
+ passBtn() {
+ this.pass = 1
+ this.$confirm('确定审核通过该数据?').then(() => {
+ this.examine()
+ })
+ },
+ examine() {
+ this.$http.post(`/app/appmasssendingtask/examine`,null,{
+ params: {
+ pass: this.pass,
+ id: this.id,
+ options: this.options
+ }
+ }).then(res => {
+ if(res?.code == 0) {
+ this.$u.toast('审批成功')
+ this.getDetail()
+ }
+ }).catch(err=> {
+ console.log(err);
+ })
+ },
},
onShow() {
document.title = "群发审批"