mooho-base-admin-plus 2.4.12 → 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
@@ -44,3 +44,5 @@
44
44
  2.4.10 - showData 支持多行显示(换行、空格)
45
45
  2.4.11 - 增加 string 类型时间戳显示支持
46
46
  2.4.12 - 增加 string 类型时间戳显示支持 bug 修复
47
+ 2.4.13 - 增加 string 类型时间戳显示支持 bug 修复
48
+ 2.4.14 - 修复草稿状态下点击历史显示所有的问题
@@ -23010,7 +23010,13 @@ var mixinPage = {
23010
23010
  }
23011
23011
  } else if (dataType === "Integer") {
23012
23012
  if (!!(format2 || "").trim()) {
23013
- return format$3(new Date(value * 1e3), format2);
23013
+ let result2 = null;
23014
+ try {
23015
+ result2 = format$3(new Date(value * 1e3), format2);
23016
+ } catch (e3) {
23017
+ console.log(e3, value);
23018
+ }
23019
+ return result2;
23014
23020
  } else {
23015
23021
  return value;
23016
23022
  }
@@ -23046,10 +23052,17 @@ var mixinPage = {
23046
23052
  let array = JSON.parse(value);
23047
23053
  result2 = array.join(", ");
23048
23054
  } catch (e3) {
23055
+ console.log(e3, value);
23049
23056
  }
23050
23057
  return result2;
23051
23058
  } else if (!!(format2 || "").trim()) {
23052
- return format$3(new Date(parseInt(value) * 1e3), format2);
23059
+ let result2 = null;
23060
+ try {
23061
+ result2 = format$3(new Date(parseInt(value) * 1e3), format2);
23062
+ } catch (e3) {
23063
+ console.log(e3, value);
23064
+ }
23065
+ return result2;
23053
23066
  } else {
23054
23067
  return this.tParam(this.showMultiLine(value));
23055
23068
  }
@@ -34294,7 +34307,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
34294
34307
  ]),
34295
34308
  _: 1
34296
34309
  }, 8, ["onClick"])) : createCommentVNode("v-if", true),
34297
- _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, {
34298
34311
  key: 1,
34299
34312
  type: "info",
34300
34313
  "custom-icon": "fa fa-history",
@@ -34327,7 +34340,8 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
34327
34340
  ]),
34328
34341
  _: 1
34329
34342
  })) : createCommentVNode("v-if", true),
34330
- 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,
34331
34345
  type: "info",
34332
34346
  "custom-icon": "fa fa-history",
34333
34347
  onClick: _cache[3] || (_cache[3] = ($event) => _ctx.$refs.approvalHistoryTable.open({ processInstID: _ctx.$refs.showForm.data.application.processInstID }))
@@ -34336,7 +34350,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
34336
34350
  createTextVNode(toDisplayString$1(_ctx.$t("Front_Btn_History")), 1)
34337
34351
  ]),
34338
34352
  _: 1
34339
- })
34353
+ })) : createCommentVNode("v-if", true)
34340
34354
  ]),
34341
34355
  _: 1
34342
34356
  }, 8, ["readonly"])) : createCommentVNode("v-if", true),