agilebuilder-ui 1.1.47 → 1.1.48-rc1
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/lib/{401-24b6b525.js → 401-a94cd05b.js} +1 -1
- package/lib/{404-55dbc936.js → 404-eb21244b.js} +1 -1
- package/lib/{iframe-page-effbb33c.js → iframe-page-7add4333.js} +1 -1
- package/lib/{index-f3ef09a5.js → index-7a601895.js} +18636 -18542
- package/lib/super-ui.css +1 -1
- package/lib/super-ui.js +1 -1
- package/lib/super-ui.umd.cjs +104 -104
- package/lib/{tab-content-iframe-index-4c557db3.js → tab-content-iframe-index-483b398c.js} +1 -1
- package/lib/{tab-content-index-a7350229.js → tab-content-index-0862686f.js} +1 -1
- package/lib/{tache-subprocess-history-f19dd95f.js → tache-subprocess-history-c80e8ed2.js} +1 -1
- package/package.json +1 -1
- package/packages/department-tree-inline/src/department-multi-tree-inline.vue +42 -34
- package/packages/department-tree-inline/src/department-single-tree-inline.vue +53 -42
- package/packages/department-tree-inline/src/department-tree-service.js +17 -11
- package/packages/department-tree-inline/src/search-result.vue +187 -219
- package/packages/department-tree-mobile/src/department-tree-inline-app.vue +17 -4
- package/packages/department-user-tree-inline/src/department-user-multiple-tree-inline.vue +52 -43
- package/packages/department-user-tree-inline/src/department-user-single-tree-inline.vue +52 -42
- package/packages/department-user-tree-inline/src/department-user-tree-multi-service.js +23 -13
- package/packages/department-user-tree-inline/src/department-user-tree-single-service.js +9 -5
- package/packages/department-user-tree-inline/src/group-user-tree-service.js +17 -11
- package/packages/department-user-tree-inline/src/search-result.vue +207 -220
- package/packages/department-user-tree-mobile/src/department-user-tree-inline-app.vue +14 -3
- package/packages/dynamic-source-select/src/dynamic-source-select-service.js +7 -2
- package/packages/empty-state/index.vue +28 -0
- package/packages/fs-preview/src/fs-preview.vue +12 -3
- package/packages/fs-upload/src/fs-upload-multi.vue +6 -4
- package/packages/fs-upload/src/fs-upload-single.vue +7 -6
- package/packages/fs-upload/src/fs-upload.vue +3 -1
- package/packages/fs-upload/src/see-big-picture.vue +3 -0
- package/packages/fs-upload-list/src/fs-upload-list.vue +8 -2
- package/packages/fs-upload-new/src/fs-button-upload.vue +11 -4
- package/packages/fs-upload-new/src/fs-drag-upload.vue +11 -4
- package/packages/fs-upload-new/src/fs-preview-new.vue +8 -5
- package/packages/fs-upload-new/src/fs-upload-new.vue +17 -0
- package/packages/plugins/export-data-new.js +2 -0
- package/packages/super-grid/src/components/grid-icon.vue +6 -3
- package/packages/super-grid/src/custom-formatter.js +15 -2
- package/packages/super-grid/src/dynamic-input.vue +34 -6
- package/packages/super-grid/src/formatter.js +5 -1
- package/packages/super-grid/src/normal-column-content.vue +30 -38
- package/packages/super-grid/src/super-grid.vue +4 -4
- package/packages/utils/utils.js +27 -9
- package/packages/workgroup-tree-inline/src/search-result.vue +2 -1
- package/packages/workgroup-tree-inline/src/workgroup-tree-inline.vue +50 -41
- package/packages/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue +16 -5
- package/packages/workgroup-user-tree-inline/src/search-result.vue +2 -1
- package/packages/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +30 -24
- package/packages/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue +49 -37
- package/packages/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue +281 -222
- package/src/i18n/langs/cn.js +6 -4
- package/src/i18n/langs/en.js +6 -4
- package/src/styles/index.scss +26 -0
- package/src/utils/auth.js +10 -7
- package/src/utils/chat-ai-util.ts +3 -3
- package/src/utils/common-util.js +22 -0
- package/src/utils/global-prop.js +17 -0
- package/src/utils/jump-page-utils.js +8 -4
- package/src/views/dsc-component/Sidebar/SidebarItem.vue +6 -0
- package/src/views/dsc-component/tabs/tab-content.vue +6 -0
|
@@ -21,41 +21,45 @@
|
|
|
21
21
|
</el-autocomplete>
|
|
22
22
|
</el-header>
|
|
23
23
|
<el-main style="padding: 10px">
|
|
24
|
-
<
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
<el-tree
|
|
29
|
-
ref="workgroupUserTree"
|
|
30
|
-
:filter-node-method="filterNode"
|
|
31
|
-
:load="loadNode"
|
|
32
|
-
:props="defaultProps"
|
|
33
|
-
:show-checkbox="multiple"
|
|
34
|
-
lazy
|
|
35
|
-
node-key="nodeId"
|
|
36
|
-
@check="handleCheckNode"
|
|
37
|
-
@node-click="handleNodeClick"
|
|
24
|
+
<template v-if="!searchValue">
|
|
25
|
+
<div
|
|
26
|
+
v-if="canShowOrgTree"
|
|
27
|
+
style="padding-top: 5px; overflow: auto; width: auto; display: inline-block !important"
|
|
38
28
|
>
|
|
39
|
-
<
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
29
|
+
<el-tree
|
|
30
|
+
ref="workgroupUserTree"
|
|
31
|
+
:filter-node-method="filterNode"
|
|
32
|
+
:load="loadNode"
|
|
33
|
+
:props="defaultProps"
|
|
34
|
+
:show-checkbox="multiple"
|
|
35
|
+
lazy
|
|
36
|
+
node-key="nodeId"
|
|
37
|
+
@check="handleCheckNode"
|
|
38
|
+
@node-click="handleNodeClick"
|
|
39
|
+
>
|
|
40
|
+
<template #default="{ node, data }">
|
|
41
|
+
<span>
|
|
42
|
+
<el-icon>
|
|
43
|
+
<Menu v-if="node.data.id === -1" />
|
|
44
|
+
<Calendar v-else />
|
|
45
|
+
</el-icon>
|
|
46
|
+
<span
|
|
47
|
+
:class="
|
|
48
|
+
data.nodeType && data.nodeType === 'USER' && searchValue && filterUserVal(data, searchValue)
|
|
49
|
+
? 'searchResult'
|
|
50
|
+
: ''
|
|
51
|
+
"
|
|
52
|
+
:title="node.label"
|
|
53
|
+
>
|
|
54
|
+
{{ node.label }}
|
|
55
|
+
</span>
|
|
54
56
|
</span>
|
|
55
|
-
</
|
|
56
|
-
</
|
|
57
|
-
</
|
|
58
|
-
|
|
57
|
+
</template>
|
|
58
|
+
</el-tree>
|
|
59
|
+
</div>
|
|
60
|
+
<!-- 暂无信息 -->
|
|
61
|
+
<EmptyState v-else style="width: 100%; height: 100%" />
|
|
62
|
+
</template>
|
|
59
63
|
<div v-if="searchValue && searchValue.length > 0" style="height: 100%; overflow: hidden">
|
|
60
64
|
<workgroup-user-result
|
|
61
65
|
ref="workgroupUserResult"
|
|
@@ -114,7 +118,7 @@ import localStorage from '../../../src/utils/local-storage'
|
|
|
114
118
|
import utils from '../../utils/utils'
|
|
115
119
|
import workgroupTreeInlineService from './workgroup-tree-inline-service'
|
|
116
120
|
import WorkgroupUserResult from './search-result.vue'
|
|
117
|
-
|
|
121
|
+
import EmptyState from '../../empty-state/index.vue'
|
|
118
122
|
export default {
|
|
119
123
|
data() {
|
|
120
124
|
return {
|
|
@@ -153,12 +157,14 @@ export default {
|
|
|
153
157
|
selectNodeInfo: null,
|
|
154
158
|
// 公司根节点信息
|
|
155
159
|
tenantInfo: {},
|
|
156
|
-
ElIconSearch
|
|
160
|
+
ElIconSearch,
|
|
161
|
+
canShowOrgTree: false
|
|
157
162
|
}
|
|
158
163
|
},
|
|
159
164
|
name: 'InlineWorkgroupUserTree',
|
|
160
165
|
components: {
|
|
161
|
-
WorkgroupUserResult
|
|
166
|
+
WorkgroupUserResult,
|
|
167
|
+
EmptyState
|
|
162
168
|
},
|
|
163
169
|
props: {
|
|
164
170
|
// 是否是多选树,默认是true
|
|
@@ -198,6 +204,9 @@ export default {
|
|
|
198
204
|
}
|
|
199
205
|
},
|
|
200
206
|
created() {
|
|
207
|
+
utils.canShowOrgTree().then((showOrgTree) => {
|
|
208
|
+
this.canShowOrgTree = showOrgTree
|
|
209
|
+
})
|
|
201
210
|
if (this.multiple) {
|
|
202
211
|
this.initSelectUsers(this.searchField, this.selectUserInfo, this.separator).then((users) => {
|
|
203
212
|
if (users) {
|
|
@@ -291,7 +300,10 @@ export default {
|
|
|
291
300
|
// // this.searchParam.userField = this.searchField
|
|
292
301
|
// // 后台查询部门,并拼接树节点
|
|
293
302
|
// this.filterAppendNodes(value)
|
|
294
|
-
|
|
303
|
+
|
|
304
|
+
if(this.$refs.workgroupUserTree) {
|
|
305
|
+
this.$refs.workgroupUserTree.filter(value)
|
|
306
|
+
}
|
|
295
307
|
},
|
|
296
308
|
// 点击查询按钮调用的方法
|
|
297
309
|
clickSearch() {
|