lilei 1 hónapja
szülő
commit
a4538c8e01

+ 2 - 2
src/config/report/salesReport.js

@@ -99,7 +99,7 @@ export default {
       meta: {
         title: '每日报表',
         icon: 'profile',
-        // permission: 'M_dailyReportList'
+        permission: 'M_dailyReportList'
       },
       hideChildrenInMenu: true,
       children: [
@@ -111,7 +111,7 @@ export default {
             title: '每日报表',
             icon: 'profile',
             hidden: true,
-            // permission: 'M_dailyReportList'
+            permission: 'M_dailyReportList'
           }
         }
       ]

+ 1 - 0
src/views/reportData/dailyReport/table.vue

@@ -34,6 +34,7 @@
                   class="button-warning"
                   @click="handleExport"
                   :disabled="tableData.length==0"
+                  v-if="$hasPermissions('B_dailyReportExport')"
                   :loading="exportLoading"
                   id="dayReportList-export">导出</a-button>
               </a-col>

+ 2 - 2
vue.config.js

@@ -108,9 +108,9 @@ const vueConfig = {
     // If you want to turn on the proxy, please remosve the mockjs /src/main.jsL11
     proxy: {
       '/api': {
-        target: 'http://192.168.2.10/ocs-admin',
+        // target: 'http://192.168.2.10/ocs-admin',
         // target: 'https://t.ocs.360arrow.com/ocs-admin', //  练习
-        // target: 'https://p.ocs.360arrow.com/ocs-admin', //  预发布
+        target: 'https://p.ocs.360arrow.com/ocs-admin', //  预发布
         ws: false,
         changeOrigin: true,
         pathRewrite: {