mooho-base-admin-plus 2.8.11 → 2.8.13

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/history.md CHANGED
@@ -152,3 +152,5 @@ mooho-base-admin-plus@2.8.8 - 下拉框等返回所有数据,避免联动失
152
152
  mooho-base-admin-plus@2.8.9 - 增加流程页面模板插槽
153
153
  mooho-base-admin-plus@2.8.10 - 流程页面模板优化
154
154
  mooho-base-admin-plus@2.8.11 - 修复上一版本bug
155
+ mooho-base-admin-plus@2.8.12 - 修复上一版本bug
156
+ mooho-base-admin-plus@2.8.13 - 修复上一版本bug
@@ -28230,6 +28230,11 @@ const user = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$O]
28230
28230
  // 申请类别
28231
28231
  applicationTypeCode: {
28232
28232
  type: String
28233
+ },
28234
+ // 允许撤销
28235
+ cancelEnable: {
28236
+ type: Boolean,
28237
+ default: !0
28233
28238
  }
28234
28239
  },
28235
28240
  computed: {},
@@ -28240,9 +28245,9 @@ const user = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$O]
28240
28245
  } else if (this.applicationTypeCode) {
28241
28246
  let r = await modelApi.query("ApplicationType", { code: this.applicationTypeCode });
28242
28247
  r.data.length > 0 && (this.page = {
28243
- tableViewCode,
28244
- formViewCode,
28245
- showViewCode,
28248
+ tableViewCode: this.tableViewCode,
28249
+ formViewCode: this.formViewCode,
28250
+ showViewCode: this.showViewCode,
28246
28251
  applicationType: r.data[0]
28247
28252
  }, this.init());
28248
28253
  }
@@ -28400,7 +28405,7 @@ function _sfc_render$N(r, a, o, s, l, u) {
28400
28405
  ]),
28401
28406
  _: 1
28402
28407
  }, 8, ["onClick"]),
28403
- r.$refs.form && r.$refs.form.data && r.$refs.form.data.application && r.$refs.form.data.applicationID && (r.$refs.form.data.application.status == "Draft" || r.$refs.form.data.application.status == "Rejected") ? (openBlock(), createBlock(d, {
28408
+ o.cancelEnable && r.$refs.form && r.$refs.form.data && r.$refs.form.data.application && r.$refs.form.data.applicationID && (r.$refs.form.data.application.status == "Draft" || r.$refs.form.data.application.status == "Rejected") ? (openBlock(), createBlock(d, {
28404
28409
  key: 0,
28405
28410
  type: "warning",
28406
28411
  "custom-icon": "fa fa-trash-alt",
@@ -44029,7 +44034,6 @@ function _sfc_render$n(r, a, o, s, l, u) {
44029
44034
  innerHTML: r.showData(u.rowData(Z, re), K)
44030
44035
  }, null, 10, _hoisted_3$9)) : K.controlType === "Tag" ? (openBlock(), createBlock(T, {
44031
44036
  key: 2,
44032
- size: "small",
44033
44037
  color: r.getTagColor(K, r.parseData(u.rowData(Z, re), K.code)),
44034
44038
  type: K.source == "default" ? null : K.source
44035
44039
  }, {
@@ -44560,7 +44564,7 @@ function _sfc_render$n(r, a, o, s, l, u) {
44560
44564
  ], 2)
44561
44565
  ], 2);
44562
44566
  }
44563
- const viewTable = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-56890bab"]]), __vite_glob_1_32 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
44567
+ const viewTable = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-f4e55115"]]), __vite_glob_1_32 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
44564
44568
  __proto__: null,
44565
44569
  default: viewTable
44566
44570
  }, Symbol.toStringTag, { value: "Module" })), _sfc_main$m = {