yh-pub 1.0.0

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.
Files changed (56) hide show
  1. package/README.MD +19 -0
  2. package/layout/admin/adminIndex.vue +104 -0
  3. package/layout/admin/api/loginApi.js +24 -0
  4. package/layout/admin/api/routers.js +93 -0
  5. package/layout/admin/api/tenantApi.js +123 -0
  6. package/layout/admin/home/homeIndex.vue +25 -0
  7. package/layout/admin/login/login.vue +161 -0
  8. package/layout/admin/menu/MenuIndex.vue +648 -0
  9. package/layout/admin/menu/icon.vue +108 -0
  10. package/layout/admin/menu/iconList.js +934 -0
  11. package/layout/admin/saTenant/saTenant.js +0 -0
  12. package/layout/admin/saTenant/saTenant.vue +173 -0
  13. package/layout/admin/saTenant/saTenantForm.js +80 -0
  14. package/layout/admin/saTenant/saTenantForm.vue +61 -0
  15. package/layout/admin/saTenant/saTenantRoleManage.js +417 -0
  16. package/layout/admin/saTenant/saTenantRoleManage.vue +99 -0
  17. package/layout/admin/user/saUser.less +6 -0
  18. package/layout/admin/user/saUser.vue +72 -0
  19. package/layout/main/components/console/console.vue +205 -0
  20. package/layout/main/components/error-store/error-store.vue +72 -0
  21. package/layout/main/components/error-store/index.js +2 -0
  22. package/layout/main/components/fullscreen/fullscreen.vue +57 -0
  23. package/layout/main/components/fullscreen/index.js +2 -0
  24. package/layout/main/components/language/language.vue +71 -0
  25. package/layout/main/components/side-menu/side-menu.less +74 -0
  26. package/layout/main/components/side-menu/side-menu.vue +75 -0
  27. package/layout/main/components/tags-nav/tags-nav.less +45 -0
  28. package/layout/main/components/tags-nav/tags-nav.vue +144 -0
  29. package/layout/main/components/user/user.less +12 -0
  30. package/layout/main/components/user/user.vue +185 -0
  31. package/layout/main/home/home.vue +480 -0
  32. package/layout/main/home/index.js +2 -0
  33. package/layout/main/home/toDoList.vue +32 -0
  34. package/layout/main/login/login.less +93 -0
  35. package/layout/main/login/login.vue +151 -0
  36. package/layout/main/main.less +81 -0
  37. package/layout/main/main.vue +202 -0
  38. package/layout/main/system/dict.vue +64 -0
  39. package/layout/main/system/orgManage.vue +473 -0
  40. package/layout/main/system/roleManage.js +755 -0
  41. package/layout/main/system/roleManage.vue +399 -0
  42. package/package.json +12 -0
  43. package/view/basic/error-logger.vue +74 -0
  44. package/view/basic/error-page/401.vue +22 -0
  45. package/view/basic/error-page/404.vue +22 -0
  46. package/view/basic/error-page/500.vue +22 -0
  47. package/view/basic/error-page/back-btn-group.vue +48 -0
  48. package/view/basic/error-page/error-content.vue +28 -0
  49. package/view/basic/error-page/error.less +46 -0
  50. package/view/config/component/confFormItem.vue +49 -0
  51. package/view/config/config.scss +45 -0
  52. package/view/config/configIndex.vue +150 -0
  53. package/view/config/subPage/router-config.vue +5 -0
  54. package/view/config/subPage/sys-config.vue +249 -0
  55. package/view/window/IframeFReportView.vue +28 -0
  56. package/view/window/windowIndex.vue +22 -0
@@ -0,0 +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>