Browse Source

feat: 更新

贺智杰 21 hours ago
parent
commit
4f339af60c

+ 3 - 3
traceCodePackages/request/index.js

@@ -6,9 +6,9 @@ import {
 } from '@/service/storage'
 const storage = new Storage()
 
-const _baseUrl = import.meta.env.VITE_APP_API_BASEURL3
-// const subdomain = '/yylm'
-const subdomain = ''
+const _baseUrl = import.meta.env.VITE_APP_API_BASEURL5
+const subdomain = '/yylm'
+// const subdomain = ''
 
 export function downloadFile(url, data = {}) {
     const baseUrl = data.baseUrl || _baseUrl

+ 12 - 12
traceCodePackages/traceabilityReport/pages/index.vue

@@ -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() {

+ 3 - 3
traceCodePackages/traceabilityReport/pages/reportExport/detail/index.vue

@@ -23,7 +23,7 @@
             <text class="hcell">货源地区</text>
             <text class="hcell">货源数量</text>
             <text class="hcell">终端到达数量</text>
-            <text class="hcell">库时间</text>
+            <text class="hcell">库时间</text>
             <text class="hcell">追溯码抽样</text>
           </view>
           <view v-if="!loading && rows.length > 0" class="grid-body">
@@ -64,14 +64,14 @@
         }">
           <view class="grid-header">
             <text class="hcell hcell-sticky-left">查询企业名称</text>
-            <text class="hcell">库方企业名称</text>
+            <text class="hcell">库方企业名称</text>
             <text class="hcell">产品名称</text>
             <text class="hcell">规格</text>
             <text class="hcell">批号</text>
             <text class="hcell">货源地区</text>
             <text class="hcell">货源数量</text>
             <text class="hcell">终端到达数量</text>
-            <text class="hcell">库时间</text>
+            <text class="hcell">库时间</text>
             <text class="hcell">追溯码抽样</text>
           </view>