cloud-web-corejs 1.0.54-dev.6 → 1.0.54-dev.60

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 (88) hide show
  1. package/package.json +8 -2
  2. package/src/components/VabUpload/index.vue +2 -1
  3. package/src/components/VabUpload/mixins.js +1 -1
  4. package/src/components/VabUpload/view.vue +2 -1
  5. package/src/components/excelExport/exportFieldDialog.vue +160 -22
  6. package/src/components/excelExport/index.js +6 -5
  7. package/src/components/excelExport/index.vue +8 -5
  8. package/src/components/excelExport/mixins.js +4 -1
  9. package/src/components/excelImport/index.vue +2 -1
  10. package/src/components/excelImport/mixins.js +1 -1
  11. package/src/components/fileLibrary/fileObjAuthDialog.vue +125 -103
  12. package/src/components/fileLibrary/fileObjAuthEditDialog.vue +6 -1
  13. package/src/components/fileLibrary/fileObjNotifyEdit.vue +192 -0
  14. package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +16 -9
  15. package/src/components/fileLibrary/mixins/fileObjAuthEditDialogMixin.js +4 -1
  16. package/src/components/fileLibrary/mixins/fileObjAuthEditMixin.js +1 -1
  17. package/src/components/fileLibrary/mixins/indexMixins.js +31 -17
  18. package/src/components/onlineTalk/index.vue +327 -5
  19. package/src/components/onlineTalk/mixins.js +1 -1
  20. package/src/components/table/index.js +2 -1
  21. package/src/components/tempStorage/tempStorageDialog.vue +2 -2
  22. package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +1 -0
  23. package/src/components/xform/form-designer/form-widget/dialog/formDrawer.vue +1 -0
  24. package/src/components/xform/form-designer/form-widget/dialog/formFieldDialog.vue +2 -2
  25. package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +10 -2
  26. package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +3 -1
  27. package/src/components/xform/form-designer/form-widget/dialog/preformDialog.vue +2 -2
  28. package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +5 -4
  29. package/src/components/xform/form-designer/form-widget/dialog/vabSearchDialog.vue +2 -2
  30. package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +3 -2
  31. package/src/components/xform/form-designer/form-widget/field-widget/echart-bar-widget.vue +1 -1
  32. package/src/components/xform/form-designer/form-widget/field-widget/echart-category-widget.vue +1 -1
  33. package/src/components/xform/form-designer/form-widget/field-widget/echart-pie-widget.vue +1 -1
  34. package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +982 -1
  35. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-bar-mixin.js +12 -1
  36. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js +6 -0
  37. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-pie-mixin.js +6 -0
  38. package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +5 -1
  39. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +77 -0
  40. package/src/components/xform/form-designer/indexMixin.js +771 -1
  41. package/src/components/xform/form-designer/setting-panel/form-setting.vue +6 -3
  42. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +8 -0
  43. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onAfterConfirmFile-editor.vue +30 -0
  44. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onClick-editor.vue +2 -2
  45. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-bar-editor.vue +160 -69
  46. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +184 -82
  47. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-pie-editor.vue +84 -39
  48. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +3 -0
  49. package/src/components/xform/form-designer/setting-panel/property-editor/placeholder-editor.vue +1 -1
  50. package/src/components/xform/form-designer/setting-panel/propertyRegister.js +1 -0
  51. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +8 -0
  52. package/src/components/xform/form-render/container-item/data-table-mixin.js +1668 -1
  53. package/src/components/xform/form-render/indexMixin.js +1 -23
  54. package/src/mixins/selectDialog/index.js +1 -1
  55. package/src/router/modules/customer.js +15 -0
  56. package/src/store/config/index.js +1 -1
  57. package/src/store/modules/permission.js +1 -1
  58. package/src/utils/renderUtils.js +76 -0
  59. package/src/utils/request.js +28 -28
  60. package/src/utils/vab.js +1 -963
  61. package/src/views/bd/setting/bd_attach_setting/edit.vue +1 -1
  62. package/src/views/bd/setting/bd_attach_setting/mixins/edit.js +1 -1
  63. package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +105 -0
  64. package/src/views/bd/setting/form_template/edit.vue +2 -2
  65. package/src/views/bd/setting/form_template/list.vue +4 -2
  66. package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +280 -0
  67. package/src/views/bd/setting/form_template/mixins/edit.js +1 -1
  68. package/src/views/bd/setting/form_template/mixins/wf_list.js +434 -0
  69. package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +254 -0
  70. package/src/views/bd/setting/form_template/wf_list.vue +127 -0
  71. package/src/views/bd/setting/menu_kind/authDialog.vue +1 -1
  72. package/src/views/bd/setting/menu_kind/mixins/authDialog.js +1 -1
  73. package/src/views/bd/setting/table_model/list.vue +4 -2
  74. package/src/views/user/area/dialog.vue +21 -8
  75. package/src/views/user/company_info/dialog.vue +17 -8
  76. package/src/views/user/file_type/edit.vue +30 -1
  77. package/src/views/user/file_type/list.vue +28 -0
  78. package/src/views/user/groups/edit.vue +2 -0
  79. package/src/views/user/groups/list.vue +1 -0
  80. package/src/views/user/login/default.vue +4 -2
  81. package/src/views/user/outLink/form_view.vue +39 -12
  82. package/src/views/user/outLink/view.vue +39 -13
  83. package/src/views/user/user/edit.vue +7 -7
  84. package/src/views/user/user/form_edit.vue +117 -49
  85. package/src/views/user/user/form_list.vue +1 -0
  86. package/src/views/user/wf/wf_obj_config/list.vue +30 -2
  87. package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +292 -0
  88. package/src/components/excelExport/export-panel.js +0 -458
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <el-dialog
3
- title="表单提交"
3
+ :title="$t1('提交内容')"
4
4
  :visible.sync="showDialog"
5
5
  :modal-append-to-body="false"
6
6
  :close-on-click-modal="false"
@@ -18,7 +18,7 @@
18
18
  <th>
19
19
  <span class="t">
20
20
  <em class="f-red">*</em>
21
- {{ $t1('备注') }}
21
+ {{ $t1('内容') }}
22
22
  </span>
23
23
  </th>
24
24
  <td>
@@ -20,7 +20,7 @@
20
20
  </div>
21
21
  </label>
22
22
  <div class="multipleChoice">
23
- <el-tooltip :enterable="false" effect="dark" content="全部删除" placement="top"><a
23
+ <el-tooltip :enterable="false" effect="dark" :content="$t1('全部删除')" placement="top"><a
24
24
  class="allDel icon-quanbushanchu"
25
25
  @click="clearChecked()"></a>
26
26
  </el-tooltip>
@@ -34,14 +34,14 @@
34
34
  </div>
35
35
  </div>
36
36
  <span slot="footer" class="dialog-footer" v-if="option.showFooter!==false" v-bind="option.footerConfig">
37
- <span class="fl tips" v-if="!selectMulti">注:双击确认选择(单选)</span>
37
+ <span class="fl tips" v-if="!selectMulti">{{ $t1('注:双击确认选择(单选)') }}</span>
38
38
  <el-button type="primary" plain class="button-sty" @click="close">
39
39
  <i class="el-icon-close el-icon"></i>
40
- {{ $t2('取 消', 'system.button.cancel2') }}
40
+ {{ $t1('取 消') }}
41
41
  </el-button>
42
42
  <el-button type="primary" @click="dialogSubmit" class="button-sty">
43
43
  <i class="el-icon-check el-icon"></i>
44
- {{ $t2('确 定', 'system.button.confirm2') }}
44
+ {{ $t1('确 定') }}
45
45
  </el-button>
46
46
  </span>
47
47
  </el-dialog>
@@ -130,6 +130,7 @@ export default {
130
130
  fullscreen: this.option.fullscreen,
131
131
  };
132
132
  config = Object.assign({}, config, this.option.dialogConfig, {customClass});
133
+ config.title = this.$t1(config.title);
133
134
  return config;
134
135
  },
135
136
  bodyConfig() {
@@ -53,7 +53,7 @@
53
53
  </div>
54
54
  </label>
55
55
  <div class="multipleChoice">
56
- <el-tooltip :enterable="false" effect="dark" content="全部删除" placement="top"><a class="allDel icon-quanbushanchu"
56
+ <el-tooltip :enterable="false" effect="dark" :content="$t1('全部删除')" placement="top"><a class="allDel icon-quanbushanchu"
57
57
  @click="clearChecked()"></a>
58
58
  </el-tooltip>
59
59
  <div class="list">
@@ -64,7 +64,7 @@
64
64
  </div>
65
65
  </div>
66
66
  <span slot="footer" class="dialog-footer">
67
- <span class="fl tips" v-if="!selectMulti">注:双击确认选择(单选)</span>
67
+ <span class="fl tips" v-if="!selectMulti">{{ $t1('注:双击确认选择(单选)') }}</span>
68
68
  <el-button type="primary" plain class="button-sty" @click="dialogClose">
69
69
  <i class="el-icon-close el-icon"></i>
70
70
  {{ $t2('取 消', 'system.button.cancel2') }}
@@ -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