|
@@ -341,7 +341,7 @@
|
|
>
|
|
>
|
|
<el-button type='text' v-if="
|
|
<el-button type='text' v-if="
|
|
scope.row.vipGroupActivityId > 0 &&
|
|
scope.row.vipGroupActivityId > 0 &&
|
|
- permission('vipGroupManage/update')&&scope.row.status==0" @click="isStartCourse(scope.row)">确认成课</el-button>
|
|
|
|
|
|
+ permission('vipGroupManage/update')&&scope.row.status==1" @click="isStartCourse(scope.row)">确认成课</el-button>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -676,12 +676,21 @@ export default {
|
|
},
|
|
},
|
|
isStartCourse(row){
|
|
isStartCourse(row){
|
|
// row.id
|
|
// row.id
|
|
- vipGroupManageUpdate({id:row.id,status:'PROGRESS'}).then(res=>{
|
|
|
|
|
|
+ this.$confirm("确定开启乐理课", "提示", {
|
|
|
|
+ confirmButtonText: "确定",
|
|
|
|
+ cancelButtonText: "取消",
|
|
|
|
+ type: "warning"
|
|
|
|
+ })
|
|
|
|
+ .then(() => {
|
|
|
|
+ vipGroupManageUpdate({id:row.id,status:'PROGRESS'}).then(res=>{
|
|
if(res.code == 200){
|
|
if(res.code == 200){
|
|
this.$message.success('提交成功')
|
|
this.$message.success('提交成功')
|
|
this.getList()
|
|
this.getList()
|
|
}
|
|
}
|
|
})
|
|
})
|
|
|
|
+ })
|
|
|
|
+ .catch(() => { });
|
|
|
|
+
|
|
|
|
|
|
}
|
|
}
|
|
},
|
|
},
|