bri-components 1.1.6 → 1.2.1

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 (135) hide show
  1. package/lib/0.bri-components.min.js +1 -1
  2. package/lib/1.bri-components.min.js +1 -1
  3. package/lib/2.bri-components.min.js +1 -1
  4. package/lib/3.bri-components.min.js +1 -1
  5. package/lib/4.bri-components.min.js +1 -1
  6. package/lib/5.bri-components.min.js +1 -1
  7. package/lib/6.bri-components.min.js +1 -1
  8. package/lib/7.bri-components.min.js +1 -1
  9. package/lib/8.bri-components.min.js +1 -1
  10. package/lib/9.bri-components.min.js +1 -1
  11. package/lib/bri-components.min.js +6 -6
  12. package/lib/styles/bri-components.css +1 -1
  13. package/package.json +1 -1
  14. package/src/.DS_Store +0 -0
  15. package/src/abolish/DshFileShow.less +61 -0
  16. package/src/{components/small → abolish}/DshFileShow.vue +30 -105
  17. package/src/abolish/DshFlatTable.vue +1 -1
  18. package/src/components/.DS_Store +0 -0
  19. package/src/components/controls/.DS_Store +0 -0
  20. package/src/components/controls/base/BriUpload/{index.vue → BriUpload.vue} +4 -3
  21. package/src/components/controls/base/BriUpload/{upload-list.vue → uploadList.vue} +17 -13
  22. package/src/components/controls/base/BriUpload/uploadMixin.js +1 -5
  23. package/src/components/controls/base/DshCascader/DshCascader.vue +100 -100
  24. package/src/components/controls/base/DshCascader/InfoCascader.vue +3 -4
  25. package/src/components/controls/base/DshCheckbox.vue +11 -11
  26. package/src/components/controls/base/DshCoordinates.vue +2 -2
  27. package/src/components/controls/base/DshDate.vue +21 -10
  28. package/src/components/controls/base/DshEditor.vue +33 -48
  29. package/src/components/controls/base/DshInput.vue +21 -19
  30. package/src/components/controls/base/DshNumber/DshNumber.vue +23 -22
  31. package/src/components/controls/base/DshSelect.vue +3 -3
  32. package/src/components/controls/base/DshSwitch.vue +2 -2
  33. package/src/components/controls/controlMap.js +5 -1
  34. package/src/components/controls/controlMixin.js +16 -17
  35. package/src/components/controls/senior/.DS_Store +0 -0
  36. package/src/components/controls/senior/BriLabels.vue +200 -171
  37. package/src/components/controls/senior/selectDepartments.vue +380 -0
  38. package/src/components/controls/senior/selectUsers/DepartmentMenu.vue +191 -0
  39. package/src/components/controls/senior/selectUsers/selectUsers.vue +482 -0
  40. package/src/components/controls/special/DshUndeveloped.vue +0 -6
  41. package/src/components/form/DshForm.vue +4 -17
  42. package/src/components/list/BriCard.vue +52 -0
  43. package/src/components/list/BriTable.vue +1 -1
  44. package/src/components/list/{ZTree.vue → BriTree.vue} +9 -8
  45. package/src/components/list/BriTreeItem.vue +110 -0
  46. package/src/components/list/DshBox/DshCard.vue +4 -4
  47. package/src/components/list/DshBox/DshCrossTable.vue +4 -4
  48. package/src/components/list/DshBox/DshList.vue +2 -2
  49. package/src/components/list/DshBox/DshPanel.vue +5 -5
  50. package/src/components/list/DshBox/DshTable.vue +21 -80
  51. package/src/components/list/DshCascaderTable.vue +2 -2
  52. package/src/components/other/{ZCode.vue → BriCode.vue} +2 -9
  53. package/src/components/other/{ZCollapseTree.vue → BriCollapseTree.vue} +37 -16
  54. package/src/components/other/{ZIframe.vue → BriIframe.vue} +7 -23
  55. package/src/components/other/{ZLoading.vue → BriLoading.vue} +25 -11
  56. package/src/components/other/BriSvg.vue +2 -2
  57. package/src/components/other/DshAvatar.vue +21 -69
  58. package/src/components/other/DshColorPanel.vue +0 -43
  59. package/src/components/small/{Ctooltip.vue → BriTooltip.vue} +2 -2
  60. package/src/components/small/DshButtons.vue +2 -2
  61. package/src/components/small/DshCrumbs.vue +1 -0
  62. package/src/components/small/DshCrumbsItem.vue +5 -3
  63. package/src/components/small/DshIcons.vue +0 -14
  64. package/src/components/small/DshTags.vue +8 -3
  65. package/src/components/unit/DshFormItem.vue +4 -4
  66. package/src/components/unit/DshUnit.vue +0 -8
  67. package/src/index.js +99 -106
  68. package/src/styles/.DS_Store +0 -0
  69. package/src/styles/common/control.less +76 -68
  70. package/src/styles/components/.DS_Store +0 -0
  71. package/src/styles/components/controls/base/BriUpload/BriUpload.less +167 -0
  72. package/src/styles/components/controls/base/BriUpload/BriUploadImage.less +81 -0
  73. package/src/styles/components/controls/base/BriUpload/index.less +3 -0
  74. package/src/styles/components/controls/base/BriUpload/uploadList.less +164 -0
  75. package/src/styles/components/controls/base/DshCascader/DshCascader.less +71 -0
  76. package/src/styles/components/controls/base/DshCascader/index.less +2 -0
  77. package/src/styles/components/controls/base/DshCheckbox.less +68 -71
  78. package/src/styles/components/controls/base/DshDate.less +12 -0
  79. package/src/styles/components/controls/base/DshEditor.less +27 -48
  80. package/src/styles/components/controls/base/DshInput.less +6 -2
  81. package/src/styles/components/controls/base/DshNumber.less +44 -27
  82. package/src/styles/components/controls/base/DshSelect.less +12 -1
  83. package/src/styles/components/controls/senior/BriLabels.less +34 -103
  84. package/src/styles/components/controls/senior/cascaderTable.less +1 -1
  85. package/src/styles/components/controls/senior/flatTable.less +1 -1
  86. package/src/styles/components/controls/senior/selectDepartments.less +106 -0
  87. package/src/styles/components/controls/senior/selectUsers/DepartmentMenu.less +37 -0
  88. package/src/styles/components/controls/senior/selectUsers/index.less +2 -0
  89. package/src/styles/components/controls/senior/selectUsers/selectUsers.less +167 -0
  90. package/src/styles/components/controls/special/DshBack.less +3 -0
  91. package/src/styles/components/controls/special/DshUndeveloped.less +3 -0
  92. package/src/styles/components/form/DshAdvSearchForm.less +0 -1
  93. package/src/styles/components/form/DshDefaultSearch.less +2 -3
  94. package/src/styles/components/form/DshForm.less +13 -0
  95. package/src/styles/components/index.less +47 -36
  96. package/src/styles/components/list/BriCard.less +50 -0
  97. package/src/styles/components/list/BriTable.less +9 -9
  98. package/src/styles/components/list/{ZTree.less → BriTree.less} +11 -7
  99. package/src/styles/components/list/BriTreeItem.less +50 -0
  100. package/src/styles/components/list/DshBox/DshTable.less +11 -0
  101. package/src/styles/components/other/BriCode.less +5 -0
  102. package/src/styles/components/other/{ZCollapseTree.less → BriCollapseTree.less} +2 -2
  103. package/src/styles/components/other/BriIframe.less +16 -0
  104. package/src/styles/components/other/{ZLoading.less → BriLoading.less} +3 -3
  105. package/src/styles/components/other/DshAvatar.less +64 -0
  106. package/src/styles/components/other/DshBtnModal.less +3 -0
  107. package/src/styles/components/other/DshColorPanel.less +40 -0
  108. package/src/styles/components/other/DshEditPanel.less +2 -2
  109. package/src/styles/components/small/BriButton.less +3 -2
  110. package/src/styles/components/small/{Ctooltip.less → BriTooltip.less} +2 -1
  111. package/src/styles/components/small/DshCrumbs.less +0 -0
  112. package/src/styles/components/small/DshDropdown.less +5 -3
  113. package/src/styles/components/small/DshIcons.less +7 -0
  114. package/src/styles/components/small/DshTags.less +17 -0
  115. package/src/styles/components/unit/DshFormItem.less +4 -5
  116. package/src/styles/components/unit/DshUnit.less +5 -0
  117. package/src/utils/table.js +8 -0
  118. package/src/components/controls/controlShow.vue +0 -44
  119. package/src/components/other/YNoPermission.vue +0 -45
  120. package/src/components/small/BriTree.vue +0 -42
  121. package/src/styles/components/controls/base/BriUpload.less +0 -436
  122. package/src/styles/components/controls/base/DshCascader.less +0 -110
  123. package/src/styles/components/controls/controlShow.less +0 -12
  124. package/src/styles/components/other/ZCode.less +0 -1
  125. /package/src/{styles/components/other → abolish}/BriTransfer.less +0 -0
  126. /package/src/{components/other → abolish}/BriTransfer.vue +0 -0
  127. /package/src/{styles/components/small → abolish}/BriTree.less +0 -0
  128. /package/src/components/{small → list}/DshPage.vue +0 -0
  129. /package/src/components/other/{ZGantt.vue → BriGantt.vue} +0 -0
  130. /package/src/components/other/{menu/DshMenu.vue → DshMenu.vue} +0 -0
  131. /package/src/components/other/{menu/DshMenuNav.vue → DshMenuNav.vue} +0 -0
  132. /package/src/styles/components/controls/base/{InfoCascader.less → DshCascader/InfoCascader.less} +0 -0
  133. /package/src/styles/components/{small → list}/DshPage.less +0 -0
  134. /package/src/styles/components/other/{ZGantt.less → BriGantt.less} +0 -0
  135. /package/src/{components/controls/base/BriUpload/upload-listItem.vue → styles/components/small/DshCrumbItem.less} +0 -0
@@ -1,68 +1,16 @@
1
1
  .DshCheckbox {
2
2
  width: 100%;
3
3
 
4
- &-checkboxGroup {
4
+ &-group {
5
5
  width: 100%;
6
6
 
7
- &-scroll {
8
- overflow-x: auto;
9
- overflow-y: hidden;
10
- white-space: nowrap;
11
-
12
- &::-webkit-scrollbar {
13
- height: 6px;
14
- }
15
-
16
- &:-webkit-scrollbar-thumb {
17
- border-radius: 3px;
18
- background: rgba(51, 51, 51, .1);
19
- background-clip: border-box;
20
- }
21
- }
22
- }
23
-
24
- &-tip {
25
- cursor: pointer;
26
-
27
- .ivu-checkbox {
28
- display: none;
29
- }
30
- }
31
-
32
- .ivu-select-multiple {
33
- .ivu-select-selection {
34
- height: 32px;
35
-
36
- &>div {
37
- overflow-x: auto;
38
- overflow-y: hidden;
39
- white-space: nowrap;
40
-
41
- .ivu-tag {
42
- margin: 2px 4px 4px 0;
43
- }
44
-
45
- &::-webkit-scrollbar {
46
- height: 8px;
47
- }
48
-
49
- &:-webkit-scrollbar-thumb {
50
- border-radius: 3px;
51
- background: rgba(51, 51, 51, .1);
52
- background-clip: border-box;
53
- }
7
+ &-disabled {
8
+ .ivu-checkbox-disabled+span {
9
+ color: #515a6e;
54
10
  }
55
11
  }
56
12
 
57
- .ivu-select-item-selected:after {
58
- content: none;
59
- }
60
- }
61
- }
62
-
63
- .DshCheckbox {
64
- &-checkboxGroup {
65
- &-useColor {
13
+ &-color {
66
14
  .ivu-checkbox-border {
67
15
  height: 32px;
68
16
  line-height: 32px;
@@ -108,24 +56,34 @@
108
56
 
109
57
  );
110
58
  }
111
- }
112
59
 
113
- // 选中时背景为白色
114
- .myChecked {
115
- .ivu-checkbox-checked .ivu-checkbox-inner {
116
- background-color: @themeColor;
60
+ &-disabled-color {
61
+ .ivu-checkbox-disabled+span {
62
+ color: inherit;
63
+ }
117
64
  }
118
- }
119
65
 
120
- .readonlyCheckbox {
121
- .ivu-checkbox-disabled+span {
122
- color: #515a6e;
66
+ &-scroll {
67
+ overflow-x: auto;
68
+ overflow-y: hidden;
69
+ white-space: nowrap;
70
+
71
+ &::-webkit-scrollbar {
72
+ height: 6px;
73
+ }
74
+
75
+ &:-webkit-scrollbar-thumb {
76
+ border-radius: 3px;
77
+ background: rgba(51, 51, 51, .1);
78
+ background-clip: border-box;
79
+ }
123
80
  }
124
81
  }
125
82
 
126
- .readonlyColorCheckbox {
127
- .ivu-checkbox-disabled+span {
128
- color: inherit;
83
+ // 选中时背景为白色
84
+ .myChecked {
85
+ .ivu-checkbox-checked .ivu-checkbox-inner {
86
+ background-color: @themeColor;
129
87
  }
130
88
  }
131
89
 
@@ -137,6 +95,44 @@
137
95
  font-size: 14px;
138
96
  vertical-align: middle;
139
97
  }
98
+
99
+ &-tip {
100
+ cursor: pointer;
101
+
102
+ .ivu-checkbox {
103
+ display: none;
104
+ }
105
+ }
106
+
107
+ .ivu-select-multiple {
108
+ .ivu-select-selection {
109
+ height: 32px;
110
+
111
+ &>div {
112
+ overflow-x: auto;
113
+ overflow-y: hidden;
114
+ white-space: nowrap;
115
+
116
+ .ivu-tag {
117
+ margin: 2px 4px 4px 0;
118
+ }
119
+
120
+ &::-webkit-scrollbar {
121
+ height: 8px;
122
+ }
123
+
124
+ &:-webkit-scrollbar-thumb {
125
+ border-radius: 3px;
126
+ background: rgba(51, 51, 51, .1);
127
+ background-clip: border-box;
128
+ }
129
+ }
130
+ }
131
+
132
+ .ivu-select-item-selected:after {
133
+ content: none;
134
+ }
135
+ }
140
136
  }
141
137
 
142
138
  // TODO:必须单独拿出来,DshSelect组件里在混入此样式
@@ -145,15 +141,16 @@
145
141
  line-height: 20px;
146
142
  padding: 2px 8px;
147
143
  border-radius: 4px;
148
- margin-right: 16px;
144
+ margin-right: 8px;
145
+ display: inline-flex;
149
146
 
150
147
  &:last-of-type {
151
148
  margin-right: 0px;
152
149
  }
153
150
 
154
151
  &-wrapper {
155
- display: flex;
156
152
  min-height: 32px;
157
153
  padding: 4px 0;
154
+ .dsh-ellipsis();
158
155
  }
159
156
  }
@@ -1,3 +1,15 @@
1
1
  .DshDate {
2
2
  width: 100%;
3
+
4
+ &-edit {
5
+ width: 100%;
6
+ }
7
+
8
+ &-unit {
9
+
10
+ }
11
+
12
+ &-show {
13
+
14
+ }
3
15
  }
@@ -1,19 +1,32 @@
1
- .DshEditor {
2
- .DshEditor-common () {
1
+ .DshEditor {
2
+ width: 100%;
3
+ #show {
4
+ p {
5
+ font-size: 14px !important;
6
+ }
3
7
 
4
- };
8
+ li {
9
+ margin-left: 20px;
10
+ }
5
11
 
12
+ ul li {
13
+ list-style: disc;
14
+ }
6
15
 
7
- &-edit {
8
- border: 1px solid @borderColor;
9
- cursor: pointer;
10
-
11
- &:hover {
12
- border-color: @theme-hover;
16
+ ol li {
17
+ list-style: auto;
13
18
  }
19
+ }
14
20
 
15
- &-placeholder {
16
- color: @input-placeholder-color;
21
+ &-edit {
22
+ #show();
23
+ height: 100%;
24
+ min-height: 32px;
25
+ padding: 4px 7px;
26
+ border-radius: @borderRadius;
27
+
28
+ &.bri-control-nodata {
29
+ line-height: 24px;
17
30
  }
18
31
  }
19
32
 
@@ -42,46 +55,12 @@
42
55
  padding: 10px;
43
56
  }
44
57
  }
45
-
46
- &-unit {
47
- .unit-show();
48
- display: inline-block;
49
58
 
50
- &-nodata {
51
- .control-notext();
52
- }
59
+ &-unit {
60
+ .bri-unit-show();
53
61
  }
54
62
 
55
63
  &-show {
56
- height: 100%;
57
- min-height: 32px;
58
- padding: 4px 10px;
59
- border-radius: @borderRadius;
60
-
61
- &-disabled {
62
- .control-disabled();
63
- }
64
-
65
- &-nodata {
66
- padding-left: 0px;
67
- border: none;
68
- color: @grey3;
69
- }
70
-
71
- p {
72
- font-size: 14px !important;
73
- }
74
-
75
- li {
76
- margin-left: 20px;
77
- }
78
-
79
- ul li {
80
- list-style: disc;
81
- }
82
-
83
- ol li {
84
- list-style: auto;
85
- }
64
+ #show();
86
65
  }
87
66
  }
@@ -13,13 +13,17 @@
13
13
  }
14
14
 
15
15
  .ivu-input {
16
- .control-edit();
16
+ .bri-control-edit();
17
17
  cursor: text;
18
18
 
19
19
  &[disabled] {
20
- .control-disabled();
20
+ .bri-control-disabled();
21
21
  &:hover {
22
22
  border-color: @border-disabled;
23
23
  }
24
+ &::-webkit-input-placeholder {
25
+ .bri-control-disabled-placeholder();
26
+ }
24
27
  }
28
+
25
29
  }
@@ -1,24 +1,30 @@
1
1
  .DshNumber {
2
2
  width: 100%;
3
3
 
4
- &-suffix {
5
- min-width: 32px;
6
- border-left: 1px solid @borderColor;
7
- background-color: #F0F0F0;
8
- text-align: center;
9
- color: @textColor;
4
+ &-edit {
5
+ &-suffix {
6
+ min-width: 32px;
7
+ border-left: 1px solid @borderColor;
8
+ background-color: #F0F0F0;
9
+ text-align: center;
10
+ color: @textColor;
11
+ }
12
+ }
13
+
14
+ &-unit {
15
+
16
+ }
17
+
18
+ &-show {
19
+
10
20
  }
11
21
  }
22
+
12
23
  .ivu-input-number {
13
24
  width: 100%;
14
-
15
- &-input {
16
- background-color: transparent;
17
- opacity: 1;
18
- }
19
25
 
20
26
  &-disabled {
21
- .control-disabled();
27
+ .bri-control-disabled();
22
28
 
23
29
  &:hover {
24
30
  border-color: @border-disabled;
@@ -29,23 +35,34 @@
29
35
  background-color: transparent;
30
36
  border-color: transparent;
31
37
  }
32
- }
33
- }
34
- .ivu-input-number-handler {
35
- &-wrap {
36
- // opacity: 1;
37
- border-left: none;
38
- }
39
- &-down {
40
- border: none;
41
- }
42
- &:hover {
43
- background-color: @hoverBg;
44
- .ivu-input-number-handler-down-inner, .ivu-input-number-handler-up-inner {
38
+ .ivu-input-number-input {
39
+ opacity: 1;
40
+ background: @inputBg-disabled;
45
41
  color: @textColor;
42
+ &::-webkit-input-placeholder {
43
+ .bri-control-disabled-placeholder();
44
+ }
46
45
  }
47
46
  }
48
- &-down-inner, &-up-inner {
49
- color: @contentColor;
47
+
48
+ &-handler {
49
+ &-wrap {
50
+ // opacity: 1;
51
+ border-left: none;
52
+ }
53
+ &-down {
54
+ border: none;
55
+ }
56
+ &:hover {
57
+ background-color: @hoverBg;
58
+
59
+ .ivu-input-number-handler-down-inner,
60
+ .ivu-input-number-handler-up-inner {
61
+ color: @textColor;
62
+ }
63
+ }
64
+ &-down-inner, &-up-inner {
65
+ color: @contentColor;
66
+ }
50
67
  }
51
68
  }
@@ -163,7 +163,7 @@
163
163
 
164
164
  &-disabled {
165
165
  .ivu-select-selection {
166
- .control-disabled();
166
+ .bri-control-disabled();
167
167
  }
168
168
  }
169
169
 
@@ -172,3 +172,14 @@
172
172
  -webkit-text-fill-color: @textColor-disabled;
173
173
  }
174
174
  }
175
+
176
+ .ivu-select-disabled .ivu-select-selection {
177
+ .bri-control-disabled();
178
+ &:hover {
179
+ border-color: @border-disabled;
180
+ }
181
+ }
182
+ .ivu-select-input[disabled] {
183
+ color: @textColor;
184
+ -webkit-text-fill-color: @textColor-disabled;
185
+ }
@@ -1,88 +1,47 @@
1
1
  .BriLabels {
2
- display: flex;
3
2
  width: 100%;
4
3
 
4
+ &-dit {
5
+ #bri-control-wrap();
6
+ }
7
+
8
+ &-show {
9
+ #bri-control-wrap();
10
+ }
11
+
5
12
  &-dropdown {
6
13
  width: 100%;
7
14
 
8
- &-show {
9
- display: flex;
10
- justify-content: space-between;
11
- cursor: pointer;
12
- border-radius: @borderRadius;
13
- border: 1px solid @borderColor;
14
- padding-left: 5px;
15
-
16
- &-list {
17
- display: flex;
18
- align-items: center;
19
- }
20
-
21
- &-active {
22
- border-color: #64c6d1;
23
- box-shadow: 0 0 0 2px rgba(61, 184, 197, 0.2);
24
- }
25
-
26
- &-arrow {
27
- display: flex;
28
- align-items: center;
29
- margin-right: 5px;
30
- }
31
- }
32
-
33
- &-item {
34
- margin: 4px 8px;
35
- border-radius: @borderRadius;
36
-
37
- &-active {
38
- background-color: @theme-focus;
39
- color: @themeColor;
15
+ &-menu {
16
+ .item {
17
+ margin: 4px 8px;
18
+ border-radius: @borderRadius;
19
+
20
+ &-active {
21
+ background-color: @theme-focus;
22
+ color: @themeColor;
23
+ }
24
+
25
+ &-edit {
26
+
27
+ }
28
+
29
+ &-show {
30
+
31
+ }
40
32
  }
41
-
42
- &-show {
43
- // width: 100%;
44
- display: flex;
45
- justify-content: space-between;
46
- align-items: center;
47
-
48
- &-icons {
49
- margin-left: 10px;
50
-
51
- i {
52
- padding: 3px;
53
- border-radius: @borderRadius;
54
- color: rgba(0, 0, 0, 0.4);
55
-
56
- &:hover {
57
- background-color: #fff;
58
- }
59
- }
60
-
61
- &-edit {
62
- &:hover {
63
- color: @themeColor;
64
- }
65
- }
66
-
67
- &-del {
68
- &:hover {
69
- color: @error-color;
70
- }
71
- }
33
+
34
+ .btns {
35
+ border-top: 1px solid #E7E7E7;
36
+ margin: 12px 8px 0;
37
+ padding-top: 8px;
38
+
39
+ &-add {
40
+ width: 100%;
41
+ margin-bottom: 8px;
72
42
  }
73
43
  }
74
44
  }
75
-
76
- &-btnWrap {
77
- border-top: 1px solid #E7E7E7;
78
- margin: 12px 8px 0;
79
- padding-top: 8px;
80
- }
81
-
82
- &-add {
83
- width: 300px;
84
- margin-bottom: 8px;
85
- }
86
45
  }
87
46
 
88
47
  .ivu-select-dropdown {
@@ -104,32 +63,4 @@
104
63
  }
105
64
  }
106
65
  }
107
-
108
- &-view {
109
- display: flex;
110
- flex-wrap: wrap;
111
- align-items: center;
112
- height: 32px;
113
- overflow-y: hidden;
114
-
115
- &-item {
116
- .unit-show();
117
- .dsh-ellipsis();
118
- display: inline-flex;
119
- max-width: 100%;
120
- height: fit-content;
121
- padding: 0 8px;
122
- background-color: @borderColor;
123
- color: rgba(0, 0, 0, 0.9);
124
- font-size: 12px;
125
- font-weight: 400;
126
- line-height: 24px;
127
- border-radius: @borderRadius;
128
- margin-right: 8px;
129
- }
130
-
131
- &-nodata {
132
- color: @textColor;
133
- }
134
- }
135
66
  }
@@ -1,7 +1,7 @@
1
1
  .cascaderTable {
2
2
 
3
3
  &-unit {
4
- .unit-show();
4
+ .bri-unit-show();
5
5
 
6
6
  &-text {
7
7
 
@@ -2,7 +2,7 @@
2
2
  width: 100%;
3
3
 
4
4
  &-unit {
5
- .unit-show();
5
+ .bri-unit-show();
6
6
 
7
7
  &-text {
8
8
 
@@ -0,0 +1,106 @@
1
+ .selectDepartments {
2
+ width: 100%;
3
+
4
+ &-edit {
5
+ #bri-control-wrap();
6
+ }
7
+
8
+ &-show {
9
+ #bri-control-wrap();
10
+ }
11
+
12
+ // 传到子组件里的class!!!
13
+ &-modal {
14
+ .ivu-modal {
15
+ width: 800px!important;
16
+ }
17
+ }
18
+ // 传到子组件里的class!!!
19
+ &-cascaderModal {
20
+ .ivu-modal {
21
+ width: 600px !important;
22
+ }
23
+ }
24
+
25
+ &-list {
26
+ height: 600px;
27
+ padding: 15px 20px;
28
+ .dsh-flex-col-start-stretch();
29
+
30
+ .list {
31
+ &-selected {
32
+ padding: 0 15px;
33
+ line-height: 30px;
34
+ display: flex;
35
+ flex-wrap: wrap;
36
+ align-items: center;
37
+
38
+ &-label {
39
+
40
+ }
41
+
42
+ .item {
43
+ max-width: 230px;
44
+ height: 24px;
45
+ padding: 2px 6px 2px 10px;
46
+ margin: 3px 5px;
47
+ border-radius: 20px;
48
+ background-color: @themeColor;
49
+ color: #ffffff;
50
+ font-size: 12px;
51
+ display: flex;
52
+ align-items: center;
53
+
54
+ &-name {
55
+ .dsh-ellipsis();
56
+ }
57
+
58
+ &-delete {
59
+ padding: 3px;
60
+ margin-left: 5px;
61
+ font-size: 14px;
62
+ cursor: pointer;
63
+ }
64
+ }
65
+ }
66
+
67
+ &-search {
68
+ padding: 10px 15px;
69
+ }
70
+
71
+ &-center {
72
+ flex: 1;
73
+ min-height: 100px;
74
+ padding: 5px 0 10px;
75
+ overflow: auto;
76
+
77
+ &-tree {
78
+ .tree {
79
+ &-nodata {
80
+ #dsh-nodata();
81
+ }
82
+ }
83
+ }
84
+
85
+ &-card {
86
+ .card {
87
+ &-high-title {
88
+ padding: 10px 0px;
89
+ clear: both;
90
+ text-align: left;
91
+ }
92
+ }
93
+ }
94
+ }
95
+
96
+ &-footer {
97
+ text-align: right;
98
+
99
+ .ivu-btn {
100
+ width: 120px;
101
+ height: 38px;
102
+ }
103
+ }
104
+ }
105
+ }
106
+ }