bri-components 1.2.50 → 1.2.52
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/package.json +1 -1
- package/src/components/controls/BriControlInput.vue +9 -6
- package/src/components/controls/base/BriUpload/BriUpload.vue +170 -0
- package/src/components/controls/base/BriUpload/BriUploadImage.vue +90 -0
- package/src/components/controls/base/BriUpload/uploadList.vue +166 -0
- package/src/components/controls/base/DshCascader/DshCascader.vue +51 -0
- package/src/components/controls/base/DshCascader/InfoCascader.vue +63 -1
- package/src/components/controls/base/DshCoordinates.vue +64 -4
- package/src/components/controls/base/DshDate/DshDate.vue +1 -1
- package/src/components/controls/base/DshDate/DshDaterange.vue +55 -99
- package/src/components/controls/base/DshDivider.vue +163 -36
- package/src/components/controls/base/DshEditor.vue +1 -1
- package/src/components/controls/base/DshInput/BriInputs.vue +59 -1
- package/src/components/controls/base/DshInput/DshInput.vue +17 -3
- package/src/components/controls/base/DshNumber/DshNumber.vue +1 -42
- package/src/components/controls/base/DshNumber/DshNumberange.vue +9 -9
- package/src/components/controls/base/DshSelect/selectMixin.js +1 -3
- package/src/components/controls/base/DshSwitch/DshSwitch.vue +0 -5
- package/src/components/controls/base/DshSwitch/switchMixin.js +4 -4
- package/src/components/controls/controlMap.js +13 -4
- package/src/components/controls/controlMixin.js +6 -2
- package/src/components/controls/extra/themeColor.vue +115 -0
- package/src/components/controls/extra/themeIcon.vue +124 -0
- package/src/components/controls/senior/BriLabels.vue +63 -4
- package/src/components/controls/senior/DshPackage.vue +30 -32
- package/src/components/controls/senior/cascaderTable.vue +25 -4
- package/src/components/controls/senior/flatTable.vue +34 -12
- package/src/components/controls/senior/selectDepartments.vue +78 -4
- package/src/components/controls/senior/selectUsers/DepartmentMenu.vue +120 -29
- package/src/components/controls/senior/selectUsers/selectUsers.vue +179 -5
- package/src/components/controls/special/DshBack.vue +1 -1
- package/src/components/controls/special/DshUndeveloped.vue +1 -1
- package/src/components/form/DshDefaultSearch.vue +43 -81
- package/src/components/form/DshForm.vue +1 -1
- package/src/components/unit/DshFormUnit.vue +11 -10
- package/src/index.js +6 -4
- package/src/styles/components/index.less +0 -14
- package/src/styles/index.less +5 -3
- package/src/styles/reset-iview-controls.less +123 -0
- package/src/styles/{reset-iview.less → reset-iview-variables.less} +1 -47
- package/src/abolish/BriTransfer.less +0 -65
- package/src/abolish/BriTransfer.vue +0 -71
- package/src/abolish/BriTree.less +0 -57
- package/src/abolish/DshCascaders.less +0 -11
- package/src/abolish/DshCascaders.vue +0 -151
- package/src/abolish/DshCrumbs.less +0 -0
- package/src/abolish/DshCrumbs.vue +0 -62
- package/src/abolish/DshCrumbsItem.vue +0 -109
- package/src/abolish/DshEditPanel.less +0 -70
- package/src/abolish/DshEditPanel.vue +0 -152
- package/src/abolish/DshFileShow.less +0 -61
- package/src/abolish/DshFileShow.vue +0 -0
- package/src/abolish/DshFlatTable.less +0 -93
- package/src/abolish/DshFlatTable.vue +0 -605
- package/src/abolish/DshMenu.less +0 -37
- package/src/abolish/DshMenu.vue +0 -133
- package/src/abolish/DshTexts.less +0 -13
- package/src/abolish/DshTexts.vue +0 -89
- package/src/styles/components/controls/.DS_Store +0 -0
- package/src/styles/components/controls/base/BriInputs.less +0 -55
- package/src/styles/components/controls/base/BriUpload/BriUpload.less +0 -167
- package/src/styles/components/controls/base/BriUpload/BriUploadImage.less +0 -87
- package/src/styles/components/controls/base/BriUpload/index.less +0 -3
- package/src/styles/components/controls/base/BriUpload/uploadList.less +0 -164
- package/src/styles/components/controls/base/DshCascader/DshCascader.less +0 -67
- package/src/styles/components/controls/base/DshCascader/InfoCascader.less +0 -59
- package/src/styles/components/controls/base/DshCascader/index.less +0 -2
- package/src/styles/components/controls/base/DshCoordinates.less +0 -67
- package/src/styles/components/controls/base/DshDivider.less +0 -115
- package/src/styles/components/controls/base/DshInput.less +0 -29
- package/src/styles/components/controls/senior/.DS_Store +0 -0
- package/src/styles/components/controls/senior/BriLabels.less +0 -66
- package/src/styles/components/controls/senior/DshPackage.less +0 -25
- package/src/styles/components/controls/senior/cascaderTable.less +0 -19
- package/src/styles/components/controls/senior/flatTable.less +0 -20
- package/src/styles/components/controls/senior/selectDepartments.less +0 -73
- package/src/styles/components/controls/senior/selectUsers/DepartmentMenu.less +0 -37
- package/src/styles/components/controls/senior/selectUsers/index.less +0 -2
- package/src/styles/components/controls/senior/selectUsers/selectUsers.less +0 -180
- /package/src/{abolish/DshCrumbItem.less → styles/reset-iview-other.less} +0 -0
package/package.json
CHANGED
|
@@ -115,12 +115,7 @@
|
|
|
115
115
|
.placeholder {
|
|
116
116
|
flex: 1;
|
|
117
117
|
min-width: 0px;
|
|
118
|
-
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.ivu-icon {
|
|
122
|
-
padding: 5px;
|
|
123
|
-
color: @placeholder-disabled-color;
|
|
118
|
+
.dsh-ellipsis();
|
|
124
119
|
}
|
|
125
120
|
|
|
126
121
|
.icon {
|
|
@@ -133,3 +128,11 @@
|
|
|
133
128
|
}
|
|
134
129
|
}
|
|
135
130
|
</style>
|
|
131
|
+
<style lang="less">
|
|
132
|
+
.BriControlInput {
|
|
133
|
+
.ivu-icon {
|
|
134
|
+
padding: 5px;
|
|
135
|
+
color: @placeholder-disabled-color;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
</style>
|
|
@@ -243,3 +243,173 @@
|
|
|
243
243
|
}
|
|
244
244
|
};
|
|
245
245
|
</script>
|
|
246
|
+
|
|
247
|
+
<style lang="less">
|
|
248
|
+
.BriUpload {
|
|
249
|
+
width: 100%;
|
|
250
|
+
height: 100%;
|
|
251
|
+
position: relative;
|
|
252
|
+
overflow: hidden;
|
|
253
|
+
border: 1px solid @borderColor;
|
|
254
|
+
border-radius: @borderRadius;
|
|
255
|
+
background-color: @white;
|
|
256
|
+
|
|
257
|
+
// 外围
|
|
258
|
+
&-old {
|
|
259
|
+
overflow: hidden;
|
|
260
|
+
display: flex;
|
|
261
|
+
|
|
262
|
+
&-wrapper {
|
|
263
|
+
min-width: 120px;
|
|
264
|
+
height: 100%;
|
|
265
|
+
margin: 16px 0px 16px 16px;
|
|
266
|
+
border-radius: 0px;
|
|
267
|
+
border: none;
|
|
268
|
+
&:hover {
|
|
269
|
+
border: none
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
&-imageadd {
|
|
274
|
+
.dsh-flex-col-center-center();
|
|
275
|
+
width: 120px;
|
|
276
|
+
height: 120px;
|
|
277
|
+
position: relative;
|
|
278
|
+
border: 1px @borderColor dashed;
|
|
279
|
+
color: @themeColor;
|
|
280
|
+
border-radius: @borderRadius;
|
|
281
|
+
cursor: pointer;
|
|
282
|
+
&:hover {
|
|
283
|
+
border-color: @themeColor;
|
|
284
|
+
background-color: @theme-focus;
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
&-circle {
|
|
289
|
+
position: absolute;
|
|
290
|
+
top: 50%;
|
|
291
|
+
left: 50%;
|
|
292
|
+
width: 50px !important;
|
|
293
|
+
height: 50px !important;
|
|
294
|
+
margin-top: -25px;
|
|
295
|
+
margin-left: -25px;
|
|
296
|
+
border-radius: 50%;
|
|
297
|
+
background-color: @inputBg-readonly;
|
|
298
|
+
|
|
299
|
+
i {
|
|
300
|
+
color: @scuess-color;
|
|
301
|
+
font-size: 40px;
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
&-new,
|
|
307
|
+
&-inline {
|
|
308
|
+
display: flex;
|
|
309
|
+
|
|
310
|
+
&-wrapper {
|
|
311
|
+
min-width: 30px;
|
|
312
|
+
background-color: @border-readonly;
|
|
313
|
+
height: 30px;
|
|
314
|
+
line-height: 30px;
|
|
315
|
+
border: none;
|
|
316
|
+
border-radius: 0px !important;
|
|
317
|
+
&:hover {
|
|
318
|
+
border: none
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
&-imageadd {
|
|
323
|
+
.dsh-flex-row-center-center();
|
|
324
|
+
height: 30px;
|
|
325
|
+
background-color: @btn-hover;
|
|
326
|
+
color: @textColor;
|
|
327
|
+
border: none;
|
|
328
|
+
border-radius: 0px;
|
|
329
|
+
&:hover {
|
|
330
|
+
color: @themeColor;
|
|
331
|
+
background-color: @theme-focus;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
&-circle {
|
|
336
|
+
position: absolute;
|
|
337
|
+
top: 50%;
|
|
338
|
+
left: 50%;
|
|
339
|
+
width: 24px !important;
|
|
340
|
+
height: 24px !important;
|
|
341
|
+
margin-top: -12px;
|
|
342
|
+
margin-left: -12px;
|
|
343
|
+
background-color: #f4f5fa;
|
|
344
|
+
border-radius: 50%;
|
|
345
|
+
i {
|
|
346
|
+
color: @scuess-color;
|
|
347
|
+
font-size: 24px;
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
&-readonly {
|
|
353
|
+
border: none;
|
|
354
|
+
border-radius: 0px;
|
|
355
|
+
background-color: transparent;
|
|
356
|
+
|
|
357
|
+
.uploadList {
|
|
358
|
+
&-old {
|
|
359
|
+
margin: 0px;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
&-list {
|
|
363
|
+
.item {
|
|
364
|
+
flex: 0 0 80px;
|
|
365
|
+
height: 80px;
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
&-inline {
|
|
370
|
+
.bri-scrollbar6();
|
|
371
|
+
height: 48px;
|
|
372
|
+
line-height: 48px;
|
|
373
|
+
|
|
374
|
+
.item {
|
|
375
|
+
flex: 0 0 48px
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
&-disabled {
|
|
382
|
+
.bri-control-disabled();
|
|
383
|
+
|
|
384
|
+
.uploadList {
|
|
385
|
+
&-old {
|
|
386
|
+
margin: 0px;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
&-list {
|
|
390
|
+
.item {
|
|
391
|
+
flex: 0 0 80px;
|
|
392
|
+
height: 80px;
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
&-nodata {
|
|
397
|
+
color: @placeholder-disabled-color;
|
|
398
|
+
text-indent: 7px;
|
|
399
|
+
text-align: left;
|
|
400
|
+
}
|
|
401
|
+
&-inline-nodata {
|
|
402
|
+
color: @placeholder-disabled-color;
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
&-unit {
|
|
408
|
+
.uploadList {
|
|
409
|
+
&-inline-nodata {
|
|
410
|
+
.bri-control-nodata();
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
</style>
|
|
@@ -281,3 +281,93 @@
|
|
|
281
281
|
}
|
|
282
282
|
};
|
|
283
283
|
</script>
|
|
284
|
+
|
|
285
|
+
<style lang="less">
|
|
286
|
+
.BriUploadImage {
|
|
287
|
+
position: relative;
|
|
288
|
+
|
|
289
|
+
&-set {
|
|
290
|
+
width: 100%;
|
|
291
|
+
|
|
292
|
+
&-img {
|
|
293
|
+
width: 100px;
|
|
294
|
+
height: 100px;
|
|
295
|
+
float: left;
|
|
296
|
+
background-repeat: no-repeat;
|
|
297
|
+
background-position: center;
|
|
298
|
+
background-size: contain;
|
|
299
|
+
background-color: #fff;
|
|
300
|
+
border: 1px solid @borderColor;
|
|
301
|
+
border-radius: 0px;
|
|
302
|
+
position: relative;
|
|
303
|
+
overflow: hidden;
|
|
304
|
+
|
|
305
|
+
&-action {
|
|
306
|
+
color: @themeColor;
|
|
307
|
+
cursor: pointer;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
&-circle {
|
|
311
|
+
position: absolute;
|
|
312
|
+
top: 0px;
|
|
313
|
+
bottom: 0px;
|
|
314
|
+
left: 0px;
|
|
315
|
+
right: 0px;
|
|
316
|
+
background-color: #f4f5fa;
|
|
317
|
+
display: flex;
|
|
318
|
+
align-items: center;
|
|
319
|
+
justify-content: center;
|
|
320
|
+
|
|
321
|
+
.circle {
|
|
322
|
+
width: 50px !important;
|
|
323
|
+
height: 50px !important;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
i {
|
|
327
|
+
color: #5cb85c;
|
|
328
|
+
font-size: 40px;
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
&-avatar {
|
|
334
|
+
background-size: cover;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.wrap {
|
|
338
|
+
width: 100px;
|
|
339
|
+
height: 32px;
|
|
340
|
+
position: relative;
|
|
341
|
+
overflow: hidden;
|
|
342
|
+
display: inline-block;
|
|
343
|
+
line-height: 18px;
|
|
344
|
+
text-align: center;
|
|
345
|
+
vertical-align: middle;
|
|
346
|
+
cursor: pointer;
|
|
347
|
+
|
|
348
|
+
button {
|
|
349
|
+
position: absolute;
|
|
350
|
+
bottom: 0;
|
|
351
|
+
left: 0;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
.file {
|
|
355
|
+
position: absolute;
|
|
356
|
+
bottom: 0;
|
|
357
|
+
left: 0;
|
|
358
|
+
margin: 0;
|
|
359
|
+
border: solid transparent;
|
|
360
|
+
opacity: 0;
|
|
361
|
+
filter: alpha(opacity=0);
|
|
362
|
+
cursor: pointer;
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
&-cropper {
|
|
368
|
+
width: 400px;
|
|
369
|
+
height: 400px;
|
|
370
|
+
margin: 0 auto;
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
</style>
|
|
@@ -258,3 +258,169 @@
|
|
|
258
258
|
}
|
|
259
259
|
};
|
|
260
260
|
</script>
|
|
261
|
+
|
|
262
|
+
<style lang="less">
|
|
263
|
+
.uploadList {
|
|
264
|
+
width: 100%;
|
|
265
|
+
overflow: auto;
|
|
266
|
+
|
|
267
|
+
// 普通文件
|
|
268
|
+
&-old {
|
|
269
|
+
margin: 16px;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
&-nodata {
|
|
273
|
+
width: 100%;
|
|
274
|
+
height: 100%;
|
|
275
|
+
text-align: center;
|
|
276
|
+
line-height: 120px;
|
|
277
|
+
color: @placeholderColor;
|
|
278
|
+
white-space: nowrap;
|
|
279
|
+
|
|
280
|
+
span {
|
|
281
|
+
margin-left: 5px;
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
&-list {
|
|
286
|
+
display: flex;
|
|
287
|
+
flex-wrap: nowrap;
|
|
288
|
+
|
|
289
|
+
.item {
|
|
290
|
+
flex: 0 0 120px;
|
|
291
|
+
height: 120px;
|
|
292
|
+
margin-right: 10px;
|
|
293
|
+
border-radius: @borderRadius;
|
|
294
|
+
background: #f4f5fa;
|
|
295
|
+
text-align: center;
|
|
296
|
+
overflow: hidden;
|
|
297
|
+
display: inline-flex;
|
|
298
|
+
flex-direction: column;
|
|
299
|
+
justify-content: space-between;
|
|
300
|
+
position: relative;
|
|
301
|
+
|
|
302
|
+
&:hover {
|
|
303
|
+
.item-action {
|
|
304
|
+
display: flex !important;
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
&-show {
|
|
309
|
+
display: flex;
|
|
310
|
+
overflow: hidden;
|
|
311
|
+
align-items: center;
|
|
312
|
+
justify-content: center;
|
|
313
|
+
flex: 2;
|
|
314
|
+
min-height: 50px;
|
|
315
|
+
|
|
316
|
+
img {
|
|
317
|
+
max-width: 100%;
|
|
318
|
+
max-height: 100%;
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
&-name {
|
|
323
|
+
flex: 1;
|
|
324
|
+
display: flex;
|
|
325
|
+
max-height: 32px;
|
|
326
|
+
|
|
327
|
+
&-title {
|
|
328
|
+
padding: 0 8px;
|
|
329
|
+
overflow: hidden;
|
|
330
|
+
text-overflow: ellipsis;
|
|
331
|
+
white-space: nowrap;
|
|
332
|
+
color: @themeColor;
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
&-action {
|
|
337
|
+
background-color: @placeholderColor;
|
|
338
|
+
display: none !important;
|
|
339
|
+
position: absolute;
|
|
340
|
+
right: 0px;
|
|
341
|
+
top: 0px;
|
|
342
|
+
left: 0px;
|
|
343
|
+
bottom: 0px;
|
|
344
|
+
align-items: center;
|
|
345
|
+
justify-content: center;
|
|
346
|
+
|
|
347
|
+
&-icon {
|
|
348
|
+
width: 22px;
|
|
349
|
+
height: 22px;
|
|
350
|
+
line-height: 22px;
|
|
351
|
+
color: #fff;
|
|
352
|
+
margin-left: 2px;
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
// 内部表格inline模式
|
|
359
|
+
&-inline {
|
|
360
|
+
height: 30px;
|
|
361
|
+
line-height: 30px;
|
|
362
|
+
|
|
363
|
+
&-list {
|
|
364
|
+
width: 100%;
|
|
365
|
+
height: 100%;
|
|
366
|
+
display: flex;
|
|
367
|
+
flex-wrap: nowrap;
|
|
368
|
+
overflow-x: auto;
|
|
369
|
+
overflow-y: hidden;
|
|
370
|
+
padding-left: 3px;
|
|
371
|
+
|
|
372
|
+
.item {
|
|
373
|
+
flex: 0 0 48px;
|
|
374
|
+
background: #f4f5fa;
|
|
375
|
+
margin-right: 3px;
|
|
376
|
+
position: relative;
|
|
377
|
+
border-radius: @borderRadius;
|
|
378
|
+
|
|
379
|
+
&:hover {
|
|
380
|
+
.item-action {
|
|
381
|
+
display: flex !important;
|
|
382
|
+
animation: toTop 0.1s;
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
img {
|
|
387
|
+
max-width: 100%;
|
|
388
|
+
max-height: 100%;
|
|
389
|
+
margin: auto;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
&-action {
|
|
393
|
+
display: none !important;
|
|
394
|
+
position: absolute;
|
|
395
|
+
left: 0;
|
|
396
|
+
right: 0;
|
|
397
|
+
top: 0;
|
|
398
|
+
bottom: 0;
|
|
399
|
+
background-color: @placeholderColor;
|
|
400
|
+
color: #fff;
|
|
401
|
+
align-items: center;
|
|
402
|
+
justify-content: center;
|
|
403
|
+
i {
|
|
404
|
+
margin: 0px;
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
@keyframes toTop {
|
|
409
|
+
from {
|
|
410
|
+
top: 100%;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
to {
|
|
414
|
+
top: 0;
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
&-nodata {
|
|
421
|
+
padding-left: 7px;
|
|
422
|
+
color: @placeholderColor;
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
</style>
|
|
@@ -376,3 +376,54 @@
|
|
|
376
376
|
}
|
|
377
377
|
};
|
|
378
378
|
</script>
|
|
379
|
+
|
|
380
|
+
<style lang="less">
|
|
381
|
+
.DshCascader {
|
|
382
|
+
width: 100%;
|
|
383
|
+
|
|
384
|
+
&-edit {
|
|
385
|
+
|
|
386
|
+
// 多选
|
|
387
|
+
&-multiple {
|
|
388
|
+
width: 100%;
|
|
389
|
+
|
|
390
|
+
&-edit {}
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
// 单选 -新模式
|
|
394
|
+
&-custom {
|
|
395
|
+
width: 100%;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
// 单选 -默认模式
|
|
399
|
+
&-single {
|
|
400
|
+
width: 100%;
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
// 查看
|
|
405
|
+
&-show {
|
|
406
|
+
&-multiple {}
|
|
407
|
+
|
|
408
|
+
&-single {}
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
// 多选类型且独自一行时
|
|
412
|
+
&-row {
|
|
413
|
+
&-edit {}
|
|
414
|
+
|
|
415
|
+
&-show {
|
|
416
|
+
height: auto;
|
|
417
|
+
|
|
418
|
+
.text,
|
|
419
|
+
.overflow {
|
|
420
|
+
width: 100%;
|
|
421
|
+
height: 100%;
|
|
422
|
+
white-space: normal;
|
|
423
|
+
overflow: auto;
|
|
424
|
+
.bri-scrollbar3();
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
</style>
|
|
@@ -181,8 +181,8 @@
|
|
|
181
181
|
} else {
|
|
182
182
|
if (!this.propsObj._cascaderLevel || node.level == this.propsObj._cascaderLevel || !node.children.length) {
|
|
183
183
|
this.curSelect = node;
|
|
184
|
-
this.getDescription(node.codeArr);
|
|
185
184
|
}
|
|
185
|
+
this.getDescription(node.codeArr);
|
|
186
186
|
}
|
|
187
187
|
},
|
|
188
188
|
getDescription (nodeKeys) {
|
|
@@ -255,3 +255,65 @@
|
|
|
255
255
|
}
|
|
256
256
|
};
|
|
257
257
|
</script>
|
|
258
|
+
|
|
259
|
+
<style lang="less">
|
|
260
|
+
.InfoCascader {
|
|
261
|
+
height: 100%;
|
|
262
|
+
|
|
263
|
+
&-search {
|
|
264
|
+
padding: 24px 24px 0;
|
|
265
|
+
width: 100%;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
&-content {
|
|
269
|
+
height: calc(100% - 142px);
|
|
270
|
+
margin: 5px 24px 24px;
|
|
271
|
+
display: flex;
|
|
272
|
+
border: 1px solid #E5E5E5;
|
|
273
|
+
|
|
274
|
+
&-left {
|
|
275
|
+
flex: 1;
|
|
276
|
+
padding: 5px 0 5px 10px;
|
|
277
|
+
overflow: auto;
|
|
278
|
+
border-right: 1px solid #E5E5E5;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
&-right {
|
|
282
|
+
flex: 1;
|
|
283
|
+
|
|
284
|
+
&-title {
|
|
285
|
+
border-bottom: 1px solid #E5E5E5;
|
|
286
|
+
font-weight: 700;
|
|
287
|
+
// height: 32px;
|
|
288
|
+
// line-height: 32px;
|
|
289
|
+
|
|
290
|
+
padding: 6px 16px;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
&-content {
|
|
294
|
+
height: calc(100% - 32px);
|
|
295
|
+
overflow: auto;
|
|
296
|
+
padding: 16px;
|
|
297
|
+
white-space: pre-line;
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.ivu-tree-title-selected {
|
|
302
|
+
color: #3D84EE;
|
|
303
|
+
background-color: #eee;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.ivu-tree-empty {
|
|
307
|
+
text-align: center;
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
&-footer {
|
|
312
|
+
&-btns {
|
|
313
|
+
display: flex;
|
|
314
|
+
justify-content: flex-end;
|
|
315
|
+
padding-right: 16px;
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
</style>
|
|
@@ -10,8 +10,7 @@
|
|
|
10
10
|
<bri-control-input
|
|
11
11
|
v-if="canEdit"
|
|
12
12
|
:class="{
|
|
13
|
-
...commonClass
|
|
14
|
-
'DshCoordinates-edit': true
|
|
13
|
+
...commonClass
|
|
15
14
|
}"
|
|
16
15
|
:canEdit="finalCanEdit"
|
|
17
16
|
:value="curVal"
|
|
@@ -25,8 +24,7 @@
|
|
|
25
24
|
<div
|
|
26
25
|
v-else
|
|
27
26
|
:class="{
|
|
28
|
-
...commonClass
|
|
29
|
-
'DshCoordinates-show': true
|
|
27
|
+
...commonClass
|
|
30
28
|
}"
|
|
31
29
|
>
|
|
32
30
|
{{ showVal }}
|
|
@@ -487,3 +485,65 @@
|
|
|
487
485
|
}
|
|
488
486
|
};
|
|
489
487
|
</script>
|
|
488
|
+
|
|
489
|
+
<style lang="less">
|
|
490
|
+
.DshCoordinates {
|
|
491
|
+
width: 100%;
|
|
492
|
+
|
|
493
|
+
&-modal {
|
|
494
|
+
&-header {
|
|
495
|
+
padding: 5px 0px;
|
|
496
|
+
|
|
497
|
+
.header {
|
|
498
|
+
&-edit {
|
|
499
|
+
&-message {
|
|
500
|
+
position: absolute;
|
|
501
|
+
color: red;
|
|
502
|
+
font-size: 12px;
|
|
503
|
+
bottom: -16px;
|
|
504
|
+
left: 0px;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
&-text {
|
|
508
|
+
font-size: @textSize;
|
|
509
|
+
line-height: 18px;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
&-row {
|
|
513
|
+
margin-top: 5px;
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
&-show {
|
|
518
|
+
&-text {
|
|
519
|
+
text-align: right;
|
|
520
|
+
.dsh-padding-top10();
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
&-map {
|
|
527
|
+
width: 100%;
|
|
528
|
+
height: 100%;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
&-lnglat {
|
|
532
|
+
padding: 5px 10px;
|
|
533
|
+
background:#fff;
|
|
534
|
+
display: none;
|
|
535
|
+
position:absolute;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
.ivu-modal-content {
|
|
539
|
+
overflow: hidden;
|
|
540
|
+
height: 100%;
|
|
541
|
+
|
|
542
|
+
.ivu-modal-body {
|
|
543
|
+
padding: 0px;
|
|
544
|
+
height: 100%;
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
</style>
|