cloud-web-corejs 1.0.54-dev.63 → 1.0.54-dev.630

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 (499) hide show
  1. package/package.json +21 -13
  2. package/src/App.vue +30 -34
  3. package/src/api/user.js +16 -0
  4. package/src/components/Qrcode/fileParse.vue +0 -1
  5. package/src/components/Tinymce/index.vue +112 -71
  6. package/src/components/VabUpload/image-viewer.vue +2 -2
  7. package/src/components/VabUpload/index.js +49 -1
  8. package/src/components/VabUpload/mixins.js +1822 -2
  9. package/src/components/VabUpload/propertiesDialog.vue +1 -1
  10. package/src/components/VabUpload/view.vue +209 -120
  11. package/src/components/advancedSearchDialog/mixins.js +28 -1
  12. package/src/components/base-textarea/index.vue +104 -0
  13. package/src/components/baseAlert/index.js +44 -1
  14. package/src/components/baseAlert/index.vue +24 -20
  15. package/src/components/baseAlert/mixins.js +61 -1
  16. package/src/components/baseAttachment/index.vue +49 -40
  17. package/src/components/baseAttachment/install.js +21 -5
  18. package/src/components/baseAttachment/mixins.js +310 -1
  19. package/src/components/baseInputBatch/mixins.js +58 -1
  20. package/src/components/baseInputExport/index.vue +21 -14
  21. package/src/components/baseInputExport/mixins.js +391 -1
  22. package/src/components/baseTabs/index.vue +16 -8
  23. package/src/components/baseTabs/mixins.js +166 -1
  24. package/src/components/cnPrint/index.js +44 -1
  25. package/src/components/cnPrint/mixins.js +189 -1
  26. package/src/components/code-editor/index.vue +102 -63
  27. package/src/components/confirmDialog/index.js +41 -1
  28. package/src/components/confirmDialog/index.vue +24 -17
  29. package/src/components/confirmDialog/mixins.js +31 -1
  30. package/src/components/errorMsg/index.js +44 -1
  31. package/src/components/errorMsg/index.vue +78 -70
  32. package/src/components/errorMsg/mixins.js +101 -5
  33. package/src/components/excelExport/button.vue +86 -24
  34. package/src/components/excelExport/exportFieldDialog.vue +215 -81
  35. package/src/components/excelExport/index.js +6 -6
  36. package/src/components/excelExport/index.vue +108 -26
  37. package/src/components/excelExport/mixins.js +970 -2
  38. package/src/components/excelImport/index.js +13 -13
  39. package/src/components/excelImport/mixins.js +2 -1
  40. package/src/components/fileLibrary/fileObjAuthDialog.vue +179 -89
  41. package/src/components/fileLibrary/fileObjAuthEditDialog.vue +6 -0
  42. package/src/components/fileLibrary/filterDialog.vue +454 -0
  43. package/src/components/fileLibrary/index.vue +605 -262
  44. package/src/components/fileLibrary/mixins/categoryMoveDialogMixins.js +1 -1
  45. package/src/components/fileLibrary/mixins/fileCategoryDialogMixins.js +1 -1
  46. package/src/components/fileLibrary/mixins/fileHistoryDialogMixins.js +2 -2
  47. package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +339 -211
  48. package/src/components/fileLibrary/mixins/fileObjAuthEditDialogMixin.js +31 -27
  49. package/src/components/fileLibrary/mixins/fileObjAuthEditMixin.js +4 -4
  50. package/src/components/fileLibrary/mixins/indexMixins.js +220 -101
  51. package/src/components/fileLibrary/mixins/propertiesDialogMixins.js +64 -4
  52. package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +3 -3
  53. package/src/components/fileLibrary/propertiesDialog.vue +113 -74
  54. package/src/components/fileLibrary/shareDialog.vue +1 -1
  55. package/src/components/formOplog/mixins.js +85 -4
  56. package/src/components/hiprint/css/bootstrap.min.css +6 -0
  57. package/src/components/hiprint/fonts/glyphicons-halflings-regular.eot +0 -0
  58. package/src/components/hiprint/fonts/glyphicons-halflings-regular.svg +288 -0
  59. package/src/components/hiprint/fonts/glyphicons-halflings-regular.ttf +0 -0
  60. package/src/components/hiprint/fonts/glyphicons-halflings-regular.woff +0 -0
  61. package/src/components/hiprint/fonts/glyphicons-halflings-regular.woff2 +0 -0
  62. package/src/components/hiprint/hiprint.bundle.js +7 -2
  63. package/src/components/hiprint/view/design/index.vue +140 -47
  64. package/src/components/hiprint/view/design/mixins.js +611 -1
  65. package/src/components/hiprint/view/design/preview.vue +75 -52
  66. package/src/components/hiprint/view/json-view.vue +31 -31
  67. package/src/components/jdPrint/index.js +44 -1
  68. package/src/components/jdPrint/mixins.js +208 -1
  69. package/src/components/jsonImport/index.js +187 -17
  70. package/src/components/jsonImport/mixins.js +333 -1
  71. package/src/components/langImport/index.js +80 -1
  72. package/src/components/langImport/mixins.js +500 -16
  73. package/src/components/langTag/mixins/addButton.js +51 -5
  74. package/src/components/langTag/mixins/deleteButton.js +55 -5
  75. package/src/components/langTag/mixins/view.js +47 -5
  76. package/src/components/luckysheet/dialog.vue +159 -0
  77. package/src/components/luckysheet/export.js +595 -0
  78. package/src/components/luckysheet/fileUtils.js +147 -0
  79. package/src/components/luckysheet/index.js +72 -0
  80. package/src/components/luckysheet/templateJson.js +12078 -0
  81. package/src/components/luckysheet/view.vue +210 -0
  82. package/src/components/obsUpload/index.js +34 -0
  83. package/src/components/obsUpload/index.vue +231 -0
  84. package/src/components/obsUpload/mixins.js +1476 -0
  85. package/src/components/onlineTalk/mixins.js +852 -1
  86. package/src/components/oplogTable/mixins.js +83 -4
  87. package/src/components/pddPrint/index.js +44 -1
  88. package/src/components/pddPrint/mixins.js +252 -1
  89. package/src/components/projectTag/mixins/addButton.js +52 -1
  90. package/src/components/projectTag/mixins/deleteButton.js +52 -1
  91. package/src/components/projectTag/mixins/view.js +43 -1
  92. package/src/components/scriptDescription/button.vue +12 -4
  93. package/src/components/scriptDescription/mixins.js +30 -1
  94. package/src/components/scriptTest/mixins.js +90 -1
  95. package/src/components/statusTag/mixins.js +66 -1
  96. package/src/components/table/CellSlot.vue +1 -0
  97. package/src/components/table/config.js +74 -1
  98. package/src/components/table/index.js +1156 -11
  99. package/src/components/table/plugins/extend-cell-area/vxe-table-extend-cell-area.es6.min.js +11028 -0
  100. package/src/components/table/plugins/extend-cell-area/vxe-table-extend-cell-area.min.css +200 -0
  101. package/src/components/table/tableForm.vue +99 -63
  102. package/src/components/table/tableFormMixin.js +285 -1
  103. package/src/components/table/util/index.js +339 -0
  104. package/src/components/table/vxeFilter/index.js +154 -1
  105. package/src/components/table/vxeFilter/mixin.js +308 -6
  106. package/src/components/tempStorage/index.vue +76 -55
  107. package/src/components/tempStorage/tempStorageDialog.vue +179 -54
  108. package/src/components/vb-tabs/x-tabs.vue +56 -30
  109. package/src/components/vipPrint/index.js +44 -1
  110. package/src/components/vipPrint/mixins.js +268 -1
  111. package/src/components/wf/addOpinionButton.vue +57 -0
  112. package/src/components/wf/content.vue +834 -362
  113. package/src/components/wf/mixins/addOpinionButton.js +53 -0
  114. package/src/components/wf/mixins/setCandidateButton.js +161 -0
  115. package/src/components/wf/mixins/setCandidateDialog.js +213 -1
  116. package/src/components/wf/mixins/setCandidateDialog2.js +252 -0
  117. package/src/components/wf/mixins/wfFlowEleScriptDialog.js +131 -0
  118. package/src/components/wf/mixins/wfTaskUserRangeDialog.js +69 -0
  119. package/src/components/wf/setCandidateButton.vue +40 -0
  120. package/src/components/wf/setCandidateDialog.vue +10 -0
  121. package/src/components/wf/setCandidateDialog2.vue +105 -0
  122. package/src/components/wf/wf.js +2156 -1
  123. package/src/components/wf/wfFlowEleScriptDialog.vue +89 -0
  124. package/src/components/wf/wfStartDialog.vue +66 -42
  125. package/src/components/wf/wfTaskUserRangeDialog.vue +65 -0
  126. package/src/components/wf/wfUtil.js +279 -1
  127. package/src/components/xform/form-designer/designer.js +1995 -9
  128. package/src/components/xform/form-designer/form-widget/components/gantt/index.vue +434 -0
  129. package/src/components/xform/form-designer/form-widget/container-widget/containerMixin.js +1 -1
  130. package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +9 -8
  131. package/src/components/xform/form-designer/form-widget/container-widget/data-table-widget.vue +4 -1
  132. package/src/components/xform/form-designer/form-widget/container-widget/detail-pane-widget.vue +3 -2
  133. package/src/components/xform/form-designer/form-widget/container-widget/detail-widget.vue +3 -3
  134. package/src/components/xform/form-designer/form-widget/dialog/baseFormulaDialog copy.vue +971 -0
  135. package/src/components/xform/form-designer/form-widget/dialog/baseFormulaDialog.vue +971 -0
  136. package/src/components/xform/form-designer/form-widget/dialog/exportDialog.vue +13 -0
  137. package/src/components/xform/form-designer/form-widget/dialog/fileReferenceDialog.vue +301 -0
  138. package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +85 -48
  139. package/src/components/xform/form-designer/form-widget/dialog/formDrawer.vue +5 -1
  140. package/src/components/xform/form-designer/form-widget/dialog/formulaDialog.vue +799 -0
  141. package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +30 -7
  142. package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +1762 -9
  143. package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +222 -75
  144. package/src/components/xform/form-designer/form-widget/field-widget/a-link-widget.vue +2 -2
  145. package/src/components/xform/form-designer/form-widget/field-widget/a-text-widget.vue +1 -1
  146. package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +32 -4
  147. package/src/components/xform/form-designer/form-widget/field-widget/button-widget.vue +1 -1
  148. package/src/components/xform/form-designer/form-widget/field-widget/cascader-widget.vue +19 -1
  149. package/src/components/xform/form-designer/form-widget/field-widget/census-widget.vue +40 -28
  150. package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +18 -7
  151. package/src/components/xform/form-designer/form-widget/field-widget/color-widget.vue +4 -1
  152. package/src/components/xform/form-designer/form-widget/field-widget/copy_button-widget.vue +95 -0
  153. package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +13 -2
  154. package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +30 -4
  155. package/src/components/xform/form-designer/form-widget/field-widget/download-button-widget.vue +133 -0
  156. package/src/components/xform/form-designer/form-widget/field-widget/dropdown-item-widget.vue +86 -0
  157. package/src/components/xform/form-designer/form-widget/field-widget/dropdown-widget.vue +170 -0
  158. package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +25 -997
  159. package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +705 -379
  160. package/src/components/xform/form-designer/form-widget/field-widget/gantt-widget.vue +964 -0
  161. package/src/components/xform/form-designer/form-widget/field-widget/html-text-widget.vue +6 -2
  162. package/src/components/xform/form-designer/form-widget/field-widget/import-button-widget.vue +22 -11
  163. package/src/components/xform/form-designer/form-widget/field-widget/import2-button-widget.vue +90 -0
  164. package/src/components/xform/form-designer/form-widget/field-widget/input-widget.vue +7 -2
  165. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-bar-mixin.js +40 -10
  166. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js +58 -91
  167. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-pie-mixin.js +8 -1
  168. package/src/components/xform/form-designer/form-widget/field-widget/mixins/vabsearch-mixin.js +179 -0
  169. package/src/components/xform/form-designer/form-widget/field-widget/multiSearch-widget.vue +53 -0
  170. package/src/components/xform/form-designer/form-widget/field-widget/number-widget.vue +114 -81
  171. package/src/components/xform/form-designer/form-widget/field-widget/oplog-widget.vue +186 -0
  172. package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +55 -28
  173. package/src/components/xform/form-designer/form-widget/field-widget/print-detail-button-widget.vue +119 -0
  174. package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +154 -47
  175. package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +26 -6
  176. package/src/components/xform/form-designer/form-widget/field-widget/search_button-widget.vue +2 -2
  177. package/src/components/xform/form-designer/form-widget/field-widget/select-export-button-widget.vue +86 -0
  178. package/src/components/xform/form-designer/form-widget/field-widget/select-export-item-button-widget.vue +92 -0
  179. package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +24 -9
  180. package/src/components/xform/form-designer/form-widget/field-widget/singerSearch-widget.vue +53 -0
  181. package/src/components/xform/form-designer/form-widget/field-widget/singleUpload-widget.vue +145 -0
  182. package/src/components/xform/form-designer/form-widget/field-widget/static-content-wrapper.vue +12 -1
  183. package/src/components/xform/form-designer/form-widget/field-widget/static-text-widget.vue +8 -3
  184. package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +31 -17
  185. package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +38 -37
  186. package/src/components/xform/form-designer/form-widget/field-widget/tableexportbuttonwidget.vue +99 -0
  187. package/src/components/xform/form-designer/form-widget/field-widget/tempStorage-widget.vue +147 -0
  188. package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +106 -33
  189. package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +2 -2
  190. package/src/components/xform/form-designer/form-widget/field-widget/vabSearch-widget.vue +3 -171
  191. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +191 -66
  192. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload2-widget.vue +753 -0
  193. package/src/components/xform/form-designer/form-widget/indexMixin.js +1 -1
  194. package/src/components/xform/form-designer/indexMixin.js +3 -772
  195. package/src/components/xform/form-designer/refMixinDesign.js +1 -28
  196. package/src/components/xform/form-designer/setting-panel/form-setting.vue +981 -172
  197. package/src/components/xform/form-designer/setting-panel/index.vue +4 -0
  198. package/src/components/xform/form-designer/setting-panel/indexMixin.js +1 -1
  199. package/src/components/xform/form-designer/setting-panel/option-items-setting.vue +537 -302
  200. package/src/components/xform/form-designer/setting-panel/property-editor/a-link-editor.vue +4 -4
  201. package/src/components/xform/form-designer/setting-panel/property-editor/a-text-editor.vue +3 -3
  202. package/src/components/xform/form-designer/setting-panel/property-editor/autoValueEnabled-editor.vue +38 -0
  203. package/src/components/xform/form-designer/setting-panel/property-editor/censusClass-editor.vue +6 -0
  204. package/src/components/xform/form-designer/setting-panel/property-editor/colorClass-editor.vue +28 -0
  205. package/src/components/xform/form-designer/setting-panel/property-editor/commonAttributeEnabled-editor.vue +41 -0
  206. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/columnRenderDialog.vue +125 -0
  207. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +956 -1042
  208. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/exportItemColumns-dialog.vue +432 -0
  209. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/onCheckboxChange-editor.vue +1 -1
  210. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +1193 -520
  211. package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-editor.vue +3 -3
  212. package/src/components/xform/form-designer/setting-panel/property-editor/container-detail-pane/detail-pane-editor.vue +3 -3
  213. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-offset-editor.vue +1 -1
  214. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-pull-editor.vue +1 -1
  215. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-push-editor.vue +1 -1
  216. package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +0 -8
  217. package/src/components/xform/form-designer/setting-panel/property-editor/container-tree/tree-customClass-editor.vue +31 -2
  218. package/src/components/xform/form-designer/setting-panel/property-editor/copyButton-editor.vue +36 -0
  219. package/src/components/xform/form-designer/setting-panel/property-editor/downloadButtonFlag-editor.vue +32 -0
  220. package/src/components/xform/form-designer/setting-panel/property-editor/dropdownFlag-editor.vue +133 -0
  221. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin.js +2 -2
  222. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onAfterConfirmFile-editor.vue +5 -3
  223. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onClick-editor.vue +23 -8
  224. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/clickBindEvent-editor.vue +35 -20
  225. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +64 -5
  226. package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-item-editor.vue +21 -0
  227. package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-menu-editor.vue +59 -0
  228. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-bar-editor.vue +25 -0
  229. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +5 -5
  230. package/src/components/xform/form-designer/setting-panel/property-editor/field-gantt/gantt-editor.vue +36 -0
  231. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +77 -20
  232. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +96 -0
  233. package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-button-editor.vue +44 -15
  234. package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-detail-button-editor.vue +115 -0
  235. package/src/components/xform/form-designer/setting-panel/property-editor/field-rate/rate-defaultValue-editor.vue +1 -1
  236. package/src/components/xform/form-designer/setting-panel/property-editor/field-static-text/preWrap-editor.vue +23 -0
  237. package/src/components/xform/form-designer/setting-panel/property-editor/field-static-text/textContent-editor.vue +1 -1
  238. package/src/components/xform/form-designer/setting-panel/property-editor/field-status/field-status-editor.vue +67 -41
  239. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-button-editor.vue +56 -0
  240. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-item-button-editor.vue +71 -0
  241. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +24 -8
  242. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabSearchName-editor.vue +13 -1
  243. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload/field-vabUpload-editor.vue +33 -1
  244. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload2/field-vabUpload2-editor.vue +66 -0
  245. package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +89 -19
  246. package/src/components/xform/form-designer/setting-panel/property-editor/formatType-editor.vue +137 -0
  247. package/src/components/xform/form-designer/setting-panel/property-editor/formula-editor.vue +721 -466
  248. package/src/components/xform/form-designer/setting-panel/property-editor/labelColor-editor.vue +20 -11
  249. package/src/components/xform/form-designer/setting-panel/property-editor/labelIconClass-editor.vue +1 -1
  250. package/src/components/xform/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue +1 -1
  251. package/src/components/xform/form-designer/setting-panel/property-editor/labelTooltip-editor.vue +1 -1
  252. package/src/components/xform/form-designer/setting-panel/property-editor/limit-editor.vue +1 -1
  253. package/src/components/xform/form-designer/setting-panel/property-editor/multiple-editor.vue +19 -14
  254. package/src/components/xform/form-designer/setting-panel/property-editor/multipleLimit-editor.vue +1 -1
  255. package/src/components/xform/form-designer/setting-panel/property-editor/name-editor.vue +126 -50
  256. package/src/components/xform/form-designer/setting-panel/property-editor/oplog-editor.vue +31 -0
  257. package/src/components/xform/form-designer/setting-panel/property-editor/precision-editor.vue +1 -1
  258. package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +349 -0
  259. package/src/components/xform/form-designer/setting-panel/property-editor/required-editor.vue +10 -6
  260. package/src/components/xform/form-designer/setting-panel/property-editor/requiredHint-editor.vue +3 -3
  261. package/src/components/xform/form-designer/setting-panel/property-editor/showRuleFlag-editor.vue +1 -1
  262. package/src/components/xform/form-designer/setting-panel/property-editor/tempStorage-editor.vue +42 -0
  263. package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +305 -19
  264. package/src/components/xform/form-designer/setting-panel/property-editor/validation-editor.vue +2 -2
  265. package/src/components/xform/form-designer/setting-panel/property-editor/validationHint-editor.vue +2 -2
  266. package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +372 -50
  267. package/src/components/xform/form-designer/setting-panel/property-editor/widgetShowRuleFlag-editor.vue +263 -0
  268. package/src/components/xform/form-designer/setting-panel/propertyRegister.js +33 -11
  269. package/src/components/xform/form-designer/toolbar-panel/index.vue +12 -11
  270. package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +1 -1
  271. package/src/components/xform/form-designer/widget-panel/index.vue +21 -1
  272. package/src/components/xform/form-designer/widget-panel/indexMixin.js +19 -18
  273. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +1729 -918
  274. package/src/components/xform/form-render/container-item/containerItemMixin.js +12 -11
  275. package/src/components/xform/form-render/container-item/data-table-item.vue +206 -198
  276. package/src/components/xform/form-render/container-item/data-table-mixin.js +3326 -1685
  277. package/src/components/xform/form-render/container-item/detail-item.vue +72 -48
  278. package/src/components/xform/form-render/container-item/detail-pane-item.vue +17 -3
  279. package/src/components/xform/form-render/container-item/grid-col-item.vue +10 -3
  280. package/src/components/xform/form-render/container-item/grid-item.vue +1 -1
  281. package/src/components/xform/form-render/container-item/list-h5-item.vue +1 -9
  282. package/src/components/xform/form-render/container-item/list-h5-item2.vue +1 -8
  283. package/src/components/xform/form-render/container-item/tab-item.vue +62 -25
  284. package/src/components/xform/form-render/container-item/table-cell-item.vue +38 -32
  285. package/src/components/xform/form-render/container-item/table-item.vue +4 -2
  286. package/src/components/xform/form-render/container-item/table2-cell-item.vue +53 -34
  287. package/src/components/xform/form-render/container-item/table2-item.vue +167 -92
  288. package/src/components/xform/form-render/container-item/tree-item.vue +32 -11
  289. package/src/components/xform/form-render/dynamicDialogRender.js +1 -1
  290. package/src/components/xform/form-render/index.vue +77 -20
  291. package/src/components/xform/form-render/indexMixin.js +3719 -12
  292. package/src/components/xform/form-render/refMixin.js +3 -3
  293. package/src/components/xform/lang/zh-CN.js +29 -4
  294. package/src/components/xform/mixins/defaultHandle.js +367 -2
  295. package/src/components/xform/mixins/scriptHttp.js +3 -1
  296. package/src/components/xform/utils/emitter.js +4 -4
  297. package/src/components/xform/utils/formHttp.js +162 -0
  298. package/src/components/xform/utils/format.js +41 -34
  299. package/src/components/xform/utils/formula-util.js +969 -0
  300. package/src/components/xform/utils/smart-vue-i18n/index.js +2 -1
  301. package/src/components/xform/utils/util.js +1475 -1
  302. package/src/components/xform/utils/validators.js +2 -5
  303. package/src/components/xform/utils/vue2js-generator.js +2 -2
  304. package/src/components/xhsPrint/index.js +44 -1
  305. package/src/components/xhsPrint/mixins.js +269 -1
  306. package/src/directive/LimitNumber/index.js +125 -1
  307. package/src/directive/el-dialog-center/index.js +34 -1
  308. package/src/directive/el-drag-dialog/drag.js +86 -1
  309. package/src/directive/el-readonly/index.js +15 -1
  310. package/src/directive/permission/hasPermi.js +34 -1
  311. package/src/index.js +215 -190
  312. package/src/lang/index.js +56 -51
  313. package/src/lang/locale/en/login.js +20 -0
  314. package/src/lang/locale/zh/login.js +20 -0
  315. package/src/layout/components/AppMain.vue +8 -1
  316. package/src/layout/components/Sidebar/default.vue +1432 -1222
  317. package/src/layout/components/Sidebar/index.vue +6 -1
  318. package/src/layout/components/TagsView/index.vue +43 -12
  319. package/src/layout/components/createCompany/createCompanyDialog.vue +157 -0
  320. package/src/layout/components/extractedCode/createDialog.vue +92 -0
  321. package/src/layout/components/extractedCode/queryDialog.vue +103 -0
  322. package/src/layout/components/extractedCode/viewDialog.vue +207 -0
  323. package/src/layout/components/langTool.vue +32 -29
  324. package/src/layout/components/watermark/index.vue +83 -0
  325. package/src/layout/defaultLayout.vue +17 -9
  326. package/src/mixins/selectDialog/index.js +266 -1
  327. package/src/mixins/tableTree/index.js +199 -4
  328. package/src/mixins/wf/index.js +33 -1
  329. package/src/permission.js +135 -18
  330. package/src/resources/js/base/common.js +109 -109
  331. package/src/router/modules/customer.js +0 -15
  332. package/src/router/modules/system.js +4 -0
  333. package/src/store/config/index.js +667 -1
  334. package/src/store/getters.js +4 -1
  335. package/src/store/modules/permission.js +46 -41
  336. package/src/store/modules/settings.js +1 -1
  337. package/src/store/modules/tagsView.js +5 -8
  338. package/src/store/modules/user.js +367 -16
  339. package/src/utils/aes.js +2 -1
  340. package/src/utils/auth.js +1 -1
  341. package/src/utils/global.js +1 -1
  342. package/src/utils/index.js +2 -3
  343. package/src/utils/keepAlive.js +1 -1
  344. package/src/utils/pddLog.js +92 -0
  345. package/src/utils/pdfUtil.js +71 -0
  346. package/src/utils/request.js +1 -1
  347. package/src/utils/vab.js +1268 -27
  348. package/src/utils/validate.js +1 -1
  349. package/src/utils/wf.js +4 -4
  350. package/src/views/bd/setting/bd_attach_setting/edit.vue +5 -5
  351. package/src/views/bd/setting/bd_attach_setting/list.vue +28 -55
  352. package/src/views/bd/setting/bd_attach_setting/mixins/dialog.js +84 -1
  353. package/src/views/bd/setting/bd_attach_setting/mixins/edit.js +116 -5
  354. package/src/views/bd/setting/bd_attach_setting/mixins/list.js +239 -1
  355. package/src/views/bd/setting/bd_company_env/dialog.vue +174 -0
  356. package/src/views/bd/setting/bd_company_env/edit.vue +193 -0
  357. package/src/views/bd/setting/bd_company_env/list.vue +175 -0
  358. package/src/views/bd/setting/config_manage/list.vue +83 -0
  359. package/src/views/bd/setting/formVersion/button.vue +55 -0
  360. package/src/views/bd/setting/formVersion/compareDialog.vue +287 -0
  361. package/src/views/bd/setting/formVersion/fieldCompare.vue +54 -0
  362. package/src/views/bd/setting/formVersion/ftHistoryDialog.vue +400 -0
  363. package/src/views/bd/setting/formVersion/link.vue +58 -0
  364. package/src/views/bd/setting/formVersion/preformDialog.vue +86 -0
  365. package/src/views/bd/setting/formVersion/reverButton.vue +82 -0
  366. package/src/views/bd/setting/form_import_log/edit.vue +130 -0
  367. package/src/views/bd/setting/form_import_log/list.vue +211 -0
  368. package/src/views/bd/setting/form_script/edit.vue +196 -74
  369. package/src/views/bd/setting/form_script/edit1.vue +410 -187
  370. package/src/views/bd/setting/form_script/form_list.vue +118 -37
  371. package/src/views/bd/setting/form_script/list.vue +90 -21
  372. package/src/views/bd/setting/form_script/list1.vue +200 -118
  373. package/src/views/bd/setting/form_script/mixins/dialog.js +130 -1
  374. package/src/views/bd/setting/form_script/mixins/edit.js +265 -7
  375. package/src/views/bd/setting/form_script/mixins/edit1.js +259 -9
  376. package/src/views/bd/setting/form_script/mixins/form_list.js +322 -14
  377. package/src/views/bd/setting/form_script/mixins/list.js +278 -4
  378. package/src/views/bd/setting/form_script/mixins/list1.js +480 -14
  379. package/src/views/bd/setting/form_script/mixins/list2.js +10 -1
  380. package/src/views/bd/setting/form_script/mixins/otherAuthDialog.js +194 -0
  381. package/src/views/bd/setting/form_script/mixins/preformDialog.js +34 -1
  382. package/src/views/bd/setting/form_script/otherAuthDialog.vue +83 -0
  383. package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +2 -2
  384. package/src/views/bd/setting/form_template/edit.vue +355 -184
  385. package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +2 -2
  386. package/src/views/bd/setting/form_template/formDesignerDialog.vue +171 -0
  387. package/src/views/bd/setting/form_template/list.vue +296 -214
  388. package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +11 -9
  389. package/src/views/bd/setting/form_template/mixins/dialog.js +103 -1
  390. package/src/views/bd/setting/form_template/mixins/edit.js +277 -9
  391. package/src/views/bd/setting/form_template/mixins/editWfObjConfigDialog.js +92 -1
  392. package/src/views/bd/setting/form_template/mixins/ftHistoryDialog.js +91 -1
  393. package/src/views/bd/setting/form_template/mixins/itemEdit.js +104 -1
  394. package/src/views/bd/setting/form_template/mixins/itemList.js +234 -1
  395. package/src/views/bd/setting/form_template/mixins/list.js +672 -22
  396. package/src/views/bd/setting/form_template/mixins/list2.js +411 -0
  397. package/src/views/bd/setting/form_template/mixins/otherAuthDialog.js +193 -0
  398. package/src/views/bd/setting/form_template/mixins/preformDialog.js +28 -3
  399. package/src/views/bd/setting/form_template/mixins/wf_list.js +3 -7
  400. package/src/views/bd/setting/form_template/otherAuthDialog.vue +83 -0
  401. package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +4 -4
  402. package/src/views/bd/setting/form_template/wf_list.vue +161 -127
  403. package/src/views/bd/setting/logic_param/edit.vue +146 -0
  404. package/src/views/bd/setting/logic_param/edit1.vue +106 -0
  405. package/src/views/bd/setting/logic_param/edit2.vue +139 -0
  406. package/src/views/bd/setting/logic_param/list.vue +74 -0
  407. package/src/views/bd/setting/logic_param/list1.vue +12 -0
  408. package/src/views/bd/setting/logic_param/list2.vue +12 -0
  409. package/src/views/bd/setting/logic_param/mixins/edit.js +93 -0
  410. package/src/views/bd/setting/logic_param/mixins/list.js +376 -0
  411. package/src/views/bd/setting/menu_kind/list.vue +172 -83
  412. package/src/views/bd/setting/menu_kind/mixins/authDialog.js +300 -7
  413. package/src/views/bd/setting/menu_kind/mixins/dialog.js +139 -1
  414. package/src/views/bd/setting/menu_kind/mixins/list.js +201 -1
  415. package/src/views/bd/setting/push_data/edit.vue +139 -0
  416. package/src/views/bd/setting/push_data/list.vue +283 -0
  417. package/src/views/bd/setting/push_data_h/edit.vue +153 -0
  418. package/src/views/bd/setting/push_data_h/list.vue +293 -0
  419. package/src/views/bd/setting/request_async_setting/edit.vue +320 -0
  420. package/src/views/bd/setting/request_async_setting/list.vue +372 -0
  421. package/src/views/bd/setting/request_setting/edit.vue +300 -0
  422. package/src/views/bd/setting/request_setting/list.vue +311 -0
  423. package/src/views/bd/setting/table_model/edit.vue +1073 -426
  424. package/src/views/bd/setting/table_model/list.vue +213 -128
  425. package/src/views/bd/setting/table_model/mixins/dialog.js +71 -1
  426. package/src/views/bd/setting/table_model/mixins/edit.js +1284 -13
  427. package/src/views/bd/setting/table_model/mixins/list.js +441 -14
  428. package/src/views/bd/setting/table_model/mixins/otherAuthDialog.js +201 -0
  429. package/src/views/bd/setting/table_model/mixins/zdDialog.js +108 -1
  430. package/src/views/bd/setting/table_model/otherAuthDialog.vue +83 -0
  431. package/src/views/bd/setting/utils/index.js +60 -1
  432. package/src/views/user/access_log/list.vue +418 -349
  433. package/src/views/user/area/dialog.vue +223 -117
  434. package/src/views/user/area/list.vue +318 -0
  435. package/src/views/user/bill_setting/edit.vue +1 -1
  436. package/src/views/user/bill_setting/list.vue +1 -1
  437. package/src/views/user/common_attribute/itemEdit.vue +2 -2
  438. package/src/views/user/common_attribute/list.vue +5 -2
  439. package/src/views/user/common_script/edit.vue +1 -1
  440. package/src/views/user/common_script/list.vue +1 -1
  441. package/src/views/user/company_info/dialog.vue +195 -163
  442. package/src/views/user/company_info/edit.vue +1 -1
  443. package/src/views/user/extend_datasource/dialog.vue +3 -0
  444. package/src/views/user/extend_datasource/edit.vue +2 -1
  445. package/src/views/user/extend_datasource/list.vue +3 -0
  446. package/src/views/user/fieldTranslation/editDialog.vue +8 -8
  447. package/src/views/user/fieldTranslation/list.vue +33 -33
  448. package/src/views/user/form/vform/designer.vue +790 -749
  449. package/src/views/user/form/vform/out_render.vue +1 -1
  450. package/src/views/user/form/vform/render.vue +67 -37
  451. package/src/views/user/form/view/edit.vue +38 -37
  452. package/src/views/user/form/view/list.vue +270 -49
  453. package/src/views/user/home/default.vue +1026 -979
  454. package/src/views/user/home/dev.vue +29 -0
  455. package/src/views/user/home/index.vue +18 -7
  456. package/src/views/user/login/default.vue +165 -36
  457. package/src/views/user/login/index.vue +4 -6
  458. package/src/views/user/login/indexMixin.js +186 -9
  459. package/src/views/user/menu/list.vue +27 -1
  460. package/src/views/user/notify_message/dialog.vue +44 -22
  461. package/src/views/user/notify_template/edit.vue +188 -187
  462. package/src/views/user/notify_template/edit2.vue +176 -0
  463. package/src/views/user/notify_template/list.vue +4 -1
  464. package/src/views/user/notify_template/list2.vue +190 -0
  465. package/src/views/user/outLink/form_view.vue +211 -211
  466. package/src/views/user/outLink/index.vue +67 -11
  467. package/src/views/user/position/list.vue +4 -4
  468. package/src/views/user/project_tag/dialog.vue +9 -4
  469. package/src/views/user/project_tag/edit.vue +2 -2
  470. package/src/views/user/project_tag/list.vue +9 -4
  471. package/src/views/user/push_setting/list.vue +2 -2
  472. package/src/views/user/request_setting/edit.vue +258 -0
  473. package/src/views/user/request_setting/list.vue +248 -0
  474. package/src/views/user/role/authConfig.vue +89 -0
  475. package/src/views/user/role/dialog.vue +70 -48
  476. package/src/views/user/role/edit.vue +609 -429
  477. package/src/views/user/role/list.vue +4 -4
  478. package/src/views/user/sale_org/dialog.vue +1 -1
  479. package/src/views/user/sale_org/list.vue +4 -1
  480. package/src/views/user/system_notice/infoDialog.vue +2 -1
  481. package/src/views/user/user/dialog.vue +46 -23
  482. package/src/views/user/user/edit.vue +1338 -1021
  483. package/src/views/user/user/form_dialog.vue +158 -0
  484. package/src/views/user/user/form_info.vue +210 -0
  485. package/src/views/user/user/info.vue +253 -140
  486. package/src/views/user/user/list.vue +652 -563
  487. package/src/views/user/user/modifyPasswordDialog.vue +64 -53
  488. package/src/views/user/wf/wfReport/index.vue +619 -0
  489. package/src/views/user/wf/wf_auto_submit_data/list.vue +2 -0
  490. package/src/views/user/wf/wf_manage/list.vue +379 -250
  491. package/src/views/user/wf/wf_manage/wfContentDialog.vue +25 -22
  492. package/src/views/user/wf/wf_obj_config/importItemDialog.vue +109 -0
  493. package/src/views/user/wf/wf_obj_config/itemEdit.vue +25 -1
  494. package/src/views/user/wf/wf_obj_config/list.vue +114 -9
  495. package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +2 -2
  496. package/src/views/user/wf/wf_transfer_setting/edit.vue +282 -0
  497. package/src/views/user/wf/wf_transfer_setting/list.vue +319 -0
  498. package/src/views/user/workbench_menu/list.vue +555 -0
  499. package/src/utils/renderUtils.js +0 -76
@@ -0,0 +1,411 @@
1
+ import tableForm from "@base/components/table/tableForm.vue";
2
+ import editView from "@base/views/bd/setting/form_template/edit.vue";
3
+ import itemList from "@base/views/bd/setting/form_template/itemList.vue";
4
+ import formScriptList from "@base/views/bd/setting/form_script/form_list.vue";
5
+ import indexUtil from "@base/utils";
6
+ import {getBdFlag} from "@base/api/user";
7
+ import designer from "@base/views/user/form/vform/designer.vue";
8
+ import {getJsxBtnList, getJsxStatus} from "@base/views/bd/setting/utils/index";
9
+
10
+ let modules = {};
11
+ modules = {
12
+ name: 'bd_form_template:list',
13
+ components: {
14
+
15
+ tableForm,
16
+ editView,
17
+ itemList,
18
+ formScriptList,
19
+ designer
20
+ },
21
+ data() {
22
+ return {
23
+ isFullscreen: false,
24
+ formDesTabs: 'first',
25
+ activeName: 'second',
26
+ dataId: 0,
27
+ showEdit: false,
28
+ vxeOption: {},
29
+ formData: {},
30
+ showDesingerDialog: false,
31
+ formCode: null,
32
+ formName: null,
33
+ templateId: null,
34
+ currentFormTemplate: null,
35
+
36
+ showItemEdit: false,
37
+ showParamEdit: false,
38
+ vxeOption1: {},
39
+ editId: '',
40
+ itemEditId: '',
41
+ pRow: null,
42
+ currentRow: {},
43
+ serviceId: null,
44
+ itemServiceId: null,
45
+
46
+ showWfDialog: false,
47
+ wfUrl: '',
48
+ ph: '',
49
+ dialogActiveName: 'first',
50
+ showFunctionScriptList: false,
51
+ showUserDialog: false,
52
+ wfAssignData: [],
53
+ wfAssignCallback: null,
54
+ wfAssignMulti: true,
55
+
56
+ showPositionDialog: false,
57
+ wfAssignPositionData: [],
58
+ wfAssignPositionCallback: null,
59
+
60
+ showFormTemplateDialog: false,
61
+ wfAssignFormTemplateCallback: null,
62
+
63
+ showScriptDescriptionDialog: false,
64
+ showWfDiyAttributeEdit: false,
65
+
66
+ showFtHistoryDialog: false,
67
+ operateFtHistory: null,
68
+
69
+ defaultProps: {
70
+ label: 'name', //这里是树结构中需显示的数据(即接口返回的需展示在页面上的参数)
71
+ children: [],
72
+ isLeaf: 'leaf'
73
+ },
74
+ showItemView: false,
75
+
76
+ currentFormType: {},
77
+ editFormTypeId: null,
78
+ showFormTypeDialog: false,
79
+ showFormScriptList: false,
80
+ addProjectTagOption: {
81
+ url: USER_PREFIX + `/formTemplate/saveTag`,
82
+ tableDatas: () => {
83
+ return this.$refs["table-m1"].getCheckboxRecords(true);
84
+ },
85
+ reqData: (tagDatas, tableDatas) => {
86
+ let sids = tableDatas.map(item => item.sid);
87
+ let tagCodes = tagDatas.map(item => item.tagCode);
88
+ let reqData = {
89
+ tagCodes,
90
+ sids
91
+ };
92
+ return reqData;
93
+ },
94
+ callback: () => {
95
+ this.searchEvent()
96
+ }
97
+ },
98
+ deleteProjectTagOption: {
99
+ url: USER_PREFIX + `/formTemplate/deleteTag`,
100
+ tableDatas: () => {
101
+ return this.$refs["table-m1"].getCheckboxRecords(true);
102
+ },
103
+ reqData: (tagDatas, tableDatas) => {
104
+ let sids = tableDatas.map(item => item.sid);
105
+ let tagCodes = tagDatas.map(item => item.tagCode);
106
+ let reqData = {
107
+ tagCodes,
108
+ sids
109
+ };
110
+ return reqData;
111
+ },
112
+ callback: () => {
113
+ this.searchEvent()
114
+ }
115
+ },
116
+ showProjectTagDialog3: false,
117
+ checkTags: [],
118
+ isDev: true,
119
+ menuKindAuth: {},
120
+ showTree: false,
121
+
122
+ showWfObjConfigDialog: false,
123
+ formTemplate: null
124
+ };
125
+ },
126
+ computed: {
127
+ currentMenuKindId() {
128
+ return this.currentFormType?.id || null
129
+ },
130
+ currentMenuKindName() {
131
+ return this.currentFormType?.name || null
132
+ }
133
+ },
134
+ watch: {
135
+ formDesTabs(val) {
136
+ if (this.showFormScriptList == false && val == 'second') {
137
+ this.showFormScriptList = true;
138
+ }
139
+ }
140
+ },
141
+ mounted() {
142
+ this.getBdEnv();
143
+ this.initTableList();
144
+ this.initWfWinParam();
145
+ },
146
+ methods: {
147
+ searchEvent() {
148
+ this.$refs['table-m1'].commitProxy('reload');
149
+ },
150
+ resetEvent() {
151
+ this.formData = {};
152
+ this.checkTags = [];
153
+ this.$refs['table-m1'].commitProxy('reload');
154
+ },
155
+ openEditDialog(row) {
156
+ let formCode = row?.formCode || null;
157
+ /*this.dataId = !id || typeof id == 'object' ? 0 : id;
158
+ this.activeName = 'first';
159
+ this.showItemEdit = false;
160
+ this.$openEditView('showEdit');*/
161
+ if (!formCode) {
162
+ this.dataId = formCode;
163
+ this.activeName = 'first';
164
+ this.$openEditView('showEdit');
165
+ } else {
166
+ this.$refs.xTabs.openEditTab(row);
167
+ }
168
+
169
+ },
170
+ openDesingerDialog(row, callback) {
171
+ this.formCode = row.formCode;
172
+ this.formName = row.formName;
173
+ this.currentFormTemplate = row;
174
+ this.isFullscreen = false;
175
+ this.showDesingerDialog = true;
176
+ this.designerSaveCallback = callback ?? null;
177
+ },
178
+ openDesingerDialogByChild({row, callback}) {
179
+ this.openDesingerDialog(row, callback)
180
+ },
181
+ reflushTemplateList() {
182
+ this.searchEvent();
183
+ this.designerSaveCallback && this.designerSaveCallback();
184
+ },
185
+ handleFullscreen() {
186
+ let isFullscreen = this.isFullscreen;
187
+ if (!isFullscreen) {
188
+ indexUtil.addClass(document.body, "hideMenu");
189
+ } else {
190
+ indexUtil.removeClass(document.body, "hideMenu");
191
+ }
192
+ this.isFullscreen = !isFullscreen;
193
+ },
194
+ openFtHistoryDialog(row) {
195
+ this.operateFtHistory = row;
196
+ this.showFtHistoryDialog = true;
197
+ },
198
+ confirmFtHistoryDialog(row) {
199
+ this.searchEvent();
200
+ },
201
+ closeFormDesignwinEvent(done) {
202
+ this.$baseConfirm(this.$t1('请确认"已保存"报表模板,是否继续关闭?')).then(() => {
203
+ indexUtil.removeClass(document.body, "hideMenu");
204
+ done && done();
205
+ });
206
+ },
207
+ getSearchParam() {
208
+ let tagCodes = null;
209
+ if (this.checkTags.length) {
210
+ tagCodes = this.checkTags.map(item => item.tagCode);
211
+ }
212
+ let currentFormType = this.currentFormType || {}
213
+ return {
214
+ ...this.formData,
215
+ tagCodes,
216
+ menuKindCode: currentFormType.menuKindCode || null,
217
+ history: false
218
+ };
219
+ },
220
+ initTableList() {
221
+ let that = this;
222
+ let tableOption = {
223
+ vue: this,
224
+ tableRef: 'table-m1',
225
+ tableName: 'bd_form_template_list-m2',
226
+ path: USER_PREFIX + '/formTemplate/listPageWf',
227
+ param: () => {
228
+ return this.getSearchParam();
229
+ },
230
+ columns: [
231
+ {type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
232
+ {
233
+ title: this.$t1('模板名称'),
234
+ field: 'formName',
235
+ width: 250,
236
+ fixed: 'left'
237
+ },
238
+ {
239
+ title: this.$t1('模板编码'),
240
+ field: 'formCode',
241
+ width: 250
242
+ },
243
+ {field: 'serviceName', title: this.$t1('服务名'), width: 150},
244
+ {
245
+ title: this.$t1('更新时间'),
246
+ field: 'modifyDate',
247
+ width: 150
248
+ },
249
+ {
250
+ title: this.$t1('创建时间'),
251
+ field: 'createDate',
252
+ width: 150
253
+ },
254
+ {
255
+ width: 120,
256
+ fixed: 'right',
257
+ title: '',
258
+ sortable: false,
259
+ slots: {
260
+ default: ({row}) => {
261
+ return getJsxBtnList([
262
+ {
263
+ iconName: "iconfont icon-liuchengguanli-shejiqi_liucheng",
264
+ content: this.$t1('流程单据维护'),
265
+ onclick: () => {
266
+ this.openWfObjConfigDialog(row);
267
+ }
268
+ }
269
+ ]);
270
+ }
271
+ }
272
+ }
273
+ ],
274
+ searchColumns: [
275
+ {title: this.$t1('模板名称'), field: "formName", type: "input", common: true},
276
+ {title: this.$t1('模板编码'), field: "formCode", type: "input", common: true}
277
+ ],
278
+ config: {
279
+
280
+ },
281
+ };
282
+ this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
283
+ this.vxeOption = opts;
284
+ this.showTree = true;
285
+ });
286
+ },
287
+ chooseCellM1(row) {
288
+ this.currentRow = row;
289
+ this.showItemView = true;
290
+ },
291
+ openWfDesignDialog(actModelId) {
292
+ //wfType 0:单据流程,1:场景流程
293
+ let serviceId = this.currentRow.serviceName;
294
+ this.wfUrl = WEB_PREFIX + '/activiti-explorer/modeler.html?wfType=0&serviceId=' + serviceId + '&modelId=' + actModelId;
295
+ this.dialogActiveName = 'first';
296
+ this.showWfDialog = true;
297
+ },
298
+ closeDesignwinEvent(done) {
299
+ this.$baseConfirm(this.$t1('请确认"已保存"流程模板,是否继续关闭?')).then(() => {
300
+ this.showWfDialog = false;
301
+ // this.showDesingerDialog = false;
302
+ });
303
+ },
304
+ initWfWinParam() {
305
+ this.initCloseWfDesignWin();
306
+ this.initWinUserDialog();
307
+ this.initWinPositionDialog();
308
+ this.initSysParamForWf();
309
+ this.initWinFormTemplateDialog();
310
+ this.initWinScriptDescriptionDialog();
311
+ },
312
+ initCloseWfDesignWin() {
313
+ window.closeWfDesignWin = () => {
314
+ this.showWfDialog = false;
315
+ };
316
+ },
317
+ initWinUserDialog() {
318
+ window.openAssignUserDialog = opts => {
319
+ this.wfAssignMulti = opts.multi;
320
+ this.wfAssignData = opts.data || [];
321
+ this.wfAssignCallback = opts.callback;
322
+ this.showUserDialog = true;
323
+ };
324
+ },
325
+ confirmUser(rows) {
326
+ this.wfAssignCallback(rows);
327
+ },
328
+ initWinPositionDialog() {
329
+ window.openAssignPositionDialog = opts => {
330
+ this.wfAssignPositionData = opts.data || [];
331
+ this.wfAssignPositionCallback = opts.callback;
332
+ this.showPositionDialog = true;
333
+ };
334
+ },
335
+ initSysParamForWf() {
336
+ let webPrefix = WEB_PREFIX;
337
+ let baseApi = process.env.VUE_APP_BASE_API;
338
+ window.sysParamForWf = {
339
+ webPrefix,
340
+ baseApi
341
+ }
342
+ },
343
+ confirmPosition(rows) {
344
+ this.wfAssignPositionCallback(rows);
345
+ },
346
+ initWinFormTemplateDialog() {
347
+ window.openAssignFormTemplateDialog = opts => {
348
+ this.wfAssignFormTemplateCallback = opts.callback;
349
+ this.showFormTemplateDialog = true;
350
+ };
351
+ },
352
+ confirmFormTemplate(rows) {
353
+ this.wfAssignFormTemplateCallback(rows);
354
+ },
355
+ initWinScriptDescriptionDialog() {
356
+ window.openScriptDescriptionDialog = opts => {
357
+ this.showScriptDescriptionDialog = true;
358
+ };
359
+ },
360
+ handleFormDesignClose() {
361
+ this.formDesTabs = 'first';
362
+ this.showFormScriptList = false;
363
+ },
364
+ openProjectTagDialog3() {
365
+ this.showProjectTagDialog3 = true;
366
+ },
367
+ confirmProjectTagDialog3(rows) {
368
+ this.checkTags = rows;
369
+ },
370
+ getTabNames() {
371
+ return this.checkTags.map(item => item.tagName).join(",");
372
+ },
373
+ jsonImport() {
374
+ this.$jsonImport({
375
+ saveUrl: USER_PREFIX + '/form_develop/importFormTemplate',
376
+ showResult: true,
377
+ resultColumns: [
378
+ {title: this.$t1('模板名称'), field: "formName", type: "input", common: true},
379
+ {title: this.$t1('模板编码'), field: "formCode", type: "input", common: true},
380
+ ],
381
+ callback: () => {
382
+ this.searchEvent();
383
+ }
384
+ });
385
+ },
386
+ jsonExport() {
387
+ this.$jsonExport({
388
+ targetRef: "table-m1",
389
+ url: USER_PREFIX + "/form_develop/exportFormTemplate",
390
+ abcEnabled: true,
391
+ editAuth: this.currentFormType.editAuth,
392
+ selectTypeAuth: this.currentFormType.selectTypeAuth
393
+ })
394
+ },
395
+ getBdEnv() {
396
+ getBdFlag({
397
+ success: res => {
398
+ this.isDev = res.objx == 1
399
+ }
400
+ });
401
+ },
402
+ openWfObjConfigDialog(row) {
403
+ this.formTemplate = row;
404
+ this.showWfObjConfigDialog = true;
405
+
406
+ },
407
+ confirmWfObjConfigDialog() {
408
+ }
409
+ }
410
+ };
411
+ export default modules
@@ -0,0 +1,193 @@
1
+ import userDialog from "@base/views/user/user/form_dialog.vue";
2
+ import {getJsxBtn} from "@base/views/bd/setting/utils/index";
3
+ import {getBdEnv} from "@base/api/user";
4
+
5
+ let modules = {};
6
+ modules = {
7
+ props: {
8
+ currentMenuKind: Object,
9
+ sid:String
10
+ },
11
+ components: {
12
+ userDialog
13
+ },
14
+ computed: {
15
+
16
+ },
17
+ async mounted() {
18
+ // await this.initBdEnv();
19
+ this.initTableList();
20
+ },
21
+ data() {
22
+ let that = this;
23
+ return {
24
+ showDialog: true,
25
+ activeName: 'second',
26
+ value10: '',
27
+ dataId: '',
28
+ showEdit: false,
29
+ formData: {},
30
+ vxeOption: {},
31
+ showUserDialog: false,
32
+ showPositionDialog: false,
33
+ showSaleOrgDialog: false,
34
+ operateIndex: 0,
35
+ showViewDialog: false,
36
+
37
+ tableData: [],
38
+ showUserRowDialog: false,
39
+ showUserAddDialog: false,
40
+ currentRow: null,
41
+ isDev: true
42
+
43
+ };
44
+ },
45
+ methods: {
46
+ getFieldDisabled() {
47
+
48
+ },
49
+ searchEvent() {
50
+ this.$refs['table-m1'].commitProxy('reload');
51
+ },
52
+ resetEvent() {
53
+ this.formData = {};
54
+ this.$refs['table-m1'].commitProxy('reload');
55
+ },
56
+ initBdEnv() {
57
+ return getBdEnv({
58
+ success: res => {
59
+ this.isDev = res.objx == "dev"
60
+ }
61
+ });
62
+ },
63
+ initTableList() {
64
+ let that = this;
65
+ let tableOption = {
66
+ vue: this,
67
+ tableRef: 'table-m1',
68
+ tableName: 'user_form_template_auth-list-m1',
69
+ config: {
70
+ height: "auto"
71
+ },
72
+ columns: [
73
+ {type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
74
+ {
75
+ title: this.$t1('用户'),
76
+ field: 'nickName',
77
+ width: 250
78
+ },
79
+ {
80
+ title: this.$t1('编辑'),
81
+ field: 'editAuth',
82
+ width: 150,
83
+ slots: {
84
+ default: "switch"
85
+ }
86
+ },
87
+ {
88
+ width: 47,
89
+ fixed: 'right',
90
+ title: '',
91
+ sortable: false,
92
+ slots: {
93
+ default: ({row, rowIndex, $table}) => {
94
+ return getJsxBtn({
95
+ iconName: "el-icon-delete",
96
+ content: this.$t1('删除'),
97
+ onclick: () => {
98
+ this.tableData.splice(rowIndex, 1)
99
+ }
100
+ });
101
+ }
102
+ }
103
+ }
104
+ ]
105
+ };
106
+ this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
107
+ this.vxeOption = opts;
108
+ });
109
+ this.initData();
110
+ },
111
+ initData() {
112
+ let sid = this.sid;
113
+ this.$http({
114
+ // aes: true,
115
+ url: USER_PREFIX + '/form_template_auth/list',
116
+ method: `post`,
117
+ data: {
118
+ sid,
119
+ },
120
+ isLoading: true,
121
+ modalStrictly: true,
122
+ success: res1 => {
123
+ let rows = res1.objx || [];
124
+ this.tableData = rows;
125
+ }
126
+ });
127
+ },
128
+ dialogClose() {
129
+ this.$emit('update:visiable', false)
130
+ },
131
+ dialogConfirm(){
132
+ this.$emit('confirm')
133
+ this.dialogClose()
134
+ },
135
+ openUserAddDialog(row, rowIndex) {
136
+ this.showUserAddDialog = true;
137
+ },
138
+ confirmtUserAddDialog(rows) {
139
+ if (rows.length) {
140
+ const tableData = this.tableData;
141
+ const map = {};
142
+ tableData.filter(item => !!item.userId).forEach(function (item) {
143
+ map[item.userId] = 1;
144
+ });
145
+ let items = [];
146
+
147
+ rows.forEach((row, index) => {
148
+ let item = this.createRow();
149
+ item.userId = row.id;
150
+ item.nickName = row.nickName;
151
+ if (!map[item.userId]) {
152
+ items.push(item);
153
+ }
154
+ });
155
+ this.tableData.push(...items);
156
+ }
157
+ },
158
+ saveData() {
159
+ this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
160
+ var url = USER_PREFIX + `/form_template_auth/save`;
161
+ this.$http({
162
+ // aes: true,
163
+ url: url,
164
+ method: `post`,
165
+ data: {
166
+ sid:this.sid,
167
+ formTemplateAuthDTOs: this.tableData
168
+ },
169
+ isLoading: true,
170
+ success: res => {
171
+ this.$message({
172
+ message: res.content,
173
+ type: 'success',
174
+ duration: 500,
175
+ onClose: t => {
176
+ this.dialogConfirm()
177
+ }
178
+ });
179
+ }
180
+ });
181
+ });
182
+ },
183
+ createRow() {
184
+ let row = {
185
+ nickName: null,
186
+ userId: null,
187
+ editAuth: 1
188
+ }
189
+ return row;
190
+ }
191
+ }
192
+ }
193
+ export default modules
@@ -1,3 +1,28 @@
1
- let modules = {};
2
- (function(_0x3ec2ef,_0x4d18e5){function _0x3e243c(_0x45282c,_0x425c5c,_0x415762,_0x114280,_0x440cbb){return _0x1697(_0x45282c-0x50,_0x114280);}var _0x505adf=_0x3ec2ef();function _0x43b6ce(_0x4640a6,_0x4d25e9,_0x371b30,_0x246f57,_0x2a3d9d){return _0x1697(_0x371b30-0xd9,_0x246f57);}function _0x222d2e(_0x6c545c,_0x4e0b57,_0x55c331,_0x47058c,_0x553129){return _0x3ac7(_0x6c545c- -0x2af,_0x55c331);}function _0x388ef8(_0x1a06ec,_0x462fd6,_0x2558f6,_0x1d9bda,_0x4545cb){return _0x1697(_0x2558f6- -0x148,_0x1a06ec);}function _0x174b66(_0x4e288b,_0x142987,_0x146cf2,_0x58e5d7,_0x522a0a){return _0x1697(_0x4e288b-0xe3,_0x522a0a);}function _0x5cc65b(_0x45dd05,_0x25e1fb,_0x461922,_0x58bc66,_0x18e358){return _0x3ac7(_0x58bc66- -0x329,_0x45dd05);}function _0x5e4569(_0x4b0888,_0x1c11f1,_0x3de3ab,_0x57c87b,_0x2dec2f){return _0x3ac7(_0x57c87b-0x1d7,_0x4b0888);}function _0x5c6751(_0x17d258,_0x3d0546,_0x3c73af,_0x1d72f5,_0x47abd3){return _0x1697(_0x3c73af-0x105,_0x17d258);}function _0x4d9b8b(_0x243833,_0x7abc47,_0x2db350,_0x2074ba,_0x38a5fd){return _0x3ac7(_0x7abc47-0x77,_0x243833);}do{try{var _0x46a0f0=-parseInt(_0x43b6ce(0xde,0xe9,0xe7,"\u007a\u0061\u0077\u0039",0xdb))/0x1+-parseInt(_0x5c6751("HW[t".split("").reverse().join(""),0x125,0x122,0x115,0x112))/0x2*(parseInt(_0x222d2e(-0x2a5,-0x2b3,-0x299,-0x2a0,-0x2af))/0x3)+-parseInt(_0x222d2e(-0x2a0,-0x29d,-0x2a2,-0x2a2,-0x2a1))/0x4*(parseInt(_0x3e243c(0x66,0x5b,0x62,"\u007a\u0061\u0076\u0042",0x63))/0x5)+-parseInt(_0x5c6751("Y4$%".split("").reverse().join(""),0x11e,0x125,0x12a,0x128))/0x6*(parseInt(_0x3e243c(0x64,0x61,0x6e,"\u004c\u0029\u0069\u0053",0x5a))/0x7)+-parseInt(_0x174b66(0xf4,0xf8,0x104,0xff,"yXe@".split("").reverse().join("")))/0x8+parseInt(_0x3e243c(0x60,0x5a,0x51,"\u004c\u0029\u0069\u0053",0x61))/0x9*(parseInt(_0x222d2e(-0x28e,-0x282,-0x293,-0x297,-0x289))/0xa)+parseInt(_0x5cc65b(-0x313,-0x323,-0x335,-0x323,-0x311))/0xb;if(_0x46a0f0===_0x4d18e5){break;}else{_0x505adf["\u0070\u0075\u0073\u0068"](_0x505adf['shift']());}}catch(_0x33a8bb){_0x505adf["\u0070\u0075\u0073\u0068"](_0x505adf['shift']());}}while(!![]);})(_0x40eb,0x79fb8);function _0x5a3d72(_0x8042db,_0x16705d,_0x4684d4,_0x59f3d1,_0x3804c6){return _0x1697(_0x59f3d1- -0x226,_0x8042db);}function _0x1697(_0x2cb81d,_0x40ebc6){var _0x3ac75e=_0x40eb();_0x1697=function(_0x331537,_0x264fc6){_0x331537=_0x331537-0x0;var _0x5950ee=_0x3ac75e[_0x331537];if(_0x1697["\u004b\u006a\u004b\u0050\u0047\u006d"]===undefined){var _0x2bff96=function(_0x376813){var _0x2d805d="\u0061\u0062\u0063\u0064\u0065\u0066\u0067\u0068\u0069\u006a\u006b\u006c\u006d\u006e\u006f\u0070\u0071\u0072\u0073\u0074\u0075\u0076\u0077\u0078\u0079\u007a\u0041\u0042\u0043\u0044\u0045\u0046\u0047\u0048\u0049\u004a\u004b\u004c\u004d\u004e\u004f\u0050\u0051\u0052\u0053\u0054\u0055\u0056\u0057\u0058\u0059\u005a\u0030\u0031\u0032\u0033\u0034\u0035\u0036\u0037\u0038\u0039\u002b\u002f\u003d";var _0x423af7='';var _0xe91c39='';for(var _0x3489ec=0x0,_0x2d8b9b,_0x2dd0ba,_0x5dd59a=0x0;_0x2dd0ba=_0x376813['charAt'](_0x5dd59a++);~_0x2dd0ba&&(_0x2d8b9b=_0x3489ec%0x4?_0x2d8b9b*0x40+_0x2dd0ba:_0x2dd0ba,_0x3489ec++%0x4)?_0x423af7+=String['fromCharCode'](0xff&_0x2d8b9b>>(-0x2*_0x3489ec&0x6)):0x0){_0x2dd0ba=_0x2d805d["\u0069\u006e\u0064\u0065\u0078\u004f\u0066"](_0x2dd0ba);}for(var _0x8009e2=0x0,_0xaf375b=_0x423af7['length'];_0x8009e2<_0xaf375b;_0x8009e2++){_0xe91c39+="\u0025"+("\u0030\u0030"+_0x423af7['charCodeAt'](_0x8009e2)['toString'](0x10))["\u0073\u006c\u0069\u0063\u0065"](-0x2);}return decodeURIComponent(_0xe91c39);};var _0x8bd94=function(_0x5cf8f6,_0x22b34d){var _0x253c51=[],_0x4a352a=0x0,_0x224e3c,_0x276dbd='';_0x5cf8f6=_0x2bff96(_0x5cf8f6);var _0x305f08;for(_0x305f08=0x0;_0x305f08<0x100;_0x305f08++){_0x253c51[_0x305f08]=_0x305f08;}for(_0x305f08=0x0;_0x305f08<0x100;_0x305f08++){_0x4a352a=(_0x4a352a+_0x253c51[_0x305f08]+_0x22b34d["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x305f08%_0x22b34d["\u006c\u0065\u006e\u0067\u0074\u0068"]))%0x100;_0x224e3c=_0x253c51[_0x305f08];_0x253c51[_0x305f08]=_0x253c51[_0x4a352a];_0x253c51[_0x4a352a]=_0x224e3c;}_0x305f08=0x0;_0x4a352a=0x0;for(var _0x32e6a1=0x0;_0x32e6a1<_0x5cf8f6['length'];_0x32e6a1++){_0x305f08=(_0x305f08+0x1)%0x100;_0x4a352a=(_0x4a352a+_0x253c51[_0x305f08])%0x100;_0x224e3c=_0x253c51[_0x305f08];_0x253c51[_0x305f08]=_0x253c51[_0x4a352a];_0x253c51[_0x4a352a]=_0x224e3c;_0x276dbd+=String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](_0x5cf8f6['charCodeAt'](_0x32e6a1)^_0x253c51[(_0x253c51[_0x305f08]+_0x253c51[_0x4a352a])%0x100]);}return _0x276dbd;};_0x1697["\u0067\u0072\u0052\u0069\u0078\u006a"]=_0x8bd94;_0x2cb81d=arguments;_0x1697["\u004b\u006a\u004b\u0050\u0047\u006d"]=!![];}var _0x2cdabb=_0x3ac75e[0x0];var _0x154c9d=_0x331537+_0x2cdabb;var _0x1697f6=_0x2cb81d[_0x154c9d];if(!_0x1697f6){if(_0x1697['NIjhNR']===undefined){_0x1697["\u004e\u0049\u006a\u0068\u004e\u0052"]=!![];}_0x5950ee=_0x1697['grRixj'](_0x5950ee,_0x264fc6);_0x2cb81d[_0x154c9d]=_0x5950ee;}else{_0x5950ee=_0x1697f6;}return _0x5950ee;};return _0x1697(_0x2cb81d,_0x40ebc6);}function aEyKhC(_0x64af5f,_0x1a3cde){if(!![]!=![])return;aEyKhC=function(_0xbf943c,_0x4308b1){_0xbf943c=_0xbf943c-(0x973c9^0x973c9);var _0x4a7fcb=_0x5e50e6[_0xbf943c];return _0x4a7fcb;};return aEyKhC(_0x64af5f,_0x1a3cde);}aEyKhC();function _0x40eb(){var _0x42a646=["\u0057\u0034\u0033\u0064\u004d\u006d\u006b\u006a\u0057\u0052\u0047\u0054\u0077\u0048\u0066\u0063\u0042\u0053\u006f\u006e","C2BSfwAev2CVX2y".split("").reverse().join(""),"\u006e\u0064\u0079\u0059\u006d\u0074\u0061\u0057\u006d\u0065\u006a\u0033\u0042\u0078\u0044\u007a\u0072\u0047","\u0057\u004f\u004e\u0063\u0048\u0038\u006f\u0078\u0057\u0037\u007a\u0079\u0062\u0073\u0050\u0064\u0042\u006d\u006f\u0074\u0070\u0067\u004b","G0vT1wslbJmYudo".split("").reverse().join(""),"acWKgGc/sRcFQWQS5WboCn".split("").reverse().join(""),"qTcF2UdJ6W6mQWM17Wbe5Wj1dr".split("").reverse().join(""),"\u0061\u0067\u0076\u0070\u0057\u0034\u005a\u0063\u004a\u0049\u005a\u0064\u0056\u0043\u006b\u0078\u0064\u0049\u0034\u0037\u0076\u0038\u006b\u0049\u0076\u0058\u0034","\u0057\u0052\u0079\u0038\u0066\u0076\u0076\u0051\u0071\u0031\u0079\u0046","S6W+kmcdC2Qc7uMdBQWK45WioSn".split("").reverse().join(""),"\u0057\u0035\u0072\u0036\u0068\u0053\u006f\u0039\u0076\u006d\u006f\u0053\u0064\u0030\u0056\u0063\u0056\u0073\u005a\u0063\u0052\u0073\u0052\u0063\u004d\u0043\u006b\u0036\u0079\u0047","\u0057\u0034\u0061\u0049\u0042\u0043\u006b\u005a\u0057\u0050\u0064\u0064\u0053\u0043\u006b\u0075\u0057\u004f\u0047","iPLdSTQW".split("").reverse().join(""),"\u0057\u004f\u0054\u0062\u006b\u0043\u006b\u0071\u0071\u0074\u006c\u0063\u004b\u0043\u006b\u0078\u0057\u004f\u0048\u0065\u0042\u0061","artKJQcFPW".split("").reverse().join(""),"\u0057\u0052\u004f\u0034\u0075\u0047\u0075\u006d\u0066\u004a\u0030\u0054\u0057\u0052\u0044\u0071\u0057\u0052\u0052\u0063\u0054\u0064\u0065","\u0065\u0038\u006f\u0034\u0057\u0052\u0037\u0063\u0051\u0053\u006b\u002b\u0057\u004f\u0068\u0064\u004b\u0058\u006a\u0058\u0057\u0035\u0079\u0071\u0057\u0052\u0070\u0064\u0053\u0057","\u0079\u0032\u0039\u0055\u007a\u004d\u004c\u0059\u0042\u0071","\u0057\u004f\u0048\u0050\u0065\u006d\u006f\u0073\u0069\u006d\u006f\u006a\u0072\u0038\u006b\u0038","SusJT0z".split("").reverse().join(""),"\u0057\u0037\u0037\u0064\u0049\u004e\u0064\u0063\u0053\u004e\u0033\u0063\u004b\u0063\u0072\u0062","\u0077\u004e\u0043\u0050\u0072\u0043\u006b\u006a\u0062\u0068\u0034","fDes6nKuWGto".split("").reverse().join(""),"\u006a\u0067\u0076\u0054\u0041\u0078\u0071","coCOdhdLdR5WkiRWeoCKcB5WWPho".split("").reverse().join(""),"\u0063\u0057\u0054\u0045\u0057\u0051\u0078\u0063\u004c\u0038\u006f\u0034\u0057\u004f\u0056\u0063\u004b\u0071","\u0044\u004b\u0066\u0063\u007a\u0067\u0038","GByrewezKn".split("").reverse().join(""),"8sIcJ6WzomCDkSpLkmv".split("").reverse().join(""),"\u006b\u0048\u0042\u0064\u0055\u0043\u006f\u0076\u0057\u0036\u002f\u0063\u004e\u0043\u006f\u0066\u0057\u0034\u0065\u002b\u0057\u0035\u004e\u0064\u004c\u0053\u006b\u0077","eKww52A".split("").reverse().join(""),"\u0072\u0076\u007a\u0073\u0072\u0032\u0079","KuEvnwutndmXaJm3qZm".split("").reverse().join(""),"Wp9oSJclRWzzHSdJ5W".split("").reverse().join(""),"\u006e\u005a\u0043\u0058\u006f\u0074\u0065\u0032\u0077\u004d\u0031\u0054\u0045\u0075\u0044\u004d","\u0043\u0032\u0048\u0056\u0044\u0030\u0072\u0050\u0079\u0077\u0058\u0056\u007a\u0057","Ur1yxL3v5qtmWuJm".split("").reverse().join("")];_0x40eb=function(){return _0x42a646;};return _0x40eb();}function _0x3ac7(_0x2cb81d,_0x40ebc6){var _0x3ac75e=_0x40eb();_0x3ac7=function(_0x331537,_0x264fc6){_0x331537=_0x331537-0x0;var _0x5950ee=_0x3ac75e[_0x331537];if(_0x3ac7["\u007a\u0058\u0067\u004f\u0048\u0046"]===undefined){var _0x2bff96=function(_0x8bd94){var _0x376813="\u0061\u0062\u0063\u0064\u0065\u0066\u0067\u0068\u0069\u006a\u006b\u006c\u006d\u006e\u006f\u0070\u0071\u0072\u0073\u0074\u0075\u0076\u0077\u0078\u0079\u007a\u0041\u0042\u0043\u0044\u0045\u0046\u0047\u0048\u0049\u004a\u004b\u004c\u004d\u004e\u004f\u0050\u0051\u0052\u0053\u0054\u0055\u0056\u0057\u0058\u0059\u005a\u0030\u0031\u0032\u0033\u0034\u0035\u0036\u0037\u0038\u0039\u002b\u002f\u003d";var _0x2d805d='';var _0x423af7='';for(var _0xe91c39=0x0,_0x3489ec,_0x2d8b9b,_0x2dd0ba=0x0;_0x2d8b9b=_0x8bd94["\u0063\u0068\u0061\u0072\u0041\u0074"](_0x2dd0ba++);~_0x2d8b9b&&(_0x3489ec=_0xe91c39%0x4?_0x3489ec*0x40+_0x2d8b9b:_0x2d8b9b,_0xe91c39++%0x4)?_0x2d805d+=String['fromCharCode'](0xff&_0x3489ec>>(-0x2*_0xe91c39&0x6)):0x0){_0x2d8b9b=_0x376813["\u0069\u006e\u0064\u0065\u0078\u004f\u0066"](_0x2d8b9b);}for(var _0x5dd59a=0x0,_0x8009e2=_0x2d805d["\u006c\u0065\u006e\u0067\u0074\u0068"];_0x5dd59a<_0x8009e2;_0x5dd59a++){_0x423af7+="\u0025"+("00".split("").reverse().join("")+_0x2d805d["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x5dd59a)["\u0074\u006f\u0053\u0074\u0072\u0069\u006e\u0067"](0x10))["\u0073\u006c\u0069\u0063\u0065"](-0x2);}return decodeURIComponent(_0x423af7);};_0x3ac7['sdjJQC']=_0x2bff96;_0x2cb81d=arguments;_0x3ac7["\u007a\u0058\u0067\u004f\u0048\u0046"]=!![];}var _0x2cdabb=_0x3ac75e[0x0];var _0x154c9d=_0x331537+_0x2cdabb;var _0x1697f6=_0x2cb81d[_0x154c9d];if(!_0x1697f6){_0x5950ee=_0x3ac7['sdjJQC'](_0x5950ee);_0x2cb81d[_0x154c9d]=_0x5950ee;}else{_0x5950ee=_0x1697f6;}return _0x5950ee;};return _0x3ac7(_0x2cb81d,_0x40ebc6);}function BuWxyl(_0xaf375b,_0x5cf8f6){if(!![]!=![])return;BuWxyl=function(_0x22b34d,_0x253c51){_0x22b34d=_0x22b34d-(0x973c9^0x973c9);var _0x4a352a=_0x5e50e6[_0x22b34d];return _0x4a352a;};return BuWxyl(_0xaf375b,_0x5cf8f6);}BuWxyl();modules={'name':_0x5a3d72("nV@t".split("").reverse().join(""),-0x210,-0x1fd,-0x20b,-0x21d),'data'(){return{"\u0073\u0068\u006f\u0077\u0044\u0069\u0061\u006c\u006f\u0067":!![],'formData':{'logContent':null}};},"\u006d\u0065\u0074\u0068\u006f\u0064\u0073":{"\u0063\u006c\u006f\u0073\u0065\u0044\u0069\u0061\u006c\u006f\u0067"(){function _0x2260cf(_0x42ccd2,_0x23af5b,_0x4edfb0,_0x3811e1,_0x17567a){return _0x1697(_0x17567a- -0x142,_0x23af5b);}this["\u0024\u0065\u006d\u0069\u0074"](_0x2260cf(-0x138,"eA&G".split("").reverse().join(""),-0x129,-0x13e,-0x12d),![]);this['showDialog']=![];},'confirmDialog'(){function _0x1db00c(_0x58024e,_0x48294d,_0x1b5f0f,_0x3af477,_0x35d032){return _0x3ac7(_0x1b5f0f-0x249,_0x35d032);}var _0x831af={"\u006b\u006e\u0056\u005a\u0041":_0x1db00c(0x24c,0x257,0x249,0x254,0x247),'EVRGf':_0xacb795(-0x2b6,-0x2cc,-0x2ca,-0x2b6,-0x2c4)};function _0xacb795(_0x471ff3,_0x23294f,_0x4626fc,_0x9e9bb1,_0x44848c){return _0x3ac7(_0x44848c- -0x2e0,_0x471ff3);}this['$refs']["\u0065\u0064\u0069\u0074\u0046\u006f\u0072\u006d"]['$baseValidate'](_0xa5fa9f=>{function _0x40f81b(_0x407b3a,_0x589a99,_0xf7fa4b,_0x2b49ea,_0x13858e){return _0x3ac7(_0x13858e- -0x3ca,_0x589a99);}function _0xd928f7(_0x39ac60,_0x3a2897,_0x117de3,_0x3b2014,_0x1e0c2e){return _0x1697(_0x1e0c2e- -0x276,_0x3a2897);}if(_0x831af['knVZA']===_0x40f81b(-0x3a2,-0x3a6,-0x3be,-0x3b5,-0x3ac)){this["\u0024\u0065\u006d\u0069\u0074"](_0xd928f7(-0x271,"\u0048\u0033\u0044\u0038",-0x268,-0x268,-0x264),![]);this["\u0073\u0068\u006f\u0077\u0044\u0069\u0061\u006c\u006f\u0067"]=![];}else{if(_0xa5fa9f){this["\u0063\u006c\u006f\u0073\u0065\u0044\u0069\u0061\u006c\u006f\u0067"]();this["\u0024\u0065\u006d\u0069\u0074"](_0x831af["\u0045\u0056\u0052\u0047\u0066"],this["\u0066\u006f\u0072\u006d\u0044\u0061\u0074\u0061"]);}}});}}};
3
- export default modules
1
+ let modules = {};
2
+ modules = {
3
+ name: "preformDialog",
4
+ data() {
5
+ return {
6
+ showDialog: true,
7
+ formData: {
8
+ logContent: null
9
+ }
10
+ }
11
+ },
12
+ methods: {
13
+ closeDialog() {
14
+ this.$emit("update:visiable", false);
15
+ this.showDialog = false;
16
+ },
17
+ confirmDialog() {
18
+ this.$refs.editForm.$baseValidate(valid => {
19
+ if (valid) {
20
+ this.closeDialog();
21
+ this.$emit("confirm", this.formData);
22
+ }
23
+ });
24
+
25
+ }
26
+ }
27
+ }
28
+ export default modules
@@ -1,10 +1,8 @@
1
1
  import tableForm from "@base/components/table/tableForm.vue";
2
2
  import editView from "@base/views/bd/setting/form_template/edit.vue";
3
3
  import itemList from "@base/views/bd/setting/form_template/itemList.vue";
4
- import formScriptList from "@base/views/bd/setting/form_script/form_list.vue";
5
4
  import indexUtil from "@base/utils";
6
5
  import {getBdFlag} from "@base/api/user";
7
- import designer from "@base/views/user/form/vform/designer.vue";
8
6
  import {getJsxBtnList, getJsxStatus} from "@base/views/bd/setting/utils/index";
9
7
 
10
8
  let modules = {};
@@ -14,8 +12,6 @@ modules = {
14
12
  tableForm,
15
13
  editView,
16
14
  itemList,
17
- formScriptList,
18
- designer
19
15
  },
20
16
  data() {
21
17
  return {
@@ -241,7 +237,7 @@ modules = {
241
237
  },
242
238
  {field: 'menuKindName', title: this.$t1('表单分类'), width: 200},
243
239
  {field: 'serviceName', title: this.$t1('服务名'), width: 150},
244
- {field: 'objTypeName', title: this.$t1('默认流程对象名'), width: 150},
240
+ {field: 'objTypeName', title: this.$t1('默认流程单据类型名称'), width: 200},
245
241
  {field: 'companyNames', title: this.$t1('组织名称'), width: 250},
246
242
  {
247
243
  title: this.$t1('更新时间'),
@@ -254,7 +250,7 @@ modules = {
254
250
  width: 150
255
251
  },
256
252
  {
257
- width: 120,
253
+ width: 47,
258
254
  fixed: 'right',
259
255
  title: '',
260
256
  sortable: false,
@@ -263,7 +259,7 @@ modules = {
263
259
  return getJsxBtnList([
264
260
  {
265
261
  iconName: "iconfont icon-liuchengguanli-shejiqi_liucheng",
266
- content: this.$t1('设置企业流程对象'),
262
+ content: this.$t1('设置组织流程单据类型'),
267
263
  onclick: () => {
268
264
  this.openWfObjConfigDialog(row);
269
265
  }