hy-dispatch-ui-v3 0.2.52 → 0.2.53
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/components/hyBatchUploadDialog/batchUploadDialog.vue.mjs +6 -1
- package/es/components/hyTree/js/index.mjs +1 -0
- package/es/components/hyTree/tree.vue.mjs +2 -1
- package/es/version.mjs +1 -1
- package/lib/components/hyBatchUploadDialog/batchUploadDialog.vue.js +6 -1
- package/lib/components/hyTree/js/index.js +1 -0
- package/lib/components/hyTree/tree.vue.js +2 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
|
@@ -159,7 +159,12 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
159
159
|
async function onSubmitHandler() {
|
|
160
160
|
const res = await batchTableFormRef.value.validate();
|
|
161
161
|
if (props.uploadType === "custom") {
|
|
162
|
-
|
|
162
|
+
const dataSource = batchTableFormRef.value.getTableDataSource();
|
|
163
|
+
onTableSubmitHandler({
|
|
164
|
+
...res,
|
|
165
|
+
result: res.total === res.success,
|
|
166
|
+
dataSource
|
|
167
|
+
});
|
|
163
168
|
} else {
|
|
164
169
|
batchTableFormRef.value.submitDataSource();
|
|
165
170
|
}
|
|
@@ -191,7 +191,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
191
191
|
singleRemovalFn,
|
|
192
192
|
setCheckedKeys,
|
|
193
193
|
setChecked,
|
|
194
|
-
getSelectedDataList
|
|
194
|
+
getSelectedDataList,
|
|
195
|
+
refreshData
|
|
195
196
|
});
|
|
196
197
|
return (_ctx, _cache) => {
|
|
197
198
|
const _directive_loading = resolveDirective("loading");
|
package/es/version.mjs
CHANGED
|
@@ -163,7 +163,12 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
163
163
|
async function onSubmitHandler() {
|
|
164
164
|
const res = await batchTableFormRef.value.validate();
|
|
165
165
|
if (props.uploadType === "custom") {
|
|
166
|
-
|
|
166
|
+
const dataSource = batchTableFormRef.value.getTableDataSource();
|
|
167
|
+
onTableSubmitHandler({
|
|
168
|
+
...res,
|
|
169
|
+
result: res.total === res.success,
|
|
170
|
+
dataSource
|
|
171
|
+
});
|
|
167
172
|
} else {
|
|
168
173
|
batchTableFormRef.value.submitDataSource();
|
|
169
174
|
}
|
|
@@ -195,7 +195,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
195
195
|
singleRemovalFn,
|
|
196
196
|
setCheckedKeys,
|
|
197
197
|
setChecked,
|
|
198
|
-
getSelectedDataList
|
|
198
|
+
getSelectedDataList,
|
|
199
|
+
refreshData
|
|
199
200
|
});
|
|
200
201
|
return (_ctx, _cache) => {
|
|
201
202
|
const _directive_loading = vue.resolveDirective("loading");
|
package/lib/version.js
CHANGED