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

页面修改

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