Commit 094ba88a authored by 黄奎's avatar 黄奎

页面修改

parent 1a910d11
......@@ -218,9 +218,11 @@
getList() {
this.loading = true;
queryClassPage(this.msg).then(res => {
this.loading = false
this.data = res.Data.PageData
this.pageCount = res.Data.PageCount
console.log("res",res)
this.loading = false;
this.data = res.Data.PageData;
console.log("this.data",this.data)
this.pageCount = res.Data.PageCount;
}).catch(() => {
this.loading = false
})
......@@ -250,9 +252,10 @@
},
//获取进度条
getProgress(s1, s2) {
if (s1 && s2) {
if (s1 && s2 && s2!=0) {
return (s1 / s2).toFixed(2);
}
return 0.00;
},
//获取进度2
getProgress2(num,total) {
......
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