xiaohaizhao 10 miesięcy temu
rodzic
commit
d998ff198d

+ 5 - 0
salesPanel/dataOverview/Client/YXKHWGJTSFX.scss

@@ -3,4 +3,9 @@
 
 .chart {
     width: 100%;
+}
+
+.tips {
+    font-size: 24rpx;
+    color: #FF002D;
 }

+ 10 - 12
salesPanel/dataOverview/Client/YXKHWGJTSFX.wxml

@@ -1,28 +1,26 @@
 <viewDate title='分析日期' bind:onChange='changeDate' />
-<filtrate id='Filtrate' iconName='icon-kehuleixing' wx:if='{{types.length}}' list='{{types}}' type="{{content.where.type}}" title='客户类型'
-    bind:onChange='changeType2' />
-<filtrate id='Filtrate' iconName='icon-kehudengji' wx:if='{{grades.length}}' list='{{grades}}' type="{{content.where.grade}}" title='客户等级'
-    bind:onChange='changeType3' />
-<filtrate id='Filtrate' iconName='icon-chengjiaozhuangtai' list='{{tradingstatus}}' type="{{content.where.tradingstatus}}" title='成交状态'
-    bind:onChange='changeType1' />
+<filtrate id='Filtrate' iconName='icon-kehuleixing' wx:if='{{types.length}}' list='{{types}}' type="{{content.where.type}}" title='客户类型' bind:onChange='changeType2' />
+<filtrate id='Filtrate' iconName='icon-kehudengji' wx:if='{{grades.length}}' list='{{grades}}' type="{{content.where.grade}}" title='客户等级' bind:onChange='changeType3' />
+<filtrate id='Filtrate' iconName='icon-chengjiaozhuangtai' list='{{tradingstatus}}' type="{{content.where.tradingstatus}}" title='成交状态' bind:onChange='changeType1' />
 <Yl_ListBox id='ListBox' bind:getlist='getList'>
     <view class="global-card">
         <view class="chart">
             <ec-canvas id="mychart" canvas-id="chart" ec="{{ ec }}"></ec-canvas>
         </view>
+        <view class="tips">{{language['注']||'注'}}:{{language['提示未显示的客户类型数量皆为0']||'提示未显示的客户类型数量皆为0'}}</view>
     </view>
-    <navigator url="/packageA/setclient/detail?id={{item.sa_customersid}}" class="global-card item" wx:for="{{list}}"
-        wx:key="sa_customersid">
+    <navigator url="/packageA/setclient/detail?id={{item.sa_customersid}}" class="global-card item" wx:for="{{list}}" wx:key="sa_customersid">
         <view class="title">
             <text class="line-1">{{item.enterprisename || " --"}}</text>
             <view class="status" style="background-color: {{sColors[item.status]}};">
-                {{language[item.status]||item.status}}</view>
+                {{language[item.status]||item.status}}
+            </view>
             <view class="status status2" style="background-color: {{sColors[item.tradingstatus]}};">
-                {{language[item.tradingstatus]||item.tradingstatus}}</view>
+                {{language[item.tradingstatus]||item.tradingstatus}}
+            </view>
         </view>
         <view class="tag-box">
-            <van-tag custom-class='tag' wx:for="{{item.sys_tag}}" wx:key="index" wx:for-item='tag' color='#3874f6'
-                text-color='#fff' round>{{language[tag]||tag}}</van-tag>
+            <van-tag custom-class='tag' wx:for="{{item.sys_tag}}" wx:key="index" wx:for-item='tag' color='#3874f6' text-color='#fff' round>{{language[tag]||tag}}</van-tag>
         </view>
         <view class="row">
             <view class="col">{{language['负责人']||'负责人'}}:{{item.leader.length?item.leader[0].name :' --'}}</view>

+ 5 - 0
salesPanel/dataOverview/Project/YXXMWGJTSFX.scss

@@ -3,4 +3,9 @@
 
 .chart {
     width: 100%;
+}
+
+.tips {
+    font-size: 24rpx;
+    color: #FF002D;
 }

+ 6 - 7
salesPanel/dataOverview/Project/YXXMWGJTSFX.wxml

@@ -1,23 +1,22 @@
 <viewDate title='分析日期' bind:onChange='changeDate' />
-<filtrate id='Filtrate' iconName='icon-xiangmuleixing' wx:if='{{types.length}}' list='{{types}}'
-    type="{{content.where.projecttype}}" title='项目类型' bind:onChange='changeType2' />
+<filtrate id='Filtrate' iconName='icon-xiangmuleixing' wx:if='{{types.length}}' list='{{types}}' type="{{content.where.projecttype}}" title='项目类型' bind:onChange='changeType2' />
 <filtrate id='Filtrate1' iconName='icon-xiangmuzhuangtai' list='{{[]}}' title='项目状态' bind:clickOpen='clickOpen' />
 <Yl_ListBox id='ListBox' bind:getlist='getList'>
     <view class="global-card">
         <view class="chart">
             <ec-canvas id="mychart" canvas-id="chart" ec="{{ ec }}"></ec-canvas>
         </view>
+        <view class="tips">{{language['注']||'注'}}:{{language['提示未显示的项目类型数量皆为0']||'提示未显示的项目类型数量皆为0'}}</view>
     </view>
-    <navigator url="/packageA/project/detail?id={{item.sa_projectid}}" class="global-card item" wx:for="{{list}}"
-        wx:key="sa_projectid">
+    <navigator url="/packageA/project/detail?id={{item.sa_projectid}}" class="global-card item" wx:for="{{list}}" wx:key="sa_projectid">
         <view class="title">
             <text class="line-1">{{item.projectname || " --"}}</text>
             <view class="status" style="background-color: {{sColors[item.status]}};">
-                {{language[item.status]||item.status}}</view>
+                {{language[item.status]||item.status}}
+            </view>
         </view>
         <view class="tag-box">
-            <van-tag custom-class='tag' wx:for="{{item.sys_tag}}" wx:key="index" wx:for-item='tag' color='#3874f6'
-                text-color='#fff' round>{{language[tag]||tag}}</van-tag>
+            <van-tag custom-class='tag' wx:for="{{item.sys_tag}}" wx:key="index" wx:for-item='tag' color='#3874f6' text-color='#fff' round>{{language[tag]||tag}}</van-tag>
         </view>
         <view class="row">
             <view class="col">{{language['负责人']||'负责人'}}:{{item.leader.length?item.leader[0].name :' --'}}</view>