doway-coms 2.11.95 → 2.11.97

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 (94) hide show
  1. package/.browserslistrc +2 -2
  2. package/README.md +28 -28
  3. package/package.json +63 -63
  4. package/packages/AuditsList/index.js +7 -7
  5. package/packages/AuditsList/src/index.vue +314 -314
  6. package/packages/BaseButton/index.js +7 -7
  7. package/packages/BaseButton/src/index.vue +242 -242
  8. package/packages/BaseCheckbox/index.js +7 -7
  9. package/packages/BaseCheckbox/src/index.vue +134 -134
  10. package/packages/BaseDate/index.js +7 -7
  11. package/packages/BaseDate/src/index.vue +233 -233
  12. package/packages/BaseDateMonth/index.js +7 -7
  13. package/packages/BaseDateMonth/src/index.vue +163 -163
  14. package/packages/BaseDateWeek/index.js +7 -7
  15. package/packages/BaseDateWeek/src/index.vue +163 -163
  16. package/packages/BaseDatetime/index.js +7 -7
  17. package/packages/BaseDatetime/src/index.vue +196 -196
  18. package/packages/BaseFileGroup/index.js +7 -7
  19. package/packages/BaseFileGroup/src/index.vue +778 -778
  20. package/packages/BaseForm/index.js +7 -7
  21. package/packages/BaseForm/src/index.vue +913 -913
  22. package/packages/BaseGantt/index.js +9 -9
  23. package/packages/BaseGantt/src/index.vue +617 -617
  24. package/packages/BaseGrid/index.js +9 -9
  25. package/packages/BaseGrid/src/exportCmp.vue +105 -105
  26. package/packages/BaseGrid/src/gridApi.js +32 -32
  27. package/packages/BaseGrid/src/index.vue +4762 -4744
  28. package/packages/BaseGridAdjust/index.js +9 -9
  29. package/packages/BaseGridAdjust/src/index.vue +482 -482
  30. package/packages/BaseInput/index.js +7 -7
  31. package/packages/BaseInput/src/index.vue +207 -207
  32. package/packages/BaseIntervalInput/index.js +7 -7
  33. package/packages/BaseIntervalInput/src/index.vue +316 -316
  34. package/packages/BaseKanbanEmpty/index.js +7 -7
  35. package/packages/BaseKanbanEmpty/src/index.vue +176 -176
  36. package/packages/BaseNumberInput/index.js +7 -7
  37. package/packages/BaseNumberInput/src/index.vue +278 -278
  38. package/packages/BasePagination/index.js +7 -7
  39. package/packages/BasePagination/src/index.vue +90 -90
  40. package/packages/BasePictureCard/index.js +7 -7
  41. package/packages/BasePictureCard/src/index.vue +671 -671
  42. package/packages/BasePrintPreview/index.js +7 -7
  43. package/packages/BasePrintPreview/src/index.vue +214 -214
  44. package/packages/BasePulldown/index.js +7 -7
  45. package/packages/BasePulldown/src/index.vue +1406 -1406
  46. package/packages/BaseSearch/index.js +7 -7
  47. package/packages/BaseSearch/src/index.vue +935 -935
  48. package/packages/BaseSelect/index.js +7 -7
  49. package/packages/BaseSelect/src/index.vue +169 -169
  50. package/packages/BaseSelectMulti/index.js +7 -7
  51. package/packages/BaseSelectMulti/src/index.vue +148 -148
  52. package/packages/BaseTextArea/index.js +7 -7
  53. package/packages/BaseTextArea/src/index.vue +197 -197
  54. package/packages/BaseTime/index.js +7 -7
  55. package/packages/BaseTime/src/index.vue +166 -166
  56. package/packages/BaseTool/index.js +7 -7
  57. package/packages/BaseTool/src/index.vue +353 -353
  58. package/packages/BaseToolStatus/index.js +7 -7
  59. package/packages/BaseToolStatus/src/ApprovalPersonsGroup.vue +41 -41
  60. package/packages/BaseToolStatus/src/index.vue +439 -439
  61. package/packages/BaseTreeSelect/index.js +8 -8
  62. package/packages/BaseTreeSelect/src/index.vue +437 -437
  63. package/packages/HistoryModal/index.js +8 -8
  64. package/packages/HistoryModal/src/index.vue +161 -161
  65. package/packages/LeaveAMessage/index.js +7 -7
  66. package/packages/LeaveAMessage/src/index.vue +601 -601
  67. package/packages/directive/clickoutside.js +44 -44
  68. package/packages/index.js +197 -197
  69. package/packages/styles/default.css +78 -78
  70. package/packages/styles/default.less +91 -91
  71. package/packages/styles/hps/default.less +73 -73
  72. package/packages/utils/api.js +134 -134
  73. package/packages/utils/auth.js +38 -38
  74. package/packages/utils/common.js +728 -728
  75. package/packages/utils/dom.js +181 -181
  76. package/packages/utils/enum.js +87 -87
  77. package/packages/utils/filters.js +542 -542
  78. package/packages/utils/gridFormat.js +66 -66
  79. package/packages/utils/msg.js +105 -105
  80. package/packages/utils/patchFiles.js +44 -44
  81. package/packages/utils/request.js +181 -181
  82. package/packages/utils/store.js +405 -396
  83. package/packages/utils/tscPrinter.js +101 -101
  84. package/sync.bash +6 -6
  85. package/vue.config.js +59 -59
  86. package/dist/css/chunk-vendors.7f83d8f9.css +0 -8
  87. package/dist/css/index.7946d50b.css +0 -1
  88. package/dist/favicon.ico +0 -0
  89. package/dist/js/chunk-vendors.28fda91d.js +0 -340
  90. package/dist/js/index.49bc6add.js +0 -2
  91. package/lib/doway-coms.common.js +0 -120397
  92. package/lib/doway-coms.css +0 -1
  93. package/lib/doway-coms.umd.js +0 -120407
  94. package/lib/doway-coms.umd.min.js +0 -328
@@ -1,316 +1,316 @@
1
- <template>
2
- <div class="d-control-container">
3
- <div class="d-control-label">
4
- {{ label
5
- }}
6
- <span
7
- v-if="rules && Object.getOwnPropertyNames(rules).length > 0"
8
- class="d-control-label-required"
9
- >*</span
10
- >
11
- <Tooltip :title="tooltip" v-if="tooltip" style="margin: 0 2px">
12
- <img src="../../styles/icon/help.png" alt="" style="width: 14px">
13
- </Tooltip>
14
- </div>
15
- <div class="d-control" style="font-size:12px">
16
- <ValidationProvider
17
- :name="label"
18
- v-slot="v"
19
- :rules="rules"
20
- v-if="edit === true"
21
- >
22
- <input v-model="currentValue" style="display:none" />
23
- <div style="display:flex;flex-flow:row nowrap">
24
- <input
25
- type="number"
26
- v-model="dayValue"
27
- @input="dayChange"
28
- @focus="dayFocus"
29
- class="input-class"
30
- />
31
- <div style="width:18px;margin-left:2px">
32
- <span>天</span>
33
- </div>
34
- <input
35
- type="number"
36
- v-model="hourValue"
37
- @input="hourChange"
38
- @focus="hourFocus"
39
- class="input-class"
40
- />
41
- <div style="width:30px">
42
- <span>小时</span>
43
- </div>
44
- <input
45
- @input="minuteChange"
46
- v-if="displayType === 'minute' || displayType === 'second'"
47
- type="number"
48
- v-model="minuteValue"
49
- @focus="minuteFocus"
50
- class="input-class"
51
- />
52
- <div
53
- v-if="displayType === 'minute' || displayType === 'second'"
54
- style="width:30px"
55
- >
56
- <span>分钟</span>
57
- </div>
58
- <input
59
- @input="secondChange"
60
- v-if="displayType === 'second'"
61
- type="number"
62
- @focus="secondFocus"
63
- v-model="secondValue"
64
- class="input-class"
65
- />
66
- <div v-if="displayType === 'second'" style="width:20px">
67
- <span>秒</span>
68
- </div>
69
- <input
70
- @input="secondTotalChange"
71
- v-if="displayType === 'second'"
72
- type="number"
73
- class="input-second-class"
74
- v-model="secondTotalValue"
75
- />
76
- </div>
77
- <div class="d-error-msg">
78
- {{ v.errors[0] }}
79
- </div>
80
- </ValidationProvider>
81
- <span v-else>
82
- <template v-if="displayType === 'second'">{{ dayValue }} 天 {{ hourValue }} 小时 {{ minuteValue }} 分钟 {{ secondValue }} 秒</template>
83
- <template v-else-if="displayType === 'minute'">{{ dayValue }} 天 {{ hourValue }} 小时 {{ minuteValue }} 分钟</template>
84
- <template v-else-if="displayType === 'hour'">{{ dayValue }} 天 {{ hourValue }} 小时</template>
85
- <template v-else>显示格式{{displayType}}错误</template>
86
- </span>
87
- <!-- <span v-else>{{ dayValue }}天{{ hourValue }}小时</span> -->
88
- </div>
89
- <div style="display:none">
90
- {{ currentValue }}
91
- </div>
92
- </div>
93
- </template>
94
-
95
- <script>
96
- import XEUtils from 'xe-utils'
97
- import moment from 'moment'
98
- import { ValidationProvider } from 'vee-validate'
99
- import { Tooltip } from 'ant-design-vue'
100
-
101
- export default {
102
- name: 'BaseIntervalInput',
103
- components:{
104
- ValidationProvider,
105
- Tooltip,
106
-
107
- },
108
- data() {
109
- return {
110
- dayValue: 0,
111
- hourValue: 0,
112
- minuteValue: 0,
113
- secondValue: 0,
114
- secondTotalValue: 0,
115
- testValue: 0,
116
- filterValue: '',
117
- isInputChanged: false,
118
- inputTimeout: null,
119
- searchRows: [],
120
- filterCols: [],
121
- gridLoading: false,
122
- gridPagerConfig: {
123
- total: 0,
124
- currentPage: 1,
125
- pageSize: 10
126
- }
127
- }
128
- },
129
- computed: {
130
- currentValue: {
131
- // 动态计算currentValue的值
132
- get: function() {
133
- console.debug('get value')
134
- //分钟计算成小时
135
- let tempValue = this.value
136
- if (this.valueType === 'hour') {
137
- tempValue = XEUtils.multiply(tempValue, 3600)
138
- } else if (this.valueType === 'minute') {
139
- tempValue = XEUtils.multiply(tempValue, 60)
140
- }
141
- //设置天数
142
- this.dayValue = XEUtils.floor(XEUtils.divide(tempValue, 24 * 3600))
143
- //天之后的剩余秒数
144
- tempValue = XEUtils.subtract(tempValue, this.dayValue * 3600 * 24)
145
- if (tempValue >= 0) {
146
- //设置小时数
147
- this.hourValue = XEUtils.floor(XEUtils.divide(tempValue, 3600))
148
- //小时之后的剩余秒数
149
- tempValue = XEUtils.subtract(tempValue, this.hourValue * 3600)
150
- }
151
- if (tempValue >= 0) {
152
- //设置分钟
153
- this.minuteValue = XEUtils.floor(XEUtils.divide(tempValue, 60))
154
- //小时之后的剩余秒数
155
- tempValue = XEUtils.subtract(tempValue, this.minuteValue * 60)
156
- }
157
- if (tempValue >= 0) {
158
- //设置秒数
159
- this.secondValue = tempValue
160
- }
161
- this.secondTotalValue = this.value
162
-
163
- return this.value // 将props中的value赋值给currentValue
164
- },
165
- set: function(val) {
166
- if (val === '') {
167
- val = 0
168
- }
169
- if (XEUtils.isNumber(val)) {
170
- this.$emit('input', XEUtils.toInteger(val))
171
- }
172
- // 通过$emit触发父组件
173
- }
174
- }
175
- },
176
- props: {
177
- value: {
178
- type: Number,
179
- default: function() {
180
- return 0
181
- }
182
- },
183
- rules: {
184
- type: Object,
185
- default: function() {
186
- return null
187
- }
188
- },
189
- displayType: {
190
- type: String,
191
- default: function() {
192
- return ''
193
- }
194
- },
195
- valueType: {
196
- type: String,
197
- default: function() {
198
- return ''
199
- }
200
- },
201
- edit: {
202
- type: Boolean,
203
- default: function() {
204
- return false
205
- }
206
- },
207
- name: {
208
- type: String,
209
- default: function() {
210
- return ''
211
- }
212
- },
213
- label: {
214
- type: String,
215
- default: function() {
216
- return ''
217
- }
218
- },
219
- placeholder: {
220
- type: String,
221
- default: function() {
222
- return ''
223
- }
224
- },
225
- tooltip: {
226
- type: String,
227
- default: function() {
228
- return ''
229
- }
230
- }
231
- },
232
- created() {},
233
- methods: {
234
- dayFocus($event) {
235
- $event.target.select()
236
- },
237
- hourFocus($event) {
238
- $event.target.select()
239
- },
240
- minuteFocus($event) {
241
- $event.target.select()
242
- },
243
- secondFocus($event) {
244
- $event.target.select()
245
- },
246
- dayChange() {
247
- this.setCurrentValue()
248
- this.$emit('change')
249
- },
250
- hourChange() {
251
- this.setCurrentValue()
252
- this.$emit('change')
253
- },
254
- minuteChange() {
255
- this.setCurrentValue()
256
- this.$emit('change')
257
- },
258
- secondChange() {
259
- this.setCurrentValue()
260
- this.$emit('change')
261
- },
262
- secondTotalChange() {
263
- this.currentValue = XEUtils.toNumber(this.secondTotalValue)
264
- this.$emit('change')
265
- },
266
- setCurrentValue() {
267
- if (this.valueType === 'hour') {
268
- this.currentValue =
269
- XEUtils.multiply(this.dayValue, 24) +
270
- XEUtils.toInteger(this.hourValue)
271
- }
272
- if (this.valueType === 'minute') {
273
- this.currentValue =
274
- XEUtils.multiply(this.dayValue, 24 * 60) +
275
- XEUtils.multiply(this.hourValue, 60) +
276
- XEUtils.toInteger(this.minuteValue)
277
- }
278
- if (this.valueType === 'second') {
279
- this.currentValue =
280
- XEUtils.multiply(this.dayValue, 24 * 3600) +
281
- XEUtils.multiply(this.hourValue, 3600) +
282
- XEUtils.multiply(this.minuteValue, 60) +
283
- XEUtils.toInteger(this.secondValue)
284
- }
285
- }
286
- }
287
- }
288
- </script>
289
-
290
- <style lang="scss" scoped>
291
- .input-class {
292
- border-top: none;
293
- border-right: none;
294
- border-left: none;
295
- outline: none;
296
- width: 25px;
297
- }
298
- .input-second-class {
299
- border-top: none;
300
- border-right: none;
301
- border-left: none;
302
- outline: none;
303
- width: 100px;
304
- }
305
- input[type="number"] {
306
- &::-webkit-outer-spin-button,
307
- &::-webkit-inner-spin-button {
308
- -webkit-appearance: none;
309
- }
310
-
311
- -moz-appearance: textfield;
312
- }
313
- </style>
314
- <style lang="less">
315
- @import '../../styles/default.less';
316
- </style>
1
+ <template>
2
+ <div class="d-control-container">
3
+ <div class="d-control-label">
4
+ {{ label
5
+ }}
6
+ <span
7
+ v-if="rules && Object.getOwnPropertyNames(rules).length > 0"
8
+ class="d-control-label-required"
9
+ >*</span
10
+ >
11
+ <Tooltip :title="tooltip" v-if="tooltip" style="margin: 0 2px">
12
+ <img src="../../styles/icon/help.png" alt="" style="width: 14px">
13
+ </Tooltip>
14
+ </div>
15
+ <div class="d-control" style="font-size:12px">
16
+ <ValidationProvider
17
+ :name="label"
18
+ v-slot="v"
19
+ :rules="rules"
20
+ v-if="edit === true"
21
+ >
22
+ <input v-model="currentValue" style="display:none" />
23
+ <div style="display:flex;flex-flow:row nowrap">
24
+ <input
25
+ type="number"
26
+ v-model="dayValue"
27
+ @input="dayChange"
28
+ @focus="dayFocus"
29
+ class="input-class"
30
+ />
31
+ <div style="width:18px;margin-left:2px">
32
+ <span>天</span>
33
+ </div>
34
+ <input
35
+ type="number"
36
+ v-model="hourValue"
37
+ @input="hourChange"
38
+ @focus="hourFocus"
39
+ class="input-class"
40
+ />
41
+ <div style="width:30px">
42
+ <span>小时</span>
43
+ </div>
44
+ <input
45
+ @input="minuteChange"
46
+ v-if="displayType === 'minute' || displayType === 'second'"
47
+ type="number"
48
+ v-model="minuteValue"
49
+ @focus="minuteFocus"
50
+ class="input-class"
51
+ />
52
+ <div
53
+ v-if="displayType === 'minute' || displayType === 'second'"
54
+ style="width:30px"
55
+ >
56
+ <span>分钟</span>
57
+ </div>
58
+ <input
59
+ @input="secondChange"
60
+ v-if="displayType === 'second'"
61
+ type="number"
62
+ @focus="secondFocus"
63
+ v-model="secondValue"
64
+ class="input-class"
65
+ />
66
+ <div v-if="displayType === 'second'" style="width:20px">
67
+ <span>秒</span>
68
+ </div>
69
+ <input
70
+ @input="secondTotalChange"
71
+ v-if="displayType === 'second'"
72
+ type="number"
73
+ class="input-second-class"
74
+ v-model="secondTotalValue"
75
+ />
76
+ </div>
77
+ <div class="d-error-msg">
78
+ {{ v.errors[0] }}
79
+ </div>
80
+ </ValidationProvider>
81
+ <span v-else>
82
+ <template v-if="displayType === 'second'">{{ dayValue }} 天 {{ hourValue }} 小时 {{ minuteValue }} 分钟 {{ secondValue }} 秒</template>
83
+ <template v-else-if="displayType === 'minute'">{{ dayValue }} 天 {{ hourValue }} 小时 {{ minuteValue }} 分钟</template>
84
+ <template v-else-if="displayType === 'hour'">{{ dayValue }} 天 {{ hourValue }} 小时</template>
85
+ <template v-else>显示格式{{displayType}}错误</template>
86
+ </span>
87
+ <!-- <span v-else>{{ dayValue }}天{{ hourValue }}小时</span> -->
88
+ </div>
89
+ <div style="display:none">
90
+ {{ currentValue }}
91
+ </div>
92
+ </div>
93
+ </template>
94
+
95
+ <script>
96
+ import XEUtils from 'xe-utils'
97
+ import moment from 'moment'
98
+ import { ValidationProvider } from 'vee-validate'
99
+ import { Tooltip } from 'ant-design-vue'
100
+
101
+ export default {
102
+ name: 'BaseIntervalInput',
103
+ components:{
104
+ ValidationProvider,
105
+ Tooltip,
106
+
107
+ },
108
+ data() {
109
+ return {
110
+ dayValue: 0,
111
+ hourValue: 0,
112
+ minuteValue: 0,
113
+ secondValue: 0,
114
+ secondTotalValue: 0,
115
+ testValue: 0,
116
+ filterValue: '',
117
+ isInputChanged: false,
118
+ inputTimeout: null,
119
+ searchRows: [],
120
+ filterCols: [],
121
+ gridLoading: false,
122
+ gridPagerConfig: {
123
+ total: 0,
124
+ currentPage: 1,
125
+ pageSize: 10
126
+ }
127
+ }
128
+ },
129
+ computed: {
130
+ currentValue: {
131
+ // 动态计算currentValue的值
132
+ get: function() {
133
+ console.debug('get value')
134
+ //分钟计算成小时
135
+ let tempValue = this.value
136
+ if (this.valueType === 'hour') {
137
+ tempValue = XEUtils.multiply(tempValue, 3600)
138
+ } else if (this.valueType === 'minute') {
139
+ tempValue = XEUtils.multiply(tempValue, 60)
140
+ }
141
+ //设置天数
142
+ this.dayValue = XEUtils.floor(XEUtils.divide(tempValue, 24 * 3600))
143
+ //天之后的剩余秒数
144
+ tempValue = XEUtils.subtract(tempValue, this.dayValue * 3600 * 24)
145
+ if (tempValue >= 0) {
146
+ //设置小时数
147
+ this.hourValue = XEUtils.floor(XEUtils.divide(tempValue, 3600))
148
+ //小时之后的剩余秒数
149
+ tempValue = XEUtils.subtract(tempValue, this.hourValue * 3600)
150
+ }
151
+ if (tempValue >= 0) {
152
+ //设置分钟
153
+ this.minuteValue = XEUtils.floor(XEUtils.divide(tempValue, 60))
154
+ //小时之后的剩余秒数
155
+ tempValue = XEUtils.subtract(tempValue, this.minuteValue * 60)
156
+ }
157
+ if (tempValue >= 0) {
158
+ //设置秒数
159
+ this.secondValue = tempValue
160
+ }
161
+ this.secondTotalValue = this.value
162
+
163
+ return this.value // 将props中的value赋值给currentValue
164
+ },
165
+ set: function(val) {
166
+ if (val === '') {
167
+ val = 0
168
+ }
169
+ if (XEUtils.isNumber(val)) {
170
+ this.$emit('input', XEUtils.toInteger(val))
171
+ }
172
+ // 通过$emit触发父组件
173
+ }
174
+ }
175
+ },
176
+ props: {
177
+ value: {
178
+ type: Number,
179
+ default: function() {
180
+ return 0
181
+ }
182
+ },
183
+ rules: {
184
+ type: Object,
185
+ default: function() {
186
+ return null
187
+ }
188
+ },
189
+ displayType: {
190
+ type: String,
191
+ default: function() {
192
+ return ''
193
+ }
194
+ },
195
+ valueType: {
196
+ type: String,
197
+ default: function() {
198
+ return ''
199
+ }
200
+ },
201
+ edit: {
202
+ type: Boolean,
203
+ default: function() {
204
+ return false
205
+ }
206
+ },
207
+ name: {
208
+ type: String,
209
+ default: function() {
210
+ return ''
211
+ }
212
+ },
213
+ label: {
214
+ type: String,
215
+ default: function() {
216
+ return ''
217
+ }
218
+ },
219
+ placeholder: {
220
+ type: String,
221
+ default: function() {
222
+ return ''
223
+ }
224
+ },
225
+ tooltip: {
226
+ type: String,
227
+ default: function() {
228
+ return ''
229
+ }
230
+ }
231
+ },
232
+ created() {},
233
+ methods: {
234
+ dayFocus($event) {
235
+ $event.target.select()
236
+ },
237
+ hourFocus($event) {
238
+ $event.target.select()
239
+ },
240
+ minuteFocus($event) {
241
+ $event.target.select()
242
+ },
243
+ secondFocus($event) {
244
+ $event.target.select()
245
+ },
246
+ dayChange() {
247
+ this.setCurrentValue()
248
+ this.$emit('change')
249
+ },
250
+ hourChange() {
251
+ this.setCurrentValue()
252
+ this.$emit('change')
253
+ },
254
+ minuteChange() {
255
+ this.setCurrentValue()
256
+ this.$emit('change')
257
+ },
258
+ secondChange() {
259
+ this.setCurrentValue()
260
+ this.$emit('change')
261
+ },
262
+ secondTotalChange() {
263
+ this.currentValue = XEUtils.toNumber(this.secondTotalValue)
264
+ this.$emit('change')
265
+ },
266
+ setCurrentValue() {
267
+ if (this.valueType === 'hour') {
268
+ this.currentValue =
269
+ XEUtils.multiply(this.dayValue, 24) +
270
+ XEUtils.toInteger(this.hourValue)
271
+ }
272
+ if (this.valueType === 'minute') {
273
+ this.currentValue =
274
+ XEUtils.multiply(this.dayValue, 24 * 60) +
275
+ XEUtils.multiply(this.hourValue, 60) +
276
+ XEUtils.toInteger(this.minuteValue)
277
+ }
278
+ if (this.valueType === 'second') {
279
+ this.currentValue =
280
+ XEUtils.multiply(this.dayValue, 24 * 3600) +
281
+ XEUtils.multiply(this.hourValue, 3600) +
282
+ XEUtils.multiply(this.minuteValue, 60) +
283
+ XEUtils.toInteger(this.secondValue)
284
+ }
285
+ }
286
+ }
287
+ }
288
+ </script>
289
+
290
+ <style lang="scss" scoped>
291
+ .input-class {
292
+ border-top: none;
293
+ border-right: none;
294
+ border-left: none;
295
+ outline: none;
296
+ width: 25px;
297
+ }
298
+ .input-second-class {
299
+ border-top: none;
300
+ border-right: none;
301
+ border-left: none;
302
+ outline: none;
303
+ width: 100px;
304
+ }
305
+ input[type="number"] {
306
+ &::-webkit-outer-spin-button,
307
+ &::-webkit-inner-spin-button {
308
+ -webkit-appearance: none;
309
+ }
310
+
311
+ -moz-appearance: textfield;
312
+ }
313
+ </style>
314
+ <style lang="less">
315
+ @import '../../styles/default.less';
316
+ </style>
@@ -1,8 +1,8 @@
1
- // 导入组件,组件必须声明 name
2
- import BaseKanbanEmpty from './src/index.vue';
3
- // 为组件提供 install 安装方法,供按需引入
4
- BaseKanbanEmpty.install = function(Vue) {
5
- Vue.component(BaseKanbanEmpty.name, BaseKanbanEmpty);
6
- };
7
- // 默认导出组件
1
+ // 导入组件,组件必须声明 name
2
+ import BaseKanbanEmpty from './src/index.vue';
3
+ // 为组件提供 install 安装方法,供按需引入
4
+ BaseKanbanEmpty.install = function(Vue) {
5
+ Vue.component(BaseKanbanEmpty.name, BaseKanbanEmpty);
6
+ };
7
+ // 默认导出组件
8
8
  export default BaseKanbanEmpty;