Commit e77f4c77 authored by 刘杰's avatar 刘杰

企业微信前端

parent ba5312b7
......@@ -78,7 +78,7 @@
</view>
<view class="stat-item">
<view class="stat-block green ">
<text class="number">{{currentSearchData.overview.stats.podCount}}</text>
<text class="number">{{currentSearchData.overview.stats.podCount||0}}</text>
<text class="rate">回单</text>
</view>
</view>
......@@ -262,12 +262,13 @@
<!-- 项目运营表格 -->
<view class="table-container">
<text class="table-title">模拟老板运营情况</text>
<text class="table-title">{{tableName}}运营情况</text>
<scroll-view scroll-x class="table-scroll" @touchmove.stop>
<view class="table">
<view class="table-header">
<view class="table-row">
<view class="table-cell-title">模拟老板</view>
<view class="table-cell-title">{{tableName}}</view>
<view class="table-cell-title">应收(万)</view>
<view class="table-cell-title">应付(万)</view>
<view class="table-cell-title">应付现结(万)</view>
......@@ -332,7 +333,8 @@
sortType: 'receivable',
projectSortType: 'receivable',
timeData: {},
showOrderEvent: false
showOrderEvent: false,
tableName:""
}
},
computed: {
......@@ -369,6 +371,9 @@
this.staffKind = uni.getStorageSync(`uc_staff_kind`);
if (this.staffKind === 'boss') {
this.initLeaderChart()
this.tableName='模拟老板'
}else{
this.tableName='项目'
}
this.initProjectChart()
// 在 Vue 的下一个 DOM 更新循环中执行
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment