cloud-web-corejs 1.0.54-dev.9 → 1.0.54-dev.91

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 (119) hide show
  1. package/package.json +9 -3
  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 +17 -7
  6. package/src/components/excelExport/index.js +2 -1
  7. package/src/components/excelExport/index.vue +8 -6
  8. package/src/components/excelExport/mixins.js +1 -2
  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 +1 -1
  12. package/src/components/fileLibrary/fileObjAuthEditDialog.vue +1 -1
  13. package/src/components/fileLibrary/fileObjNotifyEdit.vue +90 -68
  14. package/src/components/fileLibrary/index.vue +3 -3
  15. package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +8 -3
  16. package/src/components/fileLibrary/mixins/fileObjAuthEditDialogMixin.js +4 -1
  17. package/src/components/fileLibrary/mixins/fileObjAuthEditMixin.js +1 -1
  18. package/src/components/fileLibrary/mixins/indexMixins.js +31 -17
  19. package/src/components/fileLibrary/mixins/propertiesDialogMixins.js +2 -1
  20. package/src/components/fileLibrary/propertiesDialog.vue +4 -0
  21. package/src/components/jsonImport/mixins.js +1 -1
  22. package/src/components/onlineTalk/index.vue +327 -5
  23. package/src/components/onlineTalk/mixins.js +1 -1
  24. package/src/components/table/index.js +2 -1
  25. package/src/components/tempStorage/tempStorageDialog.vue +2 -2
  26. package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +1 -0
  27. package/src/components/xform/form-designer/form-widget/dialog/formDrawer.vue +1 -0
  28. package/src/components/xform/form-designer/form-widget/dialog/formFieldDialog.vue +2 -2
  29. package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +35 -5
  30. package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +3 -1
  31. package/src/components/xform/form-designer/form-widget/dialog/preformDialog.vue +2 -2
  32. package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +8 -5
  33. package/src/components/xform/form-designer/form-widget/dialog/vabSearchDialog.vue +2 -2
  34. package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +6 -2
  35. package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +1 -0
  36. package/src/components/xform/form-designer/form-widget/field-widget/echart-bar-widget.vue +1 -1
  37. package/src/components/xform/form-designer/form-widget/field-widget/echart-category-widget.vue +1 -1
  38. package/src/components/xform/form-designer/form-widget/field-widget/echart-pie-widget.vue +1 -1
  39. package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1 -1
  40. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-bar-mixin.js +49 -8
  41. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js +61 -88
  42. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-pie-mixin.js +13 -0
  43. package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +6 -1
  44. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +79 -0
  45. package/src/components/xform/form-designer/indexMixin.js +1 -1
  46. package/src/components/xform/form-designer/setting-panel/form-setting.vue +6 -3
  47. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +6 -0
  48. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/onCheckboxChange-editor.vue +1 -1
  49. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +13 -0
  50. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onAfterConfirmFile-editor.vue +32 -0
  51. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onClick-editor.vue +2 -2
  52. package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-defaultTime-editor.vue +27 -0
  53. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-bar-editor.vue +185 -69
  54. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +188 -86
  55. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-pie-editor.vue +84 -39
  56. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +3 -0
  57. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +26 -7
  58. package/src/components/xform/form-designer/setting-panel/property-editor/placeholder-editor.vue +1 -1
  59. package/src/components/xform/form-designer/setting-panel/property-editor/showRuleFlag-editor.vue +1 -1
  60. package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +109 -22
  61. package/src/components/xform/form-designer/setting-panel/propertyRegister.js +2 -0
  62. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +53 -4
  63. package/src/components/xform/form-render/container-item/data-table-item.vue +5 -4
  64. package/src/components/xform/form-render/container-item/data-table-mixin.js +1881 -1
  65. package/src/components/xform/form-render/indexMixin.js +1669 -1
  66. package/src/layout/components/Sidebar/default.vue +18 -6
  67. package/src/mixins/selectDialog/index.js +1 -1
  68. package/src/router/modules/customer.js +15 -0
  69. package/src/store/config/index.js +1 -1
  70. package/src/store/modules/permission.js +1 -1
  71. package/src/store/modules/user.js +302 -1
  72. package/src/utils/pddLog.js +2 -0
  73. package/src/utils/request.js +28 -28
  74. package/src/utils/vab.js +1 -1
  75. package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +105 -0
  76. package/src/views/bd/setting/form_template/edit.vue +2 -2
  77. package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +2 -2
  78. package/src/views/bd/setting/form_template/list.vue +4 -2
  79. package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +4 -0
  80. package/src/views/bd/setting/form_template/mixins/edit.js +1 -1
  81. package/src/views/bd/setting/form_template/mixins/list.js +1 -1
  82. package/src/views/bd/setting/form_template/mixins/wf_list.js +12 -0
  83. package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +254 -0
  84. package/src/views/bd/setting/form_template/wf_list.vue +127 -0
  85. package/src/views/bd/setting/menu_kind/authDialog.vue +1 -1
  86. package/src/views/bd/setting/menu_kind/mixins/authDialog.js +1 -1
  87. package/src/views/bd/setting/table_model/edit.vue +1 -1
  88. package/src/views/bd/setting/table_model/list.vue +4 -2
  89. package/src/views/bd/setting/table_model/mixins/list.js +14 -14
  90. package/src/views/user/area/dialog.vue +21 -8
  91. package/src/views/user/bill_setting/edit.vue +1 -1
  92. package/src/views/user/bill_setting/list.vue +1 -1
  93. package/src/views/user/common_attribute/itemEdit.vue +2 -2
  94. package/src/views/user/common_attribute/list.vue +1 -1
  95. package/src/views/user/common_script/edit.vue +1 -1
  96. package/src/views/user/common_script/list.vue +1 -1
  97. package/src/views/user/company_info/dialog.vue +19 -9
  98. package/src/views/user/company_info/edit.vue +1 -1
  99. package/src/views/user/extend_datasource/dialog.vue +1 -0
  100. package/src/views/user/extend_datasource/edit.vue +3 -0
  101. package/src/views/user/extend_datasource/list.vue +2 -1
  102. package/src/views/user/file_type/edit.vue +30 -1
  103. package/src/views/user/file_type/list.vue +28 -0
  104. package/src/views/user/groups/edit.vue +2 -0
  105. package/src/views/user/groups/list.vue +1 -0
  106. package/src/views/user/home/dev.vue +29 -0
  107. package/src/views/user/home/index.vue +16 -6
  108. package/src/views/user/login/default.vue +4 -2
  109. package/src/views/user/outLink/form_view.vue +39 -12
  110. package/src/views/user/outLink/index.vue +17 -0
  111. package/src/views/user/outLink/view.vue +39 -13
  112. package/src/views/user/push_setting/list.vue +2 -2
  113. package/src/views/user/user/edit.vue +9 -9
  114. package/src/views/user/user/form_edit.vue +117 -49
  115. package/src/views/user/user/form_info.vue +210 -0
  116. package/src/views/user/user/form_list.vue +1 -0
  117. package/src/views/user/user/list.vue +3 -3
  118. package/src/views/user/wf/wf_obj_config/list.vue +19 -3
  119. package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +292 -0
@@ -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() {
@@ -188,7 +189,9 @@ export default {
188
189
  }
189
190
  this.$nextTick(() => {
190
191
  let widgetList = this.formJson.widgetList;
191
- this.$grid = this.$refs.vFormRef.getWidgetRef(widgetList[0].options.name).getGridTable();
192
+ setTimeout(()=>{
193
+ this.$grid = this.$refs.vFormRef.getWidgetRef(widgetList[0].options.name).getGridTable();
194
+ },200)
192
195
  })
193
196
  this.initShowFormField();
194
197
  this.showRender = true;
@@ -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,12 @@ 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);
85
+ let eventParamNames = ['attachments', 'fileInfos'];
86
+ let eventParamValues = [rows, fileInfos];
87
+ this.handleCustomEvent(this.field.options.onAfterConfirmFile, eventParamNames, eventParamValues)
84
88
  }
85
89
  };
86
90
  }
@@ -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