adtec-core-package 2.1.1 → 2.1.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adtec-core-package",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -3,7 +3,7 @@
3
3
  <!--修改时间: 2024/11/8 上午10:33-->
4
4
  <template>
5
5
  <el-drawer v-model="dialogVisible" :title="title" size="850px" @close="dialogVisible = false">
6
- <userForm ref="ref_form" :fetch-data="fetchData" @success="success" :defalut-query-param="defalutQueryParam"></userForm>
6
+ <userForm ref="ref_form" :multiple="multiple" :fetch-data="fetchData" @success="success" :defalut-query-param="defalutQueryParam"></userForm>
7
7
  <template #footer>
8
8
  <el-button @click="dialogVisible = false">取消</el-button>
9
9
  <el-button type="primary" @click="confirm">确定</el-button>
@@ -26,6 +26,7 @@ interface Props<T extends IpageDataQuery, E extends IMdmEmployee> {
26
26
  fetchData?: (data: T) => Promise<PageData<E>>
27
27
  defalutQueryParam?: any
28
28
  diagLogLoading?: boolean
29
+ multiple?: boolean
29
30
  }
30
31
 
31
32
  const props = withDefaults(defineProps<Props<IMdmEmployeeQuery, IMdmEmployee>>(), {
@@ -33,6 +34,7 @@ const props = withDefaults(defineProps<Props<IMdmEmployeeQuery, IMdmEmployee>>()
33
34
  fetchData: EmployeeInfoApi.getMdmEmployeeListByIds,
34
35
  defalutQueryParam: {},
35
36
  diagLogLoading: false,
37
+ multiple: true
36
38
  })
37
39
  watch(
38
40
  () => props.modelValue,