mooho-base-admin-plus 2.2.4 → 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
@@ -6,3 +6,4 @@
6
6
  2.2.1 - tableView 和 modalView 增加 row-class-name 属性
7
7
  2.2.2 - 路由权限判断 bug 修复,处理带 query 参数的情况
8
8
  2.2.4 - 非多语言情况下,仍旧要解析后端传过来的内容
9
+ 2.2.5 - 流程模板页面增加 all 权限的判断
@@ -34033,6 +34033,7 @@ const _sfc_main$L = {
34033
34033
  components: {},
34034
34034
  data() {
34035
34035
  return {
34036
+ filter: {},
34036
34037
  applicationType: {},
34037
34038
  page: {},
34038
34039
  messageData: {
@@ -34051,6 +34052,9 @@ const _sfc_main$L = {
34051
34052
  let res2 = await this.loadPage(pageID);
34052
34053
  this.page = res2.customPage;
34053
34054
  setTimeout(() => {
34055
+ if (!this.allow("all")) {
34056
+ this.filter.createUserID = this.info.id;
34057
+ }
34054
34058
  this.$refs.table.init(this.page.tableViewCode, () => {
34055
34059
  this.$refs.table.loadData();
34056
34060
  });
@@ -34166,6 +34170,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
34166
34170
  $data.page ? (openBlock(), createBlock(_component_view_table, {
34167
34171
  key: 0,
34168
34172
  ref: "table",
34173
+ filter: $data.filter,
34169
34174
  onCreate: $options.create
34170
34175
  }, {
34171
34176
  command: withCtx(({ row }) => [
@@ -34187,7 +34192,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
34187
34192
  }, null, 8, ["title", "onClick"])) : createCommentVNode("v-if", true)
34188
34193
  ]),
34189
34194
  _: 1
34190
- }, 8, ["onCreate"])) : createCommentVNode("v-if", true)
34195
+ }, 8, ["filter", "onCreate"])) : createCommentVNode("v-if", true)
34191
34196
  ]),
34192
34197
  _: 1
34193
34198
  }),