fix: 统计页面, 多余功能删除。
This commit is contained in:
@@ -74,26 +74,6 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 健康统计分析 -->
|
|
||||||
<view class="section-header" v-show="auth.hasPermi('health:medicationStatistic:query')">
|
|
||||||
<text class="section-title">健康统计分析</text>
|
|
||||||
</view>
|
|
||||||
<view class="grid-body" v-show="auth.hasPermi('health:medicationStatistic:query')">
|
|
||||||
<view class="grid-wrapper">
|
|
||||||
<view
|
|
||||||
v-for="(item, index) in healthGridList"
|
|
||||||
:key="index"
|
|
||||||
v-show="auth.hasPermi(item.permission)"
|
|
||||||
@click="navigateTo(item.path)"
|
|
||||||
class="grid-item">
|
|
||||||
<view class="item-icon" :style="{ background: item.color }">
|
|
||||||
<uni-icons :type="item.icon" size="22" color="#ffffff"></uni-icons>
|
|
||||||
</view>
|
|
||||||
<text class="item-text">{{ item.text }}</text>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
<!-- <refresh></refresh> -->
|
<!-- <refresh></refresh> -->
|
||||||
</template>
|
</template>
|
||||||
@@ -129,9 +109,6 @@
|
|||||||
{ path: '/pages/statistic/bill/investAnalysis/index', text: '收益统计分析', icon: 'settings', color: 'linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%)', permission: 'invest:investAnalysis:list'},
|
{ path: '/pages/statistic/bill/investAnalysis/index', text: '收益统计分析', icon: 'settings', color: 'linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%)', permission: 'invest:investAnalysis:list'},
|
||||||
{ path: '/pages/statistic/bill/futuresAnalysis/index', text: '期货统计分析', icon: 'fire', color: 'linear-gradient(135deg, #fc5c65 0%, #fd79a8 100%)', permission: 'invest:futuresAnalysis:list'},
|
{ path: '/pages/statistic/bill/futuresAnalysis/index', text: '期货统计分析', icon: 'fire', color: 'linear-gradient(135deg, #fc5c65 0%, #fd79a8 100%)', permission: 'invest:futuresAnalysis:list'},
|
||||||
{ path: '/pages/statistic/bill/stocksAnalysis/index', text: '股票统计分析', icon: 'flag-filled', color: 'linear-gradient(135deg, #5f72bd 0%, #9b23ea 100%)', permission: 'invest:stocksAnalysis:list' }
|
{ path: '/pages/statistic/bill/stocksAnalysis/index', text: '股票统计分析', icon: 'flag-filled', color: 'linear-gradient(135deg, #5f72bd 0%, #9b23ea 100%)', permission: 'invest:stocksAnalysis:list' }
|
||||||
])
|
|
||||||
const healthGridList=ref([
|
|
||||||
{ path: '/pages/statistic/medication/index', text: '用药统计', icon: 'heart-filled', color: 'linear-gradient(135deg, #409EFF 0%, #67C23A 100%)', permission: 'health:medicationStatistic:query' }
|
|
||||||
])
|
])
|
||||||
function navigateTo(path) {
|
function navigateTo(path) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
|
|||||||
Reference in New Issue
Block a user