@utogether/udp-core 1.0.1-beta.1 → 1.0.1-beta.3
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-Dp617CWX.js → 403-BuP9jvH9.js} +1 -1
- package/dist/{404-Cz_Axb6Y.js → 404-DfQk8kKl.js} +1 -1
- package/dist/{500-BGCtRNse.js → 500-OgROWdiZ.js} +1 -1
- package/dist/{AuthorityInfo-DGGfm7IS.js → AuthorityInfo-q2ksfkWH.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-BqccGW7v.js → AuthorityInfo.vue_vue_type_style_index_0_lang-Bwsf6lMH.js} +1 -1
- package/dist/{Company-IV3GTnzY.js → Company-DgqowAxc.js} +3 -3
- package/dist/{CompanyPanel-qV-_VtoL.js → CompanyPanel-BNb1rUhD.js} +16 -16
- package/dist/{Department-B3W-OxW8.js → Department-Cl8CROSU.js} +3 -3
- package/dist/{DepartmentPanel-Cw3OWxE7.js → DepartmentPanel-D5VkqKeP.js} +1 -1
- package/dist/{DesignPanel-BFxR2fHJ.js → DesignPanel-BGvEusHC.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-DljbeFba.js → DesignPanel.vue_vue_type_style_index_0_lang-BQF1uQ7w.js} +2 -2
- package/dist/{DictView-C-i7e4hZ.js → DictView-BnxfaOBv.js} +13 -12
- package/dist/InvOrganization-5y79ZLdY.js +66 -0
- package/dist/{Org-CA7vTDIF.js → Org-2oBAXN2r.js} +1 -1
- package/dist/{Preview-BlDMmpdR.js → Preview-BaGmXH7r.js} +1 -1
- package/dist/{ReportDefine-Cub_85LA.js → ReportDefine-DkQdBErt.js} +1 -1
- package/dist/{ReportDesign-hFhq5UVE.js → ReportDesign-DzB_A_G6.js} +2 -2
- package/dist/{ReportQuery-ChkWEyxT.js → ReportQuery-DRcMb6ya.js} +1 -1
- package/dist/{ReportQueryFrom-KVyD_8Dj.js → ReportQueryFrom-CeA9xhR4.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-CLNODquq.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-CgGtcs5V.js} +1 -1
- package/dist/{ReportTemplate-ag9NDvh2.js → ReportTemplate-qaiTMQuT.js} +1 -1
- package/dist/{Role-_q3lQ8CZ.js → Role-DsFulAjq.js} +3 -3
- package/dist/{RoleAssign-DZb9IRsm.js → RoleAssign-DMRdocpa.js} +3 -3
- package/dist/{RolePanel-CsLsz-Ds.js → RolePanel-B9POS_pg.js} +1 -1
- package/dist/{RolePanel-BQb1LlhD.js → RolePanel-wXVysDHM.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-BrnRgHEk.js → RolePanel.vue_vue_type_script_setup_true_lang-CleVvkcY.js} +3 -3
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-cmW7zBLu.js → RolePanel.vue_vue_type_script_setup_true_lang-t6S_0zmJ.js} +1 -1
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-CaFKRwXu.js → ScrollPanel.vue_vue_type_style_index_0_lang-DlXUs0j9.js} +1 -1
- package/dist/{Staff-BSf9Ypbk.js → Staff-Cq4V7ruC.js} +3 -3
- package/dist/{StaffInfo-BNKasyMF.js → StaffInfo-CJDKMbud.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-DDZ7ukd0.js → StaffInfo.vue_vue_type_script_setup_true_lang-DQ4DL1KY.js} +1 -1
- package/dist/{StaffPanel-Bpq0WVlH.js → StaffPanel-CG-uggdr.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-BhiJ0Q-Q.js → StaffPanel.vue_vue_type_script_setup_true_lang-DAgN7zN2.js} +2 -2
- package/dist/{SysUser-FAABuNti.js → SysUser-kwnzRNdD.js} +2 -2
- package/dist/{SysUserPanel-PxJeOgHm.js → SysUserPanel-DTlZf3vk.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-njefUln5.js → SysUserPanel.vue_vue_type_script_setup_true_lang-BW6PlGjM.js} +1 -1
- package/dist/{SystemMenu-C-7NAGon.js → SystemMenu-BVT0n-L2.js} +21 -21
- package/dist/{UserInfo-ClXKtyGo.js → UserInfo-BbTQ9Zat.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-8N7P4Hl7.js → UserInfo.vue_vue_type_style_index_0_lang-D_bpYDmI.js} +1 -1
- package/dist/{childView-C_HmDQNd.js → childView-BJbIhjmf.js} +1 -1
- package/dist/{childView-uUlBcTza.js → childView-DCsGFrG-.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-y0sDvYx5.js → childView.vue_vue_type_style_index_0_lang-BCDxpVoD.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-Ckjmw6wJ.js → childView.vue_vue_type_style_index_0_lang-CDtsalCm.js} +1 -1
- package/dist/{code-rule-AgCVDKFy.js → code-rule-DePU6cdp.js} +1 -1
- package/dist/core.es.js +1 -1
- package/dist/{cron-task-C6FgQxTi.js → cron-task-DUM1SIGL.js} +1 -1
- package/dist/{frameView-BDgISK7N.js → frameView-CEUTDtSm.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-DzOzUkf6.js → index-ZdgOD7cF.js} +59 -48
- package/dist/{layoutView-yb3DV2DQ.js → layoutView-PCjwVwkX.js} +109 -108
- package/dist/{login-RRpljbkm.js → login-B1CjWVKu.js} +2 -2
- package/dist/{lov-view-C9-rjzZR.js → lov-view-D8wwkxFJ.js} +2 -2
- package/dist/{menuInfo-CzPQyFhp.js → menuInfo-B5JKVwrB.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-BumXunCg.js → menuInfo.vue_vue_type_style_index_0_lang-CcM9WX4n.js} +97 -96
- package/dist/{pda-app-Dvy3U-b6.js → pda-app-DIa1p1Ww.js} +1 -1
- package/dist/{resource-Fy0lFkSV.js → resource-CCQ7Dd-5.js} +1 -1
- package/dist/{su-welcome-DYvSCUST.js → su-welcome-CLp9YaJa.js} +1 -1
- package/dist/{sys-config-DJ1vNQTy.js → sys-config-BBmf_SqF.js} +1 -1
- package/dist/udp-core.css +2 -2
- package/dist/{utogether-CjmJiHoE.js → utogether-Bkptx2lB.js} +1 -1
- package/package.json +18 -18
- package/src/App.vue +70 -70
- package/src/components/udp/form-upload.vue +71 -20
- package/src/components/udp/grid.vue +500 -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/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 +4 -3
- package/src/plugins/i18n/en.ts +291 -289
- package/src/plugins/i18n/zh.ts +338 -337
- package/src/plugins/vxe-table/index.ts +53 -46
- package/src/plugins/vxe-table/render.tsx +4 -2
- package/src/style/button.scss +85 -78
- package/src/style/tailwind.css +1 -68
- package/src/style/vxetable.scss +258 -256
- 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 +197 -197
- package/src/views/system/menu/menuInfo.vue +372 -371
- package/src/views/udev/dict/DictView.vue +106 -106
- package/src/views/udev/lov/lov-view.vue +91 -91
- package/vite.config.ts +4 -1
- package/dist/InvOrganization-cfT6riGU.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)">
|