|
|
@@ -8,7 +8,7 @@
|
|
|
@click="activeTab = 'export'">报表导出</view>
|
|
|
<view v-if="hasBlacklistFunction" class="tab" :class="{ active: activeTab === 'blacklist' }"
|
|
|
@click="activeTab = 'blacklist'">黑名单汇总</view>
|
|
|
- <view class="tab" :class="{ active: activeTab === 'ganmaoling' }"
|
|
|
+ <view v-if="hasGanmaolingFunction" class="tab" :class="{ active: activeTab === 'ganmaoling' }"
|
|
|
@click="activeTab = 'ganmaoling'">感冒灵大批量</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -51,14 +51,14 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
- // hasScanFunction: false,
|
|
|
- // hasReportFunction: false,
|
|
|
- // hasBlacklistFunction: false,
|
|
|
- // hasGanmaolingFunction: false,
|
|
|
- hasScanFunction: true,
|
|
|
- hasReportFunction: true,
|
|
|
- hasBlacklistFunction: true,
|
|
|
- hasGanmaolingFunction: true,
|
|
|
+ hasScanFunction: false,
|
|
|
+ hasReportFunction: false,
|
|
|
+ hasBlacklistFunction: false,
|
|
|
+ hasGanmaolingFunction: false,
|
|
|
+ // hasScanFunction: true,
|
|
|
+ // hasReportFunction: true,
|
|
|
+ // hasBlacklistFunction: true,
|
|
|
+ // hasGanmaolingFunction: true,
|
|
|
loading: true,
|
|
|
LoadingImg,
|
|
|
activeTab: "scan",
|
|
|
@@ -67,12 +67,12 @@ export default {
|
|
|
filterForm: { report: "", product: "" },
|
|
|
filterDropdown: { report: false, product: false },
|
|
|
filterDateRange: [],
|
|
|
- // functionLoading: true,
|
|
|
- functionLoading: false,
|
|
|
+ functionLoading: true,
|
|
|
+ // functionLoading: false,
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
- // this.getFunc()
|
|
|
+ this.getFunc()
|
|
|
},
|
|
|
computed: {
|
|
|
hasFunction() {
|