chenrui  2 years ago
parent
commit
152612b7ec

+ 11 - 0
src/views/statisticalanalysis/components/echart/statisticsHeader.vue

@@ -140,6 +140,10 @@ export default {
       type: String,
       default: "",
     },
+    action: {
+      type: Number,
+      default: true,
+    },
   },
   data() {
     return {
@@ -340,6 +344,13 @@ export default {
       deep: true,
       immediate: true,
     },
+    action: {
+      handler(val) {
+        this.picShow = true;
+      },
+      deep: true,
+      immediate: true,
+    },
   },
   created() {
     this.customItems.forEach((item) => {

+ 1 - 0
src/views/statisticalanalysis/specialgoods/index.vue

@@ -20,6 +20,7 @@
         :withSetting="false"
         :withExport="true"
         :set="set"
+        :action="action"
         @getFormData="getFormData"
         @export="tableToExcel"
         @upset="upset"