yh-pub 1.0.0 → 1.0.2
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/README.MD +19 -19
- package/layout/admin/adminIndex.vue +104 -104
- package/layout/admin/api/loginApi.js +24 -24
- package/layout/admin/api/routers.js +93 -93
- package/layout/admin/api/tenantApi.js +123 -123
- package/layout/admin/home/homeIndex.vue +25 -25
- package/layout/admin/login/login.vue +161 -161
- package/layout/admin/menu/MenuIndex.vue +648 -648
- package/layout/admin/menu/icon.vue +108 -108
- package/layout/admin/menu/iconList.js +934 -934
- package/layout/admin/saTenant/saTenant.vue +173 -173
- package/layout/admin/saTenant/saTenantForm.js +80 -80
- package/layout/admin/saTenant/saTenantForm.vue +61 -61
- package/layout/admin/saTenant/saTenantRoleManage.js +417 -417
- package/layout/admin/saTenant/saTenantRoleManage.vue +99 -99
- package/layout/admin/user/saUser.less +6 -6
- package/layout/admin/user/saUser.vue +72 -72
- package/layout/main/components/console/console.vue +205 -205
- package/layout/main/components/error-store/error-store.vue +72 -72
- package/layout/main/components/error-store/index.js +2 -2
- package/layout/main/components/fullscreen/fullscreen.vue +57 -57
- package/layout/main/components/fullscreen/index.js +2 -2
- package/layout/main/components/language/language.vue +71 -71
- package/layout/main/components/side-menu/side-menu.less +73 -73
- package/layout/main/components/side-menu/side-menu.vue +75 -75
- package/layout/main/components/tags-nav/tags-nav.less +44 -44
- package/layout/main/components/tags-nav/tags-nav.vue +144 -144
- package/layout/main/components/user/user.less +12 -12
- package/layout/main/components/user/user.vue +185 -185
- package/layout/main/home/home.vue +480 -480
- package/layout/main/home/index.js +2 -2
- package/layout/main/home/toDoList.vue +32 -32
- package/layout/main/login/login.less +93 -93
- package/layout/main/login/login.vue +151 -151
- package/layout/main/main.less +81 -81
- package/layout/main/main.vue +254 -202
- package/layout/main/system/dict.vue +64 -64
- package/layout/main/system/orgManage.vue +473 -473
- package/layout/main/system/roleManage.js +807 -755
- package/layout/main/system/roleManage.vue +424 -399
- package/package.json +11 -11
- package/view/basic/error-logger.vue +74 -74
- package/view/basic/error-page/401.vue +22 -22
- package/view/basic/error-page/404.vue +22 -22
- package/view/basic/error-page/500.vue +22 -22
- package/view/basic/error-page/back-btn-group.vue +48 -48
- package/view/basic/error-page/error-content.vue +28 -28
- package/view/basic/error-page/error.less +46 -46
- package/view/config/component/confFormItem.vue +49 -49
- package/view/config/config.scss +45 -45
- package/view/config/configIndex.vue +150 -150
- package/view/config/subPage/router-config.vue +4 -4
- package/view/config/subPage/sys-config.vue +249 -249
- package/view/window/IframeFReportView.vue +27 -27
- package/view/window/windowIndex.vue +22 -22
|
@@ -1,108 +1,108 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<el-dialog
|
|
3
|
-
v-model="iconModal"
|
|
4
|
-
title="选择ICON"
|
|
5
|
-
:width="1200">
|
|
6
|
-
<div style="height: 600px">
|
|
7
|
-
<el-form
|
|
8
|
-
:model="searchForm"
|
|
9
|
-
layout="inline">
|
|
10
|
-
<el-form-item label="筛选图标">
|
|
11
|
-
<el-input
|
|
12
|
-
v-model="searchForm.icon"
|
|
13
|
-
placeholder="输入中文或者字母筛选"
|
|
14
|
-
allow-clear></el-input>
|
|
15
|
-
</el-form-item>
|
|
16
|
-
</el-form>
|
|
17
|
-
<div class="icon-choose-container">
|
|
18
|
-
<template v-for="item in resultList">
|
|
19
|
-
<i
|
|
20
|
-
:class="item.value"
|
|
21
|
-
@click="clickIcon(item)"></i>
|
|
22
|
-
</template>
|
|
23
|
-
</div>
|
|
24
|
-
</div>
|
|
25
|
-
<div slot="footer">
|
|
26
|
-
<el-button
|
|
27
|
-
type="primary"
|
|
28
|
-
@click="ok()">
|
|
29
|
-
关闭
|
|
30
|
-
</el-button>
|
|
31
|
-
</div>
|
|
32
|
-
</el-dialog>
|
|
33
|
-
</template>
|
|
34
|
-
<script setup>
|
|
35
|
-
import { ref, reactive, watch, computed } from "vue";
|
|
36
|
-
import iconList from "./iconList.js";
|
|
37
|
-
const props = defineProps({
|
|
38
|
-
actionData: {
|
|
39
|
-
type: Object,
|
|
40
|
-
},
|
|
41
|
-
});
|
|
42
|
-
const emits = defineEmits(["clickSure"]);
|
|
43
|
-
watch(
|
|
44
|
-
() => props.actionData,
|
|
45
|
-
(val) => {
|
|
46
|
-
if (val.type === "select") {
|
|
47
|
-
iconModal.value = true;
|
|
48
|
-
// newIconList = iconList;
|
|
49
|
-
} else {
|
|
50
|
-
iconModal.value = false;
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
deep: true,
|
|
55
|
-
}
|
|
56
|
-
);
|
|
57
|
-
const resultList = computed(() => {
|
|
58
|
-
return iconList.filter((item) => {
|
|
59
|
-
return (item.label && item.label.indexOf(searchForm.icon) > -1) || (item.value && item.value.indexOf(searchForm.icon) > -1);
|
|
60
|
-
});
|
|
61
|
-
});
|
|
62
|
-
function ok() {
|
|
63
|
-
iconModal.value = false;
|
|
64
|
-
}
|
|
65
|
-
function cancel() {
|
|
66
|
-
iconModal.value = false;
|
|
67
|
-
}
|
|
68
|
-
function clickIcon(val) {
|
|
69
|
-
toIcon.value = val.value;
|
|
70
|
-
emits("clickSure", toIcon.value);
|
|
71
|
-
iconModal.value = false;
|
|
72
|
-
}
|
|
73
|
-
const searchForm = reactive({
|
|
74
|
-
icon: "",
|
|
75
|
-
});
|
|
76
|
-
|
|
77
|
-
const iconModal = ref(false);
|
|
78
|
-
const toIcon = ref("");
|
|
79
|
-
</script>
|
|
80
|
-
|
|
81
|
-
<style lang="less">
|
|
82
|
-
.icon-choose-container {
|
|
83
|
-
overflow: auto;
|
|
84
|
-
height: 536px;
|
|
85
|
-
border-top: 1px solid #ccc;
|
|
86
|
-
border-left: 1px solid #ccc;
|
|
87
|
-
display: flex;
|
|
88
|
-
align-content: flex-start;
|
|
89
|
-
flex-wrap: wrap;
|
|
90
|
-
margin-top: 24px;
|
|
91
|
-
.iconfont {
|
|
92
|
-
font-size: 26px;
|
|
93
|
-
display: inline-block;
|
|
94
|
-
width: 56.7px;
|
|
95
|
-
height: 56.7px;
|
|
96
|
-
text-align: center;
|
|
97
|
-
line-height: 56.7px;
|
|
98
|
-
border-right: 1px solid #ccc;
|
|
99
|
-
border-bottom: 1px solid #ccc;
|
|
100
|
-
box-sizing: border-box;
|
|
101
|
-
overflow: hidden;
|
|
102
|
-
transition: font-size 0.2s ease-in-out 0s;
|
|
103
|
-
&:hover {
|
|
104
|
-
font-size: 40px;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<el-dialog
|
|
3
|
+
v-model="iconModal"
|
|
4
|
+
title="选择ICON"
|
|
5
|
+
:width="1200">
|
|
6
|
+
<div style="height: 600px">
|
|
7
|
+
<el-form
|
|
8
|
+
:model="searchForm"
|
|
9
|
+
layout="inline">
|
|
10
|
+
<el-form-item label="筛选图标">
|
|
11
|
+
<el-input
|
|
12
|
+
v-model="searchForm.icon"
|
|
13
|
+
placeholder="输入中文或者字母筛选"
|
|
14
|
+
allow-clear></el-input>
|
|
15
|
+
</el-form-item>
|
|
16
|
+
</el-form>
|
|
17
|
+
<div class="icon-choose-container">
|
|
18
|
+
<template v-for="item in resultList">
|
|
19
|
+
<i
|
|
20
|
+
:class="item.value"
|
|
21
|
+
@click="clickIcon(item)"></i>
|
|
22
|
+
</template>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
<div slot="footer">
|
|
26
|
+
<el-button
|
|
27
|
+
type="primary"
|
|
28
|
+
@click="ok()">
|
|
29
|
+
关闭
|
|
30
|
+
</el-button>
|
|
31
|
+
</div>
|
|
32
|
+
</el-dialog>
|
|
33
|
+
</template>
|
|
34
|
+
<script setup>
|
|
35
|
+
import { ref, reactive, watch, computed } from "vue";
|
|
36
|
+
import iconList from "./iconList.js";
|
|
37
|
+
const props = defineProps({
|
|
38
|
+
actionData: {
|
|
39
|
+
type: Object,
|
|
40
|
+
},
|
|
41
|
+
});
|
|
42
|
+
const emits = defineEmits(["clickSure"]);
|
|
43
|
+
watch(
|
|
44
|
+
() => props.actionData,
|
|
45
|
+
(val) => {
|
|
46
|
+
if (val.type === "select") {
|
|
47
|
+
iconModal.value = true;
|
|
48
|
+
// newIconList = iconList;
|
|
49
|
+
} else {
|
|
50
|
+
iconModal.value = false;
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
deep: true,
|
|
55
|
+
}
|
|
56
|
+
);
|
|
57
|
+
const resultList = computed(() => {
|
|
58
|
+
return iconList.filter((item) => {
|
|
59
|
+
return (item.label && item.label.indexOf(searchForm.icon) > -1) || (item.value && item.value.indexOf(searchForm.icon) > -1);
|
|
60
|
+
});
|
|
61
|
+
});
|
|
62
|
+
function ok() {
|
|
63
|
+
iconModal.value = false;
|
|
64
|
+
}
|
|
65
|
+
function cancel() {
|
|
66
|
+
iconModal.value = false;
|
|
67
|
+
}
|
|
68
|
+
function clickIcon(val) {
|
|
69
|
+
toIcon.value = val.value;
|
|
70
|
+
emits("clickSure", toIcon.value);
|
|
71
|
+
iconModal.value = false;
|
|
72
|
+
}
|
|
73
|
+
const searchForm = reactive({
|
|
74
|
+
icon: "",
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
const iconModal = ref(false);
|
|
78
|
+
const toIcon = ref("");
|
|
79
|
+
</script>
|
|
80
|
+
|
|
81
|
+
<style lang="less">
|
|
82
|
+
.icon-choose-container {
|
|
83
|
+
overflow: auto;
|
|
84
|
+
height: 536px;
|
|
85
|
+
border-top: 1px solid #ccc;
|
|
86
|
+
border-left: 1px solid #ccc;
|
|
87
|
+
display: flex;
|
|
88
|
+
align-content: flex-start;
|
|
89
|
+
flex-wrap: wrap;
|
|
90
|
+
margin-top: 24px;
|
|
91
|
+
.iconfont {
|
|
92
|
+
font-size: 26px;
|
|
93
|
+
display: inline-block;
|
|
94
|
+
width: 56.7px;
|
|
95
|
+
height: 56.7px;
|
|
96
|
+
text-align: center;
|
|
97
|
+
line-height: 56.7px;
|
|
98
|
+
border-right: 1px solid #ccc;
|
|
99
|
+
border-bottom: 1px solid #ccc;
|
|
100
|
+
box-sizing: border-box;
|
|
101
|
+
overflow: hidden;
|
|
102
|
+
transition: font-size 0.2s ease-in-out 0s;
|
|
103
|
+
&:hover {
|
|
104
|
+
font-size: 40px;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
</style>
|