@fangzhongya/fang-ui 0.1.48 → 0.1.50
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/dist/components/common/compons/components.cjs +15 -15
- package/dist/components/common/compons/components.js +15 -15
- package/dist/components/date-picker/style/element.scss +4 -7
- package/dist/components/dates-picker/src/util.cjs +4 -55
- package/dist/components/dates-picker/src/util.js +4 -55
- package/dist/components/double/src/index2.cjs +39 -36
- package/dist/components/double/src/index2.js +39 -36
- package/dist/components/forms-div/src/index2.cjs +3 -5
- package/dist/components/forms-div/src/index2.js +3 -5
- package/dist/components/index.cjs +72 -88
- package/dist/components/index.d.ts +0 -8
- package/dist/components/index.js +0 -16
- package/dist/components/list/src/index2.cjs +2 -3
- package/dist/components/list/src/index2.js +2 -3
- package/dist/components/list/src/util.cjs +14 -10
- package/dist/components/list/src/util.d.ts +2 -7
- package/dist/components/list/src/util.js +6 -2
- package/dist/expand/{chunk-PBGPF77Y.cjs → chunk-A7IW6WRD.cjs} +0 -8
- package/dist/expand/{chunk-S57QISTZ.js → chunk-L4FI5HCY.js} +0 -8
- package/dist/expand/components.cjs +5 -5
- package/dist/expand/components.js +1 -1
- package/dist/expand/config.cjs +2 -2
- package/dist/expand/config.js +1 -1
- package/dist/hooks/compons/index.cjs +1 -1
- package/dist/hooks/compons/index.d.ts +1 -1
- package/dist/hooks/compons/index.js +1 -1
- package/dist/hooks/compons/load.d.ts +1 -0
- package/dist/hooks/event-aliass/index.cjs +1 -1
- package/dist/hooks/event-aliass/index.js +1 -1
- package/dist/icons/index.json +1 -1
- package/dist/index.cjs +94 -110
- package/dist/index.js +0 -16
- package/package.json +4 -4
- package/dist/components/choice-select/index.cjs +0 -8
- package/dist/components/choice-select/index.d.ts +0 -5
- package/dist/components/choice-select/index.js +0 -8
- package/dist/components/choice-select/src/data.cjs +0 -26
- package/dist/components/choice-select/src/data.d.ts +0 -34
- package/dist/components/choice-select/src/data.js +0 -26
- package/dist/components/choice-select/src/index.cjs +0 -4
- package/dist/components/choice-select/src/index.js +0 -4
- package/dist/components/choice-select/src/index2.cjs +0 -30
- package/dist/components/choice-select/src/index2.js +0 -30
- package/dist/components/company-select/index.cjs +0 -8
- package/dist/components/company-select/index.d.ts +0 -5
- package/dist/components/company-select/index.js +0 -8
- package/dist/components/company-select/src/data.cjs +0 -76
- package/dist/components/company-select/src/data.d.ts +0 -109
- package/dist/components/company-select/src/data.js +0 -76
- package/dist/components/company-select/src/index.cjs +0 -4
- package/dist/components/company-select/src/index.js +0 -4
- package/dist/components/company-select/src/index2.cjs +0 -201
- package/dist/components/company-select/src/index2.js +0 -201
- package/dist/components/department-select/index.cjs +0 -8
- package/dist/components/department-select/index.d.ts +0 -5
- package/dist/components/department-select/index.js +0 -8
- package/dist/components/department-select/src/data.cjs +0 -88
- package/dist/components/department-select/src/data.d.ts +0 -128
- package/dist/components/department-select/src/data.js +0 -88
- package/dist/components/department-select/src/index.cjs +0 -4
- package/dist/components/department-select/src/index.js +0 -4
- package/dist/components/department-select/src/index2.cjs +0 -60
- package/dist/components/department-select/src/index2.js +0 -60
- package/dist/components/role-select/index.cjs +0 -8
- package/dist/components/role-select/index.d.ts +0 -5
- package/dist/components/role-select/index.js +0 -8
- package/dist/components/role-select/src/data.cjs +0 -79
- package/dist/components/role-select/src/data.d.ts +0 -107
- package/dist/components/role-select/src/data.js +0 -79
- package/dist/components/role-select/src/index.cjs +0 -4
- package/dist/components/role-select/src/index.js +0 -4
- package/dist/components/role-select/src/index2.cjs +0 -215
- package/dist/components/role-select/src/index2.js +0 -215
- package/dist/components/select-dialog/index.cjs +0 -8
- package/dist/components/select-dialog/index.d.ts +0 -5
- package/dist/components/select-dialog/index.js +0 -8
- package/dist/components/select-dialog/src/data.cjs +0 -92
- package/dist/components/select-dialog/src/data.d.ts +0 -131
- package/dist/components/select-dialog/src/data.js +0 -92
- package/dist/components/select-dialog/src/index.cjs +0 -4
- package/dist/components/select-dialog/src/index.js +0 -4
- package/dist/components/select-dialog/src/index2.cjs +0 -226
- package/dist/components/select-dialog/src/index2.js +0 -226
- package/dist/components/select-popover/index.cjs +0 -8
- package/dist/components/select-popover/index.d.ts +0 -5
- package/dist/components/select-popover/index.js +0 -8
- package/dist/components/select-popover/src/data.cjs +0 -38
- package/dist/components/select-popover/src/data.d.ts +0 -41
- package/dist/components/select-popover/src/data.js +0 -38
- package/dist/components/select-popover/src/index.cjs +0 -4
- package/dist/components/select-popover/src/index.js +0 -4
- package/dist/components/select-popover/src/index2.cjs +0 -177
- package/dist/components/select-popover/src/index2.js +0 -177
- package/dist/components/tree-select-box/index.cjs +0 -8
- package/dist/components/tree-select-box/index.d.ts +0 -5
- package/dist/components/tree-select-box/index.js +0 -8
- package/dist/components/tree-select-box/src/data.cjs +0 -100
- package/dist/components/tree-select-box/src/data.d.ts +0 -143
- package/dist/components/tree-select-box/src/data.js +0 -100
- package/dist/components/tree-select-box/src/index.cjs +0 -4
- package/dist/components/tree-select-box/src/index.js +0 -4
- package/dist/components/tree-select-box/src/index2.cjs +0 -255
- package/dist/components/tree-select-box/src/index2.js +0 -255
- package/dist/components/user-select/index.cjs +0 -8
- package/dist/components/user-select/index.d.ts +0 -5
- package/dist/components/user-select/index.js +0 -8
- package/dist/components/user-select/src/data.cjs +0 -99
- package/dist/components/user-select/src/data.d.ts +0 -144
- package/dist/components/user-select/src/data.js +0 -99
- package/dist/components/user-select/src/index.cjs +0 -4
- package/dist/components/user-select/src/index.js +0 -4
- package/dist/components/user-select/src/index2.cjs +0 -381
- package/dist/components/user-select/src/index2.js +0 -381
- /package/dist/components/{keep-com → option}/index.css +0 -0
- /package/dist/css/{keep-com.css → option.css} +0 -0
|
@@ -1,381 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const vue = require("vue");
|
|
4
|
-
const data = require("./data.cjs");
|
|
5
|
-
const index$1 = require("../../../hooks/cssname/index.cjs");
|
|
6
|
-
const index = require("../../../hooks/locale/index.cjs");
|
|
7
|
-
const index$3 = require("../../tabs/index.cjs");
|
|
8
|
-
const index$4 = require("../../tab-pane/index.cjs");
|
|
9
|
-
const index$7 = require("../../checkbox-group/index.cjs");
|
|
10
|
-
const index$8 = require("../../checkbox/index.cjs");
|
|
11
|
-
const index$9 = require("../../radio-group/index.cjs");
|
|
12
|
-
const index$a = require("../../radio/index.cjs");
|
|
13
|
-
const index$6 = require("../../input/index.cjs");
|
|
14
|
-
const index$5 = require("../../tree/index.cjs");
|
|
15
|
-
const index$2 = require("../../select-dialog/index.cjs");
|
|
16
|
-
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
17
|
-
__name: "index",
|
|
18
|
-
props: data.dataProps,
|
|
19
|
-
emits: data.dataEmits,
|
|
20
|
-
setup(__props, { expose: __expose, emit: __emit }) {
|
|
21
|
-
const { getLocale } = index.useLocale();
|
|
22
|
-
const cs = index$1.useCssName(data.name);
|
|
23
|
-
const propss = __props;
|
|
24
|
-
const emit = __emit;
|
|
25
|
-
const refSelectDialog = vue.ref();
|
|
26
|
-
const refTree = vue.ref();
|
|
27
|
-
const psprops = vue.computed(() => {
|
|
28
|
-
return {
|
|
29
|
-
...data.roleSelect,
|
|
30
|
-
...propss.props
|
|
31
|
-
};
|
|
32
|
-
});
|
|
33
|
-
const search = vue.ref("");
|
|
34
|
-
const treeObj = vue.ref({});
|
|
35
|
-
const tabName = vue.ref("1");
|
|
36
|
-
const nodes = vue.ref({});
|
|
37
|
-
const list = vue.ref([]);
|
|
38
|
-
vue.watch(
|
|
39
|
-
() => propss.modelValue,
|
|
40
|
-
() => {
|
|
41
|
-
if (propss.modelValue) {
|
|
42
|
-
list.value = [...propss.modelValue];
|
|
43
|
-
} else {
|
|
44
|
-
list.value = [];
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
{ immediate: true, deep: true }
|
|
48
|
-
);
|
|
49
|
-
const listData = vue.ref([]);
|
|
50
|
-
function onInput() {
|
|
51
|
-
if (psprops.value.lazyLoad) {
|
|
52
|
-
const prop = psprops.value.value;
|
|
53
|
-
const val = treeObj.value[prop];
|
|
54
|
-
psprops.value.lazyLoad(
|
|
55
|
-
{ search: search.value, type: tabName.value, value: val },
|
|
56
|
-
(v, node) => {
|
|
57
|
-
const prop2 = psprops.value.yhid;
|
|
58
|
-
const yhs = psprops.value.yhs;
|
|
59
|
-
if (node) {
|
|
60
|
-
for (const key of Object.keys(node)) {
|
|
61
|
-
nodes.value[key] = node[key];
|
|
62
|
-
}
|
|
63
|
-
} else {
|
|
64
|
-
for (const zs of v) {
|
|
65
|
-
const ss = zs[yhs] || [];
|
|
66
|
-
for (const o of ss) {
|
|
67
|
-
const id = o[prop2];
|
|
68
|
-
nodes.value[id] = o;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
listData.value = v;
|
|
73
|
-
}
|
|
74
|
-
);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
function onChangeCheckbox(is, data2) {
|
|
78
|
-
let id = data2[psprops.value.yhid];
|
|
79
|
-
if (!psprops.value.multiple) {
|
|
80
|
-
list.value = [id];
|
|
81
|
-
} else if (is) {
|
|
82
|
-
list.value.push(id);
|
|
83
|
-
} else {
|
|
84
|
-
list.value = list.value.filter((o) => {
|
|
85
|
-
return o != id;
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
function getName(key) {
|
|
90
|
-
const name2 = psprops.value.yhmc;
|
|
91
|
-
let obj = nodes.value[key] || {};
|
|
92
|
-
return obj[name2];
|
|
93
|
-
}
|
|
94
|
-
function getNameExplain(key) {
|
|
95
|
-
const name2 = psprops.value.explain;
|
|
96
|
-
if (name2) {
|
|
97
|
-
let obj = nodes.value[key] || {};
|
|
98
|
-
return obj[name2];
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
vue.watch(
|
|
102
|
-
() => propss.options,
|
|
103
|
-
() => {
|
|
104
|
-
if (propss.options && propss.options.length > 0) {
|
|
105
|
-
setCurrentNode();
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
immediate: true
|
|
110
|
-
}
|
|
111
|
-
);
|
|
112
|
-
function setCurrentNode() {
|
|
113
|
-
vue.nextTick(() => {
|
|
114
|
-
if (propss.options[0] && refTree.value && refTree.value.refEl) {
|
|
115
|
-
refTree.value.refEl.setCurrentNode(propss.options[0], true);
|
|
116
|
-
handleTreeClick(propss.options[0]);
|
|
117
|
-
}
|
|
118
|
-
});
|
|
119
|
-
}
|
|
120
|
-
function onTabClick() {
|
|
121
|
-
vue.nextTick(() => {
|
|
122
|
-
emit("tab-click", tabName.value);
|
|
123
|
-
});
|
|
124
|
-
}
|
|
125
|
-
function onDialog(v) {
|
|
126
|
-
if (v) {
|
|
127
|
-
if (propss.modelValue) {
|
|
128
|
-
list.value = [...propss.modelValue];
|
|
129
|
-
} else {
|
|
130
|
-
list.value = [];
|
|
131
|
-
}
|
|
132
|
-
search.value = "";
|
|
133
|
-
tabName.value = "1";
|
|
134
|
-
listData.value = [];
|
|
135
|
-
setCurrentNode();
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
function onDialogffirm(val) {
|
|
139
|
-
emit("update:modelValue", val);
|
|
140
|
-
emit("change", val);
|
|
141
|
-
}
|
|
142
|
-
function handleTreeClick(data2) {
|
|
143
|
-
treeObj.value = data2;
|
|
144
|
-
onInput();
|
|
145
|
-
}
|
|
146
|
-
function setNodesObj(node) {
|
|
147
|
-
if (node) {
|
|
148
|
-
if (Array.isArray(node)) {
|
|
149
|
-
const prop = psprops.value.yhid;
|
|
150
|
-
for (const o of node) {
|
|
151
|
-
const id = o[prop];
|
|
152
|
-
nodes.value[id] = o;
|
|
153
|
-
}
|
|
154
|
-
} else {
|
|
155
|
-
for (const key of Object.keys(node)) {
|
|
156
|
-
nodes.value[key] = node[key];
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
__expose({
|
|
162
|
-
...data.dataExpose,
|
|
163
|
-
setNodesObj,
|
|
164
|
-
getInputName() {
|
|
165
|
-
return refSelectDialog.value.inputName;
|
|
166
|
-
}
|
|
167
|
-
});
|
|
168
|
-
return (_ctx, _cache) => {
|
|
169
|
-
return vue.openBlock(), vue.createElementBlock("div", {
|
|
170
|
-
class: vue.normalizeClass(vue.unref(cs).z())
|
|
171
|
-
}, [
|
|
172
|
-
vue.createVNode(vue.unref(index$2.SelectDialog), {
|
|
173
|
-
"get-name": getName,
|
|
174
|
-
"get-name-explain": getNameExplain,
|
|
175
|
-
disabled: propss.disabled,
|
|
176
|
-
placeholder: propss.placeholder,
|
|
177
|
-
appendToBody: propss.appendToBody,
|
|
178
|
-
ref_key: "refSelectDialog",
|
|
179
|
-
ref: refSelectDialog,
|
|
180
|
-
modelValue: list.value,
|
|
181
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => list.value = $event),
|
|
182
|
-
value: propss.modelValue,
|
|
183
|
-
width: propss.width,
|
|
184
|
-
title: propss.title,
|
|
185
|
-
onDialog,
|
|
186
|
-
onConfirm: onDialogffirm
|
|
187
|
-
}, {
|
|
188
|
-
suffix: vue.withCtx(() => [
|
|
189
|
-
vue.renderSlot(_ctx.$slots, "suffix")
|
|
190
|
-
]),
|
|
191
|
-
default: vue.withCtx(() => [
|
|
192
|
-
vue.createElementVNode("div", {
|
|
193
|
-
class: vue.normalizeClass([vue.unref(cs).z("dialog-div"), vue.unref(cs).z("dialog-tabs")])
|
|
194
|
-
}, [
|
|
195
|
-
vue.createVNode(vue.unref(index$3.Tabs), {
|
|
196
|
-
modelValue: tabName.value,
|
|
197
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => tabName.value = $event),
|
|
198
|
-
stretch: "",
|
|
199
|
-
class: vue.normalizeClass(vue.unref(cs).z("dialog-li-tabs")),
|
|
200
|
-
onTabClick
|
|
201
|
-
}, {
|
|
202
|
-
default: vue.withCtx(() => [
|
|
203
|
-
vue.createVNode(vue.unref(index$4.TabPane), {
|
|
204
|
-
label: "部门",
|
|
205
|
-
name: "1"
|
|
206
|
-
}),
|
|
207
|
-
vue.createVNode(vue.unref(index$4.TabPane), {
|
|
208
|
-
label: "角色",
|
|
209
|
-
name: "2"
|
|
210
|
-
})
|
|
211
|
-
]),
|
|
212
|
-
_: 1
|
|
213
|
-
}, 8, ["modelValue", "class"]),
|
|
214
|
-
vue.createElementVNode("div", {
|
|
215
|
-
class: vue.normalizeClass([vue.unref(cs).z("dialog-tabs-tree")])
|
|
216
|
-
}, [
|
|
217
|
-
vue.createElementVNode("div", {
|
|
218
|
-
class: vue.normalizeClass([vue.unref(cs).z("dialog-div-tree")])
|
|
219
|
-
}, [
|
|
220
|
-
vue.createVNode(vue.unref(index$5.Tree), {
|
|
221
|
-
data: propss.options,
|
|
222
|
-
"highlight-current": "",
|
|
223
|
-
"default-expand-all": propss.expandAll,
|
|
224
|
-
"node-key": psprops.value.value,
|
|
225
|
-
"show-checkbox": propss.multiple,
|
|
226
|
-
"check-strictly": "",
|
|
227
|
-
ref_key: "refTree",
|
|
228
|
-
ref: refTree,
|
|
229
|
-
props: {
|
|
230
|
-
isLeaf: "leaf",
|
|
231
|
-
value: psprops.value.value,
|
|
232
|
-
label: psprops.value.label,
|
|
233
|
-
disabled: psprops.value.disabled,
|
|
234
|
-
children: psprops.value.children
|
|
235
|
-
},
|
|
236
|
-
onNodeClick: handleTreeClick
|
|
237
|
-
}, null, 8, ["data", "default-expand-all", "node-key", "show-checkbox", "props"])
|
|
238
|
-
], 2)
|
|
239
|
-
], 2)
|
|
240
|
-
], 2),
|
|
241
|
-
vue.createElementVNode("div", null, [
|
|
242
|
-
vue.createElementVNode("div", {
|
|
243
|
-
class: vue.normalizeClass(vue.unref(cs).z("dialog-li-top"))
|
|
244
|
-
}, [
|
|
245
|
-
vue.createVNode(vue.unref(index$6.Input), {
|
|
246
|
-
placeholder: psprops.value.searchPlaceholder,
|
|
247
|
-
clearable: "",
|
|
248
|
-
modelValue: search.value,
|
|
249
|
-
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => search.value = $event),
|
|
250
|
-
onKeyup: vue.withKeys(onInput, ["enter", "native"])
|
|
251
|
-
}, null, 8, ["placeholder", "modelValue"])
|
|
252
|
-
], 2),
|
|
253
|
-
vue.createElementVNode("div", {
|
|
254
|
-
class: vue.normalizeClass(vue.unref(cs).z("dialog-gap"))
|
|
255
|
-
}, null, 2),
|
|
256
|
-
vue.createElementVNode("div", {
|
|
257
|
-
class: vue.normalizeClass([vue.unref(cs).z("dialog-div"), vue.unref(cs).z("dialog-personnel")])
|
|
258
|
-
}, [
|
|
259
|
-
psprops.value.multiple ? (vue.openBlock(), vue.createBlock(vue.unref(index$7.CheckboxGroup), {
|
|
260
|
-
key: 0,
|
|
261
|
-
"model-value": list.value
|
|
262
|
-
}, {
|
|
263
|
-
default: vue.withCtx(() => [
|
|
264
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(listData.value, (item, index2) => {
|
|
265
|
-
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index2 }, [
|
|
266
|
-
item[psprops.value.label] ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
267
|
-
key: 0,
|
|
268
|
-
class: vue.normalizeClass(vue.unref(cs).z("dialog-personnel-top"))
|
|
269
|
-
}, [
|
|
270
|
-
vue.createElementVNode("div", {
|
|
271
|
-
class: vue.normalizeClass(
|
|
272
|
-
vue.unref(cs).z("dialog-personnel-top-userbg")
|
|
273
|
-
)
|
|
274
|
-
}, vue.toDisplayString((item[psprops.value.label] || "").substring(0, 1)), 3),
|
|
275
|
-
vue.createElementVNode("div", {
|
|
276
|
-
class: vue.normalizeClass(
|
|
277
|
-
vue.unref(cs).z("dialog-personnel-top-rfont")
|
|
278
|
-
)
|
|
279
|
-
}, [
|
|
280
|
-
vue.createElementVNode("div", {
|
|
281
|
-
class: vue.normalizeClass(
|
|
282
|
-
vue.unref(cs).z("dialog-personnel-top-p1")
|
|
283
|
-
)
|
|
284
|
-
}, vue.toDisplayString(item[psprops.value.label]), 3),
|
|
285
|
-
psprops.value.explain ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
286
|
-
key: 0,
|
|
287
|
-
class: vue.normalizeClass(
|
|
288
|
-
vue.unref(cs).z("dialog-personnel-top-p2")
|
|
289
|
-
)
|
|
290
|
-
}, vue.toDisplayString(item[psprops.value.explain]), 3)) : vue.createCommentVNode("", true)
|
|
291
|
-
], 2)
|
|
292
|
-
], 2)) : vue.createCommentVNode("", true),
|
|
293
|
-
vue.createElementVNode("div", {
|
|
294
|
-
class: vue.normalizeClass(vue.unref(cs).z("dialog-personnel-checkboxs"))
|
|
295
|
-
}, [
|
|
296
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item[psprops.value.yhs], (obj, key) => {
|
|
297
|
-
return vue.openBlock(), vue.createBlock(vue.unref(index$8.Checkbox), {
|
|
298
|
-
key,
|
|
299
|
-
label: obj[psprops.value.yhid],
|
|
300
|
-
onChange: (is) => {
|
|
301
|
-
onChangeCheckbox(is, obj);
|
|
302
|
-
}
|
|
303
|
-
}, {
|
|
304
|
-
default: vue.withCtx(() => [
|
|
305
|
-
vue.createTextVNode(vue.toDisplayString(obj[psprops.value.yhmc]), 1)
|
|
306
|
-
]),
|
|
307
|
-
_: 2
|
|
308
|
-
}, 1032, ["label", "onChange"]);
|
|
309
|
-
}), 128))
|
|
310
|
-
], 2)
|
|
311
|
-
], 64);
|
|
312
|
-
}), 128))
|
|
313
|
-
]),
|
|
314
|
-
_: 1
|
|
315
|
-
}, 8, ["model-value"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$9.RadioGroup), {
|
|
316
|
-
key: 1,
|
|
317
|
-
"model-value": list.value[0]
|
|
318
|
-
}, {
|
|
319
|
-
default: vue.withCtx(() => [
|
|
320
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(listData.value, (item, index2) => {
|
|
321
|
-
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index2 }, [
|
|
322
|
-
item[psprops.value.label] ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
323
|
-
key: 0,
|
|
324
|
-
class: vue.normalizeClass(vue.unref(cs).z("dialog-personnel-top"))
|
|
325
|
-
}, [
|
|
326
|
-
vue.createElementVNode("div", {
|
|
327
|
-
class: vue.normalizeClass(
|
|
328
|
-
vue.unref(cs).z("dialog-personnel-top-userbg")
|
|
329
|
-
)
|
|
330
|
-
}, vue.toDisplayString((item[psprops.value.label] || "").substring(0, 1)), 3),
|
|
331
|
-
vue.createElementVNode("div", {
|
|
332
|
-
class: vue.normalizeClass(
|
|
333
|
-
vue.unref(cs).z("dialog-personnel-top-rfont")
|
|
334
|
-
)
|
|
335
|
-
}, [
|
|
336
|
-
vue.createElementVNode("div", {
|
|
337
|
-
class: vue.normalizeClass(
|
|
338
|
-
vue.unref(cs).z("dialog-personnel-top-p1")
|
|
339
|
-
)
|
|
340
|
-
}, vue.toDisplayString(item[psprops.value.label]), 3),
|
|
341
|
-
psprops.value.explain ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
342
|
-
key: 0,
|
|
343
|
-
class: vue.normalizeClass(
|
|
344
|
-
vue.unref(cs).z("dialog-personnel-top-p2")
|
|
345
|
-
)
|
|
346
|
-
}, vue.toDisplayString(item[psprops.value.explain]), 3)) : vue.createCommentVNode("", true)
|
|
347
|
-
], 2)
|
|
348
|
-
], 2)) : vue.createCommentVNode("", true),
|
|
349
|
-
vue.createElementVNode("div", {
|
|
350
|
-
class: vue.normalizeClass(vue.unref(cs).z("dialog-personnel-checkboxs"))
|
|
351
|
-
}, [
|
|
352
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item[psprops.value.yhs], (obj, key) => {
|
|
353
|
-
return vue.openBlock(), vue.createBlock(vue.unref(index$a.Radio), {
|
|
354
|
-
key,
|
|
355
|
-
label: obj[psprops.value.yhid],
|
|
356
|
-
onChange: (is) => {
|
|
357
|
-
onChangeCheckbox(is, obj);
|
|
358
|
-
}
|
|
359
|
-
}, {
|
|
360
|
-
default: vue.withCtx(() => [
|
|
361
|
-
vue.createTextVNode(vue.toDisplayString(obj[psprops.value.yhmc]), 1)
|
|
362
|
-
]),
|
|
363
|
-
_: 2
|
|
364
|
-
}, 1032, ["label", "onChange"]);
|
|
365
|
-
}), 128))
|
|
366
|
-
], 2)
|
|
367
|
-
], 64);
|
|
368
|
-
}), 128))
|
|
369
|
-
]),
|
|
370
|
-
_: 1
|
|
371
|
-
}, 8, ["model-value"]))
|
|
372
|
-
], 2)
|
|
373
|
-
])
|
|
374
|
-
]),
|
|
375
|
-
_: 3
|
|
376
|
-
}, 8, ["disabled", "placeholder", "appendToBody", "modelValue", "value", "width", "title"])
|
|
377
|
-
], 2);
|
|
378
|
-
};
|
|
379
|
-
}
|
|
380
|
-
});
|
|
381
|
-
exports.default = _sfc_main;
|