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
@@ -57,7 +57,7 @@
57
57
  </div>
58
58
  </label>
59
59
  <div class="multipleChoice">
60
- <el-tooltip :enterable="false" effect="dark" content="全部删除" placement="top"><a
60
+ <el-tooltip :enterable="false" effect="dark" :content="$t1('全部删除')" placement="top"><a
61
61
  class="allDel icon-quanbushanchu" @click="clearChecked()"></a></el-tooltip>
62
62
  <div class="list">
63
63
  <div class="item" v-for="(checkRow, index) in checkRows">
@@ -67,7 +67,7 @@
67
67
  </div>
68
68
  </div>
69
69
  <span slot="footer" class="dialog-footer">
70
- <span class="fl tips" v-if="!selectMulti">注:双击确认选择(单选)</span>
70
+ <span class="fl tips" v-if="!selectMulti">{{ $t1('注:双击确认选择(单选)') }}</span>
71
71
  <el-button type="primary" plain class="button-sty" @click="dialogClose">
72
72
  <i class="el-icon-close el-icon"></i>
73
73
  取 消
@@ -87,6 +87,7 @@ export default {
87
87
  fullscreen: this.option.fullscreen,
88
88
  };
89
89
  config = Object.assign({}, config, this.option.dialogConfig, {customClass});
90
+ config.title = this.$t1(config.title);
90
91
  return config;
91
92
  },
92
93
  bodyConfig() {
@@ -81,6 +81,7 @@ export default {
81
81
  direction:"btt"
82
82
  };
83
83
  config = Object.assign({}, config, this.option.dialogConfig, {customClass});
84
+ config.title = this.$t1(config.title);
84
85
  return config;
85
86
  },
86
87
  bodyConfig() {
@@ -55,7 +55,7 @@
55
55
  </div>
56
56
  </label>
57
57
  <div class="multipleChoice">
58
- <el-tooltip :enterable="false" effect="dark" content="全部删除" placement="top"><a class="allDel icon-quanbushanchu"
58
+ <el-tooltip :enterable="false" effect="dark" :content="$t1('全部删除')" placement="top"><a class="allDel icon-quanbushanchu"
59
59
  @click="clearChecked()"></a>
60
60
  </el-tooltip>
61
61
  <div class="list">
@@ -66,7 +66,7 @@
66
66
  </div>
67
67
  </div>
68
68
  <span slot="footer" class="dialog-footer">
69
- <span class="fl tips" v-if="!selectMulti">注:双击确认选择(单选)</span>
69
+ <span class="fl tips" v-if="!selectMulti">{{ $t1('注:双击确认选择(单选)') }}</span>
70
70
  <el-button type="primary" plain class="button-sty" @click="dialogClose">
71
71
  <i class="el-icon-close el-icon"></i>
72
72
  {{ $t2('取 消', 'system.button.cancel2') }}
@@ -2,7 +2,7 @@
2
2
  <div v-if="showContent">
3
3
  <el-dialog
4
4
  :title="$t2('导入', 'components.excelImport.title')"
5
- :append-to-body="falseValue"
5
+ :append-to-body="true"
6
6
  :modal-append-to-body="falseValue"
7
7
  :close-on-click-modal="falseValue"
8
8
  :visible.sync="showImportDialog"
@@ -41,6 +41,7 @@
41
41
  </div>
42
42
  </div>
43
43
  <span slot="footer" class="dialog-footer">
44
+ <span class="fl tips">{{ $t1('注:导入文件不允许超过{fileSize}MB', {fileSize: importFileLimitSize}) }}</span>
44
45
  <el-button type="primary" plain class="button-sty" @click="dialogClose1">
45
46
  <i class="el-icon-close el-icon"></i>
46
47
  {{ $t2('取 消', 'system.button.cancel2') }}
@@ -54,7 +55,7 @@
54
55
  <el-dialog
55
56
  ref="importDialog"
56
57
  :title="$t2('导入', 'components.excelImport.title')"
57
- :append-to-body="falseValue"
58
+ :append-to-body="true"
58
59
  :modal-append-to-body="falseValue"
59
60
  :close-on-click-modal="falseValue"
60
61
  :visible.sync="showImportDialog2"
@@ -66,7 +67,28 @@
66
67
  v-el-drag-dialog
67
68
  >
68
69
  <div>
69
- <div class="import-box">
70
+ <div v-show="importLoading" class="import-stepbox">
71
+ <ul>
72
+ <li :class="getLoadingClass(1,percent1)">
73
+ <i class="el-icon-circle-check"></i>
74
+ <i class="el-icon-loading"></i>
75
+ <span v-html="$t1('上传导入文件 {percent}', {percent: `<span class=nums>${percent1}%</span>`})"></span>
76
+ </li>
77
+ <li :class="getLoadingClass(2,percent2)">
78
+ <i class="el-icon-circle-check"></i>
79
+ <i class="el-icon-loading"></i>
80
+ <span
81
+ v-html="$t1('校验导入文件中的图片数据格式 {percent}', {percent: `<span class=nums>${percent2}%</span>`})"></span>
82
+ </li>
83
+ <li :class="getLoadingClass(3,percent3)">
84
+ <i class="el-icon-circle-check"></i>
85
+ <i class="el-icon-loading"></i>
86
+ <span
87
+ v-html="$t1('存储导入文件中的图片 {percent}', {percent: `<span class=nums>${percent3}%</span>`})"></span>
88
+ </li>
89
+ </ul>
90
+ </div>
91
+ <div v-show="!importLoading" class="import-box" style="margin-bottom: 30px;">
70
92
  <div class="tips">
71
93
  {{ $t2('导入中,请勿关闭当前窗口', 'components.excelImport.tip2') }}
72
94
  <!-- <span class="fr">耗时:<em class="time-txt">0 时 0 分 0 秒 </em></span> -->
@@ -88,7 +110,7 @@
88
110
  </div>
89
111
  </div>
90
112
  <div slot="footer" class="dialog-footer" center="true">
91
- <div class="fl import-count">
113
+ <div class="fl import-count" v-show="!importLoading">
92
114
  <span class="f-red doneNum">0</span>
93
115
  /
94
116
  <span class="dataSize">0</span>
@@ -130,12 +152,20 @@
130
152
  <div class="clearfix screen-btns">
131
153
  <div class="fl">
132
154
  <vxe-button status="primary" class="button-sty" icon="el-icon-upload2" @click="exportToExcel()">
133
- 导出
155
+ {{ $t1('导出') }}
134
156
  </vxe-button>
135
157
  </div>
136
158
  <div class="fr"></div>
137
159
  </div>
138
160
  </template>
161
+ <template #attachment="{row,column}">
162
+ <base-attachment :option="{
163
+ title: column.title,
164
+ rows: row[column.field],
165
+ showViewButton: true,
166
+ edit:false
167
+ }"/>
168
+ </template>
139
169
  </vxe-grid>
140
170
  </div>
141
171
  </div>