|
@@ -5,6 +5,8 @@
|
|
|
|
|
|
<view class=" bg-white plan-sec">
|
|
|
|
|
|
+ <view class=" text-center margin-top" v-if="data_res === 0">暂无数据...</view>
|
|
|
+
|
|
|
<view class="cu-list menu-avatar">
|
|
|
<view class="cu-item" v-for="(item,index) in getData" :key="index"
|
|
|
@tap="goInnerList(item)">
|
|
@@ -40,6 +42,7 @@
|
|
|
return {
|
|
|
inspectList: json.xunJianPlan,
|
|
|
getData: {},
|
|
|
+ data_res:1
|
|
|
|
|
|
};
|
|
|
},
|
|
@@ -58,6 +61,12 @@
|
|
|
showLoading: true
|
|
|
})
|
|
|
this.getData = res.data.data;
|
|
|
+
|
|
|
+ setTimeout(()=>{
|
|
|
+ this.data_res = parseInt(res.data.length)?1:0
|
|
|
+ },100)
|
|
|
+
|
|
|
+ // alert(this.data_res)
|
|
|
// this.planList = this.getData.point
|
|
|
},
|
|
|
goInnerList(item) {
|