|
@@ -46,7 +46,7 @@
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<div class="search_down">
|
|
|
- <el-button size="small" type="primary" @click="searchCourProperty"
|
|
|
+ <el-button size="small" type="primary" @click="searchFrom"
|
|
|
><i class="el-icon-search"></i> 查询</el-button
|
|
|
>
|
|
|
<el-button size="small" type="primary" @click="addCourseProperty"
|
|
@@ -63,7 +63,7 @@
|
|
|
<span>批量操作:</span>
|
|
|
<el-button
|
|
|
size="small"
|
|
|
- type="primary"
|
|
|
+ type="success"
|
|
|
@click="openCoursePropertys"
|
|
|
:disabled="noBatchSelected"
|
|
|
><i class="el-icon-check"></i> 启用</el-button
|
|
@@ -136,11 +136,11 @@
|
|
|
<el-button
|
|
|
v-if="!scope.row.enable"
|
|
|
size="mini"
|
|
|
- type="primary"
|
|
|
+ type="success"
|
|
|
plain
|
|
|
@click="openCourseProperty(scope.row)"
|
|
|
>
|
|
|
- <i class="fa fa-check" aria-hidden="true"></i>启用
|
|
|
+ <i class="el-icon-check" aria-hidden="true"></i>启用
|
|
|
</el-button>
|
|
|
<el-button
|
|
|
v-if="scope.row.enable"
|
|
@@ -148,7 +148,7 @@
|
|
|
type="danger"
|
|
|
@click="closeCourseProperty(scope.row)"
|
|
|
>
|
|
|
- <i class="fa fa-close" aria-hidden="true"></i>禁用
|
|
|
+ <i class="el-icon-close" aria-hidden="true"></i>禁用
|
|
|
</el-button>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -258,6 +258,10 @@ export default {
|
|
|
|
|
|
methods: {
|
|
|
//查询所有课程属性
|
|
|
+ searchFrom() {
|
|
|
+ this.currentPage = 1;
|
|
|
+ this.searchCourProperty();
|
|
|
+ },
|
|
|
searchCourProperty() {
|
|
|
this.loading = true;
|
|
|
var url =
|