Commit edad6d1b authored by 黄奎's avatar 黄奎

页面修改

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