yuang-framework-ui-pc 1.1.53 → 1.1.54
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/es/yu-framework-attachment-upload/index.js +2 -2
- package/es/yu-uims-organization-dialog/components/organization-dialog.js +2 -2
- package/es/yu-uims-role-dialog/components/role-dialog.js +2 -2
- package/es/yu-uims-role-dialog/components/role-query.d.ts +6 -6
- package/es/yu-uims-user-dialog/components/user-dialog.js +2 -2
- package/es/yu-uims-user-dialog/components/user-query.d.ts +6 -6
- package/lib/yu-framework-attachment-upload/index.cjs +2 -2
- package/lib/yu-uims-organization-dialog/components/organization-dialog.cjs +2 -2
- package/lib/yu-uims-role-dialog/components/role-dialog.cjs +2 -2
- package/lib/yu-uims-role-dialog/components/role-query.d.ts +6 -6
- package/lib/yu-uims-user-dialog/components/user-dialog.cjs +2 -2
- package/lib/yu-uims-user-dialog/components/user-query.d.ts +6 -6
- package/package.json +2 -2
|
@@ -51,7 +51,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
51
51
|
});
|
|
52
52
|
const init = () => {
|
|
53
53
|
images.value = [];
|
|
54
|
-
http.post(`${application.gatewayServerBaseUrl}/framework-api/core/framework-attachment/selectPage`, {
|
|
54
|
+
http.post(`${application.gatewayServerBaseUrl}/framework-api/core/framework-attachment/selectPage`, { codeForEqual: model.value, pageSize: 100 }).then((res) => {
|
|
55
55
|
let attachemtList = res.data.data.records;
|
|
56
56
|
for (let i = 0; i < attachemtList.length; i++) {
|
|
57
57
|
images.value.push({
|
|
@@ -136,7 +136,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
136
136
|
});
|
|
137
137
|
};
|
|
138
138
|
const emitChange = () => {
|
|
139
|
-
http.post(`${application.gatewayServerBaseUrl}/framework-api/core/framework-attachment/selectPage`, {
|
|
139
|
+
http.post(`${application.gatewayServerBaseUrl}/framework-api/core/framework-attachment/selectPage`, { codeForEqual: model.value, pageSize: 100 }).then((res) => {
|
|
140
140
|
let attachemtList = res.data.data.records;
|
|
141
141
|
emit("change", attachemtList);
|
|
142
142
|
});
|
|
@@ -49,7 +49,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
49
49
|
var _a, _b;
|
|
50
50
|
let data = {};
|
|
51
51
|
if (!queryCondition) {
|
|
52
|
-
data = {
|
|
52
|
+
data = { parentIdForEqual: ((_a = node == null ? void 0 : node.data) == null ? void 0 : _a.id) || "0" };
|
|
53
53
|
} else {
|
|
54
54
|
data = deepClone(queryCondition);
|
|
55
55
|
data.parentId = ((_b = node == null ? void 0 : node.data) == null ? void 0 : _b.id) || "0";
|
|
@@ -145,7 +145,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
145
145
|
};
|
|
146
146
|
let queryCondition = null;
|
|
147
147
|
const initQueryPage = async () => {
|
|
148
|
-
queryCondition = orgName.value ? {
|
|
148
|
+
queryCondition = orgName.value ? { queryForMode: "treePart", parentIdForEqual: "0", nameForLike: orgName.value } : null;
|
|
149
149
|
reloadTree();
|
|
150
150
|
};
|
|
151
151
|
const reloadTree = () => {
|
|
@@ -29,7 +29,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
29
29
|
const selectedApplication = ref(null);
|
|
30
30
|
const applicationName = ref("");
|
|
31
31
|
const queryPage = async () => {
|
|
32
|
-
let data = {
|
|
32
|
+
let data = { parentIdForEqual: "0", nameForLike: applicationName.value };
|
|
33
33
|
isLoading.value = true;
|
|
34
34
|
const res = await http.post(`${application.gatewayServerBaseUrl}/uims-api/admin/uims-application/selectPage`, data);
|
|
35
35
|
isLoading.value = false;
|
|
@@ -63,7 +63,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
65
|
const initQueryPage = async () => {
|
|
66
|
-
applicationName.value ? {
|
|
66
|
+
applicationName.value ? { queryForMode: "treePart", parentIdForEqual: "0", nameForLike: applicationName.value } : null;
|
|
67
67
|
reloadTree();
|
|
68
68
|
};
|
|
69
69
|
const reloadTree = () => {
|
|
@@ -6,19 +6,19 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
6
6
|
codeForLike?: string | undefined;
|
|
7
7
|
currentPage?: number | undefined;
|
|
8
8
|
pageSize?: number | undefined;
|
|
9
|
-
|
|
9
|
+
queryForMode?: string | undefined;
|
|
10
10
|
levelNum?: number | undefined;
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
uimsApplicationIdForEqual?: string | undefined;
|
|
12
|
+
parentIdForEqual?: string | undefined;
|
|
13
13
|
}, UimsRoleQueryParam | {
|
|
14
14
|
nameForLike?: string | undefined;
|
|
15
15
|
codeForLike?: string | undefined;
|
|
16
16
|
currentPage?: number | undefined;
|
|
17
17
|
pageSize?: number | undefined;
|
|
18
|
-
|
|
18
|
+
queryForMode?: string | undefined;
|
|
19
19
|
levelNum?: number | undefined;
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
uimsApplicationIdForEqual?: string | undefined;
|
|
21
|
+
parentIdForEqual?: string | undefined;
|
|
22
22
|
}>;
|
|
23
23
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
24
24
|
query: () => void;
|
|
@@ -33,7 +33,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
33
33
|
var _a, _b;
|
|
34
34
|
let data = {};
|
|
35
35
|
if (!queryCondition) {
|
|
36
|
-
data = {
|
|
36
|
+
data = { parentIdForEqual: ((_a = node == null ? void 0 : node.data) == null ? void 0 : _a.id) || "0" };
|
|
37
37
|
} else {
|
|
38
38
|
data = deepClone(queryCondition);
|
|
39
39
|
data.parentId = ((_b = node == null ? void 0 : node.data) == null ? void 0 : _b.id) || "0";
|
|
@@ -86,7 +86,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
86
86
|
};
|
|
87
87
|
let queryCondition = null;
|
|
88
88
|
const initQueryPage = async () => {
|
|
89
|
-
queryCondition = orgName.value ? {
|
|
89
|
+
queryCondition = orgName.value ? { queryForMode: "treePart", parentIdForEqual: "0", nameForLike: orgName.value } : null;
|
|
90
90
|
reloadTree();
|
|
91
91
|
};
|
|
92
92
|
const reloadTree = () => {
|
|
@@ -7,20 +7,20 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
7
7
|
isRecursiveOrganization?: boolean | undefined;
|
|
8
8
|
currentPage?: number | undefined;
|
|
9
9
|
pageSize?: number | undefined;
|
|
10
|
-
|
|
10
|
+
queryForMode?: string | undefined;
|
|
11
11
|
levelNum?: number | undefined;
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
uimsApplicationIdForEqual?: string | undefined;
|
|
13
|
+
parentIdForEqual?: string | undefined;
|
|
14
14
|
}, UimsUserQueryParam | {
|
|
15
15
|
nameForLike?: string | undefined;
|
|
16
16
|
accountForLike?: string | undefined;
|
|
17
17
|
isRecursiveOrganization?: boolean | undefined;
|
|
18
18
|
currentPage?: number | undefined;
|
|
19
19
|
pageSize?: number | undefined;
|
|
20
|
-
|
|
20
|
+
queryForMode?: string | undefined;
|
|
21
21
|
levelNum?: number | undefined;
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
uimsApplicationIdForEqual?: string | undefined;
|
|
23
|
+
parentIdForEqual?: string | undefined;
|
|
24
24
|
}>;
|
|
25
25
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
26
|
query: () => void;
|
|
@@ -52,7 +52,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
52
52
|
});
|
|
53
53
|
const init = () => {
|
|
54
54
|
images.value = [];
|
|
55
|
-
httpConfig.http.post(`${applicationConfig.application.gatewayServerBaseUrl}/framework-api/core/framework-attachment/selectPage`, {
|
|
55
|
+
httpConfig.http.post(`${applicationConfig.application.gatewayServerBaseUrl}/framework-api/core/framework-attachment/selectPage`, { codeForEqual: model.value, pageSize: 100 }).then((res) => {
|
|
56
56
|
let attachemtList = res.data.data.records;
|
|
57
57
|
for (let i = 0; i < attachemtList.length; i++) {
|
|
58
58
|
images.value.push({
|
|
@@ -137,7 +137,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
137
137
|
});
|
|
138
138
|
};
|
|
139
139
|
const emitChange = () => {
|
|
140
|
-
httpConfig.http.post(`${applicationConfig.application.gatewayServerBaseUrl}/framework-api/core/framework-attachment/selectPage`, {
|
|
140
|
+
httpConfig.http.post(`${applicationConfig.application.gatewayServerBaseUrl}/framework-api/core/framework-attachment/selectPage`, { codeForEqual: model.value, pageSize: 100 }).then((res) => {
|
|
141
141
|
let attachemtList = res.data.data.records;
|
|
142
142
|
emit("change", attachemtList);
|
|
143
143
|
});
|
|
@@ -50,7 +50,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
50
50
|
var _a, _b;
|
|
51
51
|
let data = {};
|
|
52
52
|
if (!queryCondition) {
|
|
53
|
-
data = {
|
|
53
|
+
data = { parentIdForEqual: ((_a = node == null ? void 0 : node.data) == null ? void 0 : _a.id) || "0" };
|
|
54
54
|
} else {
|
|
55
55
|
data = objectUtils.deepClone(queryCondition);
|
|
56
56
|
data.parentId = ((_b = node == null ? void 0 : node.data) == null ? void 0 : _b.id) || "0";
|
|
@@ -146,7 +146,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
146
146
|
};
|
|
147
147
|
let queryCondition = null;
|
|
148
148
|
const initQueryPage = async () => {
|
|
149
|
-
queryCondition = orgName.value ? {
|
|
149
|
+
queryCondition = orgName.value ? { queryForMode: "treePart", parentIdForEqual: "0", nameForLike: orgName.value } : null;
|
|
150
150
|
reloadTree();
|
|
151
151
|
};
|
|
152
152
|
const reloadTree = () => {
|
|
@@ -30,7 +30,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
30
30
|
const selectedApplication = vue.ref(null);
|
|
31
31
|
const applicationName = vue.ref("");
|
|
32
32
|
const queryPage = async () => {
|
|
33
|
-
let data = {
|
|
33
|
+
let data = { parentIdForEqual: "0", nameForLike: applicationName.value };
|
|
34
34
|
isLoading.value = true;
|
|
35
35
|
const res = await httpConfig.http.post(`${applicationConfig.application.gatewayServerBaseUrl}/uims-api/admin/uims-application/selectPage`, data);
|
|
36
36
|
isLoading.value = false;
|
|
@@ -64,7 +64,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
66
|
const initQueryPage = async () => {
|
|
67
|
-
applicationName.value ? {
|
|
67
|
+
applicationName.value ? { queryForMode: "treePart", parentIdForEqual: "0", nameForLike: applicationName.value } : null;
|
|
68
68
|
reloadTree();
|
|
69
69
|
};
|
|
70
70
|
const reloadTree = () => {
|
|
@@ -6,19 +6,19 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
6
6
|
codeForLike?: string | undefined;
|
|
7
7
|
currentPage?: number | undefined;
|
|
8
8
|
pageSize?: number | undefined;
|
|
9
|
-
|
|
9
|
+
queryForMode?: string | undefined;
|
|
10
10
|
levelNum?: number | undefined;
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
uimsApplicationIdForEqual?: string | undefined;
|
|
12
|
+
parentIdForEqual?: string | undefined;
|
|
13
13
|
}, UimsRoleQueryParam | {
|
|
14
14
|
nameForLike?: string | undefined;
|
|
15
15
|
codeForLike?: string | undefined;
|
|
16
16
|
currentPage?: number | undefined;
|
|
17
17
|
pageSize?: number | undefined;
|
|
18
|
-
|
|
18
|
+
queryForMode?: string | undefined;
|
|
19
19
|
levelNum?: number | undefined;
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
uimsApplicationIdForEqual?: string | undefined;
|
|
21
|
+
parentIdForEqual?: string | undefined;
|
|
22
22
|
}>;
|
|
23
23
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
24
24
|
query: () => void;
|
|
@@ -34,7 +34,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
34
34
|
var _a, _b;
|
|
35
35
|
let data = {};
|
|
36
36
|
if (!queryCondition) {
|
|
37
|
-
data = {
|
|
37
|
+
data = { parentIdForEqual: ((_a = node == null ? void 0 : node.data) == null ? void 0 : _a.id) || "0" };
|
|
38
38
|
} else {
|
|
39
39
|
data = objectUtils.deepClone(queryCondition);
|
|
40
40
|
data.parentId = ((_b = node == null ? void 0 : node.data) == null ? void 0 : _b.id) || "0";
|
|
@@ -87,7 +87,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
87
87
|
};
|
|
88
88
|
let queryCondition = null;
|
|
89
89
|
const initQueryPage = async () => {
|
|
90
|
-
queryCondition = orgName.value ? {
|
|
90
|
+
queryCondition = orgName.value ? { queryForMode: "treePart", parentIdForEqual: "0", nameForLike: orgName.value } : null;
|
|
91
91
|
reloadTree();
|
|
92
92
|
};
|
|
93
93
|
const reloadTree = () => {
|
|
@@ -7,20 +7,20 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
7
7
|
isRecursiveOrganization?: boolean | undefined;
|
|
8
8
|
currentPage?: number | undefined;
|
|
9
9
|
pageSize?: number | undefined;
|
|
10
|
-
|
|
10
|
+
queryForMode?: string | undefined;
|
|
11
11
|
levelNum?: number | undefined;
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
uimsApplicationIdForEqual?: string | undefined;
|
|
13
|
+
parentIdForEqual?: string | undefined;
|
|
14
14
|
}, UimsUserQueryParam | {
|
|
15
15
|
nameForLike?: string | undefined;
|
|
16
16
|
accountForLike?: string | undefined;
|
|
17
17
|
isRecursiveOrganization?: boolean | undefined;
|
|
18
18
|
currentPage?: number | undefined;
|
|
19
19
|
pageSize?: number | undefined;
|
|
20
|
-
|
|
20
|
+
queryForMode?: string | undefined;
|
|
21
21
|
levelNum?: number | undefined;
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
uimsApplicationIdForEqual?: string | undefined;
|
|
23
|
+
parentIdForEqual?: string | undefined;
|
|
24
24
|
}>;
|
|
25
25
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
26
|
query: () => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yuang-framework-ui-pc",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.54",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "vite --host --config vite.global.ts --mode dev",
|
|
@@ -188,6 +188,6 @@
|
|
|
188
188
|
"repository": "",
|
|
189
189
|
"license": "",
|
|
190
190
|
"dependencies": {
|
|
191
|
-
"yuang-framework-ui-common": "^1.0.
|
|
191
|
+
"yuang-framework-ui-common": "^1.0.69"
|
|
192
192
|
}
|
|
193
193
|
}
|