cloud-web-corejs 1.0.54-dev.3 → 1.0.54-dev.300

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 (336) 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 +211 -0
  13. package/src/components/excelExport/index.js +44 -1
  14. package/src/components/excelExport/index.vue +64 -7
  15. package/src/components/excelExport/mixins.js +939 -1
  16. package/src/components/excelImport/index.js +13 -13
  17. package/src/components/excelImport/index.vue +9 -6
  18. package/src/components/excelImport/mixins.js +1 -1
  19. package/src/components/fileLibrary/fileObjAuthDialog.vue +125 -103
  20. package/src/components/fileLibrary/fileObjAuthEditDialog.vue +12 -1
  21. package/src/components/fileLibrary/fileObjNotifyEdit.vue +192 -0
  22. package/src/components/fileLibrary/filterDialog.vue +383 -0
  23. package/src/components/fileLibrary/index.vue +25 -26
  24. package/src/components/fileLibrary/mixins/categoryMoveDialogMixins.js +1 -1
  25. package/src/components/fileLibrary/mixins/fileCategoryDialogMixins.js +1 -1
  26. package/src/components/fileLibrary/mixins/fileHistoryDialogMixins.js +2 -2
  27. package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +346 -201
  28. package/src/components/fileLibrary/mixins/fileObjAuthEditDialogMixin.js +33 -26
  29. package/src/components/fileLibrary/mixins/fileObjAuthEditMixin.js +5 -5
  30. package/src/components/fileLibrary/mixins/indexMixins.js +85 -24
  31. package/src/components/fileLibrary/mixins/propertiesDialogMixins.js +63 -3
  32. package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +1 -1
  33. package/src/components/fileLibrary/propertiesDialog.vue +18 -0
  34. package/src/components/fileLibrary/shareDialog.vue +1 -1
  35. package/src/components/formOplog/mixins.js +77 -1
  36. package/src/components/jsonImport/index.js +1 -1
  37. package/src/components/jsonImport/mixins.js +1 -1
  38. package/src/components/onlineTalk/index.vue +327 -5
  39. package/src/components/onlineTalk/mixins.js +1 -1
  40. package/src/components/statusTag/mixins.js +66 -1
  41. package/src/components/table/CellSlot.vue +1 -0
  42. package/src/components/table/index.js +12 -10
  43. package/src/components/table/tableForm.vue +99 -63
  44. package/src/components/table/tableFormMixin.js +1 -1
  45. package/src/components/table/util/index.js +331 -0
  46. package/src/components/table/vxeFilter/mixin.js +6 -6
  47. package/src/components/tempStorage/index.vue +9 -6
  48. package/src/components/tempStorage/tempStorageDialog.vue +3 -3
  49. package/src/components/vb-tabs/x-tabs.vue +3 -2
  50. package/src/components/wf/content.vue +125 -28
  51. package/src/components/wf/mixins/setCandidateDialog.js +218 -1
  52. package/src/components/wf/setCandidateDialog.vue +10 -0
  53. package/src/components/wf/setCandidateDialog2.vue +320 -0
  54. package/src/components/wf/wf.js +2062 -1
  55. package/src/components/wf/wfStartDialog.vue +70 -42
  56. package/src/components/wf/wfTaskUserRangeDialog.vue +136 -0
  57. package/src/components/wf/wfUtil.js +279 -1
  58. package/src/components/xform/form-designer/designer.js +1543 -2
  59. package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +2 -1
  60. package/src/components/xform/form-designer/form-widget/container-widget/detail-widget.vue +3 -3
  61. package/src/components/xform/form-designer/form-widget/dialog/exportDialog.vue +13 -0
  62. package/src/components/xform/form-designer/form-widget/dialog/fileReferenceDialog.vue +301 -0
  63. package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +17 -4
  64. package/src/components/xform/form-designer/form-widget/dialog/formDrawer.vue +6 -1
  65. package/src/components/xform/form-designer/form-widget/dialog/formFieldDialog.vue +2 -2
  66. package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +37 -6
  67. package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +3 -1
  68. package/src/components/xform/form-designer/form-widget/dialog/preformDialog.vue +2 -2
  69. package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +31 -11
  70. package/src/components/xform/form-designer/form-widget/dialog/vabSearchDialog.vue +2 -2
  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 +1520 -16
  85. package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +632 -379
  86. package/src/components/xform/form-designer/form-widget/field-widget/import-button-widget.vue +6 -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 +2 -2
  94. package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +70 -3
  95. package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +21 -5
  96. package/src/components/xform/form-designer/form-widget/field-widget/search_button-widget.vue +2 -2
  97. package/src/components/xform/form-designer/form-widget/field-widget/select-export-button-widget.vue +86 -0
  98. package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +17 -5
  99. package/src/components/xform/form-designer/form-widget/field-widget/singerSearch-widget.vue +53 -0
  100. package/src/components/xform/form-designer/form-widget/field-widget/static-content-wrapper.vue +2 -1
  101. package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +22 -17
  102. package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +6 -1
  103. package/src/components/xform/form-designer/form-widget/field-widget/tableexportbuttonwidget.vue +99 -0
  104. package/src/components/xform/form-designer/form-widget/field-widget/tempStorage-widget.vue +127 -0
  105. package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +46 -34
  106. package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +2 -2
  107. package/src/components/xform/form-designer/form-widget/field-widget/vabSearch-widget.vue +2 -170
  108. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +88 -8
  109. package/src/components/xform/form-designer/indexMixin.js +820 -1
  110. package/src/components/xform/form-designer/setting-panel/form-setting.vue +880 -158
  111. package/src/components/xform/form-designer/setting-panel/index.vue +4 -0
  112. package/src/components/xform/form-designer/setting-panel/indexMixin.js +1 -1
  113. package/src/components/xform/form-designer/setting-panel/option-items-setting.vue +71 -7
  114. package/src/components/xform/form-designer/setting-panel/property-editor/a-link-editor.vue +4 -4
  115. package/src/components/xform/form-designer/setting-panel/property-editor/a-text-editor.vue +3 -3
  116. package/src/components/xform/form-designer/setting-panel/property-editor/autoValueEnabled-editor.vue +38 -0
  117. package/src/components/xform/form-designer/setting-panel/property-editor/censusClass-editor.vue +6 -0
  118. package/src/components/xform/form-designer/setting-panel/property-editor/colorClass-editor.vue +28 -0
  119. package/src/components/xform/form-designer/setting-panel/property-editor/commonAttributeEnabled-editor.vue +41 -0
  120. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/columnRenderDialog.vue +126 -0
  121. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +1077 -1042
  122. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/onCheckboxChange-editor.vue +1 -1
  123. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +1183 -500
  124. package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-editor.vue +2 -2
  125. package/src/components/xform/form-designer/setting-panel/property-editor/container-detail-pane/detail-pane-editor.vue +3 -3
  126. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-offset-editor.vue +1 -1
  127. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-pull-editor.vue +1 -1
  128. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-push-editor.vue +1 -1
  129. package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +0 -8
  130. package/src/components/xform/form-designer/setting-panel/property-editor/copyButton-editor.vue +36 -0
  131. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin.js +2 -2
  132. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onAfterConfirmFile-editor.vue +32 -0
  133. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onClick-editor.vue +2 -2
  134. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/clickBindEvent-editor.vue +35 -20
  135. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +64 -5
  136. package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-defaultTime-editor.vue +27 -0
  137. package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-item-editor.vue +21 -0
  138. package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-menu-editor.vue +59 -0
  139. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-bar-editor.vue +185 -69
  140. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +188 -86
  141. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-pie-editor.vue +84 -39
  142. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +26 -10
  143. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +86 -0
  144. package/src/components/xform/form-designer/setting-panel/property-editor/field-rate/rate-defaultValue-editor.vue +1 -1
  145. package/src/components/xform/form-designer/setting-panel/property-editor/field-status/field-status-editor.vue +47 -28
  146. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-button-editor.vue +56 -0
  147. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +26 -7
  148. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabSearchName-editor.vue +13 -1
  149. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload/field-vabUpload-editor.vue +30 -1
  150. package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +46 -4
  151. package/src/components/xform/form-designer/setting-panel/property-editor/formula-editor.vue +721 -466
  152. package/src/components/xform/form-designer/setting-panel/property-editor/labelColor-editor.vue +20 -11
  153. package/src/components/xform/form-designer/setting-panel/property-editor/labelIconClass-editor.vue +1 -1
  154. package/src/components/xform/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue +1 -1
  155. package/src/components/xform/form-designer/setting-panel/property-editor/labelTooltip-editor.vue +1 -1
  156. package/src/components/xform/form-designer/setting-panel/property-editor/limit-editor.vue +1 -1
  157. package/src/components/xform/form-designer/setting-panel/property-editor/multiple-editor.vue +19 -14
  158. package/src/components/xform/form-designer/setting-panel/property-editor/multipleLimit-editor.vue +1 -1
  159. package/src/components/xform/form-designer/setting-panel/property-editor/placeholder-editor.vue +1 -1
  160. package/src/components/xform/form-designer/setting-panel/property-editor/precision-editor.vue +1 -1
  161. package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +318 -0
  162. package/src/components/xform/form-designer/setting-panel/property-editor/required-editor.vue +10 -6
  163. package/src/components/xform/form-designer/setting-panel/property-editor/requiredHint-editor.vue +3 -3
  164. package/src/components/xform/form-designer/setting-panel/property-editor/showRuleFlag-editor.vue +1 -1
  165. package/src/components/xform/form-designer/setting-panel/property-editor/tempStorage-editor.vue +23 -0
  166. package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +305 -19
  167. package/src/components/xform/form-designer/setting-panel/property-editor/validation-editor.vue +2 -2
  168. package/src/components/xform/form-designer/setting-panel/property-editor/validationHint-editor.vue +2 -2
  169. package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +384 -53
  170. package/src/components/xform/form-designer/setting-panel/property-editor/widgetShowRuleFlag-editor.vue +263 -0
  171. package/src/components/xform/form-designer/setting-panel/propertyRegister.js +25 -10
  172. package/src/components/xform/form-designer/toolbar-panel/index.vue +12 -11
  173. package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +1 -1
  174. package/src/components/xform/form-designer/widget-panel/index.vue +21 -1
  175. package/src/components/xform/form-designer/widget-panel/indexMixin.js +3 -2
  176. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +1428 -865
  177. package/src/components/xform/form-render/container-item/containerItemMixin.js +1 -1
  178. package/src/components/xform/form-render/container-item/data-table-item.vue +86 -42
  179. package/src/components/xform/form-render/container-item/data-table-mixin.js +2433 -18
  180. package/src/components/xform/form-render/container-item/detail-pane-item.vue +17 -3
  181. package/src/components/xform/form-render/container-item/grid-col-item.vue +10 -3
  182. package/src/components/xform/form-render/container-item/grid-item.vue +1 -1
  183. package/src/components/xform/form-render/container-item/list-h5-item.vue +1 -9
  184. package/src/components/xform/form-render/container-item/list-h5-item2.vue +1 -8
  185. package/src/components/xform/form-render/container-item/tab-item.vue +11 -6
  186. package/src/components/xform/form-render/container-item/table-cell-item.vue +38 -32
  187. package/src/components/xform/form-render/container-item/table-item.vue +4 -2
  188. package/src/components/xform/form-render/index.vue +4 -1
  189. package/src/components/xform/form-render/indexMixin.js +3018 -3
  190. package/src/components/xform/lang/zh-CN.js +17 -3
  191. package/src/components/xform/mixins/defaultHandle.js +330 -1
  192. package/src/components/xform/mixins/scriptHttp.js +174 -1
  193. package/src/components/xform/utils/emitter.js +4 -4
  194. package/src/components/xform/utils/format.js +21 -30
  195. package/src/components/xform/utils/formula-util.js +669 -0
  196. package/src/components/xform/utils/util.js +1450 -1
  197. package/src/components/xform/utils/validators.js +1 -5
  198. package/src/index.js +2 -2
  199. package/src/layout/components/AppMain.vue +5 -1
  200. package/src/layout/components/Sidebar/default.vue +1266 -1222
  201. package/src/layout/components/TagsView/index.vue +37 -12
  202. package/src/layout/components/extractedCode/createDialog.vue +92 -0
  203. package/src/layout/components/extractedCode/queryDialog.vue +96 -0
  204. package/src/layout/components/extractedCode/viewDialog.vue +193 -0
  205. package/src/layout/components/notify_message/unreadDialog.vue +11 -5
  206. package/src/layout/components/watermark/index.vue +83 -0
  207. package/src/layout/defaultLayout.vue +1 -1
  208. package/src/mixins/selectDialog/index.js +1 -1
  209. package/src/mixins/tableTree/index.js +1 -1
  210. package/src/router/modules/customer.js +61 -8
  211. package/src/store/config/index.js +1 -1
  212. package/src/store/modules/permission.js +1 -1
  213. package/src/store/modules/settings.js +1 -1
  214. package/src/store/modules/tagsView.js +1 -14
  215. package/src/store/modules/user.js +1 -1
  216. package/src/utils/index.js +575 -3
  217. package/src/utils/pddLog.js +103 -0
  218. package/src/utils/pdfUtil.js +71 -0
  219. package/src/utils/request.js +351 -28
  220. package/src/utils/vab.js +19 -27
  221. package/src/views/bd/setting/bd_attach_setting/edit.vue +4 -4
  222. package/src/views/bd/setting/bd_attach_setting/list.vue +28 -55
  223. package/src/views/bd/setting/bd_attach_setting/mixins/edit.js +4 -5
  224. package/src/views/bd/setting/bd_attach_setting/mixins/list.js +239 -1
  225. package/src/views/bd/setting/bd_company_env/dialog.vue +174 -0
  226. package/src/views/bd/setting/bd_company_env/edit.vue +163 -0
  227. package/src/views/bd/setting/bd_company_env/list.vue +175 -0
  228. package/src/views/bd/setting/config_manage/list.vue +51 -0
  229. package/src/views/bd/setting/form_import_log/edit.vue +127 -0
  230. package/src/views/bd/setting/form_import_log/list.vue +206 -0
  231. package/src/views/bd/setting/form_script/edit.vue +9 -0
  232. package/src/views/bd/setting/form_script/edit1.vue +36 -3
  233. package/src/views/bd/setting/form_script/form_list.vue +1 -1
  234. package/src/views/bd/setting/form_script/list1.vue +4 -4
  235. package/src/views/bd/setting/form_script/mixins/dialog.js +130 -1
  236. package/src/views/bd/setting/form_script/mixins/edit.js +201 -1
  237. package/src/views/bd/setting/form_script/mixins/edit1.js +193 -1
  238. package/src/views/bd/setting/form_script/mixins/form_list.js +1 -1
  239. package/src/views/bd/setting/form_script/mixins/list.js +236 -1
  240. package/src/views/bd/setting/form_script/mixins/list1.js +422 -14
  241. package/src/views/bd/setting/form_script/mixins/otherAuthDialog.js +194 -0
  242. package/src/views/bd/setting/form_script/otherAuthDialog.vue +83 -0
  243. package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +105 -0
  244. package/src/views/bd/setting/form_template/edit.vue +22 -1
  245. package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +2 -2
  246. package/src/views/bd/setting/form_template/list.vue +7 -5
  247. package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +4 -0
  248. package/src/views/bd/setting/form_template/mixins/edit.js +234 -9
  249. package/src/views/bd/setting/form_template/mixins/list.js +688 -22
  250. package/src/views/bd/setting/form_template/mixins/otherAuthDialog.js +193 -0
  251. package/src/views/bd/setting/form_template/mixins/wf_list.js +12 -0
  252. package/src/views/bd/setting/form_template/otherAuthDialog.vue +83 -0
  253. package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +254 -0
  254. package/src/views/bd/setting/form_template/wf_list.vue +127 -0
  255. package/src/views/bd/setting/menu_kind/authDialog.vue +1 -1
  256. package/src/views/bd/setting/menu_kind/list.vue +4 -0
  257. package/src/views/bd/setting/menu_kind/mixins/authDialog.js +2 -2
  258. package/src/views/bd/setting/menu_kind/mixins/list.js +201 -1
  259. package/src/views/bd/setting/push_data/edit.vue +139 -0
  260. package/src/views/bd/setting/push_data/list.vue +283 -0
  261. package/src/views/bd/setting/push_data_h/edit.vue +153 -0
  262. package/src/views/bd/setting/push_data_h/list.vue +293 -0
  263. package/src/views/bd/setting/request_async_setting/edit.vue +279 -0
  264. package/src/views/bd/setting/request_async_setting/list.vue +297 -0
  265. package/src/views/bd/setting/request_setting/edit.vue +258 -0
  266. package/src/views/bd/setting/request_setting/list.vue +248 -0
  267. package/src/views/bd/setting/table_model/edit.vue +875 -426
  268. package/src/views/bd/setting/table_model/list.vue +6 -4
  269. package/src/views/bd/setting/table_model/mixins/dialog.js +1 -1
  270. package/src/views/bd/setting/table_model/mixins/edit.js +1202 -13
  271. package/src/views/bd/setting/table_model/mixins/list.js +439 -14
  272. package/src/views/bd/setting/table_model/mixins/otherAuthDialog.js +201 -0
  273. package/src/views/bd/setting/table_model/otherAuthDialog.vue +83 -0
  274. package/src/views/user/area/dialog.vue +21 -9
  275. package/src/views/user/bill_setting/edit.vue +1 -1
  276. package/src/views/user/bill_setting/list.vue +1 -1
  277. package/src/views/user/common_attribute/itemEdit.vue +2 -2
  278. package/src/views/user/common_attribute/list.vue +1 -1
  279. package/src/views/user/common_script/edit.vue +1 -1
  280. package/src/views/user/common_script/list.vue +1 -1
  281. package/src/views/user/company_info/dialog.vue +164 -154
  282. package/src/views/user/company_info/edit.vue +9 -1
  283. package/src/views/user/extend_datasource/dialog.vue +1 -0
  284. package/src/views/user/extend_datasource/edit.vue +3 -0
  285. package/src/views/user/extend_datasource/list.vue +2 -1
  286. package/src/views/user/fieldTranslation/editDialog.vue +7 -7
  287. package/src/views/user/fieldTranslation/list.vue +32 -32
  288. package/src/views/user/file_type/edit.vue +30 -1
  289. package/src/views/user/file_type/list.vue +28 -0
  290. package/src/views/user/form/vform/designer.vue +775 -749
  291. package/src/views/user/form/vform/out_render.vue +1 -1
  292. package/src/views/user/form/vform/render.vue +8 -4
  293. package/src/views/user/form/view/edit.vue +38 -37
  294. package/src/views/user/form/view/list.vue +68 -15
  295. package/src/views/user/groups/edit.vue +2 -0
  296. package/src/views/user/groups/list.vue +1 -0
  297. package/src/views/user/home/default.vue +1024 -979
  298. package/src/views/user/home/dev.vue +29 -0
  299. package/src/views/user/home/index.vue +20 -8
  300. package/src/views/user/login/default.vue +36 -5
  301. package/src/views/user/login/indexMixin.js +117 -3
  302. package/src/views/user/notify_message/dialog.vue +1 -1
  303. package/src/views/user/notify_template/edit.vue +188 -187
  304. package/src/views/user/notify_template/edit2.vue +176 -0
  305. package/src/views/user/notify_template/list.vue +4 -1
  306. package/src/views/user/notify_template/list2.vue +190 -0
  307. package/src/views/user/outLink/form_view.vue +39 -12
  308. package/src/views/user/outLink/index.vue +17 -0
  309. package/src/views/user/outLink/view.vue +39 -13
  310. package/src/views/user/position/edit.vue +55 -54
  311. package/src/views/user/position/list.vue +4 -4
  312. package/src/views/user/project_tag/dialog.vue +9 -4
  313. package/src/views/user/project_tag/edit.vue +2 -2
  314. package/src/views/user/project_tag/list.vue +9 -4
  315. package/src/views/user/push_setting/list.vue +2 -2
  316. package/src/views/user/request_setting/edit.vue +258 -0
  317. package/src/views/user/request_setting/list.vue +248 -0
  318. package/src/views/user/role/dialog.vue +1 -1
  319. package/src/views/user/role/list.vue +4 -4
  320. package/src/views/user/sale_org/dialog.vue +1 -1
  321. package/src/views/user/sale_org/list.vue +4 -1
  322. package/src/views/user/system_notice/infoDialog.vue +25 -1
  323. package/src/views/user/user/dialog.vue +46 -23
  324. package/src/views/user/user/edit.vue +1059 -1021
  325. package/src/views/user/user/form_dialog.vue +158 -0
  326. package/src/views/user/user/form_edit.vue +117 -49
  327. package/src/views/user/user/form_info.vue +210 -0
  328. package/src/views/user/user/form_list.vue +1 -0
  329. package/src/views/user/user/list.vue +582 -563
  330. package/src/views/user/wf/wf_auto_submit_data/list.vue +2 -0
  331. package/src/views/user/wf/wf_manage/list.vue +30 -1
  332. package/src/views/user/wf/wf_manage/wfContentDialog.vue +1 -1
  333. package/src/views/user/wf/wf_obj_config/importItemDialog.vue +109 -0
  334. package/src/views/user/wf/wf_obj_config/itemEdit.vue +25 -1
  335. package/src/views/user/wf/wf_obj_config/list.vue +138 -5
  336. package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +292 -0
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div>
3
3
  <el-dialog
4
- title="设置文件权限"
4
+ title="设置权限"
5
5
  :append-to-body="true"
6
6
  :modal-append-to-body="true"
7
7
  :close-on-click-modal="false"
@@ -14,115 +14,137 @@
14
14
  v-el-dialog-center
15
15
  >
16
16
  <div class="cont">
17
- <div class="grid-height" style="height: 500px">
18
- <vxe-grid
19
- class="is-pointer"
20
- ref="table-m1"
21
- :data="tableData"
22
- v-bind="vxeOption"
23
- @resizable-change="$vxeTableUtil.onColumnWitchChange"
24
- @custom="$vxeTableUtil.customHandle"
25
- >
26
- <template #form>
27
- <div class="clearfix screen-btns">
28
- <div class="fl">
29
- <vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openSaleOrgAddDialog">新增机构
30
- </vxe-button>
31
- <vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openPositionAddDialog">
32
- 新增岗位
33
- </vxe-button>
34
- <vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openUserAddDialog">新增用户
35
- </vxe-button>
36
- <vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openRoleAddDialog">新增角色
37
- </vxe-button>
38
- <!-- <vxe-button type="text" status="primary" plain class="button-sty" icon="el-icon-delete"
39
- @click="deleteRows()">{{ $t2('删除', 'components.fileLibrary.delete') }}
40
- </vxe-button>-->
41
- </div>
42
- <div class="fl screen-breadcrumb" style="margin-left: 30px;">
43
- <span style="font-size: 12px;">{{ $t2('文件路径', 'components.fileLibrary.filePath') }}:</span>
44
- <el-breadcrumb separator-class="el-icon-arrow-right">
45
- <el-breadcrumb-item v-for="(treeNode,index) in treeNodeArr" :key="index">{{
46
- treeNode.label
47
- }}
48
- </el-breadcrumb-item>
49
- </el-breadcrumb>
50
- </div>
51
- </div>
52
- </template>
53
- <template #saleOrg="{row,rowIndex}">
54
- <el-input
55
- class="search-input"
56
- v-model="row.saleOrgName"
57
- clearable
58
- @clear="
17
+ <div id="containt">
18
+ <el-tabs v-model="activeName" class="tab-box">
19
+ <el-tab-pane :label="$t1('用户权限设置')" name="first">
20
+ <div class="grid-height" style="height: 500px">
21
+ <vxe-grid
22
+ class="is-pointer"
23
+ ref="table-m1"
24
+ :data="tableData"
25
+ v-bind="vxeOption"
26
+ @resizable-change="$vxeTableUtil.onColumnWitchChange"
27
+ @custom="$vxeTableUtil.customHandle"
28
+ >
29
+ <template #form>
30
+ <div class="clearfix screen-btns">
31
+ <div class="fl">
32
+ <vxe-button status="primary" class="button-sty" icon="el-icon-plus"
33
+ @click="openSaleOrgAddDialog">
34
+ 新增机构
35
+ </vxe-button>
36
+ <vxe-button status="primary" class="button-sty" icon="el-icon-plus"
37
+ @click="openPositionAddDialog">
38
+ 新增岗位
39
+ </vxe-button>
40
+ <vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openUserAddDialog">
41
+ 新增用户
42
+ </vxe-button>
43
+ <vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openRoleAddDialog">
44
+ 新增角色
45
+ </vxe-button>
46
+ <!-- <vxe-button type="text" status="primary" plain class="button-sty" icon="el-icon-delete"
47
+ @click="deleteRows()">{{ $t2('删除', 'components.fileLibrary.delete') }}
48
+ </vxe-button>-->
49
+ </div>
50
+ <div class="fl screen-breadcrumb" style="margin-left: 30px;">
51
+ <span style="font-size: 12px;">{{ $t2('文件路径', 'components.fileLibrary.filePath') }}:</span>
52
+ <el-breadcrumb separator-class="el-icon-arrow-right">
53
+ <el-breadcrumb-item v-for="(treeNode,index) in treeNodeArr" :key="index">{{
54
+ treeNode.label
55
+ }}
56
+ </el-breadcrumb-item>
57
+ </el-breadcrumb>
58
+ </div>
59
+ </div>
60
+ </template>
61
+ <template #saleOrg="{row,rowIndex}">
62
+ <el-input
63
+ class="search-input"
64
+ v-model="row.saleOrgName"
65
+ clearable
66
+ @clear="
59
67
  row.saleOrgId = null;
60
68
  "
61
- v-if="!row._isParent"
62
- v-el-readonly
63
- >
64
- <i slot="suffix" class="el-input__icon el-icon-search" @click="openSaleOrgRowDialog(row,rowIndex)"></i>
65
- </el-input>
66
- <template v-else>{{ row.saleOrgName }}</template>
67
- </template>
68
- <template #position="{row,rowIndex}">
69
- <el-input
70
- class="search-input"
71
- v-model="row.positionName"
72
- clearable
73
- @clear="
69
+ v-if="!row._isParent"
70
+ v-el-readonly
71
+ >
72
+ <i slot="suffix" class="el-input__icon el-icon-search"
73
+ @click="openSaleOrgRowDialog(row,rowIndex)"></i>
74
+ </el-input>
75
+ <template v-else>{{ row.saleOrgName }}</template>
76
+ </template>
77
+ <template #position="{row,rowIndex}">
78
+ <el-input
79
+ class="search-input"
80
+ v-model="row.positionName"
81
+ clearable
82
+ @clear="
74
83
  row.positionId = null;
75
84
  "
76
- v-if="!row._isParent"
77
- v-el-readonly
78
- >
79
- <i slot="suffix" class="el-input__icon el-icon-search" @click="openPositionRowDialog(row,rowIndex)"></i>
80
- </el-input>
81
- <template v-else>{{ row.positionName }}</template>
82
- </template>
83
- <template #role="{row,rowIndex}">
84
- <el-input
85
- class="search-input"
86
- v-model="row.roleName"
87
- clearable
88
- @clear="
85
+ v-if="!row._isParent"
86
+ v-el-readonly
87
+ >
88
+ <i slot="suffix" class="el-input__icon el-icon-search"
89
+ @click="openPositionRowDialog(row,rowIndex)"></i>
90
+ </el-input>
91
+ <template v-else>{{ row.positionName }}</template>
92
+ </template>
93
+ <template #role="{row,rowIndex}">
94
+ <el-input
95
+ class="search-input"
96
+ v-model="row.roleName"
97
+ clearable
98
+ @clear="
89
99
  row.roleId = null;
90
100
  "
91
- v-if="!row._isParent"
92
- v-el-readonly
93
- >
94
- <i slot="suffix" class="el-input__icon el-icon-search" @click="openRoleRowDialog(row,rowIndex)"></i>
95
- </el-input>
96
- <template v-else>{{ row.roleName }}</template>
97
- </template>
98
- <template #user="{row,rowIndex}">
99
- <el-input
100
- class="search-input"
101
- v-model="row.nickName"
102
- clearable
103
- @clear="
101
+ v-if="!row._isParent"
102
+ v-el-readonly
103
+ >
104
+ <i slot="suffix" class="el-input__icon el-icon-search"
105
+ @click="openRoleRowDialog(row,rowIndex)"></i>
106
+ </el-input>
107
+ <template v-else>{{ row.roleName }}</template>
108
+ </template>
109
+ <template #user="{row,rowIndex}">
110
+ <el-input
111
+ class="search-input"
112
+ v-model="row.nickName"
113
+ clearable
114
+ @clear="
104
115
  row.userId = null;
105
116
  "
106
- v-if="!row._isParent"
107
- v-el-readonly
108
- >
109
- <i slot="suffix" class="el-input__icon el-icon-search" @click="openUserRowDialog(row,rowIndex)"></i>
110
- </el-input>
111
- <template v-else>{{ row.nickName }}</template>
112
- </template>
113
- <template #operate="{row}">
114
- <a
115
- href="javascript:void(0);"
116
- class="a-link"
117
- @click="openEditDialog(row.id)"
118
- >
119
- <el-tooltip :enterable="false" effect="dark" :content="$t2('查看','common.view')" placement="top"
120
- popper-class="tooltip-skin">
121
- <i class="el-icon-edit"/>
122
- </el-tooltip>
123
- </a>
124
- </template>
125
- </vxe-grid>
117
+ v-if="!row._isParent"
118
+ v-el-readonly
119
+ >
120
+ <i slot="suffix" class="el-input__icon el-icon-search"
121
+ @click="openUserRowDialog(row,rowIndex)"></i>
122
+ </el-input>
123
+ <template v-else>{{ row.nickName }}</template>
124
+ </template>
125
+ <template #operate="{row}">
126
+ <a
127
+ href="javascript:void(0);"
128
+ class="a-link"
129
+ @click="openEditDialog(row.id)"
130
+ >
131
+ <el-tooltip :enterable="false" effect="dark" :content="$t2('查看','common.view')" placement="top"
132
+ popper-class="tooltip-skin">
133
+ <i class="el-icon-edit"/>
134
+ </el-tooltip>
135
+ </a>
136
+ </template>
137
+ </vxe-grid>
138
+ </div>
139
+ </el-tab-pane>
140
+ <el-tab-pane :label="$t1('文件操作,发系统通知')" name="second" v-if="fileStoreArea.toNotify">
141
+ <div class="grid-height" style="height: 500px">
142
+ <fileObjNotifyEdit v-if="showFileObjNotifyEdit" visible-key="showFileObjNotifyEdit"
143
+ :current_prefix="current_prefix" :_dataId="fileObjId" :parent-target="_self"
144
+ @reload="$reloadHandle"></fileObjNotifyEdit>
145
+ </div>
146
+ </el-tab-pane>
147
+ </el-tabs>
126
148
  </div>
127
149
  </div>
128
150
  <span slot="footer" class="dialog-footer">
@@ -130,7 +152,7 @@
130
152
  <i class="el-icon-close el-icon"></i>
131
153
  取 消
132
154
  </el-button>
133
- <el-button type="primary" @click="saveData" class="button-sty">
155
+ <el-button type="primary" @click="saveData" class="button-sty" v-if="activeName=='first'">
134
156
  <i class="el-icon-check el-icon"></i>
135
157
  确 定
136
158
  </el-button>
@@ -13,7 +13,7 @@
13
13
  v-el-dialog-center
14
14
  @close="handleClose"
15
15
  >
16
- <div class="cont">
16
+ <div class="cont" style="height: 550px;">
17
17
  <el-form ref="editForm" :model="fileObjAuth" label-width="110px" class="adSearchForm"
18
18
  style="width: 362px;height: auto;">
19
19
  <el-form-item label="文件路径">
@@ -150,6 +150,17 @@
150
150
  <el-switch v-model="fileObjAuth.shareAuth" :active-value="1" :inactive-value="0"
151
151
  :disabled="fileObjAuth._isParent"/>
152
152
  </el-form-item>
153
+ <el-form-item v-if="fileStoreArea.toDownWatermark" prop="downWatermarkAuth" :label="$t1('下载打水印')"
154
+ :rules="[{ required: false, trigger: 'blur' }]">
155
+ <el-switch v-model="fileObjAuth.downWatermarkAuth" :active-value="1" :inactive-value="0"
156
+ :disabled="fileObjAuth._isParent"/>
157
+ </el-form-item>
158
+
159
+ <el-form-item prop="shareAuth" :label="$t1('设置权限')"
160
+ :rules="[{ required: false, trigger: 'blur' }]">
161
+ <el-switch v-model="fileObjAuth.authAuth" :active-value="1" :inactive-value="0"
162
+ :disabled="fileObjAuth._isParent"/>
163
+ </el-form-item>
153
164
  </el-form>
154
165
  </div>
155
166
  <span slot="footer" class="dialog-footer">
@@ -0,0 +1,192 @@
1
+ <template>
2
+ <div class="detail-wrap" style="margin: -6px -8px;">
3
+ <el-form ref="editForm" :model="fileObjNotify">
4
+ <div class="d-header clearfix">
5
+ <div class="fl">
6
+ <i class="el-icon-info"/>
7
+ <!--{{ isEdit ? $t1('查看文件对象通知设置') : $t1('新增文件对象通知设置') }}-->
8
+ {{ $t1('文件操作 - 发系统通知设置') }}
9
+ </div>
10
+ <div class="fr">
11
+ <el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">
12
+ {{ $t1('重置') }}
13
+ </el-button>
14
+ <el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{ $t1('保存') }}
15
+ </el-button>
16
+ </div>
17
+ </div>
18
+ <div class="d-cont" style="height: 470px;">
19
+ <div class="d-item d-i-left">
20
+ <div class="d-i-tit">
21
+ {{ $t1('文件操作,是否发系统通知') }}
22
+ </div>
23
+ <el-form-item prop="toNotify" :rules="[{ required: true, trigger: 'blur' }]">
24
+ <el-radio-group v-model="fileObjNotify.toNotify">
25
+ <div>
26
+ <el-radio :label="0">{{ $t1('不发系统通知') }}</el-radio>
27
+ </div>
28
+ <div>
29
+ <el-radio :label="1">{{ $t1('针对当前文件夹中的文件操作') }}</el-radio>
30
+ </div>
31
+ <div>
32
+ <el-radio :label="2">{{ $t1('当前文件夹与下级所有文件夹的文件进行了操作,发系统通知') }}</el-radio>
33
+ </div>
34
+ </el-radio-group>
35
+ </el-form-item>
36
+ </div>
37
+ <div class="d-item d-i-right">
38
+ <div class="d-i-tit">
39
+ {{ $t1('不同的文件操作类型,设置对应的系统通知模板') }}
40
+ </div>
41
+ <el-form-item prop="addNtCode" :rules="[{ required: false, trigger: 'blur' }]"
42
+ :label="$t1('新增文件-通知模板编码')">
43
+ <el-input type="text" autocomplete="off" v-model="fileObjNotify.addNtCode" clearable/>
44
+ </el-form-item>
45
+ <el-form-item prop="deleteNtCode" :rules="[{ required: false, trigger: 'blur' }]"
46
+ :label="$t1('删除文件-通知模板编码')">
47
+ <el-input type="text" autocomplete="off" v-model="fileObjNotify.deleteNtCode" clearable/>
48
+ </el-form-item>
49
+ <el-form-item prop="replaceNtCode" :rules="[{ required: false, trigger: 'blur' }]"
50
+ :label=" $t1('替换文件-通知模板编码')">
51
+ <el-input type="text" autocomplete="off" v-model="fileObjNotify.replaceNtCode" clearable/>
52
+ </el-form-item>
53
+ </div>
54
+ </div>
55
+ <div class="tips">{{
56
+ $t1('注:删除文件发通知,包括从当前文件夹移动、删除文件。 新增文件发通知,包括上传、复制、移动、从回收站还原文件到当前文件夹下。')
57
+ }}
58
+ </div>
59
+ </el-form>
60
+ </div>
61
+ </template>
62
+
63
+ <script>
64
+ export default {
65
+ name: 'fileObjNotifyEdit',
66
+ props: {
67
+ _dataId: [String, Number],
68
+ current_prefix: String
69
+ },
70
+ components: {},
71
+ data() {
72
+ return {
73
+ isEdit: false,
74
+ tabIndex: 'first',
75
+ dataId: '',
76
+ fileObjNotify: {
77
+ toNotify: 0,
78
+ fileObjId: this._dataId
79
+ }
80
+ };
81
+ },
82
+ created() {
83
+ if (this._dataId && !isNaN(this._dataId)) this.dataId = this._dataId;
84
+ },
85
+ mounted() {
86
+ this.getData();
87
+ },
88
+ methods: {
89
+ getData() {
90
+ if (this.dataId && !isNaN(this.dataId)) {
91
+
92
+ this.$commonHttp({
93
+ url: this.current_prefix + `/file_obj_notify/get`,
94
+ method: `post`,
95
+ data: {
96
+ id: this.dataId
97
+ },
98
+ isLoading: true,
99
+ modalStrictly: true,
100
+ success: res => {
101
+ if (res.objx) {
102
+ this.fileObjNotify = res.objx;
103
+ this.isEdit = true;
104
+ }
105
+ }
106
+ });
107
+ }
108
+ },
109
+ saveData() {
110
+ this.$refs.editForm.$baseValidate(valid => {
111
+ if (valid) {
112
+ this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
113
+ var url = this.current_prefix + `/file_obj_notify/save`;
114
+ this.$http({
115
+ url: url,
116
+ method: `post`,
117
+ data: this.fileObjNotify,
118
+ isLoading: true,
119
+ success: res => {
120
+ this.$message({
121
+ message: res.content,
122
+ type: 'success',
123
+ duration: 500,
124
+ onClose: t => {
125
+ this.$baseReload();
126
+ }
127
+ });
128
+ }
129
+ });
130
+ });
131
+ }
132
+ });
133
+ }
134
+ }
135
+ };
136
+ </script>
137
+ <style scoped lang="scss">
138
+ .noTr th {
139
+ height: 0px
140
+ }
141
+
142
+ .noTr td {
143
+ height: 0px
144
+ }
145
+
146
+ .d-cont {
147
+ display: flex;
148
+ margin: -11px -12px;
149
+
150
+ .d-i-left, .d-i-right {
151
+ border: none !important;
152
+ padding: 24px 18px 24px 14px !important
153
+ }
154
+
155
+ .d-i-left {
156
+ width: 420px;
157
+ }
158
+
159
+ .d-i-tit {
160
+ background: #f7f7f7;
161
+ line-height: 36px;
162
+ padding: 0 10px;
163
+ margin-bottom: 16px;
164
+ font-size: 13px
165
+ }
166
+
167
+ .d-i-right {
168
+ border-left: solid 1px #e9e9e9 !important;
169
+ flex: 1;
170
+ padding-left: 32px !important;
171
+
172
+ ::v-deep .el-form-item {
173
+ margin-bottom: 16px;
174
+
175
+ .el-form-item__content {
176
+ .el-input {
177
+ width: 360px !important;
178
+ }
179
+ }
180
+ }
181
+ }
182
+ }
183
+
184
+ .tips {
185
+ margin-top: -40px;
186
+ background: #FFF;
187
+ position: relative;
188
+ line-height: 40px;
189
+ border-top: solid 1px #e9e9e9;
190
+ padding-left: 12px;
191
+ }
192
+ </style>