mooho-base-admin-plus 2.2.3 → 2.2.5

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
@@ -5,3 +5,5 @@
5
5
  2.2.0 - 增加外发接口日志查询,任务队列日志查询增加接口日志
6
6
  2.2.1 - tableView 和 modalView 增加 row-class-name 属性
7
7
  2.2.2 - 路由权限判断 bug 修复,处理带 query 参数的情况
8
+ 2.2.4 - 非多语言情况下,仍旧要解析后端传过来的内容
9
+ 2.2.5 - 流程模板页面增加 all 权限的判断
@@ -23026,11 +23026,7 @@ var mixinPage = {
23026
23026
  let array = JSON.parse(value);
23027
23027
  return array.join(", ");
23028
23028
  } else {
23029
- if (this.layout.showI18n) {
23030
- return this.tParam(value);
23031
- } else {
23032
- return value;
23033
- }
23029
+ return this.tParam(value);
23034
23030
  }
23035
23031
  } else {
23036
23032
  return value;
@@ -34037,6 +34033,7 @@ const _sfc_main$L = {
34037
34033
  components: {},
34038
34034
  data() {
34039
34035
  return {
34036
+ filter: {},
34040
34037
  applicationType: {},
34041
34038
  page: {},
34042
34039
  messageData: {
@@ -34055,6 +34052,9 @@ const _sfc_main$L = {
34055
34052
  let res2 = await this.loadPage(pageID);
34056
34053
  this.page = res2.customPage;
34057
34054
  setTimeout(() => {
34055
+ if (!this.allow("all")) {
34056
+ this.filter.createUserID = this.info.id;
34057
+ }
34058
34058
  this.$refs.table.init(this.page.tableViewCode, () => {
34059
34059
  this.$refs.table.loadData();
34060
34060
  });
@@ -34170,6 +34170,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
34170
34170
  $data.page ? (openBlock(), createBlock(_component_view_table, {
34171
34171
  key: 0,
34172
34172
  ref: "table",
34173
+ filter: $data.filter,
34173
34174
  onCreate: $options.create
34174
34175
  }, {
34175
34176
  command: withCtx(({ row }) => [
@@ -34191,7 +34192,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
34191
34192
  }, null, 8, ["title", "onClick"])) : createCommentVNode("v-if", true)
34192
34193
  ]),
34193
34194
  _: 1
34194
- }, 8, ["onCreate"])) : createCommentVNode("v-if", true)
34195
+ }, 8, ["filter", "onCreate"])) : createCommentVNode("v-if", true)
34195
34196
  ]),
34196
34197
  _: 1
34197
34198
  }),