service-flow-designer 0.0.2-tmp3 → 1.0.1

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 (252) hide show
  1. package/dist/es/designer/common/components/value-set-input/option.js +4 -4
  2. package/dist/es/designer/common/components/value-set-input/value-set-input.css +3 -3
  3. package/dist/es/designer/common/components/value-set-input/value-set-input.vue.d.ts +0 -8
  4. package/dist/es/designer/common/components/value-set-input/value-set-input.vue.js +1 -1
  5. package/dist/es/designer/common/components/value-set-input/value-set-input.vue2.js +15 -155
  6. package/dist/es/designer/service-components/base/custom-function/index.css +2 -4
  7. package/dist/es/designer/service-components/base/judge-condition/index.css +2 -4
  8. package/dist/es/designer/service-components/base/notification/config.vue2.js +0 -5
  9. package/dist/es/designer/service-components/base/notification/index.css +2 -4
  10. package/dist/es/designer/service-components/computation/clean/index.css +2 -4
  11. package/dist/es/designer/service-components/computation/connect/index.css +2 -4
  12. package/dist/es/designer/service-components/computation/sort/index.css +2 -4
  13. package/dist/es/designer/service-components/computation/split-joint/index.css +2 -4
  14. package/dist/es/designer/service-components/computation/statistics/index.css +2 -4
  15. package/dist/es/designer/service-components/database/aggregate-query/config.css +2 -2
  16. package/dist/es/designer/service-components/database/aggregate-query/config.vue.js +1 -1
  17. package/dist/es/designer/service-components/database/aggregate-query/config.vue2.js +93 -161
  18. package/dist/es/designer/service-components/database/aggregate-query/dimension-additional.vue.js +186 -0
  19. package/dist/es/designer/service-components/database/aggregate-query/dimension-additional.vue2.js +4 -0
  20. package/dist/es/designer/service-components/database/aggregate-query/dimension-statistical.vue.js +13 -37
  21. package/dist/es/designer/service-components/database/aggregate-query/filter-conditions.vue.js +55 -203
  22. package/dist/es/designer/service-components/database/aggregate-query/index.css +8 -10
  23. package/dist/es/designer/service-components/database/aggregate-query/index.vue.js +1 -1
  24. package/dist/es/designer/service-components/database/aggregate-query/index.vue2.js +3 -8
  25. package/dist/es/designer/service-components/database/aggregate-query/sort-conditions.vue.js +17 -21
  26. package/dist/es/designer/service-components/database/aggregate-query/statistical-formula.vue.d.ts +2 -6
  27. package/dist/es/designer/service-components/database/aggregate-query/statistical-formula.vue.js +16 -23
  28. package/dist/es/designer/service-components/database/dynamic-sql/index.css +2 -4
  29. package/dist/es/designer/service-components/database/regular-query/index.css +2 -4
  30. package/dist/es/designer/service-components/service/custom-bean/index.css +2 -4
  31. package/dist/es/designer/service-components/service/http-service/index.css +2 -4
  32. package/dist/es/designer/service-components/util/common-options.js +8 -10
  33. package/dist/es/designer/service-flow-view/service-node-config.css +1 -1
  34. package/dist/es/designer/service-flow-view/service-node-config.vue.js +1 -1
  35. package/dist/es/designer/service-flow-view/service-node-config.vue2.js +1 -1
  36. package/dist/es/designer/service-flow-view/service-params.vue.js +18 -44
  37. package/dist/es/designer/service-flow-view/service-result.vue.js +57 -89
  38. package/dist/lib/_virtual/_plugin-vue_export-helper.js +9 -0
  39. package/dist/lib/assets/icon/end.svg.js +3 -0
  40. package/dist/lib/assets/icon/start.png.js +3 -0
  41. package/dist/lib/assets/icon/vardef-v.png.js +3 -0
  42. package/dist/lib/designer/common/components/database-select.css +10 -0
  43. package/dist/lib/designer/common/components/database-select.vue.js +6 -0
  44. package/dist/lib/designer/common/components/database-select.vue2.js +217 -0
  45. package/dist/lib/designer/common/components/datatable-select.css +10 -0
  46. package/dist/lib/designer/common/components/datatable-select.vue.js +6 -0
  47. package/dist/lib/designer/common/components/datatable-select.vue2.js +307 -0
  48. package/dist/lib/designer/common/components/file-upload.css +7 -0
  49. package/dist/lib/designer/common/components/file-upload.vue.js +6 -0
  50. package/dist/lib/designer/common/components/file-upload.vue2.js +103 -0
  51. package/dist/lib/designer/common/components/json-view/json-view-dialog.vue.js +63 -0
  52. package/dist/lib/designer/common/components/json-view/json-view-dialog.vue2.js +3 -0
  53. package/dist/lib/designer/common/components/json-view/json-view.vue.js +141 -0
  54. package/dist/lib/designer/common/components/json-view/json-view.vue2.js +3 -0
  55. package/dist/lib/designer/common/components/node-base-config.vue.js +69 -0
  56. package/dist/lib/designer/common/components/node-base-config.vue2.js +3 -0
  57. package/dist/lib/designer/common/components/value-set-input/index.js +3 -0
  58. package/dist/lib/designer/common/components/value-set-input/option.js +62 -0
  59. package/dist/lib/designer/common/components/value-set-input/value-set-input.css +14 -0
  60. package/dist/lib/designer/common/components/value-set-input/value-set-input.vue.d.ts +0 -8
  61. package/dist/lib/designer/common/components/value-set-input/value-set-input.vue.js +6 -0
  62. package/dist/lib/designer/common/components/value-set-input/value-set-input.vue2.js +431 -0
  63. package/dist/lib/designer/common/util/node-util.js +56 -0
  64. package/dist/lib/designer/desginer-index.css +24 -0
  65. package/dist/lib/designer/desginer-index.vue.js +6 -0
  66. package/dist/lib/designer/desginer-index.vue2.js +113 -0
  67. package/dist/lib/designer/flow/base/AbLogicNode.js +28 -0
  68. package/dist/lib/designer/flow/base/AbLogicNodeModel.js +70 -0
  69. package/dist/lib/designer/flow/base/AbLogicResizeNode.js +28 -0
  70. package/dist/lib/designer/flow/base/AbLogicResizeNodeModel.js +44 -0
  71. package/dist/lib/designer/flow/edge/CustomLine.js +48 -0
  72. package/dist/lib/designer/service-components/base/custom-function/config.css +13 -0
  73. package/dist/lib/designer/service-components/base/custom-function/config.vue.js +6 -0
  74. package/dist/lib/designer/service-components/base/custom-function/config.vue2.js +320 -0
  75. package/dist/lib/designer/service-components/base/custom-function/index.css +49 -0
  76. package/dist/lib/designer/service-components/base/custom-function/index.js +38 -0
  77. package/dist/lib/designer/service-components/base/custom-function/index.vue.js +6 -0
  78. package/dist/lib/designer/service-components/base/custom-function/index.vue2.js +43 -0
  79. package/dist/lib/designer/service-components/base/end-node/index.css +20 -0
  80. package/dist/lib/designer/service-components/base/end-node/index.js +83 -0
  81. package/dist/lib/designer/service-components/base/end-node/index.vue.js +6 -0
  82. package/dist/lib/designer/service-components/base/end-node/index.vue2.js +30 -0
  83. package/dist/lib/designer/service-components/base/judge-condition/config.vue.js +3 -0
  84. package/dist/lib/designer/service-components/base/judge-condition/config.vue2.js +588 -0
  85. package/dist/lib/designer/service-components/base/judge-condition/index.css +50 -0
  86. package/dist/lib/designer/service-components/base/judge-condition/index.js +48 -0
  87. package/dist/lib/designer/service-components/base/judge-condition/index.vue.js +6 -0
  88. package/dist/lib/designer/service-components/base/judge-condition/index.vue2.js +66 -0
  89. package/dist/lib/designer/service-components/base/loop-node/config.css +4 -0
  90. package/dist/lib/designer/service-components/base/loop-node/config.vue.js +6 -0
  91. package/dist/lib/designer/service-components/base/loop-node/config.vue2.js +79 -0
  92. package/dist/lib/designer/service-components/base/loop-node/index.css +20 -0
  93. package/dist/lib/designer/service-components/base/loop-node/index.js +176 -0
  94. package/dist/lib/designer/service-components/base/notification/config.vue.js +3 -0
  95. package/dist/lib/designer/service-components/base/notification/config.vue2.js +333 -0
  96. package/dist/lib/designer/service-components/base/notification/index.css +49 -0
  97. package/dist/lib/designer/service-components/base/notification/index.js +38 -0
  98. package/dist/lib/designer/service-components/base/notification/index.vue.js +6 -0
  99. package/dist/lib/designer/service-components/base/notification/index.vue2.js +43 -0
  100. package/dist/lib/designer/service-components/base/notification/recipients-select.css +4 -0
  101. package/dist/lib/designer/service-components/base/notification/recipients-select.vue.js +6 -0
  102. package/dist/lib/designer/service-components/base/notification/recipients-select.vue2.js +152 -0
  103. package/dist/lib/designer/service-components/base/notification/select-mail-template.vue.js +109 -0
  104. package/dist/lib/designer/service-components/base/notification/select-mail-template.vue2.js +3 -0
  105. package/dist/lib/designer/service-components/base/start-node/index.css +20 -0
  106. package/dist/lib/designer/service-components/base/start-node/index.js +84 -0
  107. package/dist/lib/designer/service-components/base/start-node/index.vue.js +6 -0
  108. package/dist/lib/designer/service-components/base/start-node/index.vue2.js +30 -0
  109. package/dist/lib/designer/service-components/computation/clean/config.css +10 -0
  110. package/dist/lib/designer/service-components/computation/clean/config.vue.js +6 -0
  111. package/dist/lib/designer/service-components/computation/clean/config.vue2.js +433 -0
  112. package/dist/lib/designer/service-components/computation/clean/index.css +49 -0
  113. package/dist/lib/designer/service-components/computation/clean/index.js +38 -0
  114. package/dist/lib/designer/service-components/computation/clean/index.vue.js +6 -0
  115. package/dist/lib/designer/service-components/computation/clean/index.vue2.js +43 -0
  116. package/dist/lib/designer/service-components/computation/connect/config.css +7 -0
  117. package/dist/lib/designer/service-components/computation/connect/config.vue.js +6 -0
  118. package/dist/lib/designer/service-components/computation/connect/config.vue2.js +521 -0
  119. package/dist/lib/designer/service-components/computation/connect/index.css +49 -0
  120. package/dist/lib/designer/service-components/computation/connect/index.js +38 -0
  121. package/dist/lib/designer/service-components/computation/connect/index.vue.js +6 -0
  122. package/dist/lib/designer/service-components/computation/connect/index.vue2.js +43 -0
  123. package/dist/lib/designer/service-components/computation/sort/config.css +10 -0
  124. package/dist/lib/designer/service-components/computation/sort/config.vue.js +6 -0
  125. package/dist/lib/designer/service-components/computation/sort/config.vue2.js +312 -0
  126. package/dist/lib/designer/service-components/computation/sort/index.css +49 -0
  127. package/dist/lib/designer/service-components/computation/sort/index.js +38 -0
  128. package/dist/lib/designer/service-components/computation/sort/index.vue.js +6 -0
  129. package/dist/lib/designer/service-components/computation/sort/index.vue2.js +43 -0
  130. package/dist/lib/designer/service-components/computation/split-joint/config.css +7 -0
  131. package/dist/lib/designer/service-components/computation/split-joint/config.vue.js +6 -0
  132. package/dist/lib/designer/service-components/computation/split-joint/config.vue2.js +342 -0
  133. package/dist/lib/designer/service-components/computation/split-joint/index.css +49 -0
  134. package/dist/lib/designer/service-components/computation/split-joint/index.js +38 -0
  135. package/dist/lib/designer/service-components/computation/split-joint/index.vue.js +6 -0
  136. package/dist/lib/designer/service-components/computation/split-joint/index.vue2.js +43 -0
  137. package/dist/lib/designer/service-components/computation/statistics/config.css +7 -0
  138. package/dist/lib/designer/service-components/computation/statistics/config.vue.js +6 -0
  139. package/dist/lib/designer/service-components/computation/statistics/config.vue2.js +451 -0
  140. package/dist/lib/designer/service-components/computation/statistics/index.css +49 -0
  141. package/dist/lib/designer/service-components/computation/statistics/index.js +38 -0
  142. package/dist/lib/designer/service-components/computation/statistics/index.vue.js +6 -0
  143. package/dist/lib/designer/service-components/computation/statistics/index.vue2.js +43 -0
  144. package/dist/lib/designer/service-components/database/aggregate-query/config.css +7 -0
  145. package/dist/lib/designer/service-components/database/aggregate-query/config.vue.js +6 -0
  146. package/dist/lib/designer/service-components/database/aggregate-query/config.vue2.js +283 -0
  147. package/dist/lib/designer/service-components/database/aggregate-query/dimension-additional.vue.js +185 -0
  148. package/dist/lib/designer/service-components/database/aggregate-query/dimension-additional.vue2.js +3 -0
  149. package/dist/lib/designer/service-components/database/aggregate-query/dimension-statistical.vue.js +203 -0
  150. package/dist/lib/designer/service-components/database/aggregate-query/dimension-statistical.vue2.js +3 -0
  151. package/dist/lib/designer/service-components/database/aggregate-query/filter-conditions.vue.js +298 -0
  152. package/dist/lib/designer/service-components/database/aggregate-query/filter-conditions.vue2.js +3 -0
  153. package/dist/lib/designer/service-components/database/aggregate-query/index.css +50 -0
  154. package/dist/lib/designer/service-components/database/aggregate-query/index.js +48 -0
  155. package/dist/lib/designer/service-components/database/aggregate-query/index.vue.js +6 -0
  156. package/dist/lib/designer/service-components/database/aggregate-query/index.vue2.js +89 -0
  157. package/dist/lib/designer/service-components/database/aggregate-query/sort-conditions.vue.js +182 -0
  158. package/dist/lib/designer/service-components/database/aggregate-query/sort-conditions.vue2.js +3 -0
  159. package/dist/lib/designer/service-components/database/aggregate-query/statistical-formula.vue.d.ts +2 -6
  160. package/dist/lib/designer/service-components/database/aggregate-query/statistical-formula.vue.js +187 -0
  161. package/dist/lib/designer/service-components/database/aggregate-query/statistical-formula.vue2.js +3 -0
  162. package/dist/lib/designer/service-components/database/dynamic-sql/config.css +13 -0
  163. package/dist/lib/designer/service-components/database/dynamic-sql/config.vue.js +6 -0
  164. package/dist/lib/designer/service-components/database/dynamic-sql/config.vue2.js +504 -0
  165. package/dist/lib/designer/service-components/database/dynamic-sql/index.css +49 -0
  166. package/dist/lib/designer/service-components/database/dynamic-sql/index.js +38 -0
  167. package/dist/lib/designer/service-components/database/dynamic-sql/index.vue.js +6 -0
  168. package/dist/lib/designer/service-components/database/dynamic-sql/index.vue2.js +43 -0
  169. package/dist/lib/designer/service-components/database/regular-query/config.css +7 -0
  170. package/dist/lib/designer/service-components/database/regular-query/config.vue.js +6 -0
  171. package/dist/lib/designer/service-components/database/regular-query/config.vue2.js +674 -0
  172. package/dist/lib/designer/service-components/database/regular-query/index.css +50 -0
  173. package/dist/lib/designer/service-components/database/regular-query/index.js +48 -0
  174. package/dist/lib/designer/service-components/database/regular-query/index.vue.js +6 -0
  175. package/dist/lib/designer/service-components/database/regular-query/index.vue2.js +89 -0
  176. package/dist/lib/designer/service-components/index.js +230 -0
  177. package/dist/lib/designer/service-components/service/common/cookie-data.vue.js +131 -0
  178. package/dist/lib/designer/service-components/service/common/cookie-data.vue2.js +3 -0
  179. package/dist/lib/designer/service-components/service/common/form-data.vue.js +161 -0
  180. package/dist/lib/designer/service-components/service/common/form-data.vue2.js +3 -0
  181. package/dist/lib/designer/service-components/service/common/header-data.vue.js +132 -0
  182. package/dist/lib/designer/service-components/service/common/header-data.vue2.js +3 -0
  183. package/dist/lib/designer/service-components/service/common/json-data.css +4 -0
  184. package/dist/lib/designer/service-components/service/common/json-data.vue.js +6 -0
  185. package/dist/lib/designer/service-components/service/common/json-data.vue2.js +133 -0
  186. package/dist/lib/designer/service-components/service/common/param-config.css +7 -0
  187. package/dist/lib/designer/service-components/service/common/param-config.vue.js +6 -0
  188. package/dist/lib/designer/service-components/service/common/param-config.vue2.js +222 -0
  189. package/dist/lib/designer/service-components/service/common/query-params.vue.js +132 -0
  190. package/dist/lib/designer/service-components/service/common/query-params.vue2.js +3 -0
  191. package/dist/lib/designer/service-components/service/common/raw-data.vue.js +95 -0
  192. package/dist/lib/designer/service-components/service/common/raw-data.vue2.js +3 -0
  193. package/dist/lib/designer/service-components/service/custom-bean/config.vue.js +3 -0
  194. package/dist/lib/designer/service-components/service/custom-bean/config.vue2.js +70 -0
  195. package/dist/lib/designer/service-components/service/custom-bean/index.css +49 -0
  196. package/dist/lib/designer/service-components/service/custom-bean/index.js +38 -0
  197. package/dist/lib/designer/service-components/service/custom-bean/index.vue.js +6 -0
  198. package/dist/lib/designer/service-components/service/custom-bean/index.vue2.js +43 -0
  199. package/dist/lib/designer/service-components/service/http-service/config.css +7 -0
  200. package/dist/lib/designer/service-components/service/http-service/config.vue.js +6 -0
  201. package/dist/lib/designer/service-components/service/http-service/config.vue2.js +307 -0
  202. package/dist/lib/designer/service-components/service/http-service/index.css +49 -0
  203. package/dist/lib/designer/service-components/service/http-service/index.js +38 -0
  204. package/dist/lib/designer/service-components/service/http-service/index.vue.js +6 -0
  205. package/dist/lib/designer/service-components/service/http-service/index.vue2.js +43 -0
  206. package/dist/lib/designer/service-components/service/http-service/response-json-setting.vue.js +274 -0
  207. package/dist/lib/designer/service-components/service/http-service/response-json-setting.vue2.js +3 -0
  208. package/dist/lib/designer/service-components/service/http-service/response-text-setting.vue.js +67 -0
  209. package/dist/lib/designer/service-components/service/http-service/response-text-setting.vue2.js +3 -0
  210. package/dist/lib/designer/service-components/service/http-service/response-xml-setting.vue.js +274 -0
  211. package/dist/lib/designer/service-components/service/http-service/response-xml-setting.vue2.js +3 -0
  212. package/dist/lib/designer/service-components/util/common-options.js +131 -0
  213. package/dist/lib/designer/service-flow-view/flow-tool-util.js +44 -0
  214. package/dist/lib/designer/service-flow-view/flow-util.js +123 -0
  215. package/dist/lib/designer/service-flow-view/service-flow-tool.css +130 -0
  216. package/dist/lib/designer/service-flow-view/service-flow-tool.vue.js +6 -0
  217. package/dist/lib/designer/service-flow-view/service-flow-tool.vue2.js +193 -0
  218. package/dist/lib/designer/service-flow-view/service-node-config.css +10 -0
  219. package/dist/lib/designer/service-flow-view/service-node-config.vue.js +6 -0
  220. package/dist/lib/designer/service-flow-view/service-node-config.vue2.js +152 -0
  221. package/dist/lib/designer/service-flow-view/service-params.vue.js +402 -0
  222. package/dist/lib/designer/service-flow-view/service-params.vue2.js +3 -0
  223. package/dist/lib/designer/service-flow-view/service-result.vue.js +284 -0
  224. package/dist/lib/designer/service-flow-view/service-result.vue2.js +3 -0
  225. package/dist/lib/designer/service-flow-view/service-test/request-params.vue.js +321 -0
  226. package/dist/lib/designer/service-flow-view/service-test/request-params.vue2.js +3 -0
  227. package/dist/lib/designer/service-flow-view/service-test/service-test.vue.js +449 -0
  228. package/dist/lib/designer/service-flow-view/service-test/service-test.vue2.js +3 -0
  229. package/dist/lib/designer/service-flow-view/service-update-log.css +5 -0
  230. package/dist/lib/designer/service-flow-view/service-update-log.vue.js +6 -0
  231. package/dist/lib/designer/service-flow-view/service-update-log.vue2.js +214 -0
  232. package/dist/lib/designer/service-flow-view/view-index.css +102 -0
  233. package/dist/lib/designer/service-flow-view/view-index.vue.js +6 -0
  234. package/dist/lib/designer/service-flow-view/view-index.vue2.js +353 -0
  235. package/dist/lib/designer/service-panel/component-panel.css +66 -0
  236. package/dist/lib/designer/service-panel/component-panel.vue.js +6 -0
  237. package/dist/lib/designer/service-panel/component-panel.vue2.js +93 -0
  238. package/dist/lib/designer/service-panel/service-list.css +36 -0
  239. package/dist/lib/designer/service-panel/service-list.vue.js +6 -0
  240. package/dist/lib/designer/service-panel/service-list.vue2.js +351 -0
  241. package/dist/lib/designer/service-panel/service-panel.css +41 -0
  242. package/dist/lib/designer/service-panel/service-panel.vue.js +6 -0
  243. package/dist/lib/designer/service-panel/service-panel.vue2.js +80 -0
  244. package/dist/lib/favicon.ico +0 -0
  245. package/dist/lib/index.js +3 -0
  246. package/dist/lib/stores/page-store.js +79 -0
  247. package/package.json +14 -13
  248. package/dist/es/designer/service-components/base/notification/quill-example.vue.d.ts +0 -19
  249. package/dist/es/utils/common-util.d.ts +0 -21
  250. package/dist/es/utils/common-util.js +0 -235
  251. package/dist/lib/designer/service-components/base/notification/quill-example.vue.d.ts +0 -19
  252. package/dist/lib/utils/common-util.d.ts +0 -21
@@ -0,0 +1,283 @@
1
+ "use strict";
2
+ const es = require("element-plus/es");
3
+ require("element-plus/es/components/base/style/css");
4
+ require("element-plus/es/components/form/style/css");
5
+ require("element-plus/es/components/radio-group/style/css");
6
+ require("element-plus/es/components/radio/style/css");
7
+ require("element-plus/es/components/alert/style/css");
8
+ require("element-plus/es/components/form-item/style/css");
9
+ require("element-plus/es/components/button/style/css");
10
+ require("element-plus/es/components/input/style/css");
11
+ require("element-plus/es/components/checkbox/style/css");
12
+ const vue = require("vue");
13
+ const iconsVue = require("@element-plus/icons-vue");
14
+ const valueSetInput = require("../../../common/components/value-set-input/value-set-input.vue.js");
15
+ const datatableSelect = require("../../../common/components/datatable-select.vue.js");
16
+ const pageStore = require("../../../../stores/page-store.js");
17
+ const http = require("agilebuilder-ui/src/utils/request");
18
+ const dimensionStatistical_vue_vue_type_script_setup_true_lang = require("./dimension-statistical.vue.js");
19
+ const dimensionAdditional_vue_vue_type_script_setup_true_lang = require("./dimension-additional.vue.js");
20
+ const statisticalFormula_vue_vue_type_script_setup_true_lang = require("./statistical-formula.vue.js");
21
+ const filterConditions_vue_vue_type_script_setup_true_lang = require("./filter-conditions.vue.js");
22
+ const sortConditions_vue_vue_type_script_setup_true_lang = require("./sort-conditions.vue.js");
23
+ const nodeBaseConfig_vue_vue_type_script_setup_true_lang = require("../../../common/components/node-base-config.vue.js");
24
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
25
+ __name: "config",
26
+ props: {
27
+ properties: {
28
+ type: Object,
29
+ default: () => {
30
+ return { search: {}, noData: {}, result: {} };
31
+ }
32
+ },
33
+ logicFlowInstance: {
34
+ type: Object,
35
+ default: () => {
36
+ return {};
37
+ }
38
+ },
39
+ currentNode: {
40
+ type: Object,
41
+ default: () => {
42
+ return {};
43
+ }
44
+ }
45
+ },
46
+ setup(__props, { expose: __expose }) {
47
+ const serviceFlowStoreUtil = pageStore.useServiceFlowStore();
48
+ const props = __props;
49
+ if (!props.properties.result) {
50
+ props.properties.result = {};
51
+ }
52
+ const showSelectTable = vue.ref(false);
53
+ const systemCode = vue.ref(serviceFlowStoreUtil.pageContext.systemCode);
54
+ const systemVersion = vue.ref(serviceFlowStoreUtil.pageContext.systemVersion);
55
+ const dataTableColumns = vue.ref([]);
56
+ const groupColumns = vue.ref([]);
57
+ const sortColumns = vue.ref([]);
58
+ vue.onMounted(() => {
59
+ if (!props.properties.dataTable || props.properties.dataTable === serviceFlowStoreUtil.pageContext.tableName) {
60
+ specifyDataTableChange(false);
61
+ statisticsColumnChange();
62
+ } else {
63
+ if (props.properties.specifyDataTable && props.properties.dataTable) {
64
+ systemCode.value = props.properties.dataTableSystemCode;
65
+ }
66
+ http.get("/mms/systems/getPublishVersionsByCode/" + props.properties.dataTableSystemCode).then((systems) => {
67
+ http.get(
68
+ "/mms/data-tables/table-columns?tableName=" + props.properties.dataTable + "&systemCode=" + props.properties.dataTableSystemCode + "&publishVersion=" + systems[systems.length - 1].publishVersion
69
+ ).then((res) => {
70
+ dataTableColumns.value = res;
71
+ groupColumns.value = dataTableColumns.value;
72
+ statisticsColumnChange();
73
+ });
74
+ });
75
+ }
76
+ });
77
+ const selectChange = (result) => {
78
+ props.properties.dataTable = result.dataTable.name;
79
+ props.properties.dataTableSystemCode = result.system.code;
80
+ http.get(
81
+ "/mms/data-tables/table-columns?tableName=" + result.dataTable.name + "&systemCode=" + result.system.code + "&publishVersion=" + result.system.publishVersion
82
+ ).then((res) => {
83
+ dataTableColumns.value = res;
84
+ groupColumns.value = dataTableColumns.value;
85
+ });
86
+ };
87
+ const specifyDataTableChange = (val) => {
88
+ if (!val) {
89
+ props.properties.dataTable = null;
90
+ dataTableColumns.value = serviceFlowStoreUtil.pageContext.modelFields;
91
+ groupColumns.value = dataTableColumns.value;
92
+ }
93
+ };
94
+ const statisticsColumnChange = (value) => {
95
+ sortColumns.value = [];
96
+ const selectColumns = [];
97
+ if (props.properties.statistics) {
98
+ props.properties.statistics.forEach((item) => {
99
+ selectColumns.push(item.name);
100
+ });
101
+ }
102
+ if (props.properties.additional) {
103
+ props.properties.additional.forEach((item) => {
104
+ if (sortColumns.value.indexOf(item.name) === -1) {
105
+ selectColumns.push(item.name);
106
+ }
107
+ });
108
+ }
109
+ sortColumns.value = groupColumns.value.filter((item) => selectColumns.indexOf(item.name) > -1);
110
+ };
111
+ __expose({});
112
+ return (_ctx, _cache) => {
113
+ const _component_el_checkbox = es.ElCheckbox;
114
+ const _component_el_input = es.ElInput;
115
+ const _component_el_button = es.ElButton;
116
+ const _component_el_form_item = es.ElFormItem;
117
+ const _component_el_alert = es.ElAlert;
118
+ const _component_el_radio = es.ElRadio;
119
+ const _component_el_radio_group = es.ElRadioGroup;
120
+ const _component_el_form = es.ElForm;
121
+ return vue.openBlock(), vue.createElementBlock("div", null, [
122
+ vue.createVNode(_component_el_form, {
123
+ "label-width": "100",
124
+ "label-position": "left"
125
+ }, {
126
+ default: vue.withCtx(() => [
127
+ vue.createVNode(nodeBaseConfig_vue_vue_type_script_setup_true_lang, { properties: __props.properties }, null, 8, ["properties"]),
128
+ vue.createVNode(_component_el_form_item, { label: "" }, {
129
+ label: vue.withCtx((scope) => [
130
+ vue.createVNode(_component_el_checkbox, {
131
+ onChange: specifyDataTableChange,
132
+ modelValue: __props.properties.specifyDataTable,
133
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => __props.properties.specifyDataTable = $event),
134
+ label: "指定数据表",
135
+ style: { "width": "100px" }
136
+ }, null, 8, ["modelValue"])
137
+ ]),
138
+ default: vue.withCtx(() => [
139
+ vue.createVNode(_component_el_input, {
140
+ disabled: !__props.properties.specifyDataTable,
141
+ modelValue: __props.properties.dataTable,
142
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => __props.properties.dataTable = $event),
143
+ readonly: "",
144
+ style: { "width": "85%" }
145
+ }, null, 8, ["disabled", "modelValue"]),
146
+ vue.createVNode(_component_el_button, {
147
+ icon: vue.unref(iconsVue.Search),
148
+ type: "primary",
149
+ circle: "",
150
+ disabled: !__props.properties.specifyDataTable,
151
+ onClick: _cache[2] || (_cache[2] = ($event) => showSelectTable.value = !showSelectTable.value),
152
+ style: { "position": "absolute", "right": "0" }
153
+ }, null, 8, ["icon", "disabled"]),
154
+ vue.createVNode(datatableSelect, {
155
+ visible: showSelectTable.value,
156
+ "onUpdate:visible": _cache[3] || (_cache[3] = ($event) => showSelectTable.value = $event),
157
+ modelValue: __props.properties.dataTable,
158
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => __props.properties.dataTable = $event),
159
+ systemCode: systemCode.value,
160
+ systemVersion: systemVersion.value,
161
+ onSelect: selectChange
162
+ }, null, 8, ["visible", "modelValue", "systemCode", "systemVersion"])
163
+ ]),
164
+ _: 1
165
+ }),
166
+ vue.createVNode(_component_el_alert, {
167
+ title: "统计维度",
168
+ type: "info",
169
+ size: "small",
170
+ closable: false,
171
+ style: { "margin-bottom": "20px" }
172
+ }),
173
+ vue.createVNode(dimensionStatistical_vue_vue_type_script_setup_true_lang, {
174
+ properties: __props.properties,
175
+ dataTableColumns: groupColumns.value,
176
+ onChange: statisticsColumnChange
177
+ }, null, 8, ["properties", "dataTableColumns"]),
178
+ vue.createVNode(_component_el_alert, {
179
+ title: "附加维度",
180
+ type: "info",
181
+ size: "small",
182
+ closable: false,
183
+ style: { "margin-bottom": "20px" }
184
+ }),
185
+ vue.createVNode(dimensionAdditional_vue_vue_type_script_setup_true_lang, {
186
+ properties: __props.properties,
187
+ dataTableColumns: groupColumns.value,
188
+ onChange: statisticsColumnChange
189
+ }, null, 8, ["properties", "dataTableColumns"]),
190
+ vue.createVNode(_component_el_alert, {
191
+ title: "统计公式",
192
+ type: "info",
193
+ size: "small",
194
+ closable: false,
195
+ style: { "margin-bottom": "20px" }
196
+ }),
197
+ vue.createVNode(statisticalFormula_vue_vue_type_script_setup_true_lang, {
198
+ properties: __props.properties,
199
+ dataTableColumns: dataTableColumns.value
200
+ }, null, 8, ["properties", "dataTableColumns"]),
201
+ vue.createVNode(_component_el_alert, {
202
+ title: "过滤条件",
203
+ type: "info",
204
+ size: "small",
205
+ closable: false,
206
+ style: { "margin-bottom": "20px" }
207
+ }),
208
+ vue.createVNode(filterConditions_vue_vue_type_script_setup_true_lang, {
209
+ properties: __props.properties,
210
+ dataTableColumns: dataTableColumns.value
211
+ }, null, 8, ["properties", "dataTableColumns"]),
212
+ vue.createVNode(_component_el_alert, {
213
+ title: "排序条件",
214
+ type: "info",
215
+ size: "small",
216
+ closable: false,
217
+ style: { "margin-bottom": "20px" }
218
+ }),
219
+ vue.createVNode(sortConditions_vue_vue_type_script_setup_true_lang, {
220
+ properties: __props.properties,
221
+ dataTableColumns: sortColumns.value
222
+ }, null, 8, ["properties", "dataTableColumns"]),
223
+ vue.createVNode(_component_el_alert, {
224
+ title: "结果设置",
225
+ type: "info",
226
+ size: "small",
227
+ closable: false,
228
+ style: { "margin-bottom": "20px" }
229
+ }),
230
+ vue.createVNode(_component_el_form_item, {
231
+ label: "",
232
+ "label-width": "0",
233
+ style: { "width": "100%" }
234
+ }, {
235
+ default: vue.withCtx(() => [
236
+ vue.createVNode(_component_el_radio_group, {
237
+ modelValue: __props.properties.result.valueSetScope,
238
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => __props.properties.result.valueSetScope = $event),
239
+ class: "ml-4"
240
+ }, {
241
+ default: vue.withCtx(() => [
242
+ vue.createVNode(_component_el_radio, { value: "first" }, {
243
+ default: vue.withCtx(() => [
244
+ vue.createTextVNode("仅第一条")
245
+ ]),
246
+ _: 1
247
+ }),
248
+ vue.createVNode(_component_el_radio, { value: "all" }, {
249
+ default: vue.withCtx(() => [
250
+ vue.createTextVNode(" 全部 ")
251
+ ]),
252
+ _: 1
253
+ })
254
+ ]),
255
+ _: 1
256
+ }, 8, ["modelValue"])
257
+ ]),
258
+ _: 1
259
+ }),
260
+ vue.createVNode(_component_el_form_item, {
261
+ label: "设置到:",
262
+ style: { "width": "100%" }
263
+ }, {
264
+ default: vue.withCtx(() => [
265
+ vue.createVNode(vue.unref(valueSetInput), {
266
+ width: "70%",
267
+ inputSize: "default",
268
+ paramTypes: ["service"],
269
+ size: "small",
270
+ modelValue: __props.properties.result.setTo,
271
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => __props.properties.result.setTo = $event)
272
+ }, null, 8, ["modelValue"])
273
+ ]),
274
+ _: 1
275
+ })
276
+ ]),
277
+ _: 1
278
+ })
279
+ ]);
280
+ };
281
+ }
282
+ });
283
+ module.exports = _sfc_main;
@@ -0,0 +1,185 @@
1
+ "use strict";
2
+ const es = require("element-plus/es");
3
+ require("element-plus/es/components/base/style/css");
4
+ require("element-plus/es/components/table/style/css");
5
+ require("element-plus/es/components/tooltip/style/css");
6
+ require("element-plus/es/components/button/style/css");
7
+ require("element-plus/es/components/select/style/css");
8
+ require("element-plus/es/components/option/style/css");
9
+ require("element-plus/es/components/table-column/style/css");
10
+ const vue = require("vue");
11
+ const iconsVue = require("@element-plus/icons-vue");
12
+ const commonOptions = require("../../util/common-options.js");
13
+ const _hoisted_1 = { key: 0 };
14
+ const _hoisted_2 = { key: 0 };
15
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
16
+ __name: "dimension-additional",
17
+ props: {
18
+ properties: {
19
+ type: Object,
20
+ default: () => {
21
+ return { additional: {} };
22
+ }
23
+ },
24
+ dataTableColumns: {
25
+ type: Array,
26
+ default: () => {
27
+ return [];
28
+ }
29
+ }
30
+ },
31
+ emits: ["change"],
32
+ setup(__props, { emit: __emit }) {
33
+ const props = __props;
34
+ const emits = __emit;
35
+ const rowDblclick = () => {
36
+ };
37
+ const handleDelete = (index, row) => {
38
+ props.properties.additional.splice(index, 1);
39
+ statisticsColumnChange("", null);
40
+ };
41
+ const addRow = () => {
42
+ if (!props.properties.additional) {
43
+ props.properties.additional = [];
44
+ }
45
+ props.properties.additional.push({ $editing: true });
46
+ };
47
+ const statisticsColumnChange = (value, row) => {
48
+ if (row) {
49
+ props.dataTableColumns.forEach((item) => {
50
+ if (item.name === value) {
51
+ row.type = item.dataType;
52
+ if (row.type !== "DATE" && item.dataType !== "TIME") {
53
+ row.dateFormat = "";
54
+ }
55
+ }
56
+ });
57
+ }
58
+ emits("change", value);
59
+ };
60
+ return (_ctx, _cache) => {
61
+ const _component_el_table_column = es.ElTableColumn;
62
+ const _component_el_option = es.ElOption;
63
+ const _component_el_select = es.ElSelect;
64
+ const _component_el_button = es.ElButton;
65
+ const _component_el_tooltip = es.ElTooltip;
66
+ const _component_el_table = es.ElTable;
67
+ return vue.openBlock(), vue.createBlock(_component_el_table, {
68
+ data: __props.properties.additional,
69
+ style: { "width": "100%", "margin-bottom": "20px" },
70
+ "row-key": "name",
71
+ onRowDblclick: rowDblclick,
72
+ size: "small",
73
+ border: "",
74
+ "default-expand-all": ""
75
+ }, {
76
+ default: vue.withCtx(() => [
77
+ vue.createVNode(_component_el_table_column, {
78
+ type: "index",
79
+ width: "50",
80
+ label: "序号"
81
+ }),
82
+ vue.createVNode(_component_el_table_column, {
83
+ prop: "name",
84
+ label: "字段名"
85
+ }, {
86
+ default: vue.withCtx((scope) => [
87
+ !scope.row.$editing ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1, vue.toDisplayString(scope.row.name), 1)) : (vue.openBlock(), vue.createBlock(_component_el_select, {
88
+ key: 1,
89
+ modelValue: scope.row.name,
90
+ "onUpdate:modelValue": ($event) => scope.row.name = $event,
91
+ placeholder: "",
92
+ onChange: ($event) => statisticsColumnChange($event, scope.row),
93
+ size: "small"
94
+ }, {
95
+ default: vue.withCtx(() => [
96
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.dataTableColumns, (item) => {
97
+ return vue.openBlock(), vue.createBlock(_component_el_option, {
98
+ key: item.name,
99
+ label: item.alias,
100
+ value: item.name
101
+ }, null, 8, ["label", "value"]);
102
+ }), 128))
103
+ ]),
104
+ _: 2
105
+ }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"]))
106
+ ]),
107
+ _: 1
108
+ }),
109
+ vue.createVNode(_component_el_table_column, {
110
+ prop: "name",
111
+ label: "日期格式化"
112
+ }, {
113
+ default: vue.withCtx((scope) => [
114
+ !scope.row.$editing ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(scope.row.dateFormat), 1)) : (vue.openBlock(), vue.createBlock(_component_el_select, {
115
+ key: 1,
116
+ disabled: scope.row.type !== "DATE" && scope.row.type !== "TIME",
117
+ modelValue: scope.row.dateFormat,
118
+ "onUpdate:modelValue": ($event) => scope.row.dateFormat = $event,
119
+ placeholder: "",
120
+ filterable: true,
121
+ "allow-create": true,
122
+ size: "small"
123
+ }, {
124
+ default: vue.withCtx(() => [
125
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(commonOptions.dateFormats), (item) => {
126
+ return vue.openBlock(), vue.createBlock(_component_el_option, {
127
+ key: item.value,
128
+ label: item.label,
129
+ value: item.value
130
+ }, null, 8, ["label", "value"]);
131
+ }), 128))
132
+ ]),
133
+ _: 2
134
+ }, 1032, ["disabled", "modelValue", "onUpdate:modelValue"]))
135
+ ]),
136
+ _: 1
137
+ }),
138
+ vue.createVNode(_component_el_table_column, { align: "right" }, {
139
+ header: vue.withCtx(() => [
140
+ vue.createVNode(_component_el_tooltip, {
141
+ effect: "dark",
142
+ content: "添加",
143
+ placement: "top"
144
+ }, {
145
+ default: vue.withCtx(() => [
146
+ vue.createVNode(_component_el_button, {
147
+ type: "primary",
148
+ size: "small",
149
+ icon: vue.unref(iconsVue.Plus),
150
+ circle: "",
151
+ onClick: _cache[0] || (_cache[0] = ($event) => addRow())
152
+ }, null, 8, ["icon"])
153
+ ]),
154
+ _: 1
155
+ })
156
+ ]),
157
+ default: vue.withCtx((scope) => [
158
+ vue.createElementVNode("span", null, [
159
+ vue.createVNode(_component_el_tooltip, {
160
+ effect: "dark",
161
+ content: "删除",
162
+ placement: "top"
163
+ }, {
164
+ default: vue.withCtx(() => [
165
+ vue.createVNode(_component_el_button, {
166
+ type: "danger",
167
+ size: "small",
168
+ icon: vue.unref(iconsVue.Minus),
169
+ circle: "",
170
+ onClick: ($event) => handleDelete(scope.$index, scope.row)
171
+ }, null, 8, ["icon", "onClick"])
172
+ ]),
173
+ _: 2
174
+ }, 1024)
175
+ ])
176
+ ]),
177
+ _: 1
178
+ })
179
+ ]),
180
+ _: 1
181
+ }, 8, ["data"]);
182
+ };
183
+ }
184
+ });
185
+ module.exports = _sfc_main;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ const dimensionAdditional_vue_vue_type_script_setup_true_lang = require("./dimension-additional.vue.js");
3
+ module.exports = dimensionAdditional_vue_vue_type_script_setup_true_lang;
@@ -0,0 +1,203 @@
1
+ "use strict";
2
+ const es = require("element-plus/es");
3
+ require("element-plus/es/components/base/style/css");
4
+ require("element-plus/es/components/table/style/css");
5
+ require("element-plus/es/components/tooltip/style/css");
6
+ require("element-plus/es/components/button/style/css");
7
+ require("element-plus/es/components/input/style/css");
8
+ require("element-plus/es/components/select/style/css");
9
+ require("element-plus/es/components/option/style/css");
10
+ require("element-plus/es/components/table-column/style/css");
11
+ const vue = require("vue");
12
+ const iconsVue = require("@element-plus/icons-vue");
13
+ const commonOptions = require("../../util/common-options.js");
14
+ const _hoisted_1 = { key: 0 };
15
+ const _hoisted_2 = { key: 0 };
16
+ const _hoisted_3 = { key: 0 };
17
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
18
+ __name: "dimension-statistical",
19
+ props: {
20
+ properties: {
21
+ type: Object,
22
+ default: () => {
23
+ return { statistics: {} };
24
+ }
25
+ },
26
+ dataTableColumns: {
27
+ type: Array,
28
+ default: () => {
29
+ return [];
30
+ }
31
+ }
32
+ },
33
+ emits: ["change"],
34
+ setup(__props, { emit: __emit }) {
35
+ const props = __props;
36
+ const emits = __emit;
37
+ function rowDblclick(row, column, event) {
38
+ row.$editing = true;
39
+ }
40
+ const handleDelete = (index, row) => {
41
+ props.properties.statistics.splice(index, 1);
42
+ statisticsColumnChange("", null);
43
+ };
44
+ const addRow = () => {
45
+ if (!props.properties.statistics) {
46
+ props.properties.statistics = [];
47
+ }
48
+ props.properties.statistics.push({ $editing: true });
49
+ };
50
+ const statisticsColumnChange = (value, row) => {
51
+ if (row) {
52
+ props.dataTableColumns.forEach((item) => {
53
+ if (item.name === value) {
54
+ row.type = item.dataType;
55
+ if (row.type !== "DATE" && item.dataType !== "TIME") {
56
+ row.dateFormat = "";
57
+ }
58
+ }
59
+ });
60
+ }
61
+ emits("change", value);
62
+ };
63
+ return (_ctx, _cache) => {
64
+ const _component_el_table_column = es.ElTableColumn;
65
+ const _component_el_option = es.ElOption;
66
+ const _component_el_select = es.ElSelect;
67
+ const _component_el_input = es.ElInput;
68
+ const _component_el_button = es.ElButton;
69
+ const _component_el_tooltip = es.ElTooltip;
70
+ const _component_el_table = es.ElTable;
71
+ return vue.openBlock(), vue.createBlock(_component_el_table, {
72
+ data: __props.properties.statistics,
73
+ style: { "width": "100%", "margin-bottom": "20px" },
74
+ "row-key": "name",
75
+ onRowDblclick: rowDblclick,
76
+ size: "small",
77
+ border: "",
78
+ "default-expand-all": ""
79
+ }, {
80
+ default: vue.withCtx(() => [
81
+ vue.createVNode(_component_el_table_column, {
82
+ type: "index",
83
+ width: "50",
84
+ label: "序号"
85
+ }),
86
+ vue.createVNode(_component_el_table_column, {
87
+ prop: "name",
88
+ label: "字段名"
89
+ }, {
90
+ default: vue.withCtx((scope) => [
91
+ !scope.row.$editing ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1, vue.toDisplayString(scope.row.name), 1)) : (vue.openBlock(), vue.createBlock(_component_el_select, {
92
+ key: 1,
93
+ onChange: ($event) => statisticsColumnChange($event, scope.row),
94
+ modelValue: scope.row.name,
95
+ "onUpdate:modelValue": ($event) => scope.row.name = $event,
96
+ placeholder: "",
97
+ size: "small"
98
+ }, {
99
+ default: vue.withCtx(() => [
100
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.dataTableColumns, (item) => {
101
+ return vue.openBlock(), vue.createBlock(_component_el_option, {
102
+ key: item.name,
103
+ label: item.alias,
104
+ value: item.name
105
+ }, null, 8, ["label", "value"]);
106
+ }), 128))
107
+ ]),
108
+ _: 2
109
+ }, 1032, ["onChange", "modelValue", "onUpdate:modelValue"]))
110
+ ]),
111
+ _: 1
112
+ }),
113
+ vue.createVNode(_component_el_table_column, {
114
+ prop: "name",
115
+ label: "日期格式化"
116
+ }, {
117
+ default: vue.withCtx((scope) => [
118
+ !scope.row.$editing ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(scope.row.dateFormat), 1)) : (vue.openBlock(), vue.createBlock(_component_el_select, {
119
+ key: 1,
120
+ disabled: scope.row.type !== "DATE" && scope.row.type !== "TIME",
121
+ filterable: true,
122
+ "allow-create": true,
123
+ modelValue: scope.row.dateFormat,
124
+ "onUpdate:modelValue": ($event) => scope.row.dateFormat = $event,
125
+ placeholder: "",
126
+ size: "small"
127
+ }, {
128
+ default: vue.withCtx(() => [
129
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(commonOptions.dateFormats), (item) => {
130
+ return vue.openBlock(), vue.createBlock(_component_el_option, {
131
+ key: item.value,
132
+ label: item.label,
133
+ value: item.value
134
+ }, null, 8, ["label", "value"]);
135
+ }), 128))
136
+ ]),
137
+ _: 2
138
+ }, 1032, ["disabled", "modelValue", "onUpdate:modelValue"]))
139
+ ]),
140
+ _: 1
141
+ }),
142
+ vue.createVNode(_component_el_table_column, {
143
+ prop: "name",
144
+ label: "动态维度值"
145
+ }, {
146
+ default: vue.withCtx((scope) => [
147
+ !scope.row.$editing ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3, vue.toDisplayString(scope.row.dynamicValue), 1)) : (vue.openBlock(), vue.createBlock(_component_el_input, {
148
+ key: 1,
149
+ modelValue: scope.row.dynamicValue,
150
+ "onUpdate:modelValue": ($event) => scope.row.dynamicValue = $event,
151
+ size: "small"
152
+ }, null, 8, ["modelValue", "onUpdate:modelValue"]))
153
+ ]),
154
+ _: 1
155
+ }),
156
+ vue.createVNode(_component_el_table_column, { align: "right" }, {
157
+ header: vue.withCtx(() => [
158
+ vue.createVNode(_component_el_tooltip, {
159
+ effect: "dark",
160
+ content: "添加",
161
+ placement: "top"
162
+ }, {
163
+ default: vue.withCtx(() => [
164
+ vue.createVNode(_component_el_button, {
165
+ type: "primary",
166
+ size: "small",
167
+ icon: vue.unref(iconsVue.Plus),
168
+ circle: "",
169
+ onClick: _cache[0] || (_cache[0] = ($event) => addRow())
170
+ }, null, 8, ["icon"])
171
+ ]),
172
+ _: 1
173
+ })
174
+ ]),
175
+ default: vue.withCtx((scope) => [
176
+ vue.createElementVNode("span", null, [
177
+ vue.createVNode(_component_el_tooltip, {
178
+ effect: "dark",
179
+ content: "删除",
180
+ placement: "top"
181
+ }, {
182
+ default: vue.withCtx(() => [
183
+ vue.createVNode(_component_el_button, {
184
+ type: "danger",
185
+ size: "small",
186
+ icon: vue.unref(iconsVue.Minus),
187
+ circle: "",
188
+ onClick: ($event) => handleDelete(scope.$index, scope.row)
189
+ }, null, 8, ["icon", "onClick"])
190
+ ]),
191
+ _: 2
192
+ }, 1024)
193
+ ])
194
+ ]),
195
+ _: 1
196
+ })
197
+ ]),
198
+ _: 1
199
+ }, 8, ["data"]);
200
+ };
201
+ }
202
+ });
203
+ module.exports = _sfc_main;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ const dimensionStatistical_vue_vue_type_script_setup_true_lang = require("./dimension-statistical.vue.js");
3
+ module.exports = dimensionStatistical_vue_vue_type_script_setup_true_lang;