@utogether/udp-core 1.0.1-beta.5 → 1.0.1-beta.7
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/{403-CP2RkkAy.js → 403-BQZ5OAKL.js} +10 -10
- package/dist/{404-DwK-0wNQ.js → 404-H55ex36i.js} +4 -4
- package/dist/{500-CLbJDqnd.js → 500-bbrspTnK.js} +1 -1
- package/dist/{AuthorityInfo-Bi1_uhMu.js → AuthorityInfo-BWni4UPQ.js} +1 -1
- package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-7WtOL6Hs.js +100 -0
- package/dist/{Company-B--cokc6.js → Company-CuebFrQ0.js} +3 -3
- package/dist/{CompanyPanel-B_gmcZ9L.js → CompanyPanel-DxPdJs6x.js} +6 -6
- package/dist/{Department-DbKdyNzK.js → Department-D2a6Juur.js} +3 -3
- package/dist/{DepartmentPanel-BmEttboJ.js → DepartmentPanel-C_s2R9yl.js} +24 -23
- package/dist/{DesignPanel-LL68_36s.js → DesignPanel-CexZj3HF.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-DWPmFegv.js → DesignPanel.vue_vue_type_style_index_0_lang-DfmysqwB.js} +25 -24
- package/dist/{DictView-B8j-EWx5.js → DictView-C0GS72rG.js} +19 -18
- package/dist/{InvOrganization-DnGQlESM.js → InvOrganization-a1tQ2CEH.js} +8 -7
- package/dist/Org-DifvzLLy.js +35 -0
- package/dist/{Preview-yot4NBW5.js → Preview-BOv5j9i6.js} +1 -1
- package/dist/{ReportDefine-DHadqNYy.js → ReportDefine-Dli1Q0TB.js} +1 -1
- package/dist/{ReportDesign-CBihGRth.js → ReportDesign-zSWkcL_O.js} +37 -36
- package/dist/{ReportQuery-CwHQ6LUU.js → ReportQuery-D5r3bvFc.js} +1 -1
- package/dist/{ReportQueryFrom-ie6lQcGL.js → ReportQueryFrom-DiostHrX.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-B8LJNK0m.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-Cr2eKMmr.js} +1 -1
- package/dist/{ReportTemplate-B2Smwo-z.js → ReportTemplate-CYy4cZHQ.js} +24 -24
- package/dist/{Role-Cf7DB7uS.js → Role-BFQFxfQS.js} +6 -6
- package/dist/{RoleAssign-upUnqs_i.js → RoleAssign-BIdWSLTR.js} +8 -8
- package/dist/{RolePanel-EXL_FLvM.js → RolePanel-C7ybSknr.js} +1 -1
- package/dist/{RolePanel-BBGDGK8V.js → RolePanel-KC-UgmtF.js} +1 -1
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-C91CJO4e.js +132 -0
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-DF8qJKwW.js → RolePanel.vue_vue_type_script_setup_true_lang-C_ZsMf1f.js} +40 -34
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-DbBGg32H.js → ScrollPanel.vue_vue_type_style_index_0_lang-botBBgto.js} +17 -17
- package/dist/{Staff-DYu5ZEyR.js → Staff-CY0DLsTN.js} +3 -3
- package/dist/{StaffInfo-CHvNGjtz.js → StaffInfo-DA7p265h.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-XRJVEJ-s.js → StaffInfo.vue_vue_type_script_setup_true_lang-f29A44gS.js} +5 -5
- package/dist/{StaffPanel-C-ygEY65.js → StaffPanel-DYP-mMp9.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-BvLrF4Yw.js → StaffPanel.vue_vue_type_script_setup_true_lang-C0YAG2xV.js} +6 -6
- package/dist/{SysUser-BHk_szpK.js → SysUser-FqS3Ctne.js} +2 -2
- package/dist/{SysUserPanel-DFvzA5d-.js → SysUserPanel-C_t6F99T.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-B9zUXXwa.js → SysUserPanel.vue_vue_type_script_setup_true_lang-CKZjy0OF.js} +93 -86
- package/dist/{SystemMenu-5TK9ZA11.js → SystemMenu-ChFrMzRg.js} +14 -13
- package/dist/{UserInfo-Bx3zQqHa.js → UserInfo-I36LAXVj.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-C2sqUQdg.js → UserInfo.vue_vue_type_style_index_0_lang-BGY-LYeL.js} +28 -25
- package/dist/await-to-js.es5-BtRbN2QH.js +10 -0
- package/dist/{childView-BSUWnii7.js → childView-CYpuOzRx.js} +1 -1
- package/dist/{childView-CFC3gA_U.js → childView-Csnlaqfs.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-EcT-Dux7.js → childView.vue_vue_type_style_index_0_lang-B8EnA03l.js} +18 -17
- package/dist/{childView.vue_vue_type_style_index_0_lang-WQVLSJR8.js → childView.vue_vue_type_style_index_0_lang-DNVlDM_a.js} +10 -9
- package/dist/{code-rule-DybjhotB.js → code-rule-DHBSC5Qp.js} +14 -13
- package/dist/core.es.js +2 -2
- package/dist/{cron-task-DGdknqaF.js → cron-task-CiI1MFla.js} +8 -7
- package/dist/{frameView-BOOZRv1S.js → frameView-ZWKlbz9p.js} +1 -1
- package/dist/index-COBMRlmJ.js +5379 -0
- package/dist/{layoutView-BWeDLY9C.js → layoutView-5OsbpP0u.js} +11 -10
- package/dist/{login-BcuCHhGE.js → login-C55sa9gN.js} +26 -25
- package/dist/{lov-view-DDgzqYSW.js → lov-view-DFfaUQ5m.js} +9 -8
- package/dist/{menuInfo-B3MOxomU.js → menuInfo-CZdLtLjN.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-BXMrNMUs.js → menuInfo.vue_vue_type_style_index_0_lang-DgG0aHRy.js} +16 -15
- package/dist/{pda-app-Dy9WMHEG.js → pda-app-fLe8mrx-.js} +213 -196
- package/dist/{resource-BoCP7-dM.js → resource-ohWKO6Fh.js} +20 -20
- package/dist/{su-welcome-DXpI1MHr.js → su-welcome-_UZTfrXX.js} +84 -84
- package/dist/{sys-config-BiUWzxGU.js → sys-config-DVuBsK7p.js} +19 -18
- package/dist/udp-core.css +1 -1
- package/dist/{utogether-DXDcsKt7.js → utogether-CxobZqGL.js} +1 -1
- package/package.json +18 -18
- package/src/components/SuScrollTree/ScrollPanel.vue +3 -3
- package/src/components/udp/flip-down/FlipCard/flip-card.vue +251 -0
- package/src/components/udp/flip-down/FlipCard/interfaces.ts +4 -0
- package/src/components/udp/flip-down/FlipClock/flip-clock.vue +113 -0
- package/src/components/udp/grid.vue +12 -6
- package/src/components/udp/index.ts +2 -2
- package/src/components/udp/lov.vue +1 -1
- package/src/components/udp/modal-grid.vue +288 -297
- package/src/components/udp/utils.ts +4 -11
- package/src/layout/components/lay-search/index.vue +25 -25
- package/src/main.ts +18 -10
- package/src/plugins/i18n/zh.ts +348 -338
- package/src/plugins/vxe-table/index.ts +2 -2
- package/src/plugins/vxe-table/render.tsx +95 -18
- package/src/views/login/login-view.vue +1 -1
- package/src/views/system/role/AuthorityInfo.vue +19 -15
- package/src/views/system/role/Role.vue +1 -5
- package/src/views/system/role/RolePanel.vue +11 -2
- package/src/views/system/role/UserInfo.vue +5 -3
- package/src/views/system/role-assign/RoleAssign.vue +57 -57
- package/src/views/system/role-assign/RolePanel.vue +139 -136
- package/src/views/system/sysUser/SysUserPanel.vue +37 -37
- package/src/views/uapp/pda/pda-app.vue +41 -10
- package/src/views/udev/dict/DictView.vue +6 -1
- package/src/views/udev/dict/childView.vue +1 -6
- package/src/views/ufile/aggregation/File.vue +5 -5
- package/src/views/ufile/file/water-mark.vue +14 -14
- package/src/views/uhome/su-welcome.vue +2 -2
- package/src/views/ulogin/login.vue +8 -0
- package/src/views/urpt/design/DesignPanel.vue +10 -33
- package/src/views/urpt/design/ReportDesign.vue +12 -16
- package/src/views/urpt/static-resource/resource.vue +3 -3
- package/src/views/urpt/template/ReportTemplate.vue +7 -7
- package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-RUhvzu76.js +0 -101
- package/dist/Org-Dg9Xkd34.js +0 -34
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-BwfL_JVZ.js +0 -125
- package/dist/index-BDE4-ZvN.js +0 -5091
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { createElementBlock as l, openBlock as a, createStaticVNode as m, defineComponent as r, resolveComponent as F, resolveDirective as n, createVNode as f, createElementVNode as M, unref as B, withDirectives as h, createTextVNode as e, createBlock as k, withCtx as u } from "vue";
|
|
2
|
-
import { useRouter as y, useRoute as
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
2
|
+
import { useRouter as y, useRoute as C } from "vue-router";
|
|
3
|
+
import { C as v } from "./index-COBMRlmJ.js";
|
|
4
|
+
const E = {
|
|
5
5
|
width: "251",
|
|
6
6
|
height: "294"
|
|
7
7
|
};
|
|
8
|
-
function
|
|
9
|
-
return a(), l("svg",
|
|
8
|
+
function _(c, s) {
|
|
9
|
+
return a(), l("svg", E, s[0] || (s[0] = [
|
|
10
10
|
m('<g fill="none"><path fill="#E4EBF7" d="M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023"></path><path fill="#FFF" d="M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65"></path><path stroke="#FFF" d="m38.652 136.36 10.425 5.91m.912 6.235-12.58 10.73"></path><path fill="#FFF" d="M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13m17.618-16.019a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126m11.344 18.238 29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126"></path><path fill="#FFF" d="M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122m71.339 108.221c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873s5.418-9.432 10.873-8.882 9.432 5.418 8.882 10.873"></path><path stroke="#FFF" d="m180.17 143.772 12.572 7.129m1.099 7.519-15.171 12.94"></path><path fill="#FFF" d="M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363m18.571-16.641a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375"></path><path stroke="#FFF" d="M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zm72.943-75.857a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zm-8.841 34.834a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zm-39.25-43.209a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zm18.274-15.388a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zm6.73 88.069a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z"></path><path stroke="#FFF" d="m215.125 155.262-1.902 20.075-10.87 5.958m-27.752-4.659-6.322 9.761H156.98l-4.484 6.449m23.378-65.566v-15.72m45.636 7.844-12.77 7.859-15.228-7.86V96.668"></path><path fill="#A26EF4" d="M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322s-29.32-13.128-29.32-29.321"></path><path fill="#FFF" d="m221.45 41.706-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734"></path><path fill="#FFF" d="M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64s-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64s4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.88 6.88 0 0 0-6.837-6.917m-43.01 53.249h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717"></path><path fill="#5BA02E" d="M168.214 248.838a6.61 6.61 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.61 6.61 0 0 1-6.61 6.61"></path><path fill="#92C110" d="M176.147 248.176a6.61 6.61 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.61 6.61 0 0 1-6.61 6.611"></path><path fill="#F2D7AD" d="M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17"></path><path fill="#FFF" d="M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085"></path><path fill="#FFC6A0" d="m75.768 73.325-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233"></path><path fill="#FFB594" d="M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76m89.422 2.442s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367"></path><path fill="#FFC6A0" d="m76.166 66.36 3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95"></path><path fill="#FFF" d="M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zm63.688.71s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929"></path><path stroke="#E4EBF7" d="M78.18 94.656s.911 7.41-4.914 13.078M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437"></path><path fill="#FFC6A0" d="m117.184 68.639-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165s.848 1.143-2.083.446c-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955z"></path><path fill="#FFB594" d="m105.282 91.315-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91"></path><path fill="#5C2552" d="M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103"></path><path fill="#FFC6A0" d="M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145"></path><path stroke="#DB836E" d="m100.843 77.099 1.701-.928-1.015-4.324.674-1.406"></path><path fill="#552950" d="M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32m-7.954.257c-.022.713-.452 1.278-.961 1.263s-.904-.607-.882-1.32.452-1.279.961-1.263c.51.016.904.606.882 1.32"></path><path stroke="#DB836E" d="M91.132 86.786s5.269 4.957 12.679 2.327"></path><path fill="#DB836E" d="M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25"></path><path stroke="#5C2552" d="M102.88 70.6s2.483.84 3.402.715m-12.399.66s2.492-1.144 4.778-1.073"></path><path stroke="#DB836E" d="M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809m11.795 2.43s1.911.151 2.509-.254"></path><path stroke="#E4EBF7" d="m87.782 115.821 15.73-3.012m-3.347 3.012 10.04-2.008M66.508 86.763s-1.598 8.83-6.697 14.078M128.31 87.934s3.013 4.121 4.06 11.785"></path><path stroke="#DB836E" d="M64.09 84.816s-6.03 9.912-13.607 9.903"></path><path fill="#FFC6A0" d="m112.366 65.909-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73"></path><path stroke="#DB836E" d="M130.532 85.488s4.588 5.757 11.619 6.214"></path><path stroke="#E4EBF7" d="M121.708 105.73s-.393 8.564-1.34 13.612"></path><path stroke="#648BD8" d="M115.784 161.512s-3.57-1.488-2.678-7.14"></path><path fill="#CBD1D1" d="M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68"></path><path fill="#2B0849" d="M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039s10.802-.07 11.91-.9c.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z"></path><path fill="#A4AABA" d="M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62"></path><path fill="#CBD1D1" d="M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296z"></path><path fill="#2B0849" d="M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078"></path><path fill="#A4AABA" d="M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15"></path><path fill="#7BB2F9" d="m100.885 277.015 13.306.092s1.291-54.228 1.843-64.056 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954"></path><path stroke="#648BD8" d="M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91m23.196 8.407s2.758-1.103 6.069-3.862M108.459 220.905s2.759-1.104 6.07-3.863M76.099 223.557s2.608-.587 6.47-3.346m4.761-69.391c-.27 3.088.297 8.478-4.315 9.073m21.814-10.818s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934m.446-16.362s.035 12.81-1.19 24.245m-4.894 1.09s7.174-1.655 9.38-1.655m-28.639 31.444c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423m18.714-77.445a313 313 0 0 1-.877 4.729m7.742-50.058-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238"></path><path fill="#192064" d="M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017"></path><path fill="#FFF" d="m107.511 150.353.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a141 141 0 0 1 7.688.017.81.81 0 0 0 .837-.806"></path><path fill="#192064" d="m106.402 149.426.002-3.06a.64.64 0 0 0-.616-.643 94 94 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012a.644.644 0 0 0 .662-.64"></path><path stroke="#648BD8" d="M101.485 273.933h12.272m-11.105-4.858c.006 3.368.04 5.759.11 6.47m-.095-12.42c-.009 1.53-.015 2.98-.016 4.313m-.447-93.414.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956"></path></g>', 1)
|
|
11
11
|
]));
|
|
12
12
|
}
|
|
13
|
-
const
|
|
13
|
+
const A = { render: _ }, D = {
|
|
14
14
|
style: { width: "100%", height: "100%" },
|
|
15
15
|
class: "flex justify-center items-center bg-[#fff]"
|
|
16
16
|
}, z = { class: "ml-12" }, x = {
|
|
@@ -24,13 +24,13 @@ const _ = { render: E }, A = {
|
|
|
24
24
|
}, R = /* @__PURE__ */ r({
|
|
25
25
|
__name: "403",
|
|
26
26
|
setup(c) {
|
|
27
|
-
const s = y(), i =
|
|
28
|
-
|
|
27
|
+
const s = y(), i = C(), o = () => {
|
|
28
|
+
v(i, !1), s.push("/");
|
|
29
29
|
};
|
|
30
30
|
return (V, t) => {
|
|
31
31
|
const d = F("el-button"), p = n("motion");
|
|
32
|
-
return a(), l("div",
|
|
33
|
-
f(B(
|
|
32
|
+
return a(), l("div", D, [
|
|
33
|
+
f(B(A)),
|
|
34
34
|
M("div", z, [
|
|
35
35
|
h((a(), l("p", x, t[0] || (t[0] = [
|
|
36
36
|
e(" 403 ")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElementBlock as l, openBlock as a, createStaticVNode as m, defineComponent as r, resolveComponent as n, resolveDirective as F, createVNode as f, createElementVNode as M, unref as v, withDirectives as p, createTextVNode as e, createBlock as B, withCtx as D } from "vue";
|
|
2
|
-
import { useRouter as
|
|
3
|
-
import {
|
|
2
|
+
import { useRouter as C, useRoute as k } from "vue-router";
|
|
3
|
+
import { C as u } from "./index-COBMRlmJ.js";
|
|
4
4
|
const y = {
|
|
5
5
|
width: "252",
|
|
6
6
|
height: "294"
|
|
@@ -24,8 +24,8 @@ const _ = { render: E }, z = {
|
|
|
24
24
|
}, N = /* @__PURE__ */ r({
|
|
25
25
|
__name: "404",
|
|
26
26
|
setup(c) {
|
|
27
|
-
const h =
|
|
28
|
-
|
|
27
|
+
const h = C(), i = k(), o = () => {
|
|
28
|
+
u(i, !1), h.push("/");
|
|
29
29
|
};
|
|
30
30
|
return (b, t) => {
|
|
31
31
|
const d = n("el-button"), s = F("motion");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElementBlock as s, openBlock as a, createStaticVNode as o, defineComponent as r, resolveComponent as F, resolveDirective as f, createVNode as n, createElementVNode as M, unref as k, withDirectives as p, createTextVNode as e, createBlock as v, withCtx as B } from "vue";
|
|
2
2
|
import { useRouter as u, useRoute as C } from "vue-router";
|
|
3
|
-
import { D } from "./index-
|
|
3
|
+
import { C as D } from "./index-COBMRlmJ.js";
|
|
4
4
|
const y = {
|
|
5
5
|
width: "254",
|
|
6
6
|
height: "294"
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { defineComponent as N, ref as f, reactive as B, onBeforeMount as M, resolveComponent as n, resolveDirective as A, createElementBlock as p, openBlock as _, createVNode as t, withCtx as r, withDirectives as D, createElementVNode as K } from "vue";
|
|
2
|
+
import { q as c } from "./index-COBMRlmJ.js";
|
|
3
|
+
import { t as S } from "./await-to-js.es5-BtRbN2QH.js";
|
|
4
|
+
const E = { class: "config" }, I = { style: { position: "relative", height: "100%" } }, z = /* @__PURE__ */ N({
|
|
5
|
+
__name: "AuthorityInfo",
|
|
6
|
+
props: {
|
|
7
|
+
show: { type: Boolean, default: !1 },
|
|
8
|
+
record: { default: () => ({}) },
|
|
9
|
+
dataStatus: { default: "detail" },
|
|
10
|
+
direction: { default: "rtl" }
|
|
11
|
+
},
|
|
12
|
+
emits: ["onClose"],
|
|
13
|
+
setup(h, { emit: y }) {
|
|
14
|
+
const d = h, u = f(null), o = f(!1), s = B({
|
|
15
|
+
dataList: [],
|
|
16
|
+
defaultCheckedKeys: []
|
|
17
|
+
// 默认权限
|
|
18
|
+
}), v = window.innerHeight - 180, g = y, w = async () => {
|
|
19
|
+
const e = await c().get("/uums/menu/listMenuTree", {});
|
|
20
|
+
o.value = !1, s.dataList = e;
|
|
21
|
+
}, k = async () => {
|
|
22
|
+
const e = {
|
|
23
|
+
roleId: d.record.id,
|
|
24
|
+
menuType: "1"
|
|
25
|
+
}, a = await c().get("/uums/role/getRoleMenus", e);
|
|
26
|
+
s.defaultCheckedKeys = a.map((i) => i.id);
|
|
27
|
+
}, C = async () => {
|
|
28
|
+
const { record: e } = d;
|
|
29
|
+
o.value = !0;
|
|
30
|
+
const a = u.value.getCheckedNodes(!1, !0);
|
|
31
|
+
e.sysMenus = a, await S(c().put("/uums/role", [e])), o.value = !1, l();
|
|
32
|
+
};
|
|
33
|
+
function l() {
|
|
34
|
+
g("onClose");
|
|
35
|
+
}
|
|
36
|
+
return M(() => {
|
|
37
|
+
o.value = !0, k(), w();
|
|
38
|
+
}), (e, a) => {
|
|
39
|
+
const i = n("el-tree-v2"), b = n("el-divider"), m = n("ut-button"), x = n("el-row"), T = n("el-drawer"), L = A("spinning");
|
|
40
|
+
return _(), p("div", E, [
|
|
41
|
+
t(T, {
|
|
42
|
+
"model-value": e.show,
|
|
43
|
+
title: e.$t("message.title.authority", { role: e.record.roleName }),
|
|
44
|
+
"before-close": l,
|
|
45
|
+
direction: "rtl",
|
|
46
|
+
"destroy-on-close": "",
|
|
47
|
+
"body-class": "ut-draw-body",
|
|
48
|
+
size: "40%"
|
|
49
|
+
}, {
|
|
50
|
+
footer: r(() => [
|
|
51
|
+
t(b, { style: { margin: "16px 0" } }),
|
|
52
|
+
t(x, {
|
|
53
|
+
type: "flex",
|
|
54
|
+
justify: "end",
|
|
55
|
+
style: { "padding-right": "20px" }
|
|
56
|
+
}, {
|
|
57
|
+
default: r(() => [
|
|
58
|
+
t(m, {
|
|
59
|
+
content: "cancel",
|
|
60
|
+
icon: "ri-close-fill",
|
|
61
|
+
status: "warning",
|
|
62
|
+
onTap: l
|
|
63
|
+
}),
|
|
64
|
+
t(m, {
|
|
65
|
+
content: "confirm",
|
|
66
|
+
icon: "ri-save-3-fill",
|
|
67
|
+
status: "u-cyan",
|
|
68
|
+
onTap: C
|
|
69
|
+
})
|
|
70
|
+
]),
|
|
71
|
+
_: 1
|
|
72
|
+
})
|
|
73
|
+
]),
|
|
74
|
+
default: r(() => [
|
|
75
|
+
D((_(), p("div", I, [
|
|
76
|
+
K("div", null, [
|
|
77
|
+
t(i, {
|
|
78
|
+
ref_key: "xTree",
|
|
79
|
+
ref: u,
|
|
80
|
+
data: s.dataList,
|
|
81
|
+
props: { children: "children", label: "menuName" },
|
|
82
|
+
"default-checked-keys": s.defaultCheckedKeys,
|
|
83
|
+
height: v,
|
|
84
|
+
"show-checkbox": "",
|
|
85
|
+
"node-key": "id"
|
|
86
|
+
}, null, 8, ["data", "default-checked-keys"])
|
|
87
|
+
])
|
|
88
|
+
])), [
|
|
89
|
+
[L, o.value]
|
|
90
|
+
])
|
|
91
|
+
]),
|
|
92
|
+
_: 1
|
|
93
|
+
}, 8, ["model-value", "title"])
|
|
94
|
+
]);
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
export {
|
|
99
|
+
z as _
|
|
100
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as r, ref as e, provide as t, createElementBlock as i, openBlock as _, createElementVNode as o, createVNode as n } from "vue";
|
|
2
|
-
import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-
|
|
3
|
-
import p from "./CompanyPanel-
|
|
4
|
-
import { _ as d } from "./index-
|
|
2
|
+
import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-botBBgto.js";
|
|
3
|
+
import p from "./CompanyPanel-DxPdJs6x.js";
|
|
4
|
+
import { _ as d } from "./index-COBMRlmJ.js";
|
|
5
5
|
const f = { class: "u-content-panel" }, u = { class: "u-left-panel" }, h = { class: "content" }, v = /* @__PURE__ */ r({
|
|
6
6
|
__name: "Company",
|
|
7
7
|
setup(C) {
|
|
@@ -4,7 +4,7 @@ import { VxeUI as U } from "vxe-table";
|
|
|
4
4
|
import { templateRef as R } from "@vueuse/core";
|
|
5
5
|
import { clone as z } from "xe-utils";
|
|
6
6
|
import { warnMessage as G, successMessage as H } from "@utogether/utils";
|
|
7
|
-
import {
|
|
7
|
+
import { q as J, _ as K } from "./index-COBMRlmJ.js";
|
|
8
8
|
const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
|
|
9
9
|
__name: "CompanyPanel",
|
|
10
10
|
setup(W) {
|
|
@@ -53,16 +53,16 @@ const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
|
|
|
53
53
|
if ((o = t.children) != null && o.length) return G(r("message.deletePartment"));
|
|
54
54
|
await U.modal.confirm(r("message.tip.del", { msg: "aaaaa" })) === "confirm" && (await f.delete(_, t), b());
|
|
55
55
|
}, b = () => {
|
|
56
|
-
$.value = !0, H(r("message.operateSuccess")),
|
|
56
|
+
$.value = !0, H(r("message.operateSuccess")), q();
|
|
57
57
|
}, F = () => {
|
|
58
58
|
e.dialogFormVisible = !1, e.dataStatus = "";
|
|
59
|
-
},
|
|
59
|
+
}, q = () => {
|
|
60
60
|
e.dialogFormVisible = !1;
|
|
61
61
|
};
|
|
62
62
|
return (t, a) => {
|
|
63
|
-
const o = i("ut-button"),
|
|
63
|
+
const o = i("ut-button"), I = i("vxe-toolbar"), g = i("vxe-form-item"), P = i("vxe-form"), u = i("el-row"), A = i("vxe-checkbox"), C = i("vxe-button"), T = i("el-card");
|
|
64
64
|
return l(), E("div", O, [
|
|
65
|
-
s(
|
|
65
|
+
s(I, {
|
|
66
66
|
perfect: "",
|
|
67
67
|
class: ""
|
|
68
68
|
}, {
|
|
@@ -107,7 +107,7 @@ const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
|
|
|
107
107
|
], -1)),
|
|
108
108
|
s(u, null, {
|
|
109
109
|
default: d(() => [
|
|
110
|
-
s(
|
|
110
|
+
s(P, {
|
|
111
111
|
ref_key: "xForm",
|
|
112
112
|
ref: y,
|
|
113
113
|
data: e.record,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as l, ref as e, provide as t, createElementBlock as i, openBlock as m, createElementVNode as n, createVNode as o } from "vue";
|
|
2
|
-
import { _ as p } from "./ScrollPanel.vue_vue_type_style_index_0_lang-
|
|
3
|
-
import _ from "./DepartmentPanel-
|
|
4
|
-
import { _ as d } from "./index-
|
|
2
|
+
import { _ as p } from "./ScrollPanel.vue_vue_type_style_index_0_lang-botBBgto.js";
|
|
3
|
+
import _ from "./DepartmentPanel-C_s2R9yl.js";
|
|
4
|
+
import { _ as d } from "./index-COBMRlmJ.js";
|
|
5
5
|
const f = { class: "u-content-panel" }, u = { class: "u-left-panel" }, h = { class: "content" }, v = /* @__PURE__ */ l({
|
|
6
6
|
__name: "Department",
|
|
7
7
|
setup(D) {
|
|
@@ -2,9 +2,10 @@ import { defineComponent as V, reactive as j, inject as C, watch as B, resolveCo
|
|
|
2
2
|
import { useI18n as Y } from "vue-i18n";
|
|
3
3
|
import { templateRef as z } from "@vueuse/core";
|
|
4
4
|
import { clone as G } from "xe-utils";
|
|
5
|
-
import {
|
|
6
|
-
import { VXETable as
|
|
7
|
-
import { warnMessage as
|
|
5
|
+
import { t as k } from "./await-to-js.es5-BtRbN2QH.js";
|
|
6
|
+
import { VXETable as J } from "vxe-table";
|
|
7
|
+
import { warnMessage as K, successMessage as O } from "@utogether/utils";
|
|
8
|
+
import { e as Q, q as W, _ as Z } from "./index-COBMRlmJ.js";
|
|
8
9
|
const ee = { class: "page-content" }, y = "/uums/department", te = /* @__PURE__ */ V({
|
|
9
10
|
__name: "DepartmentPanel",
|
|
10
11
|
setup(ae) {
|
|
@@ -15,7 +16,7 @@ const ee = { class: "page-content" }, y = "/uums/department", te = /* @__PURE__
|
|
|
15
16
|
dialogFormVisible: !1,
|
|
16
17
|
isChecked: !1,
|
|
17
18
|
dataStatus: ""
|
|
18
|
-
}), S =
|
|
19
|
+
}), S = Q().getDataDict, { t: o } = Y(), f = W(), $ = {
|
|
19
20
|
deptName: [
|
|
20
21
|
{
|
|
21
22
|
required: !0,
|
|
@@ -49,48 +50,48 @@ const ee = { class: "page-content" }, y = "/uums/department", te = /* @__PURE__
|
|
|
49
50
|
}, b = z("xForm", null), D = () => {
|
|
50
51
|
b.value.validate(async (a) => {
|
|
51
52
|
if (!a) {
|
|
52
|
-
const { record: t, dataStatus:
|
|
53
|
+
const { record: t, dataStatus: r } = e;
|
|
53
54
|
e.loading = !0;
|
|
54
|
-
const [g] =
|
|
55
|
+
const [g] = r === "add" ? await k(f.post(y, t)) : await k(f.put(y, t));
|
|
55
56
|
e.loading = !1, g || w();
|
|
56
57
|
}
|
|
57
58
|
});
|
|
58
59
|
}, N = async () => {
|
|
59
60
|
const { record: a } = e;
|
|
60
|
-
if (a.children.length) return
|
|
61
|
-
await
|
|
61
|
+
if (a.children.length) return K(o("message.deletePartment"));
|
|
62
|
+
await J.modal.confirm(o("message.tip.del")) === "confirm" && (await f.delete(y, a), w());
|
|
62
63
|
}, w = () => {
|
|
63
|
-
h.value = !0,
|
|
64
|
+
h.value = !0, O(o("message.operateSuccess")), P();
|
|
64
65
|
}, F = () => {
|
|
65
66
|
e.dataStatus === "add" && (e.dialogFormVisible = !1), e.dataStatus = "";
|
|
66
67
|
}, P = () => {
|
|
67
68
|
e.dialogFormVisible = !1;
|
|
68
69
|
};
|
|
69
70
|
return (a, t) => {
|
|
70
|
-
const
|
|
71
|
+
const r = l("ut-button"), g = l("vxe-toolbar"), v = l("vxe-form-item"), q = l("vxe-form"), u = l("el-row"), E = l("vxe-checkbox"), A = l("el-card"), I = M("spinning");
|
|
71
72
|
return c(), R("div", ee, [
|
|
72
73
|
n(g, {
|
|
73
74
|
perfect: "",
|
|
74
75
|
class: ""
|
|
75
76
|
}, {
|
|
76
77
|
buttons: d(() => [
|
|
77
|
-
n(
|
|
78
|
+
n(r, {
|
|
78
79
|
status: "u-cyan",
|
|
79
80
|
icon: "ri-add-line",
|
|
80
81
|
content: "add",
|
|
81
|
-
onTap: t[0] || (t[0] = (
|
|
82
|
+
onTap: t[0] || (t[0] = (i) => T())
|
|
82
83
|
}),
|
|
83
|
-
n(
|
|
84
|
+
n(r, {
|
|
84
85
|
status: "primary",
|
|
85
86
|
icon: "ri-edit-box-line",
|
|
86
87
|
content: "edit",
|
|
87
|
-
onTap: t[1] || (t[1] = (
|
|
88
|
+
onTap: t[1] || (t[1] = (i) => x("update"))
|
|
88
89
|
}),
|
|
89
|
-
n(
|
|
90
|
+
n(r, {
|
|
90
91
|
status: "danger",
|
|
91
92
|
icon: "ri-close-fill",
|
|
92
93
|
content: "delete",
|
|
93
|
-
onTap: t[2] || (t[2] = (
|
|
94
|
+
onTap: t[2] || (t[2] = (i) => N())
|
|
94
95
|
})
|
|
95
96
|
]),
|
|
96
97
|
_: 1
|
|
@@ -122,7 +123,7 @@ const ee = { class: "page-content" }, y = "/uums/department", te = /* @__PURE__
|
|
|
122
123
|
"label-width": "90px"
|
|
123
124
|
}, {
|
|
124
125
|
default: d(() => {
|
|
125
|
-
var
|
|
126
|
+
var i;
|
|
126
127
|
return [
|
|
127
128
|
n(v, {
|
|
128
129
|
title: a.$t("message.deptName"),
|
|
@@ -141,7 +142,7 @@ const ee = { class: "page-content" }, y = "/uums/department", te = /* @__PURE__
|
|
|
141
142
|
field: "deptType",
|
|
142
143
|
"item-render": {
|
|
143
144
|
name: "$select",
|
|
144
|
-
options: (
|
|
145
|
+
options: (i = H(S)["SU.DEPARTMENT.TYPE"]) == null ? void 0 : i.children,
|
|
145
146
|
optionProps: { label: "dictName", value: "dictCode" },
|
|
146
147
|
props: { disabled: e.dataStatus === "detail" }
|
|
147
148
|
},
|
|
@@ -162,7 +163,7 @@ const ee = { class: "page-content" }, y = "/uums/department", te = /* @__PURE__
|
|
|
162
163
|
e.dataStatus === "add" ? (c(), m(E, {
|
|
163
164
|
key: 0,
|
|
164
165
|
modelValue: e.isChecked,
|
|
165
|
-
"onUpdate:modelValue": t[3] || (t[3] = (
|
|
166
|
+
"onUpdate:modelValue": t[3] || (t[3] = (i) => e.isChecked = i),
|
|
166
167
|
style: { "padding-top": "5px", "margin-right": "8px" }
|
|
167
168
|
}, {
|
|
168
169
|
default: d(() => [
|
|
@@ -170,13 +171,13 @@ const ee = { class: "page-content" }, y = "/uums/department", te = /* @__PURE__
|
|
|
170
171
|
]),
|
|
171
172
|
_: 1
|
|
172
173
|
}, 8, ["modelValue"])) : _("", !0),
|
|
173
|
-
e.dataStatus !== "detail" ? (c(), m(
|
|
174
|
+
e.dataStatus !== "detail" ? (c(), m(r, {
|
|
174
175
|
key: 1,
|
|
175
176
|
status: "primary",
|
|
176
177
|
content: "confirm",
|
|
177
178
|
onTap: D
|
|
178
179
|
})) : _("", !0),
|
|
179
|
-
e.dataStatus !== "detail" ? (c(), m(
|
|
180
|
+
e.dataStatus !== "detail" ? (c(), m(r, {
|
|
180
181
|
key: 2,
|
|
181
182
|
status: "warning",
|
|
182
183
|
content: "cancel",
|
|
@@ -217,7 +218,7 @@ const ee = { class: "page-content" }, y = "/uums/department", te = /* @__PURE__
|
|
|
217
218
|
]);
|
|
218
219
|
};
|
|
219
220
|
}
|
|
220
|
-
}),
|
|
221
|
+
}), me = /* @__PURE__ */ Z(te, [["__scopeId", "data-v-c89aef1b"]]);
|
|
221
222
|
export {
|
|
222
|
-
|
|
223
|
+
me as default
|
|
223
224
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { defineComponent as it, ref as f, reactive as k, onMounted as ot, onBeforeUnmount as nt, resolveComponent as r, resolveDirective as pt, withDirectives as at, createElementBlock as N, openBlock as w, createVNode as l, createBlock as S, createCommentVNode as H, withCtx as i, createElementVNode as e, Fragment as rt, renderList as st, unref as dt, toDisplayString as D, withModifiers as ct, createTextVNode as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as it, ref as f, reactive as k, onMounted as ot, onBeforeUnmount as nt, resolveComponent as r, resolveDirective as pt, withDirectives as at, createElementBlock as N, openBlock as w, createVNode as l, createBlock as S, createCommentVNode as H, withCtx as i, createElementVNode as e, Fragment as rt, renderList as st, unref as dt, toDisplayString as D, withModifiers as ct, createTextVNode as U, nextTick as ht } from "vue";
|
|
2
|
+
import { VxeUI as O } from "vxe-pc-ui";
|
|
3
3
|
import { useGlobal as ut } from "@utogether/utils";
|
|
4
|
-
import {
|
|
5
|
-
import { clone as
|
|
6
|
-
import
|
|
4
|
+
import { t as mt } from "./await-to-js.es5-BtRbN2QH.js";
|
|
5
|
+
import { clone as ft } from "xe-utils";
|
|
6
|
+
import { e as gt, q as yt } from "./index-COBMRlmJ.js";
|
|
7
|
+
import vt from "./Preview-BOv5j9i6.js";
|
|
7
8
|
const xt = {
|
|
8
9
|
panels: [
|
|
9
10
|
{
|
|
@@ -482,16 +483,16 @@ const xt = {
|
|
|
482
483
|
}, wt = { class: "ut-design-panel" }, Tt = { class: "flex justify-between" }, bt = { style: { float: "left" } }, Et = { style: { float: "right", "font-size": "13px", color: "var(--el-text-color-secondary)" } }, _t = {
|
|
483
484
|
class: "flex justify-center mb-1",
|
|
484
485
|
style: { width: "100%" }
|
|
485
|
-
},
|
|
486
|
+
}, Nt = /* @__PURE__ */ it({
|
|
486
487
|
__name: "DesignPanel",
|
|
487
488
|
props: {
|
|
488
489
|
record: { default: () => ({}) }
|
|
489
490
|
},
|
|
490
491
|
emits: ["onClose"],
|
|
491
492
|
setup(J, { emit: B }) {
|
|
492
|
-
const
|
|
493
|
+
const I = J;
|
|
493
494
|
let { $printPlugin: u } = ut();
|
|
494
|
-
const
|
|
495
|
+
const R = gt().getDataDict, W = yt();
|
|
495
496
|
let s = null;
|
|
496
497
|
const C = f(!1), g = f(!1), y = f(!1), v = f(!1), z = f(null), T = f(""), m = f({}), d = k({}), h = k({ max: 5, min: 0.5, value: 1, ration: "100%" }), j = () => {
|
|
497
498
|
g.value = !1, s.setPaper(d.width || 210, d.height || 296.6);
|
|
@@ -503,7 +504,7 @@ const xt = {
|
|
|
503
504
|
p = JSON.stringify(x);
|
|
504
505
|
}
|
|
505
506
|
t.templateContent = p, v.value = !0;
|
|
506
|
-
const [E, _] = await
|
|
507
|
+
const [E, _] = await mt(W.put("/urpt/v1/printTemplate", [t]));
|
|
507
508
|
v.value = !1, E || (T.value = "", m.value = _[0]), n && n();
|
|
508
509
|
}, P = () => {
|
|
509
510
|
q("onClose");
|
|
@@ -511,24 +512,24 @@ const xt = {
|
|
|
511
512
|
let t = h.value;
|
|
512
513
|
n === "Y" ? (t += 0.1, t > h.max && (t = 5)) : (t -= 0.1, t < h.min && (t = 0.5)), s && (s.zoom(t), h.value = t, h.ration = `${(t * 100).toFixed(0)}%`);
|
|
513
514
|
}, F = async () => {
|
|
514
|
-
await
|
|
515
|
+
await O.modal.confirm("重绘操作不可逆,您确定继续吗?", "温馨提示") === "confirm" && s.clear();
|
|
515
516
|
}, L = async () => {
|
|
516
517
|
y.value = !0;
|
|
517
518
|
}, Y = async () => {
|
|
518
|
-
await
|
|
519
|
+
await O.modal.confirm("导入后将覆盖原有的模板,您确定继续吗?", "温馨提示") === "confirm" && (V(P), y.value = !1);
|
|
519
520
|
}, G = async () => {
|
|
520
521
|
C.value = !0;
|
|
521
522
|
const n = {};
|
|
522
523
|
ht(() => {
|
|
523
524
|
z.value.show(s, n, d.width || 220);
|
|
524
525
|
});
|
|
525
|
-
},
|
|
526
|
+
}, K = (n) => {
|
|
526
527
|
if (n !== "customize") {
|
|
527
|
-
const { width: t, height: p } =
|
|
528
|
+
const { width: t, height: p } = Q(n);
|
|
528
529
|
d.width = t, d.height = p, s.setPaper(d.width, d.height);
|
|
529
530
|
} else
|
|
530
531
|
g.value = !0;
|
|
531
|
-
},
|
|
532
|
+
}, Q = (n) => ({
|
|
532
533
|
A3: { width: 420, height: 296.6 },
|
|
533
534
|
A4: { width: 210, height: 296.6 },
|
|
534
535
|
A5: { width: 210, height: 147.6 },
|
|
@@ -536,8 +537,8 @@ const xt = {
|
|
|
536
537
|
trisection: { width: 241, height: 93 }
|
|
537
538
|
})[n];
|
|
538
539
|
return ot(() => {
|
|
539
|
-
const { record: n } =
|
|
540
|
-
v.value = !0, m.value =
|
|
540
|
+
const { record: n } = I;
|
|
541
|
+
v.value = !0, m.value = ft(n, !0);
|
|
541
542
|
const t = n.templateContent ? JSON.parse(n.templateContent) : xt;
|
|
542
543
|
$("#hiprint-printTemplate").empty(), u.print.init({
|
|
543
544
|
providers: [new u.provider()]
|
|
@@ -559,7 +560,7 @@ const xt = {
|
|
|
559
560
|
}), nt(() => {
|
|
560
561
|
u = null, s = null;
|
|
561
562
|
}), (n, t) => {
|
|
562
|
-
const p = r("ut-button"), E = r("el-option"), _ = r("el-select"), x = r("vxe-input"),
|
|
563
|
+
const p = r("ut-button"), E = r("el-option"), _ = r("el-select"), x = r("vxe-input"), X = r("el-popover"), M = r("vxe-button"), Z = r("el-space"), c = r("el-row"), a = r("el-col"), b = r("el-card"), tt = r("vxe-textarea"), et = r("vxe-modal"), lt = pt("spinning");
|
|
563
564
|
return at((w(), N("div", wt, [
|
|
564
565
|
l(b, { class: "design-panel-contain" }, {
|
|
565
566
|
default: i(() => [
|
|
@@ -582,10 +583,10 @@ const xt = {
|
|
|
582
583
|
placeholder: "Select Paper",
|
|
583
584
|
class: "ml-1 mr-1",
|
|
584
585
|
style: { width: "100px !important" },
|
|
585
|
-
onChange: t[1] || (t[1] = (o) =>
|
|
586
|
+
onChange: t[1] || (t[1] = (o) => K(m.value.paperType))
|
|
586
587
|
}, {
|
|
587
588
|
default: i(() => [
|
|
588
|
-
(w(!0), N(rt, null, st(dt(
|
|
589
|
+
(w(!0), N(rt, null, st(dt(R)["SU.PRINT.PAPER"].children, (o) => (w(), S(E, {
|
|
589
590
|
key: o.dictCode,
|
|
590
591
|
label: o.dictName,
|
|
591
592
|
value: o.dictCode
|
|
@@ -599,7 +600,7 @@ const xt = {
|
|
|
599
600
|
]),
|
|
600
601
|
_: 1
|
|
601
602
|
}, 8, ["modelValue"]),
|
|
602
|
-
m.value.paperType === "customize" ? (w(), S(
|
|
603
|
+
m.value.paperType === "customize" ? (w(), S(X, {
|
|
603
604
|
key: 0,
|
|
604
605
|
visible: g.value,
|
|
605
606
|
"onUpdate:visible": t[5] || (t[5] = (o) => g.value = o),
|
|
@@ -613,7 +614,7 @@ const xt = {
|
|
|
613
614
|
l(p, {
|
|
614
615
|
icon: "ri-font-size",
|
|
615
616
|
content: "customSize",
|
|
616
|
-
|
|
617
|
+
onTap: t[4] || (t[4] = ct((o) => g.value = !0, ["stop"]))
|
|
617
618
|
})
|
|
618
619
|
]),
|
|
619
620
|
default: i(() => [
|
|
@@ -709,7 +710,7 @@ const xt = {
|
|
|
709
710
|
default: i(() => [
|
|
710
711
|
l(c, { class: "drag_item_title" }, {
|
|
711
712
|
default: i(() => t[17] || (t[17] = [
|
|
712
|
-
|
|
713
|
+
U("拖拽组件列表")
|
|
713
714
|
])),
|
|
714
715
|
_: 1
|
|
715
716
|
}),
|
|
@@ -808,7 +809,7 @@ const xt = {
|
|
|
808
809
|
}),
|
|
809
810
|
l(c, { class: "drag_item_title" }, {
|
|
810
811
|
default: i(() => t[22] || (t[22] = [
|
|
811
|
-
|
|
812
|
+
U("辅助")
|
|
812
813
|
])),
|
|
813
814
|
_: 1
|
|
814
815
|
}),
|
|
@@ -1010,5 +1011,5 @@ const xt = {
|
|
|
1010
1011
|
}
|
|
1011
1012
|
});
|
|
1012
1013
|
export {
|
|
1013
|
-
|
|
1014
|
+
Nt as _
|
|
1014
1015
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as v, ref as
|
|
2
|
-
import { _ as T } from "./childView.vue_vue_type_style_index_0_lang-
|
|
3
|
-
import { useRender as
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as v, ref as i, createVNode as c, resolveComponent as s, nextTick as g, createElementBlock as C, openBlock as u, createBlock as k, createCommentVNode as D } from "vue";
|
|
2
|
+
import { _ as T } from "./childView.vue_vue_type_style_index_0_lang-B8EnA03l.js";
|
|
3
|
+
import { useRender as E } from "@utogether/utils";
|
|
4
|
+
const y = {
|
|
5
5
|
name: "DictView"
|
|
6
|
-
},
|
|
7
|
-
...
|
|
6
|
+
}, w = /* @__PURE__ */ v({
|
|
7
|
+
...y,
|
|
8
8
|
setup(N) {
|
|
9
|
-
const o =
|
|
9
|
+
const o = i(null), a = [{
|
|
10
10
|
field: "dictCode",
|
|
11
11
|
title: "message.udp.dictCode"
|
|
12
12
|
}, {
|
|
@@ -16,7 +16,7 @@ const E = {
|
|
|
16
16
|
field: "dictType",
|
|
17
17
|
title: "message.udp.dictType",
|
|
18
18
|
code: "SU.DICT.TYPE"
|
|
19
|
-
}], t =
|
|
19
|
+
}], t = E(), l = [{
|
|
20
20
|
type: "checkbox",
|
|
21
21
|
width: 40,
|
|
22
22
|
align: "center"
|
|
@@ -59,10 +59,10 @@ const E = {
|
|
|
59
59
|
onClick: () => m(e)
|
|
60
60
|
}, null)] : null
|
|
61
61
|
}
|
|
62
|
-
}], d =
|
|
62
|
+
}], d = i(!1), r = i(null), m = (e) => {
|
|
63
63
|
g(() => {
|
|
64
|
-
var
|
|
65
|
-
d.value = !0, r.value = e, r.value.total = (
|
|
64
|
+
var n;
|
|
65
|
+
d.value = !0, r.value = e, r.value.total = (n = e.children) == null ? void 0 : n.length;
|
|
66
66
|
});
|
|
67
67
|
}, f = () => {
|
|
68
68
|
o.value.refreshData(), d.value = !1;
|
|
@@ -72,17 +72,18 @@ const E = {
|
|
|
72
72
|
}) {
|
|
73
73
|
l[1].editRender.props.disabled = !!e.id;
|
|
74
74
|
}
|
|
75
|
-
};
|
|
76
|
-
return (e,
|
|
75
|
+
}, h = (e) => e.dictType !== "0";
|
|
76
|
+
return (e, n) => {
|
|
77
77
|
const _ = s("ut-grid");
|
|
78
|
-
return u(),
|
|
78
|
+
return u(), C("div", null, [c(_, {
|
|
79
79
|
ref_key: "xgrid",
|
|
80
80
|
ref: o,
|
|
81
81
|
items: a,
|
|
82
82
|
columns: l,
|
|
83
|
-
|
|
84
|
-
events: p
|
|
85
|
-
|
|
83
|
+
"check-method": h,
|
|
84
|
+
events: p,
|
|
85
|
+
url: "/upfm/v1/lov"
|
|
86
|
+
}, null, 512), d.value ? (u(), k(T, {
|
|
86
87
|
key: 0,
|
|
87
88
|
show: d.value,
|
|
88
89
|
record: r.value,
|
|
@@ -92,5 +93,5 @@ const E = {
|
|
|
92
93
|
}
|
|
93
94
|
});
|
|
94
95
|
export {
|
|
95
|
-
|
|
96
|
+
w as default
|
|
96
97
|
};
|