@vipl520/dk-ui 1.0.39 → 1.0.40

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/index.js CHANGED
@@ -28140,7 +28140,8 @@
28140
28140
  return request(
28141
28141
  {
28142
28142
  url: this.actionUrl.get("recycleTable"),
28143
- method: "post"
28143
+ method: "post",
28144
+ ...this.requestConfig
28144
28145
  },
28145
28146
  {
28146
28147
  code_error_show: true
@@ -28155,7 +28156,8 @@
28155
28156
  {
28156
28157
  url: this.actionUrl.get("form"),
28157
28158
  method: "post",
28158
- data: { id }
28159
+ data: { id },
28160
+ ...this.requestConfig
28159
28161
  },
28160
28162
  {
28161
28163
  code_error_show: true
@@ -28188,7 +28190,8 @@
28188
28190
  {
28189
28191
  url: this.actionUrl.get("recycle"),
28190
28192
  method: "get",
28191
- params: filter
28193
+ params: filter,
28194
+ ...this.requestConfig
28192
28195
  },
28193
28196
  {
28194
28197
  code_error_show: true
@@ -28204,7 +28207,8 @@
28204
28207
  {
28205
28208
  url: this.actionUrl.get("edit"),
28206
28209
  method: "get",
28207
- params
28210
+ params,
28211
+ ...this.requestConfig
28208
28212
  },
28209
28213
  {
28210
28214
  code_error_show: true
@@ -28222,7 +28226,8 @@
28222
28226
  method: "DELETE",
28223
28227
  params: {
28224
28228
  ids
28225
- }
28229
+ },
28230
+ ...this.requestConfig
28226
28231
  },
28227
28232
  {
28228
28233
  code_success_show: true,
@@ -28241,7 +28246,8 @@
28241
28246
  method: "POST",
28242
28247
  data: {
28243
28248
  ids
28244
- }
28249
+ },
28250
+ ...this.requestConfig
28245
28251
  },
28246
28252
  {
28247
28253
  code_success_show: true,
@@ -28260,7 +28266,8 @@
28260
28266
  method: "POST",
28261
28267
  data: {
28262
28268
  ids
28263
- }
28269
+ },
28270
+ ...this.requestConfig
28264
28271
  },
28265
28272
  {
28266
28273
  code_success_show: true,
@@ -28278,7 +28285,8 @@
28278
28285
  {
28279
28286
  url: this.actionUrl.has(action) ? this.actionUrl.get(action) : this.controllerUrl + action,
28280
28287
  method: "post",
28281
- data
28288
+ data,
28289
+ ...this.requestConfig
28282
28290
  },
28283
28291
  {
28284
28292
  code_success_show: true,
@@ -28299,7 +28307,8 @@
28299
28307
  data: {
28300
28308
  id,
28301
28309
  targetId
28302
- }
28310
+ },
28311
+ ...this.requestConfig
28303
28312
  },
28304
28313
  {
28305
28314
  code_error_show: true
@@ -30477,6 +30486,7 @@
30477
30486
  _: 1
30478
30487
  /* STABLE */
30479
30488
  })) : require$$0.createCommentVNode("v-if", true),
30489
+ require$$0.renderSlot(_ctx.$slots, "AddButtonAppend"),
30480
30490
  props.buttons.includes("export_csv") && require$$0.unref(DkTable).auth("export_csv") ? (require$$0.openBlock(), require$$0.createBlock(_component_el_tooltip, {
30481
30491
  key: 2,
30482
30492
  content: "\u5BFC\u51FA\u9009\u4E2D\u884C",
@@ -30502,6 +30512,7 @@
30502
30512
  _: 1
30503
30513
  /* STABLE */
30504
30514
  })) : require$$0.createCommentVNode("v-if", true),
30515
+ require$$0.renderSlot(_ctx.$slots, "ExportButtonAppend"),
30505
30516
  props.buttons.includes("edit") && require$$0.unref(DkTable).auth("edit") ? (require$$0.openBlock(), require$$0.createBlock(_component_el_tooltip, {
30506
30517
  key: 3,
30507
30518
  content: "\u7F16\u8F91\u9009\u4E2D\u884C",
@@ -30527,6 +30538,7 @@
30527
30538
  _: 1
30528
30539
  /* STABLE */
30529
30540
  })) : require$$0.createCommentVNode("v-if", true),
30541
+ require$$0.renderSlot(_ctx.$slots, "EditButtonAppend"),
30530
30542
  props.buttons.includes("delete") && require$$0.unref(DkTable).auth("del") ? (require$$0.openBlock(), require$$0.createBlock(_component_el_popconfirm, {
30531
30543
  key: 4,
30532
30544
  "confirm-button-text": "\u5220\u9664",
@@ -30567,6 +30579,7 @@
30567
30579
  _: 1
30568
30580
  /* STABLE */
30569
30581
  }, 8, ["disabled"])) : require$$0.createCommentVNode("v-if", true),
30582
+ require$$0.renderSlot(_ctx.$slots, "DeleteButtonAppend"),
30570
30583
  props.buttons.includes("unfold") ? (require$$0.openBlock(), require$$0.createBlock(_component_el_tooltip, {
30571
30584
  key: 5,
30572
30585
  content: (require$$0.unref(DkTable).table.expandAll ? "\u6536\u7F29" : "\u5C55\u5F00") + "\u6240\u6709\u5B50\u83DC\u5355",
@@ -30598,6 +30611,7 @@
30598
30611
  _: 1
30599
30612
  /* STABLE */
30600
30613
  }, 8, ["content"])) : require$$0.createCommentVNode("v-if", true),
30614
+ require$$0.renderSlot(_ctx.$slots, "UnfoldButtonAppend"),
30601
30615
  props.buttons.includes("recycle") && require$$0.unref(DkTable).auth("recycle") ? (require$$0.openBlock(), require$$0.createBlock(_component_el_tooltip, {
30602
30616
  key: 6,
30603
30617
  content: "\u6253\u5F00\u56DE\u6536\u7AD9",
@@ -30622,6 +30636,7 @@
30622
30636
  _: 1
30623
30637
  /* STABLE */
30624
30638
  })) : require$$0.createCommentVNode("v-if", true),
30639
+ require$$0.renderSlot(_ctx.$slots, "RecycleButtonAppend"),
30625
30640
  require$$0.createElementVNode("div", _hoisted_9$2, [
30626
30641
  require$$0.createElementVNode("div", _hoisted_10$1, [
30627
30642
  require$$0.createVNode(_component_el_input, {