agilebuilder-ui 1.1.36-tmp4 → 1.1.37
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-c55bdcf2.js → 401-9314ce87.js} +1 -1
- package/lib/{404-c1dbd5e1.js → 404-572d631d.js} +1 -1
- package/lib/{iframe-page-917912ae.js → iframe-page-87c9c0d0.js} +1 -1
- package/lib/{index-6ec53ef7.js → index-79b98485.js} +12729 -12671
- package/lib/super-ui.css +1 -1
- package/lib/super-ui.js +1 -1
- package/lib/super-ui.umd.cjs +99 -99
- package/lib/{tab-content-iframe-index-46a76242.js → tab-content-iframe-index-070ce653.js} +1 -1
- package/lib/{tab-content-index-132379e6.js → tab-content-index-3b98efb4.js} +1 -1
- package/lib/{tache-subprocess-history-384455d6.js → tache-subprocess-history-46442012.js} +1 -1
- package/package.json +2 -2
- package/packages/department-tree/src/department-tree.vue +130 -123
- package/packages/department-tree-inline/src/department-multi-tree-inline.vue +435 -466
- package/packages/department-tree-inline/src/department-single-tree-inline.vue +335 -342
- package/packages/department-tree-inline/src/department-tree-inline.vue +18 -11
- package/packages/department-tree-inline/src/department-tree-service.js +10 -11
- package/packages/department-tree-mobile/src/department-tree-app.vue +103 -75
- package/packages/department-tree-mobile/src/department-tree-inline-app.vue +256 -225
- package/packages/department-tree-mobile/src/department-tree-service.ts +98 -75
- package/packages/department-user-tree/src/department-user-multiple-tree.vue +112 -115
- package/packages/department-user-tree/src/department-user-single-tree.vue +85 -88
- package/packages/department-user-tree/src/department-user-tree.vue +127 -119
- package/packages/department-user-tree-inline/src/department-user-multiple-tree-inline.vue +6 -1
- package/packages/department-user-tree-inline/src/department-user-single-tree-inline.vue +5 -0
- package/packages/department-user-tree-inline/src/department-user-tree-inline.vue +18 -11
- package/packages/department-user-tree-inline/src/department-user-tree-multi-service.js +26 -51
- package/packages/department-user-tree-inline/src/department-user-tree-single-service.js +25 -45
- package/packages/department-user-tree-inline/src/group-user/group-list.vue +97 -90
- package/packages/department-user-tree-inline/src/group-user/group-user.vue +28 -32
- package/packages/department-user-tree-mobile/src/department-user-tree-app.vue +103 -75
- package/packages/department-user-tree-mobile/src/department-user-tree-inline-app.vue +282 -224
- package/packages/department-user-tree-mobile/src/department-user-tree-service.ts +58 -51
- package/packages/fs-preview/src/fs-preview.vue +20 -2
- package/packages/fs-upload-list/src/fs-upload-list.vue +30 -7
- package/packages/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue +1 -1
- package/packages/fs-upload-new/src/fs-preview-new.vue +27 -15
- package/packages/index.js +4 -4
- package/packages/organization-input/src/organization-input.vue +34 -12
- package/packages/super-grid/src/apis.js +21 -4
- package/packages/super-grid/src/dynamic-input.vue +58 -13
- package/packages/super-grid/src/normal-column-content.vue +1 -1
- package/packages/super-grid/src/row-operation.vue +10 -4
- package/packages/super-grid/src/super-grid.vue +51 -42
- package/packages/super-grid/src/utils.js +13 -8
- package/packages/super-icon/src/index.vue +4 -1
- package/packages/workgroup-tree/src/workgroup-tree.vue +117 -110
- package/packages/workgroup-tree-inline/src/workgroup-tree-inline.vue +6 -1
- package/packages/workgroup-tree-mobile/src/workgroup-tree-app.vue +103 -75
- package/packages/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue +229 -208
- package/src/api/sso-service.js +6 -5
- package/src/directives/permission/index.js +4 -4
- package/src/index.js +71 -2
- package/src/store/modules/table.js +0 -1
- package/src/styles/theme/dark-blue/sidebar.scss +9 -0
- package/src/styles/theme/gray/sidebar.scss +9 -8
- package/src/styles/theme/green/sidebar.scss +10 -0
- package/src/styles/theme/ocean-blue/sidebar.scss +9 -0
- package/src/styles/theme/tiffany-blue-mobile/sidebar.scss +9 -0
- package/src/utils/insert_css.js +1 -1
- package/src/utils/util.js +19 -0
- package/src/views/dsc-component/Sidebar/SidebarItem.vue +2 -2
- package/src/views/dsc-component/Sidebar/index.vue +36 -18
- package/src/views/layout/components/Menubar/Item.vue +0 -9
- package/src/views/layout/components/Menubar/SidebarItem.vue +2 -2
- package/src/views/layout/components/Sidebar/Item.vue +4 -1
- package/src/views/layout/components/Sidebar/SidebarItem.vue +2 -2
- package/vite.config.js +1 -1
|
@@ -1,120 +1,148 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
|
|
2
|
+
<el-drawer
|
|
3
|
+
v-model="isShowForm"
|
|
4
|
+
append-to-body
|
|
5
|
+
:close-on-click-modal="false"
|
|
6
|
+
:close-on-press-escape="false"
|
|
7
|
+
direction="btt"
|
|
8
|
+
size="100%"
|
|
9
|
+
class="organization-tree"
|
|
10
|
+
@close="closeTree()"
|
|
11
|
+
>
|
|
3
12
|
<template #header>
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
13
|
+
<div style="text-align: center">
|
|
14
|
+
{{ $t('imatrixUIMessage.pleaseSelect') }}
|
|
15
|
+
</div>
|
|
7
16
|
</template>
|
|
8
17
|
<template #default>
|
|
9
|
-
|
|
18
|
+
<InlineWorkgroupTreeApp
|
|
19
|
+
v-if="isShowForm"
|
|
20
|
+
:multiple="multiple"
|
|
21
|
+
:branchInfo="branchInfo"
|
|
22
|
+
:selectWorkgroupInfo="selectWorkgroupInfo"
|
|
23
|
+
:searchField="searchField"
|
|
24
|
+
:limit-filter-column="limitFilterColumn"
|
|
25
|
+
:separator="separator"
|
|
26
|
+
@close="closeTree"
|
|
27
|
+
/>
|
|
10
28
|
</template>
|
|
11
29
|
</el-drawer>
|
|
12
|
-
|
|
13
30
|
</template>
|
|
14
31
|
|
|
15
|
-
<script
|
|
32
|
+
<script lang="ts">
|
|
16
33
|
export default {
|
|
17
34
|
name: 'DepartmentTreeMobile'
|
|
18
35
|
}
|
|
19
36
|
</script>
|
|
20
|
-
<script
|
|
37
|
+
<script setup lang="ts">
|
|
21
38
|
import InlineWorkgroupTreeApp from './workgroup-tree-inline-app.vue'
|
|
22
|
-
import { reactive,ref,onMounted, defineEmits } from 'vue'
|
|
39
|
+
import { reactive, ref, onMounted, defineEmits } from 'vue'
|
|
23
40
|
const props = defineProps<{
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
41
|
+
// 是否是多选树,默认是true
|
|
42
|
+
multiple: {
|
|
43
|
+
type: Boolean
|
|
44
|
+
default: true
|
|
45
|
+
}
|
|
46
|
+
// 显示指定部门节点及其子节点,不传该属性,表示显示整个组织结构树
|
|
47
|
+
branchInfo: {
|
|
48
|
+
type: Array<any>
|
|
49
|
+
default: null
|
|
50
|
+
}
|
|
51
|
+
// 多选部门树时,已选择部门id或部门名称或编码集合,多个之间以逗号隔开
|
|
52
|
+
selectWorkgroupInfo: {
|
|
53
|
+
type: [String, Number]
|
|
54
|
+
default: null
|
|
55
|
+
}
|
|
56
|
+
// 移除部门时,部门属性名称:id、name、code,默认是id
|
|
57
|
+
searchField: {
|
|
58
|
+
type: String
|
|
59
|
+
default: 'code'
|
|
60
|
+
}
|
|
61
|
+
// 多选树时结果之间的分隔符,默认是逗号分隔
|
|
62
|
+
separator: {
|
|
63
|
+
type: String
|
|
64
|
+
default: ','
|
|
65
|
+
}
|
|
66
|
+
// 根据变量限制部门时,根据部门表的哪个字段进行过滤,默认是code
|
|
67
|
+
limitFilterColumn: {
|
|
68
|
+
type: String
|
|
69
|
+
default: 'code'
|
|
70
|
+
}
|
|
71
|
+
}>()
|
|
72
|
+
const emits = defineEmits(['close'])
|
|
73
|
+
let isShowForm = ref(true)
|
|
74
|
+
// function showTree() {
|
|
75
|
+
// isShowForm.value = true
|
|
76
|
+
// }
|
|
77
|
+
function closeTree(selectNodeInfo) {
|
|
78
|
+
emits('close', selectNodeInfo)
|
|
79
|
+
isShowForm.value = false
|
|
80
|
+
}
|
|
81
|
+
function selectDepartment() {
|
|
82
|
+
// this.$refs.inlineDeparmentTree.selectDepartment()
|
|
83
|
+
}
|
|
84
|
+
// defineExpose({showTree})
|
|
63
85
|
</script>
|
|
64
86
|
<style>
|
|
65
|
-
.organization-tree,
|
|
66
|
-
|
|
67
|
-
|
|
87
|
+
.organization-tree,
|
|
88
|
+
.organization-tree .el-checkbox__label,
|
|
89
|
+
.organization-tree .el-breadcrumb__inner,
|
|
90
|
+
.organization-tree .el-tree {
|
|
91
|
+
font-size: 17px;
|
|
92
|
+
font-weight: 700;
|
|
68
93
|
}
|
|
69
94
|
|
|
70
|
-
.organization-tree .el-breadcrumb__item:last-child .el-breadcrumb__inner,
|
|
71
|
-
|
|
72
|
-
|
|
95
|
+
.organization-tree .el-breadcrumb__item:last-child .el-breadcrumb__inner,
|
|
96
|
+
.el-breadcrumb__item:last-child .el-breadcrumb__inner a,
|
|
97
|
+
.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover,
|
|
98
|
+
.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover {
|
|
99
|
+
font-size: 17px;
|
|
100
|
+
font-weight: 700;
|
|
73
101
|
}
|
|
74
102
|
.organization-tree .el-card__body {
|
|
75
|
-
|
|
103
|
+
padding-top: 10px;
|
|
76
104
|
}
|
|
77
105
|
.organization-tree .card-content {
|
|
78
|
-
|
|
106
|
+
margin-top: 10px;
|
|
79
107
|
}
|
|
80
108
|
.organization-tree .item-row-all {
|
|
81
|
-
|
|
109
|
+
margin-bottom: 10px;
|
|
82
110
|
}
|
|
83
111
|
.organization-tree .item-row {
|
|
84
|
-
|
|
85
|
-
|
|
112
|
+
display: flex;
|
|
113
|
+
width: 100%;
|
|
86
114
|
}
|
|
87
115
|
.organization-tree .item-label {
|
|
88
|
-
|
|
89
|
-
|
|
116
|
+
flex: 0 0 90%;
|
|
117
|
+
text-align: left;
|
|
90
118
|
}
|
|
91
119
|
.organization-tree .item-side {
|
|
92
|
-
|
|
93
|
-
|
|
120
|
+
flex: 0 0 10%;
|
|
121
|
+
text-align: right;
|
|
94
122
|
}
|
|
95
123
|
.organization-tree .el-tree-node {
|
|
96
|
-
|
|
124
|
+
margin-bottom: 10px;
|
|
97
125
|
}
|
|
98
126
|
|
|
99
|
-
.organization-tree .el-tree-node__content
|
|
100
|
-
|
|
101
|
-
|
|
127
|
+
.organization-tree .el-tree-node__content > .el-tree-node__expand-icon {
|
|
128
|
+
padding: 0;
|
|
129
|
+
display: none;
|
|
102
130
|
}
|
|
103
131
|
|
|
104
132
|
.organization-tree .card-footer {
|
|
105
|
-
|
|
133
|
+
padding: 20px;
|
|
106
134
|
}
|
|
107
135
|
.organization-tree .card-footer .select-result {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
136
|
+
color: #409eff;
|
|
137
|
+
flex: 1 1 75%;
|
|
138
|
+
text-align: left;
|
|
111
139
|
}
|
|
112
140
|
.organization-tree .card-footer .button-area {
|
|
113
|
-
|
|
114
|
-
|
|
141
|
+
flex: 0 0 20%;
|
|
142
|
+
text-align: right;
|
|
115
143
|
}
|
|
116
144
|
|
|
117
|
-
.organization-tree .dept-path .breadcrumb-label-link{
|
|
118
|
-
|
|
145
|
+
.organization-tree .dept-path .breadcrumb-label-link {
|
|
146
|
+
color: #409eff;
|
|
119
147
|
}
|
|
120
148
|
</style>
|