cnhis-design-vue 2.1.133 → 2.1.135
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/CHANGELOG.md +21 -3
- package/es/affix/index.js +8 -8
- package/es/age/index.js +10 -10
- package/es/alert/index.js +8 -8
- package/es/anchor/index.js +8 -8
- package/es/auto-complete/index.js +8 -8
- package/es/avatar/index.js +8 -8
- package/es/back-top/index.js +8 -8
- package/es/badge/index.js +8 -8
- package/es/base/index.js +8 -8
- package/es/big-table/index.js +98 -96
- package/es/big-table/style.css +1 -1
- package/es/breadcrumb/index.js +8 -8
- package/es/button/index.js +8352 -4386
- package/es/button/style.css +1 -1
- package/es/calendar/index.js +8 -8
- package/es/captcha/index.js +3 -3
- package/es/card/index.js +8 -8
- package/es/card-reader-sdk/index.js +1 -1
- package/es/carousel/index.js +8 -8
- package/es/cascader/index.js +8 -8
- package/es/checkbox/index.js +9 -9
- package/es/col/index.js +8 -8
- package/es/collapse/index.js +8 -8
- package/es/color-picker/index.js +1 -1
- package/es/comment/index.js +8 -8
- package/es/config-provider/index.js +8 -8
- package/es/date-picker/index.js +8 -8
- package/es/descriptions/index.js +8 -8
- package/es/direct/index.js +16 -16
- package/es/divider/index.js +8 -8
- package/es/drag-layout/index.js +3 -3
- package/es/drawer/index.js +8 -8
- package/es/dropdown/index.js +8 -8
- package/es/editor/index.js +1 -1
- package/es/ellipsis/index.js +1 -1
- package/es/empty/index.js +8 -8
- package/es/fabric-chart/index.js +30 -18
- package/es/form/index.js +8 -8
- package/es/form-model/index.js +8 -8
- package/es/form-table/index.js +74 -74
- package/es/full-calendar/index.js +4 -4
- package/es/index/index.js +5822 -2031
- package/es/index/style.css +1 -1
- package/es/input/index.js +9 -9
- package/es/input-number/index.js +8 -8
- package/es/layout/index.js +8 -8
- package/es/list/index.js +8 -8
- package/es/locale-provider/index.js +8 -8
- package/es/map/index.js +9 -9
- package/es/mentions/index.js +8 -8
- package/es/menu/index.js +8 -8
- package/es/message/index.js +8 -8
- package/es/multi-chat/index.js +76 -76
- package/es/multi-chat-client/index.js +70 -70
- package/es/multi-chat-history/index.js +4 -4
- package/es/multi-chat-record/index.js +14 -14
- package/es/multi-chat-setting/index.js +22 -22
- package/es/multi-chat-sip/index.js +1 -1
- package/es/notification/index.js +8 -8
- package/es/page-header/index.js +8 -8
- package/es/pagination/index.js +8 -8
- package/es/popconfirm/index.js +8 -8
- package/es/popover/index.js +8 -8
- package/es/progress/index.js +8 -8
- package/es/radio/index.js +9 -9
- package/es/rate/index.js +8 -8
- package/es/result/index.js +8 -8
- package/es/row/index.js +8 -8
- package/es/scale-container/index.js +9 -9
- package/es/scale-view/index.js +27 -27
- package/es/select/index.js +12 -12
- package/es/select-label/index.js +11 -11
- package/es/select-person/index.js +2 -2
- package/es/select-tag/index.js +4 -4
- package/es/shortcut-setter/index.js +10 -10
- package/es/skeleton/index.js +8 -8
- package/es/slider/index.js +8 -8
- package/es/slider-tree/index.js +9 -9
- package/es/space/index.js +8 -8
- package/es/spin/index.js +8 -8
- package/es/statistic/index.js +8 -8
- package/es/steps/index.js +8 -8
- package/es/switch/index.js +8 -8
- package/es/table-filter/index.js +13829 -9863
- package/es/table-filter/style.css +1 -1
- package/es/tabs/index.js +8 -8
- package/es/tag/index.js +9 -9
- package/es/time-picker/index.js +8 -8
- package/es/timeline/index.js +8 -8
- package/es/tooltip/index.js +8 -8
- package/es/transfer/index.js +8 -8
- package/es/tree/index.js +8 -8
- package/es/tree-select/index.js +8 -8
- package/es/upload/index.js +8 -8
- package/es/verification-code/index.js +2 -2
- package/lib/cui.common.js +3599 -1845
- package/lib/cui.umd.js +3599 -1845
- package/lib/cui.umd.min.js +25 -27
- package/package.json +1 -1
- package/packages/big-table/src/BigTable.vue +1 -1
- package/packages/button/src/ButtonPrint/index.vue +40 -0
- package/packages/button/src/ButtonPrint/js/print.es.min.js +1 -3
- package/packages/button/src/ButtonPrint/js/print.es.min1.js +3 -0
- package/packages/fabric-chart/src/fabric-chart/FabricPolylines.vue +4 -4
- package/packages/table-filter/src/base-search-com/BaseSearch.vue +25 -1
|
@@ -44,6 +44,12 @@
|
|
|
44
44
|
</a-menu>
|
|
45
45
|
</a-dropdown>
|
|
46
46
|
</div>
|
|
47
|
+
<!-- 相关项 设置按钮 -->
|
|
48
|
+
<li v-if="showRelatedSetting">
|
|
49
|
+
<a-button class="relatedSetting-button" type="default" @click="relatedSetting">
|
|
50
|
+
<a-icon class="relate-setting" type="setting" />
|
|
51
|
+
</a-button>
|
|
52
|
+
</li>
|
|
47
53
|
<slot name="classification"></slot>
|
|
48
54
|
<li v-if="showQuickSearch" ref="quickSearchLi">
|
|
49
55
|
<a-button class="search-default" type="default" @click="foldQuickSearch" :class="{'search-default-count': qqConObjCount}">
|
|
@@ -650,7 +656,9 @@ export default create({
|
|
|
650
656
|
isBatchSelect: {type: [Number, Boolean, String], default: ''},
|
|
651
657
|
isAvailableApiType: {type: Boolean, deafult: false},
|
|
652
658
|
apiSearch: Function,
|
|
653
|
-
tableDataType: String
|
|
659
|
+
tableDataType: String,
|
|
660
|
+
libSource: String,
|
|
661
|
+
receivePrintSuccessDownloadPdf: Function
|
|
654
662
|
},
|
|
655
663
|
components: {
|
|
656
664
|
RenderWidget,
|
|
@@ -854,6 +862,10 @@ export default create({
|
|
|
854
862
|
if (this.isAvailableApiType) return false;
|
|
855
863
|
return this.showRelatedTreeBtn && this.isShowSetting('hideSearch');
|
|
856
864
|
},
|
|
865
|
+
showRelatedSetting() {
|
|
866
|
+
if(this.libSource !== 'lowCode' || this.TypeOfDisplay !== 'relatedTree') return false;
|
|
867
|
+
return !!this.relatedBaseInfo?.showSetting;
|
|
868
|
+
},
|
|
857
869
|
showQuickSearch() {
|
|
858
870
|
let showQuick = this.isShowSetting('hideQuickSearch');
|
|
859
871
|
// 平铺列表, 左侧不为tree, 而是table
|
|
@@ -1055,6 +1067,9 @@ export default create({
|
|
|
1055
1067
|
console.log(err);
|
|
1056
1068
|
});
|
|
1057
1069
|
},
|
|
1070
|
+
relatedSetting() {
|
|
1071
|
+
this.$emit('relatedSetting');
|
|
1072
|
+
},
|
|
1058
1073
|
foldQuickSearch() {
|
|
1059
1074
|
this.$emit('foldQuickSearch', true);
|
|
1060
1075
|
},
|
|
@@ -2049,6 +2064,9 @@ export default create({
|
|
|
2049
2064
|
if (info.type === 'print') {
|
|
2050
2065
|
await this.receivePrintSuccessAboutPrint(res, info);
|
|
2051
2066
|
}
|
|
2067
|
+
if(info.type === 'download' && this.receivePrintSuccessDownloadPdf && typeof this.receivePrintSuccessDownloadPdf === 'function') {
|
|
2068
|
+
this.receivePrintSuccessDownloadPdf(res)
|
|
2069
|
+
}
|
|
2052
2070
|
setTimeout(() => {
|
|
2053
2071
|
this.$message.success(res.message);
|
|
2054
2072
|
}, 3500);
|
|
@@ -2398,6 +2416,12 @@ export default create({
|
|
|
2398
2416
|
margin-top: 8px;
|
|
2399
2417
|
li {
|
|
2400
2418
|
display: inline-block;
|
|
2419
|
+
/deep/ .relatedSetting-button {
|
|
2420
|
+
height: 32px;
|
|
2421
|
+
line-height: 32px;
|
|
2422
|
+
margin-bottom: 8px;
|
|
2423
|
+
margin-right: 8px;
|
|
2424
|
+
}
|
|
2401
2425
|
/deep/ .search-default {
|
|
2402
2426
|
height: 32px;
|
|
2403
2427
|
line-height: 32px;
|