|
@@ -156,7 +156,7 @@
|
|
|
</template>
|
|
|
<script>
|
|
|
import { getMusicGroupAllClass } from "@/api/buildTeam";
|
|
|
-import { getCourseType, getPlanCourseNum, getMusicGroupTrainPlan } from "./api";
|
|
|
+import { getCourseType, getPlanCourseNum, getMusicGroupTrainPlan,deteleMusicGroupTrainPlan } from "./api";
|
|
|
import { filterCourseType } from "@/constant/index";
|
|
|
import addplan from "./modals/addPlan";
|
|
|
import Tooltip from '@/components/Tooltip/index'
|
|
@@ -362,8 +362,13 @@ export default {
|
|
|
cancelButtonText: "取消",
|
|
|
type: "warning",
|
|
|
})
|
|
|
- .then(() => {
|
|
|
- orderDelete({ orderId: row.id }).then((res) => {
|
|
|
+ .then(async () => {
|
|
|
+ try{
|
|
|
+ // const res
|
|
|
+ }catch(e){
|
|
|
+
|
|
|
+ }
|
|
|
+ deteleMusicGroupTrainPlan({ orderId: row.id }).then((res) => {
|
|
|
if (res.code === 200) {
|
|
|
this.$message.success("删除成功");
|
|
|
this.getList();
|