cloud-web-corejs 1.0.54-dev.34 → 1.0.54-dev.341

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 (337) hide show
  1. package/package.json +8 -3
  2. package/src/components/Qrcode/fileParse.vue +0 -1
  3. package/src/components/VabUpload/mixins.js +1490 -1
  4. package/src/components/VabUpload/propertiesDialog.vue +1 -1
  5. package/src/components/VabUpload/view.vue +135 -120
  6. package/src/components/advancedSearchDialog/mixins.js +1 -1
  7. package/src/components/baseAttachment/index.vue +49 -40
  8. package/src/components/baseAttachment/mixins.js +1 -1
  9. package/src/components/baseInputExport/mixins.js +386 -1
  10. package/src/components/errorMsg/mixins.js +94 -5
  11. package/src/components/excelExport/button.vue +57 -4
  12. package/src/components/excelExport/exportFieldDialog.vue +16 -6
  13. package/src/components/excelExport/index.js +7 -5
  14. package/src/components/excelExport/index.vue +64 -8
  15. package/src/components/excelExport/mixins.js +938 -2
  16. package/src/components/excelImport/mixins.js +750 -1
  17. package/src/components/fileLibrary/fileObjAuthEditDialog.vue +6 -0
  18. package/src/components/fileLibrary/filterDialog.vue +383 -0
  19. package/src/components/fileLibrary/index.vue +23 -24
  20. package/src/components/fileLibrary/mixins/categoryMoveDialogMixins.js +1 -1
  21. package/src/components/fileLibrary/mixins/fileCategoryDialogMixins.js +1 -1
  22. package/src/components/fileLibrary/mixins/fileHistoryDialogMixins.js +2 -2
  23. package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +335 -212
  24. package/src/components/fileLibrary/mixins/fileObjAuthEditDialogMixin.js +31 -27
  25. package/src/components/fileLibrary/mixins/fileObjAuthEditMixin.js +4 -4
  26. package/src/components/fileLibrary/mixins/indexMixins.js +69 -26
  27. package/src/components/fileLibrary/mixins/propertiesDialogMixins.js +63 -3
  28. package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +1 -1
  29. package/src/components/fileLibrary/propertiesDialog.vue +18 -0
  30. package/src/components/fileLibrary/shareDialog.vue +1 -1
  31. package/src/components/formOplog/mixins.js +1 -1
  32. package/src/components/jsonImport/index.js +1 -1
  33. package/src/components/jsonImport/mixins.js +333 -1
  34. package/src/components/langImport/mixins.js +500 -16
  35. package/src/components/statusTag/mixins.js +1 -1
  36. package/src/components/table/CellSlot.vue +1 -0
  37. package/src/components/table/index.js +12 -10
  38. package/src/components/table/tableForm.vue +99 -63
  39. package/src/components/table/tableFormMixin.js +1 -1
  40. package/src/components/table/util/index.js +328 -0
  41. package/src/components/table/vxeFilter/mixin.js +6 -6
  42. package/src/components/tempStorage/index.vue +9 -6
  43. package/src/components/tempStorage/tempStorageDialog.vue +1 -1
  44. package/src/components/vb-tabs/x-tabs.vue +3 -2
  45. package/src/components/wf/addOpinionButton.vue +57 -0
  46. package/src/components/wf/content.vue +138 -28
  47. package/src/components/wf/mixins/addOpinionButton.js +3 -0
  48. package/src/components/wf/mixins/setCandidateButton.js +6 -0
  49. package/src/components/wf/mixins/setCandidateDialog.js +2 -1
  50. package/src/components/wf/mixins/setCandidateDialog2.js +6 -0
  51. package/src/components/wf/mixins/wfTaskUserRangeDialog.js +3 -0
  52. package/src/components/wf/setCandidateButton.vue +40 -0
  53. package/src/components/wf/setCandidateDialog.vue +10 -0
  54. package/src/components/wf/setCandidateDialog2.vue +95 -0
  55. package/src/components/wf/wf.js +1 -1
  56. package/src/components/wf/wfStartDialog.vue +70 -42
  57. package/src/components/wf/wfTaskUserRangeDialog.vue +65 -0
  58. package/src/components/wf/wfUtil.js +1 -1
  59. package/src/components/xform/form-designer/designer.js +1649 -3
  60. package/src/components/xform/form-designer/form-widget/container-widget/containerMixin.js +3 -3
  61. package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +289 -8
  62. package/src/components/xform/form-designer/form-widget/container-widget/data-table-widget.vue +4 -1
  63. package/src/components/xform/form-designer/form-widget/container-widget/detail-widget.vue +3 -3
  64. package/src/components/xform/form-designer/form-widget/dialog/exportDialog.vue +13 -0
  65. package/src/components/xform/form-designer/form-widget/dialog/fileReferenceDialog.vue +301 -0
  66. package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +16 -4
  67. package/src/components/xform/form-designer/form-widget/dialog/formDrawer.vue +5 -1
  68. package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +37 -6
  69. package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +1331 -1
  70. package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +26 -7
  71. package/src/components/xform/form-designer/form-widget/field-widget/a-link-widget.vue +1 -1
  72. package/src/components/xform/form-designer/form-widget/field-widget/a-text-widget.vue +1 -1
  73. package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +34 -5
  74. package/src/components/xform/form-designer/form-widget/field-widget/button-widget.vue +1 -1
  75. package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +14 -6
  76. package/src/components/xform/form-designer/form-widget/field-widget/copy_button-widget.vue +89 -0
  77. package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +1 -0
  78. package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +21 -2
  79. package/src/components/xform/form-designer/form-widget/field-widget/dropdown-item-widget.vue +77 -0
  80. package/src/components/xform/form-designer/form-widget/field-widget/dropdown-menu-widget.vue +106 -0
  81. package/src/components/xform/form-designer/form-widget/field-widget/echart-bar-widget.vue +1 -1
  82. package/src/components/xform/form-designer/form-widget/field-widget/echart-category-widget.vue +1 -1
  83. package/src/components/xform/form-designer/form-widget/field-widget/echart-pie-widget.vue +1 -1
  84. package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1615 -16
  85. package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +652 -379
  86. package/src/components/xform/form-designer/form-widget/field-widget/import-button-widget.vue +10 -8
  87. package/src/components/xform/form-designer/form-widget/field-widget/import2-button-widget.vue +81 -0
  88. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-bar-mixin.js +49 -8
  89. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js +61 -88
  90. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-pie-mixin.js +13 -0
  91. package/src/components/xform/form-designer/form-widget/field-widget/mixins/vabsearch-mixin.js +176 -0
  92. package/src/components/xform/form-designer/form-widget/field-widget/multiSearch-widget.vue +53 -0
  93. package/src/components/xform/form-designer/form-widget/field-widget/number-widget.vue +107 -81
  94. package/src/components/xform/form-designer/form-widget/field-widget/oplog-widget.vue +185 -0
  95. package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +1 -1
  96. package/src/components/xform/form-designer/form-widget/field-widget/print-detail-button-widget.vue +108 -0
  97. package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +70 -3
  98. package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +21 -5
  99. package/src/components/xform/form-designer/form-widget/field-widget/search_button-widget.vue +2 -2
  100. package/src/components/xform/form-designer/form-widget/field-widget/select-export-button-widget.vue +86 -0
  101. package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +17 -5
  102. package/src/components/xform/form-designer/form-widget/field-widget/singerSearch-widget.vue +53 -0
  103. package/src/components/xform/form-designer/form-widget/field-widget/singleUpload-widget.vue +145 -0
  104. package/src/components/xform/form-designer/form-widget/field-widget/static-content-wrapper.vue +2 -1
  105. package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +31 -17
  106. package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +6 -1
  107. package/src/components/xform/form-designer/form-widget/field-widget/tempStorage-widget.vue +127 -0
  108. package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +46 -34
  109. package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +2 -2
  110. package/src/components/xform/form-designer/form-widget/field-widget/vabSearch-widget.vue +2 -170
  111. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +259 -58
  112. package/src/components/xform/form-designer/indexMixin.js +825 -2
  113. package/src/components/xform/form-designer/setting-panel/form-setting.vue +927 -159
  114. package/src/components/xform/form-designer/setting-panel/index.vue +4 -0
  115. package/src/components/xform/form-designer/setting-panel/indexMixin.js +1 -1
  116. package/src/components/xform/form-designer/setting-panel/option-items-setting.vue +376 -302
  117. package/src/components/xform/form-designer/setting-panel/property-editor/a-link-editor.vue +4 -4
  118. package/src/components/xform/form-designer/setting-panel/property-editor/a-text-editor.vue +3 -3
  119. package/src/components/xform/form-designer/setting-panel/property-editor/autoValueEnabled-editor.vue +38 -0
  120. package/src/components/xform/form-designer/setting-panel/property-editor/censusClass-editor.vue +6 -0
  121. package/src/components/xform/form-designer/setting-panel/property-editor/colorClass-editor.vue +28 -0
  122. package/src/components/xform/form-designer/setting-panel/property-editor/commonAttributeEnabled-editor.vue +41 -0
  123. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/columnRenderDialog.vue +126 -0
  124. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +1196 -1042
  125. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/onCheckboxChange-editor.vue +1 -1
  126. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +1160 -511
  127. package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-editor.vue +2 -2
  128. package/src/components/xform/form-designer/setting-panel/property-editor/container-detail-pane/detail-pane-editor.vue +3 -3
  129. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-offset-editor.vue +1 -1
  130. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-pull-editor.vue +1 -1
  131. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-push-editor.vue +1 -1
  132. package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +0 -8
  133. package/src/components/xform/form-designer/setting-panel/property-editor/copyButton-editor.vue +36 -0
  134. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin.js +2 -2
  135. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onAfterConfirmFile-editor.vue +32 -0
  136. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onClick-editor.vue +2 -2
  137. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/clickBindEvent-editor.vue +35 -20
  138. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +64 -5
  139. package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-defaultTime-editor.vue +27 -0
  140. package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-item-editor.vue +21 -0
  141. package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-menu-editor.vue +59 -0
  142. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-bar-editor.vue +185 -69
  143. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +188 -86
  144. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-pie-editor.vue +84 -39
  145. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +32 -9
  146. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +86 -0
  147. package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-button-editor.vue +8 -0
  148. package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-detail-button-editor.vue +91 -0
  149. package/src/components/xform/form-designer/setting-panel/property-editor/field-rate/rate-defaultValue-editor.vue +1 -1
  150. package/src/components/xform/form-designer/setting-panel/property-editor/field-status/field-status-editor.vue +67 -41
  151. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-button-editor.vue +56 -0
  152. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +26 -7
  153. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabSearchName-editor.vue +13 -1
  154. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload/field-vabUpload-editor.vue +30 -1
  155. package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +52 -5
  156. package/src/components/xform/form-designer/setting-panel/property-editor/formula-editor.vue +721 -466
  157. package/src/components/xform/form-designer/setting-panel/property-editor/labelColor-editor.vue +20 -11
  158. package/src/components/xform/form-designer/setting-panel/property-editor/labelIconClass-editor.vue +1 -1
  159. package/src/components/xform/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue +1 -1
  160. package/src/components/xform/form-designer/setting-panel/property-editor/labelTooltip-editor.vue +1 -1
  161. package/src/components/xform/form-designer/setting-panel/property-editor/limit-editor.vue +1 -1
  162. package/src/components/xform/form-designer/setting-panel/property-editor/multiple-editor.vue +19 -14
  163. package/src/components/xform/form-designer/setting-panel/property-editor/multipleLimit-editor.vue +1 -1
  164. package/src/components/xform/form-designer/setting-panel/property-editor/oplog-editor.vue +31 -0
  165. package/src/components/xform/form-designer/setting-panel/property-editor/precision-editor.vue +1 -1
  166. package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +318 -0
  167. package/src/components/xform/form-designer/setting-panel/property-editor/required-editor.vue +10 -6
  168. package/src/components/xform/form-designer/setting-panel/property-editor/requiredHint-editor.vue +3 -3
  169. package/src/components/xform/form-designer/setting-panel/property-editor/showRuleFlag-editor.vue +1 -1
  170. package/src/components/xform/form-designer/setting-panel/property-editor/tempStorage-editor.vue +23 -0
  171. package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +305 -19
  172. package/src/components/xform/form-designer/setting-panel/property-editor/validation-editor.vue +2 -2
  173. package/src/components/xform/form-designer/setting-panel/property-editor/validationHint-editor.vue +2 -2
  174. package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +384 -53
  175. package/src/components/xform/form-designer/setting-panel/property-editor/widgetShowRuleFlag-editor.vue +263 -0
  176. package/src/components/xform/form-designer/setting-panel/propertyRegister.js +29 -11
  177. package/src/components/xform/form-designer/toolbar-panel/index.vue +12 -11
  178. package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +1 -1
  179. package/src/components/xform/form-designer/widget-panel/index.vue +21 -1
  180. package/src/components/xform/form-designer/widget-panel/indexMixin.js +3 -2
  181. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +1508 -865
  182. package/src/components/xform/form-render/container-item/containerItemMixin.js +359 -11
  183. package/src/components/xform/form-render/container-item/data-table-item.vue +89 -42
  184. package/src/components/xform/form-render/container-item/data-table-mixin.js +2728 -18
  185. package/src/components/xform/form-render/container-item/detail-pane-item.vue +17 -3
  186. package/src/components/xform/form-render/container-item/grid-col-item.vue +10 -3
  187. package/src/components/xform/form-render/container-item/grid-item.vue +1 -1
  188. package/src/components/xform/form-render/container-item/list-h5-item.vue +1 -9
  189. package/src/components/xform/form-render/container-item/list-h5-item2.vue +1 -8
  190. package/src/components/xform/form-render/container-item/tab-item.vue +11 -6
  191. package/src/components/xform/form-render/container-item/table-cell-item.vue +38 -32
  192. package/src/components/xform/form-render/container-item/table-item.vue +4 -2
  193. package/src/components/xform/form-render/index.vue +4 -1
  194. package/src/components/xform/form-render/indexMixin.js +3129 -4
  195. package/src/components/xform/lang/zh-CN.js +19 -3
  196. package/src/components/xform/mixins/defaultHandle.js +1 -1
  197. package/src/components/xform/mixins/scriptHttp.js +175 -1
  198. package/src/components/xform/utils/emitter.js +4 -4
  199. package/src/components/xform/utils/format.js +21 -30
  200. package/src/components/xform/utils/formula-util.js +669 -0
  201. package/src/components/xform/utils/util.js +1451 -1
  202. package/src/components/xform/utils/validators.js +1 -5
  203. package/src/index.js +2 -2
  204. package/src/layout/components/AppMain.vue +5 -1
  205. package/src/layout/components/Sidebar/default.vue +50 -6
  206. package/src/layout/components/TagsView/index.vue +37 -12
  207. package/src/layout/components/extractedCode/createDialog.vue +92 -0
  208. package/src/layout/components/extractedCode/queryDialog.vue +96 -0
  209. package/src/layout/components/extractedCode/viewDialog.vue +193 -0
  210. package/src/layout/components/watermark/index.vue +83 -0
  211. package/src/layout/defaultLayout.vue +1 -1
  212. package/src/mixins/selectDialog/index.js +1 -1
  213. package/src/mixins/tableTree/index.js +1 -1
  214. package/src/router/modules/customer.js +61 -8
  215. package/src/store/config/index.js +1 -1
  216. package/src/store/modules/permission.js +1 -1
  217. package/src/store/modules/settings.js +1 -1
  218. package/src/store/modules/tagsView.js +1 -14
  219. package/src/store/modules/user.js +1 -1
  220. package/src/utils/index.js +2 -3
  221. package/src/utils/pddLog.js +103 -0
  222. package/src/utils/pdfUtil.js +71 -0
  223. package/src/utils/request.js +359 -1
  224. package/src/utils/vab.js +1113 -27
  225. package/src/views/bd/setting/bd_attach_setting/edit.vue +5 -5
  226. package/src/views/bd/setting/bd_attach_setting/list.vue +28 -55
  227. package/src/views/bd/setting/bd_attach_setting/mixins/edit.js +4 -5
  228. package/src/views/bd/setting/bd_attach_setting/mixins/list.js +239 -1
  229. package/src/views/bd/setting/bd_company_env/dialog.vue +174 -0
  230. package/src/views/bd/setting/bd_company_env/edit.vue +163 -0
  231. package/src/views/bd/setting/bd_company_env/list.vue +175 -0
  232. package/src/views/bd/setting/config_manage/list.vue +51 -0
  233. package/src/views/bd/setting/form_import_log/edit.vue +127 -0
  234. package/src/views/bd/setting/form_import_log/list.vue +206 -0
  235. package/src/views/bd/setting/form_script/edit.vue +9 -0
  236. package/src/views/bd/setting/form_script/edit1.vue +36 -3
  237. package/src/views/bd/setting/form_script/form_list.vue +1 -1
  238. package/src/views/bd/setting/form_script/list1.vue +4 -4
  239. package/src/views/bd/setting/form_script/mixins/dialog.js +130 -1
  240. package/src/views/bd/setting/form_script/mixins/edit.js +201 -1
  241. package/src/views/bd/setting/form_script/mixins/edit1.js +193 -1
  242. package/src/views/bd/setting/form_script/mixins/form_list.js +1 -1
  243. package/src/views/bd/setting/form_script/mixins/list.js +236 -1
  244. package/src/views/bd/setting/form_script/mixins/list1.js +423 -14
  245. package/src/views/bd/setting/form_script/mixins/otherAuthDialog.js +194 -0
  246. package/src/views/bd/setting/form_script/otherAuthDialog.vue +83 -0
  247. package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +105 -0
  248. package/src/views/bd/setting/form_template/edit.vue +22 -1
  249. package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +2 -2
  250. package/src/views/bd/setting/form_template/list.vue +5 -5
  251. package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +282 -0
  252. package/src/views/bd/setting/form_template/mixins/edit.js +234 -9
  253. package/src/views/bd/setting/form_template/mixins/list.js +689 -22
  254. package/src/views/bd/setting/form_template/mixins/otherAuthDialog.js +193 -0
  255. package/src/views/bd/setting/form_template/mixins/wf_list.js +12 -0
  256. package/src/views/bd/setting/form_template/otherAuthDialog.vue +83 -0
  257. package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +254 -0
  258. package/src/views/bd/setting/form_template/wf_list.vue +127 -0
  259. package/src/views/bd/setting/menu_kind/list.vue +4 -0
  260. package/src/views/bd/setting/menu_kind/mixins/authDialog.js +294 -1
  261. package/src/views/bd/setting/menu_kind/mixins/list.js +201 -1
  262. package/src/views/bd/setting/push_data/edit.vue +139 -0
  263. package/src/views/bd/setting/push_data/list.vue +283 -0
  264. package/src/views/bd/setting/push_data_h/edit.vue +153 -0
  265. package/src/views/bd/setting/push_data_h/list.vue +293 -0
  266. package/src/views/bd/setting/request_async_setting/edit.vue +320 -0
  267. package/src/views/bd/setting/request_async_setting/list.vue +372 -0
  268. package/src/views/bd/setting/request_setting/edit.vue +300 -0
  269. package/src/views/bd/setting/request_setting/list.vue +311 -0
  270. package/src/views/bd/setting/table_model/edit.vue +875 -426
  271. package/src/views/bd/setting/table_model/list.vue +4 -4
  272. package/src/views/bd/setting/table_model/mixins/dialog.js +1 -1
  273. package/src/views/bd/setting/table_model/mixins/edit.js +1202 -13
  274. package/src/views/bd/setting/table_model/mixins/list.js +440 -14
  275. package/src/views/bd/setting/table_model/mixins/otherAuthDialog.js +201 -0
  276. package/src/views/bd/setting/table_model/otherAuthDialog.vue +83 -0
  277. package/src/views/user/area/dialog.vue +21 -9
  278. package/src/views/user/bill_setting/edit.vue +1 -1
  279. package/src/views/user/bill_setting/list.vue +1 -1
  280. package/src/views/user/common_attribute/itemEdit.vue +2 -2
  281. package/src/views/user/common_attribute/list.vue +1 -1
  282. package/src/views/user/common_script/edit.vue +1 -1
  283. package/src/views/user/common_script/list.vue +1 -1
  284. package/src/views/user/company_info/dialog.vue +164 -154
  285. package/src/views/user/company_info/edit.vue +1 -1
  286. package/src/views/user/extend_datasource/dialog.vue +1 -0
  287. package/src/views/user/extend_datasource/edit.vue +3 -0
  288. package/src/views/user/extend_datasource/list.vue +2 -1
  289. package/src/views/user/fieldTranslation/editDialog.vue +7 -7
  290. package/src/views/user/fieldTranslation/list.vue +32 -32
  291. package/src/views/user/form/vform/designer.vue +775 -749
  292. package/src/views/user/form/vform/out_render.vue +1 -1
  293. package/src/views/user/form/vform/render.vue +8 -4
  294. package/src/views/user/form/view/edit.vue +38 -37
  295. package/src/views/user/form/view/list.vue +68 -15
  296. package/src/views/user/groups/edit.vue +2 -0
  297. package/src/views/user/groups/list.vue +1 -0
  298. package/src/views/user/home/default.vue +1025 -979
  299. package/src/views/user/home/dev.vue +29 -0
  300. package/src/views/user/home/index.vue +16 -6
  301. package/src/views/user/home/taili/index.vue +1034 -0
  302. package/src/views/user/login/default.vue +32 -3
  303. package/src/views/user/login/indexMixin.js +117 -3
  304. package/src/views/user/notify_message/dialog.vue +39 -18
  305. package/src/views/user/notify_template/edit.vue +188 -187
  306. package/src/views/user/notify_template/edit2.vue +176 -0
  307. package/src/views/user/notify_template/list.vue +4 -1
  308. package/src/views/user/notify_template/list2.vue +190 -0
  309. package/src/views/user/outLink/form_view.vue +211 -184
  310. package/src/views/user/outLink/index.vue +17 -0
  311. package/src/views/user/outLink/view.vue +28 -23
  312. package/src/views/user/position/edit.vue +55 -54
  313. package/src/views/user/position/list.vue +4 -4
  314. package/src/views/user/project_tag/dialog.vue +9 -4
  315. package/src/views/user/project_tag/edit.vue +2 -2
  316. package/src/views/user/project_tag/list.vue +9 -4
  317. package/src/views/user/push_setting/list.vue +2 -2
  318. package/src/views/user/request_setting/edit.vue +258 -0
  319. package/src/views/user/request_setting/list.vue +248 -0
  320. package/src/views/user/role/dialog.vue +1 -1
  321. package/src/views/user/role/list.vue +4 -4
  322. package/src/views/user/sale_org/dialog.vue +1 -1
  323. package/src/views/user/sale_org/list.vue +4 -1
  324. package/src/views/user/user/dialog.vue +46 -23
  325. package/src/views/user/user/edit.vue +1059 -1021
  326. package/src/views/user/user/form_dialog.vue +158 -0
  327. package/src/views/user/user/form_edit.vue +63 -2
  328. package/src/views/user/user/form_info.vue +210 -0
  329. package/src/views/user/user/form_list.vue +1 -0
  330. package/src/views/user/user/list.vue +22 -3
  331. package/src/views/user/wf/wf_auto_submit_data/list.vue +2 -0
  332. package/src/views/user/wf/wf_manage/list.vue +30 -1
  333. package/src/views/user/wf/wf_manage/wfContentDialog.vue +1 -1
  334. package/src/views/user/wf/wf_obj_config/importItemDialog.vue +109 -0
  335. package/src/views/user/wf/wf_obj_config/itemEdit.vue +25 -1
  336. package/src/views/user/wf/wf_obj_config/list.vue +114 -9
  337. package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +2 -2
@@ -0,0 +1,301 @@
1
+ <template>
2
+ <el-dialog
3
+ :visible.sync="showDialog"
4
+ v-el-drag-dialog
5
+ v-el-dialog-center
6
+ v-bind="dialogConfig"
7
+ @close="close"
8
+ >
9
+ <div class="cont designer-view" v-bind="bodyConfig" id="containt">
10
+ <component v-if="showWfContent && wfContent" :is="wfContent" visible-key="showWfContent" :outParam.sync="outParam"
11
+ :_dataId.sync="dataId" :defaultShowWfContent="defaultShowWfContent" :_isOutLink="true"
12
+ :parent-target="_self"
13
+ @reload="$reloadHandle" v-bind="queryParam" v-on="listeners"></component>
14
+ </div>
15
+ <span slot="footer" class="dialog-footer" v-if="option.showFooter!==false" v-bind="option.footerConfig">
16
+ <el-button type="primary" plain class="button-sty" @click="close">
17
+ <i class="el-icon-close el-icon"></i>
18
+ {{ $t2('取 消', 'system.button.cancel2') }}
19
+ </el-button>
20
+ <el-button type="primary" @click="dialogSubmit" class="button-sty">
21
+ <i class="el-icon-check el-icon"></i>
22
+ {{ $t2('确 定', 'system.button.confirm2') }}
23
+ </el-button>
24
+ </span>
25
+ </el-dialog>
26
+ </template>
27
+
28
+ <script>
29
+
30
+ export default {
31
+ // name: "vabSearchDialog",
32
+ components: {},
33
+ props: {
34
+ visiable: Boolean,
35
+ option: Object
36
+ },
37
+ mixins: [],
38
+ inject: ["getFormConfig"],
39
+
40
+ mounted() {
41
+
42
+ },
43
+ data() {
44
+ var that = this;
45
+ return {
46
+ showFormField: "_tt",
47
+ showDialog: true,
48
+ falseValue: false,
49
+ selectMulti: true,
50
+
51
+ formJson: {},
52
+ formData: {},
53
+ optionData: {},
54
+ showRender: false,
55
+ formTemplate: {},
56
+ /* formCode: null,*/
57
+ layoutType: null,
58
+ conditionParam: null,
59
+ formInsData: null,
60
+ $grid: null,
61
+ currentLayoutType: null,
62
+ dataId: null,
63
+
64
+ showWfContent: true,
65
+ wfContent: null,
66
+ outParam: null,
67
+ // dataId: null,
68
+ defaultShowWfContent: null,
69
+ queryParam: {},
70
+ listeners:null
71
+ };
72
+ },
73
+ computed: {
74
+ formCode() {
75
+ return this.option.formCode;
76
+ },
77
+ dialogParam() {
78
+ return this.option?.param;
79
+ },
80
+ formConfig() {
81
+ return this.option?.formConfig;
82
+ },
83
+ dialogConfig() {
84
+ let customClass = "dialog-style list-dialog dialog-checkbox pd_0";
85
+ if (this.option.dialogConfig?.customClass) {
86
+ customClass = customClass + " " + this.option.dialogConfig.customClass
87
+ }
88
+ let config = {
89
+ title: this.formTemplate.formName,
90
+ appendToBody: true,
91
+ modalAppendToBody: true,
92
+ closeOnClickModal: false,
93
+ modal: false,
94
+ width: "1200px",
95
+ fullscreen: this.option.fullscreen,
96
+ };
97
+ config = Object.assign({}, config, this.option.dialogConfig, {customClass});
98
+ config.title = this.$t1(config.title);
99
+ return config;
100
+ },
101
+ bodyConfig() {
102
+ let config = {};
103
+ let classStr = this.currentLayoutType
104
+ if (this.option.bodyConfig?.class) {
105
+ classStr = classStr + " " + this.option.bodyConfig.class;
106
+ }
107
+ if (this.option.showFooter == false) {
108
+ classStr = classStr + " nfootBtn";
109
+ }
110
+ config = Object.assign({}, config, this.option.bodyConfig, {class: classStr});
111
+ return config;
112
+ }
113
+ },
114
+ created() {
115
+ /*let dataId = this.option?.formConfig?.dataId??null
116
+ delete this.option?.formConfig?.dataId
117
+ this.dataId = dataId;*/
118
+
119
+ let currentFormConfig = this.getFormConfig();
120
+ this.currentLayoutType = currentFormConfig.layoutType
121
+
122
+ // this.selectMulti = this.option.multiple ?? true;
123
+ this.initData();
124
+ },
125
+ methods: {
126
+ initData() {
127
+ const isMobile = /iPhone|iPad|iPod|Android/i.test(navigator.userAgent);
128
+ let queryParam = this.$baseLodash.cloneDeep(this.dialogParam);
129
+ let murl = queryParam.urlmobile;
130
+ let purl = murl && isMobile ? murl : queryParam.url;
131
+ let dataId = queryParam.dataId??null;
132
+ if (purl == '/index') {
133
+ location.hash = '/home';
134
+ location.reload();
135
+ return;
136
+ }
137
+
138
+ this.dataId = dataId;
139
+ if (queryParam.showWfContent == 'true') {
140
+ this.defaultShowWfContent = true;
141
+ }
142
+
143
+ delete queryParam.urlmobile;
144
+ delete queryParam.url;
145
+
146
+ if (purl.indexOf('.html') >= 0) {
147
+ let eUrl = purl;
148
+ let pstr = Object.keys(queryParam).map(key => {
149
+ return key + "=" + queryParam[key]
150
+ }).join("&")
151
+
152
+ if (pstr) {
153
+ if (purl.indexOf('.html?') >= 0) {
154
+ eUrl = eUrl + '&' + pstr
155
+ } else {
156
+ eUrl = eUrl + '?' + pstr
157
+ }
158
+ }
159
+
160
+ location.href = eUrl;
161
+ return
162
+ }
163
+
164
+ delete queryParam.dataId;
165
+ delete queryParam.showWfContent;
166
+ delete queryParam.access_token;
167
+ delete queryParam.tp;
168
+ delete queryParam.thirdparty_info;
169
+ delete queryParam.i18nLang;
170
+
171
+ let url = purl + '.vue';
172
+ this.queryParam = queryParam;
173
+ let listeners= this.option?.on;
174
+ this.listeners = listeners;
175
+
176
+ this.showWfContent = true;
177
+
178
+ let t = "@base/views";
179
+ let urlArr = [
180
+ '/user/bill_setting/h5_view.vue',
181
+ '/user/form/view/list.vue',
182
+ '/user/form/view/edit.vue'
183
+ ]
184
+
185
+ if (urlArr.includes(url)) {
186
+ this.wfContent = require('@base/views' + url).default;
187
+ } else if (url.startsWith(t)) {
188
+ let path = url.slice(t.length);
189
+ this.wfContent = require('@base/views' + path).default;
190
+ } else {
191
+ this.wfContent = require('@/views' + url).default;
192
+ }
193
+ },
194
+
195
+
196
+ reload(e, option) {
197
+ let updateParam = option?.updateParam || {};
198
+ Object.assign(this.formConfig, updateParam)
199
+ this.showRender = false;
200
+ this.getReportTemplate();
201
+ },
202
+ async getReportTemplate(callback) {
203
+ let param = {
204
+ objTypeCode: this.$attrs.objTypeCode,
205
+ objId: this.$attrs.objId,
206
+ taskId: this.$attrs.taskId
207
+ };
208
+ this.conditionParam = param;
209
+ let url, data;
210
+ url = USER_PREFIX + `/formTemplate/getByFormCode`;
211
+ data = {stringOne: this.formCode}
212
+
213
+ let that = this;
214
+ this.$http({
215
+ url: url,
216
+ method: `post`,
217
+ data: data,
218
+ isLoading: true,
219
+ loadingTarget: document.body,
220
+ modalStrictly: true,
221
+ success: res => {
222
+ let formTemplate = res.objx || {};
223
+ this.formTemplate = formTemplate;
224
+ this.formJson = formTemplate.formViewContent ? JSON.parse(formTemplate.formViewContent) : {};
225
+ this.layoutType = this.formJson.formConfig.layoutType
226
+ let formConfig = this.formJson.formConfig;
227
+ if (formConfig.searchDialogUniqueField) {
228
+ this.fieldKey = formConfig.searchDialogUniqueField;
229
+ }
230
+
231
+ this.showRender = true;
232
+
233
+
234
+ }
235
+ });
236
+ },
237
+ close() {
238
+ let formRef = this.$refs.vFormRef;
239
+ this.showDialog = false;
240
+ this.$emit('update:visiable', false);
241
+ this.option.close && this.option.close(formRef, this);
242
+ },
243
+ dialogSubmit() {
244
+ let formRef = this.$refs.vFormRef;
245
+ if (this.option.confirm) {
246
+ if (this.option.confirm(formRef, this) !== false) {
247
+ this.close();
248
+ }
249
+ } else {
250
+ this.close();
251
+ }
252
+ }
253
+ }
254
+ }
255
+ </script>
256
+
257
+ <style lang="scss" scoped>
258
+ ::v-deep .H5 .h5-fixed-bottom-btns {
259
+ bottom: 95px;
260
+ }
261
+
262
+ .list-dialog {
263
+ .el-dialog__body {
264
+ height: calc(100% - 42px);
265
+
266
+ .cont {
267
+ height: calc(100vh - 210px);
268
+
269
+ &.nfootBtn {
270
+ height: calc(100vh - 158px)
271
+ }
272
+
273
+ &#containt {
274
+ padding: 0;
275
+
276
+ ::v-deep .grid-container {
277
+ outline: none;
278
+
279
+ &.detail-wrap .d-cont {
280
+ height: calc(100vh - 150px);
281
+
282
+ .title .field-wrapper {
283
+ display: inline-block !important
284
+ }
285
+ }
286
+ }
287
+ }
288
+ }
289
+ }
290
+
291
+ &.is-fullscreen .el-dialog__body {
292
+ .cont {
293
+ height: calc(100vh - 110px);
294
+
295
+ &.nfootBtn {
296
+ height: calc(100vh - 58px)
297
+ }
298
+ }
299
+ }
300
+ }
301
+ </style>
@@ -6,11 +6,11 @@
6
6
  v-bind="dialogConfig"
7
7
  @close="close"
8
8
  >
9
- <div class="cont" v-bind="bodyConfig" id="containt">
9
+ <div class="cont designer-view" v-bind="bodyConfig" id="containt">
10
10
  <v-form-render :form-json.sync="formJson" :form-data="formData" :option-data="optionData" ref="vFormRef"
11
11
  :reportTemplate.sync="formTemplate" :conditionParam.sync="conditionParam"
12
12
  :formInsData.sync="formInsData" v-if="showRender" visible-key="showRender" :parent-target="_self"
13
- @reload="$baseReload()" v-bind="formConfig" :param="dialogParam"
13
+ @reload="reload" v-bind="formConfig" :param="dialogParam"
14
14
  class="data-table_height"/>
15
15
  </div>
16
16
  <span slot="footer" class="dialog-footer" v-if="option.showFooter!==false" v-bind="option.footerConfig">
@@ -38,6 +38,7 @@ export default {
38
38
  },
39
39
  mixins: [],
40
40
  inject: ["getFormConfig"],
41
+
41
42
  mounted() {
42
43
 
43
44
  },
@@ -59,7 +60,8 @@ export default {
59
60
  conditionParam: null,
60
61
  formInsData: null,
61
62
  $grid: null,
62
- currentLayoutType: null
63
+ currentLayoutType: null,
64
+ dataId:null
63
65
  };
64
66
  },
65
67
  computed: {
@@ -104,6 +106,10 @@ export default {
104
106
  }
105
107
  },
106
108
  created() {
109
+ /*let dataId = this.option?.formConfig?.dataId??null
110
+ delete this.option?.formConfig?.dataId
111
+ this.dataId = dataId;*/
112
+
107
113
  let currentFormConfig = this.getFormConfig();
108
114
  this.currentLayoutType = currentFormConfig.layoutType
109
115
 
@@ -111,7 +117,13 @@ export default {
111
117
  this.getReportTemplate();
112
118
  },
113
119
  methods: {
114
- async getReportTemplate() {
120
+ reload(e,option){
121
+ let updateParam = option?.updateParam || {};
122
+ Object.assign(this.formConfig,updateParam)
123
+ this.showRender = false;
124
+ this.getReportTemplate();
125
+ },
126
+ async getReportTemplate(callback) {
115
127
  let param = {
116
128
  objTypeCode: this.$attrs.objTypeCode,
117
129
  objId: this.$attrs.objId,
@@ -4,7 +4,7 @@
4
4
  <v-form-render :form-json.sync="formJson" :form-data="formData" :option-data="optionData" ref="vFormRef"
5
5
  :reportTemplate.sync="formTemplate" :conditionParam.sync="conditionParam"
6
6
  :formInsData.sync="formInsData" v-if="showRender" visible-key="showRender" :parent-target="_self"
7
- @reload="$baseReload()" :param="dialogParam"
7
+ @reload="reload" :param="dialogParam"
8
8
  class="data-table_height"/>
9
9
  </div>
10
10
  <span class="dialog-footer" v-if="option.showFooter!==false" v-bind="option.footerConfig">
@@ -105,6 +105,10 @@ export default {
105
105
  this.getReportTemplate();
106
106
  },
107
107
  methods: {
108
+ reload(){
109
+ this.showRender = false;
110
+ this.getReportTemplate();
111
+ },
108
112
  async getReportTemplate() {
109
113
  let param = {
110
114
  objTypeCode: this.$attrs.objTypeCode,
@@ -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"
@@ -62,11 +63,33 @@
62
63
  custom-class="dialog-style"
63
64
  width="501px"
64
65
  height="250px"
65
- @close="dialogClose2"
66
+ :beforeClose="handleBeforeClose"
67
+ @close="handleClose2"
66
68
  v-el-drag-dialog
67
69
  >
68
70
  <div>
69
- <div class="import-box">
71
+ <div v-show="importLoading" class="import-stepbox">
72
+ <ul>
73
+ <li :class="getLoadingClass(1,percent1)">
74
+ <i class="el-icon-circle-check"></i>
75
+ <i class="el-icon-loading"></i>
76
+ <span v-html="$t1('上传导入文件 {percent}', {percent: `<span class=nums>${percent1}%</span>`})"></span>
77
+ </li>
78
+ <li :class="getLoadingClass(2,percent2)">
79
+ <i class="el-icon-circle-check"></i>
80
+ <i class="el-icon-loading"></i>
81
+ <span
82
+ v-html="$t1('校验导入文件中的图片数据格式 {percent}', {percent: `<span class=nums>${percent2}%</span>`})"></span>
83
+ </li>
84
+ <li :class="getLoadingClass(3,percent3)">
85
+ <i class="el-icon-circle-check"></i>
86
+ <i class="el-icon-loading"></i>
87
+ <span
88
+ v-html="$t1('存储导入文件中的图片 {percent}', {percent: `<span class=nums>${percent3}%</span>`})"></span>
89
+ </li>
90
+ </ul>
91
+ </div>
92
+ <div v-show="!importLoading" class="import-box" style="margin-bottom: 30px;">
70
93
  <div class="tips">
71
94
  {{ $t2('导入中,请勿关闭当前窗口', 'components.excelImport.tip2') }}
72
95
  <!-- <span class="fr">耗时:<em class="time-txt">0 时 0 分 0 秒 </em></span> -->
@@ -88,7 +111,7 @@
88
111
  </div>
89
112
  </div>
90
113
  <div slot="footer" class="dialog-footer" center="true">
91
- <div class="fl import-count">
114
+ <div class="fl import-count" v-show="!importLoading">
92
115
  <span class="f-red doneNum">0</span>
93
116
  /
94
117
  <span class="dataSize">0</span>
@@ -130,12 +153,20 @@
130
153
  <div class="clearfix screen-btns">
131
154
  <div class="fl">
132
155
  <vxe-button status="primary" class="button-sty" icon="el-icon-upload2" @click="exportToExcel()">
133
- 导出
156
+ {{ $t1('导出') }}
134
157
  </vxe-button>
135
158
  </div>
136
159
  <div class="fr"></div>
137
160
  </div>
138
161
  </template>
162
+ <template #attachment="{row,column}">
163
+ <base-attachment :option="{
164
+ title: column.title,
165
+ rows: row[column.field],
166
+ showViewButton: true,
167
+ edit:false
168
+ }"/>
169
+ </template>
139
170
  </vxe-grid>
140
171
  </div>
141
172
  </div>