mooho-base-admin-plus 2.4.13 → 2.4.14

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
@@ -45,3 +45,4 @@
45
45
  2.4.11 - 增加 string 类型时间戳显示支持
46
46
  2.4.12 - 增加 string 类型时间戳显示支持 bug 修复
47
47
  2.4.13 - 增加 string 类型时间戳显示支持 bug 修复
48
+ 2.4.14 - 修复草稿状态下点击历史显示所有的问题
@@ -23014,7 +23014,7 @@ var mixinPage = {
23014
23014
  try {
23015
23015
  result2 = format$3(new Date(value * 1e3), format2);
23016
23016
  } catch (e3) {
23017
- console.log(e3);
23017
+ console.log(e3, value);
23018
23018
  }
23019
23019
  return result2;
23020
23020
  } else {
@@ -23052,7 +23052,7 @@ var mixinPage = {
23052
23052
  let array = JSON.parse(value);
23053
23053
  result2 = array.join(", ");
23054
23054
  } catch (e3) {
23055
- console.log(e3);
23055
+ console.log(e3, value);
23056
23056
  }
23057
23057
  return result2;
23058
23058
  } else if (!!(format2 || "").trim()) {
@@ -23060,7 +23060,7 @@ var mixinPage = {
23060
23060
  try {
23061
23061
  result2 = format$3(new Date(parseInt(value) * 1e3), format2);
23062
23062
  } catch (e3) {
23063
- console.log(e3);
23063
+ console.log(e3, value);
23064
23064
  }
23065
23065
  return result2;
23066
23066
  } else {
@@ -34307,7 +34307,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
34307
34307
  ]),
34308
34308
  _: 1
34309
34309
  }, 8, ["onClick"])) : createCommentVNode("v-if", true),
34310
- _ctx.$refs.form && _ctx.$refs.form.data && _ctx.$refs.form.data.applicationID ? (openBlock(), createBlock(_component_Button, {
34310
+ _ctx.$refs.form && _ctx.$refs.form.data && _ctx.$refs.form.data.application && _ctx.$refs.form.data.application.processInstID ? (openBlock(), createBlock(_component_Button, {
34311
34311
  key: 1,
34312
34312
  type: "info",
34313
34313
  "custom-icon": "fa fa-history",
@@ -34340,7 +34340,8 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
34340
34340
  ]),
34341
34341
  _: 1
34342
34342
  })) : createCommentVNode("v-if", true),
34343
- createVNode$1(_component_Button, {
34343
+ _ctx.$refs.showForm && _ctx.$refs.showForm.data && _ctx.$refs.showForm.data.application && _ctx.$refs.showForm.data.application.processInstID ? (openBlock(), createBlock(_component_Button, {
34344
+ key: 1,
34344
34345
  type: "info",
34345
34346
  "custom-icon": "fa fa-history",
34346
34347
  onClick: _cache[3] || (_cache[3] = ($event) => _ctx.$refs.approvalHistoryTable.open({ processInstID: _ctx.$refs.showForm.data.application.processInstID }))
@@ -34349,7 +34350,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
34349
34350
  createTextVNode(toDisplayString$1(_ctx.$t("Front_Btn_History")), 1)
34350
34351
  ]),
34351
34352
  _: 1
34352
- })
34353
+ })) : createCommentVNode("v-if", true)
34353
34354
  ]),
34354
34355
  _: 1
34355
34356
  }, 8, ["readonly"])) : createCommentVNode("v-if", true),