ss-component-new 1.1.856 → 1.1.858
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.
- package/dist/icons/svg/dept.svg +1 -0
- package/dist/icons/svg/role.svg +1 -0
- package/dist/icons/svg/status.svg +1 -0
- package/dist/icons/svg/userAccount.svg +1 -0
- package/dist/{index-3eHAWx-Y.cjs → index-B2tngvak.cjs} +1 -1
- package/dist/index-B36tDKL5.cjs +1 -0
- package/dist/{index-C_o9qXkV.cjs → index-B4xAg7in.cjs} +1 -1
- package/dist/index-B5jubtMb.cjs +1 -0
- package/dist/{index-BU8_TLhs.js → index-B6YasoKH.js} +3 -3
- package/dist/{index-Cq049HdW.cjs → index-BFVfTk4f.cjs} +1 -1
- package/dist/{index-A1wOfykd.js → index-BJEDr-Ew.js} +2 -2
- package/dist/{index-B0P8iuWx.js → index-Bdqt26ye.js} +18 -17
- package/dist/{index-T3RK9GPC.cjs → index-Bk_LbTMv.cjs} +1 -1
- package/dist/{index-CWug0-M7.cjs → index-BoW6tUEX.cjs} +16 -16
- package/dist/{index-eKxsGg1_.js → index-Brk2nxzr.js} +7 -7
- package/dist/{index-An1wlQZM.cjs → index-BtL8XFPD.cjs} +1 -1
- package/dist/{index-DNXKnBGB.js → index-Byz2BJ7q.js} +1 -1
- package/dist/{index-CqeYj5Vg.cjs → index-C-exrFfj.cjs} +1 -1
- package/dist/{index-CqQ7fhpO.js → index-C0w86mCO.js} +2 -2
- package/dist/{index-C01vmx5u.js → index-C22eu4_B.js} +2 -2
- package/dist/index-C551toJ9.cjs +4 -0
- package/dist/{index-Bo_NK3Y6.cjs → index-C56vw5w-.cjs} +1 -1
- package/dist/index-CCSijwkv.js +92 -0
- package/dist/{index-8fxRjRTO.js → index-CNaGIPxQ.js} +18 -18
- package/dist/{index-CJ0UGtBF.js → index-COL0jGEj.js} +6 -6
- package/dist/{index-BRP3c13d.js → index-CTonG2Mw.js} +1 -1
- package/dist/{index-CN-Oj8br.cjs → index-C_ZpNb2U.cjs} +1 -1
- package/dist/{index-CLVGwceF.js → index-CeDatVCX.js} +1 -1
- package/dist/{index-OQUjDXMJ.js → index-CkDSDBRW.js} +13 -13
- package/dist/index-CoYkowUd.cjs +1 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-DPAWFgt6.cjs → index-D0Mf9kED.cjs} +1 -1
- package/dist/index-D1iZ1-nV.cjs +1 -0
- package/dist/{index-D1scWpWB.cjs → index-DPL7AvMz.cjs} +1 -1
- package/dist/{index-CkSuNnpp.js → index-DicWo6nZ.js} +36 -36
- package/dist/{index-D7sdLLnk.cjs → index-DjkHY2fG.cjs} +1 -1
- package/dist/{index-rJnRFwLG.js → index-DlA2BFSp.js} +579 -567
- package/dist/{index-O6ausDCl.js → index-Dsv4tiTt.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-CK6fBNaL.js → index-Dw0CwOd0.js} +45 -41
- package/dist/{index-BSulqYx4.js → index-Fz8ArOQJ.js} +1 -1
- package/dist/{index-BJ8SJPm5.js → index-JBiZJIgi.js} +1 -1
- package/dist/{index-CbYGSjpn.js → index-KNxE5uCq.js} +296 -296
- package/dist/{index-BvUWXpr2.cjs → index-KwGRybAW.cjs} +1 -1
- package/dist/{index-Cqci0W4X.js → index-O2KbW4gD.js} +25 -25
- package/dist/{index-DUebtlqA.cjs → index-emOKpHCH.cjs} +1 -1
- package/dist/{index-bRtUpg_r.js → index-f_8dHdbK.js} +1 -1
- package/dist/index-hZHhymBh.cjs +1 -0
- package/dist/{index-mu50ZMgP.js → index-hjEvzDdO.js} +1 -1
- package/dist/{index-CgU3HUAF.cjs → index-jukB2QLR.cjs} +1 -1
- package/dist/{index-DN4mbo3D.cjs → index-mAOt5n2w.cjs} +1 -1
- package/dist/{index-BACsDwqJ.js → index-neWfym5a.js} +8 -7
- package/dist/{index-TJ98uoyw.cjs → index-qF67sE8G.cjs} +1 -1
- package/dist/{index-C8p0UWA_.cjs → index-vyU7HxQP.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BrOl1Rny.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DaC93hNP.cjs} +56 -56
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-C4lESKl5.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-ustKSRmH.js} +1713 -1718
- package/dist/{index.vue_vue_type_style_index_0_scoped_54875f48_lang-DDu_LIRJ.js → index.vue_vue_type_style_index_0_scoped_54875f48_lang-BEqFyjms.js} +6 -6
- package/dist/{index.vue_vue_type_style_index_0_scoped_54875f48_lang-BQpsQRmL.cjs → index.vue_vue_type_style_index_0_scoped_54875f48_lang-Cmv2J10i.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-CxD4FkBC.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-91sqQUsK.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-D8VzYanC.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-BWIqPw4p.js} +4 -4
- package/dist/{index.vue_vue_type_style_index_1_lang-T1IjS6dG.js → index.vue_vue_type_style_index_1_lang-CRtMj6IS.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-5PxebgjG.cjs → index.vue_vue_type_style_index_1_lang-DN3A2jHu.cjs} +1 -1
- package/dist/{main-D4fTv9VN.js → main-CcUNzVs5.js} +2 -2
- package/dist/{main-DVLlMke5.cjs → main-eQaUkYRO.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +3 -3
- package/dist/ss-component.js +19 -19
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +11 -11
- package/dist/{threeLatheView-DjkZON4Z.js → threeLatheView-BDFVU-qO.js} +3 -3
- package/dist/{threeLatheView-BkeAUupb.cjs → threeLatheView-D-2fP76Y.cjs} +1 -1
- package/dist/{threeModel-CdwxsLw3.js → threeModel-CS9wD-on.js} +2 -2
- package/dist/{threeModel-YCfVw3Dm.cjs → threeModel-DslP5X-R.cjs} +1 -1
- package/dist/{threeSceneView-CMpnMtfz.cjs → threeSceneView-CjOk-z4X.cjs} +1 -1
- package/dist/{threeSceneView-B5B2oTJH.js → threeSceneView-DOY6W0jB.js} +3 -3
- package/dist/{threeViewerHost-CIRXvY6X.cjs → threeViewerHost-Cy4TeIAB.cjs} +1 -1
- package/dist/{threeViewerHost-DCmqe1T5.js → threeViewerHost-DFyyydhw.js} +2 -2
- package/package.json +1 -1
- package/public/icons/svg/dept.svg +1 -0
- package/public/icons/svg/role.svg +1 -0
- package/public/icons/svg/status.svg +1 -0
- package/public/icons/svg/userAccount.svg +1 -0
- package/dist/index-CknMOZF1.cjs +0 -1
- package/dist/index-CmP-fbKO.cjs +0 -1
- package/dist/index-Cp6WeoU6.cjs +0 -4
- package/dist/index-DJASWeiy.js +0 -4
- package/dist/index-DlppU2aC.cjs +0 -1
- package/dist/index-Dt6xeDcv.cjs +0 -1
- package/dist/index-NqN_6ScX.cjs +0 -1
- package/dist/index-WTGgMLQ3.cjs +0 -1
- package/dist/index-eWvqJSfg.js +0 -66
- package/dist/obj/model.mtl +0 -42
- package/dist/obj/model.obj +0 -26110
- package/public/obj/model.mtl +0 -42
- package/public/obj/model.obj +0 -26110
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1758271210244" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8417" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><path d="M827.52 128H228.48A99.84 99.84 0 0 0 128 228.48v448a99.84 99.84 0 0 0 99.84 99.52h599.68a99.84 99.84 0 0 0 100.48-99.2v-448A99.84 99.84 0 0 0 827.52 128z m49.92 548.16a49.92 49.92 0 0 1-49.92 49.92H228.48a49.92 49.92 0 0 1-49.92-49.92v-448a49.92 49.92 0 0 1 49.92-49.6h599.04a49.92 49.92 0 0 1 49.92 49.92z" p-id="8418"></path><path d="M827.52 784.32H228.48a107.84 107.84 0 0 1-107.84-107.52v-448a108.16 108.16 0 0 1 107.84-108.16h599.04a108.16 108.16 0 0 1 107.84 107.84v448a107.84 107.84 0 0 1-107.84 107.84zM228.48 136.64a92.16 92.16 0 0 0-91.84 91.84v448A91.84 91.84 0 0 0 228.48 768h599.04a91.84 91.84 0 0 0 91.84-91.52v-448a92.16 92.16 0 0 0-91.84-91.84zM827.52 736H228.48a58.24 58.24 0 0 1-57.92-57.92v-448a58.24 58.24 0 0 1 57.92-59.52h599.04a58.24 58.24 0 0 1 57.92 57.92v448A58.24 58.24 0 0 1 827.52 736zM228.48 186.56a41.92 41.92 0 0 0-41.92 41.92v448a41.92 41.92 0 0 0 41.92 41.92h599.04a41.92 41.92 0 0 0 41.92-41.92v-448a41.92 41.92 0 0 0-41.92-41.92zM822.72 845.44H233.28a21.12 21.12 0 0 0-16 7.36 26.24 26.24 0 0 0-6.72 17.6 24 24 0 0 0 22.72 24.96h589.44a24 24 0 0 0 22.72-24.96 26.24 26.24 0 0 0-6.72-17.6 21.12 21.12 0 0 0-16-7.36z" p-id="8419"></path><path d="M822.72 903.36H233.28a32 32 0 0 1-32-32 32 32 0 0 1 8.96-23.04 29.44 29.44 0 0 1 21.76-9.92h590.72a29.44 29.44 0 0 1 21.76 9.92 32 32 0 0 1 8.96 23.04 32 32 0 0 1-30.72 32zM233.28 853.44a12.48 12.48 0 0 0-9.92 4.8 17.6 17.6 0 0 0-4.8 12.16 16 16 0 0 0 14.72 16.96h589.44a16 16 0 0 0 14.72-16.96 18.88 18.88 0 0 0-4.8-12.48 13.12 13.12 0 0 0-9.92-4.48z" p-id="8420"></path><path d="M528 517.12h-86.08v-88.64h86.08V250.88H312.64v177.6h86.08v133.12h128v88.64h215.36v-177.6H528z m-172.16-221.76h128V384h-128z m215.36 221.76h128v88.64h-128z" p-id="8421"></path></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1758271072460" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4734" id="mx_n_1758271072461" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><path d="M583.998674 481.547556c57.999258-26.399662 94.898785-83.59893 94.898785-147.098117 0-89.798851-68.399124-154.398024-158.397972-154.398024s-158.997965 65.199165-158.997965 154.898017c0 65.59916 38.099512 119.49847 98.698737 145.098143 26.399662 11.299855 80.098975 16.699786 123.798415 1.499981z m-137.398241 56.299279c-3.299958-1.099986-6.99991-1.799977-10.299869-3.199959-80.298972-33.799567-136.498253-112.298563-136.498252-199.19745 0-118.998477 92.398817-219.697188 220.397179-219.697188 130.698327 0 220.397179 100.398715 220.397178 219.297193 0 84.198922-53.399316 161.997926-130.198333 197.097477-59.699236 25.999667-119.198474 20.499738-163.797903 5.699927z m-244.196875 388.795024c-28.89963-0.099999-58.899246-13.099832-74.099051-36.999527-14.699812-23.099704-12.899835-55.49929-1.299983-80.198973 40.299484-85.998899 145.798134-230.797046 399.99488-234.696996 261.396654-4.799939 356.495437 150.298076 389.895009 242.696893 8.799887 24.299689 10.199869 46.399406-4.299945 72.899067-17.099781 27.499648-46.699402 34.199562-74.099052 34.199562h-66.299151c-14.699812 0-26.399662-14.999808-26.399662-29.699619s11.999846-27.899643 26.599659-27.899643h67.899131c10.199869 0 15.499802-0.199997 21.09973-8.099897 2.899963-4.099948 6.299919-13.199831 2.399969-23.899694-34.899553-96.498765-128.89835-201.59742-338.395668-201.597419-205.897364 0-293.096248 105.49865-338.395668 193.297526-3.89995 8.299894-4.69994 20.29974 0.299996 27.999641 5.399931 8.499891 11.499853 12.199844 22.099717 12.199844h450.79423c14.699812 0 27.699645 14.599813 27.699645 29.299625 0 14.699812-11.999846 30.399611-26.699658 30.399611" fill="" p-id="4735"></path></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1758271256529" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="11952" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><path d="M512 1024c-281.6 0-512-230.4-512-512s230.4-512 512-512 512 230.4 512 512-230.4 512-512 512zM512 70.4C268.8 70.4 70.4 268.8 70.4 512c0 243.2 198.4 441.6 441.6 441.6s441.6-198.4 441.6-441.6c0-243.2-198.4-441.6-441.6-441.6z" p-id="11953"></path><path d="M275.2 768h-6.4c-12.8 0-25.6-12.8-25.6-25.6V384c0-12.8 12.8-25.6 25.6-25.6h6.4c12.8 0 25.6 12.8 25.6 25.6v358.4c0 19.2-12.8 25.6-25.6 25.6zM390.4 768H384c-12.8 0-25.6-12.8-25.6-25.6V518.4c0-12.8 12.8-25.6 25.6-25.6h6.4c12.8 0 25.6 12.8 25.6 25.6v224c0 19.2-12.8 25.6-25.6 25.6zM505.6 768h-6.4c-12.8 0-25.6-12.8-25.6-25.6V473.6c0-12.8 12.8-25.6 25.6-25.6h6.4c12.8 0 25.6 12.8 25.6 25.6v268.8c0 19.2-12.8 25.6-25.6 25.6zM620.8 768h-6.4c-12.8 0-25.6-12.8-25.6-25.6v-448c0-12.8 12.8-25.6 25.6-25.6h6.4c12.8 0 25.6 12.8 25.6 25.6v448c0 19.2-12.8 25.6-25.6 25.6zM748.8 768h-6.4c-12.8 0-25.6-12.8-25.6-25.6V403.2c0-12.8 12.8-25.6 25.6-25.6h6.4c12.8 0 25.6 12.8 25.6 25.6v345.6c0 12.8-12.8 19.2-25.6 19.2z" p-id="11954"></path></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1758271139070" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7391" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><path d="M262.552 760.831a442.15 442.15 0 0 0-19.434 7.469C210.778 781.653 192 794.588 192 802.32c0 6.772 0 15.508 59.797 21.745a783.426 783.426 0 0 0 19.707 1.786C318.401 829.544 392.96 832 511.5 832c117.195 0 191.402-2.8 238.389-6.784a777.296 777.296 0 0 0 20.959-2.045C831 816.408 831 807.402 831 802.32c0-7.784-19.034-20.843-51.781-34.293a449.76 449.76 0 0 0-20.719-7.89c-47.761-16.906-115.646-32.918-193.008-38.261V593.965c53.915-15.637 99.59-54.58 128.167-106.792 32.288-3.262 57.489-30.524 57.489-63.673V397c0-6.629-4.032-12.317-9.778-14.745a15.948 15.948 0 0 0-6.222-1.255H724.72c0.517-6.855 0.78-13.791 0.78-20.797 0-7.007-0.263-13.874-0.78-20.598-9.309-121.168-100.768-195.73-212.22-195.73-112.699 0-204.955 76.24-212.501 199.815a270.579 270.579 0 0 0-0.499 16.513c0 5.593 0.168 11.142 0.499 16.641h-4.804c-1.426 0-2.809 0.186-4.125 0.536-6.837 1.82-11.875 8.053-11.875 15.464v26.5c0 30.251 20.989 55.6 49.199 62.279 28.326 54.998 75.306 96.155 131.114 112.342V721.74c-79.251 5.274-148.695 21.785-196.956 39.091z m366.94-96.614c56.634 7.859 106.748 20.504 146.179 34.125 26.153 9.035 49.343 19.094 67.208 29.48 8.677 5.044 18.4 11.481 26.84 19.453 4.236 4 9.704 9.834 14.459 17.56C888.761 772.282 895 785.274 895 802.32l0.003 0.213c0.033 2.013 0.246 15.087-6.051 29.393-6.931 15.746-18.219 26.127-28.421 32.662-17.051 10.923-38.628 15.817-59.478 19.112-45.39 7.174-129.741 12.3-289.553 12.3-159.509 0-243.777-4.373-288.978-11.096-20.342-3.026-43.147-7.744-61.1-19.746-11.246-7.519-22.279-18.945-28.525-35.169-5.259-13.661-4.934-26.242-4.899-27.563l0.002-0.106c0-17.118 6.29-30.149 10.889-37.593 4.775-7.73 10.263-13.566 14.513-17.566 8.471-7.975 18.235-14.422 26.966-19.482 17.973-10.418 41.319-20.516 67.668-29.581 39.778-13.685 90.347-26.364 147.472-34.157V637.07c-45.893-23.535-84.146-60.137-111.611-104.282-40.824-21.376-68.702-64.103-68.702-113.444v-26.5c0-20.819 7.952-39.78 20.984-54.012 4.715-73.486 33.773-136.709 81.125-182.684 51.513-50.014 121.214-76.273 195.196-76.273s143.684 26.259 195.196 76.273c47.088 45.718 76.086 108.493 81.044 181.455 16.217 14.64 26.408 35.829 26.408 59.397v26.5c0 53.799-33.157 99.801-80.173 118.752-26.9 39.896-62.905 72.98-105.483 94.817v27.148z" fill="#000000" p-id="7392"></path></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./index-BtL8XFPD.cjs"),m=require("./index-BoW6tUEX.cjs"),d=require("./index-C551toJ9.cjs"),h=require("./index.vue_vue_type_style_index_1_lang-CIVPKcpf.cjs"),u=require("./index-DGKTZoR7.cjs"),C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),f={class:"menu-module"},k={class:"table-wrap","element-loading-text":"加载中..."},v={class:"module-dialog-default"},x=e.defineComponent({__name:"index",setup(b){const t=e.reactive({...p.State}),r=e.ref(null),a=h.useMenuState(u.pinia),{configMenu:n}=u.storeToRefs(a);return e.onMounted(()=>{var l;t.formatFormData(n.value),e.nextTick(()=>{var o,i;(i=r.value)==null||i.setCurrentKey((o=n.value)==null?void 0:o.path),a.setActiveMenuPath("/平台管理/菜单管理")}),n.value&&t.getInitialSubStructure((l=n.value)==null?void 0:l.path)}),(l,o)=>{const i=e.resolveComponent("el-tree"),c=e.resolveComponent("el-splitter-panel"),g=e.resolveComponent("el-splitter"),s=e.resolveComponent("el-button"),_=e.resolveDirective("loading");return e.openBlock(),e.createElementBlock("div",f,[e.createVNode(g,null,{default:e.withCtx(()=>[e.createVNode(c,{size:208,class:"tree-wrap",min:200},{default:e.withCtx(()=>[e.createVNode(i,{ref_key:"treeRef",ref:r,data:t.treeData,"expand-on-click-node":!1,"node-key":"path",props:{children:"children",label:"label",path:"path"},"highlight-current":"","default-expand-all":"","check-on-click-leaf":!1,"check-strictly":"",onNodeClick:t.clickNodeTrigger},null,8,["data","onNodeClick"])]),_:1}),e.createVNode(c,{min:500},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("div",k,[e.createVNode(m.ssTable,{itemData:t.menuPageData,changedContent:t.changedRow,operatingForm:t.operatingForm,onOnFormChange:t.changeTrigger,onChange:t.handleItemDataChange,onClickTrigger:t.clickTrigger,onOnButtonClick:t.clickRowButton},null,8,["itemData","changedContent","operatingForm","onOnFormChange","onChange","onClickTrigger","onOnButtonClick"])])),[[_,t.tableLoading]])]),_:1})]),_:1}),e.createVNode(d.ssDialog,{class:"module-dialog",title:t.dialogInfo.title,visible:t.dialogInfo.show,width:t.dialogInfo.width,onBeforeDestroy:t.beforeDialogDestroy},{default:e.withCtx(()=>[e.createElementVNode("div",v,[e.createVNode(d.ssForm,{rowContents:t.renderFormData,isEnableWrap:!1,isEdit:!0,onChange:t.changeTrigger,onClickTrigger:t.clickTrigger},null,8,["rowContents","onChange","onClickTrigger"])])]),footer:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(s,{onClick:t.beforeDialogDestroy,id:"themeBorderButton"},{default:e.withCtx(()=>o[0]||(o[0]=[e.createTextVNode("取消")])),_:1,__:[0]},8,["onClick"]),e.createVNode(s,{id:"themeButton",onClick:t.clickSubmitForm},{default:e.withCtx(()=>o[1]||(o[1]=[e.createTextVNode(" 确认 ")])),_:1,__:[1]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])])}}}),w=C._export_sfc(x,[["__scopeId","data-v-74868a06"]]);exports.default=w;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const d=require("vue"),p=require("./index-DGKTZoR7.cjs"),h=require("./index.vue_vue_type_style_index_1_lang-CIVPKcpf.cjs"),D=p.useLoginState(p.pinia),{loginUserInfo:u,cryptoInfo:w}=p.storeToRefs(D),W=h.useMenuState(p.pinia),{activeMenuPath:y}=p.storeToRefs(W),E=d.ref(0),R=d.computed(()=>{var s,a,t,r,l,n,e;return[{label:"",name:"账号",prop:"账号",value:((s=u.value)==null?void 0:s.account)||(((a=u.value)==null?void 0:a.账号)??"未知")},{label:"",name:"角色名称",prop:"角色名称",value:((t=u.value)==null?void 0:t.layer)==="superAdmin"?"超级管理员":(r=u.value)==null?void 0:r.角色名称},{label:"",name:"部门名称",prop:"部门名称",value:((l=u.value)==null?void 0:l.部门名称)??"未知"},{label:"",name:"状态",prop:"状态",value:((n=u.value)==null?void 0:n.layer)==="superAdmin"?"启用":((e=u.value)==null?void 0:e.状态)??"未知"}]}),O=()=>{},_=d.ref(!1),m=d.reactive({dialogTitle:"电子签名",dialogWidth:"30",dialogShow:!1,url:""}),A=d.ref([{label:"签字版",icon:p.edit_pen_default,type:"button",disabled:!1},{label:"电子签名",icon:p.edit_default,type:"button",disabled:!1},{label:"上传手写签名",icon:p.upload_filled_default,type:"buttonUpload",disabled:!1}]),U=d.ref(!1),I=d.ref(!1),M=d.ref(!1),P=d.computed(()=>{var r,l,n;const s=sessionStorage.getItem("authority"),a=JSON.parse(s||""),t=(r=y.value)!=null&&r.startsWith("/")?(l=y.value)==null?void 0:l.substring(1):y.value;return Array.isArray(a)?(M.value=!(a!=null&&a.includes(`${t}/上传头像`)),(n=A.value)==null?void 0:n.map(e=>({...e,disabled:!(a!=null&&a.includes(`${t}/签名`))}))):typeof a=="string"&&(a==null?void 0:a.toUpperCase())==="SUPERADMIN"?A.value:[]}),$=d.computed(()=>[{key:"signConfig",contents:m},{key:"signTypeList",contents:P.value}]),x=s=>{m.dialogShow=s.label==="电子签名"},L=()=>{m.dialogShow=!1},N=async s=>{var t,r,l,n,e,i,f,v,g;const a=await p.getInsofDataApi({id:s});if(((t=a==null?void 0:a.data)==null?void 0:t.code)===200&&a.data.result&&Array.isArray(a.data.result)&&a.data.result.length>0){const b={...(n=(l=(r=a.data.result)==null?void 0:r[0])==null?void 0:l.value)==null?void 0:n.tableData,id:(i=(e=a.data.result)==null?void 0:e[0])==null?void 0:i.id,layer:(g=(v=(f=a.data.result)==null?void 0:f[0])==null?void 0:v.key)==null?void 0:g.layer};D.setLoginUserInfo(b)}},q=async(s,a)=>{var r,l,n;const t=p.cloneDeep(s);t==null||delete t.id;try{const e=await p.updateInsofDataApi({id:(r=u.value)==null?void 0:r.id,value:{tableData:t}});((l=e==null?void 0:e.data)==null?void 0:l.code)===200&&(L(),p.ElMessage.success("修改成功"),await N((n=u.value)==null?void 0:n.id),await D.setLogRecordAsync({type:a,data:s},y.value))}catch{p.ElMessage.error("修改响应失败")}finally{_.value=!1,U.value=!1,I.value=!1}},B=async(s,a)=>{var r;const t={...u.value,status:((r=u.value)==null?void 0:r.status)??"启用",[s]:a};U.value=s==="avatarUrl",I.value=s==="signature",await q(t,"图片修改")},c=d.reactive({baseCols:[],otherCols:[]}),K=d.ref([]),k=d.ref(),F=(s,a,t)=>{var n,e,i,f,v,g;let r;const l=a;((e=(n=u.value)==null?void 0:n.layer)==null?void 0:e.toUpperCase())!=="SUPERADMIN"?r=(i=u.value)!=null&&i.password?h.decryptData((f=u.value)==null?void 0:f.password,(v=w==null?void 0:w.value)==null?void 0:v.privateKey):h.resetPassword:r=(g=u.value)==null?void 0:g.password,r===l?t():t(new Error("输入的密码与原密码不匹配,请重新输入"))},j=(s,a,t)=>{a?t():t(new Error("请输入密码"))},J=(s,a,t)=>{var r;a!==((r=k.value)==null?void 0:r.newtPass)?t(new Error("两次输入的密码不一致")):t()},z=async()=>{var a,t,r,l,n,e,i,f,v,g;const s=await p.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),type:"structure",pageKey:"系统管理/用户管理"}});if(((a=s==null?void 0:s.data)==null?void 0:a.code)===200&&s.data.result&&((t=s.data.result)==null?void 0:t.length)>0){const b=(i=(e=(n=(l=(r=s.data.result)==null?void 0:r[0])==null?void 0:l.value)==null?void 0:n.pageData)==null?void 0:e.compData)==null?void 0:i.find(o=>(o==null?void 0:o.key)==="header"),S=(f=R.value)==null?void 0:f.map(o=>o==null?void 0:o.prop);c.baseCols=b&&((v=b.contents)==null?void 0:v.map(o=>({...o,isFormColHidden:(S==null?void 0:S.includes(o==null?void 0:o.prop))||(o==null?void 0:o.label)==="操作"})));const C=(g=b.contents)==null?void 0:g.find(o=>(o==null?void 0:o.prop)==="password"),V=[{...C,label:"当前密码",prop:"currentPass",validator:F},{...C,label:"新密码",prop:"newtPass",validator:j},{...C,label:"确认密码",prop:"confirmNewPass",validator:J}];c.otherCols=V,Q(u.value)}},H=s=>{k.value=s},G=async({content:s,buttonName:a})=>{var r,l,n,e,i;let t;a==="确定"&&(t={...u.value,status:((r=u.value)==null?void 0:r.status)??"启用",password:((n=(l=u.value)==null?void 0:l.layer)==null?void 0:n.toUpperCase())==="SUPERADMIN"?s==null?void 0:s.confirmNewPass:h.encryptData(s==null?void 0:s.confirmNewPass,(e=w.value)==null?void 0:e.publicKey)}),a==="保存基本信息"&&(t={...u.value,...s,status:((i=u.value)==null?void 0:i.status)??"启用"}),_.value=!0,await q(t,a)},T=()=>{var r,l;const s={base:[{label:"保存基本信息"}],other:[{label:"重置",background:"#b7b8b8"},{label:"确定"}]},a=sessionStorage.getItem("authority"),t=JSON.parse(a||"");if(Array.isArray(t)){const n=(r=y.value)!=null&&r.startsWith("/")?(l=y.value)==null?void 0:l.substring(1):y.value,e=t!=null&&t.includes(`${n}/基本信息`)?s==null?void 0:s.base:[],i=t!=null&&t.includes(`${n}/修改密码`)?s==null?void 0:s.other:[];return{base:e,other:i}}else return typeof t=="string"&&(t==null?void 0:t.toUpperCase())==="SUPERADMIN"?s:null},Q=s=>{var a,t,r,l,n;K.value=[{value:"基础信息",label:"基础信息",children:[{type:"form",content:{rowContents:(a=c.baseCols)==null?void 0:a.map(e=>({...e,width:2,type:e==null?void 0:e.formType,name:e==null?void 0:e.prop,prop:e==null?void 0:e.prop,contents:e==null?void 0:e.options,value:s[e==null?void 0:e.prop]})),formRules:{userName:[{required:!0,message:"输入不能为空",trigger:"blur"}],birthDay:[{required:!0,message:"输入不能为空",trigger:"blur"}],phone:[{required:!0,message:"输入不能为空",trigger:"blur"}]},buttonValue:(t=T())==null?void 0:t.base,isEnableWrap:!1,isButtonRow:!1},value:""}]},{value:"修改密码",label:"修改密码",children:[{type:"form",content:{rowContents:(r=c.otherCols)==null?void 0:r.map(e=>({...e,width:1,type:e==null?void 0:e.formType,name:e==null?void 0:e.prop,contents:e==null?void 0:e.options})),formRules:(l=c.otherCols)==null?void 0:l.reduce((e,i)=>(e[i.prop]=[{required:!0,message:"输入有误",trigger:"change"},{validator:(f,v,g)=>i.validator(f,v,g),trigger:"blur"}],e),{}),buttonValue:(n=T())==null?void 0:n.other,isEnableWrap:!1},value:""}]}]},X=Object.freeze(Object.defineProperty({__proto__:null,avatarLoading:U,beforeSignDestroy:L,changeFormTrigger:H,clickFormButton:O,clickSignButton:x,clickTabButton:G,getUserTableHeadersAsync:z,itemData:$,loading:_,refreshLoginUserInfoAsync:N,rowContents:R,signPadInfo:m,signTypes:P,signatureLoading:I,submitImageAsync:B,tabKey:E,tabsContents:K,tempSignTypes:A,uploadDisabled:M},Symbol.toStringTag,{value:"Module"}));exports.State=X;exports.tabKey=E;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),u=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),u=require("./index-BoW6tUEX.cjs"),n=require("./index.vue_vue_type_style_index_1_lang-CIVPKcpf.cjs"),a=require("./index-DGKTZoR7.cjs"),s={class:"routerPage-wrapper"},i=t.defineComponent({__name:"index",setup(d){const o=n.useMenuState(),{activeMenuPath:c}=a.storeToRefs(o),r=a.useLoginState(),e=t.reactive({...n.State});return t.onMounted(async()=>{r.getModelSecretAsync(),e.structureId=await n.getActivePageStructureId(c.value)}),(l,_)=>(t.openBlock(),t.createElementBlock("div",s,[t.createVNode(u.ssTable,{index:e.structureId,compName:e.compName,itemData:e.pageData,changedContent:e.changedRow,onChange:e.handleItemDataChange,onOnButtonClick:e.clickRowButton},null,8,["index","compName","itemData","changedContent","onChange","onOnButtonClick"])]))}});exports.default=i;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-BoW6tUEX.cjs"),n=require("./index-hZHhymBh.cjs"),u=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),r=e.ref([]),i=e.computed(()=>[{key:"extraButton",contents:[{label:"清空",background:"#f56c6c",color:"#ffffff"}]},{key:"rowButton",contents:[]},{key:"header",contents:[{label:"模块名称",prop:"module",filterable:!0},{label:"操作类型",prop:"type",filterable:!0},{label:"账号",prop:"account",filterable:!0},{label:"姓名",prop:"userName",filterable:!0},{label:"时间",prop:"timeStamp",sortable:!0}]},{key:"tableContents",contents:r.value}]),p=Object.freeze(Object.defineProperty({__proto__:null,pageData:i,tableData:r},Symbol.toStringTag,{value:"Module"})),b={class:"log-wrap"},d=e.defineComponent({__name:"index",setup(_){const t=e.reactive({...p});e.onMounted(async()=>{t.tableData=await n.getLogTableDataAsync("operate")});const c=l=>{var a;n.clickButton(l,(a=t.tableData)==null?void 0:a.map(o=>o.id),o=>{o&&(t.tableData=[])})};return(l,a)=>(e.openBlock(),e.createElementBlock("div",b,[e.createVNode(s.ssTable,{itemData:t.pageData,allowOperate:!1,allowSelect:!1,onOnButtonClick:c},null,8,["itemData"])]))}}),f=u._export_sfc(d,[["__scopeId","data-v-3d3b471d"]]);exports.default=f;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as C, reactive as k, ref as v, onMounted as D, nextTick as b, resolveComponent as i, resolveDirective as T, createElementBlock as m, openBlock as u, createVNode as t, withCtx as n, withDirectives as w, createElementVNode as p, createTextVNode as _ } from "vue";
|
|
2
|
-
import { S as x } from "./index-
|
|
3
|
-
import { s as B } from "./index-
|
|
4
|
-
import { s as F, e as y } from "./index-
|
|
2
|
+
import { S as x } from "./index-hjEvzDdO.js";
|
|
3
|
+
import { s as B } from "./index-KNxE5uCq.js";
|
|
4
|
+
import { s as F, e as y } from "./index-DlA2BFSp.js";
|
|
5
5
|
import { u as S } from "./index.vue_vue_type_style_index_1_lang-BDUX_0RU.js";
|
|
6
6
|
import { p as I, s as N } from "./index-BkeIblNn.js";
|
|
7
7
|
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),N=require("./index-
|
|
1
|
+
"use strict";const e=require("vue"),N=require("./index-qF67sE8G.cjs"),s=require("./index-DGKTZoR7.cjs"),B=require("./index.vue_vue_type_style_index_1_lang-CIVPKcpf.cjs");require("./array-qx4N1D5z.cjs");const I=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A=require("./index-DEEZPcpU.cjs"),O=require("./index-C551toJ9.cjs"),L={class:"type-select"},j=["onClick"],z={class:"list-icon"},H={__name:"index",setup(S){const p=B.useModelComp(s.pinia),{itemData:r,activeItemIndex:D}=s.storeToRefs(p),C=u=>{var k;let i=null;const h=s.cloneDeep(r.value);if(D.value>=0&&(i=h==null?void 0:h[D.value]),i&&i.comp==="Layout"){const{compData:g=[]}=i;((k=g==null?void 0:g.find(E=>{const{key:w}=E;return w==="children"}))==null?void 0:k.contents).push({comp:u.comp,name:u.name,compData:[]}),p.setItemData(h);return}const d=s.cloneDeep(r.value);d.push({comp:u.comp,name:u.name,compData:[]}),p.setItemData(d)};return(u,i)=>{const h=e.resolveComponent("svg-icon");return e.openBlock(),e.createElementBlock("div",L,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(N.slotContent),(d,k)=>(e.openBlock(),e.createElementBlock("div",{class:"type-list",key:k},[e.createElementVNode("div",{class:"list-content",onClick:g=>C(d)},[e.createElementVNode("div",z,[e.createVNode(h,{name:d.icon},null,8,["name"])]),e.createElementVNode("div",null,e.toDisplayString(d.name),1)],8,j)]))),128))])}}},G=I._export_sfc(H,[["__scopeId","data-v-2cd8410b"]]),J={class:"fill-content"},K={class:"operate-content"},Q=["onClick"],W={class:"collapse-title-item"},X={key:1},Y=["onClick"],Z={class:"icon-content"},P={key:0,class:"edit-content"},ee=["onClick"],te=["onClick"],ne={class:"parent-main"},oe={style:{display:"flex","justify-content":"space-between"}},le={__name:"index",setup(S){const p=B.useModelComp(s.pinia),{itemData:r,originalData:D}=s.storeToRefs(p),C=e.ref([]);e.ref([]);const u=e.ref([]),i=e.ref([]),h=e.ref([]),d=l=>{var a;let o=(a=s.cloneDeep(i.value))==null?void 0:a.map((n,t)=>(l===t&&(n.content=!0),n));i.value=o},k=l=>{var a;let o=(a=s.cloneDeep(i.value))==null?void 0:a.map((n,t)=>(l===t&&(n.content=!1),n));i.value=o,C.value=s.cloneDeep(r.value)},g=(l,o)=>{var v;let a=(v=s.cloneDeep(i.value))==null?void 0:v.map((_,c)=>(l===c&&(_.content=!1),_));i.value=a;const n=s.cloneDeep(r.value),t=n==null?void 0:n.filter((_,c)=>(c===l&&(_.name=o),_));p.setOriginalData(t),p.setItemData(t)},x=l=>{const o=s.cloneDeep(r.value),a=o==null?void 0:o.map((n,t)=>((n==null?void 0:n.name)===(l==null?void 0:l.name)?n.isShow=!(l!=null&&l.isShow):n.isShow=n.isShow,n));r.value=a};e.watch(()=>r.value,()=>{var l,o,a,n;!r.value||((l=r.value)==null?void 0:l.length)===0?C.value=[]:C.value=(o=s.cloneDeep(r.value))==null?void 0:o.filter(t=>(t==null?void 0:t.comp)!=="methodButton"),u.value=C.value,i.value=(a=s.cloneDeep(u.value))==null?void 0:a.map((t,v)=>({id:v,content:!1})),h.value=(n=s.cloneDeep(u.value))==null?void 0:n.map((t,v)=>({id:v,isShow:t==null?void 0:t.isShow}))},{deep:!0,immediate:!0});const E=l=>N.getComponent(l),w=(l,o,a,n)=>{var v,_;if(!l)return;let t=s.cloneDeep(r.value);t=(v=t==null?void 0:t.map((c,f)=>{if(n&&f===a){const{compData:y,itemChildData:V}=l;return c.compData=y,c.itemChildData=V,c}return f===a&&(c.compData=l),c}))==null?void 0:v.filter(c=>(c==null?void 0:c.comp)!=="methodButton"),i.value=(_=s.cloneDeep(t))==null?void 0:_.map((c,f)=>({id:f,content:!1})),p.setOriginalData(t),p.setItemData(t)},U=e.ref(null),$=(l,o)=>{if(!o){p.setActiveItemIndex(l);return}p.setActiveItemIndex(-1)},b=l=>{B.ElMessageBox.confirm("是否确认要删除","",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(()=>{const o=s.cloneDeep(r.value),a=o==null?void 0:o.filter((n,t)=>t!==l);p.setOriginalData(a),p.setItemData(a),p.setActiveItemIndex(-1),s.ElMessage({type:"success",message:"删除成功"})}).catch(()=>{})};return(l,o)=>{const a=e.resolveComponent("svg-icon");return e.openBlock(),e.createElementBlock("div",J,[o[3]||(o[3]=e.createElementVNode("div",{class:"fill-operate"},e.toDisplayString("操作栏"),-1)),e.createElementVNode("div",K,[e.createVNode(A.default,{class:"collapse-content",collapseContents:C.value,ref_key:"ssCollapseRef",ref:U},{title:e.withCtx(({item:n,index:t,isActive:v})=>{var _,c,f,y,V,M,q,R,F,T;return[e.createElementVNode("div",{class:"collapse-title-content",onClick:m=>$(t,v)},[e.createElementVNode("div",W,[(c=(_=i.value)==null?void 0:_.find(m=>m.id===t))!=null&&c.content?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"collapse-title",style:e.normalizeStyle({marginRight:n.name&&n.name!==""?"8px":"0px"})},e.toDisplayString(n.name),5)),(y=(f=i.value)==null?void 0:f.find(m=>m.id===t))!=null&&y.content?(e.openBlock(),e.createElementBlock("div",X,[e.createVNode(O._sfc_main$3,{modelValue:n.name,"onUpdate:modelValue":m=>n.name=m,onClick:o[0]||(o[0]=e.withModifiers(()=>{},["stop"]))},null,8,["modelValue","onUpdate:modelValue"])])):e.createCommentVNode("",!0),(M=(V=i.value)==null?void 0:V.find(m=>m.id===t))!=null&&M.content?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:2,onClick:e.withModifiers(m=>d(t),["stop"]),class:"icon-content"},[e.createVNode(a,{name:"Edit",style:{width:"16px",height:"16px"}})],8,Y))]),e.createElementVNode("div",Z,[(R=(q=i.value)==null?void 0:q.find(m=>m.id===t))!=null&&R.content?(e.openBlock(),e.createElementBlock("div",P,[e.createVNode(a,{name:"Cancel",style:{width:"16px",height:"16px"},class:"icon-content",onClick:e.withModifiers(m=>k(t),["stop"])},null,8,["onClick"]),e.createVNode(a,{name:"Save",onClick:e.withModifiers(m=>g(t,n.name),["stop"]),style:{width:"16px",height:"16px",fill:"var(--ssComponent-primary-color)"},class:"icon-content"},null,8,["onClick"])])):e.createCommentVNode("",!0),(T=(F=i.value)==null?void 0:F.find(m=>m.id===t))!=null&&T.content?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:1,onClick:e.withModifiers(m=>b(t),["stop"]),class:"icon-content"},[e.createVNode(a,{name:"Delete",style:{width:"16px",height:"16px"}})],8,ee))])],8,Q)]}),content:e.withCtx(({item:n,index:t})=>{var v,_;return[e.createElementVNode("div",{class:"comp-child",onClick:c=>$(t)},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(E(n.comp+"Operate")),{itemContents:n==null?void 0:n.compData,originalItemContents:(_=(v=u.value)==null?void 0:v.find((c,f)=>f===t))==null?void 0:_.compData,itemChildData:n==null?void 0:n.itemChildData,onChange:(c,f)=>w(c,n,t,f)},null,40,["itemContents","originalItemContents","itemChildData","onChange"]))],8,te),e.createElementVNode("div",ne,[o[2]||(o[2]=e.createElementVNode("div",{class:"operate-title"},[e.createElementVNode("div",null,e.toDisplayString("显隐控制"))],-1)),e.createElementVNode("div",oe,[o[1]||(o[1]=e.createElementVNode("div",{class:"operate-center-content"},e.toDisplayString("是否显示"),-1)),e.createVNode(O._sfc_main$2,{value:h.value.find(c=>c.id===t).isShow,"onUpdate:value":c=>h.value.find(f=>f.id===t).isShow=c,onClick:c=>x(n)},null,8,["value","onUpdate:value","onClick"])])])]}),_:1},8,["collapseContents"])])])}}},ce=I._export_sfc(le,[["__scopeId","data-v-1f5fca05"]]),ae={key:0,class:"show-content"},se={style:{display:"flex"}},ie={__name:"index",setup(S){const p=B.useModelComp(s.pinia),{itemData:r}=s.storeToRefs(p),D=e.ref([]);e.watch(()=>r.value,()=>{var u;!r.value||((u=r.value)==null?void 0:u.length)===0?D.value=[]:D.value=s.cloneDeep(r.value)},{deep:!0,immediate:!0});const C=u=>N.getComponent(u);return(u,i)=>{var h;return((h=D.value)==null?void 0:h.length)>0?(e.openBlock(),e.createElementBlock("div",ae,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(D.value,(d,k)=>(e.openBlock(),e.createElementBlock("div",{class:"item-content",key:k},[e.createElementVNode("div",se,e.toDisplayString(d.name),1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(C(d.comp)),{itemData:d==null?void 0:d.compData,childItemData:d==null?void 0:d.itemChildData,key:k},null,8,["itemData","childItemData"]))]))),128))])):e.createCommentVNode("",!0)}}},re=I._export_sfc(ie,[["__scopeId","data-v-bfa22d29"]]);exports.modelFill=ce;exports.modelSelect=G;exports.modelShow=re;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as o, reactive as r, onMounted as n, createElementBlock as s, openBlock as c, createVNode as m } from "vue";
|
|
2
2
|
import "./index-BHtNKL1L.js";
|
|
3
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-ustKSRmH.js";
|
|
4
4
|
import { s as i } from "./index-BkeIblNn.js";
|
|
5
5
|
import { u as p, az as u } from "./index.vue_vue_type_style_index_1_lang-BDUX_0RU.js";
|
|
6
|
-
import { s as l } from "./index-
|
|
6
|
+
import { s as l } from "./index-KNxE5uCq.js";
|
|
7
7
|
import { S as d } from "./index-DWkbnrRf.js";
|
|
8
8
|
const _ = { class: "role-wrapper" }, k = /* @__PURE__ */ o({
|
|
9
9
|
__name: "index",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as _, computed as A } from "vue";
|
|
2
|
-
import { d as I, E as
|
|
2
|
+
import { d as I, E as s, g as M } from "./index-BkeIblNn.js";
|
|
3
3
|
import { E as N } from "./index.vue_vue_type_style_index_1_lang-BDUX_0RU.js";
|
|
4
4
|
const K = _([]), T = A(() => [
|
|
5
5
|
{
|
|
@@ -7,7 +7,8 @@ const K = _([]), T = A(() => [
|
|
|
7
7
|
contents: [
|
|
8
8
|
{
|
|
9
9
|
label: "清空",
|
|
10
|
-
background: "#f56c6c"
|
|
10
|
+
background: "#f56c6c",
|
|
11
|
+
color: "#ffffff"
|
|
11
12
|
}
|
|
12
13
|
]
|
|
13
14
|
},
|
|
@@ -39,51 +40,51 @@ const K = _([]), T = A(() => [
|
|
|
39
40
|
key: "tableContents",
|
|
40
41
|
contents: K.value
|
|
41
42
|
}
|
|
42
|
-
]), j = (
|
|
43
|
-
|
|
43
|
+
]), j = (l, n, r) => {
|
|
44
|
+
l === "清空" && N.confirm("是否确认清空所有日志", "", {
|
|
44
45
|
confirmButtonText: "确认",
|
|
45
46
|
cancelButtonText: "取消",
|
|
46
47
|
type: "warning"
|
|
47
48
|
}).then(async () => {
|
|
48
49
|
var e, o;
|
|
49
50
|
try {
|
|
50
|
-
const a = await I({ ids:
|
|
51
|
-
((e = a == null ? void 0 : a.data) == null ? void 0 : e.code) === 200 ? (
|
|
51
|
+
const a = await I({ ids: n });
|
|
52
|
+
((e = a == null ? void 0 : a.data) == null ? void 0 : e.code) === 200 ? (s.success("清空日志成功"), r(!0)) : (s.error(((o = a == null ? void 0 : a.data) == null ? void 0 : o.message) ?? "清空请求响应失败"), r(!1));
|
|
52
53
|
} catch {
|
|
53
|
-
|
|
54
|
+
s.error("清空操作处理失败"), r(!1);
|
|
54
55
|
}
|
|
55
56
|
}).catch(() => {
|
|
56
57
|
r(!1);
|
|
57
58
|
});
|
|
58
|
-
}, O = async (
|
|
59
|
-
var
|
|
59
|
+
}, O = async (l = "login") => {
|
|
60
|
+
var n, r, e;
|
|
60
61
|
try {
|
|
61
62
|
const o = await M({
|
|
62
63
|
key: {
|
|
63
64
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
64
65
|
pageKey: "/log",
|
|
65
66
|
type: "system",
|
|
66
|
-
logType:
|
|
67
|
+
logType: l
|
|
67
68
|
}
|
|
68
69
|
});
|
|
69
|
-
if (((
|
|
70
|
+
if (((n = o == null ? void 0 : o.data) == null ? void 0 : n.code) === 200)
|
|
70
71
|
return (e = (r = o == null ? void 0 : o.data) == null ? void 0 : r.result) == null ? void 0 : e.map((a) => {
|
|
71
|
-
var u, t, c, p, d, y,
|
|
72
|
-
return
|
|
72
|
+
var u, t, c, p, f, d, y, g, v, b, S, h, w, B, D, x, E, k;
|
|
73
|
+
return l === "login" ? {
|
|
73
74
|
...(t = (u = a == null ? void 0 : a.value) == null ? void 0 : u.detail) == null ? void 0 : t.data,
|
|
74
75
|
timeStamp: (c = a == null ? void 0 : a.value) == null ? void 0 : c.timeStamp,
|
|
75
76
|
id: a == null ? void 0 : a.id,
|
|
76
|
-
type: (
|
|
77
|
+
type: (f = (p = a == null ? void 0 : a.value) == null ? void 0 : p.detail) == null ? void 0 : f.type
|
|
77
78
|
} : {
|
|
78
|
-
timeStamp: (
|
|
79
|
-
account: (
|
|
79
|
+
timeStamp: (d = a == null ? void 0 : a.value) == null ? void 0 : d.timeStamp,
|
|
80
|
+
account: (y = a == null ? void 0 : a.value) == null ? void 0 : y.account,
|
|
80
81
|
userName: (g = a == null ? void 0 : a.value) == null ? void 0 : g.userName,
|
|
81
82
|
module: typeof ((v = a == null ? void 0 : a.value) == null ? void 0 : v.module) == "string" ? (S = (b = a == null ? void 0 : a.value) == null ? void 0 : b.module) != null && S.startsWith("/") ? (w = (h = a == null ? void 0 : a.value) == null ? void 0 : h.module) == null ? void 0 : w.substring(1) : (B = a == null ? void 0 : a.value) == null ? void 0 : B.module : (x = (D = a == null ? void 0 : a.value) == null ? void 0 : D.module) == null ? void 0 : x.pageKey,
|
|
82
83
|
id: a == null ? void 0 : a.id,
|
|
83
84
|
type: (k = (E = a == null ? void 0 : a.value) == null ? void 0 : E.detail) == null ? void 0 : k.type
|
|
84
85
|
};
|
|
85
86
|
});
|
|
86
|
-
|
|
87
|
+
s.error("获取数据响应失败");
|
|
87
88
|
} catch (o) {
|
|
88
89
|
throw new Error("获取数据失败" + o);
|
|
89
90
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./index-BoW6tUEX.cjs"),o=require("./index-4V_YYcAP.cjs"),n=require("./index.vue_vue_type_style_index_1_lang-CIVPKcpf.cjs"),c=require("./index-DGKTZoR7.cjs"),i=e.defineComponent({__name:"index",setup(s){const t=e.reactive({...o.State}),a=n.useMenuState(),{activeMenuPath:r}=c.storeToRefs(a);return e.onMounted(async()=>{t.structureId=await n.getActivePageStructureId(r.value)}),(d,l)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(u.ssTable,{itemData:t.pageData,onChange:t.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=i;
|