GFRS-2618【前端】修改津贴列表页面,当没有数据时不显示‘暂无申请记录’的文字与图片的问题--提交人:张齐

This commit is contained in:
zhangqi1
2021-10-14 15:25:44 +08:00
parent 9754795f8a
commit 0ad7f20936

View File

@@ -7,7 +7,7 @@
<van-tab name='pass' title='审批通过'></van-tab>
</van-tabs>
</van-sticky>
<div v-if='isSuccess'>
<div>
<div v-if='saleList.length > 0'>
<div v-for='(order, index) in saleList' :key='index'>
<div class='bg-white m15 pv15 pr15 pl10'>
@@ -100,7 +100,7 @@ export default {
searchName: '',
active: this.$route.query.active, //状态 uncommit - 未提交; commit - 审批中; pass - 已通过
saleList: [],
isSuccess: false
// isSuccess: false
}
},
mounted() {
@@ -157,11 +157,11 @@ export default {
}).then((res) => {
if (res.result == '0') {
this.checkboxResult = []
this.isSuccess = true
// this.isSuccess = true
this.saleList = res.content
if (this.saleList.length == 0) {
this.isSuccess = false
}
// if (this.saleList.length == 0) {
// this.isSuccess = false
// }
this.loading = false
}
})