mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 03:26:45 +08:00
GFRS-2618【前端】修改津贴列表页面,当没有数据时不显示‘暂无申请记录’的文字与图片的问题--提交人:张齐
This commit is contained in:
@@ -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
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user