agilebuilder-ui 1.1.38-sit2 → 1.1.38-sit3

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.
@@ -1,5 +1,5 @@
1
1
  import { openBlock as r, createElementBlock as t, createCommentVNode as o } from "vue";
2
- import { _ as s } from "./index-f5b5c746.js";
2
+ import { _ as s } from "./index-91c98916.js";
3
3
  const u = ["src"], f = s({ data: () => ({ src: null }), watch: { $route(n, c) {
4
4
  this.src = this.$route.query.src;
5
5
  } }, mounted() {
@@ -1,4 +1,4 @@
1
- import { _ as f, c as _, g as x, b as P, s as h, m as M, M as O, i as I } from "./index-f5b5c746.js";
1
+ import { _ as f, c as _, g as x, b as P, s as h, m as M, M as O, i as I } from "./index-91c98916.js";
2
2
  import { resolveComponent as u, openBlock as l, createBlock as b, withCtx as g, createVNode as v, TransitionGroup as L, createElementBlock as p, Fragment as C, renderList as T, createElementVNode as m, toDisplayString as w, normalizeClass as S, createCommentVNode as y } from "vue";
3
3
  const k = { class: "no-redirect" }, A = f({ name: "Breadcrumb", data: () => ({ levelList: null }), computed: { levelListWithTitle() {
4
4
  return this.levelList.filter((e) => e.meta.title !== void 0 && e.meta.title !== null);
@@ -1,5 +1,5 @@
1
1
  import { resolveComponent as t, openBlock as a, createElementBlock as s, createElementVNode as y, createVNode as l, withCtx as r, createTextVNode as n, toDisplayString as p, createCommentVNode as c, createBlock as h } from "vue";
2
- import { _ as I } from "./index-f5b5c746.js";
2
+ import { _ as I } from "./index-91c98916.js";
3
3
  const g = { style: { "padding-bottom": "10px" } }, k = { key: 0, class: "graphDiv" }, N = I({ name: "TacheSubprocessHistory", data: () => ({ type: "graph", workflowId: null }), created() {
4
4
  const o = this.$route.query.workflowId;
5
5
  o && (this.workflowId = parseInt(o));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agilebuilder-ui",
3
- "version": "1.1.38-sit2",
3
+ "version": "1.1.38-sit3",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "main": "./lib/super-ui.js",
@@ -13,7 +13,7 @@
13
13
  :additional-settings="controlConfig"
14
14
  :parent="parentFormData"
15
15
  :prop="column.prop"
16
- :custom-params="controlConfig ? controlConfig.customParams : null"
16
+ :custom-params="myCustomParams"
17
17
  :row="row"
18
18
  :row-index="position ? position.row : null"
19
19
  :select-options="options"
@@ -763,7 +763,8 @@ export default {
763
763
  isShowScanIcon,
764
764
  baseURL,
765
765
  colConfigure, // v10字段配置原信息
766
- designProperty // 字段配置
766
+ designProperty, // 字段配置
767
+ myCustomParams: {}
767
768
  }
768
769
  },
769
770
  computed: {},
@@ -903,7 +904,7 @@ export default {
903
904
  // })
904
905
  const that = this
905
906
  if (this.controlConfig?.customParams) {
906
- formatCustomParams(this.controlConfig.customParams, this.pageContext, this.row)
907
+ this.myCustomParams = formatCustomParams(this.controlConfig.customParams, this.pageContext, this.row)
907
908
  }
908
909
  // 选择文件结束
909
910
  eventBus.$on(this.componentId + '-pickFileDone', (data) => {
package/src/utils/util.js CHANGED
@@ -621,6 +621,7 @@ function getAdditionalParamMap(pageContext) {
621
621
  }
622
622
 
623
623
  export function formatCustomParams(customParams, pageContext, row) {
624
+ const formatCustomParams = {}
624
625
  if (customParams && customParams.length > 0) {
625
626
  customParams.forEach((param) => {
626
627
  if (param.paramValue && param.paramValue.indexOf('${') === 0) {
@@ -631,10 +632,13 @@ export function formatCustomParams(customParams, pageContext, row) {
631
632
  } else {
632
633
  param.paramValue = null
633
634
  }
635
+ formatCustomParams[param.paramName] = param.paramValue
636
+ } else {
637
+ formatCustomParams[param.paramName] = param.paramValue
634
638
  }
635
639
  })
636
640
  }
637
- return customParams
641
+ return formatCustomParams
638
642
  }
639
643
  export function getPropValueNew(propValue, pageContext, row) {
640
644
  let value = null