Commit 3af1bbec authored by zhengke's avatar zhengke

修改

parent aafdd9a8
......@@ -10,7 +10,11 @@
</div>
<div class="row" style="align-items: center">
<span>带班老师</span>
<img :src="data.ClassInfo&&data.ClassInfo.TeacherIcon?data.ClassInfo.TeacherIcon:''" style="width:30px;height: 30px;border-radius: 50%;margin: 0 10px" />
<q-avatar size="sm" style="margin:0 5px;" v-if="data.ClassInfo&&data.ClassInfo.TeacherIcon">
<img :src="data.ClassInfo.TeacherIcon" />
</q-avatar>
<q-avatar style="margin:0 5px;" size="sm" color="teal-10" text-color="white" v-if="data.ClassInfo&&data.ClassInfo.TeacherName">
{{data.ClassInfo.TeacherName.substring(0,1)}}</q-avatar>
<span v-if="data&& data.ClassInfo" style="color:#2961FE;font-weight: bold">
{{data.ClassInfo.TeacherName}}
</span>
......@@ -60,7 +64,6 @@
getList() {
this.loading = true;
quertClassOrderList(this.msg).then(res => {
this.data = res.Data;
if (this.data && this.data.OrderList && this.data.OrderList.NorList) {
this.dataList = this.data.OrderList.NorList;
......@@ -72,10 +75,8 @@
OrderIds = OrderIds.join(',')
if(this.dataList.length>0){
this.$refs.orderL.getOrderFinanceList(OrderIds,2)
}
}
}
if (this.data && this.data.OrderList && this.data.OrderList.CancelList) {
this.CancelList = this.data.OrderList.CancelList;
......@@ -87,9 +88,7 @@
OrderIds = OrderIds.join(',')
if(this.CancelList.length>0){
this.$refs.orderL.getOrderFinanceList(OrderIds,2)
}
}
}
this.loading = false
......@@ -97,7 +96,6 @@
this.loading = false
})
},
//刷新页面
refreshClassOrder() {
this.getList();
......
......@@ -413,8 +413,8 @@
</td>
<td>
<div class="financeYing">
{{item.Money}}<br />
{{item.PayMoney}}
{{item.Money}}<br />
{{item.PayMoney}}
</div>
</td>
<td>{{item.TradeDate}}</td>
......
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