@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
|
@@ -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>;
|
|
@@ -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,14 +21,14 @@ 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,
|
|
@@ -36,7 +36,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
36
36
|
},
|
|
37
37
|
searchsize: {
|
|
38
38
|
type: Number,
|
|
39
|
-
default:
|
|
39
|
+
default: 22
|
|
40
40
|
},
|
|
41
41
|
/**
|
|
42
42
|
* 值的属性值
|
|
@@ -76,40 +76,21 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
76
76
|
type: Number,
|
|
77
77
|
default: 1
|
|
78
78
|
},
|
|
79
|
-
/**
|
|
80
|
-
* 打开参数
|
|
81
|
-
*/
|
|
82
|
-
openParams: {
|
|
83
|
-
type: Object,
|
|
84
|
-
default: () => {
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
79
|
orgService: {
|
|
88
80
|
type: String,
|
|
89
|
-
default: "
|
|
81
|
+
default: "autoRes"
|
|
90
82
|
},
|
|
91
83
|
orgAction: {
|
|
92
84
|
type: String,
|
|
93
|
-
default: "
|
|
94
|
-
},
|
|
95
|
-
orgparas: {
|
|
96
|
-
type: Object,
|
|
97
|
-
default: () => {
|
|
98
|
-
id: 0;
|
|
99
|
-
}
|
|
85
|
+
default: "userOrgList"
|
|
100
86
|
},
|
|
101
87
|
userService: {
|
|
102
88
|
type: String,
|
|
103
|
-
default: "
|
|
89
|
+
default: "autoRes"
|
|
104
90
|
},
|
|
105
91
|
userAction: {
|
|
106
92
|
type: String,
|
|
107
|
-
default: "
|
|
108
|
-
},
|
|
109
|
-
userParams: {
|
|
110
|
-
type: Object,
|
|
111
|
-
default: () => {
|
|
112
|
-
}
|
|
93
|
+
default: "UserTable"
|
|
113
94
|
}
|
|
114
95
|
}, {
|
|
115
96
|
"name": {
|
|
@@ -201,11 +182,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
201
182
|
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => visibleopenDialog.value = $event),
|
|
202
183
|
orgService: __props.orgService,
|
|
203
184
|
orgAction: __props.orgAction,
|
|
204
|
-
orgparas: __props.
|
|
185
|
+
orgparas: __props.params,
|
|
205
186
|
title: __props.title,
|
|
206
187
|
userService: __props.userService,
|
|
207
188
|
userAction: __props.userAction,
|
|
208
|
-
userParams: __props.
|
|
189
|
+
userParams: __props.params,
|
|
209
190
|
onChange: handleSelectDialogChange
|
|
210
191
|
}, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])
|
|
211
192
|
]),
|
|
@@ -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.97 */
|
|
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,14 +27354,14 @@
|
|
|
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,
|
|
@@ -27360,7 +27369,7 @@
|
|
|
27360
27369
|
},
|
|
27361
27370
|
searchsize: {
|
|
27362
27371
|
type: Number,
|
|
27363
|
-
default:
|
|
27372
|
+
default: 22
|
|
27364
27373
|
},
|
|
27365
27374
|
/**
|
|
27366
27375
|
* 值的属性值
|
|
@@ -27400,39 +27409,21 @@
|
|
|
27400
27409
|
type: Number,
|
|
27401
27410
|
default: 1
|
|
27402
27411
|
},
|
|
27403
|
-
/**
|
|
27404
|
-
* 打开参数
|
|
27405
|
-
*/
|
|
27406
|
-
openParams: {
|
|
27407
|
-
type: Object,
|
|
27408
|
-
default: () => {
|
|
27409
|
-
}
|
|
27410
|
-
},
|
|
27411
27412
|
orgService: {
|
|
27412
27413
|
type: String,
|
|
27413
|
-
default: "
|
|
27414
|
+
default: "autoRes"
|
|
27414
27415
|
},
|
|
27415
27416
|
orgAction: {
|
|
27416
27417
|
type: String,
|
|
27417
|
-
default: "
|
|
27418
|
-
},
|
|
27419
|
-
orgparas: {
|
|
27420
|
-
type: Object,
|
|
27421
|
-
default: () => {
|
|
27422
|
-
}
|
|
27418
|
+
default: "userOrgList"
|
|
27423
27419
|
},
|
|
27424
27420
|
userService: {
|
|
27425
27421
|
type: String,
|
|
27426
|
-
default: "
|
|
27422
|
+
default: "autoRes"
|
|
27427
27423
|
},
|
|
27428
27424
|
userAction: {
|
|
27429
27425
|
type: String,
|
|
27430
|
-
default: "
|
|
27431
|
-
},
|
|
27432
|
-
userParams: {
|
|
27433
|
-
type: Object,
|
|
27434
|
-
default: () => {
|
|
27435
|
-
}
|
|
27426
|
+
default: "UserTable"
|
|
27436
27427
|
}
|
|
27437
27428
|
}, {
|
|
27438
27429
|
"name": {
|
|
@@ -27524,11 +27515,11 @@
|
|
|
27524
27515
|
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => visibleopenDialog.value = $event),
|
|
27525
27516
|
orgService: __props.orgService,
|
|
27526
27517
|
orgAction: __props.orgAction,
|
|
27527
|
-
orgparas: __props.
|
|
27518
|
+
orgparas: __props.params,
|
|
27528
27519
|
title: __props.title,
|
|
27529
27520
|
userService: __props.userService,
|
|
27530
27521
|
userAction: __props.userAction,
|
|
27531
|
-
userParams: __props.
|
|
27522
|
+
userParams: __props.params,
|
|
27532
27523
|
onChange: handleSelectDialogChange
|
|
27533
27524
|
}, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])
|
|
27534
27525
|
]),
|
|
@@ -27586,6 +27577,13 @@
|
|
|
27586
27577
|
type: String,
|
|
27587
27578
|
default: ""
|
|
27588
27579
|
},
|
|
27580
|
+
/**
|
|
27581
|
+
* 是否POST请求
|
|
27582
|
+
*/
|
|
27583
|
+
isPost: {
|
|
27584
|
+
type: Boolean,
|
|
27585
|
+
default: false
|
|
27586
|
+
},
|
|
27589
27587
|
paras: {
|
|
27590
27588
|
type: Object,
|
|
27591
27589
|
default: null
|
|
@@ -27638,7 +27636,7 @@
|
|
|
27638
27636
|
const fetchTreeData = async (showLoading = true) => {
|
|
27639
27637
|
var _a, _b;
|
|
27640
27638
|
if (showLoading) state.loading = true;
|
|
27641
|
-
var res = await useBaseApi(props.apiService).get(props.paras, props.apiAction);
|
|
27639
|
+
var res = props.isPost ? await useBaseApi(props.apiService).post(props.paras, props.apiAction) : await useBaseApi(props.apiService).get(props.paras, props.apiAction);
|
|
27642
27640
|
state.folderData = (_a = res.data.result) != null ? _a : [];
|
|
27643
27641
|
if (showLoading) state.loading = false;
|
|
27644
27642
|
const rtreeData = (_b = res.data.result) != null ? _b : [];
|