@fmdeui/fmui 1.0.138 → 1.0.140
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/supplierSelectDialog.vue.d.ts +4 -1
- package/es/components/fm-autocomplete/component/supplierUserSelectDialog.vue.d.ts +72 -0
- package/es/components/fm-autocomplete/index.d.ts +100 -2
- package/es/components/fm-autocomplete/index.vue.d.ts +100 -2
- package/es/packages/components/fm-autocomplete/component/supplierSelectDialog2.vue.mjs +4 -2
- package/es/packages/components/fm-autocomplete/component/supplierUserSelectDialog.vue.mjs +5 -0
- package/es/packages/components/fm-autocomplete/component/supplierUserSelectDialog2.vue.mjs +335 -0
- package/es/packages/components/fm-autocomplete/index2.vue.mjs +40 -11
- package/index.js +463 -104
- package/index.min.js +7 -7
- package/index.min.mjs +6 -6
- package/index.mjs +463 -104
- package/lib/components/fm-autocomplete/component/supplierSelectDialog.vue.d.ts +4 -1
- package/lib/components/fm-autocomplete/component/supplierUserSelectDialog.vue.d.ts +72 -0
- package/lib/components/fm-autocomplete/index.d.ts +100 -2
- package/lib/components/fm-autocomplete/index.vue.d.ts +100 -2
- package/lib/packages/components/fm-autocomplete/component/supplierSelectDialog2.vue.js +4 -2
- package/lib/packages/components/fm-autocomplete/component/supplierUserSelectDialog.vue.js +9 -0
- package/lib/packages/components/fm-autocomplete/component/supplierUserSelectDialog2.vue.js +339 -0
- package/lib/packages/components/fm-autocomplete/index2.vue.js +36 -7
- 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 → version.css} +0 -0
- /package/lib/{component.css → make-installer.css} +0 -0
|
@@ -0,0 +1,335 @@
|
|
|
1
|
+
import { defineComponent, ref, reactive, computed, onMounted, resolveComponent, openBlock, createBlock, isRef, unref, withCtx, createVNode, createElementVNode, withKeys, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
2
|
+
import '../../../api/index.mjs';
|
|
3
|
+
import { useBaseApi } from '../../../api/base/index.mjs';
|
|
4
|
+
|
|
5
|
+
const _hoisted_1 = { style: { "color": "#fff" } };
|
|
6
|
+
const _hoisted_2 = { style: { "margin-top": "10px" } };
|
|
7
|
+
const _hoisted_3 = { class: "dialog-footer" };
|
|
8
|
+
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
|
+
__name: "supplierUserSelectDialog",
|
|
10
|
+
props: {
|
|
11
|
+
visible: {
|
|
12
|
+
type: Boolean,
|
|
13
|
+
default: false
|
|
14
|
+
},
|
|
15
|
+
title: {
|
|
16
|
+
type: String,
|
|
17
|
+
default: ""
|
|
18
|
+
},
|
|
19
|
+
data: {
|
|
20
|
+
type: Array,
|
|
21
|
+
default: () => []
|
|
22
|
+
},
|
|
23
|
+
userService: {
|
|
24
|
+
type: String,
|
|
25
|
+
default: "autoRes"
|
|
26
|
+
},
|
|
27
|
+
userAction: {
|
|
28
|
+
type: String,
|
|
29
|
+
default: "supplierUserTable"
|
|
30
|
+
},
|
|
31
|
+
userParams: {
|
|
32
|
+
type: Object,
|
|
33
|
+
default: () => {
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
emits: ["update:visible", "change"],
|
|
38
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
39
|
+
let emits = __emit;
|
|
40
|
+
const props = __props;
|
|
41
|
+
const userList = ref([]);
|
|
42
|
+
let checkedUsersList = ref([]);
|
|
43
|
+
const state = reactive({
|
|
44
|
+
total: 0,
|
|
45
|
+
pdata: null,
|
|
46
|
+
queryParams: {
|
|
47
|
+
orgId: -1,
|
|
48
|
+
page: 1,
|
|
49
|
+
pageSize: 50
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
let visibleDialog = computed({
|
|
53
|
+
get() {
|
|
54
|
+
return props.visible;
|
|
55
|
+
},
|
|
56
|
+
set() {
|
|
57
|
+
closeDialog();
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
onMounted(async () => {
|
|
61
|
+
await getUserList();
|
|
62
|
+
});
|
|
63
|
+
const resetQuery = () => {
|
|
64
|
+
state.queryParams = {};
|
|
65
|
+
handleQuery();
|
|
66
|
+
};
|
|
67
|
+
const getUserList = async () => {
|
|
68
|
+
var _a, _b, _c, _d;
|
|
69
|
+
let res = await useBaseApi(props.userService).post({ ...state.queryParams, ...props.userParams }, props.userAction);
|
|
70
|
+
userList.value = (_b = (_a = res.data.result) == null ? void 0 : _a.items) != null ? _b : [];
|
|
71
|
+
state.queryParams.total = (_d = (_c = res.data.result) == null ? void 0 : _c.total) != null ? _d : 0;
|
|
72
|
+
};
|
|
73
|
+
async function handleQuery() {
|
|
74
|
+
state.queryParams.pageNum = 1;
|
|
75
|
+
await getUserList();
|
|
76
|
+
}
|
|
77
|
+
function handleSelectUser(row) {
|
|
78
|
+
if (!row || row.id == "") return;
|
|
79
|
+
emits("change", row);
|
|
80
|
+
}
|
|
81
|
+
const handledbclick = (row) => {
|
|
82
|
+
handleSelectUser(row);
|
|
83
|
+
};
|
|
84
|
+
const handleSizeChange = (val) => {
|
|
85
|
+
state.queryParams.pageSize = val;
|
|
86
|
+
handleQuery();
|
|
87
|
+
};
|
|
88
|
+
const handleCurrentChange = (val) => {
|
|
89
|
+
state.queryParams.page = val;
|
|
90
|
+
handleQuery();
|
|
91
|
+
};
|
|
92
|
+
const closeDialog = () => {
|
|
93
|
+
checkedUsersList.value = [];
|
|
94
|
+
emits("update:visible", false);
|
|
95
|
+
};
|
|
96
|
+
__expose({
|
|
97
|
+
handleQuery
|
|
98
|
+
});
|
|
99
|
+
return (_ctx, _cache) => {
|
|
100
|
+
const _component_ele_Edit = resolveComponent("ele-Edit");
|
|
101
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
102
|
+
const _component_el_input = resolveComponent("el-input");
|
|
103
|
+
const _component_el_form_item = resolveComponent("el-form-item");
|
|
104
|
+
const _component_el_button = resolveComponent("el-button");
|
|
105
|
+
const _component_el_button_group = resolveComponent("el-button-group");
|
|
106
|
+
const _component_el_form = resolveComponent("el-form");
|
|
107
|
+
const _component_el_table_column = resolveComponent("el-table-column");
|
|
108
|
+
const _component_ele_Plus = resolveComponent("ele-Plus");
|
|
109
|
+
const _component_el_table = resolveComponent("el-table");
|
|
110
|
+
const _component_el_pagination = resolveComponent("el-pagination");
|
|
111
|
+
const _component_el_card = resolveComponent("el-card");
|
|
112
|
+
const _component_el_col = resolveComponent("el-col");
|
|
113
|
+
const _component_el_row = resolveComponent("el-row");
|
|
114
|
+
const _component_el_dialog = resolveComponent("el-dialog");
|
|
115
|
+
return openBlock(), createBlock(_component_el_dialog, {
|
|
116
|
+
modelValue: unref(visibleDialog),
|
|
117
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(visibleDialog) ? visibleDialog.value = $event : visibleDialog = $event),
|
|
118
|
+
style: { "width": "70vw" },
|
|
119
|
+
"append-to-body": "",
|
|
120
|
+
draggable: "",
|
|
121
|
+
"close-on-click-modal": false
|
|
122
|
+
}, {
|
|
123
|
+
header: withCtx(() => [
|
|
124
|
+
createElementVNode("div", _hoisted_1, [
|
|
125
|
+
createVNode(_component_el_icon, {
|
|
126
|
+
size: "16",
|
|
127
|
+
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
128
|
+
}, {
|
|
129
|
+
default: withCtx(() => [
|
|
130
|
+
createVNode(_component_ele_Edit)
|
|
131
|
+
]),
|
|
132
|
+
_: 1
|
|
133
|
+
/* STABLE */
|
|
134
|
+
}),
|
|
135
|
+
createElementVNode(
|
|
136
|
+
"span",
|
|
137
|
+
null,
|
|
138
|
+
toDisplayString(_ctx.$t("\u9009\u62E9")) + toDisplayString(_ctx.$t(__props.title)),
|
|
139
|
+
1
|
|
140
|
+
/* TEXT */
|
|
141
|
+
)
|
|
142
|
+
])
|
|
143
|
+
]),
|
|
144
|
+
footer: withCtx(() => [
|
|
145
|
+
createElementVNode("div", _hoisted_3, [
|
|
146
|
+
createVNode(_component_el_button, {
|
|
147
|
+
icon: "ele-CircleCloseFilled",
|
|
148
|
+
onClick: closeDialog
|
|
149
|
+
}, {
|
|
150
|
+
default: withCtx(() => [
|
|
151
|
+
createTextVNode(
|
|
152
|
+
toDisplayString(_ctx.$t("\u53D6\u6D88")),
|
|
153
|
+
1
|
|
154
|
+
/* TEXT */
|
|
155
|
+
)
|
|
156
|
+
]),
|
|
157
|
+
_: 1
|
|
158
|
+
/* STABLE */
|
|
159
|
+
}),
|
|
160
|
+
createCommentVNode(' <el-button type="primary" icon="ele-CircleCheckFilled" @click="saveDialog">\u786E\u5B9A</el-button> ')
|
|
161
|
+
])
|
|
162
|
+
]),
|
|
163
|
+
default: withCtx(() => [
|
|
164
|
+
createVNode(_component_el_row, { gutter: 10 }, {
|
|
165
|
+
default: withCtx(() => [
|
|
166
|
+
createVNode(_component_el_col, { span: 24 }, {
|
|
167
|
+
default: withCtx(() => [
|
|
168
|
+
createElementVNode("div", _hoisted_2, [
|
|
169
|
+
createVNode(_component_el_form, {
|
|
170
|
+
model: state.queryParams,
|
|
171
|
+
ref: "queryRef",
|
|
172
|
+
inline: true
|
|
173
|
+
}, {
|
|
174
|
+
default: withCtx(() => [
|
|
175
|
+
createVNode(_component_el_form_item, {
|
|
176
|
+
label: _ctx.$t("\u5173\u952E\u5B57")
|
|
177
|
+
}, {
|
|
178
|
+
default: withCtx(() => [
|
|
179
|
+
createVNode(_component_el_input, {
|
|
180
|
+
modelValue: state.queryParams.keyword,
|
|
181
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => state.queryParams.keyword = $event),
|
|
182
|
+
clearable: "",
|
|
183
|
+
style: { "width": "150px" },
|
|
184
|
+
onKeyup: withKeys(handleQuery, ["enter"])
|
|
185
|
+
}, null, 8, ["modelValue"])
|
|
186
|
+
]),
|
|
187
|
+
_: 1
|
|
188
|
+
/* STABLE */
|
|
189
|
+
}, 8, ["label"]),
|
|
190
|
+
createVNode(_component_el_form_item, null, {
|
|
191
|
+
default: withCtx(() => [
|
|
192
|
+
createVNode(_component_el_button_group, null, {
|
|
193
|
+
default: withCtx(() => [
|
|
194
|
+
createVNode(_component_el_button, {
|
|
195
|
+
type: "primary",
|
|
196
|
+
icon: "ele-Search",
|
|
197
|
+
onClick: handleQuery
|
|
198
|
+
}, {
|
|
199
|
+
default: withCtx(() => [
|
|
200
|
+
createTextVNode(
|
|
201
|
+
toDisplayString(_ctx.$t("\u67E5\u8BE2")),
|
|
202
|
+
1
|
|
203
|
+
/* TEXT */
|
|
204
|
+
)
|
|
205
|
+
]),
|
|
206
|
+
_: 1
|
|
207
|
+
/* STABLE */
|
|
208
|
+
}),
|
|
209
|
+
createVNode(_component_el_button, {
|
|
210
|
+
icon: "ele-Refresh",
|
|
211
|
+
onClick: resetQuery
|
|
212
|
+
}, {
|
|
213
|
+
default: withCtx(() => [
|
|
214
|
+
createTextVNode(
|
|
215
|
+
toDisplayString(_ctx.$t("\u91CD\u7F6E")),
|
|
216
|
+
1
|
|
217
|
+
/* TEXT */
|
|
218
|
+
)
|
|
219
|
+
]),
|
|
220
|
+
_: 1
|
|
221
|
+
/* STABLE */
|
|
222
|
+
})
|
|
223
|
+
]),
|
|
224
|
+
_: 1
|
|
225
|
+
/* STABLE */
|
|
226
|
+
}),
|
|
227
|
+
createCommentVNode(' <el-button type="primary" icon="ele-DArrowRight" plain style="margin-left: 10px" @click="handleSelectAllUser"> \u5168\u9009 </el-button> ')
|
|
228
|
+
]),
|
|
229
|
+
_: 1
|
|
230
|
+
/* STABLE */
|
|
231
|
+
})
|
|
232
|
+
]),
|
|
233
|
+
_: 1
|
|
234
|
+
/* STABLE */
|
|
235
|
+
}, 8, ["model"]),
|
|
236
|
+
createVNode(_component_el_card, {
|
|
237
|
+
class: "full-table",
|
|
238
|
+
shadow: "hover"
|
|
239
|
+
}, {
|
|
240
|
+
default: withCtx(() => [
|
|
241
|
+
createVNode(_component_el_table, {
|
|
242
|
+
ref: "refTable",
|
|
243
|
+
data: userList.value,
|
|
244
|
+
style: { "height": "calc(70vh - 96px)" },
|
|
245
|
+
onRowDblclick: handledbclick
|
|
246
|
+
}, {
|
|
247
|
+
default: withCtx(() => [
|
|
248
|
+
createVNode(_component_el_table_column, {
|
|
249
|
+
label: _ctx.$t("\u540D\u79F0"),
|
|
250
|
+
prop: "name",
|
|
251
|
+
align: "center",
|
|
252
|
+
"show-overflow-tooltip": true
|
|
253
|
+
}, null, 8, ["label"]),
|
|
254
|
+
createVNode(_component_el_table_column, {
|
|
255
|
+
label: _ctx.$t("\u7535\u8BDD"),
|
|
256
|
+
prop: "tel",
|
|
257
|
+
align: "center",
|
|
258
|
+
"show-overflow-tooltip": true
|
|
259
|
+
}, null, 8, ["label"]),
|
|
260
|
+
createVNode(_component_el_table_column, {
|
|
261
|
+
label: _ctx.$t("\u4F20\u771F"),
|
|
262
|
+
prop: "fax",
|
|
263
|
+
align: "center",
|
|
264
|
+
"show-overflow-tooltip": true
|
|
265
|
+
}, null, 8, ["label"]),
|
|
266
|
+
createVNode(_component_el_table_column, {
|
|
267
|
+
label: _ctx.$t("\u5FAE\u4FE1\u53F7"),
|
|
268
|
+
prop: "wxNumber",
|
|
269
|
+
align: "center",
|
|
270
|
+
"show-overflow-tooltip": true
|
|
271
|
+
}, null, 8, ["label"]),
|
|
272
|
+
createVNode(_component_el_table_column, {
|
|
273
|
+
label: "\u64CD\u4F5C",
|
|
274
|
+
width: "60",
|
|
275
|
+
align: "center"
|
|
276
|
+
}, {
|
|
277
|
+
default: withCtx((scope) => [
|
|
278
|
+
createVNode(_component_el_button, {
|
|
279
|
+
link: "",
|
|
280
|
+
type: "primary",
|
|
281
|
+
onClick: ($event) => handleSelectUser(scope.row)
|
|
282
|
+
}, {
|
|
283
|
+
default: withCtx(() => [
|
|
284
|
+
createVNode(_component_el_icon, null, {
|
|
285
|
+
default: withCtx(() => [
|
|
286
|
+
createVNode(_component_ele_Plus)
|
|
287
|
+
]),
|
|
288
|
+
_: 1
|
|
289
|
+
/* STABLE */
|
|
290
|
+
})
|
|
291
|
+
]),
|
|
292
|
+
_: 1
|
|
293
|
+
/* STABLE */
|
|
294
|
+
}, 8, ["onClick"])
|
|
295
|
+
]),
|
|
296
|
+
_: 1
|
|
297
|
+
/* STABLE */
|
|
298
|
+
})
|
|
299
|
+
]),
|
|
300
|
+
_: 1
|
|
301
|
+
/* STABLE */
|
|
302
|
+
}, 8, ["data"]),
|
|
303
|
+
createVNode(_component_el_pagination, {
|
|
304
|
+
currentPage: state.queryParams.page,
|
|
305
|
+
"page-size": state.queryParams.pageSize,
|
|
306
|
+
total: state.queryParams.total,
|
|
307
|
+
"page-sizes": [10, 20, 50, 100],
|
|
308
|
+
background: "",
|
|
309
|
+
onSizeChange: handleSizeChange,
|
|
310
|
+
onCurrentChange: handleCurrentChange,
|
|
311
|
+
layout: "total, sizes, prev, pager, next, jumper",
|
|
312
|
+
style: { "padding-bottom": "8px" }
|
|
313
|
+
}, null, 8, ["currentPage", "page-size", "total"])
|
|
314
|
+
]),
|
|
315
|
+
_: 1
|
|
316
|
+
/* STABLE */
|
|
317
|
+
})
|
|
318
|
+
])
|
|
319
|
+
]),
|
|
320
|
+
_: 1
|
|
321
|
+
/* STABLE */
|
|
322
|
+
})
|
|
323
|
+
]),
|
|
324
|
+
_: 1
|
|
325
|
+
/* STABLE */
|
|
326
|
+
})
|
|
327
|
+
]),
|
|
328
|
+
_: 1
|
|
329
|
+
/* STABLE */
|
|
330
|
+
}, 8, ["modelValue"]);
|
|
331
|
+
};
|
|
332
|
+
}
|
|
333
|
+
});
|
|
334
|
+
|
|
335
|
+
export { _sfc_main as default };
|
|
@@ -3,13 +3,15 @@ import { Search } from '@element-plus/icons-vue';
|
|
|
3
3
|
import '../../api/index.mjs';
|
|
4
4
|
import './component/userSelectDialog.vue.mjs';
|
|
5
5
|
import './component/supplierSelectDialog.vue.mjs';
|
|
6
|
+
import './component/supplierUserSelectDialog.vue.mjs';
|
|
6
7
|
import './component/accountSelectDialog.vue.mjs';
|
|
7
8
|
import './component/subjectSelectDialog.vue.mjs';
|
|
8
9
|
import { useBaseApi } from '../../api/base/index.mjs';
|
|
9
10
|
import _sfc_main$1 from './component/userSelectDialog2.vue.mjs';
|
|
10
|
-
import _sfc_main$2 from './component/
|
|
11
|
-
import _sfc_main$3 from './component/
|
|
12
|
-
import _sfc_main$4 from './component/
|
|
11
|
+
import _sfc_main$2 from './component/supplierUserSelectDialog2.vue.mjs';
|
|
12
|
+
import _sfc_main$3 from './component/supplierSelectDialog2.vue.mjs';
|
|
13
|
+
import _sfc_main$4 from './component/accountSelectDialog2.vue.mjs';
|
|
14
|
+
import _sfc_main$5 from './component/subjectSelectDialog2.vue.mjs';
|
|
13
15
|
|
|
14
16
|
const _hoisted_1 = { style: { "font-size": "14px", "line-height": "30px" } };
|
|
15
17
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -120,6 +122,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
120
122
|
accountAction: {
|
|
121
123
|
type: String,
|
|
122
124
|
default: "accountTable"
|
|
125
|
+
},
|
|
126
|
+
refresh: {
|
|
127
|
+
type: Boolean,
|
|
128
|
+
default: false
|
|
123
129
|
}
|
|
124
130
|
}, {
|
|
125
131
|
"name": {
|
|
@@ -139,6 +145,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
139
145
|
const autoId = useModel(__props, "id");
|
|
140
146
|
const props = __props;
|
|
141
147
|
const visibleopenDialog = ref(false);
|
|
148
|
+
const tableDialogRef = ref();
|
|
142
149
|
const emit = __emit;
|
|
143
150
|
const querySearchAsync = async (queryString, cb) => {
|
|
144
151
|
var _a;
|
|
@@ -172,12 +179,17 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
172
179
|
autoId.value = value.id;
|
|
173
180
|
emit("select", value);
|
|
174
181
|
};
|
|
182
|
+
const handleRefresh = () => {
|
|
183
|
+
if (tableDialogRef.value) {
|
|
184
|
+
tableDialogRef.value.handleQuery();
|
|
185
|
+
}
|
|
186
|
+
};
|
|
175
187
|
return (_ctx, _cache) => {
|
|
176
188
|
const _component_el_icon = resolveComponent("el-icon");
|
|
177
189
|
const _component_el_autocomplete = resolveComponent("el-autocomplete");
|
|
178
190
|
return openBlock(), createBlock(_component_el_autocomplete, {
|
|
179
191
|
modelValue: autoName.value,
|
|
180
|
-
"onUpdate:modelValue": _cache[
|
|
192
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => autoName.value = $event),
|
|
181
193
|
debounce: 500,
|
|
182
194
|
"fetch-suggestions": querySearchAsync,
|
|
183
195
|
placeholder: props.placeholder,
|
|
@@ -203,7 +215,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
203
215
|
createVNode(_component_el_icon, {
|
|
204
216
|
color: "#E6A23C",
|
|
205
217
|
size: __props.searchsize,
|
|
206
|
-
onClick: _cache[0] || (_cache[0] = withModifiers(() =>
|
|
218
|
+
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
219
|
+
visibleopenDialog.value = true;
|
|
220
|
+
if (props.refresh) {
|
|
221
|
+
handleRefresh();
|
|
222
|
+
}
|
|
223
|
+
}, ["stop"]))
|
|
207
224
|
}, {
|
|
208
225
|
default: withCtx(() => [
|
|
209
226
|
createVNode(unref(Search))
|
|
@@ -224,7 +241,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
224
241
|
userParams: __props.params,
|
|
225
242
|
onChange: handleSelectDialogChange
|
|
226
243
|
}, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
227
|
-
__props.openType ==
|
|
244
|
+
__props.openType == 1 ? (openBlock(), createBlock(_sfc_main$2, {
|
|
228
245
|
key: 1,
|
|
229
246
|
visible: visibleopenDialog.value,
|
|
230
247
|
"onUpdate:visible": _cache[2] || (_cache[2] = ($event) => visibleopenDialog.value = $event),
|
|
@@ -234,22 +251,34 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
234
251
|
userParams: __props.params,
|
|
235
252
|
onChange: handleSelectDialogChange
|
|
236
253
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
237
|
-
|
|
238
|
-
__props.openType == 3 ? (openBlock(), createBlock(_sfc_main$3, {
|
|
254
|
+
__props.openType == 2 ? (openBlock(), createBlock(_sfc_main$3, {
|
|
239
255
|
key: 2,
|
|
256
|
+
ref_key: "tableDialogRef",
|
|
257
|
+
ref: tableDialogRef,
|
|
240
258
|
visible: visibleopenDialog.value,
|
|
241
259
|
"onUpdate:visible": _cache[3] || (_cache[3] = ($event) => visibleopenDialog.value = $event),
|
|
242
260
|
title: __props.title,
|
|
261
|
+
userService: __props.userService,
|
|
262
|
+
userAction: __props.userAction,
|
|
263
|
+
userParams: __props.params,
|
|
264
|
+
onChange: handleSelectDialogChange
|
|
265
|
+
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
266
|
+
createCommentVNode("\u8D26\u53F7\u9009\u62E9"),
|
|
267
|
+
__props.openType == 3 ? (openBlock(), createBlock(_sfc_main$4, {
|
|
268
|
+
key: 3,
|
|
269
|
+
visible: visibleopenDialog.value,
|
|
270
|
+
"onUpdate:visible": _cache[4] || (_cache[4] = ($event) => visibleopenDialog.value = $event),
|
|
271
|
+
title: __props.title,
|
|
243
272
|
userService: __props.accountService,
|
|
244
273
|
userAction: __props.accountAction,
|
|
245
274
|
userParams: __props.params,
|
|
246
275
|
onChange: handleSelectDialogChange
|
|
247
276
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
248
277
|
createCommentVNode("\u79D1\u76EE\u9009\u62E9"),
|
|
249
|
-
__props.openType == 4 ? (openBlock(), createBlock(_sfc_main$
|
|
250
|
-
key:
|
|
278
|
+
__props.openType == 4 ? (openBlock(), createBlock(_sfc_main$5, {
|
|
279
|
+
key: 4,
|
|
251
280
|
visible: visibleopenDialog.value,
|
|
252
|
-
"onUpdate:visible": _cache[
|
|
281
|
+
"onUpdate:visible": _cache[5] || (_cache[5] = ($event) => visibleopenDialog.value = $event),
|
|
253
282
|
title: __props.title,
|
|
254
283
|
subjectService: __props.subjectService,
|
|
255
284
|
subjectAction: __props.subjectAction,
|