adtec-core-package 2.1.2 → 2.1.4

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.2",
3
+ "version": "2.1.4",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -21,6 +21,6 @@ export default {
21
21
  * 获取组织列表
22
22
  */
23
23
  getMdmOrgList(query: IMdmOrgQuery) {
24
- return request.post<IMdmOrg[]>('/api/base/mdmDept/getMdmOrgList', query)
24
+ return request.post<IMdmOrg[]>('/api/base/mdmOrg/getMdmOrgList', query)
25
25
  },
26
26
  }
@@ -128,8 +128,8 @@ const defaultConfig = {
128
128
  image: {
129
129
  uploaderEvent: {
130
130
  onUploadBefore: (file, uploadUrl, headers) => {
131
- if (file.size > 1024 * 1024) {
132
- ElMessage.warning("图片大小不能超过1M")
131
+ if (file.size > 2 * 1024 * 1024) {
132
+ ElMessage.warning("图片大小不能超过2M")
133
133
  return false
134
134
  }
135
135
  },
@@ -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" :multiple="multiple" :fetch-data="fetchData" @success="success" :defalut-query-param="defalutQueryParam"></userForm>
6
+ <userForm ref="ref_form" v-if="dialogVisible" :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>