|
@@ -614,6 +614,14 @@
|
|
|
>解除预约限制</el-button
|
|
|
>
|
|
|
</auth>
|
|
|
+ <auth
|
|
|
+ v-show="scope.row.payingStatus == 2"
|
|
|
+ :auths="'studentRegistration/setCloudTeacherToFailed'"
|
|
|
+ >
|
|
|
+ <el-button type="text" @click="failedRelieve(scope.row)"
|
|
|
+ >拒绝审核</el-button
|
|
|
+ >
|
|
|
+ </auth>
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -1740,6 +1748,21 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
+ failedRelieve(row){
|
|
|
+ this.$confirm("操作后该学员即可不购买云教练缴费入团", "提示", {
|
|
|
+ confirmButtonText: "确定",
|
|
|
+ cancelButtonText: "取消",
|
|
|
+ type: "warning",
|
|
|
+ }).then(async () => {
|
|
|
+ try {
|
|
|
+ const res = await setNoneCloudTeacher({ id: row.id });
|
|
|
+ this.$message.success("解除预约成功");
|
|
|
+ this.getList();
|
|
|
+ } catch (e) {
|
|
|
+ console.log(e);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
getCheckNum(row) {
|
|
|
this.rules.page = 1;
|
|
|
this.rules.limit = 10;
|