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.
- package/lib/0.bri-components.min.js +1 -1
- package/lib/1.bri-components.min.js +1 -1
- package/lib/2.bri-components.min.js +1 -1
- package/lib/3.bri-components.min.js +1 -1
- package/lib/4.bri-components.min.js +1 -1
- package/lib/5.bri-components.min.js +1 -1
- package/lib/6.bri-components.min.js +1 -1
- package/lib/7.bri-components.min.js +1 -1
- package/lib/8.bri-components.min.js +1 -1
- package/lib/9.bri-components.min.js +1 -1
- package/lib/bri-components.min.js +6 -6
- package/lib/styles/bri-components.css +1 -1
- package/package.json +1 -1
- package/src/.DS_Store +0 -0
- package/src/abolish/DshFileShow.less +61 -0
- package/src/{components/small → abolish}/DshFileShow.vue +30 -105
- package/src/abolish/DshFlatTable.vue +1 -1
- package/src/components/.DS_Store +0 -0
- package/src/components/controls/.DS_Store +0 -0
- package/src/components/controls/base/BriUpload/{index.vue → BriUpload.vue} +4 -3
- package/src/components/controls/base/BriUpload/{upload-list.vue → uploadList.vue} +17 -13
- package/src/components/controls/base/BriUpload/uploadMixin.js +1 -5
- package/src/components/controls/base/DshCascader/DshCascader.vue +100 -100
- package/src/components/controls/base/DshCascader/InfoCascader.vue +3 -4
- package/src/components/controls/base/DshCheckbox.vue +11 -11
- package/src/components/controls/base/DshCoordinates.vue +2 -2
- package/src/components/controls/base/DshDate.vue +21 -10
- package/src/components/controls/base/DshEditor.vue +33 -48
- package/src/components/controls/base/DshInput.vue +21 -19
- package/src/components/controls/base/DshNumber/DshNumber.vue +23 -22
- package/src/components/controls/base/DshSelect.vue +3 -3
- package/src/components/controls/base/DshSwitch.vue +2 -2
- package/src/components/controls/controlMap.js +5 -1
- package/src/components/controls/controlMixin.js +16 -17
- package/src/components/controls/senior/.DS_Store +0 -0
- package/src/components/controls/senior/BriLabels.vue +200 -171
- package/src/components/controls/senior/selectDepartments.vue +380 -0
- package/src/components/controls/senior/selectUsers/DepartmentMenu.vue +191 -0
- package/src/components/controls/senior/selectUsers/selectUsers.vue +482 -0
- package/src/components/controls/special/DshUndeveloped.vue +0 -6
- package/src/components/form/DshForm.vue +4 -17
- package/src/components/list/BriCard.vue +52 -0
- package/src/components/list/BriTable.vue +1 -1
- package/src/components/list/{ZTree.vue → BriTree.vue} +9 -8
- package/src/components/list/BriTreeItem.vue +110 -0
- package/src/components/list/DshBox/DshCard.vue +4 -4
- package/src/components/list/DshBox/DshCrossTable.vue +4 -4
- package/src/components/list/DshBox/DshList.vue +2 -2
- package/src/components/list/DshBox/DshPanel.vue +5 -5
- package/src/components/list/DshBox/DshTable.vue +21 -80
- package/src/components/list/DshCascaderTable.vue +2 -2
- package/src/components/other/{ZCode.vue → BriCode.vue} +2 -9
- package/src/components/other/{ZCollapseTree.vue → BriCollapseTree.vue} +37 -16
- package/src/components/other/{ZIframe.vue → BriIframe.vue} +7 -23
- package/src/components/other/{ZLoading.vue → BriLoading.vue} +25 -11
- package/src/components/other/BriSvg.vue +2 -2
- package/src/components/other/DshAvatar.vue +21 -69
- package/src/components/other/DshColorPanel.vue +0 -43
- package/src/components/small/{Ctooltip.vue → BriTooltip.vue} +2 -2
- package/src/components/small/DshButtons.vue +2 -2
- package/src/components/small/DshCrumbs.vue +1 -0
- package/src/components/small/DshCrumbsItem.vue +5 -3
- package/src/components/small/DshIcons.vue +0 -14
- package/src/components/small/DshTags.vue +8 -3
- package/src/components/unit/DshFormItem.vue +4 -4
- package/src/components/unit/DshUnit.vue +0 -8
- package/src/index.js +99 -106
- package/src/styles/.DS_Store +0 -0
- package/src/styles/common/control.less +76 -68
- package/src/styles/components/.DS_Store +0 -0
- package/src/styles/components/controls/base/BriUpload/BriUpload.less +167 -0
- package/src/styles/components/controls/base/BriUpload/BriUploadImage.less +81 -0
- package/src/styles/components/controls/base/BriUpload/index.less +3 -0
- package/src/styles/components/controls/base/BriUpload/uploadList.less +164 -0
- package/src/styles/components/controls/base/DshCascader/DshCascader.less +71 -0
- package/src/styles/components/controls/base/DshCascader/index.less +2 -0
- package/src/styles/components/controls/base/DshCheckbox.less +68 -71
- package/src/styles/components/controls/base/DshDate.less +12 -0
- package/src/styles/components/controls/base/DshEditor.less +27 -48
- package/src/styles/components/controls/base/DshInput.less +6 -2
- package/src/styles/components/controls/base/DshNumber.less +44 -27
- package/src/styles/components/controls/base/DshSelect.less +12 -1
- package/src/styles/components/controls/senior/BriLabels.less +34 -103
- package/src/styles/components/controls/senior/cascaderTable.less +1 -1
- package/src/styles/components/controls/senior/flatTable.less +1 -1
- package/src/styles/components/controls/senior/selectDepartments.less +106 -0
- package/src/styles/components/controls/senior/selectUsers/DepartmentMenu.less +37 -0
- package/src/styles/components/controls/senior/selectUsers/index.less +2 -0
- package/src/styles/components/controls/senior/selectUsers/selectUsers.less +167 -0
- package/src/styles/components/controls/special/DshBack.less +3 -0
- package/src/styles/components/controls/special/DshUndeveloped.less +3 -0
- package/src/styles/components/form/DshAdvSearchForm.less +0 -1
- package/src/styles/components/form/DshDefaultSearch.less +2 -3
- package/src/styles/components/form/DshForm.less +13 -0
- package/src/styles/components/index.less +47 -36
- package/src/styles/components/list/BriCard.less +50 -0
- package/src/styles/components/list/BriTable.less +9 -9
- package/src/styles/components/list/{ZTree.less → BriTree.less} +11 -7
- package/src/styles/components/list/BriTreeItem.less +50 -0
- package/src/styles/components/list/DshBox/DshTable.less +11 -0
- package/src/styles/components/other/BriCode.less +5 -0
- package/src/styles/components/other/{ZCollapseTree.less → BriCollapseTree.less} +2 -2
- package/src/styles/components/other/BriIframe.less +16 -0
- package/src/styles/components/other/{ZLoading.less → BriLoading.less} +3 -3
- package/src/styles/components/other/DshAvatar.less +64 -0
- package/src/styles/components/other/DshBtnModal.less +3 -0
- package/src/styles/components/other/DshColorPanel.less +40 -0
- package/src/styles/components/other/DshEditPanel.less +2 -2
- package/src/styles/components/small/BriButton.less +3 -2
- package/src/styles/components/small/{Ctooltip.less → BriTooltip.less} +2 -1
- package/src/styles/components/small/DshCrumbs.less +0 -0
- package/src/styles/components/small/DshDropdown.less +5 -3
- package/src/styles/components/small/DshIcons.less +7 -0
- package/src/styles/components/small/DshTags.less +17 -0
- package/src/styles/components/unit/DshFormItem.less +4 -5
- package/src/styles/components/unit/DshUnit.less +5 -0
- package/src/utils/table.js +8 -0
- package/src/components/controls/controlShow.vue +0 -44
- package/src/components/other/YNoPermission.vue +0 -45
- package/src/components/small/BriTree.vue +0 -42
- package/src/styles/components/controls/base/BriUpload.less +0 -436
- package/src/styles/components/controls/base/DshCascader.less +0 -110
- package/src/styles/components/controls/controlShow.less +0 -12
- package/src/styles/components/other/ZCode.less +0 -1
- /package/src/{styles/components/other → abolish}/BriTransfer.less +0 -0
- /package/src/{components/other → abolish}/BriTransfer.vue +0 -0
- /package/src/{styles/components/small → abolish}/BriTree.less +0 -0
- /package/src/components/{small → list}/DshPage.vue +0 -0
- /package/src/components/other/{ZGantt.vue → BriGantt.vue} +0 -0
- /package/src/components/other/{menu/DshMenu.vue → DshMenu.vue} +0 -0
- /package/src/components/other/{menu/DshMenuNav.vue → DshMenuNav.vue} +0 -0
- /package/src/styles/components/controls/base/{InfoCascader.less → DshCascader/InfoCascader.less} +0 -0
- /package/src/styles/components/{small → list}/DshPage.less +0 -0
- /package/src/styles/components/other/{ZGantt.less → BriGantt.less} +0 -0
- /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
|
-
&-
|
|
4
|
+
&-group {
|
|
5
5
|
width: 100%;
|
|
6
6
|
|
|
7
|
-
&-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
|
|
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
|
-
|
|
115
|
-
|
|
116
|
-
|
|
60
|
+
&-disabled-color {
|
|
61
|
+
.ivu-checkbox-disabled+span {
|
|
62
|
+
color: inherit;
|
|
63
|
+
}
|
|
117
64
|
}
|
|
118
|
-
}
|
|
119
65
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
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
|
-
|
|
127
|
-
|
|
128
|
-
|
|
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:
|
|
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,19 +1,32 @@
|
|
|
1
|
-
.DshEditor {
|
|
2
|
-
|
|
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
|
-
|
|
8
|
-
|
|
9
|
-
cursor: pointer;
|
|
10
|
-
|
|
11
|
-
&:hover {
|
|
12
|
-
border-color: @theme-hover;
|
|
16
|
+
ol li {
|
|
17
|
+
list-style: auto;
|
|
13
18
|
}
|
|
19
|
+
}
|
|
14
20
|
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
59
|
+
&-unit {
|
|
60
|
+
.bri-unit-show();
|
|
53
61
|
}
|
|
54
62
|
|
|
55
63
|
&-show {
|
|
56
|
-
|
|
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
|
-
&-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
|
|
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
|
-
|
|
49
|
-
|
|
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
|
-
&-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
margin-
|
|
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
|
}
|
|
@@ -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
|
+
}
|