|
@@ -196,7 +196,7 @@
|
|
<el-row>
|
|
<el-row>
|
|
<el-form-item label="课程状态" prop="enable">
|
|
<el-form-item label="课程状态" prop="enable">
|
|
<el-radio-group class="pull_length" v-model="courseForm.enable">
|
|
<el-radio-group class="pull_length" v-model="courseForm.enable">
|
|
- <el-radio label="true">开启</el-radio>
|
|
|
|
|
|
+ <el-radio label="true">启用</el-radio>
|
|
<el-radio label="false">禁用</el-radio>
|
|
<el-radio label="false">禁用</el-radio>
|
|
</el-radio-group>
|
|
</el-radio-group>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -945,7 +945,7 @@ export default {
|
|
if (this.selectedCourseIds.length === 0) {
|
|
if (this.selectedCourseIds.length === 0) {
|
|
this.$notify({
|
|
this.$notify({
|
|
type: "warning",
|
|
type: "warning",
|
|
- message: "请选择要开启的课程"
|
|
|
|
|
|
+ message: "请选择要启用的课程"
|
|
});
|
|
});
|
|
} else {
|
|
} else {
|
|
this.$confirm("是否启用这些课程?", "提示", {
|
|
this.$confirm("是否启用这些课程?", "提示", {
|
|
@@ -957,7 +957,7 @@ export default {
|
|
this.$httpWithMsg.put(url, {}).then(() => {
|
|
this.$httpWithMsg.put(url, {}).then(() => {
|
|
this.$notify({
|
|
this.$notify({
|
|
type: "success",
|
|
type: "success",
|
|
- message: "开启成功!"
|
|
|
|
|
|
+ message: "启用成功!"
|
|
});
|
|
});
|
|
this.searchForm();
|
|
this.searchForm();
|
|
});
|
|
});
|
|
@@ -974,7 +974,7 @@ export default {
|
|
this.$httpWithMsg.put(url, {}).then(() => {
|
|
this.$httpWithMsg.put(url, {}).then(() => {
|
|
this.$notify({
|
|
this.$notify({
|
|
type: "success",
|
|
type: "success",
|
|
- message: "开启成功!"
|
|
|
|
|
|
+ message: "启用成功!"
|
|
});
|
|
});
|
|
this.searchForm();
|
|
this.searchForm();
|
|
});
|
|
});
|