This commit is contained in:
zhutianqi
2021-11-17 16:27:17 +08:00
parent de1d3589ed
commit 3216b93621
2 changed files with 6 additions and 2 deletions
@@ -414,16 +414,16 @@
DrawerType: '',
}
},
created() {
},
mounted() {
this.getTableData()
},
methods: {
getTableData () {
this.loading = true
this.$http.get('wgdCensusZ/wgd-commi-info/queryAllCommiInfos',this.form, {
_this: this
}, res => {
this.loading = false
if (res.ok) {
this.tableData = res.data.list
this.tableTotal = res.data.count
@@ -171,6 +171,7 @@
</template>
</el-table-column>
</el-table>
<loading :loading="loading">加载中...</loading>
</div>
</div>
<div class="footer">
@@ -294,6 +295,7 @@
components: {},
data() {
return {
loading: false,
submitLoading: false,
addDrawerTitle: '',
addDrawer: false,
@@ -508,9 +510,11 @@
}
},
getData () {
this.loading = true
this.$http.post('esRevisePlan/es-revise-plan/queryAllPlans', this.form, {
_this: this
}, res => {
this.loading = false
if (res.ok) {
this.data = res.data.list
this.total = res.data.count