mooho-base-admin-plus 2.10.44 → 2.10.46
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/package.json
CHANGED
|
@@ -90,14 +90,13 @@
|
|
|
90
90
|
:parent-data="data"
|
|
91
91
|
@on-change="(row, sender, selected) => onDataChange(column, null, row, sender, selected)"
|
|
92
92
|
>
|
|
93
|
-
<template #
|
|
93
|
+
<template #top>
|
|
94
94
|
<!--
|
|
95
|
-
@slot
|
|
96
|
-
@binding {object} table 表格对象
|
|
95
|
+
@slot 内嵌表格顶部
|
|
97
96
|
@binding {object} tableColumn 表格列对象
|
|
98
97
|
@binding {string} tableCode 表格列代码
|
|
99
98
|
-->
|
|
100
|
-
<slot name="
|
|
99
|
+
<slot name="excelTableTop" :tableColumn="column" :tableCode="column.code"></slot>
|
|
101
100
|
</template>
|
|
102
101
|
</view-table-excel>
|
|
103
102
|
</div>
|
|
@@ -524,10 +524,12 @@
|
|
|
524
524
|
this.$refs.table.hotInstance.loadData(this.data);
|
|
525
525
|
}
|
|
526
526
|
|
|
527
|
-
this.
|
|
528
|
-
this.
|
|
529
|
-
|
|
530
|
-
|
|
527
|
+
if (this.columns.find(item => item.code == property).controlType != 'DialogSelect') {
|
|
528
|
+
this.onDataChange(
|
|
529
|
+
this.data[row],
|
|
530
|
+
this.columns.find(item => item.code == property)
|
|
531
|
+
);
|
|
532
|
+
}
|
|
531
533
|
});
|
|
532
534
|
|
|
533
535
|
this.loadData();
|