agilebuilder-ui 1.1.36-sit5 → 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.
Files changed (67) hide show
  1. package/lib/{401-dff6f99e.js → 401-c55bdcf2.js} +1 -1
  2. package/lib/{404-1062cf9d.js → 404-c1dbd5e1.js} +1 -1
  3. package/lib/{iframe-page-e229c419.js → iframe-page-917912ae.js} +1 -1
  4. package/lib/{index-09cd1ad3.js → index-6ec53ef7.js} +12676 -12738
  5. package/lib/super-ui.css +1 -1
  6. package/lib/super-ui.js +1 -1
  7. package/lib/super-ui.umd.cjs +99 -99
  8. package/lib/{tab-content-iframe-index-0c3b2101.js → tab-content-iframe-index-46a76242.js} +1 -1
  9. package/lib/{tab-content-index-dcdefb56.js → tab-content-index-132379e6.js} +1 -1
  10. package/lib/{tache-subprocess-history-06b435b8.js → tache-subprocess-history-384455d6.js} +1 -1
  11. package/package.json +1 -1
  12. package/packages/department-tree/src/department-tree.vue +123 -130
  13. package/packages/department-tree-inline/src/department-multi-tree-inline.vue +466 -435
  14. package/packages/department-tree-inline/src/department-single-tree-inline.vue +342 -335
  15. package/packages/department-tree-inline/src/department-tree-inline.vue +11 -18
  16. package/packages/department-tree-inline/src/department-tree-service.js +11 -10
  17. package/packages/department-tree-mobile/src/department-tree-app.vue +75 -103
  18. package/packages/department-tree-mobile/src/department-tree-inline-app.vue +225 -256
  19. package/packages/department-tree-mobile/src/department-tree-service.ts +75 -98
  20. package/packages/department-user-tree/src/department-user-multiple-tree.vue +115 -112
  21. package/packages/department-user-tree/src/department-user-single-tree.vue +88 -85
  22. package/packages/department-user-tree/src/department-user-tree.vue +119 -127
  23. package/packages/department-user-tree-inline/src/department-user-multiple-tree-inline.vue +1 -6
  24. package/packages/department-user-tree-inline/src/department-user-single-tree-inline.vue +0 -5
  25. package/packages/department-user-tree-inline/src/department-user-tree-inline.vue +11 -18
  26. package/packages/department-user-tree-inline/src/department-user-tree-multi-service.js +51 -26
  27. package/packages/department-user-tree-inline/src/department-user-tree-single-service.js +45 -25
  28. package/packages/department-user-tree-inline/src/group-user/group-list.vue +90 -97
  29. package/packages/department-user-tree-inline/src/group-user/group-user.vue +32 -28
  30. package/packages/department-user-tree-mobile/src/department-user-tree-app.vue +75 -103
  31. package/packages/department-user-tree-mobile/src/department-user-tree-inline-app.vue +224 -282
  32. package/packages/department-user-tree-mobile/src/department-user-tree-service.ts +51 -58
  33. package/packages/fs-preview/src/fs-preview.vue +2 -20
  34. package/packages/fs-upload-list/src/fs-upload-list.vue +7 -30
  35. package/packages/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue +1 -1
  36. package/packages/fs-upload-new/src/fs-preview-new.vue +15 -27
  37. package/packages/index.js +4 -4
  38. package/packages/organization-input/src/organization-input.vue +12 -34
  39. package/packages/super-grid/src/apis.js +4 -21
  40. package/packages/super-grid/src/dynamic-input.vue +13 -58
  41. package/packages/super-grid/src/normal-column-content.vue +1 -2
  42. package/packages/super-grid/src/row-operation.vue +13 -23
  43. package/packages/super-grid/src/super-grid.vue +42 -51
  44. package/packages/super-grid/src/utils.js +8 -13
  45. package/packages/super-icon/src/index.vue +1 -4
  46. package/packages/workgroup-tree/src/workgroup-tree.vue +110 -117
  47. package/packages/workgroup-tree-inline/src/workgroup-tree-inline.vue +1 -6
  48. package/packages/workgroup-tree-mobile/src/workgroup-tree-app.vue +75 -103
  49. package/packages/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue +208 -229
  50. package/src/api/sso-service.js +5 -6
  51. package/src/directives/permission/index.js +4 -4
  52. package/src/index.js +3 -38
  53. package/src/store/modules/table.js +1 -0
  54. package/src/styles/theme/dark-blue/sidebar.scss +0 -9
  55. package/src/styles/theme/gray/sidebar.scss +8 -9
  56. package/src/styles/theme/green/sidebar.scss +0 -10
  57. package/src/styles/theme/ocean-blue/sidebar.scss +0 -9
  58. package/src/styles/theme/tiffany-blue-mobile/sidebar.scss +0 -9
  59. package/src/utils/insert_css.js +1 -1
  60. package/src/utils/util.js +0 -19
  61. package/src/views/dsc-component/Sidebar/SidebarItem.vue +2 -2
  62. package/src/views/dsc-component/Sidebar/index.vue +18 -36
  63. package/src/views/layout/components/Menubar/Item.vue +9 -0
  64. package/src/views/layout/components/Menubar/SidebarItem.vue +2 -2
  65. package/src/views/layout/components/Sidebar/Item.vue +1 -4
  66. package/src/views/layout/components/Sidebar/SidebarItem.vue +2 -2
  67. package/vite.config.js +1 -1
@@ -1,148 +1,120 @@
1
1
  <template>
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
- >
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
- <div style="text-align: center">
14
- {{ $t('imatrixUIMessage.pleaseSelect') }}
15
- </div>
4
+ <div style="text-align: center;">
5
+ {{$t('imatrixUIMessage.pleaseSelect')}}
6
+ </div>
16
7
  </template>
17
8
  <template #default>
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
- />
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 lang="ts">
15
+ <script lang="ts">
33
16
  export default {
34
17
  name: 'DepartmentTreeMobile'
35
18
  }
36
19
  </script>
37
- <script setup lang="ts">
20
+ <script setup lang="ts">
38
21
  import InlineWorkgroupTreeApp from './workgroup-tree-inline-app.vue'
39
- import { reactive, ref, onMounted, defineEmits } from 'vue'
22
+ import { reactive,ref,onMounted, defineEmits } from 'vue'
40
23
  const props = defineProps<{
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})
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
- .organization-tree .el-checkbox__label,
89
- .organization-tree .el-breadcrumb__inner,
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
- .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;
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
- padding-top: 10px;
75
+ padding-top: 10px;
104
76
  }
105
77
  .organization-tree .card-content {
106
- margin-top: 10px;
78
+ margin-top: 10px;
107
79
  }
108
80
  .organization-tree .item-row-all {
109
- margin-bottom: 10px;
81
+ margin-bottom: 10px;
110
82
  }
111
83
  .organization-tree .item-row {
112
- display: flex;
113
- width: 100%;
84
+ display: flex;
85
+ width: 100%;
114
86
  }
115
87
  .organization-tree .item-label {
116
- flex: 0 0 90%;
117
- text-align: left;
88
+ flex: 0 0 90%;
89
+ text-align: left;
118
90
  }
119
91
  .organization-tree .item-side {
120
- flex: 0 0 10%;
121
- text-align: right;
92
+ flex: 0 0 10%;
93
+ text-align: right;
122
94
  }
123
95
  .organization-tree .el-tree-node {
124
- margin-bottom: 10px;
96
+ margin-bottom: 10px;
125
97
  }
126
98
 
127
- .organization-tree .el-tree-node__content > .el-tree-node__expand-icon {
128
- padding: 0;
129
- display: none;
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
- padding: 20px;
105
+ padding: 20px;
134
106
  }
135
107
  .organization-tree .card-footer .select-result {
136
- color: #409eff;
137
- flex: 1 1 75%;
138
- text-align: left;
108
+ color: #409EFF;
109
+ flex:1 1 75%;
110
+ text-align: left;
139
111
  }
140
112
  .organization-tree .card-footer .button-area {
141
- flex: 0 0 20%;
142
- text-align: right;
113
+ flex:0 0 20%;
114
+ text-align: right;
143
115
  }
144
116
 
145
- .organization-tree .dept-path .breadcrumb-label-link {
146
- color: #409eff;
117
+ .organization-tree .dept-path .breadcrumb-label-link{
118
+ color:#409EFF
147
119
  }
148
120
  </style>