cloud-web-corejs 1.0.54-dev.30 → 1.0.54-dev.301

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 (323) hide show
  1. package/package.json +8 -3
  2. package/src/components/Qrcode/fileParse.vue +0 -1
  3. package/src/components/VabUpload/index.vue +2 -1
  4. package/src/components/VabUpload/mixins.js +1 -1
  5. package/src/components/VabUpload/propertiesDialog.vue +1 -1
  6. package/src/components/VabUpload/view.vue +135 -119
  7. package/src/components/advancedSearchDialog/mixins.js +1 -1
  8. package/src/components/baseAttachment/index.vue +49 -40
  9. package/src/components/baseAttachment/mixins.js +1 -1
  10. package/src/components/errorMsg/mixins.js +89 -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 +48 -5
  14. package/src/components/excelExport/index.vue +64 -8
  15. package/src/components/excelExport/mixins.js +937 -2
  16. package/src/components/fileLibrary/fileObjAuthEditDialog.vue +6 -0
  17. package/src/components/fileLibrary/fileObjNotifyEdit.vue +72 -31
  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 +77 -1
  32. package/src/components/jsonImport/index.js +1 -1
  33. package/src/components/jsonImport/mixins.js +1 -1
  34. package/src/components/statusTag/mixins.js +66 -1
  35. package/src/components/table/CellSlot.vue +1 -0
  36. package/src/components/table/index.js +12 -10
  37. package/src/components/table/tableForm.vue +99 -63
  38. package/src/components/table/tableFormMixin.js +1 -1
  39. package/src/components/table/util/index.js +331 -0
  40. package/src/components/table/vxeFilter/mixin.js +6 -6
  41. package/src/components/tempStorage/index.vue +9 -6
  42. package/src/components/tempStorage/tempStorageDialog.vue +1 -1
  43. package/src/components/vb-tabs/x-tabs.vue +3 -2
  44. package/src/components/wf/content.vue +125 -28
  45. package/src/components/wf/mixins/setCandidateDialog.js +218 -1
  46. package/src/components/wf/setCandidateDialog.vue +10 -0
  47. package/src/components/wf/setCandidateDialog2.vue +320 -0
  48. package/src/components/wf/wf.js +2062 -1
  49. package/src/components/wf/wfStartDialog.vue +70 -42
  50. package/src/components/wf/wfTaskUserRangeDialog.vue +136 -0
  51. package/src/components/wf/wfUtil.js +279 -1
  52. package/src/components/xform/form-designer/designer.js +1543 -2
  53. package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +2 -1
  54. package/src/components/xform/form-designer/form-widget/container-widget/detail-widget.vue +3 -3
  55. package/src/components/xform/form-designer/form-widget/dialog/exportDialog.vue +13 -0
  56. package/src/components/xform/form-designer/form-widget/dialog/fileReferenceDialog.vue +301 -0
  57. package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +16 -4
  58. package/src/components/xform/form-designer/form-widget/dialog/formDrawer.vue +5 -1
  59. package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +37 -6
  60. package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +3 -1
  61. package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +26 -7
  62. package/src/components/xform/form-designer/form-widget/field-widget/a-link-widget.vue +1 -1
  63. package/src/components/xform/form-designer/form-widget/field-widget/a-text-widget.vue +1 -1
  64. package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +34 -5
  65. package/src/components/xform/form-designer/form-widget/field-widget/button-widget.vue +1 -1
  66. package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +14 -6
  67. package/src/components/xform/form-designer/form-widget/field-widget/copy_button-widget.vue +89 -0
  68. package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +1 -0
  69. package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +21 -2
  70. package/src/components/xform/form-designer/form-widget/field-widget/dropdown-item-widget.vue +77 -0
  71. package/src/components/xform/form-designer/form-widget/field-widget/dropdown-menu-widget.vue +106 -0
  72. package/src/components/xform/form-designer/form-widget/field-widget/echart-bar-widget.vue +1 -1
  73. package/src/components/xform/form-designer/form-widget/field-widget/echart-category-widget.vue +1 -1
  74. package/src/components/xform/form-designer/form-widget/field-widget/echart-pie-widget.vue +1 -1
  75. package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1520 -16
  76. package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +632 -379
  77. package/src/components/xform/form-designer/form-widget/field-widget/import-button-widget.vue +6 -8
  78. package/src/components/xform/form-designer/form-widget/field-widget/import2-button-widget.vue +81 -0
  79. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-bar-mixin.js +49 -8
  80. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js +61 -88
  81. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-pie-mixin.js +13 -0
  82. package/src/components/xform/form-designer/form-widget/field-widget/mixins/vabsearch-mixin.js +176 -0
  83. package/src/components/xform/form-designer/form-widget/field-widget/multiSearch-widget.vue +53 -0
  84. package/src/components/xform/form-designer/form-widget/field-widget/number-widget.vue +2 -2
  85. package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +70 -3
  86. package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +21 -5
  87. package/src/components/xform/form-designer/form-widget/field-widget/search_button-widget.vue +2 -2
  88. package/src/components/xform/form-designer/form-widget/field-widget/select-export-button-widget.vue +86 -0
  89. package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +17 -5
  90. package/src/components/xform/form-designer/form-widget/field-widget/singerSearch-widget.vue +53 -0
  91. package/src/components/xform/form-designer/form-widget/field-widget/static-content-wrapper.vue +2 -1
  92. package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +22 -17
  93. package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +6 -1
  94. package/src/components/xform/form-designer/form-widget/field-widget/tableexportbuttonwidget.vue +99 -0
  95. package/src/components/xform/form-designer/form-widget/field-widget/tempStorage-widget.vue +127 -0
  96. package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +46 -34
  97. package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +2 -2
  98. package/src/components/xform/form-designer/form-widget/field-widget/vabSearch-widget.vue +2 -170
  99. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +88 -8
  100. package/src/components/xform/form-designer/indexMixin.js +820 -1
  101. package/src/components/xform/form-designer/setting-panel/form-setting.vue +880 -158
  102. package/src/components/xform/form-designer/setting-panel/index.vue +4 -0
  103. package/src/components/xform/form-designer/setting-panel/indexMixin.js +1 -1
  104. package/src/components/xform/form-designer/setting-panel/option-items-setting.vue +71 -7
  105. package/src/components/xform/form-designer/setting-panel/property-editor/a-link-editor.vue +4 -4
  106. package/src/components/xform/form-designer/setting-panel/property-editor/a-text-editor.vue +3 -3
  107. package/src/components/xform/form-designer/setting-panel/property-editor/autoValueEnabled-editor.vue +38 -0
  108. package/src/components/xform/form-designer/setting-panel/property-editor/censusClass-editor.vue +6 -0
  109. package/src/components/xform/form-designer/setting-panel/property-editor/colorClass-editor.vue +28 -0
  110. package/src/components/xform/form-designer/setting-panel/property-editor/commonAttributeEnabled-editor.vue +41 -0
  111. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/columnRenderDialog.vue +126 -0
  112. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +1077 -1042
  113. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/onCheckboxChange-editor.vue +1 -1
  114. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +1183 -500
  115. package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-editor.vue +2 -2
  116. package/src/components/xform/form-designer/setting-panel/property-editor/container-detail-pane/detail-pane-editor.vue +3 -3
  117. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-offset-editor.vue +1 -1
  118. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-pull-editor.vue +1 -1
  119. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-push-editor.vue +1 -1
  120. package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +0 -8
  121. package/src/components/xform/form-designer/setting-panel/property-editor/copyButton-editor.vue +36 -0
  122. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin.js +2 -2
  123. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onAfterConfirmFile-editor.vue +32 -0
  124. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onClick-editor.vue +2 -2
  125. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/clickBindEvent-editor.vue +35 -20
  126. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +64 -5
  127. package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-defaultTime-editor.vue +27 -0
  128. package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-item-editor.vue +21 -0
  129. package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-menu-editor.vue +59 -0
  130. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-bar-editor.vue +185 -69
  131. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +188 -86
  132. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-pie-editor.vue +84 -39
  133. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +26 -10
  134. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +86 -0
  135. package/src/components/xform/form-designer/setting-panel/property-editor/field-rate/rate-defaultValue-editor.vue +1 -1
  136. package/src/components/xform/form-designer/setting-panel/property-editor/field-status/field-status-editor.vue +47 -28
  137. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-button-editor.vue +56 -0
  138. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +26 -7
  139. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabSearchName-editor.vue +13 -1
  140. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload/field-vabUpload-editor.vue +30 -1
  141. package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +46 -4
  142. package/src/components/xform/form-designer/setting-panel/property-editor/formula-editor.vue +721 -466
  143. package/src/components/xform/form-designer/setting-panel/property-editor/labelColor-editor.vue +20 -11
  144. package/src/components/xform/form-designer/setting-panel/property-editor/labelIconClass-editor.vue +1 -1
  145. package/src/components/xform/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue +1 -1
  146. package/src/components/xform/form-designer/setting-panel/property-editor/labelTooltip-editor.vue +1 -1
  147. package/src/components/xform/form-designer/setting-panel/property-editor/limit-editor.vue +1 -1
  148. package/src/components/xform/form-designer/setting-panel/property-editor/multiple-editor.vue +19 -14
  149. package/src/components/xform/form-designer/setting-panel/property-editor/multipleLimit-editor.vue +1 -1
  150. package/src/components/xform/form-designer/setting-panel/property-editor/placeholder-editor.vue +1 -1
  151. package/src/components/xform/form-designer/setting-panel/property-editor/precision-editor.vue +1 -1
  152. package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +318 -0
  153. package/src/components/xform/form-designer/setting-panel/property-editor/required-editor.vue +10 -6
  154. package/src/components/xform/form-designer/setting-panel/property-editor/requiredHint-editor.vue +3 -3
  155. package/src/components/xform/form-designer/setting-panel/property-editor/showRuleFlag-editor.vue +1 -1
  156. package/src/components/xform/form-designer/setting-panel/property-editor/tempStorage-editor.vue +23 -0
  157. package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +305 -19
  158. package/src/components/xform/form-designer/setting-panel/property-editor/validation-editor.vue +2 -2
  159. package/src/components/xform/form-designer/setting-panel/property-editor/validationHint-editor.vue +2 -2
  160. package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +384 -53
  161. package/src/components/xform/form-designer/setting-panel/property-editor/widgetShowRuleFlag-editor.vue +263 -0
  162. package/src/components/xform/form-designer/setting-panel/propertyRegister.js +25 -10
  163. package/src/components/xform/form-designer/toolbar-panel/index.vue +12 -11
  164. package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +1 -1
  165. package/src/components/xform/form-designer/widget-panel/index.vue +21 -1
  166. package/src/components/xform/form-designer/widget-panel/indexMixin.js +3 -2
  167. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +1428 -865
  168. package/src/components/xform/form-render/container-item/containerItemMixin.js +1 -1
  169. package/src/components/xform/form-render/container-item/data-table-item.vue +86 -42
  170. package/src/components/xform/form-render/container-item/data-table-mixin.js +2433 -18
  171. package/src/components/xform/form-render/container-item/detail-pane-item.vue +17 -3
  172. package/src/components/xform/form-render/container-item/grid-col-item.vue +10 -3
  173. package/src/components/xform/form-render/container-item/grid-item.vue +1 -1
  174. package/src/components/xform/form-render/container-item/list-h5-item.vue +1 -9
  175. package/src/components/xform/form-render/container-item/list-h5-item2.vue +1 -8
  176. package/src/components/xform/form-render/container-item/tab-item.vue +11 -6
  177. package/src/components/xform/form-render/container-item/table-cell-item.vue +38 -32
  178. package/src/components/xform/form-render/container-item/table-item.vue +4 -2
  179. package/src/components/xform/form-render/index.vue +4 -1
  180. package/src/components/xform/form-render/indexMixin.js +3018 -3
  181. package/src/components/xform/lang/zh-CN.js +17 -3
  182. package/src/components/xform/mixins/defaultHandle.js +330 -1
  183. package/src/components/xform/mixins/scriptHttp.js +174 -1
  184. package/src/components/xform/utils/emitter.js +4 -4
  185. package/src/components/xform/utils/format.js +21 -30
  186. package/src/components/xform/utils/formula-util.js +669 -0
  187. package/src/components/xform/utils/util.js +1450 -1
  188. package/src/components/xform/utils/validators.js +1 -5
  189. package/src/index.js +2 -2
  190. package/src/layout/components/AppMain.vue +5 -1
  191. package/src/layout/components/Sidebar/default.vue +50 -6
  192. package/src/layout/components/TagsView/index.vue +37 -12
  193. package/src/layout/components/extractedCode/createDialog.vue +92 -0
  194. package/src/layout/components/extractedCode/queryDialog.vue +96 -0
  195. package/src/layout/components/extractedCode/viewDialog.vue +193 -0
  196. package/src/layout/components/watermark/index.vue +83 -0
  197. package/src/layout/defaultLayout.vue +1 -1
  198. package/src/mixins/selectDialog/index.js +1 -1
  199. package/src/mixins/tableTree/index.js +1 -1
  200. package/src/router/modules/customer.js +61 -8
  201. package/src/store/config/index.js +1 -1
  202. package/src/store/modules/permission.js +1 -1
  203. package/src/store/modules/settings.js +1 -1
  204. package/src/store/modules/tagsView.js +1 -14
  205. package/src/store/modules/user.js +1 -1
  206. package/src/utils/index.js +575 -3
  207. package/src/utils/pddLog.js +103 -0
  208. package/src/utils/pdfUtil.js +71 -0
  209. package/src/utils/request.js +324 -1
  210. package/src/utils/vab.js +19 -27
  211. package/src/views/bd/setting/bd_attach_setting/edit.vue +5 -5
  212. package/src/views/bd/setting/bd_attach_setting/list.vue +28 -55
  213. package/src/views/bd/setting/bd_attach_setting/mixins/edit.js +4 -5
  214. package/src/views/bd/setting/bd_attach_setting/mixins/list.js +239 -1
  215. package/src/views/bd/setting/bd_company_env/dialog.vue +174 -0
  216. package/src/views/bd/setting/bd_company_env/edit.vue +163 -0
  217. package/src/views/bd/setting/bd_company_env/list.vue +175 -0
  218. package/src/views/bd/setting/config_manage/list.vue +51 -0
  219. package/src/views/bd/setting/form_import_log/edit.vue +127 -0
  220. package/src/views/bd/setting/form_import_log/list.vue +206 -0
  221. package/src/views/bd/setting/form_script/edit.vue +9 -0
  222. package/src/views/bd/setting/form_script/edit1.vue +36 -3
  223. package/src/views/bd/setting/form_script/form_list.vue +1 -1
  224. package/src/views/bd/setting/form_script/list1.vue +4 -4
  225. package/src/views/bd/setting/form_script/mixins/dialog.js +130 -1
  226. package/src/views/bd/setting/form_script/mixins/edit.js +201 -1
  227. package/src/views/bd/setting/form_script/mixins/edit1.js +193 -1
  228. package/src/views/bd/setting/form_script/mixins/form_list.js +1 -1
  229. package/src/views/bd/setting/form_script/mixins/list.js +236 -1
  230. package/src/views/bd/setting/form_script/mixins/list1.js +422 -14
  231. package/src/views/bd/setting/form_script/mixins/otherAuthDialog.js +194 -0
  232. package/src/views/bd/setting/form_script/otherAuthDialog.vue +83 -0
  233. package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +105 -0
  234. package/src/views/bd/setting/form_template/edit.vue +22 -1
  235. package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +2 -2
  236. package/src/views/bd/setting/form_template/list.vue +5 -5
  237. package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +4 -0
  238. package/src/views/bd/setting/form_template/mixins/edit.js +234 -9
  239. package/src/views/bd/setting/form_template/mixins/list.js +688 -22
  240. package/src/views/bd/setting/form_template/mixins/otherAuthDialog.js +193 -0
  241. package/src/views/bd/setting/form_template/mixins/wf_list.js +12 -0
  242. package/src/views/bd/setting/form_template/otherAuthDialog.vue +83 -0
  243. package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +254 -0
  244. package/src/views/bd/setting/form_template/wf_list.vue +127 -0
  245. package/src/views/bd/setting/menu_kind/list.vue +4 -0
  246. package/src/views/bd/setting/menu_kind/mixins/authDialog.js +1 -1
  247. package/src/views/bd/setting/menu_kind/mixins/list.js +201 -1
  248. package/src/views/bd/setting/push_data/edit.vue +139 -0
  249. package/src/views/bd/setting/push_data/list.vue +283 -0
  250. package/src/views/bd/setting/push_data_h/edit.vue +153 -0
  251. package/src/views/bd/setting/push_data_h/list.vue +293 -0
  252. package/src/views/bd/setting/request_async_setting/edit.vue +279 -0
  253. package/src/views/bd/setting/request_async_setting/list.vue +297 -0
  254. package/src/views/bd/setting/request_setting/edit.vue +258 -0
  255. package/src/views/bd/setting/request_setting/list.vue +248 -0
  256. package/src/views/bd/setting/table_model/edit.vue +875 -426
  257. package/src/views/bd/setting/table_model/list.vue +4 -4
  258. package/src/views/bd/setting/table_model/mixins/dialog.js +1 -1
  259. package/src/views/bd/setting/table_model/mixins/edit.js +1202 -13
  260. package/src/views/bd/setting/table_model/mixins/list.js +439 -14
  261. package/src/views/bd/setting/table_model/mixins/otherAuthDialog.js +201 -0
  262. package/src/views/bd/setting/table_model/otherAuthDialog.vue +83 -0
  263. package/src/views/user/area/dialog.vue +21 -9
  264. package/src/views/user/bill_setting/edit.vue +1 -1
  265. package/src/views/user/bill_setting/list.vue +1 -1
  266. package/src/views/user/common_attribute/itemEdit.vue +2 -2
  267. package/src/views/user/common_attribute/list.vue +1 -1
  268. package/src/views/user/common_script/edit.vue +1 -1
  269. package/src/views/user/common_script/list.vue +1 -1
  270. package/src/views/user/company_info/dialog.vue +164 -154
  271. package/src/views/user/company_info/edit.vue +1 -1
  272. package/src/views/user/extend_datasource/dialog.vue +1 -0
  273. package/src/views/user/extend_datasource/edit.vue +3 -0
  274. package/src/views/user/extend_datasource/list.vue +2 -1
  275. package/src/views/user/fieldTranslation/editDialog.vue +7 -7
  276. package/src/views/user/fieldTranslation/list.vue +32 -32
  277. package/src/views/user/form/vform/designer.vue +775 -749
  278. package/src/views/user/form/vform/out_render.vue +1 -1
  279. package/src/views/user/form/vform/render.vue +8 -4
  280. package/src/views/user/form/view/edit.vue +38 -37
  281. package/src/views/user/form/view/list.vue +68 -15
  282. package/src/views/user/groups/edit.vue +2 -0
  283. package/src/views/user/groups/list.vue +1 -0
  284. package/src/views/user/home/default.vue +1024 -979
  285. package/src/views/user/home/dev.vue +29 -0
  286. package/src/views/user/home/index.vue +16 -6
  287. package/src/views/user/login/default.vue +32 -3
  288. package/src/views/user/login/indexMixin.js +117 -3
  289. package/src/views/user/notify_message/dialog.vue +1 -1
  290. package/src/views/user/notify_template/edit.vue +188 -187
  291. package/src/views/user/notify_template/edit2.vue +176 -0
  292. package/src/views/user/notify_template/list.vue +4 -1
  293. package/src/views/user/notify_template/list2.vue +190 -0
  294. package/src/views/user/outLink/form_view.vue +39 -12
  295. package/src/views/user/outLink/index.vue +17 -0
  296. package/src/views/user/outLink/view.vue +28 -23
  297. package/src/views/user/position/edit.vue +55 -54
  298. package/src/views/user/position/list.vue +4 -4
  299. package/src/views/user/project_tag/dialog.vue +9 -4
  300. package/src/views/user/project_tag/edit.vue +2 -2
  301. package/src/views/user/project_tag/list.vue +9 -4
  302. package/src/views/user/push_setting/list.vue +2 -2
  303. package/src/views/user/request_setting/edit.vue +258 -0
  304. package/src/views/user/request_setting/list.vue +248 -0
  305. package/src/views/user/role/dialog.vue +1 -1
  306. package/src/views/user/role/list.vue +4 -4
  307. package/src/views/user/sale_org/dialog.vue +1 -1
  308. package/src/views/user/sale_org/list.vue +4 -1
  309. package/src/views/user/system_notice/edit.vue +1 -1
  310. package/src/views/user/user/dialog.vue +46 -23
  311. package/src/views/user/user/edit.vue +1059 -1021
  312. package/src/views/user/user/form_dialog.vue +158 -0
  313. package/src/views/user/user/form_edit.vue +63 -2
  314. package/src/views/user/user/form_info.vue +210 -0
  315. package/src/views/user/user/form_list.vue +1 -0
  316. package/src/views/user/user/list.vue +22 -3
  317. package/src/views/user/wf/wf_auto_submit_data/list.vue +2 -0
  318. package/src/views/user/wf/wf_manage/list.vue +30 -1
  319. package/src/views/user/wf/wf_manage/wfContentDialog.vue +1 -1
  320. package/src/views/user/wf/wf_obj_config/importItemDialog.vue +109 -0
  321. package/src/views/user/wf/wf_obj_config/itemEdit.vue +25 -1
  322. package/src/views/user/wf/wf_obj_config/list.vue +114 -9
  323. package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +2 -2
@@ -0,0 +1,297 @@
1
+ <template>
2
+ <div id="containt">
3
+ <el-tabs v-model="activeName" class="tab-box" @tab-click="changeActiveName">
4
+ <el-tab-pane :label="$t1('常规')" name="first">
5
+ <component v-if="showEdit" visible-key="showEdit" :is="editComponentName" :_dataId.sync="dataId" :serverName="serverName"
6
+ :parent-target="_self" @reload="$reloadHandle"></component>
7
+ </el-tab-pane>
8
+ <el-tab-pane :label="$t1('异步推送数据设置')" name="second">
9
+ <div class="grid-height">
10
+ <vxe-grid ref="table-m1" v-bind="vxeOption" @resizable-change="$vxeTableUtil.onColumnWitchChange"
11
+ @custom="$vxeTableUtil.customHandle">
12
+ <template #form>
13
+ <div class="clearfix screen-btns">
14
+ <div class="fl">
15
+ <vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openEditDialog">
16
+ {{ $t1('新增') }}
17
+ </vxe-button>
18
+ </div>
19
+ <div class="fr">
20
+ <vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
21
+ plain>{{ $t1('重置') }}
22
+ </vxe-button>
23
+ <vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
24
+ {{ $t1('搜索') }}
25
+ </vxe-button>
26
+ </div>
27
+ </div>
28
+ <vxe-form ref="form" class="screen-box" title-width="92px" title-align="right" :data="formData"
29
+ @submit="searchEvent" @reset="searchEvent">
30
+ <vxe-form-item title="推送编码:" field="reqCode">
31
+ <template v-slot>
32
+ <el-input v-model="formData.reqCode" size="small" clearable/>
33
+ </template>
34
+ </vxe-form-item>
35
+ <vxe-form-item title="推送名称:" field="reqName">
36
+ <template v-slot>
37
+ <el-input v-model="formData.reqName" size="small" clearable/>
38
+ </template>
39
+ </vxe-form-item>
40
+ <vxe-form-item title="是否启用:" field="enabled">
41
+ <template v-slot>
42
+ <el-select v-model="formData.enabled" clearable>
43
+ <el-option :value="true" label="启用"></el-option>
44
+ <el-option :value="false" label="禁用"></el-option>
45
+ </el-select>
46
+ </template>
47
+ </vxe-form-item>
48
+ </vxe-form>
49
+ </template>
50
+ </vxe-grid>
51
+ </div>
52
+ </el-tab-pane>
53
+ <el-tab-pane :label="$t1('在途推送数据')" name="pushData">
54
+ <div class="grid-height">
55
+ <push_data_list @openEditDialog="openPushDataEditView" v-if="showPushDataList"></push_data_list>
56
+ </div>
57
+ </el-tab-pane>
58
+ <el-tab-pane :label="$t1('历史推送数据')" name="pushDataH">
59
+ <div class="grid-height">
60
+ <push_data_h_list @openEditDialog="openPushDataHEditView" v-if="showPushDataHList"></push_data_h_list>
61
+ </div>
62
+ </el-tab-pane>
63
+ </el-tabs>
64
+ </div>
65
+ </template>
66
+
67
+ <script>
68
+ import editView from './edit.vue';
69
+ import push_data_edit from "../push_data/edit.vue";
70
+ import push_data_h_edit from "../push_data_h/edit.vue";
71
+ import push_data_list from "../push_data/list.vue";
72
+ import push_data_h_list from "../push_data_h/list.vue";
73
+
74
+
75
+ export default {
76
+ name: 'request_async_setting:list',
77
+ components: {editView, push_data_list, push_data_edit, push_data_h_list, push_data_h_edit},
78
+ data() {
79
+ return {
80
+ activeName: 'second',
81
+ dataId: 0,
82
+ copyId: 0,
83
+ showEdit: false,
84
+ showAdvancedSearch: false,
85
+ vxeOption: {},
86
+ formData: {},
87
+ advancedFormData: {},
88
+ editComponentName: null,
89
+ showPushDataList: false,
90
+ showPushDataHList: false,
91
+ serverName:null,
92
+ };
93
+ },
94
+ mounted() {
95
+ this.initTableList();
96
+ },
97
+ methods: {
98
+ searchEvent() {
99
+ this.$refs['table-m1'].commitProxy('reload');
100
+ },
101
+ resetEvent() {
102
+ this.formData = {};
103
+ this.advancedFormData = {};
104
+ this.$refs['table-m1'].commitProxy('reload');
105
+ },
106
+ openEditDialog(id) {
107
+ this.copyId = 0;
108
+ this.dataId = !id || typeof id == 'object' ? 0 : id;
109
+ this.editComponentName = "editView"
110
+ this.serverName = null;
111
+ this.activeName = 'first';
112
+ this.$openEditView('showEdit');
113
+ },
114
+ openPushDataEditView(id, serverName) {
115
+ this.dataId = !id || typeof id == 'object' ? 0 : id;
116
+ this.editComponentName = "push_data_edit"
117
+ this.serverName = serverName;
118
+ this.activeName = 'first';
119
+ this.$openEditView('showEdit');
120
+ },
121
+ openPushDataHEditView(id, serverName) {
122
+ this.dataId = !id || typeof id == 'object' ? 0 : id;
123
+ this.editComponentName = "push_data_h_edit"
124
+ this.serverName = serverName;
125
+ this.activeName = 'first';
126
+ this.$openEditView('showEdit');
127
+ },
128
+ initTableList() {
129
+ let that = this;
130
+ let pushTypeMap = {0: '异步推送', 1: '同步调用'};
131
+ let tableOption = {
132
+ vue: this,
133
+ tableRef: 'table-m1',
134
+ tableName: 'bd_request_async_setting_list-m1',
135
+ path: USER_PREFIX + '/request_async_setting/listPage',
136
+ param: () => {
137
+ return {
138
+ ...this.formData,
139
+ ...this.advancedFormData
140
+ }
141
+ },
142
+ columns: [
143
+ {type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
144
+ {
145
+ title: '推送名称',
146
+ field: 'reqName',
147
+ width: 150,
148
+ fixed: 'left'
149
+ },
150
+ {
151
+ title: '推送编码',
152
+ field: 'reqCode',
153
+ width: 150,
154
+ fixed: 'left'
155
+ },
156
+ {
157
+ title: '请求Url',
158
+ field: 'url',
159
+ width: 150
160
+ },
161
+ {
162
+ title: '请求头',
163
+ field: 'header',
164
+ width: 150
165
+ },
166
+ /*{
167
+ title: '连接超时',
168
+ field: 'connectTimeout',
169
+ width: 150
170
+ },
171
+ {
172
+ title: '读取超时',
173
+ field: 'readTimeout',
174
+ width: 150
175
+ },*/
176
+ {
177
+ field: 'enabled',
178
+ title: this.$t1('是否启用'),
179
+ width: 150,
180
+ slots: {
181
+ default: ({row}) => {
182
+ if (row.enabled) {
183
+ return [
184
+ <div class="txt-status">
185
+ <span>启用</span>
186
+ </div>
187
+ ];
188
+ } else {
189
+ return [
190
+ <div class="txt-status disable">
191
+ <span>禁用</span>
192
+ </div>
193
+ ];
194
+ }
195
+ }
196
+ }
197
+ },
198
+ {
199
+ title: '调度任务编码',
200
+ field: 'taskCode',
201
+ width: 150
202
+ },
203
+ {
204
+ title: '备注',
205
+ field: 'remark',
206
+ width: 150
207
+ },
208
+ {
209
+ title: '执行组织编码',
210
+ field: 'exeCompanyCode',
211
+ width: 150
212
+ },
213
+ {
214
+ field: 'enabled',
215
+ title: this.$t1('是否启用'),
216
+ width: 150,
217
+ slots: {
218
+ default: ({row}) => {
219
+ if (row.enabled) {
220
+ return [
221
+ <div class="txt-status">
222
+ <span>启用</span>
223
+ </div>
224
+ ];
225
+ } else {
226
+ return [
227
+ <div class="txt-status disable">
228
+ <span>禁用</span>
229
+ </div>
230
+ ];
231
+ }
232
+ }
233
+ }
234
+ },
235
+ {
236
+ field: 'createBy',
237
+ title: this.$t1('创建人'),
238
+ width: 150
239
+ },
240
+ {
241
+ field: 'createDate',
242
+ title: this.$t1('创建时间'),
243
+ width: 150
244
+ },
245
+ {
246
+ field: 'modifyBy',
247
+ title: this.$t1('更新人'),
248
+ width: 150
249
+ },
250
+ {
251
+ field: 'modifyDate',
252
+ title: this.$t1('更新时间'),
253
+ width: 150
254
+ },
255
+ {
256
+ width: 47,
257
+ fixed: 'right',
258
+ title: '',
259
+ sortable: false,
260
+ slots: {
261
+ default: ({row}) => {
262
+ return [
263
+ <div>
264
+ <a
265
+ href="javascript:void(0);"
266
+ class="a-link"
267
+ onclick={() => {
268
+ this.openEditDialog(row.id);
269
+ }}
270
+ >
271
+ <el-tooltip enterable={false} effect="dark" content={this.$t1('查看')} placement="top"
272
+ popper-class="tooltip-skin">
273
+ <i class="el-icon-edit"/>
274
+ </el-tooltip>
275
+ </a>
276
+ </div>
277
+ ];
278
+ }
279
+ }
280
+ }
281
+ ]
282
+ };
283
+ this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
284
+ this.vxeOption = opts;
285
+ });
286
+ },
287
+ changeActiveName() {
288
+ if (this.activeName == "pushData") {
289
+ this.showPushDataList = true;
290
+ }
291
+ if (this.activeName == "pushDataH") {
292
+ this.showPushDataHList = true;
293
+ }
294
+ }
295
+ }
296
+ };
297
+ </script>
@@ -0,0 +1,258 @@
1
+ <template>
2
+ <div class="detail-wrap">
3
+ <el-form ref="editForm" :model="requestSetting">
4
+ <div class="d-header clearfix">
5
+ <div class="fl">
6
+ <i class="el-icon-info"/>
7
+ {{ dataId ? $t1('查看同步调用接口') : $t1('新增同步调用接口') }}
8
+ </div>
9
+ <div class="fr">
10
+ <el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">
11
+ {{ $t1('重置') }}
12
+ </el-button>
13
+ <el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{ $t1('保存') }}
14
+ </el-button>
15
+ </div>
16
+ </div>
17
+ <div class="d-cont">
18
+ <div class="d-item">
19
+ <div class="title first"><b>{{ $t1('基本信息') }}</b></div>
20
+ <table class="table-detail">
21
+ <tbody>
22
+ <tr>
23
+ <th>
24
+ <em class="f-red">*</em>
25
+ {{ $t1('请求编码') }}
26
+ </th>
27
+ <td colspan="5">
28
+ <el-form-item prop="reqCode" :rules="[{ required: true, trigger: 'blur' }]">
29
+ <el-input type="text" autocomplete="off" v-model="requestSetting.reqCode" clearable/>
30
+ </el-form-item>
31
+ </td>
32
+ </tr>
33
+ <tr>
34
+ <th>
35
+ <em class="f-red">*</em>
36
+ {{ $t1('请求名称') }}
37
+ </th>
38
+ <td colspan="5">
39
+ <el-form-item prop="reqName" :rules="[{ required: true, trigger: 'blur' }]">
40
+ <el-input type="text" autocomplete="off" v-model="requestSetting.reqName" clearable/>
41
+ </el-form-item>
42
+ </td>
43
+ </tr>
44
+ <tr>
45
+ <th>
46
+ <em class="f-red">*</em>
47
+ {{ $t1('执行组织编码') }}
48
+ </th>
49
+ <td colspan="5">
50
+ <el-form-item prop="exeCompanyCode" :rules="[{ required: true, trigger: 'blur' }]">
51
+ <el-input type="text" autocomplete="off" v-model="requestSetting.exeCompanyCode" clearable/>
52
+ </el-form-item>
53
+ </td>
54
+ <td colspan="2"><span class="tips_1">{{ $t1('注:多个用逗号","隔开') }}</span></td>
55
+ </tr>
56
+ <tr>
57
+ <th>
58
+ <em class="f-red">*</em>
59
+ {{ $t1('请求Url') }}
60
+ </th>
61
+ <td colspan="7">
62
+ <el-form-item prop="url" :rules="[{ required: true, trigger: 'blur' }]">
63
+ <el-input type="text" autocomplete="off" v-model="requestSetting.url" clearable/>
64
+ </el-form-item>
65
+ </td>
66
+ </tr>
67
+ <tr>
68
+ <th>
69
+ {{ $t1('请求头') }}
70
+ </th>
71
+ <td colspan="7">
72
+ <el-form-item prop="header" :rules="[{ required: false, trigger: 'blur' }]">
73
+ <el-input type="textarea" :rows="2" :placeholder="$t1('请输入内容')" size="small"
74
+ v-model="requestSetting.header"
75
+ clearable></el-input>
76
+ </el-form-item>
77
+ </td>
78
+ </tr>
79
+ <tr>
80
+ <th>
81
+ {{ $t1('连接超时(ms)') }}
82
+ </th>
83
+ <td>
84
+ <el-form-item prop="connectTimeout" :rules="[{ required: false, trigger: 'blur' }]">
85
+ <base-input-number v-model="requestSetting.connectTimeout" clearable/>
86
+ </el-form-item>
87
+ </td>
88
+ <td colspan="2"><span class="tips_1">{{ $t1('注:不填默认10000毫秒') }}</span></td>
89
+ <th>
90
+ {{ $t1('读取超时(ms)') }}
91
+ </th>
92
+ <td>
93
+ <el-form-item prop="readTimeout" :rules="[{ required: false, trigger: 'blur' }]">
94
+ <base-input-number v-model="requestSetting.readTimeout" clearable/>
95
+ </el-form-item>
96
+ </td>
97
+ <td colspan="2"><span class="tips_1">{{ $t1('注:不填默认60000毫秒') }}</span></td>
98
+ </tr>
99
+ <tr>
100
+ <th>
101
+ <em class="f-red">*</em>
102
+ {{ $t1('是否启用') }}
103
+ </th>
104
+ <td>
105
+ <el-form-item prop="enabled" :rules="[{ required: true, trigger: 'blur' }]">
106
+ <el-radio-group v-model="requestSetting.enabled">
107
+ <el-radio :label="true">{{ $t1('启用') }}</el-radio>
108
+ <el-radio :label="false">{{ $t1('禁用') }}</el-radio>
109
+ </el-radio-group>
110
+ </el-form-item>
111
+ </td>
112
+ </tr>
113
+ <tr>
114
+ <th>
115
+ {{ $t1('备注') }}
116
+ </th>
117
+ <td colspan="7">
118
+ <el-form-item prop="remark" :rules="[{ required: false, trigger: 'blur' }]">
119
+ <el-input type="textarea" :rows="2" :placeholder="$t1('请输入内容')" size="small"
120
+ v-model="requestSetting.remark"
121
+ clearable></el-input>
122
+ </el-form-item>
123
+ </td>
124
+ </tr>
125
+ <!-- <tr>
126
+ <th>
127
+ {{ $t1('前置脚本') }}
128
+ <scriptTestButton :script.sync="requestSetting.preScript"></scriptTestButton>
129
+ </th>
130
+ <td colspan="7">
131
+ <el-form-item prop="preScript" :rules="[{ required: false, trigger: 'blur' }]">
132
+ <code-editor mode="java" :readonly="!1" v-model="requestSetting.preScript"
133
+ v-if="showCodeEditor"></code-editor>
134
+ </el-form-item>
135
+ </td>
136
+ </tr>-->
137
+ <tr>
138
+ <th>
139
+ {{ $t1('后置脚本') }}
140
+ <scriptTestButton :script.sync="requestSetting.postScript"></scriptTestButton>
141
+ </th>
142
+ <td colspan="7">
143
+ <el-form-item prop="postScript" :rules="[{ required: false, trigger: 'blur' }]">
144
+ <code-editor mode="java" :readonly="!1" v-model="requestSetting.postScript"
145
+ v-if="showCodeEditor"></code-editor>
146
+ </el-form-item>
147
+ </td>
148
+ </tr>
149
+ <tr>
150
+ <th>{{ $t1('创建人') }}</th>
151
+ <td>{{ requestSetting.createBy }}</td>
152
+ <th>{{ $t1('创建时间') }}</th>
153
+ <td>{{ requestSetting.createDate }}</td>
154
+ <th>{{ $t1('更新人') }}</th>
155
+ <td>{{ requestSetting.modifyBy }}</td>
156
+ <th>{{ $t1('更新时间') }}</th>
157
+ <td>{{ requestSetting.modifyDate }}</td>
158
+ </tr>
159
+ </tbody>
160
+ </table>
161
+ </div>
162
+ </div>
163
+ </el-form>
164
+ </div>
165
+ </template>
166
+
167
+ <script>
168
+ export default {
169
+ name: 'request_setttingEdit',
170
+ props: {
171
+ _dataId: [String, Number],
172
+ copyId: [String, Number]
173
+ },
174
+ components: {},
175
+ data() {
176
+ return {
177
+ isEdit: false,
178
+ tabIndex: 'first',
179
+ dataId: '',
180
+ requestSetting: {
181
+ enabled: true,
182
+ connectTimeout: 10000,
183
+ readTimeout: 60000,
184
+ preScript: null,
185
+ postScript: null,
186
+ exeCompanyCode: null
187
+ },
188
+ showCodeEditor: false
189
+ };
190
+ },
191
+ created() {
192
+ if (this._dataId && !isNaN(this._dataId)) this.dataId = this._dataId;
193
+ },
194
+ mounted() {
195
+ this.getData();
196
+ },
197
+ methods: {
198
+ getData() {
199
+ if (this.copyId) {
200
+ return;
201
+ }
202
+ if (this.dataId && !isNaN(this.dataId)) {
203
+ this.isEdit = true;
204
+ this.$commonHttp({
205
+ url: USER_PREFIX + `/request_setting/get`,
206
+ method: `post`,
207
+ data: {
208
+ id: this.dataId
209
+ },
210
+ isLoading: true,
211
+ modalStrictly: true,
212
+ success: res => {
213
+ this.requestSetting = res.objx || {};
214
+ this.showCodeEditor = true;
215
+ }
216
+ });
217
+ } else {
218
+ this.showCodeEditor = true;
219
+ }
220
+ },
221
+ saveData() {
222
+ this.$refs.editForm.$baseValidate(valid => {
223
+ if (valid) {
224
+ this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
225
+ var url = USER_PREFIX + (this.isEdit ? `/request_setting/update` : `/request_setting/save`);
226
+ this.$http({
227
+ url: url,
228
+ method: `post`,
229
+ data: this.requestSetting,
230
+ isLoading: true,
231
+ success: res => {
232
+ this.$message({
233
+ message: res.content,
234
+ type: 'success',
235
+ duration: 500,
236
+ onClose: t => {
237
+ if (this.isEdit) {
238
+ this.$baseReload();
239
+ } else {
240
+ this.$baseReload({
241
+ updateParam: {
242
+ _dataId: res.objx,
243
+ copyId: null
244
+ }
245
+ });
246
+ }
247
+ }
248
+ });
249
+ }
250
+ });
251
+ });
252
+ }
253
+ });
254
+ }
255
+ }
256
+ };
257
+
258
+ </script>