Commit edad6d1b authored by 黄奎's avatar 黄奎

页面修改

parent 6b19bab5
...@@ -77,9 +77,7 @@ ...@@ -77,9 +77,7 @@
<div class="row wrap" style="margin-top:20px;"> <div class="row wrap" style="margin-top:20px;">
<div class="col-6" style="display:flex;align-items:center;"> <div class="col-6" style="display:flex;align-items:center;">
<span class="normalName">课程进度:</span> <span class="normalName">课程进度:</span>
<q-linear-progress rounded size="20px" :value="getProgress(classObj.CompleteProgress,100)" <span style="color:blue;">{{classObj.UsePlanNum}}/{{classObj.TotalPlanNum}}</span>
style="background-color:#EEEEEF;color:#3FC4FF;display:inline-block;width:30%;margin-right:10px;" />
{{classObj.CompleteProgress}}%
</div> </div>
</div> </div>
</div> </div>
...@@ -123,7 +121,7 @@ ...@@ -123,7 +121,7 @@
type: Object, type: Object,
default: null default: null
}, },
isShowEditBtn:{ isShowEditBtn: {
type: Number, type: Number,
default: null default: null
} }
...@@ -139,8 +137,8 @@ ...@@ -139,8 +137,8 @@
persistent: true, persistent: true,
tabCheck: 'first', //默认选第一个 tabCheck: 'first', //默认选第一个
loading: false, loading: false,
classObj:{}, classObj: {},
isShowMyBtn:0 isShowMyBtn: 0
} }
}, },
created() { created() {
...@@ -155,8 +153,8 @@ ...@@ -155,8 +153,8 @@
} }
}, },
mounted() { mounted() {
if(this.isShowEditBtn==1){ if (this.isShowEditBtn == 1) {
this.isShowMyBtn=1 this.isShowMyBtn = 1
} }
}, },
methods: { methods: {
...@@ -165,7 +163,7 @@ ...@@ -165,7 +163,7 @@
ClassId: this.setingObj.ClassId ClassId: this.setingObj.ClassId
}).then(res => { }).then(res => {
if (res.Code == 1) { if (res.Code == 1) {
this.classObj=res.Data; this.classObj = res.Data;
} }
}) })
}, },
......
...@@ -147,12 +147,12 @@ ...@@ -147,12 +147,12 @@
field: 'Name', field: 'Name',
align: 'left' align: 'left'
}, },
{ // {
name: 'Age', // name: 'Age',
field: 'Age', // field: 'Age',
label: '年龄', // label: '年龄',
align: 'left', // align: 'left',
}, // },
{ {
name: 'Tel', name: 'Tel',
field: 'Tel', field: 'Tel',
......
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