bri-components 1.5.22 → 1.6.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 (153) hide show
  1. package/README.md +83 -83
  2. package/lib/styles/bundle.css +12 -12
  3. package/lib/styles/font/fontello.svg +31 -31
  4. package/package.json +125 -125
  5. package/src/components/Error/Error403.vue +42 -42
  6. package/src/components/Error/Error404.vue +40 -40
  7. package/src/components/Error/Error500.vue +51 -51
  8. package/src/components/Error/error.less +162 -162
  9. package/src/components/Error/errorBack.vue +40 -40
  10. package/src/components/controls/DshControlInput.vue +195 -195
  11. package/src/components/controls/base/BriUpload/BriUpload.vue +434 -434
  12. package/src/components/controls/base/BriUpload/BriUploadImage.vue +377 -377
  13. package/src/components/controls/base/BriUpload/uploadList.vue +727 -727
  14. package/src/components/controls/base/BriUpload/uploadMixin.js +446 -446
  15. package/src/components/controls/base/DshCascader/DshCascader.vue +215 -215
  16. package/src/components/controls/base/DshCascader/components/cascaderModal.vue +366 -366
  17. package/src/components/controls/base/DshCascader/components/cascaderPicker.vue +416 -416
  18. package/src/components/controls/base/DshCascader/components/cascaderSimple.vue +141 -141
  19. package/src/components/controls/base/DshCascader/components/cascaderTree.vue +151 -151
  20. package/src/components/controls/base/DshCoordinates.vue +585 -585
  21. package/src/components/controls/base/DshDate/DshDate.vue +191 -191
  22. package/src/components/controls/base/DshDate/DshDaterange.vue +186 -186
  23. package/src/components/controls/base/DshDivider.vue +201 -201
  24. package/src/components/controls/base/DshEditor.vue +274 -274
  25. package/src/components/controls/base/DshInput/BriInputs.vue +166 -166
  26. package/src/components/controls/base/DshInput/DshInput.vue +260 -260
  27. package/src/components/controls/base/DshNumber/BriInputNumber/BriInputNumber.vue +435 -435
  28. package/src/components/controls/base/DshNumber/BriInputNumber/mixins/emitter.js +34 -34
  29. package/src/components/controls/base/DshNumber/BriInputNumber/mixins/form.js +14 -14
  30. package/src/components/controls/base/DshNumber/BriInputNumber/utils/assist.js +322 -322
  31. package/src/components/controls/base/DshNumber/DshNumber.vue +143 -143
  32. package/src/components/controls/base/DshNumber/DshNumberange.vue +109 -109
  33. package/src/components/controls/base/DshSelect/DshCheckbox.vue +168 -168
  34. package/src/components/controls/base/DshSelect/DshSelect.vue +180 -180
  35. package/src/components/controls/base/DshSelect/DshSelectAll.vue +269 -269
  36. package/src/components/controls/base/DshSwitch/DshSwitch.vue +115 -115
  37. package/src/components/controls/control.less +324 -324
  38. package/src/components/controls/controlMap.js +117 -117
  39. package/src/components/controls/extra/DshColor.vue +81 -81
  40. package/src/components/controls/extra/DshThemeColor.vue +100 -100
  41. package/src/components/controls/extra/DshThemeIcon.vue +122 -122
  42. package/src/components/controls/mixins/cascaderMixin.js +325 -325
  43. package/src/components/controls/mixins/cascaderPickerMixin.js +227 -227
  44. package/src/components/controls/mixins/cascaderTableMixin.js +130 -130
  45. package/src/components/controls/mixins/controlMixin.js +393 -393
  46. package/src/components/controls/mixins/dateMixin.js +149 -149
  47. package/src/components/controls/mixins/flatTableMixin.js +111 -111
  48. package/src/components/controls/mixins/numberMixin.js +112 -112
  49. package/src/components/controls/mixins/selectMixin.js +233 -233
  50. package/src/components/controls/mixins/switchMixin.js +87 -87
  51. package/src/components/controls/mixins/userAndDepartMixin.js +260 -260
  52. package/src/components/controls/senior/DshLabels.vue +333 -333
  53. package/src/components/controls/senior/DshPackage.vue +57 -57
  54. package/src/components/controls/senior/cascaderTable.vue +213 -213
  55. package/src/components/controls/senior/correlation.vue +135 -135
  56. package/src/components/controls/senior/flatTable.vue +138 -138
  57. package/src/components/controls/senior/selectDepartments.vue +399 -399
  58. package/src/components/controls/senior/selectUsers/departMenu.vue +293 -293
  59. package/src/components/controls/senior/selectUsers/selectUsers.vue +712 -712
  60. package/src/components/controls/special/DshBack.vue +42 -42
  61. package/src/components/controls/special/DshUndeveloped.vue +41 -41
  62. package/src/components/form/DshAdvSearch.vue +510 -510
  63. package/src/components/form/DshDefaultSearch.vue +260 -260
  64. package/src/components/form/DshForm.vue +494 -494
  65. package/src/components/form/searchMixin.js +376 -376
  66. package/src/components/list/BriCard.vue +95 -95
  67. package/src/components/list/BriTable.vue +205 -205
  68. package/src/components/list/BriTree.vue +529 -529
  69. package/src/components/list/BriTreeItem.vue +163 -163
  70. package/src/components/list/DshBox/DshBox.vue +219 -219
  71. package/src/components/list/DshBox/DshCard.vue +446 -446
  72. package/src/components/list/DshBox/DshCrossTable.vue +827 -827
  73. package/src/components/list/DshBox/DshList.vue +404 -404
  74. package/src/components/list/DshBox/DshPanel.vue +669 -669
  75. package/src/components/list/DshBox/DshSingleData.vue +119 -119
  76. package/src/components/list/DshBox/DshTable.vue +239 -239
  77. package/src/components/list/DshCascaderTable.vue +115 -115
  78. package/src/components/list/DshFlatTable.vue +337 -337
  79. package/src/components/list/DshPage.vue +194 -194
  80. package/src/components/list/DshTreeTable.vue +113 -113
  81. package/src/components/list/common/importModal.vue +243 -243
  82. package/src/components/list/common/quoteListModal.vue +206 -206
  83. package/src/components/list/mixins/DshCascaderTableMixin.js +278 -278
  84. package/src/components/list/mixins/DshFlatTableMixin.js +509 -509
  85. package/src/components/list/mixins/DshTreeTableMixin.js +286 -286
  86. package/src/components/list/mixins/tableBaseMixin.js +1653 -1653
  87. package/src/components/list/mixins/treeTableBaseMixin.js +145 -145
  88. package/src/components/other/BriAvatar.vue +166 -166
  89. package/src/components/other/BriCode.vue +125 -125
  90. package/src/components/other/BriCollapseTree.vue +207 -207
  91. package/src/components/other/BriGantt.vue +1087 -1087
  92. package/src/components/other/BriIframe.vue +116 -116
  93. package/src/components/other/BriLoading.vue +171 -171
  94. package/src/components/other/BriSvg.vue +27 -27
  95. package/src/components/other/DshColorPanel.vue +128 -128
  96. package/src/components/other/DshMenuNav.vue +188 -188
  97. package/src/components/small/BriButton.vue +71 -71
  98. package/src/components/small/BriDrawer.vue +169 -169
  99. package/src/components/small/BriTooltip.vue +87 -87
  100. package/src/components/small/DshBtnModal.vue +68 -68
  101. package/src/components/small/DshButtons.vue +324 -324
  102. package/src/components/small/DshDropdown.vue +225 -225
  103. package/src/components/small/DshIcons.vue +59 -59
  104. package/src/components/small/DshListRender.js +21 -21
  105. package/src/components/small/DshModal.vue +160 -160
  106. package/src/components/small/DshSteps.vue +141 -141
  107. package/src/components/small/DshTabs.vue +598 -598
  108. package/src/components/small/DshTabsSet.vue +309 -309
  109. package/src/components/small/DshTags.vue +251 -251
  110. package/src/components/small/DshTitle.vue +50 -50
  111. package/src/components/small/render.js +20 -20
  112. package/src/components/unit/DshFormUnit.vue +398 -398
  113. package/src/components/unit/DshListUnit.vue +115 -115
  114. package/src/components/unit/unitMixin.js +86 -86
  115. package/src/data/index.js +4 -4
  116. package/src/index.js +285 -285
  117. package/src/styles/bundle.css +12 -12
  118. package/src/styles/components/BriButton.less +307 -307
  119. package/src/styles/components/BriTable.less +344 -344
  120. package/src/styles/components/DshModal.less +257 -257
  121. package/src/styles/components/index.less +3 -3
  122. package/src/styles/global/animate.less +11 -11
  123. package/src/styles/global/base.less +45 -45
  124. package/src/styles/global/box.less +186 -186
  125. package/src/styles/global/control.less +122 -122
  126. package/src/styles/global/flex.less +282 -282
  127. package/src/styles/global/global.less +8 -8
  128. package/src/styles/global/text.less +59 -59
  129. package/src/styles/global/variables.less +85 -85
  130. package/src/styles/iconfont/iconfont.css +254 -254
  131. package/src/styles/iconfont/iconfont.json +422 -422
  132. package/src/styles/iconfont/iconfont.svg +137 -137
  133. package/src/styles/index.less +26 -26
  134. package/src/styles/reset-easytable.less +21 -21
  135. package/src/styles/reset-iview-controls.less +145 -145
  136. package/src/styles/reset-iview-other.less +49 -49
  137. package/src/styles/reset-iview-variables.less +43 -43
  138. package/src/styles/reset.less +45 -45
  139. package/src/utils/index.js +3 -5
  140. package/lib/0.bri-components.min.js +0 -1
  141. package/lib/1.bri-components.min.js +0 -1
  142. package/lib/10.bri-components.min.js +0 -1
  143. package/lib/11.bri-components.min.js +0 -1
  144. package/lib/2.bri-components.min.js +0 -1
  145. package/lib/3.bri-components.min.js +0 -1
  146. package/lib/4.bri-components.min.js +0 -1
  147. package/lib/5.bri-components.min.js +0 -1
  148. package/lib/6.bri-components.min.js +0 -1
  149. package/lib/7.bri-components.min.js +0 -1
  150. package/lib/8.bri-components.min.js +0 -1
  151. package/lib/9.bri-components.min.js +0 -1
  152. package/lib/bri-components.min.js +0 -18
  153. package/src/utils/table.js +0 -175
@@ -1,269 +1,269 @@
1
- <template>
2
- <div class="DshSelectAll">
3
- <Dropdown
4
- style="width: 100%;"
5
- v-clickoutside="clickCancel"
6
- trigger="custom"
7
- :visible="showModal"
8
- :placement="'bottom-start'"
9
- :transfer="true"
10
- :transfer-class-name="`DshSelectAll-down ${selfPropsObj._transferClassName}`"
11
- :stop-propagation="true"
12
- :events-enabled="true"
13
- >
14
- <div class="DshSelectAll-input" @click="clickInput">
15
- <div v-if="inputData.length" class="DshSelectAll-input-selected dsh-ellipsis">
16
- <Tag
17
- v-for="(item, index) in inputData"
18
- :key="item._key"
19
- closable
20
- @on-close="clickDelete(item, index)"
21
- >
22
- {{ item.name }}
23
- </Tag>
24
- </div>
25
- <Input
26
- v-if="!selfPropsObj._disabled"
27
- v-model="searchName"
28
- :placeholder="selfPropsObj._placeholder"
29
- :clearable="selfPropsObj._clearable"
30
- :size="selfPropsObj._size"
31
- ></Input>
32
- </div>
33
- <DropdownMenu slot="list">
34
- <!-- 用了transfer="true",防止点击面板冒泡关闭 -->
35
- <div class="DshSelectAll-down-box" @click.stop="0">
36
- <div class="DshSelectAll-down-all">
37
- <Checkbox
38
- :indeterminate="indeterminate"
39
- :value="checkAll"
40
- @click.prevent.native="handleCheckAll"
41
- >全选</Checkbox>
42
- </div>
43
- <CheckboxGroup v-model="checkAllGroup" @on-change="checkAllGroupChange">
44
- <div
45
- v-for="dataItem in dropDownData"
46
- :key="dataItem._key">
47
- <Checkbox :label="dataItem._key">
48
- <span>{{ dataItem._name || dataItem.name }}</span>
49
- </Checkbox>
50
- </div>
51
- </CheckboxGroup>
52
-
53
- <dsh-buttons
54
- class="DshSelectAll-down-footer"
55
- :list="$getOperationList(['canCancel', 'canConfirm'])"
56
- @click="$dispatchEvent($event)"
57
- ></dsh-buttons>
58
- </div>
59
- </DropdownMenu>
60
- </Dropdown>
61
- </div>
62
- </template>
63
-
64
- <script>
65
- export default {
66
- name: "DshSelectAll",
67
- data () {
68
- return {
69
- showModal: false,
70
- searchName: "",
71
-
72
- indeterminate: false,
73
- checkAll: false,
74
- checkAllGroup: [],
75
-
76
- operationMap: {
77
- canCancel: {
78
- name: "取消",
79
- type: "canCancel",
80
- btnType: "text",
81
- size: "small",
82
- event: "clickCancel"
83
- },
84
- canConfirm: {
85
- name: "确认",
86
- type: "canConfirm",
87
- btnType: "primary",
88
- size: "small",
89
- event: "clickConfirm"
90
- }
91
- }
92
- };
93
- },
94
- props: {
95
- value: {
96
- type: Object,
97
- default () {
98
- return {};
99
- }
100
- },
101
- propsObj: {
102
- type: Object,
103
- default () {
104
- return {};
105
- }
106
- }
107
- },
108
- computed: {
109
- compKey () {
110
- return this.propsObj.compKey;
111
- },
112
- appKey () {
113
- return this.propsObj.appKey;
114
- },
115
- selfPropsObj () {
116
- return {
117
- ...this.propsObj,
118
- _data: this.propsObj._data || [],
119
- _showData: this.propsObj._showData || [],
120
- _placeholder: `请选择${this.propsObj._name}`
121
- };
122
- },
123
- dropDownData () {
124
- const _data = this.selfPropsObj._data.filter(item => item._key);
125
- const _showData = this.selfPropsObj._showData.filter(item => item._key);
126
- let dropShowData = _data.filter(item => item.name.indexOf(this.searchName) > -1);
127
- if (dropShowData.length > 20) {
128
- dropShowData.slice(0, 20);
129
- }
130
- return this.searchName ? dropShowData : _showData;
131
- },
132
- inputData () {
133
- return this.selfPropsObj._data.filter(item => this.value[this.propsObj._key].includes(item._key));
134
- },
135
- inputStr () {
136
- return this.inputData.map(item => item._name || item.name).join("、");
137
- }
138
- },
139
- created () {
140
- this.init();
141
- },
142
- methods: {
143
- init () {
144
- this.clickCancel(); // 加载先赋值
145
- },
146
- openModal () {
147
- this.showModal = true;
148
- },
149
- closeModal () {
150
- this.searchName = "";
151
- this.showModal = false;
152
- },
153
- clickInput (e) {
154
- if (!this.selfPropsObj._disabled) {
155
- this.openModal();
156
- } else {
157
- e.stopPropagation();
158
- }
159
- },
160
- clickDelete (item, index) {
161
- this.value[this.propsObj._key].splice(index, 1);
162
- this.checkAllGroup = this.value[this.propsObj._key];
163
- this.$emit("change", this.value[this.propsObj._key]);
164
- },
165
-
166
- clickCancel () {
167
- if (this.value[this.propsObj._key] && this.value[this.propsObj._key].length) {
168
- this.checkAllGroup = this.value[this.propsObj._key];
169
- }
170
- this.closeModal();
171
- },
172
- clickConfirm () {
173
- this.value[this.propsObj._key] = this.checkAllGroup;
174
- this.closeModal();
175
- this.$emit("change", this.value[this.propsObj._key]);
176
- },
177
-
178
- handleCheckAll () {
179
- if (this.indeterminate) {
180
- this.checkAll = false;
181
- } else {
182
- this.checkAll = !this.checkAll;
183
- }
184
- this.indeterminate = false;
185
-
186
- if (this.checkAll) {
187
- this.checkAllGroup = this.dropDownData.map(item => item._key);
188
- } else {
189
- this.checkAllGroup = [];
190
- }
191
- },
192
- checkAllGroupChange (data) {
193
- if (data.length === this.dropDownData.length) {
194
- this.indeterminate = false;
195
- this.checkAll = true;
196
- } else if (data.length > 0) {
197
- this.indeterminate = true;
198
- this.checkAll = false;
199
- } else {
200
- this.indeterminate = false;
201
- this.checkAll = false;
202
- }
203
- }
204
- }
205
- };
206
- </script>
207
-
208
- <style lang="less">
209
- .DshSelectAll {
210
- &-input {
211
- background-color: #FFF;
212
- padding: 0 6px;
213
- display: flex;
214
- align-items: center;
215
- border: 1px solid #dcdee2;
216
- input::placeholder{
217
- color: #666;
218
- }
219
- &-selected {
220
-
221
- }
222
-
223
- .ivu-input-wrapper {
224
- flex: 1;
225
- min-width: 20%;
226
-
227
- .ivu-input {
228
- height: 30px;
229
- border: none;
230
-
231
- &:focus {
232
- box-shadow: none;
233
- }
234
- }
235
- }
236
- .ivu-tag-text{
237
- color: #000;
238
- }
239
- .ivu-tag .ivu-icon-ios-close{
240
- color: #000;
241
- opacity: 1;
242
- }
243
- }
244
- &-down {
245
- &-box {
246
- width: 100%;
247
- max-height: 300px;
248
- padding: 10px 16px;
249
- display: flex;
250
- flex-direction: column;
251
-
252
- .ivu-checkbox {
253
- margin-right: 10px;
254
- }
255
- .ivu-checkbox-group {
256
- flex: 1;
257
- overflow: auto;
258
- }
259
- }
260
-
261
- &-footer {
262
- border-top: 1px solid #ccc;
263
- margin-top: 10px;
264
- padding-top: 10px;
265
- text-align: right;
266
- }
267
- }
268
- }
269
- </style>
1
+ <template>
2
+ <div class="DshSelectAll">
3
+ <Dropdown
4
+ style="width: 100%;"
5
+ v-clickoutside="clickCancel"
6
+ trigger="custom"
7
+ :visible="showModal"
8
+ :placement="'bottom-start'"
9
+ :transfer="true"
10
+ :transfer-class-name="`DshSelectAll-down ${selfPropsObj._transferClassName}`"
11
+ :stop-propagation="true"
12
+ :events-enabled="true"
13
+ >
14
+ <div class="DshSelectAll-input" @click="clickInput">
15
+ <div v-if="inputData.length" class="DshSelectAll-input-selected dsh-ellipsis">
16
+ <Tag
17
+ v-for="(item, index) in inputData"
18
+ :key="item._key"
19
+ closable
20
+ @on-close="clickDelete(item, index)"
21
+ >
22
+ {{ item.name }}
23
+ </Tag>
24
+ </div>
25
+ <Input
26
+ v-if="!selfPropsObj._disabled"
27
+ v-model="searchName"
28
+ :placeholder="selfPropsObj._placeholder"
29
+ :clearable="selfPropsObj._clearable"
30
+ :size="selfPropsObj._size"
31
+ ></Input>
32
+ </div>
33
+ <DropdownMenu slot="list">
34
+ <!-- 用了transfer="true",防止点击面板冒泡关闭 -->
35
+ <div class="DshSelectAll-down-box" @click.stop="0">
36
+ <div class="DshSelectAll-down-all">
37
+ <Checkbox
38
+ :indeterminate="indeterminate"
39
+ :value="checkAll"
40
+ @click.prevent.native="handleCheckAll"
41
+ >全选</Checkbox>
42
+ </div>
43
+ <CheckboxGroup v-model="checkAllGroup" @on-change="checkAllGroupChange">
44
+ <div
45
+ v-for="dataItem in dropDownData"
46
+ :key="dataItem._key">
47
+ <Checkbox :label="dataItem._key">
48
+ <span>{{ dataItem._name || dataItem.name }}</span>
49
+ </Checkbox>
50
+ </div>
51
+ </CheckboxGroup>
52
+
53
+ <dsh-buttons
54
+ class="DshSelectAll-down-footer"
55
+ :list="$getOperationList(['canCancel', 'canConfirm'])"
56
+ @click="$dispatchEvent($event)"
57
+ ></dsh-buttons>
58
+ </div>
59
+ </DropdownMenu>
60
+ </Dropdown>
61
+ </div>
62
+ </template>
63
+
64
+ <script>
65
+ export default {
66
+ name: "DshSelectAll",
67
+ data () {
68
+ return {
69
+ showModal: false,
70
+ searchName: "",
71
+
72
+ indeterminate: false,
73
+ checkAll: false,
74
+ checkAllGroup: [],
75
+
76
+ operationMap: {
77
+ canCancel: {
78
+ name: "取消",
79
+ type: "canCancel",
80
+ btnType: "text",
81
+ size: "small",
82
+ event: "clickCancel"
83
+ },
84
+ canConfirm: {
85
+ name: "确认",
86
+ type: "canConfirm",
87
+ btnType: "primary",
88
+ size: "small",
89
+ event: "clickConfirm"
90
+ }
91
+ }
92
+ };
93
+ },
94
+ props: {
95
+ value: {
96
+ type: Object,
97
+ default () {
98
+ return {};
99
+ }
100
+ },
101
+ propsObj: {
102
+ type: Object,
103
+ default () {
104
+ return {};
105
+ }
106
+ }
107
+ },
108
+ computed: {
109
+ compKey () {
110
+ return this.propsObj.compKey;
111
+ },
112
+ appKey () {
113
+ return this.propsObj.appKey;
114
+ },
115
+ selfPropsObj () {
116
+ return {
117
+ ...this.propsObj,
118
+ _data: this.propsObj._data || [],
119
+ _showData: this.propsObj._showData || [],
120
+ _placeholder: `请选择${this.propsObj._name}`
121
+ };
122
+ },
123
+ dropDownData () {
124
+ const _data = this.selfPropsObj._data.filter(item => item._key);
125
+ const _showData = this.selfPropsObj._showData.filter(item => item._key);
126
+ let dropShowData = _data.filter(item => item.name.indexOf(this.searchName) > -1);
127
+ if (dropShowData.length > 20) {
128
+ dropShowData.slice(0, 20);
129
+ }
130
+ return this.searchName ? dropShowData : _showData;
131
+ },
132
+ inputData () {
133
+ return this.selfPropsObj._data.filter(item => this.value[this.propsObj._key].includes(item._key));
134
+ },
135
+ inputStr () {
136
+ return this.inputData.map(item => item._name || item.name).join("、");
137
+ }
138
+ },
139
+ created () {
140
+ this.init();
141
+ },
142
+ methods: {
143
+ init () {
144
+ this.clickCancel(); // 加载先赋值
145
+ },
146
+ openModal () {
147
+ this.showModal = true;
148
+ },
149
+ closeModal () {
150
+ this.searchName = "";
151
+ this.showModal = false;
152
+ },
153
+ clickInput (e) {
154
+ if (!this.selfPropsObj._disabled) {
155
+ this.openModal();
156
+ } else {
157
+ e.stopPropagation();
158
+ }
159
+ },
160
+ clickDelete (item, index) {
161
+ this.value[this.propsObj._key].splice(index, 1);
162
+ this.checkAllGroup = this.value[this.propsObj._key];
163
+ this.$emit("change", this.value[this.propsObj._key]);
164
+ },
165
+
166
+ clickCancel () {
167
+ if (this.value[this.propsObj._key] && this.value[this.propsObj._key].length) {
168
+ this.checkAllGroup = this.value[this.propsObj._key];
169
+ }
170
+ this.closeModal();
171
+ },
172
+ clickConfirm () {
173
+ this.value[this.propsObj._key] = this.checkAllGroup;
174
+ this.closeModal();
175
+ this.$emit("change", this.value[this.propsObj._key]);
176
+ },
177
+
178
+ handleCheckAll () {
179
+ if (this.indeterminate) {
180
+ this.checkAll = false;
181
+ } else {
182
+ this.checkAll = !this.checkAll;
183
+ }
184
+ this.indeterminate = false;
185
+
186
+ if (this.checkAll) {
187
+ this.checkAllGroup = this.dropDownData.map(item => item._key);
188
+ } else {
189
+ this.checkAllGroup = [];
190
+ }
191
+ },
192
+ checkAllGroupChange (data) {
193
+ if (data.length === this.dropDownData.length) {
194
+ this.indeterminate = false;
195
+ this.checkAll = true;
196
+ } else if (data.length > 0) {
197
+ this.indeterminate = true;
198
+ this.checkAll = false;
199
+ } else {
200
+ this.indeterminate = false;
201
+ this.checkAll = false;
202
+ }
203
+ }
204
+ }
205
+ };
206
+ </script>
207
+
208
+ <style lang="less">
209
+ .DshSelectAll {
210
+ &-input {
211
+ background-color: #FFF;
212
+ padding: 0 6px;
213
+ display: flex;
214
+ align-items: center;
215
+ border: 1px solid #dcdee2;
216
+ input::placeholder{
217
+ color: #666;
218
+ }
219
+ &-selected {
220
+
221
+ }
222
+
223
+ .ivu-input-wrapper {
224
+ flex: 1;
225
+ min-width: 20%;
226
+
227
+ .ivu-input {
228
+ height: 30px;
229
+ border: none;
230
+
231
+ &:focus {
232
+ box-shadow: none;
233
+ }
234
+ }
235
+ }
236
+ .ivu-tag-text{
237
+ color: #000;
238
+ }
239
+ .ivu-tag .ivu-icon-ios-close{
240
+ color: #000;
241
+ opacity: 1;
242
+ }
243
+ }
244
+ &-down {
245
+ &-box {
246
+ width: 100%;
247
+ max-height: 300px;
248
+ padding: 10px 16px;
249
+ display: flex;
250
+ flex-direction: column;
251
+
252
+ .ivu-checkbox {
253
+ margin-right: 10px;
254
+ }
255
+ .ivu-checkbox-group {
256
+ flex: 1;
257
+ overflow: auto;
258
+ }
259
+ }
260
+
261
+ &-footer {
262
+ border-top: 1px solid #ccc;
263
+ margin-top: 10px;
264
+ padding-top: 10px;
265
+ text-align: right;
266
+ }
267
+ }
268
+ }
269
+ </style>