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