Commit 81c9a1e4 authored by 华国豪's avatar 华国豪 🙄

1

parent a5751113
......@@ -141,6 +141,8 @@
<i class="iconfont icon-kong"></i>
<p>{{$t("active.ld_noData")}}</p>
</div>
<el-pagination background @current-change="handleCurrentChange" layout="total,prev, pager, next, jumper" :page-size=msg.pageSize :total=total>
</el-pagination>
<el-dialog
custom-class="w400"
:title="dialogTitle"
......@@ -217,6 +219,7 @@ export default {
}
]
},
total:0,
rules: {
Title: [
{ required: true, message: "请输入名称", trigger: "blur" }
......@@ -318,6 +321,7 @@ export default {
this.loading = false;
if (res.data.resultCode === 1) {
this.dataList = res.data.data.pageData;
this.total= res.data.data.count;
} else {
this.Error(res.data.message);
}
......@@ -396,7 +400,11 @@ export default {
},
resetForm(formName) {
this.$refs[formName].resetFields();
}
},
handleCurrentChange(val){
this.msg.pageIndex=val;
this.getList();
},
}
};
</script>
\ No newline at end of file
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