agilebuilder-ui 1.1.35 → 1.1.36-sit1
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-20f1c97c.js → 401-e367a09a.js} +1 -1
- package/lib/{404-36d09e24.js → 404-45104bc5.js} +1 -1
- package/lib/{iframe-page-51c292dc.js → iframe-page-8a758d4d.js} +1 -1
- package/lib/{index-19f46200.js → index-8c6ab0ba.js} +2054 -1966
- package/lib/super-ui.css +1 -1
- package/lib/super-ui.js +1 -1
- package/lib/super-ui.umd.cjs +100 -100
- package/lib/{tab-content-iframe-index-5d9d85c0.js → tab-content-iframe-index-16f7cb65.js} +1 -1
- package/lib/{tab-content-index-bd535c86.js → tab-content-index-f136be89.js} +1 -1
- package/lib/{tache-subprocess-history-56bf69ba.js → tache-subprocess-history-4f9a7773.js} +1 -1
- package/package.json +1 -1
- 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 +111 -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 +25 -51
- 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-upload-new/src/file-upload-mobile/file-upload-browser.vue +1 -1
- 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 +1 -12
- package/packages/super-grid/src/formatter.js +4 -3
- package/packages/super-grid/src/normal-column-content.vue +25 -1
- package/packages/super-grid/src/row-operation.vue +23 -13
- package/packages/super-grid/src/search-form-open.vue +0 -1
- package/packages/super-grid/src/super-grid-service.js +1 -1
- package/packages/super-grid/src/super-grid.vue +51 -42
- package/packages/super-grid/src/utils.js +19 -6
- package/packages/super-icon/src/index.vue +11 -2
- package/packages/utils/value-set.js +147 -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/store/modules/table.js +0 -1
- package/src/styles/theme/black/font-style.scss +2 -0
- package/src/styles/theme/blue/font-style.scss +2 -0
- package/src/styles/theme/blue2/font-style.scss +2 -0
- package/src/styles/theme/dark-blue/font.scss +2 -0
- package/src/styles/theme/dark-blue/sidebar.scss +8 -0
- package/src/styles/theme/gray/font-style.scss +2 -0
- package/src/styles/theme/green/font.scss +3 -1
- package/src/styles/theme/green/sidebar.scss +9 -0
- package/src/styles/theme/ocean-blue/font.scss +3 -1
- package/src/styles/theme/ocean-blue/sidebar.scss +8 -0
- package/src/styles/theme/tiffany-blue-mobile/font.scss +2 -0
- package/src/styles/theme/tiffany-blue-mobile/sidebar.scss +8 -0
- package/src/utils/file-util.ts +32 -0
- package/src/utils/insert_css.js +1 -1
- package/src/utils/util.js +721 -715
- package/src/views/dsc-component/Sidebar/Item.vue +7 -2
- 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
|
@@ -1,120 +1,127 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
2
|
+
<div>
|
|
3
|
+
<WorkgroupMobileTree
|
|
4
|
+
v-if="isMobile"
|
|
5
|
+
ref="workgroupTree"
|
|
6
|
+
:close-on-click-modal="false"
|
|
7
|
+
:close-on-press-escape="false"
|
|
8
|
+
:branch-info="branchInfo"
|
|
9
|
+
:multiple="multiple"
|
|
10
|
+
:search-field="searchField"
|
|
11
|
+
:select-workgroup-info="selectWorkgroupInfo"
|
|
12
|
+
:limit-filter-column="limitFilterColumn"
|
|
13
|
+
:separator="separator"
|
|
14
|
+
@close="result"
|
|
15
|
+
/>
|
|
16
|
+
<el-dialog
|
|
17
|
+
v-else
|
|
18
|
+
:close-on-click-modal="false"
|
|
19
|
+
:title="myTitle"
|
|
20
|
+
:width="multiple ? '60%' : '40%'"
|
|
21
|
+
append-to-body
|
|
22
|
+
class="user-tree"
|
|
23
|
+
model-value
|
|
24
|
+
@close="$emit('close')"
|
|
25
|
+
@closed="$emit('closed')"
|
|
26
|
+
@open="$emit('open')"
|
|
27
|
+
@opend="$emit('opend')"
|
|
28
|
+
>
|
|
29
|
+
<inline-workgroup-tree
|
|
30
|
+
ref="workgroupTree"
|
|
31
|
+
:branch-info="branchInfo"
|
|
32
|
+
:limit-filter-column="limitFilterColumn"
|
|
33
|
+
:multiple="multiple"
|
|
34
|
+
@result="result"
|
|
35
|
+
/>
|
|
36
|
+
<template v-slot:footer>
|
|
37
|
+
<div class="dialog-footer">
|
|
38
|
+
<el-button class="button--default" size="default" @click="$emit('close')">
|
|
39
|
+
{{ $t('imatrixUIPublicModel.cancel') }}
|
|
40
|
+
</el-button>
|
|
41
|
+
<el-button size="default" type="primary" @click="selectWorkgroup">
|
|
42
|
+
{{ $t('imatrixUIPublicModel.sure') }}
|
|
43
|
+
</el-button>
|
|
44
|
+
</div>
|
|
45
|
+
</template>
|
|
46
|
+
</el-dialog>
|
|
47
|
+
</div>
|
|
46
48
|
</template>
|
|
47
49
|
|
|
48
50
|
<script>
|
|
49
|
-
import {$emit} from '../../utils/gogocodeTransfer'
|
|
51
|
+
import { $emit } from '../../utils/gogocodeTransfer'
|
|
50
52
|
import InlineWorkgroupTree from '../../workgroup-tree-inline/src/workgroup-tree-inline.vue'
|
|
51
53
|
import WorkgroupMobileTree from '../../workgroup-tree-mobile/src/workgroup-tree-app.vue'
|
|
52
|
-
import {isMobileBrowser} from '../../../src/utils/common-util'
|
|
54
|
+
import { isMobileBrowser } from '../../../src/utils/common-util'
|
|
53
55
|
|
|
54
56
|
export default {
|
|
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
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
57
|
+
name: 'WorkgroupTree',
|
|
58
|
+
components: {
|
|
59
|
+
InlineWorkgroupTree,
|
|
60
|
+
WorkgroupMobileTree
|
|
61
|
+
},
|
|
62
|
+
props: {
|
|
63
|
+
// 是否是多选树,默认是true
|
|
64
|
+
multiple: {
|
|
65
|
+
type: Boolean,
|
|
66
|
+
default: true
|
|
67
|
+
},
|
|
68
|
+
// 显示指定部门节点及其子节点,不传该属性,表示显示整个组织结构树
|
|
69
|
+
branchInfo: {
|
|
70
|
+
type: Array,
|
|
71
|
+
default: null
|
|
72
|
+
},
|
|
73
|
+
// 弹框的标题
|
|
74
|
+
title: {
|
|
75
|
+
type: String,
|
|
76
|
+
default: null
|
|
77
|
+
},
|
|
78
|
+
// 弹框的宽度
|
|
79
|
+
width: {
|
|
80
|
+
type: String,
|
|
81
|
+
default: '60%'
|
|
82
|
+
},
|
|
83
|
+
// 多选部门树时,已选择部门id或部门名称或编码集合,多个之间以逗号隔开
|
|
84
|
+
selectWorkgroupInfo: {
|
|
85
|
+
type: [String, Number],
|
|
86
|
+
default: null
|
|
87
|
+
},
|
|
88
|
+
// 移除部门时,部门属性名称:id、name、code,默认是id
|
|
89
|
+
searchField: {
|
|
90
|
+
type: String,
|
|
91
|
+
default: 'code'
|
|
92
|
+
},
|
|
93
|
+
// 多选树时结果之间的分隔符,默认是逗号分隔
|
|
94
|
+
separator: {
|
|
95
|
+
type: String,
|
|
96
|
+
default: ','
|
|
97
|
+
},
|
|
98
|
+
// 根据变量限制部门时,根据部门表的哪个字段进行过滤,默认是code
|
|
99
|
+
limitFilterColumn: {
|
|
100
|
+
type: String,
|
|
101
|
+
default: 'code'
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
data() {
|
|
105
|
+
let myTitle = this.$t('imatrixUIMessage.pleaseSelectATeam')
|
|
106
|
+
if (this.title) {
|
|
107
|
+
myTitle = this.title
|
|
108
|
+
}
|
|
109
|
+
const isMobile = isMobileBrowser()
|
|
110
|
+
return {
|
|
111
|
+
myTitle,
|
|
112
|
+
isMobile
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
methods: {
|
|
116
|
+
// 工作组单选回调
|
|
117
|
+
result(selectNodeInfo) {
|
|
118
|
+
$emit(this, 'close', selectNodeInfo)
|
|
119
|
+
},
|
|
120
|
+
// 嵌入树,多选时,点击确定时调用的方法
|
|
121
|
+
selectWorkgroup() {
|
|
122
|
+
this.$refs.workgroupTree.selectWorkgroup()
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
emits: ['open', 'opend', 'close', 'closed', 'opend', 'close', 'closed']
|
|
119
126
|
}
|
|
120
127
|
</script>
|
|
@@ -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>
|