From d4bffaa2419bc3e3d6b1af4a6314065c67a8cbc0 Mon Sep 17 00:00:00 2001 From: qingyiay <2386314947@qq.com> Date: 星期一, 03 七月 2023 16:57:13 +0800 Subject: [PATCH] ws增加报错关闭重连功能 --- pages/customer-page/customer-index/fayunPlanDetails/fayunPlanMore/fayunPlanMore.vue | 45 ++++++++------------------------------------- 1 files changed, 8 insertions(+), 37 deletions(-) diff --git a/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanMore/fayunPlanMore.vue b/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanMore/fayunPlanMore.vue index 7d4800c..f75429e 100644 --- a/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanMore/fayunPlanMore.vue +++ b/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanMore/fayunPlanMore.vue @@ -57,49 +57,19 @@ </view> </view> </view> - <view class="weigh-history" - v-if="showWeigh.length!==0"> - <view class="block-main"> - <view class="weigh-item" - v-for='item in showWeigh' - :key="item.id"> - <view class="weigh-time"> - <u-tag :text="item.createTime.slice(-8,-3)" - plain></u-tag> - </view> - <view class="item-block"> - <view class="item"> - <view class="concrete" - style="background: url('https://mx.jzeg.cn:9095/appimg/image/banner/skin.png') no-repeat;background-size: cover;"> - 鐨�</view> - <view class="num">{{ item.skin }}</view> - </view> - <view class="item"> - <view class="concrete" - style="background: url('https://mx.jzeg.cn:9095/appimg/image/banner/hair.png') no-repeat;background-size: cover;"> - 姣�</view> - <view class="num">{{ item.hair }}</view> - </view> - <view class="item"> - <view class="concrete" - style="background: url('https://mx.jzeg.cn:9095/appimg/image/banner/clean.png') no-repeat;background-size: cover;"> - 鍑�</view> - <view class="num">{{ item.clean }}</view> - </view> - </view> - </view> - </view> - </view> + <weigh-item :list="showWeigh"></weigh-item> </view> </view> </template> <script> import combinedTitle from '@/components/combined-title/combined-title.vue'; - + import weighItem from '@/components/weighItem.vue' + import { onlineurl } from '@/api/request.js' export default { components: { - combinedTitle + combinedTitle, + weighItem }, onLoad(params) { this.id = params.id; @@ -112,8 +82,9 @@ id: '', yyDailyList: {}, orderPlanDetail: {}, - coalStatus: ['鏈О閲�', '绉伴噸涓�', '楠岃川涓�', '绉伴噸瀹屾垚'], - index: '' + coalStatus: ['鏈О閲�', '绉伴噸涓�', '楠岃川涓�', '绉伴噸瀹屾垚', '楠岃川瀹屾垚'], + index: '', + onlineurl, }; }, computed: { -- Gitblit v1.9.1