cnhis-design-vue 0.2.41-beta → 0.2.42-beta
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/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 +66 -66
- package/es/breadcrumb/index.js +8 -8
- package/es/button/index.js +28 -28
- package/es/calendar/index.js +8 -8
- package/es/captcha/index.js +3 -3
- package/es/card/index.js +8 -8
- 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/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/empty/index.js +8 -8
- package/es/fabric-chart/index.js +9 -9
- package/es/form/index.js +8 -8
- package/es/form-model/index.js +8 -8
- package/es/form-table/index.js +62 -62
- package/es/index/index.js +449 -440
- package/es/index/style.css +1 -1
- package/es/input/index.js +9 -9
- package/es/input-number/index.js +8 -8
- package/es/keep-cache/index.js +12 -1
- package/es/keep-cache/style.css +1 -0
- 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 +98 -98
- package/es/multi-chat/style.css +1 -1
- package/es/multi-chat-client/index.js +92 -92
- 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 +14 -14
- package/es/multi-chat-setting/index.js +51 -53
- package/es/multi-chat-setting/style.css +1 -1
- 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-view/index.js +23 -23
- package/es/select/index.js +11 -11
- package/es/select-label/index.js +11 -11
- package/es/select-person/index.js +2 -2
- package/es/skeleton/index.js +8 -8
- package/es/slider/index.js +8 -8
- 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 +53 -53
- 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 +446 -414
- package/lib/cui.umd.js +446 -414
- package/lib/cui.umd.min.js +20 -20
- package/package.json +1 -1
- package/packages/keep-cache/KeepCache.js +1 -0
- package/packages/keep-cache/index.css +3 -0
- package/packages/multi-chat/chat/chatHeader.vue +11 -4
- package/packages/multi-chat/setting/customerService/batchSelect.vue +2 -4
package/package.json
CHANGED
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
</a-tooltip>
|
|
22
22
|
</template>
|
|
23
23
|
</div>
|
|
24
|
-
<div>
|
|
25
|
-
<a-button v-if="isShow('TRANSFER') && sessionType == 1 && onChating" @click="handleConvertShow" :disabled="!onChating && !!convertButtonTitle">{{ convertButtonTitle }}</a-button>
|
|
24
|
+
<div class="chat-header-opt">
|
|
25
|
+
<a-button class="chat-header-opt-btn" v-if="isShow('TRANSFER') && sessionType == 1 && onChating" @click="handleConvertShow" :disabled="!onChating && !!convertButtonTitle">{{ convertButtonTitle }}</a-button>
|
|
26
26
|
<!-- 状态切换 -->
|
|
27
|
-
<UserStatus />
|
|
27
|
+
<UserStatus class="chat-header-opt-btn" />
|
|
28
28
|
<!-- <a-dropdown placement="bottomCenter">
|
|
29
29
|
<a-button>
|
|
30
30
|
<svg-icon v-if="statusIcon" :icon-class="statusIcon" style="font-size:16px;"></svg-icon>
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
</a-menu-item>
|
|
59
59
|
</a-menu>
|
|
60
60
|
</a-dropdown> -->
|
|
61
|
-
<a-button @click="handleConfirm" :disabled="!onChating" v-if="isSessionOwner && !isStaff">{{ endSessionTitle }}</a-button>
|
|
61
|
+
<a-button class="chat-header-opt-btn" @click="handleConfirm" :disabled="!onChating" v-if="isSessionOwner && !isStaff">{{ endSessionTitle }}</a-button>
|
|
62
62
|
</div>
|
|
63
63
|
</div>
|
|
64
64
|
<a-alert v-if="sessionTimer" class="session-time" type="success">
|
|
@@ -455,6 +455,13 @@ export default {
|
|
|
455
455
|
margin-top: -15px;
|
|
456
456
|
}
|
|
457
457
|
}
|
|
458
|
+
|
|
459
|
+
.chat-header-opt {
|
|
460
|
+
display: flex;
|
|
461
|
+
&-btn {
|
|
462
|
+
margin-left: 10px;
|
|
463
|
+
}
|
|
464
|
+
}
|
|
458
465
|
/deep/ .ant-btn {
|
|
459
466
|
border-radius: 13px;
|
|
460
467
|
height: 26px;
|
|
@@ -92,9 +92,6 @@ export default {
|
|
|
92
92
|
selectedUsers() {
|
|
93
93
|
return this.flatUserList.filter(item => {
|
|
94
94
|
let flag = this.checkedKeys.includes(item.key);
|
|
95
|
-
// const orgId = item.key.split('-')[0];
|
|
96
|
-
// const userId = item.key.split('-')[2];
|
|
97
|
-
// let flag = this.checkedKeys.some(v => v.split('-')[0] == orgId && v.split('-')[2] == userId);
|
|
98
95
|
if (flag) {
|
|
99
96
|
item.createdTime = this.checkedKeysTimeObj[item.key];
|
|
100
97
|
return flag;
|
|
@@ -132,7 +129,8 @@ export default {
|
|
|
132
129
|
const key = `${orgId}-${deptId}-${userId}`;
|
|
133
130
|
// userId && checkedKeys.add(key);
|
|
134
131
|
if (userId) {
|
|
135
|
-
//
|
|
132
|
+
// 由于存在转部门的情况所以不需要匹配deptId,但a-tree中必须存在不同的deptId
|
|
133
|
+
// 保证checkedKeys中的值与treeData中的key值保持一致,防止因deptId不同导致数据不同步
|
|
136
134
|
const obj = this.flatUserList.find(v => v.key.split('-')[0] == orgId && v.key.split('-')[2] == userId);
|
|
137
135
|
if (obj?.key) {
|
|
138
136
|
checkedKeys.add(`${orgId}-${obj.key.split('-')[1]}-${userId}`);
|