@fmdeui/fmui 1.0.94 → 1.0.96
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/components/fm-autocomplete/component/userSelectDialog.vue.d.ts +9 -0
- package/es/components/fm-autocomplete/index.d.ts +9 -0
- package/es/components/fm-autocomplete/index.vue.d.ts +9 -0
- package/es/components/fmtree/index.d.ts +9 -0
- package/es/components/fmtree/index.vue.d.ts +15 -0
- package/es/packages/components/fm-autocomplete/component/userSelectDialog.vue2.mjs +16 -7
- package/es/packages/components/fm-autocomplete/index.vue2.mjs +13 -8
- package/es/packages/components/fmtree/index.vue2.mjs +8 -1
- package/index.js +38 -17
- package/index.min.js +6 -6
- package/index.min.mjs +6 -6
- package/index.mjs +38 -17
- package/lib/components/fm-autocomplete/component/userSelectDialog.vue.d.ts +9 -0
- package/lib/components/fm-autocomplete/index.d.ts +9 -0
- package/lib/components/fm-autocomplete/index.vue.d.ts +9 -0
- package/lib/components/fmtree/index.d.ts +9 -0
- package/lib/components/fmtree/index.vue.d.ts +15 -0
- package/lib/packages/components/fm-autocomplete/component/userSelectDialog.vue2.js +16 -7
- package/lib/packages/components/fm-autocomplete/index.vue2.js +13 -8
- package/lib/packages/components/fmtree/index.vue2.js +8 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/package.json +1 -1
- /package/es/{component.css → make-installer.css} +0 -0
- /package/lib/{version.css → component.css} +0 -0
|
@@ -20,6 +20,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
20
20
|
type: StringConstructor;
|
|
21
21
|
default: string;
|
|
22
22
|
};
|
|
23
|
+
orgPost: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
23
27
|
orgparas: {
|
|
24
28
|
type: ObjectConstructor;
|
|
25
29
|
default: () => void;
|
|
@@ -60,6 +64,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
60
64
|
type: StringConstructor;
|
|
61
65
|
default: string;
|
|
62
66
|
};
|
|
67
|
+
orgPost: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
63
71
|
orgparas: {
|
|
64
72
|
type: ObjectConstructor;
|
|
65
73
|
default: () => void;
|
|
@@ -85,6 +93,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
85
93
|
visible: boolean;
|
|
86
94
|
orgService: string;
|
|
87
95
|
orgAction: string;
|
|
96
|
+
orgPost: boolean;
|
|
88
97
|
orgparas: Record<string, any>;
|
|
89
98
|
userService: string;
|
|
90
99
|
userAction: string;
|
|
@@ -16,6 +16,10 @@ export declare const FmAutocomplete: DefineComponent<ExtractPropTypes<{
|
|
|
16
16
|
type: NumberConstructor;
|
|
17
17
|
default: number;
|
|
18
18
|
};
|
|
19
|
+
searchsize: {
|
|
20
|
+
type: NumberConstructor;
|
|
21
|
+
default: number;
|
|
22
|
+
};
|
|
19
23
|
vId: {
|
|
20
24
|
type: StringConstructor;
|
|
21
25
|
default: string;
|
|
@@ -98,6 +102,10 @@ export declare const FmAutocomplete: DefineComponent<ExtractPropTypes<{
|
|
|
98
102
|
type: NumberConstructor;
|
|
99
103
|
default: number;
|
|
100
104
|
};
|
|
105
|
+
searchsize: {
|
|
106
|
+
type: NumberConstructor;
|
|
107
|
+
default: number;
|
|
108
|
+
};
|
|
101
109
|
vId: {
|
|
102
110
|
type: StringConstructor;
|
|
103
111
|
default: string;
|
|
@@ -177,6 +185,7 @@ export declare const FmAutocomplete: DefineComponent<ExtractPropTypes<{
|
|
|
177
185
|
userParams: Record<string, any>;
|
|
178
186
|
atoService: string;
|
|
179
187
|
atoAction: string;
|
|
188
|
+
searchsize: number;
|
|
180
189
|
vName: string;
|
|
181
190
|
qId: number;
|
|
182
191
|
openType: number;
|
|
@@ -22,6 +22,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
22
22
|
type: NumberConstructor;
|
|
23
23
|
default: number;
|
|
24
24
|
};
|
|
25
|
+
searchsize: {
|
|
26
|
+
type: NumberConstructor;
|
|
27
|
+
default: number;
|
|
28
|
+
};
|
|
25
29
|
/**
|
|
26
30
|
* 值的属性值
|
|
27
31
|
*/
|
|
@@ -126,6 +130,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
126
130
|
type: NumberConstructor;
|
|
127
131
|
default: number;
|
|
128
132
|
};
|
|
133
|
+
searchsize: {
|
|
134
|
+
type: NumberConstructor;
|
|
135
|
+
default: number;
|
|
136
|
+
};
|
|
129
137
|
/**
|
|
130
138
|
* 值的属性值
|
|
131
139
|
*/
|
|
@@ -221,6 +229,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
221
229
|
userParams: Record<string, any>;
|
|
222
230
|
atoService: string;
|
|
223
231
|
atoAction: string;
|
|
232
|
+
searchsize: number;
|
|
224
233
|
vName: string;
|
|
225
234
|
qId: number;
|
|
226
235
|
openType: number;
|
|
@@ -13,6 +13,10 @@ export declare const FmTree: DefineComponent<ExtractPropTypes<{
|
|
|
13
13
|
type: StringConstructor;
|
|
14
14
|
default: string;
|
|
15
15
|
};
|
|
16
|
+
isPost: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
16
20
|
paras: {
|
|
17
21
|
type: ObjectConstructor;
|
|
18
22
|
default: null;
|
|
@@ -81,6 +85,10 @@ export declare const FmTree: DefineComponent<ExtractPropTypes<{
|
|
|
81
85
|
type: StringConstructor;
|
|
82
86
|
default: string;
|
|
83
87
|
};
|
|
88
|
+
isPost: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
84
92
|
paras: {
|
|
85
93
|
type: ObjectConstructor;
|
|
86
94
|
default: null;
|
|
@@ -129,6 +137,7 @@ export declare const FmTree: DefineComponent<ExtractPropTypes<{
|
|
|
129
137
|
placeholder: string;
|
|
130
138
|
apiService: string;
|
|
131
139
|
apiAction: string;
|
|
140
|
+
isPost: boolean;
|
|
132
141
|
paras: Record<string, any>;
|
|
133
142
|
nodeKey: string;
|
|
134
143
|
defaultProps: Record<string, any>;
|
|
@@ -19,6 +19,13 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
19
19
|
type: StringConstructor;
|
|
20
20
|
default: string;
|
|
21
21
|
};
|
|
22
|
+
/**
|
|
23
|
+
* 是否POST请求
|
|
24
|
+
*/
|
|
25
|
+
isPost: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
22
29
|
paras: {
|
|
23
30
|
type: ObjectConstructor;
|
|
24
31
|
default: null;
|
|
@@ -93,6 +100,13 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
93
100
|
type: StringConstructor;
|
|
94
101
|
default: string;
|
|
95
102
|
};
|
|
103
|
+
/**
|
|
104
|
+
* 是否POST请求
|
|
105
|
+
*/
|
|
106
|
+
isPost: {
|
|
107
|
+
type: BooleanConstructor;
|
|
108
|
+
default: boolean;
|
|
109
|
+
};
|
|
96
110
|
paras: {
|
|
97
111
|
type: ObjectConstructor;
|
|
98
112
|
default: null;
|
|
@@ -141,6 +155,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
141
155
|
placeholder: string;
|
|
142
156
|
apiService: string;
|
|
143
157
|
apiAction: string;
|
|
158
|
+
isPost: boolean;
|
|
144
159
|
paras: Record<string, any>;
|
|
145
160
|
nodeKey: string;
|
|
146
161
|
defaultProps: Record<string, any>;
|
|
@@ -24,11 +24,15 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
24
24
|
},
|
|
25
25
|
orgService: {
|
|
26
26
|
type: String,
|
|
27
|
-
default: "
|
|
27
|
+
default: "autoRes"
|
|
28
28
|
},
|
|
29
29
|
orgAction: {
|
|
30
30
|
type: String,
|
|
31
|
-
default: "
|
|
31
|
+
default: "userOrgList"
|
|
32
|
+
},
|
|
33
|
+
orgPost: {
|
|
34
|
+
type: Boolean,
|
|
35
|
+
default: true
|
|
32
36
|
},
|
|
33
37
|
orgparas: {
|
|
34
38
|
type: Object,
|
|
@@ -37,11 +41,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
37
41
|
},
|
|
38
42
|
userService: {
|
|
39
43
|
type: String,
|
|
40
|
-
default: "
|
|
44
|
+
default: "autoRes"
|
|
41
45
|
},
|
|
42
46
|
userAction: {
|
|
43
47
|
type: String,
|
|
44
|
-
default: "
|
|
48
|
+
default: "UserTable"
|
|
45
49
|
},
|
|
46
50
|
userParams: {
|
|
47
51
|
type: Object,
|
|
@@ -96,6 +100,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
96
100
|
if (!row || row.id == "") return;
|
|
97
101
|
emits("change", { id: row.id, name: row.realName, data: row });
|
|
98
102
|
}
|
|
103
|
+
const handledbclick = (row) => {
|
|
104
|
+
handleSelectUser(row);
|
|
105
|
+
};
|
|
99
106
|
const handleSizeChange = (val) => {
|
|
100
107
|
state.queryParams.pageSize = val;
|
|
101
108
|
handleQuery();
|
|
@@ -189,10 +196,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
189
196
|
ref: "orgTreeRef",
|
|
190
197
|
apiService: __props.orgService,
|
|
191
198
|
apiAction: __props.orgAction,
|
|
192
|
-
|
|
199
|
+
isPost: __props.orgPost,
|
|
200
|
+
apiparas: __props.orgparas,
|
|
193
201
|
onNodeClick: handleNodeChange,
|
|
194
202
|
style: { "height": "calc(100% - 40px)", "overflow-y": "scroll", "overflow-x": "hidden" }
|
|
195
|
-
}, null, 8, ["apiService", "apiAction", "
|
|
203
|
+
}, null, 8, ["apiService", "apiAction", "isPost", "apiparas"])
|
|
196
204
|
]),
|
|
197
205
|
_: 1
|
|
198
206
|
/* STABLE */
|
|
@@ -282,7 +290,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
282
290
|
createVNode(_component_el_table, {
|
|
283
291
|
ref: "refTable",
|
|
284
292
|
data: userList.value,
|
|
285
|
-
style: { "height": "calc(70vh - 96px)" }
|
|
293
|
+
style: { "height": "calc(70vh - 96px)" },
|
|
294
|
+
onRowDblclick: handledbclick
|
|
286
295
|
}, {
|
|
287
296
|
default: withCtx(() => [
|
|
288
297
|
createVNode(_component_el_table_column, {
|
|
@@ -21,19 +21,23 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21
21
|
*/
|
|
22
22
|
atoService: {
|
|
23
23
|
type: String,
|
|
24
|
-
default: "
|
|
24
|
+
default: "autoRes"
|
|
25
25
|
},
|
|
26
26
|
/**
|
|
27
27
|
* ato service 下的方法
|
|
28
28
|
*/
|
|
29
29
|
atoAction: {
|
|
30
30
|
type: String,
|
|
31
|
-
default: "
|
|
31
|
+
default: "autoUser"
|
|
32
32
|
},
|
|
33
33
|
top: {
|
|
34
34
|
type: Number,
|
|
35
35
|
default: 15
|
|
36
36
|
},
|
|
37
|
+
searchsize: {
|
|
38
|
+
type: Number,
|
|
39
|
+
default: 22
|
|
40
|
+
},
|
|
37
41
|
/**
|
|
38
42
|
* 值的属性值
|
|
39
43
|
*/
|
|
@@ -82,11 +86,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
82
86
|
},
|
|
83
87
|
orgService: {
|
|
84
88
|
type: String,
|
|
85
|
-
default: "
|
|
89
|
+
default: "autoRes"
|
|
86
90
|
},
|
|
87
91
|
orgAction: {
|
|
88
92
|
type: String,
|
|
89
|
-
default: "
|
|
93
|
+
default: "userOrgList"
|
|
90
94
|
},
|
|
91
95
|
orgparas: {
|
|
92
96
|
type: Object,
|
|
@@ -96,11 +100,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
96
100
|
},
|
|
97
101
|
userService: {
|
|
98
102
|
type: String,
|
|
99
|
-
default: "
|
|
103
|
+
default: "autoRes"
|
|
100
104
|
},
|
|
101
105
|
userAction: {
|
|
102
106
|
type: String,
|
|
103
|
-
default: "
|
|
107
|
+
default: "UserTable"
|
|
104
108
|
},
|
|
105
109
|
userParams: {
|
|
106
110
|
type: Object,
|
|
@@ -180,9 +184,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
180
184
|
/* TEXT */
|
|
181
185
|
)
|
|
182
186
|
]),
|
|
183
|
-
|
|
187
|
+
suffix: withCtx(() => [
|
|
184
188
|
createVNode(_component_el_icon, {
|
|
185
189
|
color: "#E6A23C",
|
|
190
|
+
size: __props.searchsize,
|
|
186
191
|
onClick: _cache[0] || (_cache[0] = withModifiers(() => visibleopenDialog.value = true, ["stop"]))
|
|
187
192
|
}, {
|
|
188
193
|
default: withCtx(() => [
|
|
@@ -190,7 +195,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
190
195
|
]),
|
|
191
196
|
_: 1
|
|
192
197
|
/* STABLE */
|
|
193
|
-
}),
|
|
198
|
+
}, 8, ["size"]),
|
|
194
199
|
createVNode(_sfc_main$1, {
|
|
195
200
|
visible: visibleopenDialog.value,
|
|
196
201
|
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => visibleopenDialog.value = $event),
|
|
@@ -29,6 +29,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
29
29
|
type: String,
|
|
30
30
|
default: ""
|
|
31
31
|
},
|
|
32
|
+
/**
|
|
33
|
+
* 是否POST请求
|
|
34
|
+
*/
|
|
35
|
+
isPost: {
|
|
36
|
+
type: Boolean,
|
|
37
|
+
default: false
|
|
38
|
+
},
|
|
32
39
|
paras: {
|
|
33
40
|
type: Object,
|
|
34
41
|
default: null
|
|
@@ -81,7 +88,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
81
88
|
const fetchTreeData = async (showLoading = true) => {
|
|
82
89
|
var _a, _b;
|
|
83
90
|
if (showLoading) state.loading = true;
|
|
84
|
-
var res = await useBaseApi(props.apiService).get(props.paras, props.apiAction);
|
|
91
|
+
var res = props.isPost ? await useBaseApi(props.apiService).post(props.paras, props.apiAction) : await useBaseApi(props.apiService).get(props.paras, props.apiAction);
|
|
85
92
|
state.folderData = (_a = res.data.result) != null ? _a : [];
|
|
86
93
|
if (showLoading) state.loading = false;
|
|
87
94
|
const rtreeData = (_b = res.data.result) != null ? _b : [];
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.96 */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vxe-table'), require('@vxe-ui/plugin-render-element'), require('@vxe-ui/plugin-export-xlsx'), require('vxe-pc-ui'), require('exceljs'), require('@element-plus/icons-vue'), require('vue'), require('element-plus'), require('lodash-es'), require('js-cookie'), require('pinia'), require('vue-router'), require('@vueuse/core'), require('crypto-js'), require('xlsx-js-style'), require('vue-i18n'), require('sortablejs'), require('screenfull'), require('push.js'), require('mitt'), require('@microsoft/signalr'), require('axios')) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports', 'vxe-table', '@vxe-ui/plugin-render-element', '@vxe-ui/plugin-export-xlsx', 'vxe-pc-ui', 'exceljs', '@element-plus/icons-vue', 'vue', 'element-plus', 'lodash-es', 'js-cookie', 'pinia', 'vue-router', '@vueuse/core', 'crypto-js', 'xlsx-js-style', 'vue-i18n', 'sortablejs', 'screenfull', 'push.js', 'mitt', '@microsoft/signalr', 'axios'], factory) :
|
|
@@ -26969,11 +26969,15 @@
|
|
|
26969
26969
|
},
|
|
26970
26970
|
orgService: {
|
|
26971
26971
|
type: String,
|
|
26972
|
-
default: "
|
|
26972
|
+
default: "autoRes"
|
|
26973
26973
|
},
|
|
26974
26974
|
orgAction: {
|
|
26975
26975
|
type: String,
|
|
26976
|
-
default: "
|
|
26976
|
+
default: "userOrgList"
|
|
26977
|
+
},
|
|
26978
|
+
orgPost: {
|
|
26979
|
+
type: Boolean,
|
|
26980
|
+
default: true
|
|
26977
26981
|
},
|
|
26978
26982
|
orgparas: {
|
|
26979
26983
|
type: Object,
|
|
@@ -26982,11 +26986,11 @@
|
|
|
26982
26986
|
},
|
|
26983
26987
|
userService: {
|
|
26984
26988
|
type: String,
|
|
26985
|
-
default: "
|
|
26989
|
+
default: "autoRes"
|
|
26986
26990
|
},
|
|
26987
26991
|
userAction: {
|
|
26988
26992
|
type: String,
|
|
26989
|
-
default: "
|
|
26993
|
+
default: "UserTable"
|
|
26990
26994
|
},
|
|
26991
26995
|
userParams: {
|
|
26992
26996
|
type: Object,
|
|
@@ -27041,6 +27045,9 @@
|
|
|
27041
27045
|
if (!row || row.id == "") return;
|
|
27042
27046
|
emits("change", { id: row.id, name: row.realName, data: row });
|
|
27043
27047
|
}
|
|
27048
|
+
const handledbclick = (row) => {
|
|
27049
|
+
handleSelectUser(row);
|
|
27050
|
+
};
|
|
27044
27051
|
const handleSizeChange = (val) => {
|
|
27045
27052
|
state.queryParams.pageSize = val;
|
|
27046
27053
|
handleQuery();
|
|
@@ -27134,10 +27141,11 @@
|
|
|
27134
27141
|
ref: "orgTreeRef",
|
|
27135
27142
|
apiService: __props.orgService,
|
|
27136
27143
|
apiAction: __props.orgAction,
|
|
27137
|
-
|
|
27144
|
+
isPost: __props.orgPost,
|
|
27145
|
+
apiparas: __props.orgparas,
|
|
27138
27146
|
onNodeClick: handleNodeChange,
|
|
27139
27147
|
style: { "height": "calc(100% - 40px)", "overflow-y": "scroll", "overflow-x": "hidden" }
|
|
27140
|
-
}, null, 8, ["apiService", "apiAction", "
|
|
27148
|
+
}, null, 8, ["apiService", "apiAction", "isPost", "apiparas"])
|
|
27141
27149
|
]),
|
|
27142
27150
|
_: 1
|
|
27143
27151
|
/* STABLE */
|
|
@@ -27227,7 +27235,8 @@
|
|
|
27227
27235
|
vue.createVNode(_component_el_table, {
|
|
27228
27236
|
ref: "refTable",
|
|
27229
27237
|
data: userList.value,
|
|
27230
|
-
style: { "height": "calc(70vh - 96px)" }
|
|
27238
|
+
style: { "height": "calc(70vh - 96px)" },
|
|
27239
|
+
onRowDblclick: handledbclick
|
|
27231
27240
|
}, {
|
|
27232
27241
|
default: vue.withCtx(() => [
|
|
27233
27242
|
vue.createVNode(_component_el_table_column, {
|
|
@@ -27345,19 +27354,23 @@
|
|
|
27345
27354
|
*/
|
|
27346
27355
|
atoService: {
|
|
27347
27356
|
type: String,
|
|
27348
|
-
default: "
|
|
27357
|
+
default: "autoRes"
|
|
27349
27358
|
},
|
|
27350
27359
|
/**
|
|
27351
27360
|
* ato service 下的方法
|
|
27352
27361
|
*/
|
|
27353
27362
|
atoAction: {
|
|
27354
27363
|
type: String,
|
|
27355
|
-
default: "
|
|
27364
|
+
default: "autoUser"
|
|
27356
27365
|
},
|
|
27357
27366
|
top: {
|
|
27358
27367
|
type: Number,
|
|
27359
27368
|
default: 15
|
|
27360
27369
|
},
|
|
27370
|
+
searchsize: {
|
|
27371
|
+
type: Number,
|
|
27372
|
+
default: 22
|
|
27373
|
+
},
|
|
27361
27374
|
/**
|
|
27362
27375
|
* 值的属性值
|
|
27363
27376
|
*/
|
|
@@ -27406,11 +27419,11 @@
|
|
|
27406
27419
|
},
|
|
27407
27420
|
orgService: {
|
|
27408
27421
|
type: String,
|
|
27409
|
-
default: "
|
|
27422
|
+
default: "autoRes"
|
|
27410
27423
|
},
|
|
27411
27424
|
orgAction: {
|
|
27412
27425
|
type: String,
|
|
27413
|
-
default: "
|
|
27426
|
+
default: "userOrgList"
|
|
27414
27427
|
},
|
|
27415
27428
|
orgparas: {
|
|
27416
27429
|
type: Object,
|
|
@@ -27419,11 +27432,11 @@
|
|
|
27419
27432
|
},
|
|
27420
27433
|
userService: {
|
|
27421
27434
|
type: String,
|
|
27422
|
-
default: "
|
|
27435
|
+
default: "autoRes"
|
|
27423
27436
|
},
|
|
27424
27437
|
userAction: {
|
|
27425
27438
|
type: String,
|
|
27426
|
-
default: "
|
|
27439
|
+
default: "UserTable"
|
|
27427
27440
|
},
|
|
27428
27441
|
userParams: {
|
|
27429
27442
|
type: Object,
|
|
@@ -27503,9 +27516,10 @@
|
|
|
27503
27516
|
/* TEXT */
|
|
27504
27517
|
)
|
|
27505
27518
|
]),
|
|
27506
|
-
|
|
27519
|
+
suffix: vue.withCtx(() => [
|
|
27507
27520
|
vue.createVNode(_component_el_icon, {
|
|
27508
27521
|
color: "#E6A23C",
|
|
27522
|
+
size: __props.searchsize,
|
|
27509
27523
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => visibleopenDialog.value = true, ["stop"]))
|
|
27510
27524
|
}, {
|
|
27511
27525
|
default: vue.withCtx(() => [
|
|
@@ -27513,7 +27527,7 @@
|
|
|
27513
27527
|
]),
|
|
27514
27528
|
_: 1
|
|
27515
27529
|
/* STABLE */
|
|
27516
|
-
}),
|
|
27530
|
+
}, 8, ["size"]),
|
|
27517
27531
|
vue.createVNode(_sfc_main$q, {
|
|
27518
27532
|
visible: visibleopenDialog.value,
|
|
27519
27533
|
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => visibleopenDialog.value = $event),
|
|
@@ -27581,6 +27595,13 @@
|
|
|
27581
27595
|
type: String,
|
|
27582
27596
|
default: ""
|
|
27583
27597
|
},
|
|
27598
|
+
/**
|
|
27599
|
+
* 是否POST请求
|
|
27600
|
+
*/
|
|
27601
|
+
isPost: {
|
|
27602
|
+
type: Boolean,
|
|
27603
|
+
default: false
|
|
27604
|
+
},
|
|
27584
27605
|
paras: {
|
|
27585
27606
|
type: Object,
|
|
27586
27607
|
default: null
|
|
@@ -27633,7 +27654,7 @@
|
|
|
27633
27654
|
const fetchTreeData = async (showLoading = true) => {
|
|
27634
27655
|
var _a, _b;
|
|
27635
27656
|
if (showLoading) state.loading = true;
|
|
27636
|
-
var res = await useBaseApi(props.apiService).get(props.paras, props.apiAction);
|
|
27657
|
+
var res = props.isPost ? await useBaseApi(props.apiService).post(props.paras, props.apiAction) : await useBaseApi(props.apiService).get(props.paras, props.apiAction);
|
|
27637
27658
|
state.folderData = (_a = res.data.result) != null ? _a : [];
|
|
27638
27659
|
if (showLoading) state.loading = false;
|
|
27639
27660
|
const rtreeData = (_b = res.data.result) != null ? _b : [];
|