cloud-web-corejs 1.0.54-dev.5 → 1.0.54-dev.500

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 (420) hide show
  1. package/package.json +13 -3
  2. package/src/App.vue +29 -33
  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/index.js +49 -1
  7. package/src/components/VabUpload/index.vue +2 -1
  8. package/src/components/VabUpload/mixins.js +2 -2
  9. package/src/components/VabUpload/propertiesDialog.vue +1 -1
  10. package/src/components/VabUpload/view.vue +209 -119
  11. package/src/components/advancedSearchDialog/mixins.js +1 -1
  12. package/src/components/baseAttachment/index.vue +49 -40
  13. package/src/components/baseAttachment/mixins.js +295 -1
  14. package/src/components/baseInputExport/index.vue +19 -12
  15. package/src/components/baseInputExport/mixins.js +389 -1
  16. package/src/components/baseTabs/mixins.js +166 -1
  17. package/src/components/errorMsg/mixins.js +6 -5
  18. package/src/components/excelExport/button.vue +57 -4
  19. package/src/components/excelExport/exportFieldDialog.vue +211 -0
  20. package/src/components/excelExport/index.js +44 -1
  21. package/src/components/excelExport/index.vue +64 -7
  22. package/src/components/excelExport/mixins.js +967 -1
  23. package/src/components/excelImport/index.vue +2 -1
  24. package/src/components/excelImport/mixins.js +2 -1
  25. package/src/components/fileLibrary/fileObjAuthDialog.vue +262 -150
  26. package/src/components/fileLibrary/fileObjAuthEditDialog.vue +12 -1
  27. package/src/components/fileLibrary/fileObjNotifyEdit.vue +192 -0
  28. package/src/components/fileLibrary/filterDialog.vue +454 -0
  29. package/src/components/fileLibrary/index.vue +596 -256
  30. package/src/components/fileLibrary/mixins/categoryMoveDialogMixins.js +1 -1
  31. package/src/components/fileLibrary/mixins/fileCategoryDialogMixins.js +1 -1
  32. package/src/components/fileLibrary/mixins/fileHistoryDialogMixins.js +2 -2
  33. package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +350 -202
  34. package/src/components/fileLibrary/mixins/fileObjAuthEditDialogMixin.js +33 -26
  35. package/src/components/fileLibrary/mixins/fileObjAuthEditMixin.js +5 -5
  36. package/src/components/fileLibrary/mixins/indexMixins.js +250 -106
  37. package/src/components/fileLibrary/mixins/propertiesDialogMixins.js +64 -4
  38. package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +3 -3
  39. package/src/components/fileLibrary/propertiesDialog.vue +113 -74
  40. package/src/components/fileLibrary/shareDialog.vue +1 -1
  41. package/src/components/formOplog/mixins.js +1 -1
  42. package/src/components/jsonImport/index.js +1 -1
  43. package/src/components/jsonImport/mixins.js +2 -1
  44. package/src/components/langImport/mixins.js +17 -16
  45. package/src/components/obsUpload/index.js +1 -0
  46. package/src/components/obsUpload/index.vue +231 -0
  47. package/src/components/obsUpload/mixins.js +8 -0
  48. package/src/components/onlineTalk/index.vue +327 -5
  49. package/src/components/onlineTalk/mixins.js +1 -1
  50. package/src/components/scriptDescription/button.vue +12 -4
  51. package/src/components/scriptTest/mixins.js +1 -1
  52. package/src/components/statusTag/mixins.js +1 -1
  53. package/src/components/table/CellSlot.vue +1 -0
  54. package/src/components/table/index.js +12 -10
  55. package/src/components/table/plugins/extend-cell-area/vxe-table-extend-cell-area.es6.min.js +11028 -0
  56. package/src/components/table/plugins/extend-cell-area/vxe-table-extend-cell-area.min.css +200 -0
  57. package/src/components/table/tableForm.vue +99 -63
  58. package/src/components/table/tableFormMixin.js +1 -1
  59. package/src/components/table/util/index.js +328 -0
  60. package/src/components/table/vxeFilter/mixin.js +6 -6
  61. package/src/components/tempStorage/index.vue +76 -55
  62. package/src/components/tempStorage/tempStorageDialog.vue +179 -54
  63. package/src/components/vb-tabs/x-tabs.vue +57 -30
  64. package/src/components/wf/addOpinionButton.vue +57 -0
  65. package/src/components/wf/content.vue +834 -362
  66. package/src/components/wf/mixins/addOpinionButton.js +3 -0
  67. package/src/components/wf/mixins/setCandidateButton.js +6 -0
  68. package/src/components/wf/mixins/setCandidateDialog.js +2 -1
  69. package/src/components/wf/mixins/setCandidateDialog2.js +6 -0
  70. package/src/components/wf/mixins/wfFlowEleScriptDialog.js +3 -0
  71. package/src/components/wf/mixins/wfTaskUserRangeDialog.js +3 -0
  72. package/src/components/wf/setCandidateButton.vue +40 -0
  73. package/src/components/wf/setCandidateDialog.vue +10 -0
  74. package/src/components/wf/setCandidateDialog2.vue +105 -0
  75. package/src/components/wf/wf.js +1 -1
  76. package/src/components/wf/wfFlowEleScriptDialog.vue +89 -0
  77. package/src/components/wf/wfStartDialog.vue +66 -42
  78. package/src/components/wf/wfTaskUserRangeDialog.vue +65 -0
  79. package/src/components/wf/wfUtil.js +279 -1
  80. package/src/components/xform/form-designer/designer.js +5 -3
  81. package/src/components/xform/form-designer/form-widget/components/gantt/index.vue +419 -0
  82. package/src/components/xform/form-designer/form-widget/container-widget/containerMixin.js +3 -3
  83. package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +9 -8
  84. package/src/components/xform/form-designer/form-widget/container-widget/data-table-widget.vue +4 -1
  85. package/src/components/xform/form-designer/form-widget/container-widget/detail-widget.vue +3 -3
  86. package/src/components/xform/form-designer/form-widget/dialog/baseFormulaDialog copy.vue +971 -0
  87. package/src/components/xform/form-designer/form-widget/dialog/baseFormulaDialog.vue +971 -0
  88. package/src/components/xform/form-designer/form-widget/dialog/exportDialog.vue +13 -0
  89. package/src/components/xform/form-designer/form-widget/dialog/fileReferenceDialog.vue +301 -0
  90. package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +83 -49
  91. package/src/components/xform/form-designer/form-widget/dialog/formDrawer.vue +6 -1
  92. package/src/components/xform/form-designer/form-widget/dialog/formFieldDialog.vue +2 -2
  93. package/src/components/xform/form-designer/form-widget/dialog/formulaDialog.vue +799 -0
  94. package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +38 -7
  95. package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin - /345/211/257/346/234/254.js" +1639 -0
  96. package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +1759 -8
  97. package/src/components/xform/form-designer/form-widget/dialog/preformDialog.vue +2 -2
  98. package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +121 -72
  99. package/src/components/xform/form-designer/form-widget/dialog/vabSearchDialog.vue +2 -2
  100. package/src/components/xform/form-designer/form-widget/field-widget/a-link-widget.vue +2 -2
  101. package/src/components/xform/form-designer/form-widget/field-widget/a-text-widget.vue +1 -1
  102. package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +34 -5
  103. package/src/components/xform/form-designer/form-widget/field-widget/button-widget.vue +1 -1
  104. package/src/components/xform/form-designer/form-widget/field-widget/cascader-widget.vue +19 -1
  105. package/src/components/xform/form-designer/form-widget/field-widget/census-widget.vue +40 -28
  106. package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +18 -7
  107. package/src/components/xform/form-designer/form-widget/field-widget/color-widget.vue +4 -1
  108. package/src/components/xform/form-designer/form-widget/field-widget/copy_button-widget.vue +89 -0
  109. package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +14 -2
  110. package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +30 -4
  111. package/src/components/xform/form-designer/form-widget/field-widget/download-button-widget.vue +133 -0
  112. package/src/components/xform/form-designer/form-widget/field-widget/dropdown-item-widget.vue +77 -0
  113. package/src/components/xform/form-designer/form-widget/field-widget/dropdown-menu-widget.vue +106 -0
  114. package/src/components/xform/form-designer/form-widget/field-widget/echart-bar-widget.vue +1 -1
  115. package/src/components/xform/form-designer/form-widget/field-widget/echart-category-widget.vue +1 -1
  116. package/src/components/xform/form-designer/form-widget/field-widget/echart-pie-widget.vue +1 -1
  117. package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1650 -16
  118. package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +646 -379
  119. package/src/components/xform/form-designer/form-widget/field-widget/gantt-widget.vue +962 -0
  120. package/src/components/xform/form-designer/form-widget/field-widget/html-text-widget.vue +6 -2
  121. package/src/components/xform/form-designer/form-widget/field-widget/import-button-widget.vue +22 -11
  122. package/src/components/xform/form-designer/form-widget/field-widget/import2-button-widget.vue +90 -0
  123. package/src/components/xform/form-designer/form-widget/field-widget/input-widget.vue +7 -2
  124. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-bar-mixin.js +49 -8
  125. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js +61 -88
  126. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-pie-mixin.js +13 -0
  127. package/src/components/xform/form-designer/form-widget/field-widget/mixins/vabsearch-mixin.js +179 -0
  128. package/src/components/xform/form-designer/form-widget/field-widget/multiSearch-widget.vue +53 -0
  129. package/src/components/xform/form-designer/form-widget/field-widget/number-widget.vue +114 -81
  130. package/src/components/xform/form-designer/form-widget/field-widget/oplog-widget.vue +186 -0
  131. package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +44 -27
  132. package/src/components/xform/form-designer/form-widget/field-widget/print-detail-button-widget.vue +116 -0
  133. package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +154 -47
  134. package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +26 -6
  135. package/src/components/xform/form-designer/form-widget/field-widget/search_button-widget.vue +2 -2
  136. package/src/components/xform/form-designer/form-widget/field-widget/select-export-button-widget.vue +86 -0
  137. package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +24 -9
  138. package/src/components/xform/form-designer/form-widget/field-widget/singerSearch-widget.vue +53 -0
  139. package/src/components/xform/form-designer/form-widget/field-widget/singleUpload-widget.vue +145 -0
  140. package/src/components/xform/form-designer/form-widget/field-widget/static-content-wrapper.vue +11 -1
  141. package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +31 -17
  142. package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +7 -2
  143. package/src/components/xform/form-designer/form-widget/field-widget/tableexportbuttonwidget.vue +99 -0
  144. package/src/components/xform/form-designer/form-widget/field-widget/tempStorage-widget.vue +147 -0
  145. package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +46 -34
  146. package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +2 -2
  147. package/src/components/xform/form-designer/form-widget/field-widget/vabSearch-widget.vue +3 -171
  148. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +260 -58
  149. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload2-widget.vue +753 -0
  150. package/src/components/xform/form-designer/indexMixin.js +3 -2
  151. package/src/components/xform/form-designer/setting-panel/form-setting.vue +956 -156
  152. package/src/components/xform/form-designer/setting-panel/index.vue +4 -0
  153. package/src/components/xform/form-designer/setting-panel/indexMixin.js +1 -1
  154. package/src/components/xform/form-designer/setting-panel/option-items-setting.vue +537 -302
  155. package/src/components/xform/form-designer/setting-panel/property-editor/a-link-editor.vue +4 -4
  156. package/src/components/xform/form-designer/setting-panel/property-editor/a-text-editor.vue +3 -3
  157. package/src/components/xform/form-designer/setting-panel/property-editor/autoValueEnabled-editor.vue +38 -0
  158. package/src/components/xform/form-designer/setting-panel/property-editor/censusClass-editor.vue +6 -0
  159. package/src/components/xform/form-designer/setting-panel/property-editor/colorClass-editor.vue +28 -0
  160. package/src/components/xform/form-designer/setting-panel/property-editor/commonAttributeEnabled-editor.vue +41 -0
  161. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/columnRenderDialog.vue +125 -0
  162. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +946 -1042
  163. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/onCheckboxChange-editor.vue +1 -1
  164. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +1127 -512
  165. package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-editor.vue +2 -2
  166. package/src/components/xform/form-designer/setting-panel/property-editor/container-detail-pane/detail-pane-editor.vue +3 -3
  167. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-offset-editor.vue +1 -1
  168. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-pull-editor.vue +1 -1
  169. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-push-editor.vue +1 -1
  170. package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +0 -8
  171. package/src/components/xform/form-designer/setting-panel/property-editor/container-tree/tree-customClass-editor.vue +31 -2
  172. package/src/components/xform/form-designer/setting-panel/property-editor/copyButton-editor.vue +36 -0
  173. package/src/components/xform/form-designer/setting-panel/property-editor/downloadButtonFlag-editor.vue +32 -0
  174. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin.js +2 -2
  175. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onAfterConfirmFile-editor.vue +32 -0
  176. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onClick-editor.vue +14 -7
  177. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/clickBindEvent-editor.vue +35 -20
  178. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +64 -5
  179. package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-defaultTime-editor.vue +27 -0
  180. package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-item-editor.vue +21 -0
  181. package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-menu-editor.vue +59 -0
  182. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-bar-editor.vue +185 -69
  183. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +188 -86
  184. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-pie-editor.vue +84 -39
  185. package/src/components/xform/form-designer/setting-panel/property-editor/field-gantt/gantt-editor.vue +36 -0
  186. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +77 -20
  187. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +96 -0
  188. package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-button-editor.vue +44 -15
  189. package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-detail-button-editor.vue +115 -0
  190. package/src/components/xform/form-designer/setting-panel/property-editor/field-rate/rate-defaultValue-editor.vue +1 -1
  191. package/src/components/xform/form-designer/setting-panel/property-editor/field-status/field-status-editor.vue +67 -41
  192. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-button-editor.vue +56 -0
  193. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +26 -7
  194. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabSearchName-editor.vue +13 -1
  195. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload/field-vabUpload-editor.vue +33 -1
  196. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload2/field-vabUpload2-editor.vue +66 -0
  197. package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +89 -19
  198. package/src/components/xform/form-designer/setting-panel/property-editor/formula-editor.vue +721 -466
  199. package/src/components/xform/form-designer/setting-panel/property-editor/labelColor-editor.vue +20 -11
  200. package/src/components/xform/form-designer/setting-panel/property-editor/labelIconClass-editor.vue +1 -1
  201. package/src/components/xform/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue +1 -1
  202. package/src/components/xform/form-designer/setting-panel/property-editor/labelTooltip-editor.vue +1 -1
  203. package/src/components/xform/form-designer/setting-panel/property-editor/limit-editor.vue +1 -1
  204. package/src/components/xform/form-designer/setting-panel/property-editor/multiple-editor.vue +19 -14
  205. package/src/components/xform/form-designer/setting-panel/property-editor/multipleLimit-editor.vue +1 -1
  206. package/src/components/xform/form-designer/setting-panel/property-editor/name-editor.vue +124 -50
  207. package/src/components/xform/form-designer/setting-panel/property-editor/oplog-editor.vue +31 -0
  208. package/src/components/xform/form-designer/setting-panel/property-editor/placeholder-editor.vue +1 -1
  209. package/src/components/xform/form-designer/setting-panel/property-editor/precision-editor.vue +1 -1
  210. package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +349 -0
  211. package/src/components/xform/form-designer/setting-panel/property-editor/required-editor.vue +10 -6
  212. package/src/components/xform/form-designer/setting-panel/property-editor/requiredHint-editor.vue +3 -3
  213. package/src/components/xform/form-designer/setting-panel/property-editor/showRuleFlag-editor.vue +1 -1
  214. package/src/components/xform/form-designer/setting-panel/property-editor/tempStorage-editor.vue +42 -0
  215. package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +305 -19
  216. package/src/components/xform/form-designer/setting-panel/property-editor/validation-editor.vue +2 -2
  217. package/src/components/xform/form-designer/setting-panel/property-editor/validationHint-editor.vue +2 -2
  218. package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +372 -50
  219. package/src/components/xform/form-designer/setting-panel/property-editor/widgetShowRuleFlag-editor.vue +263 -0
  220. package/src/components/xform/form-designer/setting-panel/propertyRegister.js +32 -11
  221. package/src/components/xform/form-designer/toolbar-panel/index.vue +12 -11
  222. package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +1 -1
  223. package/src/components/xform/form-designer/widget-panel/index.vue +21 -1
  224. package/src/components/xform/form-designer/widget-panel/indexMixin.js +19 -18
  225. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +1653 -869
  226. package/src/components/xform/form-render/container-item/containerItemMixin.js +12 -11
  227. package/src/components/xform/form-render/container-item/data-table-item.vue +194 -199
  228. package/src/components/xform/form-render/container-item/data-table-mixin.js +22 -18
  229. package/src/components/xform/form-render/container-item/detail-pane-item.vue +17 -3
  230. package/src/components/xform/form-render/container-item/grid-col-item.vue +10 -3
  231. package/src/components/xform/form-render/container-item/grid-item.vue +1 -1
  232. package/src/components/xform/form-render/container-item/list-h5-item.vue +1 -9
  233. package/src/components/xform/form-render/container-item/list-h5-item2.vue +1 -8
  234. package/src/components/xform/form-render/container-item/tab-item.vue +62 -25
  235. package/src/components/xform/form-render/container-item/table-cell-item.vue +38 -32
  236. package/src/components/xform/form-render/container-item/table-item.vue +4 -2
  237. package/src/components/xform/form-render/container-item/table2-cell-item.vue +53 -34
  238. package/src/components/xform/form-render/container-item/table2-item.vue +141 -88
  239. package/src/components/xform/form-render/container-item/tree-item.vue +32 -11
  240. package/src/components/xform/form-render/index.vue +69 -20
  241. package/src/components/xform/form-render/indexMixin.js +22 -34
  242. package/src/components/xform/lang/zh-CN.js +27 -4
  243. package/src/components/xform/mixins/defaultHandle.js +1 -1
  244. package/src/components/xform/mixins/scriptHttp.js +174 -1
  245. package/src/components/xform/utils/emitter.js +4 -4
  246. package/src/components/xform/utils/format.js +21 -30
  247. package/src/components/xform/utils/formula-util copy 2.js +945 -0
  248. package/src/components/xform/utils/formula-util copy.js +860 -0
  249. package/src/components/xform/utils/formula-util.js +970 -0
  250. package/src/components/xform/utils/util.js +1 -1
  251. package/src/components/xform/utils/validators.js +1 -5
  252. package/src/components/xform/utils/vue2js-generator.js +2 -2
  253. package/src/index.js +210 -190
  254. package/src/lang/index.js +56 -51
  255. package/src/lang/locale/en/login.js +20 -0
  256. package/src/lang/locale/zh/login.js +20 -0
  257. package/src/layout/components/AppMain.vue +5 -1
  258. package/src/layout/components/Sidebar/default.vue +1389 -1222
  259. package/src/layout/components/TagsView/index.vue +37 -12
  260. package/src/layout/components/createCompany/createCompanyDialog.vue +157 -0
  261. package/src/layout/components/extractedCode/createDialog.vue +92 -0
  262. package/src/layout/components/extractedCode/queryDialog.vue +96 -0
  263. package/src/layout/components/extractedCode/viewDialog.vue +193 -0
  264. package/src/layout/components/notify_message/unreadDialog.vue +2 -0
  265. package/src/layout/components/watermark/index.vue +83 -0
  266. package/src/layout/defaultLayout.vue +1 -1
  267. package/src/layout/index.vue +3 -5
  268. package/src/mixins/selectDialog/index.js +1 -1
  269. package/src/mixins/table/index.js +151 -0
  270. package/src/mixins/tableTree/index.js +1 -1
  271. package/src/permission.js +1 -18
  272. package/src/router/modules/customer.js +79 -8
  273. package/src/store/config/index.js +1 -1
  274. package/src/store/getters.js +3 -1
  275. package/src/store/modules/permission.js +1 -1
  276. package/src/store/modules/settings.js +1 -1
  277. package/src/store/modules/tagsView.js +1 -14
  278. package/src/store/modules/user.js +1 -29
  279. package/src/utils/index.js +2 -3
  280. package/src/utils/pddLog.js +103 -0
  281. package/src/utils/pdfUtil.js +71 -0
  282. package/src/utils/request.js +28 -28
  283. package/src/utils/vab.js +19 -27
  284. package/src/views/bd/setting/bd_attach_setting/edit.vue +4 -4
  285. package/src/views/bd/setting/bd_attach_setting/list.vue +28 -55
  286. package/src/views/bd/setting/bd_attach_setting/mixins/edit.js +4 -5
  287. package/src/views/bd/setting/bd_attach_setting/mixins/list.js +239 -1
  288. package/src/views/bd/setting/bd_company_env/dialog.vue +174 -0
  289. package/src/views/bd/setting/bd_company_env/edit.vue +193 -0
  290. package/src/views/bd/setting/bd_company_env/list.vue +175 -0
  291. package/src/views/bd/setting/config_manage/list.vue +83 -0
  292. package/src/views/bd/setting/form_import_log/edit.vue +127 -0
  293. package/src/views/bd/setting/form_import_log/list.vue +206 -0
  294. package/src/views/bd/setting/form_script/edit.vue +9 -0
  295. package/src/views/bd/setting/form_script/edit1.vue +36 -3
  296. package/src/views/bd/setting/form_script/form_list.vue +99 -37
  297. package/src/views/bd/setting/form_script/list1.vue +181 -118
  298. package/src/views/bd/setting/form_script/mixins/dialog.js +130 -1
  299. package/src/views/bd/setting/form_script/mixins/edit.js +201 -1
  300. package/src/views/bd/setting/form_script/mixins/edit1.js +193 -1
  301. package/src/views/bd/setting/form_script/mixins/form_list.js +1 -1
  302. package/src/views/bd/setting/form_script/mixins/list.js +236 -1
  303. package/src/views/bd/setting/form_script/mixins/list1.js +423 -14
  304. package/src/views/bd/setting/form_script/mixins/otherAuthDialog.js +194 -0
  305. package/src/views/bd/setting/form_script/otherAuthDialog.vue +83 -0
  306. package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +105 -0
  307. package/src/views/bd/setting/form_template/edit.vue +22 -1
  308. package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +2 -2
  309. package/src/views/bd/setting/form_template/list.vue +326 -212
  310. package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +282 -0
  311. package/src/views/bd/setting/form_template/mixins/edit.js +234 -9
  312. package/src/views/bd/setting/form_template/mixins/list.js +689 -22
  313. package/src/views/bd/setting/form_template/mixins/otherAuthDialog.js +193 -0
  314. package/src/views/bd/setting/form_template/mixins/wf_list.js +12 -0
  315. package/src/views/bd/setting/form_template/otherAuthDialog.vue +83 -0
  316. package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +254 -0
  317. package/src/views/bd/setting/form_template/wf_list.vue +127 -0
  318. package/src/views/bd/setting/logic_param/edit.vue +146 -0
  319. package/src/views/bd/setting/logic_param/edit1.vue +106 -0
  320. package/src/views/bd/setting/logic_param/edit2.vue +139 -0
  321. package/src/views/bd/setting/logic_param/list.vue +74 -0
  322. package/src/views/bd/setting/logic_param/list1.vue +12 -0
  323. package/src/views/bd/setting/logic_param/list2.vue +12 -0
  324. package/src/views/bd/setting/logic_param/mixins/edit.js +3 -0
  325. package/src/views/bd/setting/logic_param/mixins/list.js +9 -0
  326. package/src/views/bd/setting/menu_kind/authDialog.vue +1 -1
  327. package/src/views/bd/setting/menu_kind/list.vue +172 -83
  328. package/src/views/bd/setting/menu_kind/mixins/authDialog.js +300 -7
  329. package/src/views/bd/setting/menu_kind/mixins/list.js +201 -1
  330. package/src/views/bd/setting/push_data/edit.vue +139 -0
  331. package/src/views/bd/setting/push_data/list.vue +283 -0
  332. package/src/views/bd/setting/push_data_h/edit.vue +153 -0
  333. package/src/views/bd/setting/push_data_h/list.vue +293 -0
  334. package/src/views/bd/setting/request_async_setting/edit.vue +320 -0
  335. package/src/views/bd/setting/request_async_setting/list.vue +372 -0
  336. package/src/views/bd/setting/request_setting/edit.vue +300 -0
  337. package/src/views/bd/setting/request_setting/list.vue +311 -0
  338. package/src/views/bd/setting/table_model/edit.vue +875 -426
  339. package/src/views/bd/setting/table_model/list.vue +190 -126
  340. package/src/views/bd/setting/table_model/mixins/dialog.js +1 -1
  341. package/src/views/bd/setting/table_model/mixins/edit.js +1202 -13
  342. package/src/views/bd/setting/table_model/mixins/list.js +440 -14
  343. package/src/views/bd/setting/table_model/mixins/otherAuthDialog.js +201 -0
  344. package/src/views/bd/setting/table_model/otherAuthDialog.vue +83 -0
  345. package/src/views/user/access_log/list.vue +418 -349
  346. package/src/views/user/area/dialog.vue +235 -116
  347. package/src/views/user/area/list.vue +318 -0
  348. package/src/views/user/bill_setting/edit.vue +1 -1
  349. package/src/views/user/bill_setting/list.vue +1 -1
  350. package/src/views/user/common_attribute/itemEdit.vue +2 -2
  351. package/src/views/user/common_attribute/list.vue +5 -2
  352. package/src/views/user/common_script/edit.vue +1 -1
  353. package/src/views/user/common_script/list.vue +1 -1
  354. package/src/views/user/company_info/dialog.vue +164 -154
  355. package/src/views/user/company_info/edit.vue +9 -1
  356. package/src/views/user/extend_datasource/dialog.vue +4 -0
  357. package/src/views/user/extend_datasource/edit.vue +5 -1
  358. package/src/views/user/extend_datasource/list.vue +5 -1
  359. package/src/views/user/fieldTranslation/editDialog.vue +7 -7
  360. package/src/views/user/fieldTranslation/list.vue +32 -32
  361. package/src/views/user/file_type/edit.vue +30 -1
  362. package/src/views/user/file_type/list.vue +28 -0
  363. package/src/views/user/form/vform/designer.vue +776 -749
  364. package/src/views/user/form/vform/out_render.vue +1 -1
  365. package/src/views/user/form/vform/render.vue +59 -37
  366. package/src/views/user/form/view/edit.vue +38 -37
  367. package/src/views/user/form/view/list.vue +261 -49
  368. package/src/views/user/groups/edit.vue +2 -0
  369. package/src/views/user/groups/list.vue +1 -0
  370. package/src/views/user/home/bears/index.vue +1032 -0
  371. package/src/views/user/home/default.vue +1025 -979
  372. package/src/views/user/home/dev.vue +29 -0
  373. package/src/views/user/home/index.vue +20 -8
  374. package/src/views/user/home/taili/index.vue +1034 -0
  375. package/src/views/user/ledger_library/list.vue +10 -12
  376. package/src/views/user/login/default.vue +167 -36
  377. package/src/views/user/login/index.vue +4 -6
  378. package/src/views/user/login/indexMixin.js +184 -8
  379. package/src/views/user/menu/list.vue +24 -1
  380. package/src/views/user/notify_message/dialog.vue +38 -22
  381. package/src/views/user/notify_template/edit.vue +188 -187
  382. package/src/views/user/notify_template/edit2.vue +176 -0
  383. package/src/views/user/notify_template/list.vue +4 -1
  384. package/src/views/user/notify_template/list2.vue +190 -0
  385. package/src/views/user/outLink/form_view.vue +211 -184
  386. package/src/views/user/outLink/index.vue +67 -11
  387. package/src/views/user/outLink/view.vue +39 -13
  388. package/src/views/user/position/edit.vue +116 -83
  389. package/src/views/user/position/list.vue +118 -86
  390. package/src/views/user/project_tag/dialog.vue +9 -4
  391. package/src/views/user/project_tag/edit.vue +2 -2
  392. package/src/views/user/project_tag/list.vue +9 -4
  393. package/src/views/user/push_setting/list.vue +2 -2
  394. package/src/views/user/request_setting/edit.vue +258 -0
  395. package/src/views/user/request_setting/list.vue +248 -0
  396. package/src/views/user/role/authConfig.vue +89 -0
  397. package/src/views/user/role/dialog.vue +70 -48
  398. package/src/views/user/role/edit.vue +609 -429
  399. package/src/views/user/role/list.vue +4 -4
  400. package/src/views/user/sale_org/dialog.vue +1 -1
  401. package/src/views/user/sale_org/list.vue +4 -1
  402. package/src/views/user/system_notice/edit.vue +232 -186
  403. package/src/views/user/user/dialog.vue +46 -23
  404. package/src/views/user/user/edit.vue +1059 -1021
  405. package/src/views/user/user/form_dialog.vue +158 -0
  406. package/src/views/user/user/form_edit.vue +117 -49
  407. package/src/views/user/user/form_info.vue +210 -0
  408. package/src/views/user/user/form_list.vue +1 -0
  409. package/src/views/user/user/list.vue +647 -563
  410. package/src/views/user/user/modifyPasswordDialog.vue +64 -53
  411. package/src/views/user/wf/wfReport/index.vue +618 -0
  412. package/src/views/user/wf/wf_auto_submit_data/list.vue +2 -0
  413. package/src/views/user/wf/wf_manage/list.vue +371 -249
  414. package/src/views/user/wf/wf_manage/wfContentDialog.vue +1 -1
  415. package/src/views/user/wf/wf_obj_config/importItemDialog.vue +109 -0
  416. package/src/views/user/wf/wf_obj_config/itemEdit.vue +25 -1
  417. package/src/views/user/wf/wf_obj_config/list.vue +138 -5
  418. package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +292 -0
  419. package/src/views/user/wf/wf_transfer_setting/edit.vue +282 -0
  420. package/src/views/user/wf/wf_transfer_setting/list.vue +319 -0
@@ -1,23 +1,49 @@
1
1
  <template>
2
- <div v-show="title!='' && title!=null" style="overflow: hidden;">
2
+ <div v-show="title != '' && title != null" style="overflow: hidden">
3
3
  <div class="tree-box tree-annex fl">
4
- <div class="tit"><b>{{ title }}</b></div>
5
- <div class="tree-form">
6
- <el-input :placeholder="$t2('请输入文件夹名称','components.fileLibrary.categoryPlaceholder')"
7
- v-model="filterText" class="txt">
4
+ <div class="tit">
5
+ <b>{{ title }}</b>
6
+ </div>
7
+ <div class="tree-form" v-if="option.showCategoryFilterArea !== false">
8
+ <el-input
9
+ :placeholder="
10
+ $t2('请输入文件夹名称', 'components.fileLibrary.categoryPlaceholder')
11
+ "
12
+ v-model="filterText"
13
+ class="txt"
14
+ >
8
15
  <el-button slot="append" icon="el-icon-search"></el-button>
9
16
  </el-input>
10
17
  </div>
11
18
  <div class="tree-btns" v-if="isCategoryEdit">
12
- <el-button type="primary" plain icon="el-icon-circle-plus-outline" class="btn" @click="addFileCategory()"
13
- v-if="fileObjAuth.addAuth">{{ $t2('新增', 'components.fileLibrary.addCategory') }}
19
+ <el-button
20
+ type="primary"
21
+ plain
22
+ icon="el-icon-circle-plus-outline"
23
+ class="btn"
24
+ @click="addFileCategory()"
25
+ v-if="fileObjAuth.addAuth"
26
+ >{{ $t2("新增", "components.fileLibrary.addCategory") }}
14
27
  </el-button>
15
- <el-button type="primary" plain icon="el-icon-edit-outline" class="btn" @click="editFileCategory()"
16
- :disabled="currentFileCategory==null || !currentFileCategory.id" v-if="fileObjAuth.editAuth">
17
- {{ $t2('编辑', 'components.fileLibrary.editCategory') }}
28
+ <el-button
29
+ type="primary"
30
+ plain
31
+ icon="el-icon-edit-outline"
32
+ class="btn"
33
+ @click="editFileCategory()"
34
+ :disabled="currentFileCategory == null || !currentFileCategory.id"
35
+ v-if="fileObjAuth.editAuth"
36
+ >
37
+ {{ $t2("编辑", "components.fileLibrary.editCategory") }}
18
38
  </el-button>
19
- <el-button type="primary" plain class="btn" icon="el-icon-edit" @click="showFileObjAuthDialog=true"
20
- v-if="isEdit && fileObjAuth.authAuth">{{ $t2('权限', 'components.fileLibrary.authAuth') }}
39
+ <el-button
40
+ type="primary"
41
+ plain
42
+ class="btn"
43
+ icon="el-icon-edit"
44
+ @click="showFileObjAuthDialog = true"
45
+ v-if="isEdit && fileObjAuth.authAuth"
46
+ >{{ $t2("权限", "components.fileLibrary.authAuth") }}
21
47
  </el-button>
22
48
  </div>
23
49
  <el-tree
@@ -32,6 +58,9 @@
32
58
  @node-click="handleNodeClick"
33
59
  class="tree-list"
34
60
  icon-class="el-icon-arrow-down"
61
+ :style="
62
+ option.showCategoryFilterArea === false ? 'height: calc(100vh - 113px)' : ''
63
+ "
35
64
  >
36
65
  <span class="el-tree-node__label" slot-scope="{ node }" v-if="!node.data.moreBtn">
37
66
  <i class="ico-wenjian"></i>
@@ -48,88 +77,184 @@
48
77
  <i class="el-icon-more"></i>
49
78
  </div>
50
79
  </label>
51
- <div class="main-right file-library fr" style="overflow: hidden;">
80
+ <div class="main-right file-library fr" style="overflow: hidden">
52
81
  <div class="pop-annex-filter" v-if="popAnnexFilter">
53
- <div class="item" v-for="(checkBillData,index) in checkBillDatas" :key="index"><span>{{
54
- getBillLabel(checkBillData)
55
- }}</span><i
56
- class="el-icon-close" @click="deleteBillData(index)"></i></div>
82
+ <div class="item" v-for="(checkBillData, index) in checkBillDatas" :key="index">
83
+ <span>{{ getBillLabel(checkBillData) }}</span
84
+ ><i class="el-icon-close" @click="deleteBillData(index)"></i>
85
+ </div>
57
86
  </div>
58
87
  <div class="annex-filter" v-if="isBillEnabled">
59
- <el-button slot="append" icon="el-icon-search" @click="openBillDialog" size="mini" class="an-btn-search"
60
- type="success">
61
- {{ $t2('选择' + billConfig.name, 'components.fileLibrary.selectBill', {billName: billConfig.name}) }}
88
+ <el-button
89
+ slot="append"
90
+ icon="el-icon-search"
91
+ @click="openBillDialog"
92
+ size="mini"
93
+ class="an-btn-search"
94
+ type="success"
95
+ >
96
+ {{
97
+ $t2("选择" + billConfig.name, "components.fileLibrary.selectBill", {
98
+ billName: billConfig.name,
99
+ })
100
+ }}
62
101
  </el-button>
63
102
  <div class="abox">
64
- <div class="item" v-for="(checkBillData,index) in checkBillDatas" :key="index"><span>{{
65
- getBillLabel(checkBillData)
66
- }}</span><i
67
- class="el-icon-close" @click="deleteBillData(index)"></i></div>
103
+ <div class="item" v-for="(checkBillData, index) in checkBillDatas" :key="index">
104
+ <span>{{ getBillLabel(checkBillData) }}</span
105
+ ><i class="el-icon-close" @click="deleteBillData(index)"></i>
106
+ </div>
68
107
  </div>
69
108
 
70
- <el-button slot="append" icon="iconfont icon-gengduo1" size="mini" class="an-btn-more" type="primary"
71
- @click="popAnnexFilter = false" v-if="popAnnexFilter">
109
+ <el-button
110
+ slot="append"
111
+ icon="iconfont icon-gengduo1"
112
+ size="mini"
113
+ class="an-btn-more"
114
+ type="primary"
115
+ @click="popAnnexFilter = false"
116
+ v-if="popAnnexFilter"
117
+ >
72
118
  </el-button>
73
- <el-button slot="append" icon="iconfont icon-gengduo1" size="mini" class="an-btn-more"
74
- @click="popAnnexFilter = true" v-else>
119
+ <el-button
120
+ slot="append"
121
+ icon="iconfont icon-gengduo1"
122
+ size="mini"
123
+ class="an-btn-more"
124
+ @click="popAnnexFilter = true"
125
+ v-else
126
+ >
75
127
  </el-button>
76
- <el-button slot="append" icon="el-icon-delete" size="mini" class="an-btn-del" @click="clearBill">
77
- {{ $t2('取消选择', 'components.fileLibrary.cancelSelect') }}
128
+ <el-button
129
+ slot="append"
130
+ icon="el-icon-delete"
131
+ size="mini"
132
+ class="an-btn-del"
133
+ @click="clearBill"
134
+ >
135
+ {{ $t2("取消选择", "components.fileLibrary.cancelSelect") }}
78
136
  </el-button>
79
137
  </div>
80
138
 
81
- <div class="annex-screen"
82
- v-if="fileObjAuth.uploadAuth || fileObjAuth.downloadAuth || fileObjAuth.deleteAuth || fileObjAuth.moveAuth || fileObjAuth.copyAuth || fileObjAuth.replaceAuth || fileObjAuth.deleteDirAuth">
83
- <el-button type="warning" class="button-sty" icon="el-icon-plus" @click="addFile"
84
- v-if="isEdit && fileObjAuth.uploadAuth">{{ $t2('上传', 'components.fileLibrary.upload') }}
139
+ <div class="annex-screen">
140
+ <el-button
141
+ type="warning"
142
+ class="button-sty"
143
+ icon="el-icon-plus"
144
+ @click="addFile"
145
+ v-if="isEdit && fileObjAuth.uploadAuth"
146
+ >{{ $t2("上传", "components.fileLibrary.upload") }}
147
+ </el-button>
148
+ <el-button
149
+ type="primary"
150
+ class="button-sty"
151
+ icon="el-icon-download"
152
+ @click.native="mulDownload2"
153
+ v-if="fileObjAuth.downloadAuth"
154
+ >{{ $t2("下载", "components.fileLibrary.download") }}
85
155
  </el-button>
86
- <el-button type="primary" class="button-sty" icon="el-icon-download" @click.native="mulDownload2"
87
- v-if="fileObjAuth.downloadAuth">{{ $t2('下载', 'components.fileLibrary.download') }}
156
+ <el-button
157
+ type="danger"
158
+ class="button-sty"
159
+ icon="el-icon-takeaway-box"
160
+ @click="showRecycleBinDialog = true"
161
+ v-if="isEdit && (fileObjAuth.deleteAuth || fileObjAuth.deleteDirAuth)"
162
+ >
163
+ {{ $t2("回收站", "components.fileLibrary.recycleBin") }}
88
164
  </el-button>
89
- <el-button type="danger" class="button-sty" icon="el-icon-takeaway-box"
90
- @click="showRecycleBinDialog=true"
91
- v-if="isEdit && (fileObjAuth.deleteAuth || fileObjAuth.deleteDirAuth)">
92
- {{ $t2('回收站', 'components.fileLibrary.recycleBin') }}
165
+ <el-button
166
+ type="primary"
167
+ plain
168
+ class="button-sty"
169
+ icon="el-icon-rank"
170
+ @click.native="openCategoryMoveDialog(1)"
171
+ v-if="isEdit && fileObjAuth.moveAuth"
172
+ >
173
+ {{ $t2("移动到", "components.fileLibrary.moveTo") }}
93
174
  </el-button>
94
- <el-button type="primary" plain class="button-sty" icon="el-icon-rank"
95
- @click.native="openCategoryMoveDialog(1)" v-if="isEdit && fileObjAuth.moveAuth">
96
- {{ $t2('移动到', 'components.fileLibrary.moveTo') }}
175
+ <el-button
176
+ type="primary"
177
+ plain
178
+ class="button-sty"
179
+ icon="el-icon-copy-document"
180
+ @click.native="openCategoryMoveDialog(2)"
181
+ v-if="isEdit && fileObjAuth.copyAuth"
182
+ >
183
+ {{ $t2("复制到", "components.fileLibrary.copyTo") }}
97
184
  </el-button>
98
- <el-button type="primary" plain class="button-sty" icon="el-icon-copy-document"
99
- @click.native="openCategoryMoveDialog(2)" v-if="isEdit && fileObjAuth.copyAuth">
100
- {{ $t2('复制到', 'components.fileLibrary.copyTo') }}
185
+ <el-button
186
+ type="primary"
187
+ plain
188
+ class="button-sty"
189
+ icon="el-icon-refresh"
190
+ @click.native="batchReplace"
191
+ v-if="isEdit && fileObjAuth.replaceAuth"
192
+ >
193
+ {{ $t2("替换", "components.fileLibrary.replace") }}
101
194
  </el-button>
102
- <el-button type="primary" plain class="button-sty" icon="el-icon-refresh"
103
- @click.native="batchReplace" v-if="isEdit && fileObjAuth.replaceAuth">
104
- {{ $t2('替换', 'components.fileLibrary.replace') }}
195
+ <el-button
196
+ type="primary"
197
+ plain
198
+ class="button-sty"
199
+ icon="el-icon-delete"
200
+ @click.native="deleteAttach()"
201
+ v-if="isEdit && (fileObjAuth.deleteAuth || fileObjAuth.deleteDirAuth)"
202
+ >
203
+ {{ $t2("删除", "components.fileLibrary.delete") }}
105
204
  </el-button>
106
- <el-button type="primary" plain class="button-sty" icon="el-icon-delete"
107
- @click.native="deleteAttach()"
108
- v-if="isEdit && (fileObjAuth.deleteAuth || fileObjAuth.deleteDirAuth)">
109
- {{ $t2('删除', 'components.fileLibrary.delete') }}
205
+ <el-button
206
+ icon="iconfont icon-shaixuan"
207
+ class="button-sty"
208
+ @click="showFilterDialog = true"
209
+ >
210
+ {{ $t1("搜索") }}
110
211
  </el-button>
111
212
 
112
- <template v-for="(fileButton,customToobarButtonIndex) in customToobarButtons">
213
+ <template v-for="(fileButton, customToobarButtonIndex) in customToobarButtons">
113
214
  <template
114
- v-if="fileButton.dirs===null || fileButton.dirs===undefined || (attachment.dirs === fileButton.dirs)">
115
- <template v-if="customFileButtonVisable(fileButton,attachment)">
116
- <el-button type="primary" plain class="button-sty" :icon="fileButton.icon" :key="customToobarButtonIndex"
117
- @click="customToobarButtonEvent(fileButton)">{{ fileButton.label }}
215
+ v-if="
216
+ fileButton.dirs === null ||
217
+ fileButton.dirs === undefined ||
218
+ attachment.dirs === fileButton.dirs
219
+ "
220
+ >
221
+ <template v-if="customFileButtonVisable(fileButton, attachment)">
222
+ <el-button
223
+ type="primary"
224
+ plain
225
+ class="button-sty"
226
+ :icon="fileButton.icon"
227
+ :key="customToobarButtonIndex"
228
+ @click="customToobarButtonEvent(fileButton)"
229
+ >{{ fileButton.label }}
118
230
  </el-button>
119
231
  </template>
120
232
  </template>
121
233
  </template>
122
-
123
234
  </div>
124
- <div class="line"
125
- v-if="fileObjAuth.uploadAuth || fileObjAuth.downloadAuth || fileObjAuth.deleteAuth || fileObjAuth.moveAuth || fileObjAuth.copyAuth || fileObjAuth.replaceAuth || fileObjAuth.deleteDirAuth"></div>
235
+ <div
236
+ class="line"
237
+ v-if="
238
+ fileObjAuth.uploadAuth ||
239
+ fileObjAuth.downloadAuth ||
240
+ fileObjAuth.deleteAuth ||
241
+ fileObjAuth.moveAuth ||
242
+ fileObjAuth.copyAuth ||
243
+ fileObjAuth.replaceAuth ||
244
+ fileObjAuth.deleteDirAuth
245
+ "
246
+ ></div>
126
247
  <div class="annex-crumbs">
127
248
  <span class="tit"><i class="iconfont icon-wenjianjia"></i>文件区</span>
128
- <span class="tit" style="padding-right: 0;">{{ $t2('指定路径', 'components.fileLibrary.assignPath') }}:</span>
249
+ <span class="tit" style="padding-right: 0"
250
+ >{{ $t2("指定路径", "components.fileLibrary.assignPath") }}:</span
251
+ >
129
252
  <el-breadcrumb separator-class="el-icon-arrow-right">
130
- <el-breadcrumb-item v-for="treeNode in treeNodeArr" :key="treeNode.id" @click.native="doNav(treeNode)">{{
131
- treeNode.label
132
- }}
253
+ <el-breadcrumb-item
254
+ v-for="treeNode in treeNodeArr"
255
+ :key="treeNode.id"
256
+ @click.native="doNav(treeNode)"
257
+ >{{ treeNode.label }}
133
258
  </el-breadcrumb-item>
134
259
  </el-breadcrumb>
135
260
  </div>
@@ -137,102 +262,184 @@
137
262
  <div class="annex-searchBox">
138
263
  <div class="fl">
139
264
  <div class="oper">
140
- <el-checkbox v-model="checkAll" @change="changeCheckAll" :disabled="checkAllDisabled"
141
- :indeterminate="checkAllIndeterminate">已选中 {{
142
- checkList.length
143
- }} 项{{ $t2('', 'components.fileLibrary.aa') }}
265
+ <el-checkbox
266
+ v-model="checkAll"
267
+ @change="changeCheckAll"
268
+ :disabled="checkAllDisabled"
269
+ :indeterminate="checkAllIndeterminate"
270
+ >已选中 {{ checkList.length }} 项{{
271
+ $t2("", "components.fileLibrary.aa")
272
+ }}
144
273
  </el-checkbox>
145
274
  </div>
146
275
  <div class="search-box">
147
276
  <template v-if="currentFileCategory && currentFileCategory.id">
148
- <el-input :placeholder="$t2('请输入文件名','components.fileLibrary.filePlaceholder')"
149
- v-model="formData.fileName" clearable>
150
- <el-button slot="append" icon="el-icon-search" @click="searchEvent"></el-button>
277
+ <el-input
278
+ :placeholder="
279
+ $t2('请输入文件名', 'components.fileLibrary.filePlaceholder')
280
+ "
281
+ v-model="formData.fileName"
282
+ clearable
283
+ >
284
+ <el-button
285
+ slot="append"
286
+ icon="el-icon-search"
287
+ @click="searchEvent"
288
+ ></el-button>
151
289
  </el-input>
152
- <el-button icon="iconfont icon-shaixuan" class="button-sty" @click="showAdvancedSearch = true">
153
- {{ $t2('筛选', 'components.fileLibrary.screen') }}
290
+ <el-button
291
+ icon="iconfont icon-shaixuan"
292
+ class="button-sty"
293
+ @click="showAdvancedSearch = true"
294
+ >
295
+ {{ $t2("筛选", "components.fileLibrary.screen") }}
154
296
  </el-button>
155
297
  </template>
156
298
  </div>
157
-
158
299
  </div>
159
300
  <div class="fr">
160
- <el-button type="primary" icon="iconfont icon-icmenu2" @click="changeShowType()" class="button-sty icon-btn"
161
- v-show="showType==1">{{ $t2('列表', 'components.fileLibrary.tableList') }}
301
+ <el-button
302
+ type="primary"
303
+ icon="iconfont icon-icmenu2"
304
+ @click="changeShowType()"
305
+ class="button-sty icon-btn"
306
+ v-show="showType == 1"
307
+ >{{ $t2("列表", "components.fileLibrary.tableList") }}
162
308
  </el-button>
163
- <el-button type="primary" style="margin-left:0;" icon="el-icon-menu" @click="changeShowType()"
164
- class="button-sty icon-btn"
165
- v-show="showType==2">{{ $t2('图示', 'components.fileLibrary.imageList') }}
309
+ <el-button
310
+ type="primary"
311
+ style="margin-left: 0"
312
+ icon="el-icon-menu"
313
+ @click="changeShowType()"
314
+ class="button-sty icon-btn"
315
+ v-show="showType == 2"
316
+ >{{ $t2("图示", "components.fileLibrary.imageList") }}
166
317
  </el-button>
167
318
  </div>
168
319
  </div>
169
- <div class="mask" v-show="is_show_mask">
170
- </div>
171
- <div class="containter1" ref="containter1" v-show="showType==1" style="overflow: auto;">
172
-
320
+ <div class="mask" v-show="is_show_mask"></div>
321
+ <div
322
+ class="containter1"
323
+ ref="containter1"
324
+ v-show="showType == 1"
325
+ style="overflow: auto"
326
+ >
173
327
  <div class="annex-piclist">
174
328
  <div class="clearfix">
175
- <el-checkbox-group v-model="checkList" @change="checkChange" class="f-group">
176
- <template v-for="(attachment,index) in page.records">
177
- <li :key="index" class="item" :class="checkList.includes(attachment.id) ? 'on':''">
178
-
329
+ <el-checkbox-group
330
+ v-model="checkList"
331
+ @change="checkChange"
332
+ class="f-group"
333
+ >
334
+ <template v-for="(attachment, index) in page.records">
335
+ <li
336
+ :key="index"
337
+ class="item"
338
+ :class="checkList.includes(attachment.id) ? 'on' : ''"
339
+ >
179
340
  <el-checkbox :label="attachment.id"><span></span></el-checkbox>
180
341
  <div class="oper">
181
- <el-tooltip effect="dark" content="详情" placement="top"
182
- v-if="!attachment.dirs && isEdit && fileObjAuth.editAuth"><i
183
- class="el-tooltip iconfont icon-shuxing ico"
184
- @click="openPropertiesDialog(attachment)"></i>
342
+ <el-tooltip
343
+ effect="dark"
344
+ content="详情"
345
+ placement="top"
346
+ v-if="!attachment.dirs && isEdit && fileObjAuth.editAuth"
347
+ ><i
348
+ class="el-tooltip iconfont icon-shuxing ico"
349
+ @click="openPropertiesDialog(attachment)"
350
+ ></i>
185
351
  </el-tooltip>
186
- <el-tooltip effect="dark" content="详情" placement="top"
187
- v-if="attachment.dirs && isEdit && fileObjAuth.editAuth"><i
188
- class="el-tooltip iconfont icon-shuxing ico"
189
- @click="editFileCategory(attachment)"></i>
352
+ <el-tooltip
353
+ effect="dark"
354
+ content="详情"
355
+ placement="top"
356
+ v-if="attachment.dirs && isEdit && fileObjAuth.editAuth"
357
+ ><i
358
+ class="el-tooltip iconfont icon-shuxing ico"
359
+ @click="editFileCategory(attachment)"
360
+ ></i>
190
361
  </el-tooltip>
191
362
  <a
192
363
  href="javascript:void(0);"
193
364
  class="a-link ico"
194
365
  v-if="!attachment.dirs && fileObjAuth.downloadAuth"
195
- @click="$commonFileUtil.downloadFile(attachment.domain + attachment.url, attachment.fileName)"
366
+ @click="downloadSingerFile(attachment)"
196
367
  >
197
- <el-tooltip effect="dark" content="下载" placement="top"
198
- popper-class="tooltip-skin">
199
- <i class="el-icon-download"/>
368
+ <el-tooltip
369
+ effect="dark"
370
+ content="下载"
371
+ placement="top"
372
+ popper-class="tooltip-skin"
373
+ >
374
+ <i class="el-icon-download" />
200
375
  </el-tooltip>
201
376
  </a>
202
377
  <el-dropdown trigger="click" v-if="isEdit">
203
- <span class="ico"><i class="el-icon-more"></i>
204
- </span>
378
+ <span class="ico"><i class="el-icon-more"></i> </span>
205
379
  <el-dropdown-menu slot="dropdown">
206
- <el-dropdown-item @click.native="openShareDialog(attachment)"
207
- v-if="!attachment.dirs && fileObjAuth.shareAuth"><i
208
- class="el-icon-share"></i>分享
380
+ <el-dropdown-item
381
+ @click.native="openShareDialog(attachment)"
382
+ v-if="!attachment.dirs && fileObjAuth.shareAuth"
383
+ ><i class="el-icon-share"></i>分享
209
384
  </el-dropdown-item>
210
- <el-dropdown-item @click.native="replaceFile(attachment,index,page.records)"
211
- v-if="!attachment.dirs && isEdit && attachment.status!=1 && fileObjAuth.replaceAuth">
212
- <i
213
- class="el-icon-refresh"></i>替换
385
+ <el-dropdown-item
386
+ @click.native="replaceFile(attachment, index, page.records)"
387
+ v-if="
388
+ !attachment.dirs &&
389
+ isEdit &&
390
+ attachment.status != 1 &&
391
+ fileObjAuth.replaceAuth
392
+ "
393
+ >
394
+ <i class="el-icon-refresh"></i>替换
214
395
  </el-dropdown-item>
215
- <el-dropdown-item @click.native="openFileHistoryDialog(attachment)"
216
- v-if="!attachment.dirs && isEdit && attachment.status!=1 && fileObjAuth.historyAuth">
217
- <i
218
- class="el-icon-s-order"></i>历史
396
+ <el-dropdown-item
397
+ @click.native="openFileHistoryDialog(attachment)"
398
+ v-if="
399
+ !attachment.dirs &&
400
+ isEdit &&
401
+ attachment.status != 1 &&
402
+ fileObjAuth.historyAuth
403
+ "
404
+ >
405
+ <i class="el-icon-s-order"></i>历史
219
406
  </el-dropdown-item>
220
- <el-dropdown-item @click.native="deleteAttach(attachment)"
221
- v-if="!attachment.dirs && isEdit && attachment.status!=1 && fileObjAuth.deleteAuth">
222
- <i
223
- class="el-icon-delete"></i>删除
407
+ <el-dropdown-item
408
+ @click.native="deleteAttach(attachment)"
409
+ v-if="
410
+ !attachment.dirs &&
411
+ isEdit &&
412
+ attachment.status != 1 &&
413
+ fileObjAuth.deleteAuth
414
+ "
415
+ >
416
+ <i class="el-icon-delete"></i>删除
224
417
  </el-dropdown-item>
225
- <el-dropdown-item @click.native="deleteCategory(attachment)"
226
- v-if="attachment.dirs && isEdit && fileObjAuth.deleteDirAuth">
227
- <i
228
- class="el-icon-delete"></i>删除
418
+ <el-dropdown-item
419
+ @click.native="deleteCategory(attachment)"
420
+ v-if="attachment.dirs && isEdit && fileObjAuth.deleteDirAuth"
421
+ >
422
+ <i class="el-icon-delete"></i>删除
229
423
  </el-dropdown-item>
230
- <template v-for="(fileButton,fileButtonIndex) in customFileButtons">
424
+ <template
425
+ v-for="(fileButton, fileButtonIndex) in customFileButtons"
426
+ >
231
427
  <template
232
- v-if="fileButton.dirs===null || fileButton.dirs===undefined || (attachment.dirs === fileButton.dirs)">
233
- <template v-if="customFileButtonVisable(fileButton,attachment)">
234
- <el-dropdown-item @click.native="customFileButtonEvent(fileButton,attachment)"
235
- :key="fileButtonIndex">
428
+ v-if="
429
+ fileButton.dirs === null ||
430
+ fileButton.dirs === undefined ||
431
+ attachment.dirs === fileButton.dirs
432
+ "
433
+ >
434
+ <template
435
+ v-if="customFileButtonVisable(fileButton, attachment)"
436
+ >
437
+ <el-dropdown-item
438
+ @click.native="
439
+ customFileButtonEvent(fileButton, attachment)
440
+ "
441
+ :key="fileButtonIndex"
442
+ >
236
443
  <i :class="fileButton.icon"></i>{{ fileButton.label }}
237
444
  </el-dropdown-item>
238
445
  </template>
@@ -242,34 +449,55 @@
242
449
  </el-dropdown>
243
450
  </div>
244
451
  <div class="custom-slot">
245
- <slot name="custom" v-bind="{row:attachment}"></slot>
452
+ <slot name="custom" v-bind="{ row: attachment }"></slot>
246
453
  </div>
247
454
  <!-- <div class="status s-1" v-if="!attachment.dirs && attachment.status==1">
248
455
  <el-tooltip effect="dark" content="已归档" placement="top" popper-class="tooltip-skin"><i
249
456
  class="iconfont icon-file"></i>
250
457
  </el-tooltip>
251
458
  </div> -->
252
- <div class="status s-1" v-if="!attachment.dirs && attachment.status==1"></div>
253
- <div class="img" @click="openPreview(attachment)" v-if="!attachment.dirs">
254
- <div class="show-video" v-if="hasPreview(attachment)"><i class="icon-chakan"></i></div>
255
- <div class="show-video" v-if="false"><i class="el-icon-video-play"></i></div>
256
- <p><img :src="getShowUrl(attachment)"/></p>
459
+ <div
460
+ class="status s-1"
461
+ v-if="!attachment.dirs && attachment.status == 1"
462
+ ></div>
463
+ <div
464
+ class="img"
465
+ @click="openPreview(attachment)"
466
+ v-if="!attachment.dirs"
467
+ >
468
+ <div class="show-video" v-if="hasPreview(attachment)">
469
+ <i class="icon-chakan"></i>
470
+ </div>
471
+ <div class="show-video" v-if="false">
472
+ <i class="el-icon-video-play"></i>
473
+ </div>
474
+ <p><img :src="getShowUrl(attachment)" /></p>
257
475
  </div>
258
- <div class="img" @click="changeCategory(attachment)" v-if="attachment.dirs">
259
- <svg-icon icon-class="ico-wenjianjia"/>
476
+ <div
477
+ class="img"
478
+ @click="changeCategory(attachment)"
479
+ v-if="attachment.dirs"
480
+ >
481
+ <svg-icon icon-class="ico-wenjianjia" />
260
482
  </div>
261
- <el-tooltip :enterable="false" effect="dark" :content="attachment.fileName" placement="top">
483
+ <el-tooltip
484
+ :enterable="false"
485
+ effect="dark"
486
+ :content="attachment.fileName"
487
+ placement="top"
488
+ >
262
489
  <div class="txt-box">
263
490
  <div class="tb-left"></div>
264
491
  <div class="tb-mid">
265
492
  <div class="txt">
266
- <span class="name">{{ getFileName(attachment) }}</span><span
267
- v-if="attachment.extension">.{{ attachment.extension }}</span>
493
+ <span class="name">{{ getFileName(attachment) }}</span
494
+ ><span v-if="attachment.extension"
495
+ >.{{ attachment.extension }}</span
496
+ >
268
497
  </div>
269
498
  </div>
270
499
  <div class="format">... .{{ attachment.extension }}</div>
271
500
  </div>
272
-
273
501
  </el-tooltip>
274
502
  </li>
275
503
  </template>
@@ -306,10 +534,16 @@
306
534
  </div>
307
535
  </div>
308
536
  <div class="annex-grid-height">
309
- <vxe-grid v-show="showType==2" ref="table-m1" v-bind="vxeOption" :data="page.records"
310
- @resizable-change="$vxeTableUtil.onColumnWitchChange" @custom="$vxeTableUtil.customHandle"
311
- @checkbox-change="tableCheckChange"
312
- @checkbox-all="tableCheckAll">
537
+ <vxe-grid
538
+ v-show="showType == 2"
539
+ ref="table-m1"
540
+ v-bind="vxeOption"
541
+ :data="page.records"
542
+ @resizable-change="$vxeTableUtil.onColumnWitchChange"
543
+ @custom="$vxeTableUtil.customHandle"
544
+ @checkbox-change="tableCheckChange"
545
+ @checkbox-all="tableCheckAll"
546
+ >
313
547
  <!-- <template #bottom v-if="page.total>page.records.length">
314
548
  <div class="vxe-annex-more" @click="changePage(page.current+1, pageSize)">
315
549
  <span>更多</span>
@@ -326,16 +560,16 @@
326
560
  @page-change="changePageNew"
327
561
  >
328
562
  <template #right>
329
- <span>
330
- <span>{{ $t2('当前记录', 'components.table.pageInfo') }}</span>
331
- <span class="f-red"> {{ page.records.length }} </span>
332
- <span>/</span>
333
- <span class="f-red"> {{ page.total }}</span>
334
- </span>
563
+ <span>
564
+ <span>{{ $t2("当前记录", "components.table.pageInfo") }}</span>
565
+ <span class="f-red"> {{ page.records.length }} </span>
566
+ <span>/</span>
567
+ <span class="f-red"> {{ page.total }}</span>
568
+ </span>
335
569
  </template>
336
570
  </vxe-pager>
337
571
  </template>
338
- <template #operate="{row,rowIndex,items}">
572
+ <template #operate="{ row, rowIndex, items }">
339
573
  <template v-if="!row.dirs">
340
574
  <a
341
575
  href="javascript:void(0);"
@@ -343,22 +577,30 @@
343
577
  v-if="isEdit && fileObjAuth.editAuth == 1"
344
578
  @click="openPropertiesDialog(row)"
345
579
  >
346
- <el-tooltip :enterable="false" effect="dark" :content="$t2('详情','components.fileLibrary.detail')"
347
- placement="top"
348
- popper-class="tooltip-skin">
349
- <i class="iconfont icon-shuxing"/>
580
+ <el-tooltip
581
+ :enterable="false"
582
+ effect="dark"
583
+ :content="$t2('详情', 'components.fileLibrary.detail')"
584
+ placement="top"
585
+ popper-class="tooltip-skin"
586
+ >
587
+ <i class="iconfont icon-shuxing" />
350
588
  </el-tooltip>
351
589
  </a>
352
590
  <a
353
591
  href="javascript:void(0);"
354
592
  class="a-link"
355
593
  v-if="fileObjAuth.downloadAuth == 1"
356
- @click="$commonFileUtil.downloadFile(row.domain + row.url,row.fileName)"
594
+ @click="downloadSingerFile(row)"
357
595
  >
358
- <el-tooltip :enterable="false" effect="dark" :content="$t2('下载','components.fileLibrary.download')"
359
- placement="top"
360
- popper-class="tooltip-skin">
361
- <i class="el-icon-download"/>
596
+ <el-tooltip
597
+ :enterable="false"
598
+ effect="dark"
599
+ :content="$t2('下载', 'components.fileLibrary.download')"
600
+ placement="top"
601
+ popper-class="tooltip-skin"
602
+ >
603
+ <i class="el-icon-download" />
362
604
  </el-tooltip>
363
605
  </a>
364
606
  <a
@@ -367,10 +609,14 @@
367
609
  v-if="fileObjAuth.shareAuth == 1"
368
610
  @click="openShareDialog(row)"
369
611
  >
370
- <el-tooltip :enterable="false" effect="dark" :content="$t2('分享','components.fileLibrary.share')"
371
- placement="top"
372
- popper-class="tooltip-skin">
373
- <i class="el-icon-share"/>
612
+ <el-tooltip
613
+ :enterable="false"
614
+ effect="dark"
615
+ :content="$t2('分享', 'components.fileLibrary.share')"
616
+ placement="top"
617
+ popper-class="tooltip-skin"
618
+ >
619
+ <i class="el-icon-share" />
374
620
  </el-tooltip>
375
621
  </a>
376
622
  <a
@@ -379,10 +625,14 @@
379
625
  v-if="isEdit && row.status != 1 && fileObjAuth.replaceAuth == 1"
380
626
  @click="replaceFile(row, rowIndex, items)"
381
627
  >
382
- <el-tooltip :enterable="false" effect="dark" :content="$t2('替换','components.fileLibrary.replace')"
383
- placement="top"
384
- popper-class="tooltip-skin">
385
- <i class="el-icon-refresh"/>
628
+ <el-tooltip
629
+ :enterable="false"
630
+ effect="dark"
631
+ :content="$t2('替换', 'components.fileLibrary.replace')"
632
+ placement="top"
633
+ popper-class="tooltip-skin"
634
+ >
635
+ <i class="el-icon-refresh" />
386
636
  </el-tooltip>
387
637
  </a>
388
638
  <a
@@ -391,10 +641,14 @@
391
641
  v-if="isEdit && row.status != 1 && fileObjAuth.historyAuth == 1"
392
642
  @click="openFileHistoryDialog(row)"
393
643
  >
394
- <el-tooltip :enterable="false" effect="dark" :content="$t2('历史','components.fileLibrary.history')"
395
- placement="top"
396
- popper-class="tooltip-skin">
397
- <i class="el-icon-s-order"/>
644
+ <el-tooltip
645
+ :enterable="false"
646
+ effect="dark"
647
+ :content="$t2('历史', 'components.fileLibrary.history')"
648
+ placement="top"
649
+ popper-class="tooltip-skin"
650
+ >
651
+ <i class="el-icon-s-order" />
398
652
  </el-tooltip>
399
653
  </a>
400
654
  <a
@@ -403,10 +657,14 @@
403
657
  v-if="isEdit && row.status != 1 && fileObjAuth.deleteAuth == 1"
404
658
  @click="deleteAttach(row)"
405
659
  >
406
- <el-tooltip :enterable="false" effect="dark" :content="$t2('删除','components.fileLibrary.delete')"
407
- placement="top"
408
- popper-class="tooltip-skin">
409
- <i class="el-icon-delete"/>
660
+ <el-tooltip
661
+ :enterable="false"
662
+ effect="dark"
663
+ :content="$t2('删除', 'components.fileLibrary.delete')"
664
+ placement="top"
665
+ popper-class="tooltip-skin"
666
+ >
667
+ <i class="el-icon-delete" />
410
668
  </el-tooltip>
411
669
  </a>
412
670
  </template>
@@ -417,10 +675,14 @@
417
675
  v-if="isEdit && isCategoryEdit && fileObjAuth.editAuth == 1"
418
676
  @click="editFileCategory(row)"
419
677
  >
420
- <el-tooltip :enterable="false" effect="dark" :content="$t2('详情','components.fileLibrary.detail')"
421
- placement="top"
422
- popper-class="tooltip-skin">
423
- <i class="iconfont icon-shuxing"/>
678
+ <el-tooltip
679
+ :enterable="false"
680
+ effect="dark"
681
+ :content="$t2('详情', 'components.fileLibrary.detail')"
682
+ placement="top"
683
+ popper-class="tooltip-skin"
684
+ >
685
+ <i class="iconfont icon-shuxing" />
424
686
  </el-tooltip>
425
687
  </a>
426
688
  <a
@@ -429,16 +691,25 @@
429
691
  v-if="isEdit && isCategoryEdit && fileObjAuth.deleteDirAuth == 1"
430
692
  @click="deleteAttach(row)"
431
693
  >
432
- <el-tooltip :enterable="false" effect="dark" :content="$t2('删除','components.fileLibrary.delete')"
433
- placement="top"
434
- popper-class="tooltip-skin">
435
- <i class="el-icon-delete"/>
694
+ <el-tooltip
695
+ :enterable="false"
696
+ effect="dark"
697
+ :content="$t2('删除', 'components.fileLibrary.delete')"
698
+ placement="top"
699
+ popper-class="tooltip-skin"
700
+ >
701
+ <i class="el-icon-delete" />
436
702
  </el-tooltip>
437
703
  </a>
438
704
  </template>
439
- <template v-for="(fileButton,index) in customFileButtons">
705
+ <template v-for="(fileButton, index) in customFileButtons">
440
706
  <template
441
- v-if="fileButton.dirs === null || fileButton.dirs === undefined || (row.dirs === fileButton.dirs)">
707
+ v-if="
708
+ fileButton.dirs === null ||
709
+ fileButton.dirs === undefined ||
710
+ row.dirs === fileButton.dirs
711
+ "
712
+ >
442
713
  <a
443
714
  :key="index"
444
715
  href="javascript:void(0);"
@@ -446,21 +717,28 @@
446
717
  v-if="customFileButtonVisable(fileButton, row)"
447
718
  @click="customFileButtonEvent(fileButton, row)"
448
719
  >
449
- <el-tooltip :enterable="false" effect="dark" :content="fileButton.label" placement="top"
450
- popper-class="tooltip-skin">
451
- <i :class="fileButton.icon"/>
720
+ <el-tooltip
721
+ :enterable="false"
722
+ effect="dark"
723
+ :content="fileButton.label"
724
+ placement="top"
725
+ popper-class="tooltip-skin"
726
+ >
727
+ <i :class="fileButton.icon" />
452
728
  </el-tooltip>
453
729
  </a>
454
730
  </template>
455
731
  </template>
456
-
457
732
  </template>
458
733
  </vxe-grid>
459
734
  </div>
460
-
461
735
  </div>
462
736
  <el-dialog
463
- :title="editCategory.id?$t2('编辑文件夹','components.fileLibrary.editCategoryTitle'):$t2('新增文件夹','components.fileLibrary.addCategoryTitle')"
737
+ :title="
738
+ editCategory.id
739
+ ? $t2('编辑文件夹', 'components.fileLibrary.editCategoryTitle')
740
+ : $t2('新增文件夹', 'components.fileLibrary.addCategoryTitle')
741
+ "
464
742
  :append-to-body="true"
465
743
  :modal-append-to-body="true"
466
744
  :close-on-click-modal="false"
@@ -473,65 +751,119 @@
473
751
  v-el-dialog-center
474
752
  >
475
753
  <div class="cont">
476
- <el-form ref="editCategoryForm" :model="editCategory" label-width="102px" class="adSearchForm">
477
- <el-form-item :label="$t2('文件夹路径','components.fileLibrary.fileCategoryPath')">
754
+ <el-form
755
+ ref="editCategoryForm"
756
+ :model="editCategory"
757
+ label-width="102px"
758
+ class="adSearchForm"
759
+ >
760
+ <el-form-item
761
+ :label="$t2('文件夹路径', 'components.fileLibrary.fileCategoryPath')"
762
+ >
478
763
  <el-breadcrumb separator-class="el-icon-arrow-right">
479
- <el-breadcrumb-item v-for="(treeNode,index) in treeNodeArr" :key="index">{{
480
- treeNode.label
481
- }}
764
+ <el-breadcrumb-item v-for="(treeNode, index) in treeNodeArr" :key="index"
765
+ >{{ treeNode.label }}
482
766
  </el-breadcrumb-item>
483
767
  </el-breadcrumb>
484
768
  </el-form-item>
485
- <el-form-item :label="$t2('文件夹编码','components.fileLibrary.fileCategorySn')">
486
- <span>{{editCategory.fileSn}}</span>
769
+ <el-form-item
770
+ :label="$t2('文件夹编码', 'components.fileLibrary.fileCategorySn')"
771
+ >
772
+ <span>{{ editCategory.fileSn }}</span>
487
773
  </el-form-item>
488
- <el-form-item :label="$t2('文件夹名称','components.fileLibrary.fileCategoryName')">
489
- <el-input v-model="editCategory.fileName" clearable class="all-width"/>
774
+ <el-form-item
775
+ :label="$t2('文件夹名称', 'components.fileLibrary.fileCategoryName')"
776
+ >
777
+ <el-input v-model="editCategory.fileName" clearable class="all-width" />
490
778
  </el-form-item>
491
779
  </el-form>
492
780
  </div>
493
781
  <span slot="footer" class="dialog-footer">
494
- <el-button type="primary" plain class="button-sty" @click="showEditCategoryDialog=false">
495
- <i class="el-icon-close el-icon"></i>
496
- {{ $t2('取 消', 'system.button.cancel2') }}
497
- </el-button>
498
- <el-button type="primary" @click="confirmEditCategoryDialog" class="button-sty">
499
- <i class="el-icon-check el-icon"></i>
500
- {{ $t2('确 定', 'system.button.confirm2') }}
501
- </el-button>
502
- </span>
782
+ <el-button
783
+ type="primary"
784
+ plain
785
+ class="button-sty"
786
+ @click="showEditCategoryDialog = false"
787
+ >
788
+ <i class="el-icon-close el-icon"></i>
789
+ {{ $t2("取 消", "system.button.cancel2") }}
790
+ </el-button>
791
+ <el-button type="primary" @click="confirmEditCategoryDialog" class="button-sty">
792
+ <i class="el-icon-check el-icon"></i>
793
+ {{ $t2("确 定", "system.button.confirm2") }}
794
+ </el-button>
795
+ </span>
503
796
  </el-dialog>
504
797
  </div>
505
- <propertiesDialog v-if="showPropertiesDialog" :visiable.sync="showPropertiesDialog"
506
- :editAttachment.sync="editAttachment" :isEdit="isEdit"
507
- :treeNodeArr.sync="treeNodeArr"></propertiesDialog>
508
- <el-image-viewer v-if="showViewer" :on-close="() => {showViewer = false;}" :initial-index.sync="chooseIndex"
509
- :url-list="imageDTOs"/>
510
- <categoryMoveDialog :checkRows.sync="checkRows" v-if="showCategoryMoveDialog"
511
- :visiable.sync="showCategoryMoveDialog" @confirm="confirmMoveDialog"
512
- :handleType.sync="handleType"></categoryMoveDialog>
513
- <fileHistoryDialog v-if="showFileHistoryDialog" :visiable.sync="showFileHistoryDialog"
514
- :currentFile.sync="operateFileHistory" @confirm="confirmFileHistoryDialog" :multi="false"/>
798
+ <propertiesDialog
799
+ v-if="showPropertiesDialog"
800
+ :visiable.sync="showPropertiesDialog"
801
+ :editAttachment.sync="editAttachment"
802
+ :isEdit="isEdit"
803
+ :treeNodeArr.sync="treeNodeArr"
804
+ :option="option"
805
+ ></propertiesDialog>
806
+ <el-image-viewer
807
+ v-if="showViewer"
808
+ :on-close="
809
+ () => {
810
+ showViewer = false;
811
+ }
812
+ "
813
+ :initial-index.sync="chooseIndex"
814
+ :url-list="imageDTOs"
815
+ />
816
+ <categoryMoveDialog
817
+ :checkRows.sync="checkRows"
818
+ v-if="showCategoryMoveDialog"
819
+ :visiable.sync="showCategoryMoveDialog"
820
+ @confirm="confirmMoveDialog"
821
+ :handleType.sync="handleType"
822
+ ></categoryMoveDialog>
823
+ <fileHistoryDialog
824
+ v-if="showFileHistoryDialog"
825
+ :visiable.sync="showFileHistoryDialog"
826
+ :currentFile.sync="operateFileHistory"
827
+ @confirm="confirmFileHistoryDialog"
828
+ :multi="false"
829
+ />
515
830
 
516
- <shareDialog v-if="showShareDialog" :visiable.sync="showShareDialog"
517
- :attachment.sync="shareAttachment"></shareDialog>
518
- <recycleBinDialog v-if="showRecycleBinDialog" :visiable.sync="showRecycleBinDialog"
519
- :option.sync="option" :treeNodeArr="treeNodeArr" :currentFileCategory="currentFileCategory"
520
- @confirm="confirmRecycleBinDialog"></recycleBinDialog>
521
- <advancedSearchDialog v-if="showAdvancedSearch" :visiable.sync="showAdvancedSearch"
522
- :formData.sync="advancedFormData" @confirm="searchEvent">
831
+ <shareDialog
832
+ v-if="showShareDialog"
833
+ :visiable.sync="showShareDialog"
834
+ :attachment.sync="shareAttachment"
835
+ ></shareDialog>
836
+ <recycleBinDialog
837
+ v-if="showRecycleBinDialog"
838
+ :visiable.sync="showRecycleBinDialog"
839
+ :option.sync="option"
840
+ :treeNodeArr="treeNodeArr"
841
+ :currentFileCategory="currentFileCategory"
842
+ @confirm="confirmRecycleBinDialog"
843
+ ></recycleBinDialog>
844
+ <advancedSearchDialog
845
+ v-if="showAdvancedSearch"
846
+ :visiable.sync="showAdvancedSearch"
847
+ :formData.sync="advancedFormData"
848
+ @confirm="searchEvent"
849
+ >
523
850
  <template #form>
524
- <vxe-form :model="advancedFormData" title-width="102px" :inline="true" class="adSearchForm">
525
- <vxe-form-item title="属性名称:">
526
- <template v-slot>
527
- <el-input v-model="advancedFormData.attributeName" clearable/>
528
- </template>
529
- </vxe-form-item>
530
- <vxe-form-item title="属性值:">
531
- <template v-slot>
532
- <el-input v-model="advancedFormData.attributeValue" clearable/>
533
- </template>
534
- </vxe-form-item>
851
+ <vxe-form
852
+ :model="advancedFormData"
853
+ title-width="102px"
854
+ :inline="true"
855
+ class="adSearchForm"
856
+ >
857
+ <!-- <vxe-form-item title="属性名称:">
858
+ <template v-slot>
859
+ <el-input v-model="advancedFormData.attributeName" clearable/>
860
+ </template>
861
+ </vxe-form-item>
862
+ <vxe-form-item title="属性值:">
863
+ <template v-slot>
864
+ <el-input v-model="advancedFormData.attributeValue" clearable/>
865
+ </template>
866
+ </vxe-form-item>-->
535
867
  <!-- <vxe-form-item title="状态:">
536
868
  <template v-slot>
537
869
  <el-select v-model="advancedFormData.status" clearable>
@@ -542,7 +874,7 @@
542
874
  </vxe-form-item>-->
543
875
  <vxe-form-item title="所属对象描述:" class-name="block">
544
876
  <template v-slot>
545
- <el-input v-model="advancedFormData.note" clearable/>
877
+ <el-input v-model="advancedFormData.note" clearable />
546
878
  </template>
547
879
  </vxe-form-item>
548
880
  <vxe-form-item title="创建时间:">
@@ -578,29 +910,35 @@
578
910
  v-bind="billDialogParam"
579
911
  @confirm="confirmBillDialog"
580
912
  ></component>
581
- <videoDialog v-if="showVideoDialog" :visiable.sync="showVideoDialog" :option="videoOption"></videoDialog>
582
- <fileObjAuthDialog v-if="showFileObjAuthDialog" :visiable.sync="showFileObjAuthDialog"
583
- :fileObjId="currentFileCategory ? currentFileCategory.id:0" :treeNodeArr="treeNodeArr"/>
913
+ <videoDialog
914
+ v-if="showVideoDialog"
915
+ :visiable.sync="showVideoDialog"
916
+ :option="videoOption"
917
+ ></videoDialog>
918
+ <fileObjAuthDialog
919
+ v-if="showFileObjAuthDialog"
920
+ :visiable.sync="showFileObjAuthDialog"
921
+ :fileObjId="currentFileCategory ? currentFileCategory.id : 0"
922
+ :treeNodeArr="treeNodeArr"
923
+ />
924
+
925
+ <filterDialog
926
+ v-if="showFilterDialog"
927
+ :visiable.sync="showFilterDialog"
928
+ queryType="pcp"
929
+ :treeNodeArr="treeNodeArr"
930
+ :currentFileCategory="currentFileCategory"
931
+ @openFileDirs="openFileDirs"
932
+ ></filterDialog>
584
933
  </div>
585
934
  </template>
586
935
 
587
936
  <script>
588
-
589
- import mixins from './mixins/indexMixins';
590
- import fileObjAuthDialog from "../../components/fileLibrary/fileObjAuthDialog";
591
-
937
+ import mixins from "./mixins/indexMixins";
592
938
  export default {
593
- name: 'ledgerLibrary',
939
+ name: "ledgerLibrary",
594
940
  mixins: [mixins],
595
- components: {fileObjAuthDialog},
596
- data() {
597
- return {
598
- showFileObjAuthDialog: false,
599
- fileObjAuth: {},
600
- popAnnexFilter: false
601
- }
602
- }
603
- }
941
+ };
604
942
  </script>
605
943
  <style lang="scss" scoped>
606
944
  #labBtn {
@@ -623,7 +961,6 @@ export default {
623
961
  display: inline-block;
624
962
  }
625
963
 
626
-
627
964
  .vxe-grid .vxe-gird-block {
628
965
  height: calc(100vh - 161px);
629
966
  }
@@ -683,5 +1020,8 @@ export default {
683
1020
  height: calc(100vh - 215px);
684
1021
  }
685
1022
  }
686
- #labBtn{height:calc(100vh - 34px)}
1023
+
1024
+ #labBtn {
1025
+ height: calc(100vh - 34px);
1026
+ }
687
1027
  </style>