cnhis-design-vue 2.0.15 → 2.0.18
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 +32 -6
- package/es/age/index.js +2 -2
- package/es/back-top/index.js +2 -2
- package/es/big-table/index.js +474 -93
- package/es/big-table/style.css +1 -1
- package/es/button/index.js +2 -2
- package/es/captcha/index.js +3 -3
- 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/fabric-chart/index.js +9 -9
- package/es/form-table/index.js +17 -17
- package/es/index/index.js +694 -305
- 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 +76 -72
- package/es/multi-chat/style.css +1 -1
- package/es/multi-chat-client/index.js +70 -66
- package/es/multi-chat-client/style.css +1 -1
- 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-view/index.js +24 -24
- package/es/select/index.js +3 -3
- package/es/select-label/index.js +3 -3
- package/es/select-person/index.js +2 -2
- package/es/table-filter/index.js +80 -50
- package/es/table-filter/style.css +1 -1
- package/es/tag/index.js +1 -1
- package/es/verification-code/index.js +2 -2
- package/package.json +2 -2
- package/packages/big-table/src/BigTable.vue +14 -3
- package/packages/big-table/src/components/AutoLayoutButton.vue +229 -0
- package/packages/big-table/src/utils/bigTableProps.js +5 -1
- package/packages/multi-chat/chat/chatFooter.vue +2 -2
- package/packages/multi-chat/chat/chatMain.vue +8 -7
- package/packages/table-filter/src/base-search-com/BaseSearch.vue +12 -5
- package/src/directive/preventReClick.js +12 -0
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
<!-- 行内编辑对应生成的(保存、取消)按钮 -->
|
|
6
6
|
<template v-if="visibleInlineOperateBtn">
|
|
7
7
|
<div class="btn-custom-wrap">
|
|
8
|
-
<a-button :style="{ display: isInlineOperating ? 'inline-block' : 'none' }" @click="inlineEditClick" class="btn-custom-class" style="margin: 8px 8px 8px 0" type="primary">
|
|
8
|
+
<a-button v-preventReClick="preventReTime" :style="{ display: isInlineOperating ? 'inline-block' : 'none' }" @click="inlineEditClick" class="btn-custom-class" style="margin: 8px 8px 8px 0" type="primary">
|
|
9
9
|
保存
|
|
10
10
|
</a-button>
|
|
11
|
-
<a-button :style="{ display: isInlineOperating ? 'inline-block' : 'none' }" @click="inlineEditCancel" class="btn-custom-class" style="margin: 8px 8px 8px 0">
|
|
11
|
+
<a-button v-preventReClick="preventReTime" :style="{ display: isInlineOperating ? 'inline-block' : 'none' }" @click="inlineEditCancel" class="btn-custom-class" style="margin: 8px 8px 8px 0">
|
|
12
12
|
取消
|
|
13
13
|
</a-button>
|
|
14
14
|
</div>
|
|
@@ -201,6 +201,7 @@
|
|
|
201
201
|
<li ref="rowTileBtnItem" class="rowTileBtn-item 123" :key="item.sid" v-if="showLi(item)" :data-key="item.sid" data-source="rowTile">
|
|
202
202
|
<template v-if="item.type == 'ADD' || item.type == 'BATCH'">
|
|
203
203
|
<a-button
|
|
204
|
+
v-preventReClick="preventReTime"
|
|
204
205
|
v-show="visibleBtn(item) && !item.isHide"
|
|
205
206
|
@click.prevent.stop="showDrawer(item, j)"
|
|
206
207
|
class="btn-custom-class"
|
|
@@ -232,6 +233,7 @@
|
|
|
232
233
|
</template>
|
|
233
234
|
<template v-else-if="isShowRowTileBtnItem(item)">
|
|
234
235
|
<a-button
|
|
236
|
+
v-preventReClick="preventReTime"
|
|
235
237
|
v-show="visibleBtn(item) && !item.isHide"
|
|
236
238
|
@click.prevent.stop="clickBtn(clickRowData, item, clickRowData.my_index, undefined, j)"
|
|
237
239
|
class="btn-custom-class"
|
|
@@ -368,7 +370,7 @@ import tableSearchCon from '../mixins/tableSearchCon';
|
|
|
368
370
|
import svgIcon from '@/component/svg/index.vue';
|
|
369
371
|
import 'text-security/text-security.css';
|
|
370
372
|
import create from '@/core/create';
|
|
371
|
-
|
|
373
|
+
import preventReClick from '@/directive/preventReClick';
|
|
372
374
|
/** 获取按钮 icon */
|
|
373
375
|
import getBtnIcon from '../components/button-icon/getBtnIcon.js';
|
|
374
376
|
import ButtonGroup from '../components/button-group/ButtonGroup.vue';
|
|
@@ -416,7 +418,7 @@ const BTNOBJ = {
|
|
|
416
418
|
export default create({
|
|
417
419
|
name: 'base-search',
|
|
418
420
|
mixins: [durationMixin, $utils, filterApiFn, tableSearchCon, outQuickSearchFn],
|
|
419
|
-
directives: { resize },
|
|
421
|
+
directives: { resize,preventReClick },
|
|
420
422
|
props: {
|
|
421
423
|
width: {
|
|
422
424
|
default: '400px'
|
|
@@ -560,7 +562,12 @@ export default create({
|
|
|
560
562
|
default: () => ({})
|
|
561
563
|
},
|
|
562
564
|
useFieldList: Array,
|
|
563
|
-
editTableUid: [String, Number]
|
|
565
|
+
editTableUid: [String, Number],
|
|
566
|
+
|
|
567
|
+
preventReTime:{
|
|
568
|
+
type: Number,
|
|
569
|
+
default: 1000
|
|
570
|
+
}
|
|
564
571
|
},
|
|
565
572
|
components: {
|
|
566
573
|
[Button.name]: Button,
|