@utogether/udp-core 1.0.1-beta.2 → 1.0.1-beta.4
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/build/plugins.ts +6 -1
- package/dist/{403-BBQoJwTM.js → 403-CT4J-t-o.js} +1 -1
- package/dist/{404-BbJPSIWM.js → 404-BAudfnaK.js} +1 -1
- package/dist/{500-BtFL9R4M.js → 500-BlOGtpEE.js} +1 -1
- package/dist/{AuthorityInfo-DhiwCeLN.js → AuthorityInfo-Bl03tEhF.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-Duyweh89.js → AuthorityInfo.vue_vue_type_style_index_0_lang-CUwS2F3R.js} +1 -1
- package/dist/{Company-CGqmslx-.js → Company-CIj9XgQn.js} +3 -3
- package/dist/{CompanyPanel-hlDsxD-6.js → CompanyPanel-CublK5NN.js} +16 -16
- package/dist/{Department-BZyJtacc.js → Department-BolPW-W3.js} +3 -3
- package/dist/{DepartmentPanel-D-a_EBFt.js → DepartmentPanel-BttxSHfM.js} +1 -1
- package/dist/{DesignPanel-Bl4luWDV.js → DesignPanel-BwCbn92O.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-I8C3iGvz.js → DesignPanel.vue_vue_type_style_index_0_lang-y2AnCTg6.js} +2 -2
- package/dist/{DictView-B4a7Hs1X.js → DictView-D85ziNV2.js} +13 -12
- package/dist/InvOrganization-CaAk_f7F.js +66 -0
- package/dist/{Org-BTGTrAVz.js → Org-CreIihFE.js} +1 -1
- package/dist/{Preview-pHD84xqI.js → Preview-DMGbhV6q.js} +1 -1
- package/dist/{ReportDefine-DnnCNQWS.js → ReportDefine-DogZwa8T.js} +1 -1
- package/dist/{ReportDesign-BnI_Q4pg.js → ReportDesign-CdSsJJeA.js} +2 -2
- package/dist/{ReportQuery-Dby2MmtM.js → ReportQuery-DPvKqeUm.js} +1 -1
- package/dist/{ReportQueryFrom-Blm1N8P1.js → ReportQueryFrom-UokkfBx_.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-CnG_Ybnt.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-BlOoThY7.js} +1 -1
- package/dist/{ReportTemplate-D65RXRY_.js → ReportTemplate-DCnmllXW.js} +1 -1
- package/dist/{Role-eFZoTpXc.js → Role-sfmwLiNM.js} +3 -3
- package/dist/{RoleAssign-D9-Y3UNz.js → RoleAssign-WRk90VO2.js} +3 -3
- package/dist/{RolePanel-DlFw6HSf.js → RolePanel-DhP0_5ur.js} +1 -1
- package/dist/{RolePanel-CoUOc3sX.js → RolePanel-iWysS02n.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-DKHgNWQP.js → RolePanel.vue_vue_type_script_setup_true_lang-CYXqW-d4.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-Clwk-MHw.js → RolePanel.vue_vue_type_script_setup_true_lang-_hVY31HC.js} +3 -3
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-M2FQJwPU.js → ScrollPanel.vue_vue_type_style_index_0_lang-BozDFES-.js} +1 -1
- package/dist/{Staff-DFBLCsAd.js → Staff-Bha-Ijax.js} +3 -3
- package/dist/{StaffInfo-d2CK0oBA.js → StaffInfo-CbfYI8UW.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-4m8wK9tq.js → StaffInfo.vue_vue_type_script_setup_true_lang-Ce-MUVYH.js} +1 -1
- package/dist/{StaffPanel-D6aWLKN3.js → StaffPanel-B8094e97.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-C7YT2CVb.js → StaffPanel.vue_vue_type_script_setup_true_lang-_kJIBCtx.js} +2 -2
- package/dist/{SysUser-BdZvYxQH.js → SysUser-D1J9vPnb.js} +2 -2
- package/dist/{SysUserPanel-BIVa6LLr.js → SysUserPanel-DGDPKKoY.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-BsBKpYR7.js → SysUserPanel.vue_vue_type_script_setup_true_lang-D-5-zKn6.js} +1 -1
- package/dist/{SystemMenu-C-5VKlHK.js → SystemMenu-Dz8Pllh5.js} +9 -9
- package/dist/{UserInfo-DqXCRZts.js → UserInfo-ecAJA2Yg.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-N3TwfpPx.js → UserInfo.vue_vue_type_style_index_0_lang-4_-I_sQN.js} +1 -1
- package/dist/{childView-B2lSsqS3.js → childView-4uI_RT2m.js} +1 -1
- package/dist/{childView-DRUNqgjI.js → childView-OXXoMFg3.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-oGriyFTv.js → childView.vue_vue_type_style_index_0_lang-DC-yx4Kv.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-B9XBDDU_.js → childView.vue_vue_type_style_index_0_lang-e43PUsUO.js} +1 -1
- package/dist/{code-rule-DZC9T6cl.js → code-rule-B667R66s.js} +1 -1
- package/dist/core.es.js +14 -11
- package/dist/{cron-task-BJwPeA5F.js → cron-task-DcmGSr2D.js} +1 -1
- package/dist/{frameView-C6wkvok-.js → frameView-BzgaLYjQ.js} +1 -1
- package/dist/img/l_img.svg +1 -1
- package/dist/img/minicolors.png +0 -0
- package/dist/img/v_img.svg +1 -1
- package/dist/{index-DZc3qRTx.js → index-CLliRySq.js} +516 -560
- package/dist/{layoutView-CeJBpZb_.js → layoutView-BBQB8pDc.js} +109 -108
- package/dist/{login-BOxwzwdB.js → login-DIG7pRU7.js} +2 -2
- package/dist/{lov-view-DRF-99U4.js → lov-view-CSIPKZSY.js} +2 -2
- package/dist/{menuInfo-3Sjvs9nM.js → menuInfo-CPHjl7id.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-DrQ560nm.js → menuInfo.vue_vue_type_style_index_0_lang-BXNiinTg.js} +31 -29
- package/dist/{pda-app-B9tn7jdv.js → pda-app-BLjbMcdt.js} +1 -1
- package/dist/{resource-BqnxbQNe.js → resource-MxqaSJqB.js} +1 -1
- package/dist/{su-welcome-VwifUK_O.js → su-welcome-C0flTYCx.js} +1 -1
- package/dist/{sys-config-C0-gSBFO.js → sys-config-CXzGs3Nl.js} +1 -1
- package/dist/udp-core.css +2 -2
- package/dist/{utogether-Di1byIum.js → utogether-CFdIDuAT.js} +1 -1
- package/index.ts +40 -36
- package/package.json +1 -1
- package/src/App.vue +70 -70
- package/src/components/udp/grid.vue +505 -0
- package/src/components/udp/index.ts +7 -4
- package/src/components/udp/lov.vue +410 -0
- package/src/components/udp/modal-form.vue +2 -2
- package/src/components/udp/modal-grid.vue +297 -0
- package/src/components/udp/utils.ts +379 -40
- package/src/directives/permission/index.ts +1 -1
- package/src/layout/components/lay-navbar/index.vue +1 -1
- package/src/layout/components/lay-panel/index.vue +150 -150
- package/src/layout/components/lay-sidebar/breadCrumb.vue +1 -1
- package/src/layout/components/lay-tag/index.vue +625 -625
- package/src/layout/layoutView.vue +215 -215
- package/src/main.ts +7 -6
- package/src/plugins/i18n/en.ts +291 -289
- package/src/plugins/i18n/zh.ts +338 -337
- package/src/plugins/vxe-table/index.ts +1 -1
- package/src/plugins/vxe-table/render.tsx +4 -2
- package/src/router/index.ts +187 -183
- package/src/router/modules/remaining.ts +58 -83
- package/src/style/button.scss +85 -78
- package/src/style/tailwind.css +1 -68
- package/src/style/vxetable.scss +265 -256
- package/src/utils/authority/index.ts +1 -1
- package/src/views/organization/company/CompanyPanel.vue +259 -259
- package/src/views/organization/inv-org/InvOrganization.vue +2 -3
- package/src/views/system/menu/SystemMenu.vue +1 -1
- package/src/views/system/menu/menuInfo.vue +376 -373
- package/src/views/udev/dict/DictView.vue +106 -106
- package/src/views/udev/lov/lov-view.vue +91 -91
- package/types/global.d.ts +2 -1
- package/vite.config.ts +4 -1
- package/dist/InvOrganization-q4T3y8dQ.js +0 -260
|
@@ -1,150 +1,150 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
* @Author: wei.li
|
|
3
|
-
* @Date: 2021-12-23 17:33:20
|
|
4
|
-
* @LastEditors: levi7754 levi7754@163.com
|
|
5
|
-
* @LastEditTime: 2025-04-16 15:54:13
|
|
6
|
-
* @Description: 个性化设置页面
|
|
7
|
-
-->
|
|
8
|
-
<script setup lang="ts">
|
|
9
|
-
import { ref, computed, onMounted, onBeforeUnmount } from 'vue';
|
|
10
|
-
import { useDataThemeChange } from '../../hooks/useDataThemeChange';
|
|
11
|
-
import { onClickOutside } from '@vueuse/core';
|
|
12
|
-
import { emitter } from '../../../utils/mitt';
|
|
13
|
-
|
|
14
|
-
const target = ref(null);
|
|
15
|
-
const show = ref<Boolean>(false);
|
|
16
|
-
|
|
17
|
-
const iconClass = computed(() => {
|
|
18
|
-
return [
|
|
19
|
-
'w-[22px]',
|
|
20
|
-
'h-[22px]',
|
|
21
|
-
'flex',
|
|
22
|
-
'justify-center',
|
|
23
|
-
'items-center',
|
|
24
|
-
'outline-hidden',
|
|
25
|
-
'rounded-[4px]',
|
|
26
|
-
'cursor-pointer',
|
|
27
|
-
'transition-colors',
|
|
28
|
-
'hover:bg-[#0000000f]',
|
|
29
|
-
'dark:hover:bg-[#ffffff1f]',
|
|
30
|
-
'dark:hover:text-[#ffffffd9]'
|
|
31
|
-
];
|
|
32
|
-
});
|
|
33
|
-
|
|
34
|
-
const { onReset } = useDataThemeChange();
|
|
35
|
-
onClickOutside(target, (event: any) => {
|
|
36
|
-
if (event.clientX > target.value.offsetLeft) return;
|
|
37
|
-
show.value = false;
|
|
38
|
-
});
|
|
39
|
-
|
|
40
|
-
onMounted(() => {
|
|
41
|
-
emitter.on('openPanel', () => {
|
|
42
|
-
show.value = true;
|
|
43
|
-
});
|
|
44
|
-
});
|
|
45
|
-
|
|
46
|
-
onBeforeUnmount(() => {
|
|
47
|
-
// 解绑`openPanel`公共事件,防止多次触发
|
|
48
|
-
emitter.off('openPanel');
|
|
49
|
-
});
|
|
50
|
-
</script>
|
|
51
|
-
|
|
52
|
-
<template>
|
|
53
|
-
<div :class="{ show }">
|
|
54
|
-
<div class="right-panel-background" />
|
|
55
|
-
<div ref="target" class="right-panel bg-bg_color">
|
|
56
|
-
<div
|
|
57
|
-
class="project-configuration border-0 border-b-[1px] border-solid border-[var(--pure-border-color)]"
|
|
58
|
-
>
|
|
59
|
-
<h4 class="dark:text-white">{{ $t('message.tip.projectConfig') }}</h4>
|
|
60
|
-
<span
|
|
61
|
-
v-tippy="{
|
|
62
|
-
content: $t('message.tip.closeConfig'),
|
|
63
|
-
placement: 'bottom-start',
|
|
64
|
-
zIndex: 41000
|
|
65
|
-
}"
|
|
66
|
-
:class="iconClass"
|
|
67
|
-
>
|
|
68
|
-
<IconifyIconOffline
|
|
69
|
-
class="dark:text-white"
|
|
70
|
-
width="18px"
|
|
71
|
-
height="18px"
|
|
72
|
-
icon="ri:close-line"
|
|
73
|
-
@click="show = !show"
|
|
74
|
-
/>
|
|
75
|
-
</span>
|
|
76
|
-
</div>
|
|
77
|
-
<el-scrollbar>
|
|
78
|
-
<slot />
|
|
79
|
-
</el-scrollbar>
|
|
80
|
-
|
|
81
|
-
<div
|
|
82
|
-
class="flex justify-end p-3 border-0 border-t-[1px] border-solid border-[var(--pure-border-color)]"
|
|
83
|
-
>
|
|
84
|
-
<el-button
|
|
85
|
-
v-tippy="{
|
|
86
|
-
content: $t('message.tip.toLogin'),
|
|
87
|
-
placement: 'left-start',
|
|
88
|
-
zIndex: 41000
|
|
89
|
-
}"
|
|
90
|
-
type="danger"
|
|
91
|
-
text
|
|
92
|
-
bg
|
|
93
|
-
@click="onReset"
|
|
94
|
-
>
|
|
95
|
-
{{ $t('message.tip.clearCache') }}
|
|
96
|
-
</el-button>
|
|
97
|
-
</div>
|
|
98
|
-
</div>
|
|
99
|
-
</div>
|
|
100
|
-
</template>
|
|
101
|
-
|
|
102
|
-
<style lang="scss" scoped>
|
|
103
|
-
:deep(.el-scrollbar) {
|
|
104
|
-
height: calc(100vh - 110px);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.right-panel-background {
|
|
108
|
-
position: fixed;
|
|
109
|
-
top: 0;
|
|
110
|
-
left: 0;
|
|
111
|
-
z-index: -1;
|
|
112
|
-
background: rgb(0 0 0 / 20%);
|
|
113
|
-
opacity: 0;
|
|
114
|
-
transition: opacity 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.right-panel {
|
|
118
|
-
position: fixed;
|
|
119
|
-
top: 0;
|
|
120
|
-
right: 0;
|
|
121
|
-
z-index: 40000;
|
|
122
|
-
width: 100%;
|
|
123
|
-
max-width: 300px;
|
|
124
|
-
box-shadow: 0 0 15px 0 rgb(0 0 0 / 5%);
|
|
125
|
-
transform: translate(100%);
|
|
126
|
-
transition: all 0.25s cubic-bezier(0.7, 0.3, 0.1, 1);
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.show {
|
|
130
|
-
transition: all 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);
|
|
131
|
-
|
|
132
|
-
.right-panel-background {
|
|
133
|
-
z-index: 20000;
|
|
134
|
-
width: 100%;
|
|
135
|
-
height: 100%;
|
|
136
|
-
opacity: 1;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.right-panel {
|
|
140
|
-
transform: translate(0);
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.project-configuration {
|
|
145
|
-
display: flex;
|
|
146
|
-
align-items: center;
|
|
147
|
-
justify-content: space-between;
|
|
148
|
-
padding: 14px 20px;
|
|
149
|
-
}
|
|
150
|
-
</style>
|
|
1
|
+
<!--
|
|
2
|
+
* @Author: wei.li
|
|
3
|
+
* @Date: 2021-12-23 17:33:20
|
|
4
|
+
* @LastEditors: levi7754 levi7754@163.com
|
|
5
|
+
* @LastEditTime: 2025-04-16 15:54:13
|
|
6
|
+
* @Description: 个性化设置页面
|
|
7
|
+
-->
|
|
8
|
+
<script setup lang="ts">
|
|
9
|
+
import { ref, computed, onMounted, onBeforeUnmount } from 'vue';
|
|
10
|
+
import { useDataThemeChange } from '../../hooks/useDataThemeChange';
|
|
11
|
+
import { onClickOutside } from '@vueuse/core';
|
|
12
|
+
import { emitter } from '../../../utils/mitt';
|
|
13
|
+
|
|
14
|
+
const target = ref(null);
|
|
15
|
+
const show = ref<Boolean>(false);
|
|
16
|
+
|
|
17
|
+
const iconClass = computed(() => {
|
|
18
|
+
return [
|
|
19
|
+
'w-[22px]',
|
|
20
|
+
'h-[22px]',
|
|
21
|
+
'flex',
|
|
22
|
+
'justify-center',
|
|
23
|
+
'items-center',
|
|
24
|
+
'outline-hidden',
|
|
25
|
+
'rounded-[4px]',
|
|
26
|
+
'cursor-pointer',
|
|
27
|
+
'transition-colors',
|
|
28
|
+
'hover:bg-[#0000000f]',
|
|
29
|
+
'dark:hover:bg-[#ffffff1f]',
|
|
30
|
+
'dark:hover:text-[#ffffffd9]'
|
|
31
|
+
];
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
const { onReset } = useDataThemeChange();
|
|
35
|
+
onClickOutside(target, (event: any) => {
|
|
36
|
+
if (event.clientX > target.value.offsetLeft) return;
|
|
37
|
+
show.value = false;
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
onMounted(() => {
|
|
41
|
+
emitter.on('openPanel', () => {
|
|
42
|
+
show.value = true;
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
onBeforeUnmount(() => {
|
|
47
|
+
// 解绑`openPanel`公共事件,防止多次触发
|
|
48
|
+
emitter.off('openPanel');
|
|
49
|
+
});
|
|
50
|
+
</script>
|
|
51
|
+
|
|
52
|
+
<template>
|
|
53
|
+
<div :class="{ show }">
|
|
54
|
+
<div class="right-panel-background" />
|
|
55
|
+
<div ref="target" class="right-panel bg-bg_color">
|
|
56
|
+
<div
|
|
57
|
+
class="project-configuration border-0 border-b-[1px] border-solid border-[var(--pure-border-color)]"
|
|
58
|
+
>
|
|
59
|
+
<h4 class="dark:text-white">{{ $t('message.tip.projectConfig') }}</h4>
|
|
60
|
+
<span
|
|
61
|
+
v-tippy="{
|
|
62
|
+
content: $t('message.tip.closeConfig'),
|
|
63
|
+
placement: 'bottom-start',
|
|
64
|
+
zIndex: 41000
|
|
65
|
+
}"
|
|
66
|
+
:class="iconClass"
|
|
67
|
+
>
|
|
68
|
+
<IconifyIconOffline
|
|
69
|
+
class="dark:text-white"
|
|
70
|
+
width="18px"
|
|
71
|
+
height="18px"
|
|
72
|
+
icon="ri:close-line"
|
|
73
|
+
@click="show = !show"
|
|
74
|
+
/>
|
|
75
|
+
</span>
|
|
76
|
+
</div>
|
|
77
|
+
<el-scrollbar>
|
|
78
|
+
<slot />
|
|
79
|
+
</el-scrollbar>
|
|
80
|
+
|
|
81
|
+
<div
|
|
82
|
+
class="flex justify-end p-3 border-0 border-t-[1px] border-solid border-[var(--pure-border-color)]"
|
|
83
|
+
>
|
|
84
|
+
<el-button
|
|
85
|
+
v-tippy="{
|
|
86
|
+
content: $t('message.tip.toLogin'),
|
|
87
|
+
placement: 'left-start',
|
|
88
|
+
zIndex: 41000
|
|
89
|
+
}"
|
|
90
|
+
type="danger"
|
|
91
|
+
text
|
|
92
|
+
bg
|
|
93
|
+
@click="onReset"
|
|
94
|
+
>
|
|
95
|
+
{{ $t('message.tip.clearCache') }}
|
|
96
|
+
</el-button>
|
|
97
|
+
</div>
|
|
98
|
+
</div>
|
|
99
|
+
</div>
|
|
100
|
+
</template>
|
|
101
|
+
|
|
102
|
+
<style lang="scss" scoped>
|
|
103
|
+
:deep(.el-scrollbar) {
|
|
104
|
+
height: calc(100vh - 110px);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.right-panel-background {
|
|
108
|
+
position: fixed;
|
|
109
|
+
top: 0;
|
|
110
|
+
left: 0;
|
|
111
|
+
z-index: -1;
|
|
112
|
+
background: rgb(0 0 0 / 20%);
|
|
113
|
+
opacity: 0;
|
|
114
|
+
transition: opacity 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.right-panel {
|
|
118
|
+
position: fixed;
|
|
119
|
+
top: 0;
|
|
120
|
+
right: 0;
|
|
121
|
+
z-index: 40000;
|
|
122
|
+
width: 100%;
|
|
123
|
+
max-width: 300px;
|
|
124
|
+
box-shadow: 0 0 15px 0 rgb(0 0 0 / 5%);
|
|
125
|
+
transform: translate(100%);
|
|
126
|
+
transition: all 0.25s cubic-bezier(0.7, 0.3, 0.1, 1);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.show {
|
|
130
|
+
transition: all 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);
|
|
131
|
+
|
|
132
|
+
.right-panel-background {
|
|
133
|
+
z-index: 20000;
|
|
134
|
+
width: 100%;
|
|
135
|
+
height: 100%;
|
|
136
|
+
opacity: 1;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.right-panel {
|
|
140
|
+
transform: translate(0);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.project-configuration {
|
|
145
|
+
display: flex;
|
|
146
|
+
align-items: center;
|
|
147
|
+
justify-content: space-between;
|
|
148
|
+
padding: 14px 20px;
|
|
149
|
+
}
|
|
150
|
+
</style>
|
|
@@ -119,7 +119,7 @@ watch(
|
|
|
119
119
|
</script>
|
|
120
120
|
|
|
121
121
|
<template>
|
|
122
|
-
<el-breadcrumb class="!leading-[50px] select-none" separator="/">
|
|
122
|
+
<el-breadcrumb class="!leading-[50px] select-none" separator="/" style="line-height: 50px">
|
|
123
123
|
<transition-group name="breadcrumb">
|
|
124
124
|
<el-breadcrumb-item v-for="item in levelList" :key="item.path" class="inline! items-stretch!">
|
|
125
125
|
<a @click.prevent="handleLink(item)">
|