From 94503c7382778632731b36cf6ad47f7552e4ccf9 Mon Sep 17 00:00:00 2001
From: xuefei <564615061@qq.cm>
Date: 星期六, 29 十一月 2025 14:47:07 +0800
Subject: [PATCH] fix:批量通过参数错误
---
pages/home/home.vue | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/pages/home/home.vue b/pages/home/home.vue
index 5a5a717..d14b171 100644
--- a/pages/home/home.vue
+++ b/pages/home/home.vue
@@ -4,8 +4,8 @@
<view class="home_swipe"><u-swiper :list="list3" indicator indicatorMode="line" circular></u-swiper></view>
<!-- 鍥捐〃 -->
- <combined-title title="鐓や粨搴撳瓨鏄庣粏"></combined-title>
- <view class="charts-box">
+ <combined-title v-if="uchartsData && uchartsData.length > 0" title="鐓や粨搴撳瓨鏄庣粏"></combined-title>
+ <view class="charts-box" v-if="uchartsData && uchartsData.length > 0">
<qiun-data-charts type="pie" :opts="opts" :chartData="chartData" v-if="uchartsData.length > 0" />
<u-empty mode="data" iconSize="200" textSize="25" width="350" height="350" icon="http://cdn.uviewui.com/uview/empty/data.png" v-if="uchartsData.length == 0"></u-empty>
</view>
@@ -221,9 +221,9 @@
</view>
<!-- 鏃ヨ鍒� -->
- <combined-title title="鏃ュ彂杩愯鍒�" detailsPath="/pages/jihua/jihua" v-if="rijihuaMenu"></combined-title>
+ <combined-title title="鏃ュ彂杩愯鍒�" detailsPath="/pages/jihua/jihua"></combined-title>
<view class="card-group bottomChild">
- <combination-card class="card" :showTop="false" v-for="(item, index) in fyData.slice(0, 2)" :key="item.id" v-if="rijihuaMenu">
+ <combination-card class="card" :showTop="false" v-for="(item, index) in fyData.slice(0, 2)" :key="item.id">
<template v-slot:top></template>
<template v-slot:center>
<view class="main-block-box">
@@ -352,6 +352,7 @@
},
computed: {
rijihuaMenu() {
+ console.log(this.$store.state.rijihuaMenu,'this.$store.state.rijihuaMenu==============',this.$store.state)
return this.$store.state.rijihuaMenu;
},
shenqingMenu() {
@@ -585,6 +586,7 @@
};
this.$reqGet('xscarshippingdayplan', params)
.then(res => {
+ console.log('鍙戣繍鏃ヨ鍒�----------------------------------',res)
if (res.code == 0) {
this.fyData = res.data.records;
uni.hideLoading();
@@ -867,6 +869,7 @@
};
</script>
+
<style lang="scss" scoped>
::v-deep.home {
width: 100%;
--
Gitblit v1.9.1