cloud-web-corejs 1.0.54-dev.22 → 1.0.54-dev.221

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 (253) hide show
  1. package/package.json +6 -3
  2. package/src/components/Qrcode/fileParse.vue +0 -1
  3. package/src/components/VabUpload/index.vue +2 -1
  4. package/src/components/VabUpload/mixins.js +1 -1
  5. package/src/components/VabUpload/view.vue +22 -6
  6. package/src/components/advancedSearchDialog/mixins.js +1 -1
  7. package/src/components/baseAttachment/index.vue +22 -13
  8. package/src/components/baseAttachment/mixins.js +1 -1
  9. package/src/components/excelExport/exportFieldDialog.vue +16 -6
  10. package/src/components/excelExport/index.js +2 -1
  11. package/src/components/excelExport/index.vue +8 -6
  12. package/src/components/excelExport/mixins.js +3 -2
  13. package/src/components/excelImport/mixins.js +1 -1
  14. package/src/components/fileLibrary/fileObjAuthDialog.vue +1 -1
  15. package/src/components/fileLibrary/fileObjAuthEditDialog.vue +7 -1
  16. package/src/components/fileLibrary/fileObjNotifyEdit.vue +90 -68
  17. package/src/components/fileLibrary/filterDialog.vue +383 -0
  18. package/src/components/fileLibrary/index.vue +23 -24
  19. package/src/components/fileLibrary/mixins/categoryMoveDialogMixins.js +1 -1
  20. package/src/components/fileLibrary/mixins/fileCategoryDialogMixins.js +1 -1
  21. package/src/components/fileLibrary/mixins/fileHistoryDialogMixins.js +2 -2
  22. package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +337 -207
  23. package/src/components/fileLibrary/mixins/fileObjAuthEditDialogMixin.js +33 -26
  24. package/src/components/fileLibrary/mixins/fileObjAuthEditMixin.js +5 -5
  25. package/src/components/fileLibrary/mixins/indexMixins.js +77 -27
  26. package/src/components/fileLibrary/mixins/propertiesDialogMixins.js +63 -3
  27. package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +1 -1
  28. package/src/components/fileLibrary/propertiesDialog.vue +18 -0
  29. package/src/components/fileLibrary/shareDialog.vue +1 -1
  30. package/src/components/jsonImport/index.js +1 -1
  31. package/src/components/jsonImport/mixins.js +1 -1
  32. package/src/components/onlineTalk/index.vue +327 -5
  33. package/src/components/onlineTalk/mixins.js +1 -1
  34. package/src/components/table/CellSlot.vue +1 -0
  35. package/src/components/table/index.js +12 -10
  36. package/src/components/table/tableForm.vue +99 -63
  37. package/src/components/table/tableFormMixin.js +1 -1
  38. package/src/components/table/util/index.js +328 -0
  39. package/src/components/table/vxeFilter/mixin.js +1 -1
  40. package/src/components/vb-tabs/x-tabs.vue +3 -2
  41. package/src/components/wf/content.vue +2 -0
  42. package/src/components/wf/setCandidateDialog.vue +1 -0
  43. package/src/components/wf/wf.js +3 -1
  44. package/src/components/wf/wfStartDialog.vue +1 -1
  45. package/src/components/wf/wfUtil.js +1 -1
  46. package/src/components/xform/form-designer/designer.js +1 -1
  47. package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +2 -1
  48. package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +16 -4
  49. package/src/components/xform/form-designer/form-widget/dialog/formDrawer.vue +5 -1
  50. package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +37 -6
  51. package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +3 -1
  52. package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +26 -7
  53. package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +34 -5
  54. package/src/components/xform/form-designer/form-widget/field-widget/button-widget.vue +1 -1
  55. package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +14 -6
  56. package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +1 -0
  57. package/src/components/xform/form-designer/form-widget/field-widget/dropdown-item-widget.vue +77 -0
  58. package/src/components/xform/form-designer/form-widget/field-widget/dropdown-menu-widget.vue +106 -0
  59. package/src/components/xform/form-designer/form-widget/field-widget/echart-bar-widget.vue +1 -1
  60. package/src/components/xform/form-designer/form-widget/field-widget/echart-category-widget.vue +1 -1
  61. package/src/components/xform/form-designer/form-widget/field-widget/echart-pie-widget.vue +1 -1
  62. package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +21 -16
  63. package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +200 -6
  64. package/src/components/xform/form-designer/form-widget/field-widget/import-button-widget.vue +6 -8
  65. package/src/components/xform/form-designer/form-widget/field-widget/import2-button-widget.vue +81 -0
  66. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-bar-mixin.js +49 -8
  67. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js +61 -88
  68. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-pie-mixin.js +13 -0
  69. package/src/components/xform/form-designer/form-widget/field-widget/mixins/vabsearch-mixin.js +176 -0
  70. package/src/components/xform/form-designer/form-widget/field-widget/multiSearch-widget.vue +53 -0
  71. package/src/components/xform/form-designer/form-widget/field-widget/number-widget.vue +1 -1
  72. package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +70 -3
  73. package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +13 -5
  74. package/src/components/xform/form-designer/form-widget/field-widget/search_button-widget.vue +1 -1
  75. package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +13 -3
  76. package/src/components/xform/form-designer/form-widget/field-widget/singerSearch-widget.vue +53 -0
  77. package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +3 -2
  78. package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +6 -1
  79. package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +46 -34
  80. package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +2 -2
  81. package/src/components/xform/form-designer/form-widget/field-widget/vabSearch-widget.vue +2 -170
  82. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +88 -8
  83. package/src/components/xform/form-designer/indexMixin.js +1 -1
  84. package/src/components/xform/form-designer/setting-panel/form-setting.vue +312 -56
  85. package/src/components/xform/form-designer/setting-panel/index.vue +4 -0
  86. package/src/components/xform/form-designer/setting-panel/indexMixin.js +1 -1
  87. package/src/components/xform/form-designer/setting-panel/option-items-setting.vue +8 -3
  88. package/src/components/xform/form-designer/setting-panel/property-editor/a-link-editor.vue +1 -1
  89. package/src/components/xform/form-designer/setting-panel/property-editor/autoValueEnabled-editor.vue +38 -0
  90. package/src/components/xform/form-designer/setting-panel/property-editor/censusClass-editor.vue +6 -0
  91. package/src/components/xform/form-designer/setting-panel/property-editor/commonAttributeEnabled-editor.vue +41 -0
  92. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/columnRenderDialog.vue +126 -0
  93. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +1077 -1042
  94. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/onCheckboxChange-editor.vue +1 -1
  95. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +1043 -496
  96. package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-editor.vue +2 -2
  97. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-offset-editor.vue +1 -1
  98. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-pull-editor.vue +1 -1
  99. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-push-editor.vue +1 -1
  100. package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +0 -8
  101. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin.js +2 -2
  102. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onAfterConfirmFile-editor.vue +32 -0
  103. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onClick-editor.vue +2 -2
  104. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +48 -5
  105. package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-defaultTime-editor.vue +27 -0
  106. package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-item-editor.vue +21 -0
  107. package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-menu-editor.vue +59 -0
  108. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-bar-editor.vue +185 -69
  109. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +188 -86
  110. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-pie-editor.vue +84 -39
  111. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +26 -10
  112. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +86 -0
  113. package/src/components/xform/form-designer/setting-panel/property-editor/field-rate/rate-defaultValue-editor.vue +1 -1
  114. package/src/components/xform/form-designer/setting-panel/property-editor/field-status/field-status-editor.vue +47 -28
  115. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +26 -7
  116. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabSearchName-editor.vue +13 -1
  117. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload/field-vabUpload-editor.vue +30 -1
  118. package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +46 -4
  119. package/src/components/xform/form-designer/setting-panel/property-editor/formula-editor.vue +721 -466
  120. package/src/components/xform/form-designer/setting-panel/property-editor/limit-editor.vue +1 -1
  121. package/src/components/xform/form-designer/setting-panel/property-editor/multiple-editor.vue +19 -14
  122. package/src/components/xform/form-designer/setting-panel/property-editor/multipleLimit-editor.vue +1 -1
  123. package/src/components/xform/form-designer/setting-panel/property-editor/placeholder-editor.vue +1 -1
  124. package/src/components/xform/form-designer/setting-panel/property-editor/precision-editor.vue +1 -1
  125. package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +318 -0
  126. package/src/components/xform/form-designer/setting-panel/property-editor/required-editor.vue +22 -18
  127. package/src/components/xform/form-designer/setting-panel/property-editor/showRuleFlag-editor.vue +1 -1
  128. package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +216 -17
  129. package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +216 -29
  130. package/src/components/xform/form-designer/setting-panel/property-editor/widgetShowRuleFlag-editor.vue +220 -0
  131. package/src/components/xform/form-designer/setting-panel/propertyRegister.js +11 -0
  132. package/src/components/xform/form-designer/toolbar-panel/index.vue +12 -11
  133. package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +1 -1
  134. package/src/components/xform/form-designer/widget-panel/index.vue +21 -1
  135. package/src/components/xform/form-designer/widget-panel/indexMixin.js +3 -2
  136. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +747 -355
  137. package/src/components/xform/form-render/container-item/containerItemMixin.js +1 -1
  138. package/src/components/xform/form-render/container-item/data-table-item.vue +45 -15
  139. package/src/components/xform/form-render/container-item/data-table-mixin.js +2361 -18
  140. package/src/components/xform/form-render/container-item/data-table-mixin2.js +2169 -0
  141. package/src/components/xform/form-render/container-item/detail-pane-item.vue +15 -2
  142. package/src/components/xform/form-render/container-item/grid-col-item.vue +10 -3
  143. package/src/components/xform/form-render/container-item/grid-item.vue +1 -1
  144. package/src/components/xform/form-render/container-item/list-h5-item.vue +1 -9
  145. package/src/components/xform/form-render/container-item/list-h5-item2.vue +1 -8
  146. package/src/components/xform/form-render/container-item/tab-item.vue +11 -6
  147. package/src/components/xform/form-render/container-item/table-cell-item.vue +38 -32
  148. package/src/components/xform/form-render/container-item/table-item.vue +4 -2
  149. package/src/components/xform/form-render/indexMixin.js +2429 -3
  150. package/src/components/xform/lang/zh-CN.js +14 -3
  151. package/src/components/xform/mixins/defaultHandle.js +1 -1
  152. package/src/components/xform/mixins/scriptHttp.js +182 -1
  153. package/src/components/xform/utils/emitter.js +4 -4
  154. package/src/components/xform/utils/format.js +21 -30
  155. package/src/components/xform/utils/formula-util.js +669 -0
  156. package/src/components/xform/utils/util.js +1 -1
  157. package/src/layout/components/AppMain.vue +5 -1
  158. package/src/layout/components/Sidebar/default.vue +50 -6
  159. package/src/layout/components/TagsView/index.vue +0 -1
  160. package/src/layout/components/extractedCode/createDialog.vue +92 -0
  161. package/src/layout/components/extractedCode/queryDialog.vue +96 -0
  162. package/src/layout/components/extractedCode/viewDialog.vue +192 -0
  163. package/src/layout/components/watermark/index.vue +83 -0
  164. package/src/mixins/selectDialog/index.js +1 -1
  165. package/src/mixins/tableTree/index.js +1 -1
  166. package/src/router/modules/customer.js +15 -0
  167. package/src/store/config/index.js +760 -1
  168. package/src/store/modules/permission.js +1 -1
  169. package/src/store/modules/settings.js +1 -1
  170. package/src/store/modules/user.js +1 -1
  171. package/src/utils/index.js +4 -2
  172. package/src/utils/pddLog.js +103 -0
  173. package/src/utils/request.js +28 -28
  174. package/src/utils/vab.js +19 -27
  175. package/src/views/bd/setting/bd_attach_setting/edit.vue +5 -5
  176. package/src/views/bd/setting/bd_attach_setting/list.vue +28 -55
  177. package/src/views/bd/setting/bd_attach_setting/mixins/edit.js +4 -5
  178. package/src/views/bd/setting/bd_attach_setting/mixins/list.js +239 -1
  179. package/src/views/bd/setting/form_import_log/edit.vue +127 -0
  180. package/src/views/bd/setting/form_import_log/list.vue +205 -0
  181. package/src/views/bd/setting/form_script/edit1.vue +14 -3
  182. package/src/views/bd/setting/form_script/form_list.vue +1 -1
  183. package/src/views/bd/setting/form_script/mixins/edit.js +3 -1
  184. package/src/views/bd/setting/form_script/mixins/edit1.js +1 -1
  185. package/src/views/bd/setting/form_script/mixins/form_list.js +1 -1
  186. package/src/views/bd/setting/form_script/mixins/list.js +212 -1
  187. package/src/views/bd/setting/form_script/mixins/list1.js +381 -14
  188. package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +105 -0
  189. package/src/views/bd/setting/form_template/edit.vue +9 -1
  190. package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +2 -2
  191. package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +4 -0
  192. package/src/views/bd/setting/form_template/mixins/edit.js +1 -1
  193. package/src/views/bd/setting/form_template/mixins/list.js +645 -22
  194. package/src/views/bd/setting/form_template/mixins/wf_list.js +12 -0
  195. package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +254 -0
  196. package/src/views/bd/setting/form_template/wf_list.vue +127 -0
  197. package/src/views/bd/setting/menu_kind/list.vue +4 -0
  198. package/src/views/bd/setting/menu_kind/mixins/list.js +201 -1
  199. package/src/views/bd/setting/table_model/edit.vue +834 -426
  200. package/src/views/bd/setting/table_model/mixins/dialog.js +1 -1
  201. package/src/views/bd/setting/table_model/mixins/edit.js +12 -13
  202. package/src/views/bd/setting/table_model/mixins/list.js +399 -14
  203. package/src/views/user/area/dialog.vue +21 -9
  204. package/src/views/user/bill_setting/edit.vue +1 -1
  205. package/src/views/user/bill_setting/list.vue +1 -1
  206. package/src/views/user/common_attribute/itemEdit.vue +2 -2
  207. package/src/views/user/common_attribute/list.vue +1 -1
  208. package/src/views/user/common_script/edit.vue +1 -1
  209. package/src/views/user/common_script/list.vue +1 -1
  210. package/src/views/user/company_info/dialog.vue +164 -154
  211. package/src/views/user/company_info/edit.vue +1 -1
  212. package/src/views/user/extend_datasource/dialog.vue +1 -0
  213. package/src/views/user/extend_datasource/edit.vue +3 -0
  214. package/src/views/user/extend_datasource/list.vue +2 -1
  215. package/src/views/user/file_type/edit.vue +30 -1
  216. package/src/views/user/file_type/list.vue +28 -0
  217. package/src/views/user/form/vform/designer.vue +775 -749
  218. package/src/views/user/form/view/list.vue +27 -9
  219. package/src/views/user/groups/edit.vue +2 -0
  220. package/src/views/user/groups/list.vue +1 -0
  221. package/src/views/user/home/default.vue +1022 -979
  222. package/src/views/user/home/dev.vue +29 -0
  223. package/src/views/user/home/index.vue +16 -6
  224. package/src/views/user/login/default.vue +36 -5
  225. package/src/views/user/login/indexMixin.js +117 -3
  226. package/src/views/user/notify_message/dialog.vue +1 -1
  227. package/src/views/user/notify_template/edit.vue +188 -187
  228. package/src/views/user/notify_template/edit2.vue +176 -0
  229. package/src/views/user/notify_template/list.vue +4 -1
  230. package/src/views/user/notify_template/list2.vue +190 -0
  231. package/src/views/user/outLink/form_view.vue +39 -12
  232. package/src/views/user/outLink/index.vue +17 -0
  233. package/src/views/user/outLink/view.vue +39 -13
  234. package/src/views/user/position/list.vue +4 -4
  235. package/src/views/user/project_tag/list.vue +9 -4
  236. package/src/views/user/push_setting/list.vue +2 -2
  237. package/src/views/user/request_setting/edit.vue +252 -0
  238. package/src/views/user/request_setting/list.vue +249 -0
  239. package/src/views/user/role/dialog.vue +1 -1
  240. package/src/views/user/role/list.vue +4 -4
  241. package/src/views/user/sale_org/dialog.vue +1 -1
  242. package/src/views/user/sale_org/list.vue +4 -1
  243. package/src/views/user/user/dialog.vue +1 -1
  244. package/src/views/user/user/edit.vue +39 -19
  245. package/src/views/user/user/form_edit.vue +63 -2
  246. package/src/views/user/user/form_info.vue +210 -0
  247. package/src/views/user/user/form_list.vue +1 -0
  248. package/src/views/user/user/list.vue +4 -11
  249. package/src/views/user/wf/wf_manage/list.vue +1 -1
  250. package/src/views/user/wf/wf_manage/wfContentDialog.vue +1 -1
  251. package/src/views/user/wf/wf_obj_config/importItemDialog.vue +109 -0
  252. package/src/views/user/wf/wf_obj_config/list.vue +94 -8
  253. package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +2 -2
@@ -35,7 +35,7 @@
35
35
  </label>
36
36
  </el-popover>
37
37
  <el-popover
38
- :disabled="!value1 || cities.length==0"
38
+ :disabled="selectTopLevel || (!value1 || cities.length==0)"
39
39
  placement="bottom"
40
40
  width="486"
41
41
  trigger="click"
@@ -55,7 +55,7 @@
55
55
  </label>
56
56
  </el-popover>
57
57
  <el-popover
58
- :disabled="!value2 || districts.length==0"
58
+ :disabled="selectTopLevel || (!value2 || districts.length==0)"
59
59
  placement="bottom"
60
60
  width="486"
61
61
  trigger="click"
@@ -75,7 +75,7 @@
75
75
  </label>
76
76
  </el-popover>
77
77
  <el-popover
78
- :disabled="!value3 || counties.length == 0"
78
+ :disabled="selectTopLevel || (!value3 || counties.length == 0)"
79
79
  placement="bottom"
80
80
  width="486"
81
81
  trigger="click"
@@ -107,7 +107,7 @@
107
107
  @checkbox-all="checkAll"
108
108
  @cell-dblclick="checkWithSubmit"
109
109
  >
110
- <template #form>
110
+ <template #form v-if="!(param && param.onlySearchTopLevel)">
111
111
  <div class="clearfix screen-btns">
112
112
  <div class="fr">
113
113
  <vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
@@ -175,7 +175,7 @@ import {selectDialogMixins} from '@base/mixins/selectDialog/index.js';
175
175
 
176
176
  export default {
177
177
  name: 'areaDialog',
178
- props: ['visiable', 'multi', 'rows', 'param'],
178
+ props: ['visiable', 'multi', 'rows', 'param', 'selectTopLevel'],
179
179
  mixins: [selectDialogMixins],
180
180
  created() {
181
181
  this.initSetting();
@@ -210,7 +210,6 @@ export default {
210
210
  if (val == 'second') {
211
211
  if (!this.tableInited) {
212
212
  this.$nextTick(() => {
213
- // debugger
214
213
  this.initTableM1();
215
214
  })
216
215
  this.tableInited = true;
@@ -329,7 +328,8 @@ export default {
329
328
  url: USER_PREFIX + '/area/getChildren',
330
329
  method: "post",
331
330
  data: {
332
- id: id
331
+ id: id,
332
+ enabled: true
333
333
  },
334
334
  success: res => {
335
335
  // const {level} = node;
@@ -378,7 +378,8 @@ export default {
378
378
  field: 'name',
379
379
  width: 250,
380
380
  fixed: 'left',
381
- treeNode: true,
381
+ // treeNode: true,
382
+ treeNode: !(this.param && this.param.onlySearchTopLevel)
382
383
  },
383
384
  {
384
385
  field: 'fullName',
@@ -396,7 +397,18 @@ export default {
396
397
  checkboxConfig: {
397
398
  checkStrictly: true,
398
399
  showHeader: this.selectMulti,
399
- trigger: 'row'
400
+ trigger: 'row',
401
+ checkMethod: ({row}) => {
402
+ if (this.selectTopLevel) {
403
+ if (row.parent) {
404
+ return false;
405
+ } else {
406
+ return true;
407
+ }
408
+ }
409
+
410
+ return true;
411
+ }
400
412
  }
401
413
  }
402
414
  };
@@ -87,7 +87,7 @@
87
87
  </td>
88
88
  <th>
89
89
  <em class="f-red" v-if="!billSetting.allCompany">*</em>
90
- {{ $t1('执行企业编码') }}
90
+ {{ $t1('执行组织编码') }}
91
91
  </th>
92
92
  <td>
93
93
  <el-form-item prop="exeCompanyCode" :rules="[{ required: !billSetting.allCompany, trigger: 'blur' }]">
@@ -219,7 +219,7 @@ export default {
219
219
  }
220
220
  },
221
221
  {
222
- title: this.$t1('执行企业编码'),
222
+ title: this.$t1('执行组织编码'),
223
223
  field: 'exeCompanyCode',
224
224
  width: 150
225
225
  },
@@ -62,7 +62,7 @@
62
62
  </tr>
63
63
  <tr>
64
64
  <th>
65
- {{ $t1('企业编码') }}
65
+ {{ $t1('组织编码') }}
66
66
  </th>
67
67
  <td colspan="5">
68
68
  <el-form-item prop="exeCompanyCode" :rules="[{ required: false, trigger: 'blur' }]">
@@ -71,7 +71,7 @@
71
71
  </td>
72
72
  <td colspan="2"><span
73
73
  class="f-red">{{
74
- $t1('注:多个企业用逗号隔开,未配置全企业可见,已配置只允许配置企业才可见当前属性值。')
74
+ $t1('注:多个组织用逗号隔开,未配置全组织可见,已配置只允许配置组织才可见当前属性值。')
75
75
  }}</span></td>
76
76
  </tr>
77
77
  <tr>
@@ -272,7 +272,7 @@ export default {
272
272
  width: 150
273
273
  },
274
274
  {
275
- title: this.$t1('企业编码'),
275
+ title: this.$t1('组织编码'),
276
276
  field: 'exeCompanyCode',
277
277
  width: 250
278
278
  },
@@ -72,7 +72,7 @@
72
72
  </td>
73
73
  <th>
74
74
  <em class="f-red" v-if="!commonScript.allCompany">*</em>
75
- {{ $t1('执行企业编码') }}
75
+ {{ $t1('执行组织编码') }}
76
76
  </th>
77
77
  <td>
78
78
  <el-form-item prop="exeCompanyCode" :rules="[{ required: !commonScript.allCompany, trigger: 'blur' }]">
@@ -174,7 +174,7 @@ export default {
174
174
  width: 150
175
175
  },
176
176
  {
177
- title: this.$t1('执行企业编码'),
177
+ title: this.$t1('执行组织编码'),
178
178
  field: 'exeCompanyCode',
179
179
  width: 150
180
180
  },
@@ -1,154 +1,164 @@
1
- <template>
2
- <el-dialog
3
- :title="$t1('组织列表')"
4
- :append-to-body="true"
5
- :modal-append-to-body="true"
6
- :close-on-click-modal="falseValue"
7
- :visible.sync="showDialog"
8
- :modal="falseValue"
9
- custom-class="dialog-style list-dialog dialog-checkbox pd_0"
10
- width="1200px"
11
- @close="dialogClose"
12
- v-el-drag-dialog
13
- v-el-dialog-center
14
- >
15
- <div class="cont" style="height:450px">
16
- <vxe-grid
17
- class="is-pointer"
18
- ref="table-m1"
19
- v-bind="vxeOption"
20
- @resizable-change="$vxeTableUtil.onColumnWitchChange"
21
- @custom="$vxeTableUtil.customHandle"
22
- @checkbox-change="addDataTable"
23
- @checkbox-all="checkAll"
24
- @cell-dblclick="checkWithSubmit"
25
- >
26
- <template #form>
27
- <div class="clearfix screen-btns">
28
- <div class="fr">
29
- <vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
30
- plain>{{ $t1('重置') }}
31
- </vxe-button>
32
- <vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
33
- {{ $t1('搜索') }}
34
- </vxe-button>
35
- </div>
36
- </div>
37
- <vxe-form class="screen-box" title-width="92px" title-align="right" :data="formData" @submit="searchEvent"
38
- @reset="resetEvent">
39
- <vxe-form-item :title="$t1('组织名称')+':'" field="companyName">
40
- <template v-slot>
41
- <el-input v-model="formData.companyName" size="small" clearable/>
42
- </template>
43
- </vxe-form-item>
44
- <vxe-button type="submit" @click="searchEvent" v-show="false"></vxe-button>
45
- </vxe-form>
46
- </template>
47
- </vxe-grid>
48
- </div>
49
- <label id="labBtn" class="transverse">
50
- <div class="icon">
51
- <i class="el-icon-more"></i>
52
- <i class="el-icon-more"></i>
53
- </div>
54
- </label>
55
- <div class="multipleChoice">
56
- <el-tooltip :enterable="false" effect="dark" :content="$t1('全部删除')" placement="top"><a
57
- class="allDel icon-quanbushanchu" @click="clearChecked()"></a></el-tooltip>
58
- <div class="list">
59
- <div class="item" v-for="(checkRow, index) in checkRows" :key="index">
60
- <p>{{ checkRow.companyName }}</p>
61
- <a class="el-icon-close" @click="clearTable1Select(index)"></a>
62
- </div>
63
- </div>
64
- </div>
65
- <span slot="footer" class="dialog-footer">
66
- <span class="fl tips" v-if="!selectMulti">{{ $t1('注:双击确认选择(单选)') }}</span>
67
- <el-button type="primary" plain class="button-sty" @click="dialogClose">
68
- <i class="el-icon-close el-icon"></i>
69
- {{ $t1('取 消') }}
70
- </el-button>
71
- <el-button type="primary" @click="dialogPrimary" class="button-sty">
72
- <i class="el-icon-check el-icon"></i>
73
- {{ $t1('确 定') }}
74
- </el-button>
75
- </span>
76
- </el-dialog>
77
- </template>
78
-
79
- <script>
80
- import {selectDialogMixins} from '@base/mixins/selectDialog/index.js';
81
-
82
- export default {
83
- name: 'company_info_dialog',
84
- props: ['visiable', 'multi', 'rows', 'param', 'firstEnabled'],
85
- mixins: [selectDialogMixins],
86
- created() {
87
- this.initSetting();
88
- },
89
- mounted() {
90
- this.initTableM1();
91
- },
92
- data() {
93
- var that = this;
94
- return {
95
- showDialog: true,
96
- falseValue: false,
97
- selectMulti: true,
98
- formData: {},
99
- vxeOption: {}
100
- };
101
- },
102
- methods: {
103
- initTableM1() {
104
- let that = this;
105
- let tableOption = {
106
- vue: that,
107
- tableRef: 'table-m1',
108
- tableName: 'basic_ompany_info_dialog_list',
109
- path: USER_PREFIX + '/user_company_info/getCurrentList',
110
- treeNodeUrl: USER_PREFIX + '/user_company_info/getChildren',
111
- treeNodeParam: function (row) {
112
- return {parentCompanyCode: row.companyCode};
113
- },
114
- param: () => {
115
- return this.formData;
116
- },
117
- columns: [
118
- {type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
119
- {title: this.$t1('组织名称'), field: 'companyName', width: 250, fixed: 'left', treeNode: true},
120
- {title: this.$t1('组织编码'), field: 'companyCode', width: 200},
121
- {
122
- width: 47,
123
- fixed: 'right',
124
- title: '',
125
- sortable: false
126
- }
127
- ],
128
- config: {
129
- checkboxConfig: {
130
- checkStrictly: true,
131
- showHeader: this.selectMulti,
132
- trigger: 'row',
133
- checkMethod: ({row}) => {
134
- if (this.firstEnabled === 'true' || this.firstEnabled === true) {
135
- return true;
136
- } else {
137
- if (!row.parentCompanyCode) {
138
- return false;
139
- } else {
140
- return true;
141
- }
142
- }
143
- }
144
- }
145
- }
146
- };
147
-
148
- this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
149
- that.vxeOption = opts;
150
- });
151
- }
152
- }
153
- };
154
- </script>
1
+ <template>
2
+ <el-dialog
3
+ :title="title || $t1('组织列表')"
4
+ :append-to-body="true"
5
+ :modal-append-to-body="true"
6
+ :close-on-click-modal="falseValue"
7
+ :visible.sync="showDialog"
8
+ :modal="falseValue"
9
+ custom-class="dialog-style list-dialog dialog-checkbox pd_0"
10
+ width="1200px"
11
+ :before-close="handleBeforeClose"
12
+ @close="dialogClose"
13
+ v-el-drag-dialog
14
+ v-el-dialog-center
15
+ >
16
+ <div class="cont" style="height:65vh">
17
+ <vxe-grid
18
+ class="is-pointer"
19
+ ref="table-m1"
20
+ v-bind="vxeOption"
21
+ @resizable-change="$vxeTableUtil.onColumnWitchChange"
22
+ @custom="$vxeTableUtil.customHandle"
23
+ @checkbox-change="addDataTable"
24
+ @checkbox-all="checkAll"
25
+ @cell-dblclick="checkWithSubmit"
26
+ >
27
+ <template #form>
28
+ <div class="clearfix screen-btns">
29
+ <div class="fr">
30
+ <vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
31
+ plain>{{ $t1('重置') }}
32
+ </vxe-button>
33
+ <vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
34
+ {{ $t1('搜索') }}
35
+ </vxe-button>
36
+ </div>
37
+ </div>
38
+ <vxe-form class="screen-box" title-width="92px" title-align="right" :data="formData" @submit="searchEvent"
39
+ @reset="resetEvent">
40
+ <vxe-form-item :title="$t1('组织名称')+':'" field="companyName">
41
+ <template v-slot>
42
+ <el-input v-model="formData.companyName" size="small" clearable/>
43
+ </template>
44
+ </vxe-form-item>
45
+ <vxe-button type="submit" @click="searchEvent" v-show="false"></vxe-button>
46
+ </vxe-form>
47
+ </template>
48
+ </vxe-grid>
49
+ </div>
50
+ <label id="labBtn" class="transverse">
51
+ <div class="icon">
52
+ <i class="el-icon-more"></i>
53
+ <i class="el-icon-more"></i>
54
+ </div>
55
+ </label>
56
+ <div class="multipleChoice">
57
+ <el-tooltip :enterable="false" effect="dark" :content="$t1('全部删除')" placement="top"><a
58
+ class="allDel icon-quanbushanchu" @click="clearChecked()"></a></el-tooltip>
59
+ <div class="list">
60
+ <div class="item" v-for="(checkRow, index) in checkRows" :key="index">
61
+ <p>{{ checkRow.companyName }}</p>
62
+ <a class="el-icon-close" @click="clearTable1Select(index)"></a>
63
+ </div>
64
+ </div>
65
+ </div>
66
+ <span slot="footer" class="dialog-footer">
67
+ <span class="fl tips" v-if="!selectMulti">{{ $t1('注:双击确认选择(单选)') }}</span>
68
+ <el-button type="primary" plain class="button-sty" @click="dialogCancel">
69
+ <i class="el-icon-close el-icon"></i>
70
+ {{ $t1('取 消') }}
71
+ </el-button>
72
+ <el-button type="primary" @click="dialogPrimary" class="button-sty">
73
+ <i class="el-icon-check el-icon"></i>
74
+ {{ $t1('确 定') }}
75
+ </el-button>
76
+ </span>
77
+ </el-dialog>
78
+ </template>
79
+
80
+ <script>
81
+ import {selectDialogMixins} from '@base/mixins/selectDialog/index.js';
82
+
83
+ export default {
84
+ name: 'company_info_dialog',
85
+ props: ['title', 'visiable', 'multi', 'rows', 'param', 'firstEnabled', 'allCompany'],
86
+ mixins: [selectDialogMixins],
87
+ created() {
88
+ if (this.$attrs.fieldKey) this.fieldKey = this.$attrs.fieldKey;
89
+ this.initSetting();
90
+ },
91
+ mounted() {
92
+ this.initTableM1();
93
+ },
94
+ data() {
95
+ return {
96
+ showDialog: true,
97
+ falseValue: false,
98
+ selectMulti: true,
99
+ formData: {},
100
+ vxeOption: {},
101
+ };
102
+ },
103
+ methods: {
104
+ initTableM1() {
105
+ let that = this;
106
+ let path = USER_PREFIX + '/user_company_info/getCurrentList';
107
+ let treeNodeUrl = USER_PREFIX + '/user_company_info/getChildren';
108
+ if (this.allCompany) {
109
+ path = USER_PREFIX + '/company_info/getRoot';
110
+ treeNodeUrl = USER_PREFIX + '/company_info/getChildren';
111
+ }
112
+ let tableOption = {
113
+ vue: that,
114
+ tableRef: 'table-m1',
115
+ tableName: 'basic_ompany_info_dialog_list',
116
+ path: path,
117
+ treeNodeUrl: treeNodeUrl,
118
+ treeNodeParam: function (row) {
119
+ return {enabled: true, parentCompanyCode: row.companyCode};
120
+ },
121
+ param: () => {
122
+ return {
123
+ enabled: true,
124
+ ...this.formData
125
+ }
126
+ },
127
+ columns: [
128
+ {type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
129
+ {title: this.$t1('组织名称'), field: 'companyName', width: 250, fixed: 'left', treeNode: true},
130
+ {title: this.$t1('组织编码'), field: 'companyCode', width: 200},
131
+ {
132
+ width: 47,
133
+ fixed: 'right',
134
+ title: '',
135
+ sortable: false
136
+ }
137
+ ],
138
+ config: {
139
+ checkboxConfig: {
140
+ checkStrictly: true,
141
+ showHeader: this.selectMulti,
142
+ trigger: 'row',
143
+ checkMethod: ({row}) => {
144
+ if (this.firstEnabled === 'true' || this.firstEnabled === true) {
145
+ return true;
146
+ } else {
147
+ if (!row.parentCompanyCode) {
148
+ return false;
149
+ } else {
150
+ return true;
151
+ }
152
+ }
153
+ }
154
+ }
155
+ }
156
+ };
157
+
158
+ this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
159
+ that.vxeOption = opts;
160
+ });
161
+ }
162
+ }
163
+ };
164
+ </script>
@@ -46,7 +46,7 @@
46
46
  </tr>
47
47
  <tr>
48
48
  <th>
49
- {{ $t1('企业默认首页') }}
49
+ {{ $t1('组织默认首页') }}
50
50
  </th>
51
51
  <td colspan="3">
52
52
  <el-form-item prop="defaultHomePage" :rules="[{ required: false, trigger: 'blur' }]">
@@ -119,6 +119,7 @@ export default {
119
119
  tableRef: 'table-m1',
120
120
  tableName: 'report_datasource_dialog-m1',
121
121
  path: USER_PREFIX + '/extend_datasource/listPage',
122
+ aes: true,
122
123
  param: () => {
123
124
  return {
124
125
  enabled: true,
@@ -168,6 +168,7 @@ export default {
168
168
  if (this.dataId && !isNaN(this.dataId)) {
169
169
  this.isEdit = true;
170
170
  this.$http({
171
+ aes: true,
171
172
  url: USER_PREFIX + `/extend_datasource/get`,
172
173
  method: `post`,
173
174
  data: {
@@ -189,6 +190,7 @@ export default {
189
190
  if (valid) {
190
191
  this.$baseConfirm(this.$t1('您确定要测试数据库链接吗?')).then(() => {
191
192
  this.$http({
193
+ aes: true,
192
194
  url: USER_PREFIX + '/extend_datasource/dblinktest',
193
195
  method: `post`,
194
196
  data: this.dataSource,
@@ -211,6 +213,7 @@ export default {
211
213
  this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
212
214
  var url = USER_PREFIX + (this.isEdit ? `/extend_datasource/update` : `/extend_datasource/save`);
213
215
  this.$http({
216
+ aes: true,
214
217
  url: url,
215
218
  method: `post`,
216
219
  data: this.dataSource,
@@ -72,7 +72,7 @@
72
72
  import editView from './edit.vue';
73
73
 
74
74
  export default {
75
- name: 'report_datasource:list',
75
+ name: 'extend_datasource:list',
76
76
  components: {editView},
77
77
  data() {
78
78
  return {
@@ -106,6 +106,7 @@ export default {
106
106
  tableRef: 'table-m1',
107
107
  tableName: 'user_report_datasource_list-m1',
108
108
  path: USER_PREFIX + '/extend_datasource/listPage',
109
+ aes: true,
109
110
  param: () => {
110
111
  return this.formData;
111
112
  },
@@ -55,6 +55,30 @@
55
55
  </el-radio-group>
56
56
  </el-form-item>
57
57
  </td>
58
+ <th>
59
+ <em class="f-red">*</em>
60
+ {{ $t1('文件操作,是否发系统通知') }}
61
+ </th>
62
+ <td>
63
+ <el-form-item prop="toNotify" :rules="[{ required: true, trigger: 'blur' }]">
64
+ <el-radio-group v-model="fileStoreArea.toNotify">
65
+ <el-radio :label="1">{{ $t1('是') }}</el-radio>
66
+ <el-radio :label="0">{{ $t1('否') }}</el-radio>
67
+ </el-radio-group>
68
+ </el-form-item>
69
+ </td>
70
+ <th>
71
+ <em class="f-red">*</em>
72
+ {{ $t1('文件下载,是否打水印') }}
73
+ </th>
74
+ <td>
75
+ <el-form-item prop="toDownWatermark" :rules="[{ required: true, trigger: 'blur' }]">
76
+ <el-radio-group v-model="fileStoreArea.toDownWatermark">
77
+ <el-radio :label="1">{{ $t1('是') }}</el-radio>
78
+ <el-radio :label="0">{{ $t1('否') }}</el-radio>
79
+ </el-radio-group>
80
+ </el-form-item>
81
+ </td>
58
82
  </tr>
59
83
  <tr>
60
84
  <th>{{ $t1('备注') }}</th>
@@ -94,7 +118,12 @@ export default {
94
118
  tabIndex: 0,
95
119
  isEdit: false,
96
120
  dataId: '',
97
- fileStoreArea: {storeAreaType: 0, hasAuth: 0},
121
+ fileStoreArea: {
122
+ storeAreaType: 0,
123
+ hasAuth: 0,
124
+ toNotify: 0,
125
+ toDownWatermark: 0
126
+ },
98
127
  };
99
128
  },
100
129
  created() {
@@ -154,6 +154,34 @@ export default {
154
154
  }
155
155
  }
156
156
  },
157
+ {
158
+ field: 'toNotify',
159
+ title: this.$t1('文件操作,是否发系统通知'),
160
+ width: 220,
161
+ slots: {
162
+ default: ({row}) => {
163
+ if (row.toNotify == 1) {
164
+ return [<div class="txt-status">{this.$t1('是')}</div>];
165
+ } else {
166
+ return [<div class="txt-status s-3">{this.$t1('否')}</div>];
167
+ }
168
+ }
169
+ }
170
+ },
171
+ {
172
+ field: 'toDownWatermark',
173
+ title: this.$t1('文件下载,是否打水印'),
174
+ width: 200,
175
+ slots: {
176
+ default: ({row}) => {
177
+ if (row.toDownWatermark == 1) {
178
+ return [<div class="txt-status">{this.$t1('是')}</div>];
179
+ } else {
180
+ return [<div class="txt-status s-3">{this.$t1('否')}</div>];
181
+ }
182
+ }
183
+ }
184
+ },
157
185
  {
158
186
  title: this.$t1('备注'),
159
187
  field: 'note',