cloud-web-corejs 1.0.54-dev.55 → 1.0.54-dev.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (17) hide show
  1. package/package.json +8 -2
  2. package/src/components/VabUpload/mixins.js +1442 -1
  3. package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +3 -2
  4. package/src/components/xform/form-designer/form-widget/field-widget/echart-bar-widget.vue +1 -1
  5. package/src/components/xform/form-designer/form-widget/field-widget/echart-category-widget.vue +1 -1
  6. package/src/components/xform/form-designer/form-widget/field-widget/echart-pie-widget.vue +1 -1
  7. package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +982 -1
  8. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-bar-mixin.js +12 -1
  9. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js +6 -0
  10. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-pie-mixin.js +6 -0
  11. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +78 -0
  12. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onClick-editor.vue +2 -2
  13. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-bar-editor.vue +160 -69
  14. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +184 -82
  15. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-pie-editor.vue +84 -39
  16. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +6 -0
  17. package/src/router/modules/customer.js +15 -0
@@ -79,8 +79,9 @@ export default {
79
79
  rows: (done) => {
80
80
  done(this.fieldModel);
81
81
  },
82
- confirm: (attachments) => {
83
- this.fieldModel = attachments;
82
+ confirm: (rows, fileInfos) => {
83
+ this.fieldModel = rows;
84
+ this.field.options.onAfterConfirmFile && this.field.options.onAfterConfirmFile(rows, fileInfos);
84
85
  }
85
86
  };
86
87
  }
@@ -11,7 +11,7 @@
11
11
  :sub-form-row-id="subFormRowId"
12
12
  :heightStyle="pHeightStyle"
13
13
  >
14
- <v-chart v-if="showChart" class="echart" :option="field.options.echarBarOption" :style="{ height: heightStyle }"/>
14
+ <v-chart v-if="showChart" class="echart" ref="chart" :option="field.options.echarBarOption" @click="handleButtonWidgetClick" :style="{ height: heightStyle }"/>
15
15
  </static-content-wrapper>
16
16
  </template>
17
17
 
@@ -11,7 +11,7 @@
11
11
  :sub-form-row-id="subFormRowId"
12
12
  :heightStyle="pHeightStyle"
13
13
  >
14
- <v-chart v-if="showChart" class="echart" :option="field.options.echarCategoryOption" :style="{ height: heightStyle }"/>
14
+ <v-chart v-if="showChart" class="echart" ref="chart" :option="field.options.echarCategoryOption" @click="handleButtonWidgetClick" :style="{ height: heightStyle }"/>
15
15
  </static-content-wrapper>
16
16
  </template>
17
17
 
@@ -11,7 +11,7 @@
11
11
  :sub-form-row-id="subFormRowId"
12
12
  :heightStyle="pHeightStyle"
13
13
  >
14
- <v-chart v-if="showChart" class="echart" :option="field.options.echarPieOption" :style="{ height: heightStyle }"/>
14
+ <v-chart v-if="showChart" class="echart" ref="chart" :option="field.options.echarPieOption" @click="handleButtonWidgetClick" :style="{ height: heightStyle }"/>
15
15
  </static-content-wrapper>
16
16
  </template>
17
17