Ver Fonte

路由bug解决

cz há 11 meses atrás
pai
commit
55a3a6d3ed

+ 1 - 1
src/views/EHSD/saleContract/contractEHSD/index.vue

@@ -1185,7 +1185,7 @@ const afterSalesAdd = (row) => {
 
 const handlePushRoute = (code) => {
   proxy.$router.push({
-    name: "AfterSales",
+    name: "C_afterSales",
     query: {
       code,
     },

+ 4 - 4
src/views/dataBoard/board/salesAnalysis/index.vue

@@ -88,7 +88,7 @@
           <div ref="echartDomOne" style="height: 30vh"></div>
           <div style="margin-top: 10px">
             <byTable :hideSearch="true" :tableHeight="300" :source="sourceList.salesData" :pagination="sourceList.salesPagination"
-                     :config="salesConfig" :loading="salesLoading" highlight-current-row :selectConfig="[]">
+                     :config="salesConfig" :loading="salesLoading" highlight-current-row :selectConfig="[]" :hidePagination="true">
             </byTable>
           </div>
         </el-col>
@@ -98,7 +98,7 @@
             <div ref="echartDomTwo" style="height: 30vh"></div>
             <div style="margin-top: 10px">
               <byTable :hideSearch="true" :tableHeight="300" :source="sourceList.salesmanSalesData" :pagination="sourceList.salesmanSalesPagination"
-                       :config="salesmanSalesConfig" :loading="salesmanSalesLoading" highlight-current-row :selectConfig="[]">
+                       :config="salesmanSalesConfig" :loading="salesmanSalesLoading" highlight-current-row :selectConfig="[]" :hidePagination="true">
               </byTable>
             </div>
           </div>
@@ -114,7 +114,7 @@
           <div style="margin-top: 10px">
             <byTable :hideSearch="true" :tableHeight="300" :source="sourceList.productSalesVolumeData"
                      :pagination="sourceList.productSalesVolumePagination" :config="productSalesConfig" :loading="productSalesLoading"
-                     highlight-current-row :selectConfig="[]">
+                     highlight-current-row :selectConfig="[]" :hidePagination="true">
             </byTable>
           </div>
         </el-col>
@@ -125,7 +125,7 @@
             <div style="margin-top: 10px">
               <byTable :hideSearch="true" :tableHeight="300" :source="sourceList.productSalesVolumeOneData"
                        :pagination="sourceList.productSalesVolumeOnePagination" :config="productSalesOneConfig" :loading="productSalesOneLoading"
-                       highlight-current-row :selectConfig="[]">
+                       highlight-current-row :selectConfig="[]" :hidePagination="true">
               </byTable>
             </div>
           </div>

+ 1 - 1
src/views/process/processApproval/index.vue

@@ -672,7 +672,7 @@ const skipPage = () => {
       });
     } else if (flowForm.flowKey == "after_sales_flow") {
       router.replace({
-        name: "AfterSales",
+        name: "C_afterSales",
       });
     }
   }

+ 1 - 1
vite.config.js

@@ -42,7 +42,7 @@ export default defineConfig(({
           target: 'http://139.9.102.170:9901/test-api',
           // target: 'http://192.168.1.101:9898/test-api',
           // 正式地址
-          // target: "http://139.9.102.170:9900/prod-api",
+          // target: "http://106.54.243.161:9900/prod-api",
           changeOrigin: true,
           rewrite: (p) => p.replace(/^\/dev-api/, '')
         }