@fmdeui/fmui 1.0.95 → 1.0.97
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 +0 -27
- package/es/components/fm-autocomplete/index.vue.d.ts +0 -33
- 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 +9 -28
- package/es/packages/components/fmtree/index.vue2.mjs +8 -1
- package/index.js +34 -36
- package/index.min.js +6 -6
- package/index.min.mjs +6 -6
- package/index.mjs +34 -36
- package/lib/components/fm-autocomplete/component/userSelectDialog.vue.d.ts +9 -0
- package/lib/components/fm-autocomplete/index.d.ts +0 -27
- package/lib/components/fm-autocomplete/index.vue.d.ts +0 -33
- 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 +9 -28
- 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/{version.css → defaults.css} +0 -0
package/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.97 */
|
|
2
2
|
import VxeUITable from 'vxe-table';
|
|
3
3
|
import VxeUIPluginRenderElement from '@vxe-ui/plugin-render-element';
|
|
4
4
|
import VxeUIPluginExportXLSX from '@vxe-ui/plugin-export-xlsx';
|
|
@@ -26967,11 +26967,15 @@ var _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
26967
26967
|
},
|
|
26968
26968
|
orgService: {
|
|
26969
26969
|
type: String,
|
|
26970
|
-
default: "
|
|
26970
|
+
default: "autoRes"
|
|
26971
26971
|
},
|
|
26972
26972
|
orgAction: {
|
|
26973
26973
|
type: String,
|
|
26974
|
-
default: "
|
|
26974
|
+
default: "userOrgList"
|
|
26975
|
+
},
|
|
26976
|
+
orgPost: {
|
|
26977
|
+
type: Boolean,
|
|
26978
|
+
default: true
|
|
26975
26979
|
},
|
|
26976
26980
|
orgparas: {
|
|
26977
26981
|
type: Object,
|
|
@@ -26980,11 +26984,11 @@ var _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
26980
26984
|
},
|
|
26981
26985
|
userService: {
|
|
26982
26986
|
type: String,
|
|
26983
|
-
default: "
|
|
26987
|
+
default: "autoRes"
|
|
26984
26988
|
},
|
|
26985
26989
|
userAction: {
|
|
26986
26990
|
type: String,
|
|
26987
|
-
default: "
|
|
26991
|
+
default: "UserTable"
|
|
26988
26992
|
},
|
|
26989
26993
|
userParams: {
|
|
26990
26994
|
type: Object,
|
|
@@ -27039,6 +27043,9 @@ var _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
27039
27043
|
if (!row || row.id == "") return;
|
|
27040
27044
|
emits("change", { id: row.id, name: row.realName, data: row });
|
|
27041
27045
|
}
|
|
27046
|
+
const handledbclick = (row) => {
|
|
27047
|
+
handleSelectUser(row);
|
|
27048
|
+
};
|
|
27042
27049
|
const handleSizeChange = (val) => {
|
|
27043
27050
|
state.queryParams.pageSize = val;
|
|
27044
27051
|
handleQuery();
|
|
@@ -27132,10 +27139,11 @@ var _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
27132
27139
|
ref: "orgTreeRef",
|
|
27133
27140
|
apiService: __props.orgService,
|
|
27134
27141
|
apiAction: __props.orgAction,
|
|
27135
|
-
|
|
27142
|
+
isPost: __props.orgPost,
|
|
27143
|
+
apiparas: __props.orgparas,
|
|
27136
27144
|
onNodeClick: handleNodeChange,
|
|
27137
27145
|
style: { "height": "calc(100% - 40px)", "overflow-y": "scroll", "overflow-x": "hidden" }
|
|
27138
|
-
}, null, 8, ["apiService", "apiAction", "
|
|
27146
|
+
}, null, 8, ["apiService", "apiAction", "isPost", "apiparas"])
|
|
27139
27147
|
]),
|
|
27140
27148
|
_: 1
|
|
27141
27149
|
/* STABLE */
|
|
@@ -27225,7 +27233,8 @@ var _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
27225
27233
|
createVNode(_component_el_table, {
|
|
27226
27234
|
ref: "refTable",
|
|
27227
27235
|
data: userList.value,
|
|
27228
|
-
style: { "height": "calc(70vh - 96px)" }
|
|
27236
|
+
style: { "height": "calc(70vh - 96px)" },
|
|
27237
|
+
onRowDblclick: handledbclick
|
|
27229
27238
|
}, {
|
|
27230
27239
|
default: withCtx(() => [
|
|
27231
27240
|
createVNode(_component_el_table_column, {
|
|
@@ -27343,14 +27352,14 @@ var _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
27343
27352
|
*/
|
|
27344
27353
|
atoService: {
|
|
27345
27354
|
type: String,
|
|
27346
|
-
default: "
|
|
27355
|
+
default: "autoRes"
|
|
27347
27356
|
},
|
|
27348
27357
|
/**
|
|
27349
27358
|
* ato service 下的方法
|
|
27350
27359
|
*/
|
|
27351
27360
|
atoAction: {
|
|
27352
27361
|
type: String,
|
|
27353
|
-
default: "
|
|
27362
|
+
default: "autoUser"
|
|
27354
27363
|
},
|
|
27355
27364
|
top: {
|
|
27356
27365
|
type: Number,
|
|
@@ -27358,7 +27367,7 @@ var _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
27358
27367
|
},
|
|
27359
27368
|
searchsize: {
|
|
27360
27369
|
type: Number,
|
|
27361
|
-
default:
|
|
27370
|
+
default: 22
|
|
27362
27371
|
},
|
|
27363
27372
|
/**
|
|
27364
27373
|
* 值的属性值
|
|
@@ -27398,39 +27407,21 @@ var _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
27398
27407
|
type: Number,
|
|
27399
27408
|
default: 1
|
|
27400
27409
|
},
|
|
27401
|
-
/**
|
|
27402
|
-
* 打开参数
|
|
27403
|
-
*/
|
|
27404
|
-
openParams: {
|
|
27405
|
-
type: Object,
|
|
27406
|
-
default: () => {
|
|
27407
|
-
}
|
|
27408
|
-
},
|
|
27409
27410
|
orgService: {
|
|
27410
27411
|
type: String,
|
|
27411
|
-
default: "
|
|
27412
|
+
default: "autoRes"
|
|
27412
27413
|
},
|
|
27413
27414
|
orgAction: {
|
|
27414
27415
|
type: String,
|
|
27415
|
-
default: "
|
|
27416
|
-
},
|
|
27417
|
-
orgparas: {
|
|
27418
|
-
type: Object,
|
|
27419
|
-
default: () => {
|
|
27420
|
-
}
|
|
27416
|
+
default: "userOrgList"
|
|
27421
27417
|
},
|
|
27422
27418
|
userService: {
|
|
27423
27419
|
type: String,
|
|
27424
|
-
default: "
|
|
27420
|
+
default: "autoRes"
|
|
27425
27421
|
},
|
|
27426
27422
|
userAction: {
|
|
27427
27423
|
type: String,
|
|
27428
|
-
default: "
|
|
27429
|
-
},
|
|
27430
|
-
userParams: {
|
|
27431
|
-
type: Object,
|
|
27432
|
-
default: () => {
|
|
27433
|
-
}
|
|
27424
|
+
default: "UserTable"
|
|
27434
27425
|
}
|
|
27435
27426
|
}, {
|
|
27436
27427
|
"name": {
|
|
@@ -27522,11 +27513,11 @@ var _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
27522
27513
|
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => visibleopenDialog.value = $event),
|
|
27523
27514
|
orgService: __props.orgService,
|
|
27524
27515
|
orgAction: __props.orgAction,
|
|
27525
|
-
orgparas: __props.
|
|
27516
|
+
orgparas: __props.params,
|
|
27526
27517
|
title: __props.title,
|
|
27527
27518
|
userService: __props.userService,
|
|
27528
27519
|
userAction: __props.userAction,
|
|
27529
|
-
userParams: __props.
|
|
27520
|
+
userParams: __props.params,
|
|
27530
27521
|
onChange: handleSelectDialogChange
|
|
27531
27522
|
}, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])
|
|
27532
27523
|
]),
|
|
@@ -27584,6 +27575,13 @@ var _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
27584
27575
|
type: String,
|
|
27585
27576
|
default: ""
|
|
27586
27577
|
},
|
|
27578
|
+
/**
|
|
27579
|
+
* 是否POST请求
|
|
27580
|
+
*/
|
|
27581
|
+
isPost: {
|
|
27582
|
+
type: Boolean,
|
|
27583
|
+
default: false
|
|
27584
|
+
},
|
|
27587
27585
|
paras: {
|
|
27588
27586
|
type: Object,
|
|
27589
27587
|
default: null
|
|
@@ -27636,7 +27634,7 @@ var _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
27636
27634
|
const fetchTreeData = async (showLoading = true) => {
|
|
27637
27635
|
var _a, _b;
|
|
27638
27636
|
if (showLoading) state.loading = true;
|
|
27639
|
-
var res = await useBaseApi(props.apiService).get(props.paras, props.apiAction);
|
|
27637
|
+
var res = props.isPost ? await useBaseApi(props.apiService).post(props.paras, props.apiAction) : await useBaseApi(props.apiService).get(props.paras, props.apiAction);
|
|
27640
27638
|
state.folderData = (_a = res.data.result) != null ? _a : [];
|
|
27641
27639
|
if (showLoading) state.loading = false;
|
|
27642
27640
|
const rtreeData = (_b = res.data.result) != null ? _b : [];
|
|
@@ -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;
|
|
@@ -44,10 +44,6 @@ export declare const FmAutocomplete: DefineComponent<ExtractPropTypes<{
|
|
|
44
44
|
type: NumberConstructor;
|
|
45
45
|
default: number;
|
|
46
46
|
};
|
|
47
|
-
openParams: {
|
|
48
|
-
type: ObjectConstructor;
|
|
49
|
-
default: () => void;
|
|
50
|
-
};
|
|
51
47
|
orgService: {
|
|
52
48
|
type: StringConstructor;
|
|
53
49
|
default: string;
|
|
@@ -56,10 +52,6 @@ export declare const FmAutocomplete: DefineComponent<ExtractPropTypes<{
|
|
|
56
52
|
type: StringConstructor;
|
|
57
53
|
default: string;
|
|
58
54
|
};
|
|
59
|
-
orgparas: {
|
|
60
|
-
type: ObjectConstructor;
|
|
61
|
-
default: () => void;
|
|
62
|
-
};
|
|
63
55
|
userService: {
|
|
64
56
|
type: StringConstructor;
|
|
65
57
|
default: string;
|
|
@@ -68,10 +60,6 @@ export declare const FmAutocomplete: DefineComponent<ExtractPropTypes<{
|
|
|
68
60
|
type: StringConstructor;
|
|
69
61
|
default: string;
|
|
70
62
|
};
|
|
71
|
-
userParams: {
|
|
72
|
-
type: ObjectConstructor;
|
|
73
|
-
default: () => void;
|
|
74
|
-
};
|
|
75
63
|
name: {
|
|
76
64
|
type: PropType<string>;
|
|
77
65
|
required: true;
|
|
@@ -130,10 +118,6 @@ export declare const FmAutocomplete: DefineComponent<ExtractPropTypes<{
|
|
|
130
118
|
type: NumberConstructor;
|
|
131
119
|
default: number;
|
|
132
120
|
};
|
|
133
|
-
openParams: {
|
|
134
|
-
type: ObjectConstructor;
|
|
135
|
-
default: () => void;
|
|
136
|
-
};
|
|
137
121
|
orgService: {
|
|
138
122
|
type: StringConstructor;
|
|
139
123
|
default: string;
|
|
@@ -142,10 +126,6 @@ export declare const FmAutocomplete: DefineComponent<ExtractPropTypes<{
|
|
|
142
126
|
type: StringConstructor;
|
|
143
127
|
default: string;
|
|
144
128
|
};
|
|
145
|
-
orgparas: {
|
|
146
|
-
type: ObjectConstructor;
|
|
147
|
-
default: () => void;
|
|
148
|
-
};
|
|
149
129
|
userService: {
|
|
150
130
|
type: StringConstructor;
|
|
151
131
|
default: string;
|
|
@@ -154,10 +134,6 @@ export declare const FmAutocomplete: DefineComponent<ExtractPropTypes<{
|
|
|
154
134
|
type: StringConstructor;
|
|
155
135
|
default: string;
|
|
156
136
|
};
|
|
157
|
-
userParams: {
|
|
158
|
-
type: ObjectConstructor;
|
|
159
|
-
default: () => void;
|
|
160
|
-
};
|
|
161
137
|
name: {
|
|
162
138
|
type: PropType<string>;
|
|
163
139
|
required: true;
|
|
@@ -179,15 +155,12 @@ export declare const FmAutocomplete: DefineComponent<ExtractPropTypes<{
|
|
|
179
155
|
vId: string;
|
|
180
156
|
orgService: string;
|
|
181
157
|
orgAction: string;
|
|
182
|
-
orgparas: Record<string, any>;
|
|
183
158
|
userService: string;
|
|
184
159
|
userAction: string;
|
|
185
|
-
userParams: Record<string, any>;
|
|
186
160
|
atoService: string;
|
|
187
161
|
atoAction: string;
|
|
188
162
|
searchsize: number;
|
|
189
163
|
vName: string;
|
|
190
164
|
qId: number;
|
|
191
165
|
openType: number;
|
|
192
|
-
openParams: Record<string, any>;
|
|
193
166
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -63,13 +63,6 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
63
63
|
type: NumberConstructor;
|
|
64
64
|
default: number;
|
|
65
65
|
};
|
|
66
|
-
/**
|
|
67
|
-
* 打开参数
|
|
68
|
-
*/
|
|
69
|
-
openParams: {
|
|
70
|
-
type: ObjectConstructor;
|
|
71
|
-
default: () => void;
|
|
72
|
-
};
|
|
73
66
|
orgService: {
|
|
74
67
|
type: StringConstructor;
|
|
75
68
|
default: string;
|
|
@@ -78,10 +71,6 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
78
71
|
type: StringConstructor;
|
|
79
72
|
default: string;
|
|
80
73
|
};
|
|
81
|
-
orgparas: {
|
|
82
|
-
type: ObjectConstructor;
|
|
83
|
-
default: () => void;
|
|
84
|
-
};
|
|
85
74
|
userService: {
|
|
86
75
|
type: StringConstructor;
|
|
87
76
|
default: string;
|
|
@@ -90,10 +79,6 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
90
79
|
type: StringConstructor;
|
|
91
80
|
default: string;
|
|
92
81
|
};
|
|
93
|
-
userParams: {
|
|
94
|
-
type: ObjectConstructor;
|
|
95
|
-
default: () => void;
|
|
96
|
-
};
|
|
97
82
|
name: {
|
|
98
83
|
type: PropType<string>;
|
|
99
84
|
required: true;
|
|
@@ -171,13 +156,6 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
171
156
|
type: NumberConstructor;
|
|
172
157
|
default: number;
|
|
173
158
|
};
|
|
174
|
-
/**
|
|
175
|
-
* 打开参数
|
|
176
|
-
*/
|
|
177
|
-
openParams: {
|
|
178
|
-
type: ObjectConstructor;
|
|
179
|
-
default: () => void;
|
|
180
|
-
};
|
|
181
159
|
orgService: {
|
|
182
160
|
type: StringConstructor;
|
|
183
161
|
default: string;
|
|
@@ -186,10 +164,6 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
186
164
|
type: StringConstructor;
|
|
187
165
|
default: string;
|
|
188
166
|
};
|
|
189
|
-
orgparas: {
|
|
190
|
-
type: ObjectConstructor;
|
|
191
|
-
default: () => void;
|
|
192
|
-
};
|
|
193
167
|
userService: {
|
|
194
168
|
type: StringConstructor;
|
|
195
169
|
default: string;
|
|
@@ -198,10 +172,6 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
198
172
|
type: StringConstructor;
|
|
199
173
|
default: string;
|
|
200
174
|
};
|
|
201
|
-
userParams: {
|
|
202
|
-
type: ObjectConstructor;
|
|
203
|
-
default: () => void;
|
|
204
|
-
};
|
|
205
175
|
name: {
|
|
206
176
|
type: PropType<string>;
|
|
207
177
|
required: true;
|
|
@@ -223,16 +193,13 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
223
193
|
vId: string;
|
|
224
194
|
orgService: string;
|
|
225
195
|
orgAction: string;
|
|
226
|
-
orgparas: Record<string, any>;
|
|
227
196
|
userService: string;
|
|
228
197
|
userAction: string;
|
|
229
|
-
userParams: Record<string, any>;
|
|
230
198
|
atoService: string;
|
|
231
199
|
atoAction: string;
|
|
232
200
|
searchsize: number;
|
|
233
201
|
vName: string;
|
|
234
202
|
qId: number;
|
|
235
203
|
openType: number;
|
|
236
|
-
openParams: Record<string, any>;
|
|
237
204
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
238
205
|
export default _default;
|
|
@@ -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>;
|
|
@@ -28,11 +28,15 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
28
28
|
},
|
|
29
29
|
orgService: {
|
|
30
30
|
type: String,
|
|
31
|
-
default: "
|
|
31
|
+
default: "autoRes"
|
|
32
32
|
},
|
|
33
33
|
orgAction: {
|
|
34
34
|
type: String,
|
|
35
|
-
default: "
|
|
35
|
+
default: "userOrgList"
|
|
36
|
+
},
|
|
37
|
+
orgPost: {
|
|
38
|
+
type: Boolean,
|
|
39
|
+
default: true
|
|
36
40
|
},
|
|
37
41
|
orgparas: {
|
|
38
42
|
type: Object,
|
|
@@ -41,11 +45,11 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
41
45
|
},
|
|
42
46
|
userService: {
|
|
43
47
|
type: String,
|
|
44
|
-
default: "
|
|
48
|
+
default: "autoRes"
|
|
45
49
|
},
|
|
46
50
|
userAction: {
|
|
47
51
|
type: String,
|
|
48
|
-
default: "
|
|
52
|
+
default: "UserTable"
|
|
49
53
|
},
|
|
50
54
|
userParams: {
|
|
51
55
|
type: Object,
|
|
@@ -100,6 +104,9 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
100
104
|
if (!row || row.id == "") return;
|
|
101
105
|
emits("change", { id: row.id, name: row.realName, data: row });
|
|
102
106
|
}
|
|
107
|
+
const handledbclick = (row) => {
|
|
108
|
+
handleSelectUser(row);
|
|
109
|
+
};
|
|
103
110
|
const handleSizeChange = (val) => {
|
|
104
111
|
state.queryParams.pageSize = val;
|
|
105
112
|
handleQuery();
|
|
@@ -193,10 +200,11 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
193
200
|
ref: "orgTreeRef",
|
|
194
201
|
apiService: __props.orgService,
|
|
195
202
|
apiAction: __props.orgAction,
|
|
196
|
-
|
|
203
|
+
isPost: __props.orgPost,
|
|
204
|
+
apiparas: __props.orgparas,
|
|
197
205
|
onNodeClick: handleNodeChange,
|
|
198
206
|
style: { "height": "calc(100% - 40px)", "overflow-y": "scroll", "overflow-x": "hidden" }
|
|
199
|
-
}, null, 8, ["apiService", "apiAction", "
|
|
207
|
+
}, null, 8, ["apiService", "apiAction", "isPost", "apiparas"])
|
|
200
208
|
]),
|
|
201
209
|
_: 1
|
|
202
210
|
/* STABLE */
|
|
@@ -286,7 +294,8 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
286
294
|
vue.createVNode(_component_el_table, {
|
|
287
295
|
ref: "refTable",
|
|
288
296
|
data: userList.value,
|
|
289
|
-
style: { "height": "calc(70vh - 96px)" }
|
|
297
|
+
style: { "height": "calc(70vh - 96px)" },
|
|
298
|
+
onRowDblclick: handledbclick
|
|
290
299
|
}, {
|
|
291
300
|
default: vue.withCtx(() => [
|
|
292
301
|
vue.createVNode(_component_el_table_column, {
|
|
@@ -25,14 +25,14 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
25
25
|
*/
|
|
26
26
|
atoService: {
|
|
27
27
|
type: String,
|
|
28
|
-
default: "
|
|
28
|
+
default: "autoRes"
|
|
29
29
|
},
|
|
30
30
|
/**
|
|
31
31
|
* ato service 下的方法
|
|
32
32
|
*/
|
|
33
33
|
atoAction: {
|
|
34
34
|
type: String,
|
|
35
|
-
default: "
|
|
35
|
+
default: "autoUser"
|
|
36
36
|
},
|
|
37
37
|
top: {
|
|
38
38
|
type: Number,
|
|
@@ -40,7 +40,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
40
40
|
},
|
|
41
41
|
searchsize: {
|
|
42
42
|
type: Number,
|
|
43
|
-
default:
|
|
43
|
+
default: 22
|
|
44
44
|
},
|
|
45
45
|
/**
|
|
46
46
|
* 值的属性值
|
|
@@ -80,40 +80,21 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
80
80
|
type: Number,
|
|
81
81
|
default: 1
|
|
82
82
|
},
|
|
83
|
-
/**
|
|
84
|
-
* 打开参数
|
|
85
|
-
*/
|
|
86
|
-
openParams: {
|
|
87
|
-
type: Object,
|
|
88
|
-
default: () => {
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
83
|
orgService: {
|
|
92
84
|
type: String,
|
|
93
|
-
default: "
|
|
85
|
+
default: "autoRes"
|
|
94
86
|
},
|
|
95
87
|
orgAction: {
|
|
96
88
|
type: String,
|
|
97
|
-
default: "
|
|
98
|
-
},
|
|
99
|
-
orgparas: {
|
|
100
|
-
type: Object,
|
|
101
|
-
default: () => {
|
|
102
|
-
id: 0;
|
|
103
|
-
}
|
|
89
|
+
default: "userOrgList"
|
|
104
90
|
},
|
|
105
91
|
userService: {
|
|
106
92
|
type: String,
|
|
107
|
-
default: "
|
|
93
|
+
default: "autoRes"
|
|
108
94
|
},
|
|
109
95
|
userAction: {
|
|
110
96
|
type: String,
|
|
111
|
-
default: "
|
|
112
|
-
},
|
|
113
|
-
userParams: {
|
|
114
|
-
type: Object,
|
|
115
|
-
default: () => {
|
|
116
|
-
}
|
|
97
|
+
default: "UserTable"
|
|
117
98
|
}
|
|
118
99
|
}, {
|
|
119
100
|
"name": {
|
|
@@ -205,11 +186,11 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
205
186
|
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => visibleopenDialog.value = $event),
|
|
206
187
|
orgService: __props.orgService,
|
|
207
188
|
orgAction: __props.orgAction,
|
|
208
|
-
orgparas: __props.
|
|
189
|
+
orgparas: __props.params,
|
|
209
190
|
title: __props.title,
|
|
210
191
|
userService: __props.userService,
|
|
211
192
|
userAction: __props.userAction,
|
|
212
|
-
userParams: __props.
|
|
193
|
+
userParams: __props.params,
|
|
213
194
|
onChange: handleSelectDialogChange
|
|
214
195
|
}, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])
|
|
215
196
|
]),
|
|
@@ -33,6 +33,13 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
33
33
|
type: String,
|
|
34
34
|
default: ""
|
|
35
35
|
},
|
|
36
|
+
/**
|
|
37
|
+
* 是否POST请求
|
|
38
|
+
*/
|
|
39
|
+
isPost: {
|
|
40
|
+
type: Boolean,
|
|
41
|
+
default: false
|
|
42
|
+
},
|
|
36
43
|
paras: {
|
|
37
44
|
type: Object,
|
|
38
45
|
default: null
|
|
@@ -85,7 +92,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
85
92
|
const fetchTreeData = async (showLoading = true) => {
|
|
86
93
|
var _a, _b;
|
|
87
94
|
if (showLoading) state.loading = true;
|
|
88
|
-
var res = await index.useBaseApi(props.apiService).get(props.paras, props.apiAction);
|
|
95
|
+
var res = props.isPost ? await index.useBaseApi(props.apiService).post(props.paras, props.apiAction) : await index.useBaseApi(props.apiService).get(props.paras, props.apiAction);
|
|
89
96
|
state.folderData = (_a = res.data.result) != null ? _a : [];
|
|
90
97
|
if (showLoading) state.loading = false;
|
|
91
98
|
const rtreeData = (_b = res.data.result) != null ? _b : [];
|
package/locale/en.js
CHANGED
package/locale/en.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.97 */(function(e,t){typeof exports=="object"&&typeof module!="undefined"?module.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis!="undefined"?globalThis:e||self,e.fmdeuiPlusLocaleEn=t())})(this,(function(){"use strict";var e={name:"en",plus:{datepicker:{date:"Please select date",dates:"Please select dates",week:"Please select week",month:"Please select month",months:"Please select months",year:"Please select year",years:"Please select years",startDatePlaceholder:"Please select start date",endDatePlaceholder:"Please select end date",datetime:"Please select datetime",startMonthPlaceholder:"Please select start month",endMonthPlaceholder:"Please select end month",startTimePlaceholder:"Please select start time",endTimePlaceholder:"Please select end time",shortcutsDate:{today:"Today",yesterday:"Yesterday",lastWeek:"Last week"},shortcutsDaterange:{pastWeek:"Past week",pastMonth:"Past month",pastThreeMonths:"Past three months"},shortcutsMonthrange:{thisMonth:"This month",thisYear:"This year",pastSixMonths:"Past six months"},shortcutsDatetime:{today:"Today",yesterday:"Yesterday",lastWeek:"Last week"},shortcutsDatetimerange:{pastWeek:"Past week",pastMonth:"Past month",pastThreeMonths:"Past three months"}},form:{pleaseEnter:"Please enter ",pleaseSelect:"Please select "},input:{placeholder:"Please enter ",appendTitle:"Yuan",validatePhone:"Please enter a valid phone number",validateIdCard:"Please enter a valid ID card number",validateInteger:"Please enter a valid integer",format:"Please enter a valid ",amount:"amount",numbers:"numbers",digitUppercase:"Please enter a valid amount format",validateError:"Please enter a valid format",escaped:{0:"Cent",1:"Penny",2:"Zero",3:"One",4:"Two",5:"Three",6:"Four",7:"Five",8:"Six",9:"Seven",10:"Eight",11:"Nine",12:"Yuan",13:"Ten thousand",14:"Ten million",15:"Ten billion",16:"Ten",17:"Hundred",18:"Thousand",19:"Short",20:"Whole"}},moduleForm:{save:"Save",back:"Back"},search:{searchText:"Search",resetText:"Reset",expand:"Expand",retract:"Retract",pleaseEnter:"Please enter ",pleaseSelect:"Please select ",popoverAttrs:{showTxt:"More",title:"All conditions",allTxt:"SelectAll",reverseTxt:"Reverse",clearTxt:"ClearAll"}},select:{selectAllTxt:"Select all"},selectIcon:{placeholder:"Please select icon",dialogTitle:"Please select icon",searchPlaceholder:"Search icon",emptyDescription:"No icon found"},copy:{copySuccess:"Copy success",copyFail:"Copy fail",invalidCopyContent:"Invalid copy content"},selectTable:{searchBtnTxt:"Search",radioTxt:"Radio",loadingTxt:"Loading...",copySuccess:"Copy success",copyFail:"Copy fail"},stepWizard:{lastBtnTitle:"Complete"},table:{columnBind:{btnTxt:"Column setting",title:"Column setting"},fistColumn:{label:"Number",radio:"Radio"},operator:{label:"Operation",more:"More",sum:"Sum",total:"Total",allSum:"All sum"},singleEdit:{tipText:"Click to edit"},pleaseEnter:"Please enter ",pleaseSelect:"Please select ",loadingTxt:"Loading...",dragTxt:"Drag",saveBtnTxt:"Save",density:"Density",default:"Default",loose:"Loose",compact:"Compact"},list:{idleTimeoutMessage:"Long time no operation, system logged out.",sysMessage:"System Message"}}};return e}));
|
package/locale/en.min.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.97 */var e={name:"en",plus:{datepicker:{date:"Please select date",dates:"Please select dates",week:"Please select week",month:"Please select month",months:"Please select months",year:"Please select year",years:"Please select years",startDatePlaceholder:"Please select start date",endDatePlaceholder:"Please select end date",datetime:"Please select datetime",startMonthPlaceholder:"Please select start month",endMonthPlaceholder:"Please select end month",startTimePlaceholder:"Please select start time",endTimePlaceholder:"Please select end time",shortcutsDate:{today:"Today",yesterday:"Yesterday",lastWeek:"Last week"},shortcutsDaterange:{pastWeek:"Past week",pastMonth:"Past month",pastThreeMonths:"Past three months"},shortcutsMonthrange:{thisMonth:"This month",thisYear:"This year",pastSixMonths:"Past six months"},shortcutsDatetime:{today:"Today",yesterday:"Yesterday",lastWeek:"Last week"},shortcutsDatetimerange:{pastWeek:"Past week",pastMonth:"Past month",pastThreeMonths:"Past three months"}},form:{pleaseEnter:"Please enter ",pleaseSelect:"Please select "},input:{placeholder:"Please enter ",appendTitle:"Yuan",validatePhone:"Please enter a valid phone number",validateIdCard:"Please enter a valid ID card number",validateInteger:"Please enter a valid integer",format:"Please enter a valid ",amount:"amount",numbers:"numbers",digitUppercase:"Please enter a valid amount format",validateError:"Please enter a valid format",escaped:{0:"Cent",1:"Penny",2:"Zero",3:"One",4:"Two",5:"Three",6:"Four",7:"Five",8:"Six",9:"Seven",10:"Eight",11:"Nine",12:"Yuan",13:"Ten thousand",14:"Ten million",15:"Ten billion",16:"Ten",17:"Hundred",18:"Thousand",19:"Short",20:"Whole"}},moduleForm:{save:"Save",back:"Back"},search:{searchText:"Search",resetText:"Reset",expand:"Expand",retract:"Retract",pleaseEnter:"Please enter ",pleaseSelect:"Please select ",popoverAttrs:{showTxt:"More",title:"All conditions",allTxt:"SelectAll",reverseTxt:"Reverse",clearTxt:"ClearAll"}},select:{selectAllTxt:"Select all"},selectIcon:{placeholder:"Please select icon",dialogTitle:"Please select icon",searchPlaceholder:"Search icon",emptyDescription:"No icon found"},copy:{copySuccess:"Copy success",copyFail:"Copy fail",invalidCopyContent:"Invalid copy content"},selectTable:{searchBtnTxt:"Search",radioTxt:"Radio",loadingTxt:"Loading...",copySuccess:"Copy success",copyFail:"Copy fail"},stepWizard:{lastBtnTitle:"Complete"},table:{columnBind:{btnTxt:"Column setting",title:"Column setting"},fistColumn:{label:"Number",radio:"Radio"},operator:{label:"Operation",more:"More",sum:"Sum",total:"Total",allSum:"All sum"},singleEdit:{tipText:"Click to edit"},pleaseEnter:"Please enter ",pleaseSelect:"Please select ",loadingTxt:"Loading...",dragTxt:"Drag",saveBtnTxt:"Save",density:"Density",default:"Default",loose:"Loose",compact:"Compact"},list:{idleTimeoutMessage:"Long time no operation, system logged out.",sysMessage:"System Message"}}};export{e as default};
|
package/locale/en.mjs
CHANGED
package/locale/zh-cn.js
CHANGED