|
|
@@ -5,7 +5,7 @@
|
|
|
</view>
|
|
|
<!-- 吸顶单元标题 -->
|
|
|
<ezyActiveVue
|
|
|
- v-if="currentStickyTitle"
|
|
|
+ v-if="currentStickyTitle &&existData"
|
|
|
class="item-dy-box item-fixed"
|
|
|
@aclick="handleClickDanyuan(currentDanyuanId)"
|
|
|
>
|
|
|
@@ -87,10 +87,12 @@
|
|
|
</view>
|
|
|
</scroll-view>
|
|
|
<!-- 回到顶部 -->
|
|
|
- <view v-if="currentStickyTitle" class="go-top-btn" @click="goTopBtn"></view>
|
|
|
+ <view v-if="currentStickyTitle&&existData" class="go-top-btn" @click="goTopBtn"></view>
|
|
|
|
|
|
<!-- 无数据占位 -->
|
|
|
- <view v-if="!existData" class="ezy-page-body xuexi-page-body"></view>
|
|
|
+ <view v-if="!existData" class="ezy-page-body xuexi-page-body">
|
|
|
+
|
|
|
+ </view>
|
|
|
|
|
|
<!-- 弹窗组件 -->
|
|
|
<danyuanInfoVue ref="dyRef" v-if="isShow" @close="isShow = false"></danyuanInfoVue>
|
|
|
@@ -185,7 +187,7 @@
|
|
|
},
|
|
|
|
|
|
initFromOptions(options) {
|
|
|
- console.log('options', options);
|
|
|
+ //console.log('options', options);
|
|
|
this.chanpinId = options.chanpinId;
|
|
|
this.danyuanId = options.danyuanId;
|
|
|
this.banbenId = options.banbenId;
|
|
|
@@ -220,9 +222,10 @@
|
|
|
this.banbenInfo = res.data;
|
|
|
this.curProcess =res.data.curProcess * 100;
|
|
|
this.danyuanList = res.data.danyuanList || [];
|
|
|
-
|
|
|
- if (!this.danyuanList.length) {
|
|
|
+ if (this.danyuanList.length ==0) {
|
|
|
this.existData = false
|
|
|
+ }else{
|
|
|
+ this.existData = true
|
|
|
}
|
|
|
// 保存到缓存(新增了参数保存)
|
|
|
const cacheData = {
|