@syzh-syzh/base 0.0.59 → 0.0.60

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 (128) hide show
  1. package/dist/chunks/{Dept-BrNZrI_Y.js → Dept-U5NSeIas.js} +1 -1
  2. package/dist/chunks/{Depttype-DfwCMgVU.js → Depttype-B-lfjkwr.js} +1 -1
  3. package/dist/chunks/{Verify-aep_Ijek.js → Verify-C8YwTN8Z.js} +1 -1
  4. package/dist/chunks/{app-Brq_qCSu.js → app-92IGh_3f.js} +1 -1
  5. package/dist/chunks/{apps-DlpQFL-U.js → apps-Cf9UZ3fm.js} +1 -1
  6. package/dist/chunks/{areadept-B2URbiOT.js → areadept-t8oZdXXk.js} +1 -1
  7. package/dist/chunks/{cfgtype-BaKlnYCK.js → cfgtype-M6NyKuu7.js} +1 -1
  8. package/dist/chunks/{col-BTgiN6LO.js → col-CVCZoTpC.js} +1 -1
  9. package/dist/chunks/{daibanevent-DTST38sj.js → daibanevent-C3CKH-IR.js} +1 -1
  10. package/dist/chunks/{data-D1nsPn3O.js → data--7_Cdmcu.js} +1 -1
  11. package/dist/chunks/{data-ooGBGt4a.js → data-BCOtaLAj.js} +1 -1
  12. package/dist/chunks/{dayjs.min-ryYW0VOo.js → dayjs.min-Ctgn_bP1.js} +1 -1
  13. package/dist/chunks/{deptgxfw-p3hnEnSo.js → deptgxfw-7SslNCeN.js} +1 -1
  14. package/dist/chunks/detail-BOumcElN.js +1 -0
  15. package/dist/chunks/{dict-BW1VOoR1.js → dict-CVpUarJ1.js} +1 -1
  16. package/dist/chunks/{dict-PRQalw5b.js → dict-DctgteYk.js} +1 -1
  17. package/dist/chunks/{dispose-DUhxHW4Z.js → dispose-CSETDp_U.js} +1 -1
  18. package/dist/chunks/{eventfb-B1xUov2F.js → eventfb-Cmsd86t8.js} +1 -1
  19. package/dist/chunks/{eventsource-DcqbdWoA.js → eventsource-D6A7ZHIH.js} +1 -1
  20. package/dist/chunks/{gaopinevent-Bfj_PXnG.js → gaopinevent-DqEc9NSo.js} +1 -1
  21. package/dist/chunks/{grade-Br-D9tNc.js → grade-DWTO1khD.js} +1 -1
  22. package/dist/chunks/{grid-table-TUX7yeBL.js → grid-table-C4bW0hYm.js} +1 -1
  23. package/dist/chunks/{griddept-Ds19DU6D.js → griddept-BLM3vgyv.js} +1 -1
  24. package/dist/chunks/{gridgrid-CKem1qEc.js → gridgrid-BG1YKOZd.js} +1 -1
  25. package/dist/chunks/{gridtype-jR1wNIMG.js → gridtype-CvgrhmHi.js} +1 -1
  26. package/dist/chunks/{home-CxAugs4P.js → home-DL-rvcBg.js} +1 -1
  27. package/dist/chunks/{index-Bs1e3KL0.js → index-0KCL5AOA.js} +1 -1
  28. package/dist/chunks/{index-DzqNhxR0.js → index-0t_doEXv.js} +1 -1
  29. package/dist/chunks/{index-DglhTEbT.js → index-5ea9DMUi.js} +1 -1
  30. package/dist/chunks/{index-ClWAVNa4.js → index-8C7dOS2Y.js} +1 -1
  31. package/dist/chunks/{index-D8irgFv-.js → index-B0WDP6sq.js} +1 -1
  32. package/dist/chunks/{index-CZkiY68g.js → index-B3KGk9fq.js} +1 -1
  33. package/dist/chunks/{index-B7csk0Sn.js → index-B7oUMJLF.js} +1 -1
  34. package/dist/chunks/{index-oFkjR85e.js → index-BCvkeKcK.js} +1 -1
  35. package/dist/chunks/{index-BxE4jPbz.js → index-BG8kNtlJ.js} +1 -1
  36. package/dist/chunks/{index-BW16ut3M.js → index-BH5be_-Q.js} +1 -1
  37. package/dist/chunks/{index-Di6SoWC9.js → index-BNW11af-.js} +1 -1
  38. package/dist/chunks/{index-CeM9hvVS.js → index-BO_svKgP.js} +1 -1
  39. package/dist/chunks/{index-ByYYUAHn.js → index-BXM3HYNn.js} +1 -1
  40. package/dist/chunks/{index-Cqq2LaK3.js → index-BZfnHYMM.js} +1 -1
  41. package/dist/chunks/{index-BjUzHy8f.js → index-Bc9XpR6c.js} +1 -1
  42. package/dist/chunks/{index-Bk82LxfN.js → index-BdmbB7Dt.js} +1 -1
  43. package/dist/chunks/{index-D_jn99Wj.js → index-BiykGTjb.js} +1 -1
  44. package/dist/chunks/{index-D5pze67o.js → index-BnvI01qX.js} +1 -1
  45. package/dist/chunks/index-BqWzolun.js +1 -0
  46. package/dist/chunks/{index-DIWEb6li.js → index-Bv78cBsF.js} +1 -1
  47. package/dist/chunks/{index-dr7PRzEq.js → index-Bwv1jzRk.js} +1 -1
  48. package/dist/chunks/{index-Da_iF7pX.js → index-C-DfJ-as.js} +1 -1
  49. package/dist/chunks/{index-Dd7cfvrW.js → index-CA177ZZJ.js} +1 -1
  50. package/dist/chunks/{index-WJoZQPpQ.js → index-CD5E8008.js} +1 -1
  51. package/dist/chunks/{index-CgKtXQ-Y.js → index-CK7eDEwy.js} +1 -1
  52. package/dist/chunks/{index-DVwJgj07.js → index-CX3f5hI1.js} +1 -1
  53. package/dist/chunks/{index-DXU0nxXp.js → index-Cbt_-PEb.js} +1 -1
  54. package/dist/chunks/{index-DO8vUZ_M.js → index-Cv8gwS9M.js} +1 -1
  55. package/dist/chunks/{index-CKTLYUJv.js → index-CxskaT_s.js} +1 -1
  56. package/dist/chunks/{index-DQRiXlDB.js → index-D2Y7K18y.js} +1 -1
  57. package/dist/chunks/{index-Bn0u6dtT.js → index-D4hXxARm.js} +1 -1
  58. package/dist/chunks/{index-DWtSXHEH.js → index-D7V80Rf4.js} +1 -1
  59. package/dist/chunks/{index-DG93nlE2.js → index-DGKB9FYX.js} +1 -1
  60. package/dist/chunks/{index-bdmzAPlf.js → index-DIkpyiFp.js} +1 -1
  61. package/dist/chunks/{index-BqWn7SPi.js → index-DKfalxrG.js} +1 -1
  62. package/dist/chunks/{index-DrJPhgtI.js → index-DM0m4s_Y.js} +1 -1
  63. package/dist/chunks/{index-BV2vcAzU.js → index-DPoyJPr7.js} +1 -1
  64. package/dist/chunks/{index-BViKokxT.js → index-DUt1-bH3.js} +1 -1
  65. package/dist/chunks/{index-BCovAtOH.js → index-DY1z1lk4.js} +1 -1
  66. package/dist/chunks/{index-COGkFRS6.js → index-Da-IRvj4.js} +1 -1
  67. package/dist/chunks/{index-T-KJdsq7.js → index-DgtRTp4G.js} +1 -1
  68. package/dist/chunks/{index-uu4kxOEu.js → index-Dt1bGl1j.js} +1 -1
  69. package/dist/chunks/{index-Pwp1Fcf3.js → index-DwQgKGv3.js} +1 -1
  70. package/dist/chunks/{index-C7pyWDTW.js → index-Dy8V0Qxj.js} +1 -1
  71. package/dist/chunks/{index-BON_Bgzs.js → index-GXpUONgX.js} +1 -1
  72. package/dist/chunks/{index-BAO47B40.js → index-JxJIOHPU.js} +1 -1
  73. package/dist/chunks/{index-_cIbwvYL.js → index-_T8pK6_d.js} +1 -1
  74. package/dist/chunks/{index-Bzbpowp1.js → index-iMjmou2D.js} +1 -1
  75. package/dist/chunks/{index-B0y5yl7Y.js → index-ku_pt0z_.js} +1 -1
  76. package/dist/chunks/{index-BcMYLZgY.js → index-lYSvgkXd.js} +1 -1
  77. package/dist/chunks/{index-zkAK7p-W.js → index-mKbiWJUP.js} +1 -1
  78. package/dist/chunks/{index-TMF-g2xI.js → index-pnqPVw09.js} +1 -1
  79. package/dist/chunks/{index-WEx3jez-.js → index-xJvC4qZl.js} +1 -1
  80. package/dist/chunks/{logLogin-DH25oNW7.js → logLogin-BYY2FwI3.js} +1 -1
  81. package/dist/chunks/{logMqysmsg-WzhfviBy.js → logMqysmsg-BlWyseZ-.js} +1 -1
  82. package/dist/chunks/{logMsg-CoSpicZ0.js → logMsg-zvvERbnF.js} +1 -1
  83. package/dist/chunks/{logQuartz-BLRj5Afq.js → logQuartz-Ba9neAVJ.js} +1 -1
  84. package/dist/chunks/{login-y-Aqemx7.js → login-BeYiniIX.js} +1 -1
  85. package/dist/chunks/{logmqerror-CCkPB4fl.js → logmqerror-DGqMHHUN.js} +1 -1
  86. package/dist/chunks/{logoperate-BObWalmQ.js → logoperate-C3oVTFbI.js} +1 -1
  87. package/dist/chunks/{maparea-DDBYwvfS.js → maparea-Bu5egUJe.js} +1 -1
  88. package/dist/chunks/{nodeadd-6mNrQtcS.js → nodeadd-HrqJLjsz.js} +1 -1
  89. package/dist/chunks/{opradd-buIdgWe-.js → opradd-hxWXDm18.js} +1 -1
  90. package/dist/chunks/{oprauthadd-DvkHeR4w.js → oprauthadd-CanbU8_l.js} +1 -1
  91. package/dist/chunks/{oprtype-CeTv2dEE.js → oprtype-DQHu4p5c.js} +1 -1
  92. package/dist/chunks/{regions-B532MbGT.js → regions-Deb_EzJc.js} +1 -1
  93. package/dist/chunks/{regionstype-BvNpG-lU.js → regionstype-S-ugtpKe.js} +1 -1
  94. package/dist/chunks/{role-DPwU24u6.js → role-CTKBoD_n.js} +1 -1
  95. package/dist/chunks/{shangbaoevent-CwlRGkBh.js → shangbaoevent-CjsczULv.js} +1 -1
  96. package/dist/chunks/{shangbaoeventfl-8Cs59rfH.js → shangbaoeventfl-C4c5vB3L.js} +1 -1
  97. package/dist/chunks/{source-BrzRWuHq.js → source-1aR3yjWU.js} +1 -1
  98. package/dist/chunks/{sysholidays-oMMzs_wd.js → sysholidays-D4otBIy5.js} +1 -1
  99. package/dist/chunks/{sysright-manage-DwIiENDE.js → sysright-manage-CB8aWSRZ.js} +1 -1
  100. package/dist/chunks/{taskfx-BtfTog8F.js → taskfx-B0H7YWvy.js} +1 -1
  101. package/dist/chunks/{taskmatter-Cga1bG23.js → taskmatter-DIhUunlj.js} +1 -1
  102. package/dist/chunks/{tasknode-BCjTm4Xd.js → tasknode-TtKsdSgv.js} +1 -1
  103. package/dist/chunks/{tasknodelog-DGwHyLdu.js → tasknodelog-DcHBqXgt.js} +1 -1
  104. package/dist/chunks/{tasktype-CGwdFfYE.js → tasktype-DadVnKcK.js} +1 -1
  105. package/dist/chunks/{tzgg-B5YkFzXn.js → tzgg-CDayCEQn.js} +1 -1
  106. package/dist/chunks/{tzggtype-fm3xNhkd.js → tzggtype-Ce2LR3IV.js} +1 -1
  107. package/dist/chunks/{weather-DXjEXObs.js → weather-BiCEy6TX.js} +1 -1
  108. package/dist/chunks/{wfEventAdd-xHXZgw5T.js → wfEventAdd-BI35Lc62.js} +1 -1
  109. package/dist/chunks/{wfclass-BjlIm4Go.js → wfclass-DqwA3v4S.js} +1 -1
  110. package/dist/chunks/{wfdef-XT91X6vO.js → wfdef-VZxxKVwb.js} +1 -1
  111. package/dist/chunks/{wfeventall-B1Yu8wGm.js → wfeventall-DUoADLNn.js} +1 -1
  112. package/dist/chunks/{wfeventdone-BICPY-QS.js → wfeventdone-CARyWF3j.js} +1 -1
  113. package/dist/chunks/{wfeventlog-C4-Urw1o.js → wfeventlog-B4KDs5NA.js} +1 -1
  114. package/dist/chunks/{wfeventtask-CaZSsmbi.js → wfeventtask-PeRizxS8.js} +1 -1
  115. package/dist/chunks/{wfeventyqsqsp-CJR58xxR.js → wfeventyqsqsp-h0FI9IIB.js} +1 -1
  116. package/dist/chunks/{wfjixiao-DKtKYaSr.js → wfjixiao-CBUJZA5d.js} +1 -1
  117. package/dist/chunks/{wfnode-dX8p_TWL.js → wfnode-84CAeFmU.js} +1 -1
  118. package/dist/chunks/{wfopr-J2YPApRa.js → wfopr-hst47fpJ.js} +1 -1
  119. package/dist/chunks/{wfoprcfg-D6o2f5db.js → wfoprcfg-BANXtico.js} +1 -1
  120. package/dist/chunks/{wfyqsqcfg-hg2nB-2M.js → wfyqsqcfg-C2aOfmq6.js} +1 -1
  121. package/dist/chunks/{wfyqsqcfg-Fo6LTlew.js → wfyqsqcfg-Czme68Rt.js} +1 -1
  122. package/dist/chunks/{wfzdy-vHLpSgz8.js → wfzdy-CjGT-kr6.js} +1 -1
  123. package/dist/sybase.css +1 -1
  124. package/dist/sybase.js +1 -1
  125. package/dist/utils.js +1 -1
  126. package/package.json +3 -4
  127. package/dist/chunks/detail-CsIAssyj.js +0 -1
  128. package/dist/chunks/index-D0GBke5M.js +0 -1
package/dist/sybase.js CHANGED
@@ -1 +1 @@
1
- import{u as s,a as t}from"./chunks/index-zkAK7p-W.js";import{i as e,b as r}from"./chunks/index-zkAK7p-W.js";import{_ as o}from"./chunks/Verify-aep_Ijek.js";import{_ as n}from"./chunks/index-Bs1e3KL0.js";import{_ as a}from"./chunks/index-C7pyWDTW.js";import{_ as i}from"./chunks/index-Dd7cfvrW.js";import{_ as c}from"./chunks/index-BViKokxT.js";import{_ as p}from"./chunks/index-CwlWcOTQ.js";import{_ as u}from"./chunks/index-T-KJdsq7.js";import{_ as m}from"./chunks/index-WEx3jez-.js";import*as f from"@element-plus/icons-vue";import{a1 as l,a4 as d,a3 as g,n as j,a2 as k,ad as y,v,w as _,$ as w,ae as b,af as x,ag as S,ah as E,ai as q}from"./chunks/dict-PRQalw5b.js";import{ao as z,aj as O,ap as C,am as M,aq as R,as as T,al as P,o as L,ak as $,ar as A,an as U}from"./chunks/dict-PRQalw5b.js";import{ElMessage as D}from"element-plus";import{_ as N}from"./chunks/Dept-BrNZrI_Y.js";import{_ as I}from"./chunks/Depttype-DfwCMgVU.js";import{_ as V}from"./chunks/apps-DlpQFL-U.js";import{_ as B}from"./chunks/areadept-B2URbiOT.js";import{_ as W}from"./chunks/cfgtype-BaKlnYCK.js";import{_ as Q}from"./chunks/deptgxfw-p3hnEnSo.js";import{_ as H}from"./chunks/grade-Br-D9tNc.js";import{_ as F}from"./chunks/griddept-Ds19DU6D.js";import{_ as G}from"./chunks/gridgrid-CKem1qEc.js";import{_ as J}from"./chunks/gridtype-jR1wNIMG.js";import{_ as X}from"./chunks/home-CxAugs4P.js";import{_ as Y}from"./chunks/logLogin-DH25oNW7.js";import{_ as Z}from"./chunks/logMqysmsg-WzhfviBy.js";import{_ as K}from"./chunks/logMsg-CoSpicZ0.js";import{_ as ss}from"./chunks/logQuartz-BLRj5Afq.js";import{_ as ts}from"./chunks/logmqerror-CCkPB4fl.js";import{_ as es}from"./chunks/logoperate-BObWalmQ.js";import{_ as rs}from"./chunks/oprtype-CeTv2dEE.js";import{_ as os}from"./chunks/regions-B532MbGT.js";import{_ as ns}from"./chunks/regionstype-BvNpG-lU.js";import{_ as as}from"./chunks/role-DPwU24u6.js";import{_ as is}from"./chunks/source-BrzRWuHq.js";import{_ as cs}from"./chunks/sysholidays-oMMzs_wd.js";import{_ as ps}from"./chunks/taskfx-BtfTog8F.js";import{_ as us}from"./chunks/taskmatter-Cga1bG23.js";import{_ as ms}from"./chunks/tasknode-BCjTm4Xd.js";import{_ as fs}from"./chunks/tasknodelog-DGwHyLdu.js";import{_ as ls}from"./chunks/tasktype-CGwdFfYE.js";import{_ as ds}from"./chunks/tzgg-B5YkFzXn.js";import{_ as gs}from"./chunks/tzggtype-fm3xNhkd.js";import{_ as hs}from"./chunks/wfEventAdd-xHXZgw5T.js";import{_ as js}from"./chunks/wfclass-BjlIm4Go.js";import{_ as ks}from"./chunks/wfdef-XT91X6vO.js";import{_ as ys}from"./chunks/wfeventall-B1Yu8wGm.js";import{_ as vs}from"./chunks/wfeventdone-BICPY-QS.js";import{_ as _s}from"./chunks/wfeventlog-C4-Urw1o.js";import{_ as ws}from"./chunks/wfeventtask-CaZSsmbi.js";import{_ as bs}from"./chunks/wfeventyqsqsp-CJR58xxR.js";import{_ as xs}from"./chunks/wfjixiao-DKtKYaSr.js";import{_ as Ss}from"./chunks/wfnode-dX8p_TWL.js";import{_ as Es}from"./chunks/wfopr-J2YPApRa.js";import{_ as qs,i as zs}from"./chunks/wfoprcfg-D6o2f5db.js";import{_ as Os}from"./chunks/wfyqsqcfg-hg2nB-2M.js";import{_ as Cs}from"./chunks/wfzdy-vHLpSgz8.js";var Ms={install:s=>{for(const t in f){const e=f[t];s.component(e.name,e)}}},Rs={mounted(s,t,e){const{value:r}=t,o=l().permissions;if(!(r&&r instanceof Array&&r.length>0))throw new Error("请设置操作权限标签值");{const t=r;o.some(s=>"*:*:*"===s||t.includes(s))||s.parentNode&&s.parentNode.removeChild(s)}}},Ts={beforeMount(s,{value:t,arg:e}){if("callback"===e)s.$copyCallback=t;else{s.$copyValue=t,s.style.cursor="pointer";const e=()=>{!function(s,{target:t=document.body}={}){const e=document.createElement("textarea"),r=document.activeElement;e.value=s,e.setAttribute("readonly",""),e.style.contain="strict",e.style.position="absolute",e.style.left="-9999px",e.style.fontSize="12pt";const o=document.getSelection(),n=o.rangeCount>0&&o.getRangeAt(0);t.append(e),e.select(),e.selectionStart=0,e.selectionEnd=s.length;let a=!1;try{a=document.execCommand("copy")}catch{}e.remove(),n&&(o.removeAllRanges(),o.addRange(n));r&&r.focus()}(s.$copyValue),s.$copyCallback?s.$copyCallback(s.$copyValue):d.msgSuccess("复制成功:"+s.$copyValue)};s.addEventListener("click",e),s.$destroyCopy=()=>s.removeEventListener("click",e)}}};function Ps(s){s.directive("hasPermi",Rs),s.directive("copyText",Ts)}var Ls,$s={exports:{}};var As=/* @__PURE__ */g((Ls||(Ls=1,$s.exports=function(){var s,t,e={version:"0.2.0"},r=e.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function o(s,t,e){return s<t?t:s>e?e:s}function n(s){return 100*(-1+s)}function a(s,t,e){var o;return(o="translate3d"===r.positionUsing?{transform:"translate3d("+n(s)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+n(s)+"%,0)"}:{"margin-left":n(s)+"%"}).transition="all "+t+"ms "+e,o}e.configure=function(s){var t,e;for(t in s)void 0!==(e=s[t])&&s.hasOwnProperty(t)&&(r[t]=e);return this},e.status=null,e.set=function(s){var t=e.isStarted();s=o(s,r.minimum,1),e.status=1===s?null:s;var n=e.render(!t),p=n.querySelector(r.barSelector),u=r.speed,m=r.easing;return n.offsetWidth,i(function(t){""===r.positionUsing&&(r.positionUsing=e.getPositioningCSS()),c(p,a(s,u,m)),1===s?(c(n,{transition:"none",opacity:1}),n.offsetWidth,setTimeout(function(){c(n,{transition:"all "+u+"ms linear",opacity:0}),setTimeout(function(){e.remove(),t()},u)},u)):setTimeout(t,u)}),this},e.isStarted=function(){return"number"==typeof e.status},e.start=function(){e.status||e.set(0);var s=function(){setTimeout(function(){e.status&&(e.trickle(),s())},r.trickleSpeed)};return r.trickle&&s(),this},e.done=function(s){return s||e.status?e.inc(.3+.5*Math.random()).set(1):this},e.inc=function(s){var t=e.status;return t?("number"!=typeof s&&(s=(1-t)*o(Math.random()*t,.1,.95)),t=o(t+s,0,.994),e.set(t)):e.start()},e.trickle=function(){return e.inc(Math.random()*r.trickleRate)},s=0,t=0,e.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&e.start(),s++,t++,r.always(function(){0===--t?(s=0,e.done()):e.set((s-t)/s)}),this):this},e.render=function(s){if(e.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var o,a=t.querySelector(r.barSelector),i=s?"-100":n(e.status||0),p=document.querySelector(r.parent);return c(a,{transition:"all 0 linear",transform:"translate3d("+i+"%,0,0)"}),r.showSpinner||(o=t.querySelector(r.spinnerSelector))&&l(o),p!=document.body&&u(p,"nprogress-custom-parent"),p.appendChild(t),t},e.remove=function(){m(document.documentElement,"nprogress-busy"),m(document.querySelector(r.parent),"nprogress-custom-parent");var s=document.getElementById("nprogress");s&&l(s)},e.isRendered=function(){return!!document.getElementById("nprogress")},e.getPositioningCSS=function(){var s=document.body.style,t="WebkitTransform"in s?"Webkit":"MozTransform"in s?"Moz":"msTransform"in s?"ms":"OTransform"in s?"O":"";return t+"Perspective"in s?"translate3d":t+"Transform"in s?"translate":"margin"};var i=/* @__PURE__ */function(){var s=[];function t(){var e=s.shift();e&&e(t)}return function(e){s.push(e),1==s.length&&t()}}(),c=/* @__PURE__ */function(){var s=["Webkit","O","Moz","ms"],t={};function e(s){return s.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(s,t){return t.toUpperCase()})}function r(t){var e=document.body.style;if(t in e)return t;for(var r,o=s.length,n=t.charAt(0).toUpperCase()+t.slice(1);o--;)if((r=s[o]+n)in e)return r;return t}function o(s){return s=e(s),t[s]||(t[s]=r(s))}function n(s,t,e){t=o(t),s.style[t]=e}return function(s,t){var e,r,o=arguments;if(2==o.length)for(e in t)void 0!==(r=t[e])&&t.hasOwnProperty(e)&&n(s,e,r);else n(s,o[1],o[2])}}();function p(s,t){return("string"==typeof s?s:f(s)).indexOf(" "+t+" ")>=0}function u(s,t){var e=f(s),r=e+t;p(e,t)||(s.className=r.substring(1))}function m(s,t){var e,r=f(s);p(s,t)&&(e=r.replace(" "+t+" "," "),s.className=e.substring(1,e.length-1))}function f(s){return(" "+(s.className||"")+" ").replace(/\s+/gi," ")}function l(s){s&&s.parentNode&&s.parentNode.removeChild(s)}return e}()),$s.exports));As.configure({showSpinner:!1});const Us=["/login","/register","/test"],Ds=s=>Us.some(t=>_(t,s)),Ns={install(t,e){const r={router:null,store:null,whiteList:["/login"],loginPath:"/login",...e};if(console.log("%c routerrouter"," color:violet;font-size:20px",e,r),!r.router)return void console.error("Permission插件错误: router是必需的");const{router:o,loginPath:n}=r;o.beforeEach((t,e,r)=>{As.start(),j()?(t.meta.title&&k().setTitle(t.meta.title),t.path===n?(r({path:"/"}),As.done()):Ds(t.path)?r():0===l().permissions.length?(y.show=!0,l().getInfo().then(()=>{y.show=!1,l().getRights(),s().generateRoutes(o).then(s=>{s.forEach(s=>{if(!v(s.path))try{o.addRoute(s)}catch(t){console.error(t)}}),r({...t,replace:!0})})}).catch(s=>{l().logOut().then(()=>{D.error(s),r({path:"/"})})})):r()):Ds(t.path)?r():(r(`/login?redirect=${t.fullPath}`),As.done())}),o.afterEach(()=>{As.done()})}};var Is=/* @__PURE__ */Object.freeze({__proto__:null,listLogDetail:function(s){return w({url:`/wf/wfeventlognext/getbyid/${s}`,method:"get",params:s})},listLognext:function(s){return w({url:"/wf/wfeventlognext/getpagination",method:"get",params:s})}});const Vs=/* @__PURE__ */Object.assign({"/src/api/Cfg.js":q,"/src/api/Dept.js":N,"/src/api/Depttype.js":I,"/src/api/apps.js":V,"/src/api/areadept.js":B,"/src/api/cfgtype.js":W,"/src/api/deptgxfw.js":Q,"/src/api/dict.js":E,"/src/api/grade.js":H,"/src/api/griddept.js":F,"/src/api/gridgrid.js":G,"/src/api/gridtype.js":J,"/src/api/home.js":X,"/src/api/logLogin.js":Y,"/src/api/logMqysmsg.js":Z,"/src/api/logMsg.js":K,"/src/api/logQuartz.js":ss,"/src/api/login.js":S,"/src/api/logmqerror.js":ts,"/src/api/logoperate.js":es,"/src/api/menu.js":t,"/src/api/oprtype.js":rs,"/src/api/regions.js":os,"/src/api/regionstype.js":ns,"/src/api/right.js":x,"/src/api/role.js":as,"/src/api/source.js":is,"/src/api/sysholidays.js":cs,"/src/api/taskfx.js":ps,"/src/api/taskmatter.js":us,"/src/api/tasknode.js":ms,"/src/api/tasknodelog.js":fs,"/src/api/tasktype.js":ls,"/src/api/tzgg.js":ds,"/src/api/tzggtype.js":gs,"/src/api/user.js":b,"/src/api/wfEventAdd.js":hs,"/src/api/wfclass.js":js,"/src/api/wfdef.js":ks,"/src/api/wfeventall.js":ys,"/src/api/wfeventdone.js":vs,"/src/api/wfeventlog.js":_s,"/src/api/wfeventlognext.js":Is,"/src/api/wfeventtask.js":ws,"/src/api/wfeventyqsqsp.js":bs,"/src/api/wfjixiao.js":xs,"/src/api/wfnode.js":Ss,"/src/api/wfopr.js":Es,"/src/api/wfoprauth.js":zs,"/src/api/wfoprcfg.js":qs,"/src/api/wfyqsqcfg.js":Os,"/src/api/wfzdy.js":Cs}),Bs={};Object.keys(Vs).forEach(s=>{if("./index.js"===s||s.includes("/index.js"))return;const t=s.replace("/src/api/","").replace(".js",""),e=Vs[s];Bs[t]={},Object.keys(e).forEach(s=>{"function"==typeof e[s]&&(Bs[t][s]=e[s])}),e.default&&"object"==typeof e.default&&Object.keys(e.default).forEach(s=>{"function"==typeof e.default[s]&&(Bs[t][s]=e.default[s])})});const Ws=()=>Object.keys(Bs),Qs=()=>{const s={};return Object.keys(Bs).forEach(t=>{Object.keys(Bs[t]).forEach(e=>{s[e]=Bs[t][e]})}),s};Qs();export{w as $request,n as Amap,a as DictTag,u as Echarts,c as ImageUpload,e as Layout,m as Map,i as Pagination,p as RightToolbar,o as Verify,z as authdefault,O as axiosdefault,C as cachedefault,M as changeBaseURL,Ps as directive,R as downloaddefault,Ms as elementIcons,T as findAllByPath,P as getDown,Ws as getModuleNames,L as gridEditor,d as modaldefault,Ns as permissionPlugin,$ as postDown,A as setupRouter,Qs as structureAPI,Bs as sybaseAPI,U as tabdefault,r as updateModules,s as usePermissionStore,k as useSettingsStore,l as useUserStore};
1
+ import{u as s,a as t}from"./chunks/index-mKbiWJUP.js";import{i as e,b as r}from"./chunks/index-mKbiWJUP.js";import{_ as o}from"./chunks/Verify-C8YwTN8Z.js";import{_ as n}from"./chunks/index-0KCL5AOA.js";import{_ as a}from"./chunks/index-Dy8V0Qxj.js";import{_ as i}from"./chunks/index-CA177ZZJ.js";import{_ as c}from"./chunks/index-DUt1-bH3.js";import{_ as p}from"./chunks/index-CwlWcOTQ.js";import{_ as u}from"./chunks/index-DgtRTp4G.js";import{_ as m}from"./chunks/index-xJvC4qZl.js";import*as f from"@element-plus/icons-vue";import{a1 as l,a4 as d,a3 as g,n as j,a2 as k,ad as y,v,w as _,$ as w,ae as b,af as x,ag as S,ah as E,ai as q}from"./chunks/dict-DctgteYk.js";import{ao as z,aj as O,ap as C,am as M,aq as R,as as T,al as P,o as L,ak as $,ar as A,an as U}from"./chunks/dict-DctgteYk.js";import{ElMessage as D}from"element-plus";import{_ as N}from"./chunks/Dept-U5NSeIas.js";import{_ as I}from"./chunks/Depttype-B-lfjkwr.js";import{_ as V}from"./chunks/apps-Cf9UZ3fm.js";import{_ as B}from"./chunks/areadept-t8oZdXXk.js";import{_ as W}from"./chunks/cfgtype-M6NyKuu7.js";import{_ as Q}from"./chunks/deptgxfw-7SslNCeN.js";import{_ as H}from"./chunks/grade-DWTO1khD.js";import{_ as F}from"./chunks/griddept-BLM3vgyv.js";import{_ as G}from"./chunks/gridgrid-BG1YKOZd.js";import{_ as J}from"./chunks/gridtype-CvgrhmHi.js";import{_ as X}from"./chunks/home-DL-rvcBg.js";import{_ as Y}from"./chunks/logLogin-BYY2FwI3.js";import{_ as Z}from"./chunks/logMqysmsg-BlWyseZ-.js";import{_ as K}from"./chunks/logMsg-zvvERbnF.js";import{_ as ss}from"./chunks/logQuartz-Ba9neAVJ.js";import{_ as ts}from"./chunks/logmqerror-DGqMHHUN.js";import{_ as es}from"./chunks/logoperate-C3oVTFbI.js";import{_ as rs}from"./chunks/oprtype-DQHu4p5c.js";import{_ as os}from"./chunks/regions-Deb_EzJc.js";import{_ as ns}from"./chunks/regionstype-S-ugtpKe.js";import{_ as as}from"./chunks/role-CTKBoD_n.js";import{_ as is}from"./chunks/source-1aR3yjWU.js";import{_ as cs}from"./chunks/sysholidays-D4otBIy5.js";import{_ as ps}from"./chunks/taskfx-B0H7YWvy.js";import{_ as us}from"./chunks/taskmatter-DIhUunlj.js";import{_ as ms}from"./chunks/tasknode-TtKsdSgv.js";import{_ as fs}from"./chunks/tasknodelog-DcHBqXgt.js";import{_ as ls}from"./chunks/tasktype-DadVnKcK.js";import{_ as ds}from"./chunks/tzgg-CDayCEQn.js";import{_ as gs}from"./chunks/tzggtype-Ce2LR3IV.js";import{_ as hs}from"./chunks/wfEventAdd-BI35Lc62.js";import{_ as js}from"./chunks/wfclass-DqwA3v4S.js";import{_ as ks}from"./chunks/wfdef-VZxxKVwb.js";import{_ as ys}from"./chunks/wfeventall-DUoADLNn.js";import{_ as vs}from"./chunks/wfeventdone-CARyWF3j.js";import{_ as _s}from"./chunks/wfeventlog-B4KDs5NA.js";import{_ as ws}from"./chunks/wfeventtask-PeRizxS8.js";import{_ as bs}from"./chunks/wfeventyqsqsp-h0FI9IIB.js";import{_ as xs}from"./chunks/wfjixiao-CBUJZA5d.js";import{_ as Ss}from"./chunks/wfnode-84CAeFmU.js";import{_ as Es}from"./chunks/wfopr-hst47fpJ.js";import{_ as qs,i as zs}from"./chunks/wfoprcfg-BANXtico.js";import{_ as Os}from"./chunks/wfyqsqcfg-C2aOfmq6.js";import{_ as Cs}from"./chunks/wfzdy-CjGT-kr6.js";var Ms={install:s=>{for(const t in f){const e=f[t];s.component(e.name,e)}}},Rs={mounted(s,t,e){const{value:r}=t,o=l().permissions;if(!(r&&r instanceof Array&&r.length>0))throw new Error("请设置操作权限标签值");{const t=r;o.some(s=>"*:*:*"===s||t.includes(s))||s.parentNode&&s.parentNode.removeChild(s)}}},Ts={beforeMount(s,{value:t,arg:e}){if("callback"===e)s.$copyCallback=t;else{s.$copyValue=t,s.style.cursor="pointer";const e=()=>{!function(s,{target:t=document.body}={}){const e=document.createElement("textarea"),r=document.activeElement;e.value=s,e.setAttribute("readonly",""),e.style.contain="strict",e.style.position="absolute",e.style.left="-9999px",e.style.fontSize="12pt";const o=document.getSelection(),n=o.rangeCount>0&&o.getRangeAt(0);t.append(e),e.select(),e.selectionStart=0,e.selectionEnd=s.length;let a=!1;try{a=document.execCommand("copy")}catch{}e.remove(),n&&(o.removeAllRanges(),o.addRange(n));r&&r.focus()}(s.$copyValue),s.$copyCallback?s.$copyCallback(s.$copyValue):d.msgSuccess("复制成功:"+s.$copyValue)};s.addEventListener("click",e),s.$destroyCopy=()=>s.removeEventListener("click",e)}}};function Ps(s){s.directive("hasPermi",Rs),s.directive("copyText",Ts)}var Ls,$s={exports:{}};var As=/* @__PURE__ */g((Ls||(Ls=1,$s.exports=function(){var s,t,e={version:"0.2.0"},r=e.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function o(s,t,e){return s<t?t:s>e?e:s}function n(s){return 100*(-1+s)}function a(s,t,e){var o;return(o="translate3d"===r.positionUsing?{transform:"translate3d("+n(s)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+n(s)+"%,0)"}:{"margin-left":n(s)+"%"}).transition="all "+t+"ms "+e,o}e.configure=function(s){var t,e;for(t in s)void 0!==(e=s[t])&&s.hasOwnProperty(t)&&(r[t]=e);return this},e.status=null,e.set=function(s){var t=e.isStarted();s=o(s,r.minimum,1),e.status=1===s?null:s;var n=e.render(!t),p=n.querySelector(r.barSelector),u=r.speed,m=r.easing;return n.offsetWidth,i(function(t){""===r.positionUsing&&(r.positionUsing=e.getPositioningCSS()),c(p,a(s,u,m)),1===s?(c(n,{transition:"none",opacity:1}),n.offsetWidth,setTimeout(function(){c(n,{transition:"all "+u+"ms linear",opacity:0}),setTimeout(function(){e.remove(),t()},u)},u)):setTimeout(t,u)}),this},e.isStarted=function(){return"number"==typeof e.status},e.start=function(){e.status||e.set(0);var s=function(){setTimeout(function(){e.status&&(e.trickle(),s())},r.trickleSpeed)};return r.trickle&&s(),this},e.done=function(s){return s||e.status?e.inc(.3+.5*Math.random()).set(1):this},e.inc=function(s){var t=e.status;return t?("number"!=typeof s&&(s=(1-t)*o(Math.random()*t,.1,.95)),t=o(t+s,0,.994),e.set(t)):e.start()},e.trickle=function(){return e.inc(Math.random()*r.trickleRate)},s=0,t=0,e.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&e.start(),s++,t++,r.always(function(){0===--t?(s=0,e.done()):e.set((s-t)/s)}),this):this},e.render=function(s){if(e.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var o,a=t.querySelector(r.barSelector),i=s?"-100":n(e.status||0),p=document.querySelector(r.parent);return c(a,{transition:"all 0 linear",transform:"translate3d("+i+"%,0,0)"}),r.showSpinner||(o=t.querySelector(r.spinnerSelector))&&l(o),p!=document.body&&u(p,"nprogress-custom-parent"),p.appendChild(t),t},e.remove=function(){m(document.documentElement,"nprogress-busy"),m(document.querySelector(r.parent),"nprogress-custom-parent");var s=document.getElementById("nprogress");s&&l(s)},e.isRendered=function(){return!!document.getElementById("nprogress")},e.getPositioningCSS=function(){var s=document.body.style,t="WebkitTransform"in s?"Webkit":"MozTransform"in s?"Moz":"msTransform"in s?"ms":"OTransform"in s?"O":"";return t+"Perspective"in s?"translate3d":t+"Transform"in s?"translate":"margin"};var i=/* @__PURE__ */function(){var s=[];function t(){var e=s.shift();e&&e(t)}return function(e){s.push(e),1==s.length&&t()}}(),c=/* @__PURE__ */function(){var s=["Webkit","O","Moz","ms"],t={};function e(s){return s.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(s,t){return t.toUpperCase()})}function r(t){var e=document.body.style;if(t in e)return t;for(var r,o=s.length,n=t.charAt(0).toUpperCase()+t.slice(1);o--;)if((r=s[o]+n)in e)return r;return t}function o(s){return s=e(s),t[s]||(t[s]=r(s))}function n(s,t,e){t=o(t),s.style[t]=e}return function(s,t){var e,r,o=arguments;if(2==o.length)for(e in t)void 0!==(r=t[e])&&t.hasOwnProperty(e)&&n(s,e,r);else n(s,o[1],o[2])}}();function p(s,t){return("string"==typeof s?s:f(s)).indexOf(" "+t+" ")>=0}function u(s,t){var e=f(s),r=e+t;p(e,t)||(s.className=r.substring(1))}function m(s,t){var e,r=f(s);p(s,t)&&(e=r.replace(" "+t+" "," "),s.className=e.substring(1,e.length-1))}function f(s){return(" "+(s.className||"")+" ").replace(/\s+/gi," ")}function l(s){s&&s.parentNode&&s.parentNode.removeChild(s)}return e}()),$s.exports));As.configure({showSpinner:!1});const Us=["/login","/register","/test"],Ds=s=>Us.some(t=>_(t,s)),Ns={install(t,e){const r={router:null,store:null,whiteList:["/login"],loginPath:"/login",...e};if(console.log("%c routerrouter"," color:violet;font-size:20px",e,r),!r.router)return void console.error("Permission插件错误: router是必需的");const{router:o,loginPath:n}=r;o.beforeEach((t,e,r)=>{As.start(),j()?(t.meta.title&&k().setTitle(t.meta.title),t.path===n?(r({path:"/"}),As.done()):Ds(t.path)?r():0===l().permissions.length?(y.show=!0,l().getInfo().then(()=>{y.show=!1,l().getRights(),s().generateRoutes(o).then(s=>{s.forEach(s=>{if(!v(s.path))try{o.addRoute(s)}catch(t){console.error(t)}}),r({...t,replace:!0})})}).catch(s=>{l().logOut().then(()=>{D.error(s),r({path:"/"})})})):r()):Ds(t.path)?r():(r(`/login?redirect=${t.fullPath}`),As.done())}),o.afterEach(()=>{As.done()})}};var Is=/* @__PURE__ */Object.freeze({__proto__:null,listLogDetail:function(s){return w({url:`/wf/wfeventlognext/getbyid/${s}`,method:"get",params:s})},listLognext:function(s){return w({url:"/wf/wfeventlognext/getpagination",method:"get",params:s})}});const Vs=/* @__PURE__ */Object.assign({"/src/api/Cfg.js":q,"/src/api/Dept.js":N,"/src/api/Depttype.js":I,"/src/api/apps.js":V,"/src/api/areadept.js":B,"/src/api/cfgtype.js":W,"/src/api/deptgxfw.js":Q,"/src/api/dict.js":E,"/src/api/grade.js":H,"/src/api/griddept.js":F,"/src/api/gridgrid.js":G,"/src/api/gridtype.js":J,"/src/api/home.js":X,"/src/api/logLogin.js":Y,"/src/api/logMqysmsg.js":Z,"/src/api/logMsg.js":K,"/src/api/logQuartz.js":ss,"/src/api/login.js":S,"/src/api/logmqerror.js":ts,"/src/api/logoperate.js":es,"/src/api/menu.js":t,"/src/api/oprtype.js":rs,"/src/api/regions.js":os,"/src/api/regionstype.js":ns,"/src/api/right.js":x,"/src/api/role.js":as,"/src/api/source.js":is,"/src/api/sysholidays.js":cs,"/src/api/taskfx.js":ps,"/src/api/taskmatter.js":us,"/src/api/tasknode.js":ms,"/src/api/tasknodelog.js":fs,"/src/api/tasktype.js":ls,"/src/api/tzgg.js":ds,"/src/api/tzggtype.js":gs,"/src/api/user.js":b,"/src/api/wfEventAdd.js":hs,"/src/api/wfclass.js":js,"/src/api/wfdef.js":ks,"/src/api/wfeventall.js":ys,"/src/api/wfeventdone.js":vs,"/src/api/wfeventlog.js":_s,"/src/api/wfeventlognext.js":Is,"/src/api/wfeventtask.js":ws,"/src/api/wfeventyqsqsp.js":bs,"/src/api/wfjixiao.js":xs,"/src/api/wfnode.js":Ss,"/src/api/wfopr.js":Es,"/src/api/wfoprauth.js":zs,"/src/api/wfoprcfg.js":qs,"/src/api/wfyqsqcfg.js":Os,"/src/api/wfzdy.js":Cs}),Bs={};Object.keys(Vs).forEach(s=>{if("./index.js"===s||s.includes("/index.js"))return;const t=s.replace("/src/api/","").replace(".js",""),e=Vs[s];Bs[t]={},Object.keys(e).forEach(s=>{"function"==typeof e[s]&&(Bs[t][s]=e[s])}),e.default&&"object"==typeof e.default&&Object.keys(e.default).forEach(s=>{"function"==typeof e.default[s]&&(Bs[t][s]=e.default[s])})});const Ws=()=>Object.keys(Bs),Qs=()=>{const s={};return Object.keys(Bs).forEach(t=>{Object.keys(Bs[t]).forEach(e=>{s[e]=Bs[t][e]})}),s};Qs();export{w as $request,n as Amap,a as DictTag,u as Echarts,c as ImageUpload,e as Layout,m as Map,i as Pagination,p as RightToolbar,o as Verify,z as authdefault,O as axiosdefault,C as cachedefault,M as changeBaseURL,Ps as directive,R as downloaddefault,Ms as elementIcons,T as findAllByPath,P as getDown,Ws as getModuleNames,L as gridEditor,d as modaldefault,Ns as permissionPlugin,$ as postDown,A as setupRouter,Qs as structureAPI,Bs as sybaseAPI,U as tabdefault,r as updateModules,s as usePermissionStore,k as useSettingsStore,l as useUserStore};
package/dist/utils.js CHANGED
@@ -1 +1 @@
1
- import{C as a,D as s,E as e,a as r,_ as t,b as o,c as i,d as l,e as c,f as n,g as d,h as m,i as p,j as T,k as g,l as b,m as _,n as u,o as v,p as y,q as f,r as C,s as k,t as D,u as E,v as S,w as L,x,y as P,z as R,A as U,B as j,F as z,G as A,H,I as w,J as F,K as M,L as N,M as O,N as V,O as q,P as B,Q as G,R as I,S as J,T as K,U as Q,V as W,W as X,X as Y}from"./chunks/dict-PRQalw5b.js";import{u as Z}from"./chunks/dict-BW1VOoR1.js";var $=/* @__PURE__ */Object.freeze({__proto__:null,CoordTransform:a,Decrypt:s,Encrypt:e,Encrypt2:r,_code_chars:t,_code_color1:o,_code_color2:i,addDateRange:l,arrayToTree:c,blobValidate:n,business:d,checkS:m,flattenTree:p,getColor:T,getDarkColor:g,getLightColor:b,getNormalPath:_,getToken:u,gridEditor:v,handleThemeStyle:y,handleTree:f,hexToRgb:C,isArray:k,isEmpty:D,isExternal:E,isHttp:S,isPathMatch:L,isString:x,mergeRecursive:P,parseStrEmpty:R,parseTime:U,removeToken:j,replaceSidContent:z,resetForm:A,resetSize:H,rgbToHex:w,safeParse:F,scrollTo:M,selectDictLabel:N,selectDictLabels:O,setToken:V,sprintf:q,tansParams:B,useConfig:G,useDict:Z,useDynamicTitle:I,validAlphabets:J,validEmail:K,validLowerCase:Q,validURL:W,validUpperCase:X,validUsername:Y});export{$ as baseUtil};
1
+ import{C as a,D as s,E as e,a as r,_ as t,b as o,c as i,d as l,e as c,f as n,g as d,h as m,i as p,j as T,k as g,l as b,m as _,n as u,o as v,p as y,q as f,r as C,s as k,t as D,u as E,v as S,w as L,x,y as P,z as R,A as U,B as j,F as z,G as A,H,I as w,J as F,K as M,L as N,M as O,N as V,O as q,P as B,Q as G,R as I,S as J,T as K,U as Q,V as W,W as X,X as Y}from"./chunks/dict-DctgteYk.js";import{u as Z}from"./chunks/dict-CVpUarJ1.js";var $=/* @__PURE__ */Object.freeze({__proto__:null,CoordTransform:a,Decrypt:s,Encrypt:e,Encrypt2:r,_code_chars:t,_code_color1:o,_code_color2:i,addDateRange:l,arrayToTree:c,blobValidate:n,business:d,checkS:m,flattenTree:p,getColor:T,getDarkColor:g,getLightColor:b,getNormalPath:_,getToken:u,gridEditor:v,handleThemeStyle:y,handleTree:f,hexToRgb:C,isArray:k,isEmpty:D,isExternal:E,isHttp:S,isPathMatch:L,isString:x,mergeRecursive:P,parseStrEmpty:R,parseTime:U,removeToken:j,replaceSidContent:z,resetForm:A,resetSize:H,rgbToHex:w,safeParse:F,scrollTo:M,selectDictLabel:N,selectDictLabels:O,setToken:V,sprintf:q,tansParams:B,useConfig:G,useDict:Z,useDynamicTitle:I,validAlphabets:J,validEmail:K,validLowerCase:Q,validURL:W,validUpperCase:X,validUsername:Y});export{$ as baseUtil};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@syzh-syzh/base",
3
3
  "private": false,
4
- "version": "0.0.59",
4
+ "version": "0.0.60",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "files": [
@@ -70,17 +70,16 @@
70
70
  "copy-styles": "@powershell -Command \"if (!(Test-Path 'dist/assets/styles')) { New-Item -ItemType Directory -Path 'dist/assets/styles' -Force }; Copy-Item -Path 'src/assets/styles/*.scss' -Destination 'dist/assets/styles/' -Force\""
71
71
  },
72
72
  "dependencies": {
73
+ "ant-design-vue": "4.2.6",
73
74
  "clipboard": "^2.0.11",
74
75
  "crypto-js": "^4.2.0",
75
76
  "dayjs": "^1.11.13",
76
77
  "file-saver": "^2.0.5",
77
78
  "fuse.js": "^7.1.0",
78
- "insert-css": "^2.0.0",
79
79
  "js-cookie": "^3.0.5",
80
80
  "json5": "^2.2.3",
81
81
  "moment": "^2.30.1",
82
- "nprogress": "^0.2.0",
83
- "ant-design-vue": "4.2.6"
82
+ "nprogress": "^0.2.0"
84
83
  },
85
84
  "devDependencies": {
86
85
  "@amap/amap-jsapi-loader": "^1.0.1",
@@ -1 +0,0 @@
1
- import{shallowRef as e,reactive as t,toRefs as o,ref as l,watch as r,onBeforeUnmount as n,render as i,createVNode as a,createTextVNode as s,resolveComponent as d,provide as c,nextTick as u,onMounted as p,onUnmounted as g,resolveDirective as f,createElementBlock as m,openBlock as v,unref as k,withCtx as y,createElementVNode as x,toDisplayString as w,isRef as b,Fragment as _,renderList as j,normalizeClass as z,withDirectives as N,createBlock as S,withModifiers as A}from"vue";import{P as F,g as B}from"./splitpanes-h9OOw7VD.js";import{u as C}from"./app-Brq_qCSu.js";import{a3 as E,j as W,aN as D,a2 as q,t as J}from"./dict-PRQalw5b.js";import O from"./wfyqsqcfg-Fo6LTlew.js";import T from"./nodeadd-6mNrQtcS.js";import L from"./opradd-buIdgWe-.js";import{Graph as H,Shape as P}from"@antv/x6";import{Dnd as M}from"@antv/x6-plugin-dnd";import{Keyboard as I}from"@antv/x6-plugin-keyboard";import{Clipboard as U}from"@antv/x6-plugin-clipboard";import{History as V}from"@antv/x6-plugin-history";import{Transform as Y}from"@antv/x6-plugin-transform";import{Snapline as $}from"@antv/x6-plugin-snapline";import{u as R}from"./dict-BW1VOoR1.js";import{useRoute as X}from"vue-router";import{g as G,u as K,d as Q,a as Z,l as ee}from"./wfnode-dX8p_TWL.js";import{u as te,g as oe}from"./wfdef-XT91X6vO.js";import{_ as le}from"./lv-DL2oi67J.js";var re,ne={exports:{}};function ie(c,{addnodecall:u,addoprcall:p,updatenodecall:g,updateoprcall:f,tarsourchange:m,deletenodecall:v,deleteoprcall:k,updateJson:y,cloading:x}){const w={groups:{top:{position:"top",attrs:{circle:{r:4,magnet:!0,stroke:"#5F95FF",strokeWidth:1,fill:"#fff"}}},right:{position:"right",attrs:{circle:{r:4,magnet:!0,stroke:"#5F95FF",strokeWidth:1,fill:"#fff"}}},bottom:{position:"bottom",attrs:{circle:{r:4,magnet:!0,stroke:"#5F95FF",strokeWidth:1,fill:"#fff"}}},left:{position:"left",attrs:{circle:{r:4,magnet:!0,stroke:"#5F95FF",strokeWidth:1,fill:"#fff"}}}},items:[{group:"top"},{group:"right"},{group:"bottom"},{group:"left"}]},b=e({}),_=e({}),j=t({fill:W("--el-bg-color-page"),stroke:W("--el-color-primary"),textcolor:W("--el-text-color-primary")}),{fill:z,stroke:N,textcolor:S}=o(j),A=l(!1);r(A,e=>{e?document.body.addEventListener("click",E):document.body.removeEventListener("click",E)}),n(()=>{document.body.removeEventListener("click",E)});const F=()=>{x(!0),B()},B=D(()=>{console.log("%c graph.value.toJSON"," color:chartreuse;font-size:20px",b.value.toJSON()),y(b.value.toJSON())},1e3,{maxWait:5e3});function C(e,t,o,l){return a("ul",{style:{left:e+"px",top:t+"px",display:l},className:"contextmenu-custom"},[a("li",{onClick:()=>function(e){e.isNode()&&e.getData().nodeid&&g&&g(e);e.isEdge()&&e.getData().oprid&&f&&f(e)}(o)},[a(d("Edit"),{style:{height:"1.2em",width:"1.2em"}},null),s("修改")]),a("li",{onClick:()=>function(e){console.log("%c shanchu"," color:chartreuse;font-size:20px",e),e.isNode()&&e.getData().nodeid&&v&&v(e);e.isEdge()&&e.getData().oprid&&k&&k(e)}(o)},[a(d("Delete"),{style:{height:"1.2em",width:"1.2em"}},null),s("删除")])])}function E(){i(C(0,0,null,"none"),document.body),A.value=!1}const q={markup:[{tagName:"rect",selector:"labelBody"},{tagName:"text",selector:"labelText"}],attrs:{labelText:{text:"连线名称\n连线类型\n状态",fontSize:22,fill:"#000",textAnchor:"middle",textVerticalAnchor:"middle"},labelBody:{ref:"labelText",refX:-8,refY:-5,refWidth2:16,refHeight2:10,fill:W("--el-color-warning-dark-2"),stroke:W("--el-color-warning"),strokeWidth:2,rx:5,ry:5}},position:{distance:.3,args:{keepGradient:!0,ensureLegibility:!0}}},J={getCellById:function(e){return b.value?.getCellById(e)}};return{graph:b,edgelabel:q,huabuinit:function(e){H.registerNode("custom-rect",{inherit:"rect",width:132,height:72,attrs:{body:{strokeWidth:1,stroke:W("--el-color-primary"),fill:W("--el-bg-color-page")},text:{fontSize:16,fill:W("--el-text-color-primary")}},ports:{...w}},!0),H.registerNode("custom-polygon",{inherit:"polygon",width:46*2.4,height:46*2.4,attrs:{body:{strokeWidth:1,stroke:N.value,fill:z.value},text:{fontSize:16,fill:S.value}},ports:{...w,items:[{group:"top"},{group:"bottom"},{group:"left"},{group:"right"}]}},!0),H.registerNode("custom-circle",{inherit:"circle",width:101.2,height:101.2,attrs:{body:{strokeWidth:1,stroke:N.value,fill:z.value},text:{fontSize:16,fill:S.value}},ports:{...w}},!0),b.value=new H({container:c.value,autoResize:!0,grid:!0,background:{color:W("--el-bg-color-overlay")},connecting:{router:"orth",allowBlank:!1,allowLoop:!1,snap:{radius:20},createEdge:()=>new P.Edge({attrs:{line:{stroke:W("--el-color-primary"),strokeWidth:2,targetMarker:{name:"block",width:12,height:8}}},labels:[],zIndex:0})},panning:!0,mousewheel:!0}),b.value.use(new I).use(new U).use(new V).use(new Y({resizing:!0,rotating:!0})).use(new $),e&&b.value.fromJSON(e),b.value.on("cell:changed",e=>{F()}),b.value.on("cell:added",e=>{F()}),b.value.on("cell:removed",e=>{F()}),b.value.on("cell:contextmenu",({e:e,x:t,y:o,cell:l,view:r})=>{console.log("%c clickkkkkkkkkkkkkkkkkkkkkkkkk"," color:chartreuse;font-size:20px",e,t,o,l,r),i(C(e.clientX+5,e.clientY,l,"block"),document.body),A.value=!0}),b.value.on("edge:connected",e=>{console.log("%c edge:connected"," color:violet;font-size:20px",e);const t=e.edge.getSourceCell(),o=e.edge.getTargetCell();e.isNew?p&&p(t,o,e.edge):m&&m(t,o,e.edge)}),b.value.on("node:added",e=>{u&&u(e.cell)}),b.value.on("edge:mouseenter",({cell:e,edge:t})=>{t.addTools([{name:"segments",args:{snapRadius:20,attrs:{fill:"#3e0"}}},{name:"source-arrowhead"},{name:"target-arrowhead",args:{attrs:{fill:W("--el-color-danger")}}}])}),b.value.on("edge:mouseleave",({cell:e,edge:t})=>{t.removeTools()}),_.value=new M({target:b.value})},startDrag:(e,t)=>{console.log("%c startDrag"," color:violet;font-size:20px",e,t);const o=b.value.createNode({shape:"custom-rect",width:100,height:40,label:t.node_name,data:t});_.value.start(o,e)},bgchange:function(){b.value&&b.value.drawBackground({color:W("--el-bg-color-overlay")})},undo:function(){b.value.undoAndCancel()},cleanHistory:function(){b.value.cleanHistory()},startdrag:(e,t)=>{let o=t.dictlist_json?.svg;o=o||{height:36,rx:20,ry:20,type:"rect",viewBox:"0 0 70 40",width:66};let l={shape:`custom-${o.type}`,attrs:{body:{}},label:t.label,data:t};Object.keys(o).forEach(e=>{l.attrs.body["points"===e?"refPoints":e]=o[e]});const r=b.value.createNode(l);_.value.start(r,e)},x6util:J,debouncedFn:F}}/* @__PURE__ */E(function(){if(re)return ne.exports;re=1;var e=[],t=[];function o(o,l){if(l=l||{},void 0===o)throw new Error("insert-css: You need to provide a CSS string. Usage: insertCss(cssString[, options]).");var r,n=!0===l.prepend?"prepend":"append",i=void 0!==l.container?l.container:document.querySelector("head"),a=e.indexOf(i);return-1===a&&(a=e.push(i)-1,t[a]={}),void 0!==t[a]&&void 0!==t[a][n]?r=t[a][n]:(r=t[a][n]=function(){var e=document.createElement("style");return e.setAttribute("type","text/css"),e}(),"prepend"===n?i.insertBefore(r,i.childNodes[0]):i.appendChild(r)),65279===o.charCodeAt(0)&&(o=o.substr(1,o.length)),r.styleSheet?r.styleSheet.cssText+=o:r.textContent+=o,r}return ne.exports=o,ne.exports.insertCss=o,ne.exports}())("\n .contextmenu-custom {\n margin: 0;\n background: var(--el-bg-color-overlay, #fff);\n z-index: 3000;\n position: absolute;\n list-style-type: none;\n padding: 5px 0;\n border-radius: 4px;\n font-size: 12px;\n font-weight: 400;\n color: var(--tags-item-text, #333);\n box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, 0.3);\n border: 1px solid var(--el-border-color-light, #e4e7ed);\n }\n .contextmenu-custom\tli {\n margin: 0;\n padding: 7px 16px;\n cursor: pointer;\n display: flex;\n align-items: center;\n }\n .contextmenu-custom\tli:hover {\n background: var(--tags-item-hover, #eee);\n }\n .contextmenu-custom\tli svg {\n margin-right: 1em;\n }\n");const ae={class:"nodetypelist"},se=["onMousedown","height","viewBox"],de=["fill","stroke","points"],ce=["fill","stroke","cx","cy","r"],ue=["rx","ry","width","height","fill","stroke"],pe=["fill","stroke"],ge=["fill","transform"],fe={dy:"0.3em",class:"v-line"},me=["element-loading-background"];var ve=/* @__PURE__ */le({__name:"detail",setup(n){const{wf_nodenode_typeid:i,wf_nodenode_state:E}=R("wf_node@node_typeid","wf_node@node_state"),D=C(),H=X(),P=q(),M=e(),I=l(!1),U=l(W("--navbar-bg")),V=l(""),Y=l({}),$=l(["yanshi","nodetype"]);e({search:ee,add:Z,delete:Q,edit:K,detail:G});const le=t({fill:W("--el-bg-color-page"),stroke:W("--el-color-primary"),textcolor:W("--el-text-color-primary"),queryParams:{pageNo:1,pageSize:10,selectinfo:void 0,yqsqcfg_defid:void 0}}),{fill:re,stroke:ne,textcolor:ve,queryParams:he}=o(le),ke=e(),ye=e(),xe=e(),we=e(),{graph:be,edgelabel:_e,bgchange:je,huabuinit:ze,undo:Ne,cleanHistory:Se,startdrag:Ae,x6util:Fe,debouncedFn:Be}=ie(xe,{addnodecall:e=>ke.value.handleAdd(e),updatenodecall:e=>ke.value.handleUpdate(e),deletenodecall:e=>ke.value.handleDelete(e),addoprcall:(e,t,o)=>ye.value.handleAdd(e,t,o),updateoprcall:e=>ye.value.handleUpdate(e),tarsourchange:(e,t,o)=>ye.value.tarsourchange(e,t,o),deleteoprcall:e=>ye.value.handleDelete(e),updateJson:function(e){let t=JSON.parse(JSON.stringify(Y.value));J(t.def_json)&&(t.def_json={});t.def_json.viewjson=e,te(t).then(e=>{We(!1)}).catch(()=>{})},cloading:We}),{...Ce}=Fe;function Ee(){M.value.style.height=M.value.parentElement.clientHeight+"px"}function We(e=!1){I.value=e}return c("funcs",{cleanHistory:Se,...Ce}),c("edgelabel",_e),c("graph",be),r(()=>P.isDark,e=>{u(()=>{je()})}),p(()=>{var e;Ee(),window.addEventListener("resize",Ee),e=H.params?.defid,function(e){oe(e).then(e=>{Y.value=e,ze(Y.value?.def_json?.viewjson)})}(e)}),g(()=>{window.removeEventListener("resize",Ee)}),V.value=H.params?.defid,(e,t)=>{const o=d("el-collapse-item"),l=d("el-button"),r=d("el-collapse"),n=d("SuccessFilled"),c=f("hasPermi"),u=f("loading");return v(),m("div",{class:"app-container",ref_key:"appcontainer",ref:M},[a(k(F),{horizontal:"mobile"===k(D).device,class:"default-theme"},{default:y(()=>[a(k(B),{size:"15","max-size":"25","min-size":"5"},{default:y(()=>[x("h3",null,w(k(Y).def_name),1),a(r,{modelValue:k($),"onUpdate:modelValue":t[1]||(t[1]=e=>b($)?$.value=e:null)},{default:y(()=>[a(o,{name:"nodetype"},{title:y(({isActive:e})=>[x("div",{class:z(["title-wrapper",{"is-active":e}])},"节点类型",2)]),default:y(()=>[x("div",ae,[(v(!0),m(_,null,j(k(i),e=>(v(),m("svg",{onMousedown:t=>k(Ae)(t,e),height:1.3*e.dictlist_json?.svg.viewBox.split(" ")[3],"xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:e.dictlist_json?.svg.viewBox},[t[2]||(t[2]=x("defs",null,null,-1)),"polygon"===e.dictlist_json?.svg.type?(v(),m("polygon",{key:0,fill:k(re),stroke:k(ne),"stroke-width":"1",points:e.dictlist_json?.svg.points},null,8,de)):"circle"===e.dictlist_json?.svg.type?(v(),m("circle",{key:1,fill:k(re),stroke:k(ne),"stroke-width":"1",cx:e.dictlist_json?.svg.cx,cy:e.dictlist_json?.svg.cy,r:e.dictlist_json?.svg.r},null,8,ce)):"rect"===e.dictlist_json?.svg.type?(v(),m("rect",{key:2,"stroke-width":"1",rx:e.dictlist_json?.svg.rx,ry:e.dictlist_json?.svg.ry,width:e.dictlist_json?.svg.width,height:e.dictlist_json?.svg.height,transform:"translate(2,2)",fill:k(re),stroke:k(ne)},null,8,ue)):(v(),m("rect",{key:3,"stroke-width":"1",rx:"30",ry:"30",width:"66",height:"36",transform:"translate(2,2)",fill:k(re),stroke:k(ne)},null,8,pe)),x("text",{"font-size":"10","xml:space":"preserve",fill:k(ve),"text-anchor":"middle",transform:`matrix(1,0,0,1,${e.dictlist_json?.svg.viewBox.split(" ")[2]/2},${e.dictlist_json?.svg.viewBox.split(" ")[3]/2})`},[x("tspan",fe,w(e.dictlist_name),1)],8,ge)],40,se))),256))])]),_:1}),a(o,{name:"yanshi"},{title:y(({isActive:e})=>[x("div",{class:z(["title-wrapper",{"is-active":e}])},[t[4]||(t[4]=x("span",null,"延时配置",-1)),N((v(),S(l,{type:"primary",link:"",icon:"Plus",onClick:t[0]||(t[0]=A(()=>k(we).handleyanshiAdd(),["stop"]))},{default:y(()=>[...t[3]||(t[3]=[s("新增",-1)])]),_:1})),[[c,["SysWfdefAdd"]]])],2)]),default:y(()=>[a(O,{ref_key:"refWfyqsqcfg",ref:we},null,512)]),_:1})]),_:1},8,["modelValue"])]),_:1}),a(k(B),null,{default:y(()=>[N((v(),m("div",{id:"huabuloading","element-loading-background":k(U)},[a(n,{style:{height:"2em",color:"var(--el-color-success)"}})],8,me)),[[u,k(I)]]),x("div",{class:"huabu_container",ref_key:"huabu",ref:xe},null,512)]),_:1})]),_:1},8,["horizontal"]),a(k(T),{wfdef:k(Y),ref_key:"addnode",ref:ke,onAddsuccess:k(Be),onAddfail:k(Ne)},null,8,["wfdef","onAddsuccess","onAddfail"]),a(k(L),{wfdef:k(Y),ref_key:"addopr",ref:ye,onAddsuccess:k(Be),onAddfail:k(Ne)},null,8,["wfdef","onAddsuccess","onAddfail"])],512)}}},[["__scopeId","data-v-2ce94a9d"]]);export{ve as default};
@@ -1 +0,0 @@
1
- import{_ as e}from"./index-Dd7cfvrW.js";import{_ as l}from"./index-C7pyWDTW.js";import{_ as o}from"./index-CwlWcOTQ.js";import{ref as a,reactive as u,toRefs as t,resolveComponent as r,resolveDirective as s,createElementBlock as n,openBlock as i,withDirectives as d,createVNode as c,unref as p,withCtx as _,withKeys as m,Fragment as f,renderList as v,createBlock as b,createTextVNode as g,vShow as y,isRef as V,createCommentVNode as k,createElementVNode as w,toDisplayString as S}from"vue";import{u as j}from"./dict-BW1VOoR1.js";import{d as U}from"./dayjs.min-ryYW0VOo.js";import{g as C,d as x,r as q,a as E,e as N,b as D}from"./source-BrzRWuHq.js";import{a6 as J,G as P,a4 as R,t as z,J as O}from"./dict-PRQalw5b.js";const Y={class:"app-container"},H={class:"dialog-footer"},M={__name:"index",setup(M){const{wf_sourcesource_state:A,wf_sourcesource_usetypeid:G}=j("wf_source@source_state","wf_source@source_usetypeid"),I=U,K=a(),Q=a(),T=a([]),B=a(!1),F=a(!0),L=a(!0),W=a([]),X=a(!0),Z=a(0),$=a("");a([]);const ee=a([{key:0,label:"编号",visible:!0},{key:1,label:"名称",visible:!0},{key:2,label:"工作流编号",visible:!0},{key:3,label:"标记",visible:!0},{key:4,label:"状态",visible:!0},{key:5,label:"创建时间",visible:!0}]),le=u({form:{},queryParams:{pageNo:1,pageSize:10,selectinfo:void 0},rules:{source_no:[{required:!0,message:"编号不能为空",trigger:"blur"}],source_name:[{required:!0,message:"名称不能为空",trigger:"blur"}],source_defno:[{required:!0,message:"工作流编号不能为空",trigger:"blur"}],source_usetypeid:[{required:!0,message:"请选择使用类型",trigger:"blur"}],cfg_state:[{required:!0,message:"请选择状态",trigger:"blur"}]}}),{queryParams:oe,form:ae,rules:ue}=t(le);function te(){F.value=!0,C(oe.value).then(e=>{e.records&&0!=e.records.length?(T.value=e.records,Z.value=e.rowCount):(T.value=[],Z.value=0),F.value=!1})}function re(){se(),P(K.value),B.value=!1}function se(){P(K.value),ae.value={source_no:void 0,source_name:void 0,source_defno:void 0,source_usetypeid:1,source_state:1,source_json:void 0,source_sort:0,source_note:void 0}}function ne(){oe.value.pageNo=1,te()}function ie(){P(Q.value),ne()}function de(e){W.value=e.map(e=>e.sourceid),X.value=!e.length}function ce(){se(),B.value=!0,$.value="添加事件来源"}function pe(){K.value.validate(e=>{e&&(null!=ae.value.sourceid?N(_e()).then(e=>{R.msgSuccess("修改成功"),B.value=!1,te()}):D(_e()).then(e=>{R.msgSuccess("新增成功"),B.value=!1,te()}))})}function _e(){let e=JSON.parse(JSON.stringify(ae.value));var l;return l=z(e.source_json)?{}:O(e.source_json),e.source_json=l,e}function me(e){const l=e.sourceid?[e.sourceid]:W.value;R.confirm('是否确认删除编号为"'+l+'"的数据项?').then(()=>x(l)).then(()=>{te(),R.msgSuccess("删除成功")}).catch(()=>{})}function fe(){q().then(()=>{R.msgSuccess("刷新缓存成功")})}return te(),(a,u)=>{const t=r("el-input"),j=r("el-form-item"),U=r("el-option"),C=r("el-select"),x=r("el-button"),q=r("el-form"),N=r("el-col"),D=o,P=r("el-row"),R=r("el-table-column"),z=l,O=r("el-table"),M=e,W=r("el-radio"),le=r("el-radio-group"),_e=r("el-input-number"),ve=r("el-dialog"),be=s("hasPermi"),ge=s("loading");return i(),n("div",Y,[d(c(q,{model:p(oe),ref_key:"queryRef",ref:Q,inline:!0},{default:_(()=>[c(j,{prop:"selectinfo"},{default:_(()=>[c(t,{modelValue:p(oe).selectinfo,"onUpdate:modelValue":u[0]||(u[0]=e=>p(oe).selectinfo=e),placeholder:"请输入搜索内容",clearable:"",style:{width:"200px"},onKeyup:m(ne,["enter"])},null,8,["modelValue"])]),_:1}),c(j,{label:"状态",prop:"source_state"},{default:_(()=>[c(C,{modelValue:p(oe).source_state,"onUpdate:modelValue":u[1]||(u[1]=e=>p(oe).source_state=e),placeholder:"请选择状态",clearable:"",style:{width:"200px"}},{default:_(()=>[(i(!0),n(f,null,v(p(A),e=>(i(),b(U,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),c(j,null,{default:_(()=>[c(x,{type:"primary",icon:"Search",onClick:ne},{default:_(()=>[...u[14]||(u[14]=[g("搜索",-1)])]),_:1}),c(x,{icon:"Refresh",onClick:ie},{default:_(()=>[...u[15]||(u[15]=[g("重置",-1)])]),_:1})]),_:1})]),_:1},8,["model"]),[[y,p(L)]]),c(P,{gutter:10,class:"mb8"},{default:_(()=>[c(N,{span:1.5},{default:_(()=>[d((i(),b(x,{type:"primary",plain:"",icon:"Plus",onClick:ce},{default:_(()=>[...u[16]||(u[16]=[g("新增",-1)])]),_:1})),[[be,["EventSourceAdd"]]])]),_:1}),c(N,{span:1.5},{default:_(()=>[d((i(),b(x,{type:"danger",plain:"",icon:"Delete",disabled:p(X),onClick:me},{default:_(()=>[...u[17]||(u[17]=[g("删除",-1)])]),_:1},8,["disabled"])),[[be,["EventSourceDel"]]])]),_:1}),c(N,{span:1.5},{default:_(()=>[d((i(),b(x,{type:"danger",plain:"",icon:"Refresh",onClick:fe},{default:_(()=>[...u[18]||(u[18]=[g("刷新缓存",-1)])]),_:1})),[[be,["EventSourceRefresh"]]])]),_:1}),c(D,{showSearch:p(L),"onUpdate:showSearch":u[2]||(u[2]=e=>V(L)?L.value=e:null),onQueryTable:te,columns:p(ee)},null,8,["showSearch","columns"])]),_:1}),d((i(),b(O,{border:"",data:p(T),onSelectionChange:de},{default:_(()=>[c(R,{type:"selection",width:"55",align:"center"}),p(ee)[0].visible?(i(),b(R,{key:0,label:"编号",align:"center",prop:"source_no","show-overflow-tooltip":!0})):k("",!0),p(ee)[1].visible?(i(),b(R,{key:1,label:"名称",align:"center",prop:"source_name","show-overflow-tooltip":!0})):k("",!0),p(ee)[2].visible?(i(),b(R,{key:2,label:"工作流编号",align:"center",prop:"source_defno","show-overflow-tooltip":!0})):k("",!0),p(ee)[3].visible?(i(),b(R,{key:3,label:"标记",align:"center",prop:"source_usetypeid","show-overflow-tooltip":!0},{default:_(e=>[w("span",null,S(p(J)(p(G),l=>e.row.source_usetypeid==l.value).value?.label),1)]),_:1})):k("",!0),p(ee)[4].visible?(i(),b(R,{key:4,label:"状态",align:"center",width:"100",prop:"source_state"},{default:_(e=>[c(z,{options:p(A),value:e.row.source_state},null,8,["options","value"])]),_:1})):k("",!0),p(ee)[5].visible?(i(),b(R,{key:5,label:"创建时间",align:"center",prop:"source_create_time",width:"180"},{default:_(e=>[w("span",null,S(p(I)(e.row.source_create_time).format("YYYY-MM-DD HH:mm:ss")),1)]),_:1})):k("",!0),c(R,{label:"操作",align:"center",width:"150","class-name":"small-padding fixed-width"},{default:_(e=>[d((i(),b(x,{link:"",type:"primary",icon:"Edit",onClick:l=>function({sourceid:e}){se(),E(e).then(e=>{ae.value=e,ae.value.source_json=0===Object.keys(e.source_json).length?void 0:JSON.stringify(e.source_json),B.value=!0,$.value="修改事件来源"})}(e.row)},{default:_(()=>[...u[19]||(u[19]=[g("修改",-1)])]),_:2},1032,["onClick"])),[[be,["EventSourceEdit"]]]),d((i(),b(x,{link:"",type:"primary",icon:"Delete",onClick:l=>me(e.row)},{default:_(()=>[...u[20]||(u[20]=[g("删除",-1)])]),_:2},1032,["onClick"])),[[be,["EventSourceDel"]]])]),_:1})]),_:1},8,["data"])),[[ge,p(F)]]),d(c(M,{total:p(Z),page:p(oe).pageNo,"onUpdate:page":u[3]||(u[3]=e=>p(oe).pageNo=e),limit:p(oe).pageSize,"onUpdate:limit":u[4]||(u[4]=e=>p(oe).pageSize=e),onPagination:te},null,8,["total","page","limit"]),[[y,p(Z)>0]]),c(ve,{title:p($),modelValue:p(B),"onUpdate:modelValue":u[13]||(u[13]=e=>V(B)?B.value=e:null),width:"500px","align-center":"","append-to-body":"",draggable:""},{footer:_(()=>[w("div",H,[c(x,{type:"primary",onClick:pe},{default:_(()=>[...u[21]||(u[21]=[g("确 定",-1)])]),_:1}),c(x,{onClick:re},{default:_(()=>[...u[22]||(u[22]=[g("取 消",-1)])]),_:1})])]),default:_(()=>[c(q,{ref_key:"formRef",ref:K,model:p(ae),rules:p(ue),"label-width":"100px"},{default:_(()=>[c(j,{label:"编号",prop:"source_no"},{default:_(()=>[c(t,{modelValue:p(ae).source_no,"onUpdate:modelValue":u[5]||(u[5]=e=>p(ae).source_no=e),placeholder:"请输入编号"},null,8,["modelValue"])]),_:1}),c(j,{label:"名称",prop:"source_name"},{default:_(()=>[c(t,{modelValue:p(ae).source_name,"onUpdate:modelValue":u[6]||(u[6]=e=>p(ae).source_name=e),placeholder:"请输入名称"},null,8,["modelValue"])]),_:1}),c(j,{label:"工作流编号",prop:"source_defno"},{default:_(()=>[c(t,{modelValue:p(ae).source_defno,"onUpdate:modelValue":u[7]||(u[7]=e=>p(ae).source_defno=e),placeholder:"请输入工作流编号"},null,8,["modelValue"])]),_:1}),c(j,{label:"使用类型",prop:"source_usetypeid"},{default:_(()=>[c(le,{modelValue:p(ae).source_usetypeid,"onUpdate:modelValue":u[8]||(u[8]=e=>p(ae).source_usetypeid=e)},{default:_(()=>[(i(!0),n(f,null,v(p(G),e=>(i(),b(W,{key:e.value,value:e.value},{default:_(()=>[g(S(e.label),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])]),_:1}),c(j,{label:"状态",prop:"source_state"},{default:_(()=>[c(le,{modelValue:p(ae).source_state,"onUpdate:modelValue":u[9]||(u[9]=e=>p(ae).source_state=e)},{default:_(()=>[(i(!0),n(f,null,v(p(A),e=>(i(),b(W,{key:e.value,value:e.value},{default:_(()=>[g(S(e.label),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])]),_:1}),c(j,{label:"数据Json",prop:"source_json"},{default:_(()=>[c(t,{modelValue:p(ae).source_json,"onUpdate:modelValue":u[10]||(u[10]=e=>p(ae).source_json=e),placeholder:"请输入其他属性"},null,8,["modelValue"])]),_:1}),c(j,{label:"排序",prop:"source_sort"},{default:_(()=>[c(_e,{modelValue:p(ae).source_sort,"onUpdate:modelValue":u[11]||(u[11]=e=>p(ae).source_sort=e),"controls-position":"right",min:0},null,8,["modelValue"])]),_:1}),c(j,{label:"备注",prop:"source_note"},{default:_(()=>[c(t,{modelValue:p(ae).source_note,"onUpdate:modelValue":u[12]||(u[12]=e=>p(ae).source_note=e),autosize:"",type:"textarea",placeholder:"请输入备注信息"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["title","modelValue"])])}}};export{M as default};