imatrix-ui 2.8.21-dw → 2.8.21

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 (181) hide show
  1. package/lib/super-ui.css +1 -1
  2. package/lib/super-ui.umd.min.js +5 -35
  3. package/package.json +4 -2
  4. package/packages/breadcrumb/index.js +6 -0
  5. package/packages/breadcrumb/src/breadcrumb.vue +71 -0
  6. package/packages/department-tree/index.js +6 -0
  7. package/packages/department-tree/src/department-tree.vue +108 -0
  8. package/packages/department-tree-inline/index.js +6 -0
  9. package/packages/department-tree-inline/src/department-multi-tree-inline.vue +402 -0
  10. package/packages/department-tree-inline/src/department-single-tree-inline.vue +284 -0
  11. package/packages/department-tree-inline/src/department-tree-inline.vue +86 -0
  12. package/packages/department-tree-inline/src/department-tree-service.js +245 -0
  13. package/packages/department-tree-inline/src/search-result.vue +176 -0
  14. package/packages/department-user-tree/index.js +6 -0
  15. package/packages/department-user-tree/src/department-user-multiple-tree.vue +116 -0
  16. package/packages/department-user-tree/src/department-user-single-tree.vue +76 -0
  17. package/packages/department-user-tree/src/department-user-tree.vue +101 -0
  18. package/packages/department-user-tree-inline/index.js +6 -0
  19. package/packages/department-user-tree-inline/src/department-user-multiple-tree-inline.vue +626 -0
  20. package/packages/department-user-tree-inline/src/department-user-single-tree-inline.vue +269 -0
  21. package/packages/department-user-tree-inline/src/department-user-tree-inline.vue +79 -0
  22. package/packages/department-user-tree-inline/src/department-user-tree-multi-service.js +230 -0
  23. package/packages/department-user-tree-inline/src/department-user-tree-single-service.js +122 -0
  24. package/packages/department-user-tree-inline/src/search-result.vue +197 -0
  25. package/packages/directives/prevent-reclick.js +19 -0
  26. package/packages/dynamic-source-select/index.js +6 -0
  27. package/packages/dynamic-source-select/src/dynamic-source-select-service.js +70 -0
  28. package/packages/dynamic-source-select/src/dynamic-source-select.vue +440 -0
  29. package/packages/dynamic-source-select/src/events.js +55 -0
  30. package/packages/fs-preview/index.js +6 -0
  31. package/packages/fs-preview/src/fs-preview.vue +226 -0
  32. package/packages/fs-upload/index.js +6 -0
  33. package/packages/fs-upload/src/fs-upload-multi.vue +420 -0
  34. package/packages/fs-upload/src/fs-upload-single.vue +312 -0
  35. package/packages/fs-upload/src/fs-upload.vue +189 -0
  36. package/packages/fs-upload/src/see-big-picture.vue +55 -0
  37. package/packages/fs-upload-list/index.js +6 -0
  38. package/packages/fs-upload-list/src/fs-upload-list.vue +287 -0
  39. package/packages/hamburger/index.js +6 -0
  40. package/packages/hamburger/src/hamburger.vue +38 -0
  41. package/packages/index.js +121 -0
  42. package/packages/multipart-upload/index.js +6 -0
  43. package/packages/multipart-upload/src/index.vue +73 -0
  44. package/packages/multipart-upload/src/multipart-upload-form.vue +297 -0
  45. package/packages/multipart-upload/src/multipart-upload-list.vue +378 -0
  46. package/packages/organization-input/index.js +6 -0
  47. package/packages/organization-input/src/organization-input.vue +542 -0
  48. package/packages/plugins/export-data-new.js +453 -0
  49. package/packages/plugins/export-data.js +361 -0
  50. package/packages/plugins/index.js +15 -0
  51. package/packages/plugins/public-method.js +43 -0
  52. package/packages/remove-department/index.js +6 -0
  53. package/packages/remove-department/src/remove-department.vue +172 -0
  54. package/packages/remove-department/src/remove-dept-service.js +20 -0
  55. package/packages/remove-user/index.js +6 -0
  56. package/packages/remove-user/src/remove-user-service.js +20 -0
  57. package/packages/remove-user/src/remove-user.vue +195 -0
  58. package/packages/remove-workgroup/index.js +6 -0
  59. package/packages/remove-workgroup/src/remove-workgroup-service.js +20 -0
  60. package/packages/remove-workgroup/src/remove-workgroup.vue +159 -0
  61. package/packages/rich-editor/index.js +7 -0
  62. package/packages/rich-editor/index.vue +278 -0
  63. package/packages/rich-editor/langs/zh-Hans.js +1 -0
  64. package/packages/rich-editor/viewer.vue +103 -0
  65. package/packages/scan-code-input/index.js +6 -0
  66. package/packages/scan-code-input/src/events.js +33 -0
  67. package/packages/scan-code-input/src/scan-code-input-colse.vue +131 -0
  68. package/packages/scan-code-input/src/scan-code-input.vue +116 -0
  69. package/packages/secret-info/index.js +7 -0
  70. package/packages/secret-info/index.vue +90 -0
  71. package/packages/super-grid/index.js +7 -0
  72. package/packages/super-grid/src/apis.js +763 -0
  73. package/packages/super-grid/src/columns-config.vue +335 -0
  74. package/packages/super-grid/src/custom-formatter.js +250 -0
  75. package/packages/super-grid/src/dynamic-input.vue +1279 -0
  76. package/packages/super-grid/src/eventBus.js +2 -0
  77. package/packages/super-grid/src/events.js +55 -0
  78. package/packages/super-grid/src/formValidatorUtil.js +226 -0
  79. package/packages/super-grid/src/formatter.js +181 -0
  80. package/packages/super-grid/src/group-column.vue +100 -0
  81. package/packages/super-grid/src/header-context-menu.vue +87 -0
  82. package/packages/super-grid/src/index-column.vue +51 -0
  83. package/packages/super-grid/src/normal-column.vue +769 -0
  84. package/packages/super-grid/src/public-methods.js +31 -0
  85. package/packages/super-grid/src/row-operation.vue +161 -0
  86. package/packages/super-grid/src/search-button.vue +66 -0
  87. package/packages/super-grid/src/search-condition-input.vue +61 -0
  88. package/packages/super-grid/src/search-condition-list.vue +59 -0
  89. package/packages/super-grid/src/search-form-advancedQuery.vue +653 -0
  90. package/packages/super-grid/src/search-form-dialog.vue +79 -0
  91. package/packages/super-grid/src/search-form-item.vue +386 -0
  92. package/packages/super-grid/src/search-form-number.vue +38 -0
  93. package/packages/super-grid/src/search-form-open.vue +162 -0
  94. package/packages/super-grid/src/search-form-ordinarySearch.vue +188 -0
  95. package/packages/super-grid/src/search-form.vue +634 -0
  96. package/packages/super-grid/src/search-methods.js +387 -0
  97. package/packages/super-grid/src/selection-column.vue +43 -0
  98. package/packages/super-grid/src/store.js +3 -0
  99. package/packages/super-grid/src/super-grid-service.js +561 -0
  100. package/packages/super-grid/src/super-grid.vue +2793 -0
  101. package/packages/super-grid/src/utils.js +763 -0
  102. package/packages/super-grid/src/view-image-dialog.vue +130 -0
  103. package/packages/super-nine-grid/index.js +7 -0
  104. package/packages/super-nine-grid/src/apis.js +103 -0
  105. package/packages/super-nine-grid/src/custom-formatter.js +66 -0
  106. package/packages/super-nine-grid/src/formatter.js +132 -0
  107. package/packages/super-nine-grid/src/search-form-number.vue +38 -0
  108. package/packages/super-nine-grid/src/search-form.vue +430 -0
  109. package/packages/super-nine-grid/src/search-methods.js +134 -0
  110. package/packages/super-nine-grid/src/store.js +3 -0
  111. package/packages/super-nine-grid/src/super-grid-service.js +91 -0
  112. package/packages/super-nine-grid/src/super-nine-grid.vue +872 -0
  113. package/packages/super-nine-grid/src/utils.js +261 -0
  114. package/packages/svg-icon/index.js +6 -0
  115. package/packages/svg-icon/src/svg-icon.vue +43 -0
  116. package/packages/utils/utils.js +152 -0
  117. package/packages/utils/value-set.js +86 -0
  118. package/packages/valid-code/index.js +7 -0
  119. package/packages/valid-code/src/valid-code.vue +95 -0
  120. package/packages/workflow-button/index.js +6 -0
  121. package/packages/workflow-button/src/workflow-button.vue +325 -0
  122. package/packages/workflow-history-list/index.js +6 -0
  123. package/packages/workflow-history-list/src/api.js +7 -0
  124. package/packages/workflow-history-list/src/workflow-history-list.vue +185 -0
  125. package/packages/workgroup-tree/index.js +6 -0
  126. package/packages/workgroup-tree/src/workgroup-tree.vue +76 -0
  127. package/packages/workgroup-tree-inline/index.js +6 -0
  128. package/packages/workgroup-tree-inline/src/workgroup-tree-inline.vue +317 -0
  129. package/packages/workgroup-tree-inline/src/workgroup-tree-service.js +43 -0
  130. package/packages/workgroup-user-tree/index.js +6 -0
  131. package/packages/workgroup-user-tree/src/workgroup-user-tree.vue +100 -0
  132. package/packages/workgroup-user-tree-inline/index.js +6 -0
  133. package/packages/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +163 -0
  134. package/packages/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue +436 -0
  135. package/packages/year-range-picker/index.js +6 -0
  136. package/packages/year-range-picker/src/year-range-picker.vue +51 -0
  137. package/src/i18n/i18n.js +1 -1
  138. package/src/i18n/langs/cn.js +4 -2
  139. package/src/i18n/langs/en.js +4 -2
  140. package/src/index.js +93 -0
  141. package/src/permission.js +7 -3
  142. package/src/plugins.js +3 -3
  143. package/src/router/index.js +24 -0
  144. package/src/store/getters.js +2 -1
  145. package/src/store/modules/app.js +10 -1
  146. package/src/styles/display-layout.scss +34 -0
  147. package/src/styles/index.scss +32 -4
  148. package/src/styles/theme/dark-blue/button.scss +9 -0
  149. package/src/styles/theme/dark-blue/card.scss +64 -0
  150. package/src/styles/theme/dark-blue/checkbox.scss +10 -0
  151. package/src/styles/theme/dark-blue/dark-blue-var.scss +8 -0
  152. package/src/styles/theme/dark-blue/dialog.scss +21 -0
  153. package/src/styles/theme/dark-blue/element-variables.scss +7 -0
  154. package/src/styles/theme/dark-blue/font.scss +71 -0
  155. package/src/styles/theme/dark-blue/form.scss +51 -0
  156. package/src/styles/theme/dark-blue/index.scss +247 -0
  157. package/src/styles/theme/dark-blue/input.scss +15 -0
  158. package/src/styles/theme/dark-blue/pagination.scss +14 -0
  159. package/src/styles/theme/dark-blue/scrollbar-style.scss +32 -0
  160. package/src/styles/theme/dark-blue/sidebar.scss +296 -0
  161. package/src/styles/theme/dark-blue/tab.scss +83 -0
  162. package/src/styles/theme/dark-blue/table.scss +60 -0
  163. package/src/styles/theme/dark-blue/tree.scss +31 -0
  164. package/src/styles/theme/dark-blue/var.scss +1028 -0
  165. package/src/styles/theme/gray/form-style.scss +2 -2
  166. package/src/styles/theme/gray/input-style.scss +8 -0
  167. package/src/utils/auth-api.js +115 -0
  168. package/src/utils/auth.js +34 -42
  169. package/src/utils/calculator/calculator-factory.js +2 -2
  170. package/src/utils/common-util.js +34 -0
  171. package/src/utils/jump-page-utils.js +29 -5
  172. package/src/utils/menu.js +19 -0
  173. package/src/utils/permission.js +4 -0
  174. package/src/utils/request.js +18 -2
  175. package/src/utils/util.js +7 -3
  176. package/src/views/dsc-component/Sidebar/Item.vue +4 -4
  177. package/src/views/dsc-component/Sidebar/Link.vue +11 -2
  178. package/src/views/dsc-component/Sidebar/SidebarItem.vue +36 -20
  179. package/src/views/dsc-component/Sidebar/index.vue +24 -12
  180. package/src/views/dsc-component/tabs/tab-content.vue +16 -1
  181. package/src/views/login/index.vue +1 -1
@@ -79,6 +79,30 @@ export const errorRouterMap = [
79
79
  // 404的映射必须是最后一个
80
80
  { path: '*', redirect: '/404', hidden: true }
81
81
  ]
82
+
83
+ // 解决Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation to current location问题
84
+ const originalPush = Router.prototype.push
85
+ const originReplace = Router.prototype.replace
86
+
87
+ // 第一个参数,告诉原来push方法,你往哪里跳转(传递哪些参数)
88
+ // 第二个参数是成功的回调
89
+ // 第三个参数是失败的回调
90
+ Router.prototype.push = function(location, resolve, reject) {
91
+ // 如果传了 resolve&&reject
92
+ if (resolve && reject) {
93
+ originalPush.call(this, location, resolve, reject)
94
+ } else {
95
+ originalPush.call(this, location, () => {}, () => {})
96
+ }
97
+ }
98
+ Router.prototype.replace = function(location, resolve, reject) {
99
+ if (resolve && reject) {
100
+ originReplace.call(this, location, resolve, reject)
101
+ } else {
102
+ originReplace.call(this, location, () => {}, () => {})
103
+ }
104
+ }
105
+
82
106
  export default new Router({
83
107
  // mode: 'history', //后端支持可开
84
108
  scrollBehavior: () => ({ y: 0 }),
@@ -9,6 +9,7 @@ const getters = {
9
9
  preventReclick: state => state.app.preventReclick,
10
10
  menus: state => state.user.menus,
11
11
  openTab: state => state.tabContent.openTab,
12
- activeIndex: state => state.tabContent.activeIndex
12
+ activeIndex: state => state.tabContent.activeIndex,
13
+ whiteList: state => state.app.whiteList
13
14
  }
14
15
  export default getters
@@ -6,7 +6,8 @@ const app = {
6
6
  withoutAnimation: false
7
7
  },
8
8
  device: 'desktop',
9
- preventReclick: false
9
+ preventReclick: false,
10
+ whiteList: []
10
11
  },
11
12
  mutations: {
12
13
  toggleSidebar: state => {
@@ -28,6 +29,11 @@ const app = {
28
29
  },
29
30
  togglePreventReclick: (state, preventReclick) => {
30
31
  state.preventReclick = preventReclick
32
+ },
33
+ setWhiteList: (state, whiteList) => {
34
+ if (whiteList instanceof Array) {
35
+ state.whiteList = whiteList
36
+ }
31
37
  }
32
38
  },
33
39
  actions: {
@@ -39,6 +45,9 @@ const app = {
39
45
  },
40
46
  toggelDevice({ commit }, device) {
41
47
  commit('toggleDevice', device)
48
+ },
49
+ addWhiteList({ commit }, whiteList) {
50
+ commit('setWhiteList', whiteList)
42
51
  }
43
52
  }
44
53
  }
@@ -0,0 +1,34 @@
1
+ .flex-container {
2
+ display: flex;
3
+ width: 100%;
4
+
5
+ .tree-area {
6
+ flex: 0 0 200px;
7
+ overflow: auto;
8
+ }
9
+
10
+ .list-area {
11
+ flex: 1;
12
+ overflow: auto;
13
+ margin-left: 20px;
14
+ }
15
+ }
16
+
17
+ .three-column-layout {
18
+ height: calc(100vh - 20px);
19
+
20
+ .el-aside {
21
+ margin-right: 20px;
22
+ padding-top: 20px;
23
+ background-color: #FFFFFF;
24
+ box-shadow: 0px 1px 8px 0px #00000019;
25
+
26
+ }
27
+
28
+ .el-main {
29
+ padding: 20px 0 0 20px;
30
+ border-radius: 6px;
31
+ background: #FFFFFF;
32
+ box-shadow: 0px 1px 8px 0px #00000019;
33
+ }
34
+ }
@@ -9,6 +9,9 @@
9
9
  @import './theme/blue2/sidebar.scss';
10
10
  @import './theme/gray/index.scss';
11
11
  @import './theme/gray/sidebar.scss';
12
+ @import './theme/dark-blue/index.scss';
13
+ @import './theme/dark-blue/sidebar.scss';
14
+ @import './display-layout.scss';
12
15
 
13
16
  body {
14
17
  overflow: hidden;
@@ -32,19 +35,33 @@ body .el-table th.gutter {
32
35
  body .el-table colgroup.gutter {
33
36
  display: table-cell !important;
34
37
  }
38
+
35
39
  // 日期控件宽度不自适应问题
36
- .formContent .el-date-editor.el-input,.formContent .el-date-editor.el-input__input,.formContent .el-date-editor.el-input__inner,
37
- .grid-search-form .el-date-editor.el-input,.grid-search-form .el-date-editor.el-input__input,.grid-search-form .el-date-editor.el-input__inner {
40
+ .formContent .el-date-editor.el-input,
41
+ .formContent .el-date-editor.el-input__input,
42
+ .formContent .el-date-editor.el-input__inner,
43
+ .grid-search-form .el-date-editor.el-input,
44
+ .grid-search-form .el-date-editor.el-input__input,
45
+ .grid-search-form .el-date-editor.el-input__inner {
38
46
  width: 100%;
39
47
  }
40
- .formContent .el-date-editor--daterange.el-input,.formContent .el-date-editor--daterange.el-input__inner,.formContent .el-date-editor--timerange.el-input,.formContent .el-date-editor--timerange.el-input__inner,
41
- .grid-search-form .el-date-editor--daterange.el-input,.grid-search-form .el-date-editor--daterange.el-input__inner,.grid-search-form .el-date-editor--timerange.el-input,.grid-search-form .el-date-editor--timerange.el-input__inner {
48
+
49
+ .formContent .el-date-editor--daterange.el-input,
50
+ .formContent .el-date-editor--daterange.el-input__inner,
51
+ .formContent .el-date-editor--timerange.el-input,
52
+ .formContent .el-date-editor--timerange.el-input__inner,
53
+ .grid-search-form .el-date-editor--daterange.el-input,
54
+ .grid-search-form .el-date-editor--daterange.el-input__inner,
55
+ .grid-search-form .el-date-editor--timerange.el-input,
56
+ .grid-search-form .el-date-editor--timerange.el-input__inner {
42
57
  width: 100%;
43
58
  }
59
+
44
60
  // 日期选择按钮太小问题(gcommon ui)
45
61
  .el-picker-panel__footer .el-button--mini {
46
62
  font-size: 16px;
47
63
  }
64
+
48
65
  // 显示必填标志
49
66
  .is_req {
50
67
  .required__label::before {
@@ -56,4 +73,15 @@ body .el-table colgroup.gutter {
56
73
 
57
74
  .formContent .el-form-item {
58
75
  margin-bottom: 0;
76
+ }
77
+
78
+ .operation-area-float {
79
+ float: right;
80
+ position: fixed;
81
+ bottom: 5px;
82
+ right: 4%;
83
+ }
84
+
85
+ .el-button+.el-button {
86
+ margin-left: 10px;
59
87
  }
@@ -0,0 +1,9 @@
1
+ @import "./dark-blue-var.scss";
2
+
3
+ .dark-blue {
4
+ .operation-area .el-button--primary {
5
+ border-radius: 4px;
6
+ background: $--button-opt-background-color;
7
+ border-color: $--button-opt-background-color;
8
+ }
9
+ }
@@ -0,0 +1,64 @@
1
+ .dark-blue {
2
+ $titleColor: rgba(0, 0, 0, 0.85);
3
+
4
+ el-card box-card is-always-shadow .card-radius {
5
+ border-radius: 12px
6
+ }
7
+
8
+ .form-card-header {
9
+ width: 3px;
10
+ height: 14px;
11
+ left: 0;
12
+ align-items: center;
13
+ text-align: center;
14
+ }
15
+
16
+ .form-card-header-bgc {
17
+ width: 3px;
18
+ height: 14px;
19
+ display: flex;
20
+ background-color: #3D4CF2
21
+ }
22
+
23
+ .form-card-text {
24
+ padding-left: 8px;
25
+ font-size: 16px;
26
+ line-height: 24px;
27
+ font-weight: 500;
28
+ color: $titleColor;
29
+ display: table-cell;
30
+ position: relative;
31
+ }
32
+
33
+ .superForm {
34
+ .el-card {
35
+ border-radius: 12px;
36
+ box-shadow: 0 1px 4px 0 rgba(0, 13, 31, 0.10);
37
+ }
38
+
39
+
40
+ }
41
+
42
+
43
+ .platform-card {
44
+ .el-card__header {
45
+ height: 40px;
46
+ background: #F0F8FE;
47
+ color: #005EBA;
48
+ font-family: Source Han Sans CN;
49
+ font-weight: medium;
50
+ font-size: 14px;
51
+ text-align: left;
52
+ padding: 9px 0px 9px 20px;
53
+ }
54
+
55
+ .el-card__header>div {
56
+ line-height: 22px;
57
+ }
58
+
59
+ .card-style {
60
+ margin-top: 20px;
61
+ }
62
+ }
63
+
64
+ }
@@ -0,0 +1,10 @@
1
+ @import "./dark-blue-var.scss";
2
+
3
+ .dark-blue {
4
+
5
+ .el-checkbox__input.is-checked .el-checkbox__inner,
6
+ .el-checkbox__input.is-indeterminate .el-checkbox__inner {
7
+ background-color: $--color-primary;
8
+ border-color: $--color-primary;
9
+ }
10
+ }
@@ -0,0 +1,8 @@
1
+ /* 改变主题色变量 */
2
+ $--color-primary: #005EBA;
3
+ $--button-default-border-color: $--color-primary;
4
+ $--button-default-font-color: $--color-primary;
5
+ $--button-font-weight: regular;
6
+ $--button-default-font-color: $--color-primary;
7
+ $--button-opt-background-color:#0780ED;
8
+ $th-cell-background: #F0F8FE;
@@ -0,0 +1,21 @@
1
+ .dark-blue {
2
+ .el-dialog__header {
3
+ padding: 22px 0px 0px 24px;
4
+ }
5
+
6
+ .el-dialog__title::before {
7
+ content: "";
8
+ text-align: center;
9
+ background: #1A6BF3;
10
+ float: left;
11
+ position: relative;
12
+ border-radius: 3px;
13
+ /** 定义成 block 元素 **/
14
+ display: block;
15
+ height: 21px;
16
+ width: 4px;
17
+ margin-right: 12px;
18
+ }
19
+
20
+
21
+ }
@@ -0,0 +1,7 @@
1
+ @import "./dark-blue-var.scss";
2
+
3
+ .dark-blue {
4
+ /* 改变 icon 字体路径变量,必需 */
5
+ $--font-path: '~element-ui/lib/theme-chalk/fonts';
6
+ @import "~element-ui/packages/theme-chalk/src/index";
7
+ }
@@ -0,0 +1,71 @@
1
+ .dark-blue {
2
+ $titleColor: rgba(0, 0, 0, 0.85);
3
+
4
+ .list-file {
5
+ color: rgba(0, 13, 31, 0.45);
6
+ font-size: 14px;
7
+ cursor: pointer;
8
+ }
9
+
10
+ .form-list-file {
11
+ color: rgba(0, 0, 0, 0.65);
12
+ background: #F2F6FA;
13
+ border-radius: 6px;
14
+ font-size: 14px;
15
+ cursor: pointer;
16
+ height: 28px;
17
+ line-height: 28px;
18
+ padding: 0 8px 0 8px;
19
+ margin-right: 32px
20
+ }
21
+
22
+ .tip-font {
23
+ color: rgba(0, 0, 0, 0.65);
24
+ font-size: 14px;
25
+ }
26
+
27
+ .superForm {
28
+ .el-form-item__label {
29
+ color: rgba(0, 13, 31, 0.85);
30
+ }
31
+ }
32
+
33
+
34
+ .page-layout__title {
35
+ width: 46px;
36
+ height: 16px;
37
+ font-size: 11px;
38
+ font-weight: 500;
39
+ color: #333333;
40
+ line-height: 13px;
41
+ }
42
+
43
+ .component-type-name__title {
44
+ width: 40px;
45
+ height: 14px;
46
+ font-size: 10px;
47
+ font-weight: 500;
48
+ color: #333333;
49
+ line-height: 12px;
50
+ // -webkit-background-clip: text;
51
+ // -webkit-text-fill-color: transparent;
52
+ }
53
+
54
+ .page-layout__title::before {
55
+ content: "";
56
+ text-align: center;
57
+ background: #1A6BF3;
58
+ float: left;
59
+ position: relative;
60
+ border-radius: 3px;
61
+ /** 定义成 block 元素 **/
62
+ display: block;
63
+ // height: 21px;
64
+ // width: 4px;
65
+ margin-right: 12px;
66
+
67
+ width: 2px;
68
+ height: 16px;
69
+
70
+ }
71
+ }
@@ -0,0 +1,51 @@
1
+ .dark-blue {
2
+
3
+ .button-at-top {
4
+ width: 100%;
5
+ background: rgb(255, 255, 255);
6
+ line-height: 72px;
7
+ height: 72px;
8
+ position: absolute;
9
+ z-index: 100;
10
+ top: 0px;
11
+ left: 0px;
12
+ right: 0px;
13
+ }
14
+
15
+ .button-at-bottom {
16
+ width: 100%;
17
+ background: rgb(255, 255, 255);
18
+ line-height: 72px;
19
+ height: 72px;
20
+ position: absolute;
21
+ bottom: 0px;
22
+ z-index: 100;
23
+ left: 0px;
24
+ right: 0px;
25
+ }
26
+
27
+ .form-top-button {
28
+ height: 72px;
29
+ float: left;
30
+ padding-left: 24px;
31
+ line-height: 72px;
32
+ }
33
+
34
+ .form-bottom-button {
35
+ height: 72px;
36
+ float: right;
37
+ padding-right: 24px;
38
+ line-height: 72px;
39
+ }
40
+
41
+ .form-center-position{
42
+ position: relative;
43
+
44
+ .form-center-son{
45
+ position: absolute;
46
+ top: 50%;
47
+ left: 50%;
48
+ transform: translate(-50%,-50%);
49
+ }
50
+ }
51
+ }
@@ -0,0 +1,247 @@
1
+ @import './element-variables.scss';
2
+ @import './table.scss';
3
+ @import './sidebar.scss';
4
+ @import './font.scss';
5
+ @import './card.scss';
6
+ @import './tab.scss';
7
+ @import './input.scss';
8
+ @import './form.scss';
9
+ @import './pagination.scss';
10
+ @import './button.scss';
11
+ @import './checkbox.scss';
12
+ @import './dialog.scss';
13
+ @import './tree.scss';
14
+ @import './scrollbar-style.scss';
15
+
16
+
17
+ .dark-blue {
18
+ font-family: cursive;
19
+ font-size: 14px;
20
+ color: rgba(0, 0, 0, 0.85);
21
+ -moz-osx-font-smoothing: grayscale;
22
+ -webkit-font-smoothing: antialiased;
23
+ text-rendering: optimizeLegibility;
24
+ height: 100%;
25
+
26
+ .el-button {
27
+ font-family: cursive;
28
+ }
29
+
30
+ .fl {
31
+ float: left;
32
+ }
33
+
34
+ .fr {
35
+ float: right;
36
+ }
37
+
38
+
39
+ html {
40
+ height: 100%;
41
+ box-sizing: border-box;
42
+ }
43
+
44
+ #app {
45
+ height: 100%;
46
+ }
47
+
48
+ a,
49
+ a:focus,
50
+ a:hover {
51
+ cursor: pointer;
52
+ color: inherit;
53
+ outline: none;
54
+ text-decoration: none;
55
+ }
56
+
57
+ div:focus {
58
+ outline: none;
59
+ }
60
+
61
+ a:focus,
62
+ a:active {
63
+ outline: none;
64
+ }
65
+
66
+ a,
67
+ a:focus,
68
+ a:hover {
69
+ cursor: pointer;
70
+ color: inherit;
71
+ text-decoration: none;
72
+ }
73
+
74
+ .clearfix {
75
+ &:after {
76
+ visibility: hidden;
77
+ display: block;
78
+ font-size: 0;
79
+ content: " ";
80
+ clear: both;
81
+ height: 0;
82
+ }
83
+ }
84
+
85
+ //main-container全局样式
86
+ .app-main {
87
+ min-height: 100%;
88
+ background: #f7f7f8;
89
+ padding: 11px 24px 11px 24px;
90
+ // padding-top: 12px;
91
+ }
92
+
93
+ .app-container {
94
+ // padding: 20px;
95
+ // padding: 0px;
96
+ padding: 20px 24px;
97
+ background: #FFFFFF;
98
+ border-radius: 6px;
99
+ box-shadow: 0px 1px 8px 0px #00000019;
100
+
101
+ .box-card {
102
+ margin: 0px 0px 0px 0px;
103
+ }
104
+ }
105
+
106
+ .no-margin {
107
+ padding: 0px 0px;
108
+ }
109
+
110
+ .add_form_height {
111
+ height: calc(100vh - 60px);
112
+ position: relative;
113
+
114
+ .add_form_center {
115
+ position: absolute;
116
+ top: 50%;
117
+ left: 50%;
118
+ transform: translate(-50%, -50%);
119
+
120
+ .add_form_buttomButton {
121
+ text-align: right;
122
+ }
123
+ }
124
+ }
125
+
126
+ .operation-area {
127
+ margin-bottom: 20px;
128
+
129
+ }
130
+
131
+ .operation-area-chart {
132
+ padding-right: 24px;
133
+ padding-top: 24px;
134
+ text-align: right;
135
+ }
136
+
137
+ // 解决tab页签中内容多时没有滚动条问题
138
+ .el-tabs__content {
139
+ flex-grow: 1;
140
+ overflow-y: auto;
141
+ }
142
+
143
+ // 解决在edge浏览器中dialog有遮罩层 或 MessageBox的$confirm时,遮罩层偏移,导致弹框中组件元素无法操作问题。
144
+ // .el-dialog__wrapper、.el-message-box__wrapper、.v-modal默认position是relative,改为absolute就不会出现偏移了。
145
+ // dialog弹框的样式
146
+ .el-dialog__wrapper {
147
+ position: absolute;
148
+ }
149
+
150
+ // MessageBox的样式,必须这样修改,否则会导致点击确定、取消按钮不好用
151
+ .el-message-box__wrapper {
152
+ position: absolute;
153
+ }
154
+
155
+ // dialog遮罩层的样式
156
+ .v-modal {
157
+ position: absolute;
158
+ }
159
+
160
+ .menu-tab-container .el-tabs__item {
161
+ height: 48px;
162
+ line-height: 48px;
163
+ }
164
+
165
+ //顶部标签字体样式
166
+ .menu-tab-container .el-tabs__item.is-active {
167
+ color: #3D4cf2;
168
+ }
169
+
170
+ //顶部标签样式
171
+ .menu-tab-container .el-tabs__active-bar {
172
+ background-color: #3D4cf2;
173
+ }
174
+
175
+ .el-pagination {
176
+ text-align: right;
177
+ }
178
+
179
+ .el-table td {
180
+ padding: 14px 0;
181
+ }
182
+
183
+ .el-table td,
184
+ .el-table th {
185
+ height: 40px;
186
+ }
187
+
188
+ .el-table th {
189
+ padding: 0;
190
+ }
191
+
192
+ /**表格内容纵向分隔线去掉**/
193
+ .el-table--border td,
194
+ .el-table--border th,
195
+ .el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed {
196
+ border-right: 0px
197
+ }
198
+
199
+ /**表格标题纵向分隔线颜色调浅点儿**/
200
+ .el-table--border td,
201
+ .el-table--border th,
202
+ .el-table--border th.is-leaf,
203
+ .el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed {
204
+ border-right: 1px solid #fefefe;
205
+ }
206
+
207
+ .selectPeopleClass {
208
+ color: #313233;
209
+ font-family: Source Han Sans CN;
210
+ font-weight: regular;
211
+ font-size: 14px;
212
+ line-height: 22px;
213
+ letter-spacing: 0px;
214
+ text-align: left;
215
+ }
216
+
217
+ .el-button+.el-button {
218
+ margin-left: 10px;
219
+ }
220
+
221
+ // .el-main {
222
+ // padding: 0px;
223
+ // }
224
+
225
+ // .el-aside {
226
+ // margin-right: 20px;
227
+ // }
228
+
229
+ // .three-column-layout {
230
+ // height: calc(100vh - 20px);
231
+
232
+ // .el-aside {
233
+ // margin-right: 20px;
234
+ // padding-top: 20px;
235
+ // background-color: #FFFFFF;
236
+ // box-shadow: 0px 1px 8px 0px #00000019;
237
+
238
+ // }
239
+
240
+ // .el-main {
241
+ // padding: 20px 0 0 20px;
242
+ // border-radius: 6px;
243
+ // background: #FFFFFF;
244
+ // box-shadow: 0px 1px 8px 0px #00000019;
245
+ // }
246
+ // }
247
+ }
@@ -0,0 +1,15 @@
1
+ .dark-blue {
2
+
3
+ .superForm {
4
+
5
+ .el-input--medium .el-input__inner {
6
+ height: 32px;
7
+ line-height: 32px;
8
+ }
9
+
10
+ .el-input.is-disabled .el-input__inner {
11
+ color: #606266;
12
+ }
13
+ }
14
+
15
+ }
@@ -0,0 +1,14 @@
1
+ @import "./dark-blue-var.scss";
2
+
3
+ .dark-blue {
4
+ .el-pager li:not(.disabled) {
5
+ &:hover {
6
+ //color: $--pagination-hover-color;
7
+ }
8
+
9
+ &.active {
10
+ color: #FFFFFF;
11
+ background-color: $--button-default-font-color;
12
+ }
13
+ }
14
+ }