cnhis-design-vue 2.1.146 → 2.1.147
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 +7 -0
- package/es/age/index.js +2 -2
- package/es/big-table/index.js +26 -26
- package/es/button/index.js +191 -197
- package/es/button/style.css +1 -1
- package/es/captcha/index.js +3 -3
- package/es/card-reader-sdk/index.js +1 -1
- package/es/checkbox/index.js +1 -1
- package/es/color-picker/index.js +1 -1
- package/es/drag-layout/index.js +3 -3
- package/es/editor/index.js +1 -1
- package/es/ellipsis/index.js +1 -1
- package/es/fabric-chart/index.js +9 -9
- package/es/form-table/index.js +20 -20
- package/es/full-calendar/index.js +4 -4
- package/es/index/index.js +372 -378
- package/es/index/style.css +1 -1
- package/es/input/index.js +1 -1
- package/es/map/index.js +1 -1
- package/es/multi-chat/index.js +25 -25
- package/es/multi-chat-client/index.js +19 -19
- package/es/multi-chat-history/index.js +4 -4
- package/es/multi-chat-record/index.js +4 -4
- package/es/multi-chat-setting/index.js +20 -20
- package/es/multi-chat-sip/index.js +1 -1
- package/es/radio/index.js +1 -1
- package/es/scale-container/index.js +1 -1
- package/es/scale-view/index.js +27 -27
- package/es/select/index.js +4 -4
- package/es/select-label/index.js +3 -3
- package/es/select-person/index.js +2 -2
- package/es/select-tag/index.js +4 -4
- package/es/shortcut-setter/index.js +2 -2
- package/es/slider-tree/index.js +1 -1
- package/es/table-filter/index.js +219 -225
- package/es/table-filter/style.css +1 -1
- package/es/tag/index.js +1 -1
- package/es/verification-code/index.js +2 -2
- package/lib/cui.common.js +395 -401
- package/lib/cui.umd.js +395 -401
- package/lib/cui.umd.min.js +7 -7
- package/package.json +1 -1
- package/packages/button/src/ButtonPrint/new.vue +13 -12
package/package.json
CHANGED
|
@@ -68,7 +68,8 @@
|
|
|
68
68
|
<a-button-group v-else>
|
|
69
69
|
<a-button style="display: flex;align-items: center;" :loading="this.spinning" @click.stop="printAllButtonClick">
|
|
70
70
|
<a-icon type="printer" v-if="!this.spinning"/>
|
|
71
|
-
|
|
71
|
+
<!-- 如果允许打印全部则展示打印全部,否则展示传入的动态按钮名称 -->
|
|
72
|
+
{{ isShowPrintAllBtn ? '打印全部' : btnText }}
|
|
72
73
|
</a-button>
|
|
73
74
|
<a-button
|
|
74
75
|
v-if="innerPrintItems.length == 0"
|
|
@@ -347,17 +348,17 @@ export default create({
|
|
|
347
348
|
return this.options.every(option => option.selected);
|
|
348
349
|
},
|
|
349
350
|
// 设置默认format的标题
|
|
350
|
-
defaultFormatTitle() {
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
},
|
|
351
|
+
// defaultFormatTitle() {
|
|
352
|
+
// const curFormat = this.innerPrintItems.find(option => option.key == this.defaultPrintFormatId);
|
|
353
|
+
// if (curFormat) {
|
|
354
|
+
// return `打印${curFormat.label}`;
|
|
355
|
+
// }
|
|
356
|
+
// // 如果innerPrintItems长度只有一项,则默认选中它
|
|
357
|
+
// if (this.innerPrintItems.length == 1) {
|
|
358
|
+
// return `打印${this.innerPrintItems[0].label}`;
|
|
359
|
+
// }
|
|
360
|
+
// return ''
|
|
361
|
+
// },
|
|
361
362
|
},
|
|
362
363
|
data() {
|
|
363
364
|
return {
|