@fmdeui/fmui 1.0.166 → 1.0.168
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/packages/components/select-table/src/index2.vue.mjs +43 -57
- package/index.js +44 -58
- package/index.min.js +7 -7
- package/index.min.mjs +7 -7
- package/index.mjs +44 -58
- package/lib/packages/components/select-table/src/index2.vue.js +43 -57
- 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/{make-installer.css → version.css} +0 -0
|
@@ -111,7 +111,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
111
111
|
const emits = __emit;
|
|
112
112
|
const slots = useSlots();
|
|
113
113
|
const isDefaultSelectVal = ref(true);
|
|
114
|
-
const forbidden = ref(true);
|
|
115
114
|
const isRadio = ref(false);
|
|
116
115
|
const isQueryVisible = ref(false);
|
|
117
116
|
const isVisible = ref(false);
|
|
@@ -144,7 +143,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
144
143
|
}
|
|
145
144
|
});
|
|
146
145
|
const state = reactive({
|
|
147
|
-
defaultSelectValue: props.defaultSelectVal,
|
|
146
|
+
defaultSelectValue: Array.isArray(props.defaultSelectVal) ? props.defaultSelectVal : props.defaultSelectVal ? [props.defaultSelectVal] : [],
|
|
148
147
|
// 默认选中
|
|
149
148
|
tableData: props.table.data,
|
|
150
149
|
// table数据
|
|
@@ -204,8 +203,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
204
203
|
watch(
|
|
205
204
|
() => props.defaultSelectVal,
|
|
206
205
|
(val) => {
|
|
207
|
-
|
|
208
|
-
|
|
206
|
+
const valArray = Array.isArray(val) ? val : val ? [val] : [];
|
|
207
|
+
state.defaultSelectValue = valArray;
|
|
208
|
+
if (valArray.length > 0) {
|
|
209
209
|
if (props.multiple) {
|
|
210
210
|
if (isDefaultSelectVal.value) {
|
|
211
211
|
defaultSelect(state.defaultSelectValue);
|
|
@@ -262,6 +262,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
262
262
|
const formatted = props.responseFormatter(res);
|
|
263
263
|
pagination.total = formatted.total;
|
|
264
264
|
state.tableData = formatted.data;
|
|
265
|
+
if (formatted.data && formatted.data.length > 0) {
|
|
266
|
+
formatted.data.forEach((item) => {
|
|
267
|
+
state.tabularMap[item[props.keywords.value]] = item[props.keywords.label];
|
|
268
|
+
});
|
|
269
|
+
}
|
|
265
270
|
if (props.useVirtual) {
|
|
266
271
|
saveDATA.value = formatted.data;
|
|
267
272
|
updateRenderData(scrollTopNum.value);
|
|
@@ -423,7 +428,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
423
428
|
nowIndex.value = -1;
|
|
424
429
|
radioVal.value = "";
|
|
425
430
|
isDefaultSelectVal.value = true;
|
|
426
|
-
forbidden.value = false;
|
|
427
431
|
}
|
|
428
432
|
};
|
|
429
433
|
const defaultSelect = (defaultSelectVal) => {
|
|
@@ -446,7 +450,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
446
450
|
setTimeout(() => {
|
|
447
451
|
const row = state.tableData.find((item) => item[props.keywords.value] === defaultSelectVal[0]);
|
|
448
452
|
if (row) {
|
|
449
|
-
radioVal.value =
|
|
453
|
+
radioVal.value = row[props.keywords.value];
|
|
450
454
|
state.defaultValue = row;
|
|
451
455
|
selectDefaultLabel.value = row[props.keywords.label];
|
|
452
456
|
modeValueId.value = row[props.keywords.value];
|
|
@@ -484,35 +488,29 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
484
488
|
const filterMethodHandle = (val) => {
|
|
485
489
|
var _a;
|
|
486
490
|
if (!props.filterable) return;
|
|
491
|
+
if (props.apiService) return;
|
|
487
492
|
if (props.filterable && props.remote && typeof props.remoteMethod === "function") {
|
|
488
493
|
props.remoteMethod(val);
|
|
489
494
|
return;
|
|
490
495
|
}
|
|
491
496
|
const tableData = JSON.parse(JSON.stringify((_a = props.table) == null ? void 0 : _a.data));
|
|
492
497
|
if (!tableData || tableData.length === 0) return;
|
|
493
|
-
|
|
494
|
-
if (val) {
|
|
495
|
-
radioVal.value = "";
|
|
496
|
-
} else {
|
|
497
|
-
const defaultIndex = tableData.findIndex(
|
|
498
|
-
(item) => item[props.keywords.label] === selectDefaultLabel.value
|
|
499
|
-
);
|
|
500
|
-
if (defaultIndex !== -1) {
|
|
501
|
-
radioVal.value = defaultIndex + 1;
|
|
502
|
-
}
|
|
503
|
-
}
|
|
504
|
-
}
|
|
498
|
+
const currentSelectedId = modeValueId.value;
|
|
505
499
|
state.tableData = tableData.filter((item) => {
|
|
506
500
|
var _a2;
|
|
507
|
-
return (_a2 = item[props.keywords.label]) == null ? void 0 : _a2.includes(val);
|
|
501
|
+
return (_a2 = item[props.keywords.label]) == null ? void 0 : _a2.toLowerCase().includes(val.toLowerCase());
|
|
508
502
|
});
|
|
509
|
-
if (
|
|
510
|
-
const
|
|
511
|
-
(item) => item[props.keywords.
|
|
503
|
+
if (currentSelectedId) {
|
|
504
|
+
const isStillInTable = state.tableData.some(
|
|
505
|
+
(item) => item[props.keywords.value] === currentSelectedId
|
|
512
506
|
);
|
|
513
|
-
if (
|
|
514
|
-
radioVal.value =
|
|
507
|
+
if (isStillInTable) {
|
|
508
|
+
radioVal.value = currentSelectedId;
|
|
509
|
+
} else {
|
|
510
|
+
radioVal.value = "";
|
|
515
511
|
}
|
|
512
|
+
} else {
|
|
513
|
+
radioVal.value = "";
|
|
516
514
|
}
|
|
517
515
|
};
|
|
518
516
|
const initTableData = () => {
|
|
@@ -529,7 +527,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
529
527
|
});
|
|
530
528
|
} else {
|
|
531
529
|
const matchedRow = (_b = state.tableData) == null ? void 0 : _b.find(
|
|
532
|
-
(item) => item[props.keywords.value] ===
|
|
530
|
+
(item) => item[props.keywords.value] === modeValueId.value
|
|
533
531
|
);
|
|
534
532
|
if (matchedRow) {
|
|
535
533
|
selectTable.value.setCurrentRow(matchedRow);
|
|
@@ -563,25 +561,19 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
563
561
|
showMessage("error", error.message || t("plus.copy.copyFail"));
|
|
564
562
|
}
|
|
565
563
|
};
|
|
566
|
-
const radioChangeHandle = (event, row,
|
|
564
|
+
const radioChangeHandle = (event, row, rowValue) => {
|
|
567
565
|
event.preventDefault();
|
|
568
566
|
if (row.isRadioDisabled) return;
|
|
569
567
|
isDefaultSelectVal.value = false;
|
|
570
|
-
radioClick(row,
|
|
571
|
-
};
|
|
572
|
-
const isForbidden = () => {
|
|
573
|
-
forbidden.value = false;
|
|
574
|
-
setTimeout(() => {
|
|
575
|
-
forbidden.value = true;
|
|
576
|
-
}, 0);
|
|
568
|
+
radioClick(row, rowValue);
|
|
577
569
|
};
|
|
578
|
-
const radioClick = (row,
|
|
579
|
-
|
|
580
|
-
if (
|
|
570
|
+
const radioClick = (row, rowValue) => {
|
|
571
|
+
const isAlreadySelected = state.defaultValue && state.defaultValue[props.keywords.value] === rowValue;
|
|
572
|
+
if (isAlreadySelected) {
|
|
581
573
|
if (!props.radioSameIsCancel) return;
|
|
582
574
|
clear();
|
|
583
575
|
} else {
|
|
584
|
-
updateState(row,
|
|
576
|
+
updateState(row, rowValue);
|
|
585
577
|
}
|
|
586
578
|
if (props.isExpanded && state.defaultValue) {
|
|
587
579
|
selectDefaultLabel.value = state.defaultValue[props.keywords.label] || "";
|
|
@@ -590,29 +582,23 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
590
582
|
blur();
|
|
591
583
|
}
|
|
592
584
|
};
|
|
593
|
-
const updateState = (row,
|
|
594
|
-
|
|
595
|
-
radioVal.value = index;
|
|
585
|
+
const updateState = (row, rowValue) => {
|
|
586
|
+
radioVal.value = rowValue;
|
|
596
587
|
state.defaultValue = row;
|
|
597
|
-
emits("radioChange", row,
|
|
598
|
-
modeValueId.value =
|
|
588
|
+
emits("radioChange", row, rowValue);
|
|
589
|
+
modeValueId.value = rowValue;
|
|
599
590
|
modeValueName.value = row[props.keywords.label];
|
|
600
591
|
};
|
|
601
592
|
const rowClick = async (row) => {
|
|
602
593
|
if (row.isRadioDisabled) return;
|
|
603
594
|
if (!props.rowClickRadio) return;
|
|
604
595
|
if (!props.multiple) {
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
)
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
if (radioVal.value) {
|
|
612
|
-
isRadio.value = true;
|
|
613
|
-
} else {
|
|
614
|
-
isRadio.value = false;
|
|
615
|
-
}
|
|
596
|
+
isDefaultSelectVal.value = false;
|
|
597
|
+
await radioClick(row, row[props.keywords.value]);
|
|
598
|
+
if (radioVal.value) {
|
|
599
|
+
isRadio.value = true;
|
|
600
|
+
} else {
|
|
601
|
+
isRadio.value = false;
|
|
616
602
|
}
|
|
617
603
|
}
|
|
618
604
|
};
|
|
@@ -650,7 +636,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
650
636
|
}
|
|
651
637
|
nowIndex.value = -1;
|
|
652
638
|
radioVal.value = "";
|
|
653
|
-
forbidden.value = false;
|
|
654
639
|
selectDefaultLabel.value = null;
|
|
655
640
|
resetDefaultState();
|
|
656
641
|
emits("radioChange", null, null);
|
|
@@ -835,10 +820,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
835
820
|
createVNode(_component_el_radio, {
|
|
836
821
|
modelValue: radioVal.value,
|
|
837
822
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => radioVal.value = $event),
|
|
838
|
-
label: scope
|
|
823
|
+
label: scope.row[__props.keywords.value],
|
|
824
|
+
value: scope.row[__props.keywords.value],
|
|
839
825
|
disabled: scope.row.isRadioDisabled,
|
|
840
|
-
onClick: withModifiers(($event) => radioChangeHandle($event, scope.row, scope
|
|
841
|
-
}, null, 8, ["modelValue", "label", "disabled", "onClick"])
|
|
826
|
+
onClick: withModifiers(($event) => radioChangeHandle($event, scope.row, scope.row[__props.keywords.value]), ["stop"])
|
|
827
|
+
}, null, 8, ["modelValue", "label", "value", "disabled", "onClick"])
|
|
842
828
|
]),
|
|
843
829
|
_: 1
|
|
844
830
|
/* STABLE */
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.168 */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vxe-table'), require('@vxe-ui/plugin-render-element'), require('@vxe-ui/plugin-export-xlsx'), require('vxe-pc-ui'), require('exceljs'), require('@element-plus/icons-vue'), require('vue'), require('element-plus'), require('lodash-es'), require('js-cookie'), require('pinia'), require('vue-router'), require('@vueuse/core'), require('crypto-js'), require('xlsx-js-style'), require('vue-i18n'), require('sortablejs'), require('screenfull'), require('push.js'), require('mitt'), require('@microsoft/signalr'), require('axios')) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports', 'vxe-table', '@vxe-ui/plugin-render-element', '@vxe-ui/plugin-export-xlsx', 'vxe-pc-ui', 'exceljs', '@element-plus/icons-vue', 'vue', 'element-plus', 'lodash-es', 'js-cookie', 'pinia', 'vue-router', '@vueuse/core', 'crypto-js', 'xlsx-js-style', 'vue-i18n', 'sortablejs', 'screenfull', 'push.js', 'mitt', '@microsoft/signalr', 'axios'], factory) :
|
|
@@ -23154,7 +23154,6 @@
|
|
|
23154
23154
|
const emits = __emit;
|
|
23155
23155
|
const slots = vue.useSlots();
|
|
23156
23156
|
const isDefaultSelectVal = vue.ref(true);
|
|
23157
|
-
const forbidden = vue.ref(true);
|
|
23158
23157
|
const isRadio = vue.ref(false);
|
|
23159
23158
|
const isQueryVisible = vue.ref(false);
|
|
23160
23159
|
const isVisible = vue.ref(false);
|
|
@@ -23187,7 +23186,7 @@
|
|
|
23187
23186
|
}
|
|
23188
23187
|
});
|
|
23189
23188
|
const state = vue.reactive({
|
|
23190
|
-
defaultSelectValue: props.defaultSelectVal,
|
|
23189
|
+
defaultSelectValue: Array.isArray(props.defaultSelectVal) ? props.defaultSelectVal : props.defaultSelectVal ? [props.defaultSelectVal] : [],
|
|
23191
23190
|
// 默认选中
|
|
23192
23191
|
tableData: props.table.data,
|
|
23193
23192
|
// table数据
|
|
@@ -23247,8 +23246,9 @@
|
|
|
23247
23246
|
vue.watch(
|
|
23248
23247
|
() => props.defaultSelectVal,
|
|
23249
23248
|
(val) => {
|
|
23250
|
-
|
|
23251
|
-
|
|
23249
|
+
const valArray = Array.isArray(val) ? val : val ? [val] : [];
|
|
23250
|
+
state.defaultSelectValue = valArray;
|
|
23251
|
+
if (valArray.length > 0) {
|
|
23252
23252
|
if (props.multiple) {
|
|
23253
23253
|
if (isDefaultSelectVal.value) {
|
|
23254
23254
|
defaultSelect(state.defaultSelectValue);
|
|
@@ -23305,6 +23305,11 @@
|
|
|
23305
23305
|
const formatted = props.responseFormatter(res);
|
|
23306
23306
|
pagination.total = formatted.total;
|
|
23307
23307
|
state.tableData = formatted.data;
|
|
23308
|
+
if (formatted.data && formatted.data.length > 0) {
|
|
23309
|
+
formatted.data.forEach((item) => {
|
|
23310
|
+
state.tabularMap[item[props.keywords.value]] = item[props.keywords.label];
|
|
23311
|
+
});
|
|
23312
|
+
}
|
|
23308
23313
|
if (props.useVirtual) {
|
|
23309
23314
|
saveDATA.value = formatted.data;
|
|
23310
23315
|
updateRenderData(scrollTopNum.value);
|
|
@@ -23466,7 +23471,6 @@
|
|
|
23466
23471
|
nowIndex.value = -1;
|
|
23467
23472
|
radioVal.value = "";
|
|
23468
23473
|
isDefaultSelectVal.value = true;
|
|
23469
|
-
forbidden.value = false;
|
|
23470
23474
|
}
|
|
23471
23475
|
};
|
|
23472
23476
|
const defaultSelect = (defaultSelectVal) => {
|
|
@@ -23489,7 +23493,7 @@
|
|
|
23489
23493
|
setTimeout(() => {
|
|
23490
23494
|
const row = state.tableData.find((item) => item[props.keywords.value] === defaultSelectVal[0]);
|
|
23491
23495
|
if (row) {
|
|
23492
|
-
radioVal.value =
|
|
23496
|
+
radioVal.value = row[props.keywords.value];
|
|
23493
23497
|
state.defaultValue = row;
|
|
23494
23498
|
selectDefaultLabel.value = row[props.keywords.label];
|
|
23495
23499
|
modeValueId.value = row[props.keywords.value];
|
|
@@ -23527,35 +23531,29 @@
|
|
|
23527
23531
|
const filterMethodHandle = (val) => {
|
|
23528
23532
|
var _a;
|
|
23529
23533
|
if (!props.filterable) return;
|
|
23534
|
+
if (props.apiService) return;
|
|
23530
23535
|
if (props.filterable && props.remote && typeof props.remoteMethod === "function") {
|
|
23531
23536
|
props.remoteMethod(val);
|
|
23532
23537
|
return;
|
|
23533
23538
|
}
|
|
23534
23539
|
const tableData = JSON.parse(JSON.stringify((_a = props.table) == null ? void 0 : _a.data));
|
|
23535
23540
|
if (!tableData || tableData.length === 0) return;
|
|
23536
|
-
|
|
23537
|
-
if (val) {
|
|
23538
|
-
radioVal.value = "";
|
|
23539
|
-
} else {
|
|
23540
|
-
const defaultIndex = tableData.findIndex(
|
|
23541
|
-
(item) => item[props.keywords.label] === selectDefaultLabel.value
|
|
23542
|
-
);
|
|
23543
|
-
if (defaultIndex !== -1) {
|
|
23544
|
-
radioVal.value = defaultIndex + 1;
|
|
23545
|
-
}
|
|
23546
|
-
}
|
|
23547
|
-
}
|
|
23541
|
+
const currentSelectedId = modeValueId.value;
|
|
23548
23542
|
state.tableData = tableData.filter((item) => {
|
|
23549
23543
|
var _a2;
|
|
23550
|
-
return (_a2 = item[props.keywords.label]) == null ? void 0 : _a2.includes(val);
|
|
23544
|
+
return (_a2 = item[props.keywords.label]) == null ? void 0 : _a2.toLowerCase().includes(val.toLowerCase());
|
|
23551
23545
|
});
|
|
23552
|
-
if (
|
|
23553
|
-
const
|
|
23554
|
-
(item) => item[props.keywords.
|
|
23546
|
+
if (currentSelectedId) {
|
|
23547
|
+
const isStillInTable = state.tableData.some(
|
|
23548
|
+
(item) => item[props.keywords.value] === currentSelectedId
|
|
23555
23549
|
);
|
|
23556
|
-
if (
|
|
23557
|
-
radioVal.value =
|
|
23550
|
+
if (isStillInTable) {
|
|
23551
|
+
radioVal.value = currentSelectedId;
|
|
23552
|
+
} else {
|
|
23553
|
+
radioVal.value = "";
|
|
23558
23554
|
}
|
|
23555
|
+
} else {
|
|
23556
|
+
radioVal.value = "";
|
|
23559
23557
|
}
|
|
23560
23558
|
};
|
|
23561
23559
|
const initTableData = () => {
|
|
@@ -23572,7 +23570,7 @@
|
|
|
23572
23570
|
});
|
|
23573
23571
|
} else {
|
|
23574
23572
|
const matchedRow = (_b = state.tableData) == null ? void 0 : _b.find(
|
|
23575
|
-
(item) => item[props.keywords.value] ===
|
|
23573
|
+
(item) => item[props.keywords.value] === modeValueId.value
|
|
23576
23574
|
);
|
|
23577
23575
|
if (matchedRow) {
|
|
23578
23576
|
selectTable.value.setCurrentRow(matchedRow);
|
|
@@ -23606,25 +23604,19 @@
|
|
|
23606
23604
|
showMessage("error", error.message || t("plus.copy.copyFail"));
|
|
23607
23605
|
}
|
|
23608
23606
|
};
|
|
23609
|
-
const radioChangeHandle = (event, row,
|
|
23607
|
+
const radioChangeHandle = (event, row, rowValue) => {
|
|
23610
23608
|
event.preventDefault();
|
|
23611
23609
|
if (row.isRadioDisabled) return;
|
|
23612
23610
|
isDefaultSelectVal.value = false;
|
|
23613
|
-
radioClick(row,
|
|
23614
|
-
};
|
|
23615
|
-
const isForbidden = () => {
|
|
23616
|
-
forbidden.value = false;
|
|
23617
|
-
setTimeout(() => {
|
|
23618
|
-
forbidden.value = true;
|
|
23619
|
-
}, 0);
|
|
23611
|
+
radioClick(row, rowValue);
|
|
23620
23612
|
};
|
|
23621
|
-
const radioClick = (row,
|
|
23622
|
-
|
|
23623
|
-
if (
|
|
23613
|
+
const radioClick = (row, rowValue) => {
|
|
23614
|
+
const isAlreadySelected = state.defaultValue && state.defaultValue[props.keywords.value] === rowValue;
|
|
23615
|
+
if (isAlreadySelected) {
|
|
23624
23616
|
if (!props.radioSameIsCancel) return;
|
|
23625
23617
|
clear();
|
|
23626
23618
|
} else {
|
|
23627
|
-
updateState(row,
|
|
23619
|
+
updateState(row, rowValue);
|
|
23628
23620
|
}
|
|
23629
23621
|
if (props.isExpanded && state.defaultValue) {
|
|
23630
23622
|
selectDefaultLabel.value = state.defaultValue[props.keywords.label] || "";
|
|
@@ -23633,29 +23625,23 @@
|
|
|
23633
23625
|
blur();
|
|
23634
23626
|
}
|
|
23635
23627
|
};
|
|
23636
|
-
const updateState = (row,
|
|
23637
|
-
|
|
23638
|
-
radioVal.value = index;
|
|
23628
|
+
const updateState = (row, rowValue) => {
|
|
23629
|
+
radioVal.value = rowValue;
|
|
23639
23630
|
state.defaultValue = row;
|
|
23640
|
-
emits("radioChange", row,
|
|
23641
|
-
modeValueId.value =
|
|
23631
|
+
emits("radioChange", row, rowValue);
|
|
23632
|
+
modeValueId.value = rowValue;
|
|
23642
23633
|
modeValueName.value = row[props.keywords.label];
|
|
23643
23634
|
};
|
|
23644
23635
|
const rowClick = async (row) => {
|
|
23645
23636
|
if (row.isRadioDisabled) return;
|
|
23646
23637
|
if (!props.rowClickRadio) return;
|
|
23647
23638
|
if (!props.multiple) {
|
|
23648
|
-
|
|
23649
|
-
|
|
23650
|
-
)
|
|
23651
|
-
|
|
23652
|
-
|
|
23653
|
-
|
|
23654
|
-
if (radioVal.value) {
|
|
23655
|
-
isRadio.value = true;
|
|
23656
|
-
} else {
|
|
23657
|
-
isRadio.value = false;
|
|
23658
|
-
}
|
|
23639
|
+
isDefaultSelectVal.value = false;
|
|
23640
|
+
await radioClick(row, row[props.keywords.value]);
|
|
23641
|
+
if (radioVal.value) {
|
|
23642
|
+
isRadio.value = true;
|
|
23643
|
+
} else {
|
|
23644
|
+
isRadio.value = false;
|
|
23659
23645
|
}
|
|
23660
23646
|
}
|
|
23661
23647
|
};
|
|
@@ -23693,7 +23679,6 @@
|
|
|
23693
23679
|
}
|
|
23694
23680
|
nowIndex.value = -1;
|
|
23695
23681
|
radioVal.value = "";
|
|
23696
|
-
forbidden.value = false;
|
|
23697
23682
|
selectDefaultLabel.value = null;
|
|
23698
23683
|
resetDefaultState();
|
|
23699
23684
|
emits("radioChange", null, null);
|
|
@@ -23878,10 +23863,11 @@
|
|
|
23878
23863
|
vue.createVNode(_component_el_radio, {
|
|
23879
23864
|
modelValue: radioVal.value,
|
|
23880
23865
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => radioVal.value = $event),
|
|
23881
|
-
label: scope
|
|
23866
|
+
label: scope.row[__props.keywords.value],
|
|
23867
|
+
value: scope.row[__props.keywords.value],
|
|
23882
23868
|
disabled: scope.row.isRadioDisabled,
|
|
23883
|
-
onClick: vue.withModifiers(($event) => radioChangeHandle($event, scope.row, scope
|
|
23884
|
-
}, null, 8, ["modelValue", "label", "disabled", "onClick"])
|
|
23869
|
+
onClick: vue.withModifiers(($event) => radioChangeHandle($event, scope.row, scope.row[__props.keywords.value]), ["stop"])
|
|
23870
|
+
}, null, 8, ["modelValue", "label", "value", "disabled", "onClick"])
|
|
23885
23871
|
]),
|
|
23886
23872
|
_: 1
|
|
23887
23873
|
/* STABLE */
|