diff --git a/src/views/QuestManage/_questList/index.vue b/src/views/QuestManage/_questList/index.vue index 49b661f..8baa4e1 100644 --- a/src/views/QuestManage/_questList/index.vue +++ b/src/views/QuestManage/_questList/index.vue @@ -65,6 +65,7 @@ 查看 传播效果 终止 + 立刻结算 @@ -176,6 +177,18 @@ export default defineComponent({ }).catch(() => {}); }).catch(() => {}) }, + hanlderFinish(id) { + this.$alert( + '是否立即结算?', //文字 + '立即结算', //标题 + {type: 'warning'} + ).then(() => { + this.proxy.$post("/task/finish", {id: id}).then(res => { + this.getData(); + this.$message.success('操作成功'); + }).catch(() => {}); + }).catch(() => {}) + }, hanlderDelete(id) { this.$alert( '是否删除?', //文字