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