Commit 28a97cbb authored by 罗林杰's avatar 罗林杰

修改bug

parent 69672575
...@@ -239,7 +239,7 @@ ...@@ -239,7 +239,7 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
<div class="app-container"> <div class="app-container">
<el-table :data="gridData" height="300px"> <el-table v-loading="loading" :data="gridData" height="300px">
<el-table-column align="center" prop="id" label="序号" min-width="55px"> <el-table-column align="center" prop="id" label="序号" min-width="55px">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.$index + 1 }}</span> <span>{{ scope.$index + 1 }}</span>
...@@ -322,6 +322,7 @@ export default { ...@@ -322,6 +322,7 @@ export default {
// 对话框 // 对话框
dialogFormVisible: false, dialogFormVisible: false,
dialogVisible: false, dialogVisible: false,
loading: false,
// 新增课程 // 新增课程
form: { form: {
id: '', id: '',
...@@ -501,9 +502,11 @@ export default { ...@@ -501,9 +502,11 @@ export default {
} }
}, },
loadData1() { loadData1() {
this.loading = true
listCmsApplication(this.queryParams1).then(response => { listCmsApplication(this.queryParams1).then(response => {
this.gridData = response.data this.gridData = response.data
this.total1 = response.total this.total1 = response.total
this.loading = false
}) })
}, },
resetQuery1() { resetQuery1() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment