|
@@ -339,6 +339,9 @@
|
|
|
@click="resetVip(scope.row)"
|
|
|
>修改</el-button
|
|
|
>
|
|
|
+ <el-button type='text' v-if="
|
|
|
+ scope.row.vipGroupActivityId > 0 &&
|
|
|
+ permission('vipGroupManage/update')&&scope.row.status==0" @click="isStartCourse(scope.row)">确认成课</el-button>
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -362,7 +365,7 @@ import {
|
|
|
getVipList,
|
|
|
vipGroupActivity,
|
|
|
closeVip,
|
|
|
- getVipGroupDetail,
|
|
|
+ vipGroupManageUpdate,
|
|
|
deleteVipGroup,
|
|
|
} from "@/api/vipSeting";
|
|
|
import { getTeacher, getEmployeeOrgan } from "@/api/buildTeam";
|
|
@@ -671,6 +674,16 @@ export default {
|
|
|
permission(str) {
|
|
|
return permission(str);
|
|
|
},
|
|
|
+ isStartCourse(row){
|
|
|
+ // row.id
|
|
|
+ vipGroupManageUpdate({id:row.id,status:'PROGRESS'}).then(res=>{
|
|
|
+ if(res.code == 200){
|
|
|
+ this.$message.success('提交成功')
|
|
|
+ this.getList()
|
|
|
+ }
|
|
|
+ })
|
|
|
+
|
|
|
+ }
|
|
|
},
|
|
|
filters: {
|
|
|
formatterTime(val) {
|