kz-ui-base 1.0.0

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 (288) hide show
  1. package/index.js +5 -0
  2. package/kztool/css/10.96cad523.css +1 -0
  3. package/kztool/css/11.e4c864cd.css +1 -0
  4. package/kztool/css/12.647fccce.css +1 -0
  5. package/kztool/css/13.65952a1f.css +1 -0
  6. package/kztool/css/14.dd36c45f.css +1 -0
  7. package/kztool/css/15.832c7deb.css +1 -0
  8. package/kztool/css/16.8b271d59.css +1 -0
  9. package/kztool/css/17.0e84559e.css +1 -0
  10. package/kztool/css/18.832c7deb.css +1 -0
  11. package/kztool/css/19.6a3d2dce.css +1 -0
  12. package/kztool/css/2.f1342bd9.css +1 -0
  13. package/kztool/css/20.bb41fc34.css +1 -0
  14. package/kztool/css/21.ed73c08f.css +1 -0
  15. package/kztool/css/22.e894eb6f.css +1 -0
  16. package/kztool/css/23.57aa83b4.css +1 -0
  17. package/kztool/css/25.5f134180.css +1 -0
  18. package/kztool/css/26.832c7deb.css +1 -0
  19. package/kztool/css/4.a42922b4.css +1 -0
  20. package/kztool/css/6.2fd4b699.css +1 -0
  21. package/kztool/css/7.9be14673.css +21 -0
  22. package/kztool/css/9.9d93e54d.css +22 -0
  23. package/kztool/demo.html +10 -0
  24. package/kztool/img/401.089007e7.gif +0 -0
  25. package/kztool/img/404.a57b6f31.png +0 -0
  26. package/kztool/img/404.cb2515ac.svg +1 -0
  27. package/kztool/img/404_cloud.0f4bc32b.png +0 -0
  28. package/kztool/img/bug.f34b1328.svg +1 -0
  29. package/kztool/img/build.afff0ba4.svg +1 -0
  30. package/kztool/img/button.43a072f1.svg +1 -0
  31. package/kztool/img/cascader.af4b06f5.svg +1 -0
  32. package/kztool/img/chart.15fe45db.svg +1 -0
  33. package/kztool/img/checkbox.33950d05.svg +1 -0
  34. package/kztool/img/client.8669e2c6.svg +1 -0
  35. package/kztool/img/clipboard.a754c187.svg +1 -0
  36. package/kztool/img/code.21a8c1ce.svg +1 -0
  37. package/kztool/img/color.d6e1d0d9.svg +1 -0
  38. package/kztool/img/component.a69885f8.svg +1 -0
  39. package/kztool/img/dark.412ca67e.svg +39 -0
  40. package/kztool/img/dashboard.28a2a850.svg +1 -0
  41. package/kztool/img/date-range.21c0ab78.svg +1 -0
  42. package/kztool/img/date.43878da9.svg +1 -0
  43. package/kztool/img/dict.e54d50d6.svg +1 -0
  44. package/kztool/img/documentation.250402ca.svg +1 -0
  45. package/kztool/img/download.5153dc2b.svg +1 -0
  46. package/kztool/img/drag.4a19e202.svg +1 -0
  47. package/kztool/img/druid.09b411e5.svg +1 -0
  48. package/kztool/img/edit.82ad92eb.svg +1 -0
  49. package/kztool/img/education.8a144773.svg +1 -0
  50. package/kztool/img/email.e4742db4.svg +1 -0
  51. package/kztool/img/example.894f4689.svg +1 -0
  52. package/kztool/img/excel.25efb1e4.svg +1 -0
  53. package/kztool/img/exit-fullscreen.c0a0b5af.svg +1 -0
  54. package/kztool/img/eye-open.26bf09f4.svg +1 -0
  55. package/kztool/img/eye.e4fe315c.svg +1 -0
  56. package/kztool/img/file-config.e9cf97b5.png +0 -0
  57. package/kztool/img/file-doc.2e32d62d.png +0 -0
  58. package/kztool/img/file-exe.ba756588.png +0 -0
  59. package/kztool/img/file-ini.b1d3af9d.png +0 -0
  60. package/kztool/img/file-jpg.20c594b1.png +0 -0
  61. package/kztool/img/file-mpg.4a3b6b53.png +0 -0
  62. package/kztool/img/file-none.529195fd.png +0 -0
  63. package/kztool/img/file-pdf.36c3acbd.png +0 -0
  64. package/kztool/img/file-png.961aaab6.png +0 -0
  65. package/kztool/img/file-ppt.b13aca2d.png +0 -0
  66. package/kztool/img/file-rar.d940b06e.png +0 -0
  67. package/kztool/img/file-txt.fba6847c.png +0 -0
  68. package/kztool/img/file-wav.6c6a98a5.png +0 -0
  69. package/kztool/img/file-xls.0ba7ceb7.png +0 -0
  70. package/kztool/img/form.f3ed6fee.svg +1 -0
  71. package/kztool/img/fullscreen.9ce971c6.svg +1 -0
  72. package/kztool/img/github.a1e0a262.svg +1 -0
  73. package/kztool/img/guide.fe0b5508.svg +1 -0
  74. package/kztool/img/icon-ext.ba81b24c.png +0 -0
  75. package/kztool/img/icon.3ab19eb2.svg +1 -0
  76. package/kztool/img/icon.551539f8.png +0 -0
  77. package/kztool/img/input.fd627960.svg +1 -0
  78. package/kztool/img/international.256537bf.svg +1 -0
  79. package/kztool/img/job.b6da1ffe.svg +1 -0
  80. package/kztool/img/kz_authority.3278f033.svg +1 -0
  81. package/kztool/img/kz_build.d01b7fab.svg +1 -0
  82. package/kztool/img/kz_code.181e9399.svg +1 -0
  83. package/kztool/img/kz_config.8ed433a4.svg +1 -0
  84. package/kztool/img/kz_creatTime.b36ed35c.svg +1 -0
  85. package/kztool/img/kz_dept.5e64451a.svg +1 -0
  86. package/kztool/img/kz_dept_profile.5d4e147f.svg +1 -0
  87. package/kztool/img/kz_dict.2ab95ca5.svg +1 -0
  88. package/kztool/img/kz_edit.7d07a3ee.svg +1 -0
  89. package/kztool/img/kz_enlarge.af9fd797.svg +1 -0
  90. package/kztool/img/kz_enterprise.d341ab44.svg +1 -0
  91. package/kztool/img/kz_fold.17a83166.svg +2 -0
  92. package/kztool/img/kz_job.d4e52276.svg +1 -0
  93. package/kztool/img/kz_layout.9bab2381.svg +1 -0
  94. package/kztool/img/kz_log.685b9ce0.svg +1 -0
  95. package/kztool/img/kz_log_loginInfo.68ba7786.svg +1 -0
  96. package/kztool/img/kz_log_operation.fdc2ddf9.svg +1 -0
  97. package/kztool/img/kz_master-slave.83dad46f.svg +2 -0
  98. package/kztool/img/kz_menu.35eddf40.svg +1 -0
  99. package/kztool/img/kz_menu_analyse.4b4d8f9b.svg +22 -0
  100. package/kztool/img/kz_message.b8712b45.svg +1 -0
  101. package/kztool/img/kz_monitor.8b10fbe6.svg +1 -0
  102. package/kztool/img/kz_nacos.c51b9d4a.svg +1 -0
  103. package/kztool/img/kz_narrow.2a646b99.svg +1 -0
  104. package/kztool/img/kz_notice.34428b82.svg +2 -0
  105. package/kztool/img/kz_online.754b59da.svg +1 -0
  106. package/kztool/img/kz_open.c0247e97.svg +2 -0
  107. package/kztool/img/kz_organization.c4c24b8b.svg +1 -0
  108. package/kztool/img/kz_post.a3b24529.svg +1 -0
  109. package/kztool/img/kz_post_profile.729ed1fd.svg +1 -0
  110. package/kztool/img/kz_productCenter.94cb1bf1.svg +1 -0
  111. package/kztool/img/kz_rabbit.c1e30068.svg +1 -0
  112. package/kztool/img/kz_refresh.e4335ee7.svg +2 -0
  113. package/kztool/img/kz_renovation.cec7bdbb.svg +1 -0
  114. package/kztool/img/kz_role.337dafc2.svg +1 -0
  115. package/kztool/img/kz_roleGroup.d40cf86e.svg +1 -0
  116. package/kztool/img/kz_search.91e19919.svg +1 -0
  117. package/kztool/img/kz_sentinel.65a96c32.svg +1 -0
  118. package/kztool/img/kz_server.1aeaae9a.svg +1 -0
  119. package/kztool/img/kz_setting.b121026e.svg +1 -0
  120. package/kztool/img/kz_sex.2dfbc39c.svg +1 -0
  121. package/kztool/img/kz_source.78acc35f.svg +2 -0
  122. package/kztool/img/kz_strategy.960f4e2b.svg +2 -0
  123. package/kztool/img/kz_swagger.72b031ef.svg +1 -0
  124. package/kztool/img/kz_system.a0a83a20.svg +1 -0
  125. package/kztool/img/kz_tenant.bb89322f.svg +1 -0
  126. package/kztool/img/kz_tool.bc04a7cd.svg +1 -0
  127. package/kztool/img/kz_user.8ade980b.svg +1 -0
  128. package/kztool/img/language.a84ceaa6.svg +1 -0
  129. package/kztool/img/light.4183aad0.svg +39 -0
  130. package/kztool/img/link.9c719b73.svg +1 -0
  131. package/kztool/img/list.76dedeca.svg +1 -0
  132. package/kztool/img/loading-0.a72011cc.gif +0 -0
  133. package/kztool/img/lock.8634238d.svg +1 -0
  134. package/kztool/img/log.7798bf59.svg +1 -0
  135. package/kztool/img/login-background.c5b184b7.jpg +0 -0
  136. package/kztool/img/logininfor.182c8103.svg +1 -0
  137. package/kztool/img/logo.8ae3d6ee.jpg +0 -0
  138. package/kztool/img/logo.eeed0dd2.png +0 -0
  139. package/kztool/img/mes-ad.af0324d3.svg +21 -0
  140. package/kztool/img/mes-ic.7d10c9df.svg +16 -0
  141. package/kztool/img/mes-mfg-order.d03a00ac.svg +22 -0
  142. package/kztool/img/mes-tm.e3818cf7.svg +15 -0
  143. package/kztool/img/message.1fbaa155.svg +1 -0
  144. package/kztool/img/money.954fffc7.svg +1 -0
  145. package/kztool/img/monitor.7eeb6217.svg +2 -0
  146. package/kztool/img/nacos.147e9bf5.svg +1 -0
  147. package/kztool/img/nested.c948fb38.svg +1 -0
  148. package/kztool/img/number.7e0faaa5.svg +1 -0
  149. package/kztool/img/online.fb93d2e7.svg +1 -0
  150. package/kztool/img/password.9173da92.svg +1 -0
  151. package/kztool/img/pdf.7e6ae0e3.svg +1 -0
  152. package/kztool/img/people.665094ec.svg +1 -0
  153. package/kztool/img/peoples.73b2be61.svg +1 -0
  154. package/kztool/img/phone.4ab5e783.svg +1 -0
  155. package/kztool/img/post.4f1521cb.svg +1 -0
  156. package/kztool/img/profile.8ae3d6ee.jpg +0 -0
  157. package/kztool/img/qq.8968a17d.svg +1 -0
  158. package/kztool/img/question.6dd93e77.svg +1 -0
  159. package/kztool/img/radio.1db061a7.svg +1 -0
  160. package/kztool/img/rate.d8284c44.svg +1 -0
  161. package/kztool/img/row.88cc2b15.svg +1 -0
  162. package/kztool/img/search.8b49baae.svg +1 -0
  163. package/kztool/img/select.be2885c0.svg +1 -0
  164. package/kztool/img/sentinel.51b1eedb.svg +1 -0
  165. package/kztool/img/server.e9df1296.svg +1 -0
  166. package/kztool/img/shop-call.31143fe6.svg +14 -0
  167. package/kztool/img/shopping.232bbd1d.svg +1 -0
  168. package/kztool/img/size.c77e5b9c.svg +1 -0
  169. package/kztool/img/skill.9842762c.svg +1 -0
  170. package/kztool/img/slider.dca17dd6.svg +1 -0
  171. package/kztool/img/star.91c10562.svg +1 -0
  172. package/kztool/img/stock-query.e3aea312.svg +14 -0
  173. package/kztool/img/stock-report.03ca7ff1.svg +14 -0
  174. package/kztool/img/stock-take.6bd8c87e.svg +14 -0
  175. package/kztool/img/swagger.78429129.svg +1 -0
  176. package/kztool/img/switch.67ff45e5.svg +1 -0
  177. package/kztool/img/system.8f062138.svg +2 -0
  178. package/kztool/img/tab.02b3a5b8.svg +1 -0
  179. package/kztool/img/table.fe7671a5.svg +1 -0
  180. package/kztool/img/textarea.6a19873e.svg +1 -0
  181. package/kztool/img/theme.a8c15249.svg +1 -0
  182. package/kztool/img/time-range.4a869bcb.svg +1 -0
  183. package/kztool/img/time.809df2f6.svg +1 -0
  184. package/kztool/img/tool.ce0f6d38.svg +1 -0
  185. package/kztool/img/tree-table.76f687b5.svg +1 -0
  186. package/kztool/img/tree.59ecebc1.svg +1 -0
  187. package/kztool/img/upload.84d5b598.svg +1 -0
  188. package/kztool/img/user.9f469d0b.svg +1 -0
  189. package/kztool/img/validCode.9e7b7784.svg +1 -0
  190. package/kztool/img/wechat.28725df0.svg +1 -0
  191. package/kztool/img/xy-cancel.c5f3d1db.svg +1 -0
  192. package/kztool/img/xy-choice.b2e8c9cf.svg +1 -0
  193. package/kztool/img/xy-choice2.453db322.svg +31 -0
  194. package/kztool/img/zip.839d61e0.svg +1 -0
  195. package/kztool/kztool.common.0.js +17212 -0
  196. package/kztool/kztool.common.1.js +11 -0
  197. package/kztool/kztool.common.10.js +2775 -0
  198. package/kztool/kztool.common.11.js +1920 -0
  199. package/kztool/kztool.common.12.js +641 -0
  200. package/kztool/kztool.common.13.js +1363 -0
  201. package/kztool/kztool.common.14.js +987 -0
  202. package/kztool/kztool.common.15.js +2477 -0
  203. package/kztool/kztool.common.16.js +222 -0
  204. package/kztool/kztool.common.17.js +140 -0
  205. package/kztool/kztool.common.18.js +1053 -0
  206. package/kztool/kztool.common.19.js +319 -0
  207. package/kztool/kztool.common.2.js +2893 -0
  208. package/kztool/kztool.common.20.js +131 -0
  209. package/kztool/kztool.common.21.js +396 -0
  210. package/kztool/kztool.common.22.js +377 -0
  211. package/kztool/kztool.common.23.js +677 -0
  212. package/kztool/kztool.common.24.js +1007 -0
  213. package/kztool/kztool.common.25.js +246 -0
  214. package/kztool/kztool.common.26.js +138 -0
  215. package/kztool/kztool.common.27.js +505 -0
  216. package/kztool/kztool.common.28.js +62 -0
  217. package/kztool/kztool.common.29.js +65 -0
  218. package/kztool/kztool.common.3.js +3868 -0
  219. package/kztool/kztool.common.4.js +1387 -0
  220. package/kztool/kztool.common.5.js +10 -0
  221. package/kztool/kztool.common.6.js +32006 -0
  222. package/kztool/kztool.common.7.js +28976 -0
  223. package/kztool/kztool.common.9.js +63288 -0
  224. package/kztool/kztool.common.js +137547 -0
  225. package/kztool/kztool.css +7 -0
  226. package/kztool/kztool.umd.0.js +17212 -0
  227. package/kztool/kztool.umd.1.js +11 -0
  228. package/kztool/kztool.umd.10.js +2775 -0
  229. package/kztool/kztool.umd.11.js +1920 -0
  230. package/kztool/kztool.umd.12.js +641 -0
  231. package/kztool/kztool.umd.13.js +1363 -0
  232. package/kztool/kztool.umd.14.js +987 -0
  233. package/kztool/kztool.umd.15.js +2477 -0
  234. package/kztool/kztool.umd.16.js +222 -0
  235. package/kztool/kztool.umd.17.js +140 -0
  236. package/kztool/kztool.umd.18.js +1053 -0
  237. package/kztool/kztool.umd.19.js +319 -0
  238. package/kztool/kztool.umd.2.js +2893 -0
  239. package/kztool/kztool.umd.20.js +131 -0
  240. package/kztool/kztool.umd.21.js +396 -0
  241. package/kztool/kztool.umd.22.js +377 -0
  242. package/kztool/kztool.umd.23.js +677 -0
  243. package/kztool/kztool.umd.24.js +1007 -0
  244. package/kztool/kztool.umd.25.js +246 -0
  245. package/kztool/kztool.umd.26.js +138 -0
  246. package/kztool/kztool.umd.27.js +505 -0
  247. package/kztool/kztool.umd.28.js +62 -0
  248. package/kztool/kztool.umd.29.js +65 -0
  249. package/kztool/kztool.umd.3.js +3868 -0
  250. package/kztool/kztool.umd.4.js +1387 -0
  251. package/kztool/kztool.umd.5.js +10 -0
  252. package/kztool/kztool.umd.6.js +32006 -0
  253. package/kztool/kztool.umd.7.js +28976 -0
  254. package/kztool/kztool.umd.9.js +63288 -0
  255. package/kztool/kztool.umd.js +137557 -0
  256. package/kztool/kztool.umd.min.0.js +9 -0
  257. package/kztool/kztool.umd.min.1.js +1 -0
  258. package/kztool/kztool.umd.min.10.js +1 -0
  259. package/kztool/kztool.umd.min.11.js +1 -0
  260. package/kztool/kztool.umd.min.12.js +1 -0
  261. package/kztool/kztool.umd.min.13.js +1 -0
  262. package/kztool/kztool.umd.min.14.js +1 -0
  263. package/kztool/kztool.umd.min.15.js +1 -0
  264. package/kztool/kztool.umd.min.16.js +1 -0
  265. package/kztool/kztool.umd.min.17.js +1 -0
  266. package/kztool/kztool.umd.min.18.js +1 -0
  267. package/kztool/kztool.umd.min.19.js +1 -0
  268. package/kztool/kztool.umd.min.2.js +1 -0
  269. package/kztool/kztool.umd.min.20.js +1 -0
  270. package/kztool/kztool.umd.min.21.js +1 -0
  271. package/kztool/kztool.umd.min.22.js +1 -0
  272. package/kztool/kztool.umd.min.23.js +1 -0
  273. package/kztool/kztool.umd.min.24.js +1 -0
  274. package/kztool/kztool.umd.min.25.js +1 -0
  275. package/kztool/kztool.umd.min.26.js +1 -0
  276. package/kztool/kztool.umd.min.27.js +1 -0
  277. package/kztool/kztool.umd.min.28.js +1 -0
  278. package/kztool/kztool.umd.min.29.js +1 -0
  279. package/kztool/kztool.umd.min.3.js +8 -0
  280. package/kztool/kztool.umd.min.4.js +1 -0
  281. package/kztool/kztool.umd.min.5.js +1 -0
  282. package/kztool/kztool.umd.min.6.js +1 -0
  283. package/kztool/kztool.umd.min.7.js +24 -0
  284. package/kztool/kztool.umd.min.9.js +24 -0
  285. package/kztool/kztool.umd.min.js +349 -0
  286. package/list-bese-page/doublelistBasePageTs.vue +996 -0
  287. package/list-bese-page/listBasePageTs.vue +2170 -0
  288. package/package.json +12 -0
@@ -0,0 +1,1053 @@
1
+ ((typeof self !== 'undefined' ? self : this)["webpackJsonpkztool"] = (typeof self !== 'undefined' ? self : this)["webpackJsonpkztool"] || []).push([[18,26],{
2
+
3
+ /***/ "a3cf":
4
+ /***/ (function(module, exports, __webpack_require__) {
5
+
6
+ // extracted by mini-css-extract-plugin
7
+
8
+ /***/ }),
9
+
10
+ /***/ "b145":
11
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
12
+
13
+ "use strict";
14
+ // ESM COMPAT FLAG
15
+ __webpack_require__.r(__webpack_exports__);
16
+
17
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
18
+ var classCallCheck = __webpack_require__("d4ec");
19
+
20
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
21
+ var createClass = __webpack_require__("bee2");
22
+
23
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
24
+ var assertThisInitialized = __webpack_require__("257e");
25
+
26
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
27
+ var inherits = __webpack_require__("262e");
28
+
29
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js + 2 modules
30
+ var createSuper = __webpack_require__("2caf");
31
+
32
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
33
+ var defineProperty = __webpack_require__("ade3");
34
+
35
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
36
+ var es_array_concat = __webpack_require__("99af");
37
+
38
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
39
+ var es_function_name = __webpack_require__("b0c0");
40
+
41
+ // EXTERNAL MODULE: ./node_modules/vue-property-decorator/lib/index.js + 15 modules
42
+ var lib = __webpack_require__("1b40");
43
+
44
+ // EXTERNAL MODULE: ./node_modules/list-bese-page/index.js + 10 modules
45
+ var list_bese_page = __webpack_require__("c77d");
46
+
47
+ // EXTERNAL MODULE: ../common/src/views/sample/dialog/sampleEditDialog.vue + 4 modules
48
+ var sampleEditDialog = __webpack_require__("cf09");
49
+
50
+ // EXTERNAL MODULE: ../common/src/api/common/common.js + 6 modules
51
+ var common = __webpack_require__("f48f");
52
+
53
+ // EXTERNAL MODULE: ../common/src/utils/file.js
54
+ var file = __webpack_require__("df3f");
55
+
56
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/base/indexTs2.vue?vue&type=script&lang=js&
57
+
58
+
59
+
60
+
61
+
62
+
63
+ var _class;
64
+
65
+
66
+
67
+
68
+
69
+
70
+
71
+
72
+ var indexTs2vue_type_script_lang_js_indexTs = Object(lib["a" /* Component */])(_class = /*#__PURE__*/function (_doublelistBasePage) {
73
+ Object(inherits["a" /* default */])(indexTs, _doublelistBasePage);
74
+ var _super = Object(createSuper["a" /* default */])(indexTs);
75
+ function indexTs() {
76
+ var _ref;
77
+ var _this;
78
+ Object(classCallCheck["a" /* default */])(this, indexTs);
79
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
80
+ args[_key] = arguments[_key];
81
+ }
82
+ _this = _super.call.apply(_super, [this].concat(args));
83
+ //微服务模块名称
84
+ Object(defineProperty["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this), "moduleName", "produce");
85
+ //实体名称-服务名称
86
+ Object(defineProperty["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this), "serviceName", "planInfo");
87
+ //多个表格独立搜索
88
+ Object(defineProperty["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this), "searchShow", false);
89
+ //多表格独立自定义按钮
90
+ Object(defineProperty["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this), "bottomShow", false);
91
+ //多表格全选按钮
92
+ Object(defineProperty["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this), "SelectionChangeShow", false);
93
+ // 列表列信息
94
+ Object(defineProperty["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this), "listColumns", [{
95
+ text: "\u516C\u544A\u7C7B\u578B",
96
+ property: "noticeType",
97
+ visible: true,
98
+ setting: {
99
+ dictType: "sys_notice_type"
100
+ }
101
+ }, {
102
+ text: "\u5907\u6CE8",
103
+ property: "remark"
104
+ }]);
105
+ //列表自定义操作菜单设定 - 若无自定义按钮,不需要重写
106
+ Object(defineProperty["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this), "listCustomOpMenus", [{
107
+ visable: true,
108
+ text: "预览",
109
+ icon: "el-icon-edit",
110
+ permission: "",
111
+ name: "priview",
112
+ isShowText: false
113
+ }]);
114
+ //多个表格
115
+ Object(defineProperty["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this), "tableSetting", [{
116
+ //微服务模块名称
117
+ moduleName: "produce",
118
+ //实体名称-服务名称
119
+ serviceName: "orderDemandInfo",
120
+ //当前表格主键字段
121
+ pkField: "id",
122
+ //子表外健字段
123
+ fkField: "demandNo",
124
+ //子表外健绑定主表字段
125
+ parentFkField: "demandNo",
126
+ listColumns: [
127
+ //{ key: 0, text: `用户编码`, property: "userNo", type: "string", visible: true },
128
+ {
129
+ text: "\u8BA1\u52121",
130
+ property: "planNo"
131
+ }, {
132
+ text: "\u9700\u6C422",
133
+ property: "demandNo",
134
+ visible: true
135
+ }, {
136
+ text: "\u8BA2\u53553",
137
+ property: "orderNo",
138
+ visible: true
139
+ }, {
140
+ text: "\u5907\u6CE84",
141
+ property: "remark"
142
+ }],
143
+ //显示操作栏
144
+ isShowOpColumn: true,
145
+ //列表自定义操作菜单设定 - 若无自定义按钮,不需要重写
146
+ listCustomOpMenus: [{
147
+ visable: true,
148
+ text: "操作",
149
+ icon: "el-icon-edit",
150
+ permission: "",
151
+ name: "priview",
152
+ isShowText: false
153
+ }],
154
+ //自定义按钮
155
+ customOpMenus: [{
156
+ visable: true,
157
+ text: "按钮11",
158
+ icon: "el-icon-plus",
159
+ permission: "system:user:list",
160
+ name: "custom1",
161
+ isShowText: false
162
+ }, {
163
+ visable: true,
164
+ text: "按钮2",
165
+ icon: "el-icon-plus",
166
+ permission: "",
167
+ name: "custom2",
168
+ isShowText: false
169
+ }],
170
+ //搜索项
171
+ searchRules: [{
172
+ op: "EQ",
173
+ text: "\u516C\u544A\u6807\u9898",
174
+ property: "noticeTitle",
175
+ visible: false
176
+ }, {
177
+ op: "EQ",
178
+ text: "\u516C\u544A\u7C7B\u578B",
179
+ property: "noticeType",
180
+ displayType: "DropDownList",
181
+ setting: {
182
+ dictType: "sys_notice_type"
183
+ }
184
+ }]
185
+ }]);
186
+ //设置编辑界面窗口组件
187
+ //editDialogComponent: "SampleEditDialog",
188
+ // 列表列信息
189
+ // 查询条件
190
+ Object(defineProperty["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this), "searchRules", [{
191
+ op: "EQ",
192
+ text: "\u516C\u544A\u6807\u9898",
193
+ property: "noticeTitle",
194
+ visible: false
195
+ }, {
196
+ op: "EQ",
197
+ text: "\u516C\u544A\u7C7B\u578B",
198
+ property: "noticeType",
199
+ displayType: "DropDownList",
200
+ setting: {
201
+ dictType: "sys_notice_type"
202
+ }
203
+ }]);
204
+ // 列信息
205
+ Object(defineProperty["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this), "editColumns", [{
206
+ text: "\u516C\u544A\u6807\u9898",
207
+ property: "noticeTitle",
208
+ displayType: "TextBox",
209
+ visible: true
210
+ }, {
211
+ text: "\u516C\u544A\u7C7B\u578B",
212
+ property: "noticeType",
213
+ displayType: "DropDownList",
214
+ setting: {
215
+ dictType: "sys_notice_type"
216
+ }
217
+ }, {
218
+ text: "\u590D\u9009\u6846",
219
+ items: [{
220
+ value: "测试1",
221
+ key: "1"
222
+ }, {
223
+ value: "测试2",
224
+ key: "2"
225
+ }],
226
+ property: "test1",
227
+ displayType: "CheckBox",
228
+ disabled: false
229
+ }, {
230
+ text: "\u5F00\u5173",
231
+ property: "test3",
232
+ displayType: "Switch"
233
+ }, {
234
+ text: "\u4E0A\u4F20\u7EC4\u4EF6",
235
+ property: "test5",
236
+ displayType: "Upload"
237
+ }, {
238
+ text: "\u7528\u6237\u4E0B\u62C9\u6846",
239
+ property: "test7",
240
+ displayType: "DropDownList",
241
+ setting: {
242
+ type: "User"
243
+ }
244
+ }, {
245
+ text: "\u81EA\u5B9A\u4E49\u4E0B\u62C9",
246
+ property: "test8",
247
+ displayType: "DropDownList",
248
+ setting: {
249
+ items: [{
250
+ text: "选项1",
251
+ value: "1"
252
+ }, {
253
+ text: "选项2",
254
+ value: "2"
255
+ }]
256
+ }
257
+ }, {
258
+ text: "Url\u6570\u636E\u6E90\u4E0B\u62C9",
259
+ property: "test9",
260
+ displayType: "DropDownList",
261
+ setting: {
262
+ url: "/system/user/list",
263
+ displayField: "nickName",
264
+ valueField: "userId"
265
+ }
266
+ }]);
267
+ // 表单校验
268
+ Object(defineProperty["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this), "editRules", {
269
+ noticeTitle: [{
270
+ required: true,
271
+ message: "公告标题不能为空",
272
+ trigger: "blur"
273
+ }, {
274
+ min: 2,
275
+ max: 20,
276
+ message: "公告标题长度必须介于 2 和 20 之间",
277
+ trigger: "blur"
278
+ }],
279
+ noticeType: [{
280
+ required: true,
281
+ message: "公告类型不能为空",
282
+ trigger: "blur"
283
+ }],
284
+ noticeContent: [{
285
+ required: true,
286
+ message: "公告内容不能为空",
287
+ trigger: "blur"
288
+ }]
289
+ //userName: [
290
+ // { required: true, message: "用户账号不能为空", trigger: "blur" }
291
+ //],
292
+ //nickName: [
293
+ // { required: true, message: "用户名称不能为空", trigger: "blur" }
294
+ //],
295
+ //password: [
296
+ // { required: true, message: "用户密码不能为空", trigger: "blur" },
297
+ // { min: 6, max: 20, message: '用户密码长度必须介于 6 和 20 之间', trigger: 'blur' }
298
+ //],
299
+ //email: [
300
+ // {
301
+ // type: "email",
302
+ // message: "'请输入正确的邮箱地址",
303
+ // trigger: ["blur", "change"]
304
+ // }
305
+ //],
306
+ //phone: [
307
+ // {
308
+ // pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,
309
+ // message: "请输入正确的手机号码",
310
+ // trigger: "blur"
311
+ // }
312
+ //]
313
+ });
314
+ //自定义操作菜单设定 - 若无自定义按钮,不需要重写
315
+ Object(defineProperty["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this), "customOpMenus", [{
316
+ visable: true,
317
+ text: "按钮11",
318
+ icon: "el-icon-plus",
319
+ permission: "system:user:list",
320
+ name: "custom1",
321
+ isShowText: false
322
+ }, (_ref = {
323
+ visable: true,
324
+ text: "按钮2"
325
+ }, Object(defineProperty["a" /* default */])(_ref, "text", "el-icon-plus"), Object(defineProperty["a" /* default */])(_ref, "permission", ""), Object(defineProperty["a" /* default */])(_ref, "name", "custom2"), Object(defineProperty["a" /* default */])(_ref, "isShowText", false), _ref), {
326
+ visable: true,
327
+ text: "按钮3",
328
+ icon: "el-icon-plus",
329
+ permission: "",
330
+ name: "custom3",
331
+ isShowText: false
332
+ }]);
333
+ //编辑界面自定义按钮菜单 - 若无自定义按钮,不需要重写
334
+ Object(defineProperty["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this), "editCustomOpMenus", [{
335
+ name: "custom1",
336
+ visable: true,
337
+ icon: "ion-plus-round",
338
+ text: "自定义1"
339
+ }]);
340
+ //树形表格
341
+ Object(defineProperty["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this), "treeSetting", {
342
+ visable: false,
343
+ moduleName: "system",
344
+ serviceName: "notice",
345
+ title: "请输入部门|岗位名称"
346
+ });
347
+ return _this;
348
+ }
349
+ Object(createClass["a" /* default */])(indexTs, [{
350
+ key: "created",
351
+ value: function created() {
352
+ //隐藏操作菜单按钮示例,隐藏或更新其它操作菜单按钮配置值
353
+ this.updateOpMenu({
354
+ visable: false
355
+ }, ["custom2"]);
356
+ //隐藏列表列示例,隐藏或更新其它操作菜单按钮配置值
357
+ this.updateListColumn({
358
+ visable: false
359
+ }, ["noticeId"]);
360
+ //禁用和隐藏编辑列示例,隐藏或更新其它操作菜单按钮配置值
361
+ this.updateEditColumn({
362
+ disabled: true
363
+ }, ["noticeTitle", "test3"]);
364
+ }
365
+ }, {
366
+ key: "onSelectionChange",
367
+ value: function onSelectionChange(selection) {
368
+ this.super(list_bese_page["b" /* doublelistBasePage */], "onSelectionChange", [selection]);
369
+ }
370
+ /** 列表表格自定义按钮点击处理 */
371
+ }, {
372
+ key: "onListCustomOpMenuClick",
373
+ value: function onListCustomOpMenuClick(args) {
374
+ switch (args.opMenu.name) {
375
+ case "priview":
376
+ this.onFilePriview(args.data);
377
+ break;
378
+ case "custom2":
379
+ alert("自定义按钮2点击事件");
380
+ break;
381
+ }
382
+ }
383
+ /** 自定义操作菜单按钮点击处理 */
384
+ }, {
385
+ key: "onCustomOpMenuClick",
386
+ value: function onCustomOpMenuClick(args) {
387
+ switch (args.opMenu.name) {
388
+ case "custom1":
389
+ this.Dialog.open({
390
+ component: sampleEditDialog["a" /* default */],
391
+ setting: {
392
+ isShow: true,
393
+ title: "标题标题",
394
+ size: "small",
395
+ //可选项tiny/small/large/full
396
+ width: "800px",
397
+ //表格宽度
398
+ data: {
399
+ entity: this.currentEntity
400
+ }
401
+ }
402
+ //beforeClose: (done) => {
403
+ // //点右上角关闭按钮后触发
404
+ // console.log("1");
405
+ // done();
406
+ //},
407
+ //close: () => {
408
+ // //关闭后触发
409
+ // console.log("2");
410
+ //},
411
+ //confirm: (result) => {
412
+ // //显式$emit('confirm')时触发
413
+ // console.log("3 ", result);
414
+ //},
415
+ });
416
+
417
+ var user = this.$store.state.user;
418
+ console.log(user);
419
+ Object(common["l" /* getUrl */])("/system/notice/list?noticeId=1").then(function (x) {
420
+ console.log(x);
421
+ });
422
+ break;
423
+ case "custom2":
424
+ alert("自定义按钮2点击事件");
425
+ break;
426
+ }
427
+ }
428
+ /** 多表格自定义操作菜单按钮点击处理 */
429
+ }, {
430
+ key: "doubleOnCustomOpMenuClick",
431
+ value: function doubleOnCustomOpMenuClick(args, index) {
432
+ switch (args.opMenu.name) {
433
+ case "custom1":
434
+ this.Dialog.open({
435
+ component: sampleEditDialog["a" /* default */],
436
+ setting: {
437
+ isShow: true,
438
+ title: "标题标题",
439
+ size: "small",
440
+ //可选项tiny/small/large/full
441
+ width: "800px",
442
+ //表格宽度
443
+ data: {
444
+ entity: this.currentEntity
445
+ }
446
+ }
447
+ //beforeClose: (done) => {
448
+ // //点右上角关闭按钮后触发
449
+ // console.log("1");
450
+ // done();
451
+ //},
452
+ //close: () => {
453
+ // //关闭后触发
454
+ // console.log("2");
455
+ //},
456
+ //confirm: (result) => {
457
+ // //显式$emit('confirm')时触发
458
+ // console.log("3 ", result);
459
+ //},
460
+ });
461
+
462
+ var user = this.$store.state.user;
463
+ console.log(user);
464
+ Object(common["l" /* getUrl */])("/system/notice/list?noticeId=1").then(function (x) {
465
+ console.log(x);
466
+ });
467
+ break;
468
+ case "custom2":
469
+ alert("自定义按钮2点击事件");
470
+ break;
471
+ case "custom3":
472
+ this.Dialog.open({
473
+ component: sampleEditDialog["a" /* default */],
474
+ setting: {
475
+ isShow: true,
476
+ title: "标题标题",
477
+ size: "small",
478
+ //可选项tiny/small/large/full
479
+ width: "800px",
480
+ //表格宽度
481
+ data: {
482
+ entity: this.currentEntity
483
+ }
484
+ },
485
+ beforeClose: function beforeClose(done) {
486
+ //点右上角关闭按钮后触发
487
+ console.log("1");
488
+ done();
489
+ },
490
+ close: function close() {
491
+ //关闭后触发
492
+ console.log("2");
493
+ },
494
+ confirm: function confirm(result) {
495
+ //显式$emit('confirm')时触发
496
+ console.log("3 ", result);
497
+ }
498
+ });
499
+ break;
500
+ }
501
+ }
502
+ /** 编辑界面自定义按钮点击处理 */
503
+ }, {
504
+ key: "onEditCustomOpMenuClick",
505
+ value: function onEditCustomOpMenuClick(args) {
506
+ switch (args.opMenu.name) {
507
+ case "custom1":
508
+ alert("编辑界面自定义按钮1点击事件");
509
+ break;
510
+ }
511
+ }
512
+
513
+ /** 自定义列显示格式方法 */
514
+ }, {
515
+ key: "remarkFormat",
516
+ value: function remarkFormat(data, column) {
517
+ return data.remark ? "有备注" : "无备注";
518
+ }
519
+ /** 自定义列点击方法 */
520
+ }, {
521
+ key: "onFilePriview",
522
+ value: function onFilePriview(data, column) {
523
+ console.log(data, column);
524
+ if (data.remark) Object(file["a" /* filePriview */])(data.remark);
525
+ }
526
+ /** 自定义列显示Html */
527
+ }, {
528
+ key: "getFilePriviewLink",
529
+ value: function getFilePriviewLink(data, column) {
530
+ return "<a href=\"".concat(Object(file["c" /* getFilePriviewUrl */])(data.remark), "\" target=\"_blank\">").concat(data.remark ? "自定义预览" : "", "</a>");
531
+ }
532
+ }]);
533
+ return indexTs;
534
+ }(list_bese_page["b" /* doublelistBasePage */])) || _class;
535
+
536
+ // CONCATENATED MODULE: ./src/components/base/indexTs2.vue?vue&type=script&lang=js&
537
+ /* harmony default export */ var indexTs2vue_type_script_lang_js_ = (indexTs2vue_type_script_lang_js_indexTs);
538
+ // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
539
+ var componentNormalizer = __webpack_require__("2877");
540
+
541
+ // CONCATENATED MODULE: ./src/components/base/indexTs2.vue
542
+ var render, staticRenderFns
543
+
544
+
545
+
546
+
547
+ /* normalize component */
548
+
549
+ var component = Object(componentNormalizer["a" /* default */])(
550
+ indexTs2vue_type_script_lang_js_,
551
+ render,
552
+ staticRenderFns,
553
+ false,
554
+ null,
555
+ null,
556
+ null
557
+
558
+ )
559
+
560
+ /* harmony default export */ var indexTs2 = __webpack_exports__["default"] = (component.exports);
561
+
562
+ /***/ }),
563
+
564
+ /***/ "cf09":
565
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
566
+
567
+ "use strict";
568
+
569
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"efdf055a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!../common/src/views/sample/dialog/sampleEditDialog.vue?vue&type=template&id=2f1095ea&
570
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_vm._m(0),_c('el-form',{ref:"entity",attrs:{"model":_vm.entity,"rules":_vm.rules,"label-width":_vm.setting.labelWidth}},[_c('el-row',[_c('FormColumns',{ref:"FormColumns",attrs:{"columns":_vm.columns,"entity":_vm.entity},on:{"update:columns":function($event){_vm.columns=$event},"update:entity":function($event){_vm.entity=$event},"change":_vm.onChangeEvent}})],1)],1),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary","loading":_vm.setting.submitLoading},on:{"click":_vm.submitForm}},[_vm._v("确 定")]),_c('el-button',{on:{"click":_vm.cancel}},[_vm._v("取 消")])],1)],1)}
571
+ var staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_vm._v(" 自定义窗口界面,自由布局"),_c('br'),_vm._v(" 自定义窗口界面,自由布局"),_c('br'),_vm._v(" 自定义窗口界面,自由布局"),_c('br')])}]
572
+
573
+
574
+ // CONCATENATED MODULE: ../common/src/views/sample/dialog/sampleEditDialog.vue?vue&type=template&id=2f1095ea&
575
+
576
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js
577
+ var createForOfIteratorHelper = __webpack_require__("b85c");
578
+
579
+ // EXTERNAL MODULE: ../common/src/api/common/common.js + 6 modules
580
+ var common = __webpack_require__("f48f");
581
+
582
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!../common/src/views/sample/dialog/sampleEditDialog.vue?vue&type=script&lang=js&
583
+
584
+ //
585
+ //
586
+ //
587
+ //
588
+ //
589
+ //
590
+ //
591
+ //
592
+ //
593
+ //
594
+ //
595
+ //
596
+ //
597
+ //
598
+ //
599
+ //
600
+ //
601
+ //
602
+ //
603
+ //
604
+ //
605
+ //
606
+ //
607
+ //
608
+ //
609
+ //
610
+ //
611
+ //
612
+ //
613
+ //
614
+ //
615
+ //
616
+ //
617
+ //
618
+ //
619
+ //
620
+ //
621
+ //
622
+ //
623
+ //
624
+ //
625
+
626
+
627
+ // import TableForm from "@components/customForm/editTable.vue";
628
+
629
+ /* harmony default export */ var sampleEditDialogvue_type_script_lang_js_ = ({
630
+ name: "SampleEditDialog",
631
+ components: {},
632
+ props: {
633
+ value: Object,
634
+ setting: {
635
+ type: Object,
636
+ default: function _default() {
637
+ return {
638
+ // 提交状态
639
+ submitLoading: false,
640
+ // 弹出层标题
641
+ title: "",
642
+ // 是否显示弹出层
643
+ isShow: false,
644
+ // 保存时是否自动关闭
645
+ isCloseOnSave: true,
646
+ //input标题宽度
647
+ labelWidth: "100px"
648
+ };
649
+ }
650
+ }
651
+ },
652
+ data: function data() {
653
+ return {
654
+ //微服务模块名称
655
+ moduleName: "system",
656
+ //实体名称-服务名称
657
+ serviceName: "notice",
658
+ entity: this.value.entity || {},
659
+ // 列信息
660
+ columns: [{
661
+ text: "\u516C\u544A\u6807\u9898",
662
+ property: "noticeTitle",
663
+ displayType: "TextBox",
664
+ visible: true
665
+ },
666
+ // {
667
+ // text: `公告类型`,
668
+ // property: "noticeType",
669
+ // displayType: "DropDownList",
670
+ // setting: { dictType: "sys_notice_type" },
671
+ // },
672
+ {
673
+ text: "\u516C\u544A\u5185\u5BB9",
674
+ property: "noticeContent",
675
+ displayType: "Editor",
676
+ width: 24
677
+ }],
678
+ // 表单校验
679
+ rules: {
680
+ noticeTitle: [{
681
+ required: true,
682
+ message: "公告标题不能为空",
683
+ trigger: "blur"
684
+ }, {
685
+ min: 2,
686
+ max: 20,
687
+ message: "公告标题长度必须介于 2 和 20 之间",
688
+ trigger: "blur"
689
+ }],
690
+ noticeType: [{
691
+ required: true,
692
+ message: "公告类型不能为空",
693
+ trigger: "blur"
694
+ }],
695
+ noticeContent: [{
696
+ required: true,
697
+ message: "公告内容不能为空",
698
+ trigger: "blur"
699
+ }]
700
+ },
701
+ //可编辑表格配置
702
+ tableSetting: {
703
+ //表格数据
704
+ tableList: {},
705
+ //显隐
706
+ visible: false,
707
+ //显示新增按钮
708
+ buttomShow: false,
709
+ //始终为false
710
+ tableFormShow: false,
711
+ //列表微服务模块名称
712
+ moduleName: "system",
713
+ //列表实体名称-服务名称
714
+ serviceName: "notice",
715
+ columns: [
716
+ // {
717
+ // prop: "createName",//对应字段
718
+ // text: "",//列表名
719
+ // attr: { width: "180" },//td宽度
720
+ // edit: true,//显示input
721
+ // type: input输入框、select下拉框/选择器、日期选择器、checkbox复选框、switch开关、mixInput搜索框
722
+ // 其中checkbox/select 配置 options: [
723
+ // { label: "1", value: "1" },//
724
+ // { label: "2", value: "2" },
725
+ // ],
726
+ // },
727
+ {
728
+ prop: "noticeId",
729
+ text: "id",
730
+ attr: {
731
+ width: "180"
732
+ },
733
+ edit: true
734
+ }, {
735
+ prop: "noticeTitle",
736
+ text: "公告标题",
737
+ attr: {
738
+ width: "180"
739
+ },
740
+ edit: true
741
+ }, {
742
+ prop: "noticeType",
743
+ text: "公告类型",
744
+ attr: {
745
+ minWidth: "110"
746
+ },
747
+ edit: true,
748
+ type: "select",
749
+ options: [{
750
+ label: "1",
751
+ value: "1"
752
+ }, {
753
+ label: "2",
754
+ value: "2"
755
+ }]
756
+ }, {
757
+ prop: "remark",
758
+ text: "备注",
759
+ attr: {
760
+ minWidth: "110"
761
+ },
762
+ edit: true
763
+ }, {
764
+ prop: "noticeContent",
765
+ text: "自定义html",
766
+ attr: {
767
+ minWidth: "110"
768
+ },
769
+ edit: true
770
+ }, {
771
+ prop: "product",
772
+ text: "产品",
773
+ attr: {
774
+ minWidth: "110"
775
+ },
776
+ edit: true,
777
+ type: "checkbox",
778
+ options: [{
779
+ label: "1",
780
+ value: "1"
781
+ }, {
782
+ label: "2",
783
+ value: "2"
784
+ }]
785
+ }, {
786
+ prop: "date",
787
+ text: "日期",
788
+ attr: {
789
+ minWidth: "110"
790
+ },
791
+ edit: true,
792
+ type: "date",
793
+ required: false
794
+ }, {
795
+ prop: "status",
796
+ text: "锁定",
797
+ attr: {
798
+ minWidth: "110"
799
+ },
800
+ edit: true,
801
+ type: "switch"
802
+ }, {
803
+ prop: "search",
804
+ text: "搜索",
805
+ attr: {
806
+ minWidth: "110"
807
+ },
808
+ edit: true,
809
+ type: "mixInput",
810
+ cb: function cb(row) {
811
+ console.log(row);
812
+ }
813
+ }, {
814
+ prop: "opt",
815
+ text: "操作",
816
+ attr: {
817
+ minWidth: "110"
818
+ },
819
+ edit: true
820
+ }],
821
+ data: []
822
+ }
823
+ };
824
+ },
825
+ watch: {},
826
+ created: function created() {
827
+ var _this = this;
828
+ console.log(this.entity);
829
+ //有可编辑表格的情况下
830
+ if (this.tableSetting.visible) {
831
+ /** 查询列表 */
832
+ Object(common["q" /* listEntity */])(this.tableSetting.moduleName, this.tableSetting.serviceName, {
833
+ pageNum: 1,
834
+ pageSize: 999,
835
+ totalPages: 1,
836
+ total: 0,
837
+ orderBy: "id"
838
+ }, "list").then(function (response) {
839
+ _this.tableSetting.data = response.rows;
840
+ _this.tableSetting.tableFormShow = true;
841
+ });
842
+ }
843
+ this.setting.labelWidth = this.setting.labelWidth || "100px";
844
+ },
845
+ mounted: function mounted() {},
846
+ activated: function activated() {},
847
+ methods: {
848
+ //当前绑定实体字段值变更事件
849
+ onChangeEvent: function onChangeEvent(args) {
850
+ //args: { property: this.column.property, value: value, entity: this.entity, column: this.column }
851
+ //console.log(args);
852
+ },
853
+ //表格数据
854
+ submit: function submit(res) {
855
+ console.log(res);
856
+ this.tableSetting.tableList = res;
857
+ },
858
+ // 取消按钮
859
+ cancel: function cancel() {
860
+ this.setting.isShow = false;
861
+ },
862
+ // 表单重置
863
+ reset: function reset() {
864
+ var _iterator = Object(createForOfIteratorHelper["a" /* default */])(this.columns),
865
+ _step;
866
+ try {
867
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
868
+ var column = _step.value;
869
+ this.entity[column.property] = column.default;
870
+ }
871
+ } catch (err) {
872
+ _iterator.e(err);
873
+ } finally {
874
+ _iterator.f();
875
+ }
876
+ this.resetForm("entity");
877
+ },
878
+ /** 提交按钮 */
879
+ submitForm: function submitForm() {
880
+ var self = this;
881
+ //判断是否有可编辑table
882
+ if (this.tableSetting.visible) {
883
+ this.$refs.tableForm.submit(); //列表数据赋值this.tableSetting.tableList
884
+ }
885
+
886
+ this.setting.submitLoading = true;
887
+ this.$refs["entity"].validate(function (valid) {
888
+ console.log(valid);
889
+ if (valid) {
890
+ // this.$emit("confirm",result);
891
+ }
892
+ });
893
+ this.setting.submitLoading = false;
894
+ }
895
+ }
896
+ });
897
+ // CONCATENATED MODULE: ../common/src/views/sample/dialog/sampleEditDialog.vue?vue&type=script&lang=js&
898
+ /* harmony default export */ var dialog_sampleEditDialogvue_type_script_lang_js_ = (sampleEditDialogvue_type_script_lang_js_);
899
+ // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
900
+ var componentNormalizer = __webpack_require__("2877");
901
+
902
+ // CONCATENATED MODULE: ../common/src/views/sample/dialog/sampleEditDialog.vue
903
+
904
+
905
+
906
+
907
+
908
+ /* normalize component */
909
+
910
+ var component = Object(componentNormalizer["a" /* default */])(
911
+ dialog_sampleEditDialogvue_type_script_lang_js_,
912
+ render,
913
+ staticRenderFns,
914
+ false,
915
+ null,
916
+ null,
917
+ null
918
+
919
+ )
920
+
921
+ /* harmony default export */ var sampleEditDialog = __webpack_exports__["a"] = (component.exports);
922
+
923
+ /***/ }),
924
+
925
+ /***/ "f265":
926
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
927
+
928
+ "use strict";
929
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_wfDialog_vue_vue_type_style_index_0_id_a313f0b0_prod_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a3cf");
930
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_wfDialog_vue_vue_type_style_index_0_id_a313f0b0_prod_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_wfDialog_vue_vue_type_style_index_0_id_a313f0b0_prod_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
931
+ /* unused harmony reexport * */
932
+
933
+
934
+ /***/ }),
935
+
936
+ /***/ "f30b":
937
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
938
+
939
+ "use strict";
940
+
941
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"efdf055a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/base/dialog/wfDialog.vue?vue&type=template&id=a313f0b0&scoped=true&
942
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('iframe',{staticStyle:{"width":"100%","height":"calc(100vh - 87px)","border":"none"},attrs:{"scrolling":"no","src":_vm.wfUrl}})])}
943
+ var staticRenderFns = []
944
+
945
+
946
+ // CONCATENATED MODULE: ./src/components/base/dialog/wfDialog.vue?vue&type=template&id=a313f0b0&scoped=true&
947
+
948
+ // EXTERNAL MODULE: ./node_modules/tslib/tslib.es6.js
949
+ var tslib_es6 = __webpack_require__("9ab4");
950
+
951
+ // EXTERNAL MODULE: ../common/src/utils/auth.js
952
+ var auth = __webpack_require__("25e0");
953
+
954
+ // EXTERNAL MODULE: ../common/src/api/common/common.js + 6 modules
955
+ var common = __webpack_require__("f48f");
956
+
957
+ // EXTERNAL MODULE: ./node_modules/vue-property-decorator/lib/index.js + 15 modules
958
+ var lib = __webpack_require__("1b40");
959
+
960
+ // CONCATENATED MODULE: ./node_modules/tslint-loader!./node_modules/ts-loader??ref--15-0!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/base/dialog/wfDialog.vue?vue&type=script&lang=ts&
961
+
962
+
963
+
964
+
965
+ var wfDialogvue_type_script_lang_ts_WfDialog = (function (_super) {
966
+ Object(tslib_es6["d" /* __extends */])(WfDialog, _super);
967
+ function WfDialog() {
968
+ var _this = _super !== null && _super.apply(this, arguments) || this;
969
+ _this.loading = false;
970
+ _this.pkField = "id";
971
+ _this.wfUrl = "";
972
+ _this.url = "";
973
+ return _this;
974
+ }
975
+ WfDialog.prototype.created = function () {
976
+ var paramName = "flowWorkOrderId";
977
+ console.log(this.setting);
978
+ if (this.setting.wfWorkOrderId.toString().indexOf("-") > -1)
979
+ paramName = "processInstanceId";
980
+ var self = this;
981
+ Object(common["d" /* getConfigUrl */])("WfUrl").then(function (res) {
982
+ self.wfUrl =
983
+ "http://" +
984
+ (res.data || res.msg) +
985
+ "/#/thirdParty/wfView?appId=ruoyi&".concat(paramName, "=").concat(self.setting.wfWorkOrderId, "&token=").concat(Object(auth["a" /* getToken */])());
986
+ });
987
+ };
988
+ WfDialog.prototype.onChangeEvent = function (args) {
989
+ };
990
+ WfDialog.prototype.submit = function (res) {
991
+ var self = this;
992
+ this.setting.submitLoading = false;
993
+ };
994
+ WfDialog.prototype.cancel = function () {
995
+ this.setting.isShow = false;
996
+ };
997
+ WfDialog.prototype.submitForm = function () {
998
+ var self = this;
999
+ this.setting.submitLoading = true;
1000
+ this.$refs["entity"].validate(function (valid) {
1001
+ if (valid) {
1002
+ }
1003
+ });
1004
+ this.setting.submitLoading = false;
1005
+ };
1006
+ Object(tslib_es6["c" /* __decorate */])([
1007
+ Object(lib["b" /* Prop */])(),
1008
+ Object(tslib_es6["f" /* __metadata */])("design:type", Object)
1009
+ ], WfDialog.prototype, "value", void 0);
1010
+ Object(tslib_es6["c" /* __decorate */])([
1011
+ Object(lib["b" /* Prop */])(),
1012
+ Object(tslib_es6["f" /* __metadata */])("design:type", Object)
1013
+ ], WfDialog.prototype, "setting", void 0);
1014
+ WfDialog = Object(tslib_es6["c" /* __decorate */])([
1015
+ lib["a" /* Component */]
1016
+ ], WfDialog);
1017
+ return WfDialog;
1018
+ }(lib["c" /* Vue */]));
1019
+ /* harmony default export */ var wfDialogvue_type_script_lang_ts_ = (wfDialogvue_type_script_lang_ts_WfDialog);
1020
+
1021
+ // CONCATENATED MODULE: ./src/components/base/dialog/wfDialog.vue?vue&type=script&lang=ts&
1022
+ /* harmony default export */ var dialog_wfDialogvue_type_script_lang_ts_ = (wfDialogvue_type_script_lang_ts_);
1023
+ // EXTERNAL MODULE: ./src/components/base/dialog/wfDialog.vue?vue&type=style&index=0&id=a313f0b0&prod&scoped=true&lang=css&
1024
+ var wfDialogvue_type_style_index_0_id_a313f0b0_prod_scoped_true_lang_css_ = __webpack_require__("f265");
1025
+
1026
+ // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
1027
+ var componentNormalizer = __webpack_require__("2877");
1028
+
1029
+ // CONCATENATED MODULE: ./src/components/base/dialog/wfDialog.vue
1030
+
1031
+
1032
+
1033
+
1034
+
1035
+
1036
+ /* normalize component */
1037
+
1038
+ var component = Object(componentNormalizer["a" /* default */])(
1039
+ dialog_wfDialogvue_type_script_lang_ts_,
1040
+ render,
1041
+ staticRenderFns,
1042
+ false,
1043
+ null,
1044
+ "a313f0b0",
1045
+ null
1046
+
1047
+ )
1048
+
1049
+ /* harmony default export */ var wfDialog = __webpack_exports__["a"] = (component.exports);
1050
+
1051
+ /***/ })
1052
+
1053
+ }]);