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