bl-common-vue3 3.8.103 → 3.8.105

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bl-common-vue3",
3
- "version": "3.8.103",
3
+ "version": "3.8.105",
4
4
  "main": "index.js",
5
5
  "module": "index.js",
6
6
  "description": "bailing vue3 common components lib",
@@ -225,11 +225,23 @@ export default defineComponent({
225
225
  okText: t('common.button.confirm'),
226
226
  cancelText: t('common.button.cancel'),
227
227
  onOk: () => {
228
- state.defaultColumns = cloneDeep(props.initColumns).map((v) => {
229
- v.sorter = v.hasSort ? v?.sorter ?? true : false;
230
- return v;
228
+ let extra = {
229
+ table_name: props.tableId,
230
+ }
231
+ context.emit("request", {
232
+ params: {
233
+ method: "del",
234
+ server: "/org",
235
+ url: "/org/user/table",
236
+ extra: {
237
+ ...extra
238
+ },
239
+ },
240
+ success: () => {
241
+ message.success(t('common.save.success'));
242
+ context.emit("handleSuccess");
243
+ },
231
244
  });
232
- onSubmit();
233
245
  },
234
246
  });
235
247
  };
@@ -18,7 +18,7 @@
18
18
  "CustomTable.index.074786-19": "列表設定",
19
19
  "CustomTable.index.074786-22": "匯入檔案",
20
20
  "CustomTable.index.074786-31": "匯出成功,請等待檔案產生",
21
- "CustomTable.index.074786-32": "共{0}項",
21
+ "CustomTable.index.074786-32": "共{0}筆",
22
22
  "modules.AddAttachments.831666-0": "新增{0}",
23
23
  "modules.AddAttachments.831666-1": "{0}名稱",
24
24
  "modules.AddAttachments.831666-2": "上載附件",