cloud-web-corejs 1.0.67 → 1.0.68

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 (32) hide show
  1. package/package.json +1 -1
  2. package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +3 -2
  3. package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +1 -0
  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 +1 -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/table-export-button-widget.vue +5 -1
  12. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +77 -0
  13. package/src/components/xform/form-designer/indexMixin.js +1 -1
  14. package/src/components/xform/form-designer/setting-panel/form-setting.vue +40 -3
  15. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onAfterConfirmFile-editor.vue +30 -0
  16. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onClick-editor.vue +2 -2
  17. package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-defaultTime-editor.vue +27 -0
  18. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-bar-editor.vue +160 -69
  19. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +184 -82
  20. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-pie-editor.vue +84 -39
  21. package/src/components/xform/form-designer/setting-panel/property-editor/placeholder-editor.vue +1 -1
  22. package/src/components/xform/form-designer/setting-panel/property-editor/showRuleFlag-editor.vue +223 -0
  23. package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +62 -0
  24. package/src/components/xform/form-designer/setting-panel/propertyRegister.js +4 -0
  25. package/src/components/xform/form-designer/setting-panel/wfObjConfigDialog.vue +189 -0
  26. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +286 -33
  27. package/src/store/modules/permission.js +1 -1
  28. package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +105 -0
  29. package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +4 -0
  30. package/src/views/bd/setting/form_template/mixins/wf_list.js +12 -0
  31. package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +254 -0
  32. package/src/views/bd/setting/form_template/wf_list.vue +127 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cloud-web-corejs",
3
3
  "private": false,
4
- "version": "1.0.67",
4
+ "version": "1.0.68",
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
7
7
  "lint": "eslint --ext .js,.vue src",
@@ -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
  }
@@ -8,6 +8,7 @@
8
8
  :size="field.options.size"
9
9
  :clearable="field.options.clearable" :editable="field.options.editable"
10
10
  :format="field.options.format" :value-format="field.options.valueFormat"
11
+ :default-time.sync="field.options.defaultTime"
11
12
  :start-placeholder="getI18nLabel(field.options.startPlaceholder || '起始日期')"
12
13
  :end-placeholder="getI18nLabel(field.options.endPlaceholder || '截止日期')"
13
14
  @focus="handleFocusCustomEvent" @blur="handleBlurCustomEvent"
@@ -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