cloud-web-corejs 1.0.54-dev.31 → 1.0.54-dev.310

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 (322) 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 +7 -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 +3 -2
  16. package/src/components/fileLibrary/fileObjAuthEditDialog.vue +6 -0
  17. package/src/components/fileLibrary/fileObjNotifyEdit.vue +4 -4
  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 +1 -1
  34. package/src/components/statusTag/mixins.js +1 -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 +328 -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 +2 -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 +1 -1
  49. package/src/components/wf/wfStartDialog.vue +70 -42
  50. package/src/components/wf/wfTaskUserRangeDialog.vue +131 -0
  51. package/src/components/wf/wfUtil.js +1 -1
  52. package/src/components/xform/form-designer/designer.js +3 -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 +23 -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 +1 -1
  101. package/src/components/xform/form-designer/setting-panel/form-setting.vue +926 -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 +1435 -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 +21 -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 +11 -25
  181. package/src/components/xform/lang/zh-CN.js +17 -3
  182. package/src/components/xform/mixins/defaultHandle.js +1 -1
  183. package/src/components/xform/mixins/scriptHttp.js +3 -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 +1451 -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 +2 -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/user/dialog.vue +46 -23
  310. package/src/views/user/user/edit.vue +1059 -1021
  311. package/src/views/user/user/form_dialog.vue +158 -0
  312. package/src/views/user/user/form_edit.vue +63 -2
  313. package/src/views/user/user/form_info.vue +210 -0
  314. package/src/views/user/user/form_list.vue +1 -0
  315. package/src/views/user/user/list.vue +22 -3
  316. package/src/views/user/wf/wf_auto_submit_data/list.vue +2 -0
  317. package/src/views/user/wf/wf_manage/list.vue +30 -1
  318. package/src/views/user/wf/wf_manage/wfContentDialog.vue +1 -1
  319. package/src/views/user/wf/wf_obj_config/importItemDialog.vue +109 -0
  320. package/src/views/user/wf/wf_obj_config/itemEdit.vue +25 -1
  321. package/src/views/user/wf/wf_obj_config/list.vue +114 -9
  322. package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +2 -2
@@ -1,11 +1,11 @@
1
1
  <template>
2
2
  <span class="button-sty">
3
- <el-button type="success" class="btn-connect" icon="iconfont icon-zancun" @click="openSubmitDialog" plain>暂存</el-button>
3
+ <el-button type="success" class="btn-connect" icon="iconfont icon-zancun" @click="openSubmitDialog" plain :disabled="disabled">暂存</el-button>
4
4
  <el-tooltip class="item" effect="dark" content="查看暂存数据" placement="top">
5
- <el-button class="btn-connect" @click="openTempStorageDialog" icon="iconfont icon-chakanshuju" type="success" ></el-button>
5
+ <el-button class="btn-connect" @click="openTempStorageDialog" icon="iconfont icon-chakanshuju" type="success" :disabled="disabled"></el-button>
6
6
  </el-tooltip>
7
7
 
8
- <tempStorageDialog v-if="showTempStorageDialog" :visiable.sync="showTempStorageDialog"
8
+ <tempStorageDialog v-if="showTempStorageDialog" :visiable.sync="showTempStorageDialog"
9
9
  @confirm="confirmTempStorageDialog" :storageType="storageType" multi="false"/>
10
10
  <el-dialog
11
11
  v-if="showSubmitDialog"
@@ -54,7 +54,8 @@ import tempStorageDialog from "./tempStorageDialog.vue";
54
54
 
55
55
  export default {
56
56
  props: {
57
- option: Object
57
+ option: Object,
58
+ disabled: Boolean,
58
59
  },
59
60
  components: {
60
61
  tempStorageDialog
@@ -82,7 +83,10 @@ export default {
82
83
  let url = USER_PREFIX + '/temp_storage/save';
83
84
  let billData = this.option.data() || {};
84
85
  let data = JSON.stringify(billData)
85
- this.$http({
86
+
87
+ let that = this.option.vue || this.$$attrs["parent-target"] || this.$parent;
88
+ this.showSubmitDialog = false;
89
+ that.$http({
86
90
  url: url,
87
91
  method: `post`,
88
92
  data: {
@@ -99,7 +103,6 @@ export default {
99
103
  duration: 500,
100
104
  onClose: t => {
101
105
  this.option.saveConfirm && this.option.saveConfirm(res);
102
- this.showSubmitDialog = false;
103
106
  }
104
107
  });
105
108
  }
@@ -60,7 +60,7 @@
60
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
- <div class="item" v-for="(checkRow, index) in checkRows">
63
+ <div class="item" v-for="(checkRow, index) in checkRows" :key="index">
64
64
  <p>{{ checkRow.storageCode }}</p>
65
65
  <a class="el-icon-close" @click="clearTable1Select(index)"></a>
66
66
  </div>
@@ -36,14 +36,15 @@ export default {
36
36
  }
37
37
  },
38
38
  methods: {
39
- openEditTab(row) {
39
+ openEditTab(row,param) {
40
40
  let paneKeyName = this.paneKeyName;
41
41
  let tab = this.tabs.find(tab => tab.data[paneKeyName] === row[paneKeyName])
42
42
  if (!tab) {
43
43
  tab = {
44
44
  data: row,
45
45
  showContent: false,
46
- dataId: row[paneKeyName]
46
+ dataId: row[paneKeyName],
47
+ param
47
48
  }
48
49
  if (this.tabs.length >= 30) {
49
50
  this.tabs.splice(0, 1, tab);
@@ -42,7 +42,7 @@
42
42
  <div class="title-name">
43
43
  <b>
44
44
  <em>{{ $t2('流程主题', 'components.wf.theme') }}:</em>
45
- {{ (wfInfo.createDate ? wfInfo.createDate.substring(0, 10) : '') + wfInfo.name }}
45
+ {{ wfInfo.name }}
46
46
  </b>
47
47
  <span v-html="wfInfo.statusStr" class="status"></span>
48
48
  </div>
@@ -71,35 +71,51 @@
71
71
  <div class="title-tab">
72
72
  <div>
73
73
  <b :class="{on:tabIndex=='1'}" @click="tabIndex='1'">{{ $t2('任务情况', 'components.wf.taskInfo') }}</b>
74
- <b :class="{on:tabIndex=='2'}" @click="tabIndex='2'"
75
- v-if="toTalk">{{ $t2('流程沟通', 'components.wf.wfTalk') }}</b>
76
- <b :class="{on:tabIndex=='3'}" @click="tabIndex='3'"
77
- v-if="showAllWfOpinon">{{ $t2('全部任务情况', 'components.wf.allTaskInfo') }}</b>
74
+ <b :class="{on:tabIndex=='2'}" @click="tabIndex='2'" v-if="toTalk">{{ $t2('流程沟通', 'components.wf.wfTalk') }}</b>
75
+ <b :class="{on:tabIndex=='4'}" @click="tabIndex='4'" v-if="showCandidate">{{ $t1('节点候选人') }}</b>
76
+ <b :class="{on:tabIndex=='3'}" @click="tabIndex='3'" v-if="showAllWfOpinon">{{ $t2('全部任务情况', 'components.wf.allTaskInfo') }}</b>
78
77
  </div>
79
78
  </div>
80
- <div class="task-situation" v-show="tabIndex=='1'" style="max-height: 500px; overflow: hidden auto;">
81
- <div class="item" v-for="wftaskLineData in wftaskData" :key="wftaskLineData.id">
82
- <div class="time">
83
- {{ wftaskLineData.approveTime ? wftaskLineData.approveTime.substring(0, 10) : '' }}
84
- <br/>
85
- {{ wftaskLineData.approveTime ? wftaskLineData.approveTime.substring(11) : '' }}
86
- </div>
87
- <div class="status" :class="taskStatuses[wftaskLineData.type]?taskStatuses[wftaskLineData.type].class:''">
88
- {{ taskStatuses[wftaskLineData.type] ? taskStatuses[wftaskLineData.type].value : null }}
79
+ <div v-show="tabIndex=='1'">
80
+ <div class="title-five"><b>任务流程</b></div>
81
+ <div class="task-situation" style="padding-left: 14px;">
82
+ <div class="item" v-for="wftaskLineData in wftaskData" :key="wftaskLineData.id">
83
+ <div class="time">
84
+ {{ wftaskLineData.approveTime ? wftaskLineData.approveTime.substring(0, 10) : '' }}
85
+ <br/>
86
+ {{ wftaskLineData.approveTime ? wftaskLineData.approveTime.substring(11) : '' }}
87
+ </div>
88
+ <div class="status" :class="taskStatuses[wftaskLineData.type]?taskStatuses[wftaskLineData.type].class:''">
89
+ {{ taskStatuses[wftaskLineData.type] ? taskStatuses[wftaskLineData.type].value : null }}
90
+ </div>
91
+ <i class="circle"></i>
92
+ <div class="info">
93
+ <p>
94
+ <span class="name">{{ wftaskLineData.taskName }}</span>
95
+ <span>{{ $t2('执行人', 'components.wf.approverName') }}:{{ wftaskLineData.approverName }}</span>
96
+ <span>
97
+ {{ $t2('候选人', 'components.wf.candidateName') }}:
98
+ <span class="">{{ wftaskLineData.candidateNames }}</span>
99
+ </span>
100
+ </p>
101
+ <p class="t"><span class="t1">{{ $t2('备注/意见', 'components.wf.opinion') }}:</span><span>{{
102
+ wftaskLineData.opinion
103
+ }}</span></p>
104
+ </div>
89
105
  </div>
90
- <i class="circle"></i>
91
- <div class="info">
92
- <p>
93
- <span class="name">{{ wftaskLineData.taskName }}</span>
94
- <span>{{ $t2('执行人', 'components.wf.approverName') }}:{{ wftaskLineData.approverName }}</span>
95
- <span>
96
- {{ $t2('候选人', 'components.wf.candidateName') }}:
97
- <span class="">{{ wftaskLineData.candidateNames }}</span>
98
- </span>
99
- </p>
100
- <p class="t"><span class="t1">{{ $t2('备注/意见', 'components.wf.opinion') }}:</span><span>{{
101
- wftaskLineData.opinion
102
- }}</span></p>
106
+
107
+ </div>
108
+ <div class="title-five" v-if="showWfMemo">
109
+ <b>{{$t1("发起人附言")}}</b>
110
+ <el-button v-if="wfInfo.toAddMemo" class="button-sty" icon="el-icon-plus" @click="openWfMemoDialog()" type="primary">{{$t1("新增")}}</el-button>
111
+ </div>
112
+ <div class="postscript-box">
113
+ <div class='item' v-for="(item,index) in wfMemoData" :key="index">
114
+ <div class="txt" style="white-space: pre-wrap;">{{item.content}}</div>
115
+ <div class="attach-box" v-if="item.attachmentDTOs && item.attachmentDTOs.length">
116
+ <baseUpload accept="file" multi="true" :edit="false" :widgetSize="1" :file.sync="item.attachmentDTOs"></baseUpload>
117
+ </div>
118
+ <div class="time">{{item.createDate}}</div>
103
119
  </div>
104
120
  </div>
105
121
  </div>
@@ -205,7 +221,22 @@
205
221
  </div>
206
222
  </div>
207
223
  </div>
224
+ <template v-if="showCandidate">
225
+ <div v-show="tabIndex=='4'">
226
+ <div style="width:800px">
227
+ <vxe-grid
228
+ ref="table-candidate"
229
+ v-bind="candidateOption"
230
+ :data="candidateDatas"
231
+ @resizable-change="$vxeTableUtil.onColumnWitchChange"
232
+ @custom="$vxeTableUtil.customHandle"
233
+ ></vxe-grid>
234
+ </div>
235
+ </div>
236
+ </template>
237
+
208
238
  </div>
239
+ <!--沟通-->
209
240
  <el-dialog
210
241
  v-if="showTalkDialog"
211
242
  :visible.sync="showTalkDialog"
@@ -295,6 +326,69 @@
295
326
  </span>
296
327
  </el-dialog>
297
328
 
329
+ <!--发起人附言-->
330
+ <el-dialog
331
+ v-if="showWfMemoDialog"
332
+ :visible.sync="showWfMemoDialog"
333
+ :modal-append-to-body="false"
334
+ :close-on-click-modal="false"
335
+ :modal="false"
336
+ custom-class="dialog-style wf-dialog"
337
+ :append-to-body="true"
338
+ v-el-drag-dialog
339
+ v-el-dialog-center
340
+ >
341
+ <template #title>
342
+ <span class="el-dialog__title">{{ $t1('发起人附言') }}<span
343
+ style="margin-left: 10px;margin-right: 10px;">—</span><b
344
+ class="f-red" style="font-size: 12px;">{{ $t2('节点', 'components.wf.node') }}:{{
345
+ wfInfo.taskName
346
+ }}</b></span>
347
+ </template>
348
+ <el-form :model="wfMemoForm">
349
+ <div id="containt" style="height: 500px;">
350
+ <table class="table-detail">
351
+ <tbody>
352
+ <tr>
353
+ <th>
354
+ <span class="t">
355
+ {{ $t1('内容') }}
356
+ </span>
357
+ </th>
358
+ <td>
359
+ <el-form-item field="content">
360
+ <el-input type="textarea" :rows="8"
361
+ :placeholder="$t1('内容')"
362
+ v-model="wfMemoForm.content"></el-input>
363
+ </el-form-item>
364
+ </td>
365
+ </tr>
366
+ <tr>
367
+ <th>
368
+ <span class="t">
369
+ {{ $t1('附件') }}
370
+ </span>
371
+ </th>
372
+ <td>
373
+ <baseUpload accept="file" multi="true" :file.sync="wfMemoForm.attachmentDTOs"></baseUpload>
374
+ </td>
375
+ </tr>
376
+ </tbody>
377
+ </table>
378
+ </div>
379
+ </el-form>
380
+ <span slot="footer" class="dialog-footer">
381
+ <el-button type="primary" plain class="button-sty" @click="showWfMemoDialog = false">
382
+ <i class="el-icon-close el-icon"></i>
383
+ {{ $t2('取 消', 'system.button.cancel2') }}
384
+ </el-button>
385
+ <el-button type="primary" @click="submitWfMemoForm" class="button-sty">
386
+ <i class="el-icon-check el-icon"></i>
387
+ {{ $t2('确 定', 'system.button.confirm2') }}
388
+ </el-button>
389
+ </span>
390
+ </el-dialog>
391
+
298
392
  <el-dialog
299
393
  v-if="rejectDialogVisible"
300
394
  :visible.sync="rejectDialogVisible"
@@ -437,6 +531,7 @@
437
531
  custom-class="dialog-style wf-dialog"
438
532
  v-el-drag-dialog
439
533
  v-el-dialog-center
534
+ :append-to-body="true"
440
535
  >
441
536
  <template #title>
442
537
  <span class="el-dialog__title">{{ $t2('流程转办', 'components.wf.wfTransfer') }}<span
@@ -592,6 +687,7 @@
592
687
  custom-class="dialog-style wf-dialog"
593
688
  v-el-drag-dialog
594
689
  v-el-dialog-center
690
+ :append-to-body="true"
595
691
  >
596
692
  <template #title>
597
693
  <span class="el-dialog__title">{{ $t2('流程加签', 'components.wf.wfAddIncreaseSign') }}<span
@@ -680,7 +776,8 @@
680
776
  <setCandidateDialog v-if="showSetCandidateDialog" :visiable.sync="showSetCandidateDialog"
681
777
  @close="closeSetCandidateDialog"
682
778
  :wfInfo="wfInfo"
683
- :current_prefix="current_prefix"></setCandidateDialog>
779
+ :current_prefix="current_prefix"
780
+ :wfUserRangeEnabled="wfUserRangeEnabled"></setCandidateDialog>
684
781
  </template>
685
782
  </baseTabPane>
686
783
  <div v-else></div>