Forráskód Böngészése

价格权限控制

lilei 2 éve
szülő
commit
228e1d3a28

+ 2 - 0
src/views/reportData/expenseAccountReport/categoryList.vue

@@ -261,11 +261,13 @@ export default {
         if (valid) {
           _this.showExport = true
           const params = _this.queryParam
+          _this.$store.state.app.curActionPermission = 'B_expenseCollectExportByPtype'
           _this.exportLoading = true
           _this.spinning = true
           hdExportExcel(expenseCollectReportExportByProductType, params, '费用汇总报表(按品类)', function () {
             _this.exportLoading = false
             _this.spinning = false
+            _this.$store.state.app.curActionPermission = ''
           })
         } else {
           return false