agilebuilder-ui 1.1.36 → 1.1.37-sit2
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-b8934d65.js → 401-c46a3b20.js} +1 -1
- package/lib/{404-743a4631.js → 404-c35a937a.js} +1 -1
- package/lib/{iframe-page-5e102433.js → iframe-page-10e94ddd.js} +1 -1
- package/lib/{index-a0c08bb5.js → index-f92e8ddb.js} +8140 -8005
- package/lib/super-ui.css +1 -1
- package/lib/super-ui.js +1 -1
- package/lib/super-ui.umd.cjs +97 -97
- package/lib/{tab-content-iframe-index-e9b465bf.js → tab-content-iframe-index-8113610a.js} +1 -1
- package/lib/{tab-content-index-313404d0.js → tab-content-index-3b7f4fa8.js} +1 -1
- package/lib/{tache-subprocess-history-7d87cd77.js → tache-subprocess-history-75f40d2a.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 +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/organization-input/src/organization-input.vue +34 -12
- package/packages/super-grid/src/apis.js +25 -4
- package/packages/super-grid/src/components/grid-radio-input.vue +104 -0
- package/packages/super-grid/src/dynamic-input.vue +94 -16
- package/packages/super-grid/src/formValidatorUtil.js +7 -2
- package/packages/super-grid/src/normal-column-content.vue +2 -1
- package/packages/super-grid/src/row-operation.vue +23 -13
- package/packages/super-grid/src/search-form-item.vue +444 -460
- package/packages/super-grid/src/super-grid.vue +73 -45
- package/packages/super-grid/src/utils.js +28 -9
- package/packages/super-icon/src/index.vue +4 -1
- package/packages/utils/value-set.js +25 -33
- 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/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/common-util.js +2 -1
- 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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as r, createElementBlock as t, createCommentVNode as o } from "vue";
|
|
2
|
-
import { _ as s } from "./index-
|
|
2
|
+
import { _ as s } from "./index-f92e8ddb.js";
|
|
3
3
|
const u = ["src"], f = s({ data: () => ({ src: null }), watch: { $route(n, c) {
|
|
4
4
|
this.src = this.$route.query.src;
|
|
5
5
|
} }, mounted() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as f, c as _, g as x, b as P, s as h, m as M, M as O, i as I } from "./index-
|
|
1
|
+
import { _ as f, c as _, g as x, b as P, s as h, m as M, M as O, i as I } from "./index-f92e8ddb.js";
|
|
2
2
|
import { resolveComponent as u, openBlock as d, createBlock as b, withCtx as g, createVNode as v, TransitionGroup as L, createElementBlock as p, Fragment as T, renderList as C, createElementVNode as m, toDisplayString as w, normalizeClass as S, createCommentVNode as y } from "vue";
|
|
3
3
|
const k = { class: "no-redirect" }, A = f({ name: "Breadcrumb", data: () => ({ levelList: null }), computed: { levelListWithTitle() {
|
|
4
4
|
return this.levelList.filter((e) => e.meta.title !== void 0 && e.meta.title !== null);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolveComponent as t, openBlock as a, createElementBlock as s, createElementVNode as y, createVNode as l, withCtx as r, createTextVNode as n, toDisplayString as p, createCommentVNode as c, createBlock as h } from "vue";
|
|
2
|
-
import { _ as I } from "./index-
|
|
2
|
+
import { _ as I } from "./index-f92e8ddb.js";
|
|
3
3
|
const g = { style: { "padding-bottom": "10px" } }, k = { key: 0, class: "graphDiv" }, N = I({ name: "TacheSubprocessHistory", data: () => ({ type: "graph", workflowId: null }), created() {
|
|
4
4
|
const o = this.$route.query.workflowId;
|
|
5
5
|
o && (this.workflowId = parseInt(o));
|
package/package.json
CHANGED
|
@@ -1,133 +1,140 @@
|
|
|
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
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
2
|
+
<div>
|
|
3
|
+
<DepartmentMobileTree
|
|
4
|
+
v-if="isMobile"
|
|
5
|
+
ref="inlineDeparmentTree"
|
|
6
|
+
:close-on-click-modal="false"
|
|
7
|
+
:close-on-press-escape="false"
|
|
8
|
+
:department-info="departmentInfo"
|
|
9
|
+
:multiple="multiple"
|
|
10
|
+
:search-field="searchField"
|
|
11
|
+
:select-department-info="selectDepartmentInfo"
|
|
12
|
+
:separator="separator"
|
|
13
|
+
:limit-filter-column="limitFilterColumn"
|
|
14
|
+
@close="result"
|
|
15
|
+
/>
|
|
16
|
+
<el-dialog
|
|
17
|
+
v-else
|
|
18
|
+
:close-on-click-modal="false"
|
|
19
|
+
:title="myTitle"
|
|
20
|
+
:width="multiple ? '920px' : '509px'"
|
|
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-department-tree
|
|
30
|
+
ref="inlineDeparmentTree"
|
|
31
|
+
:check-strictly="checkStrictly"
|
|
32
|
+
:department-info="departmentInfo"
|
|
33
|
+
:height="height"
|
|
34
|
+
:multiple="multiple"
|
|
35
|
+
:search-field="searchField"
|
|
36
|
+
:select-department-info="selectDepartmentInfo"
|
|
37
|
+
:separator="separator"
|
|
38
|
+
:limit-filter-column="limitFilterColumn"
|
|
39
|
+
@result="result"
|
|
40
|
+
/>
|
|
41
|
+
<template v-slot:footer>
|
|
42
|
+
<div class="dialog-footer">
|
|
43
|
+
<el-button class="button--default" size="default" @click="$emit('close')">
|
|
44
|
+
{{ $t('imatrixUIPublicModel.cancel') }}
|
|
45
|
+
</el-button>
|
|
46
|
+
<el-button size="default" type="primary" @click="selectDepartment">
|
|
47
|
+
{{ $t('imatrixUIPublicModel.sure') }}
|
|
48
|
+
</el-button>
|
|
49
|
+
</div>
|
|
50
|
+
</template>
|
|
51
|
+
</el-dialog>
|
|
52
|
+
</div>
|
|
51
53
|
</template>
|
|
52
54
|
|
|
53
55
|
<script>
|
|
54
|
-
import {$emit} from '../../utils/gogocodeTransfer'
|
|
56
|
+
import { $emit } from '../../utils/gogocodeTransfer'
|
|
55
57
|
import InlineDepartmentTree from '../../department-tree-inline/src/department-tree-inline.vue'
|
|
56
58
|
import DepartmentMobileTree from '../../department-tree-mobile/src/department-tree-app.vue'
|
|
57
|
-
import {isMobileBrowser} from '../../../src/utils/common-util'
|
|
59
|
+
import { isMobileBrowser } from '../../../src/utils/common-util'
|
|
58
60
|
|
|
59
61
|
export default {
|
|
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
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
62
|
+
name: 'DepartmentTree',
|
|
63
|
+
components: {
|
|
64
|
+
InlineDepartmentTree,
|
|
65
|
+
DepartmentMobileTree
|
|
66
|
+
},
|
|
67
|
+
props: {
|
|
68
|
+
// 是否是多选树,默认是true
|
|
69
|
+
multiple: {
|
|
70
|
+
type: Boolean,
|
|
71
|
+
default: true
|
|
72
|
+
},
|
|
73
|
+
checkStrictly: {
|
|
74
|
+
type: Boolean,
|
|
75
|
+
default: false
|
|
76
|
+
},
|
|
77
|
+
// 显示指定部门节点及其子节点,不传该属性,表示显示整个组织结构树
|
|
78
|
+
departmentInfo: {
|
|
79
|
+
type: Array,
|
|
80
|
+
default: null
|
|
81
|
+
},
|
|
82
|
+
// 弹框的标题
|
|
83
|
+
title: {
|
|
84
|
+
type: String,
|
|
85
|
+
default: null
|
|
86
|
+
},
|
|
87
|
+
// 弹框的宽度
|
|
88
|
+
width: {
|
|
89
|
+
type: String,
|
|
90
|
+
default: '30%'
|
|
91
|
+
},
|
|
92
|
+
// 弹框的高度
|
|
93
|
+
height: {
|
|
94
|
+
type: String,
|
|
95
|
+
default: '300px'
|
|
96
|
+
},
|
|
97
|
+
// 多选部门树时,已选择部门id或部门名称或编码集合,多个之间以逗号隔开
|
|
98
|
+
selectDepartmentInfo: {
|
|
99
|
+
type: [String, Number],
|
|
100
|
+
default: null
|
|
101
|
+
},
|
|
102
|
+
// 移除部门时,部门属性名称:id、name、code,默认是id
|
|
103
|
+
searchField: {
|
|
104
|
+
type: String,
|
|
105
|
+
default: 'id'
|
|
106
|
+
},
|
|
107
|
+
// 多选树时结果之间的分隔符,默认是逗号分隔
|
|
108
|
+
separator: {
|
|
109
|
+
type: String,
|
|
110
|
+
default: ','
|
|
111
|
+
},
|
|
112
|
+
// 根据变量限制部门时,根据部门表的哪个字段进行过滤,默认是code
|
|
113
|
+
limitFilterColumn: {
|
|
114
|
+
type: String,
|
|
115
|
+
default: 'code'
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
data() {
|
|
119
|
+
const isMobile = isMobileBrowser()
|
|
120
|
+
console.log('部门树---isMobile=', isMobile)
|
|
121
|
+
let myTitle = this.$t('imatrixUIMessage.pleaseSelectDepartment')
|
|
122
|
+
if (this.title) {
|
|
123
|
+
myTitle = this.title
|
|
124
|
+
}
|
|
125
|
+
return {
|
|
126
|
+
myTitle,
|
|
127
|
+
isMobile
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
methods: {
|
|
131
|
+
result(selectNodeInfo) {
|
|
132
|
+
$emit(this, 'close', selectNodeInfo)
|
|
133
|
+
},
|
|
134
|
+
selectDepartment() {
|
|
135
|
+
this.$refs.inlineDeparmentTree.selectDepartment()
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
emits: ['open', 'opend', 'close', 'closed', 'opend', 'close', 'closed']
|
|
132
139
|
}
|
|
133
140
|
</script>
|