agilebuilder-ui 1.1.35-sit2 → 1.1.35-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-5d1deed4.js";
2
+ import { _ as s } from "./index-78107f31.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-5d1deed4.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-78107f31.js";
2
2
  import { resolveComponent as u, openBlock as d, createBlock as b, withCtx as g, createVNode as v, TransitionGroup as L, createElementBlock as p, Fragment as T, renderList as C, 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-5d1deed4.js";
2
+ import { _ as I } from "./index-78107f31.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.35-sit2",
3
+ "version": "1.1.35-sit3",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "main": "./lib/super-ui.js",
@@ -1,4 +1,3 @@
1
- import { isDynamicDataSourceSource } from './utils'
2
1
  import dayjs from 'dayjs'
3
2
  import weekOfYear from 'dayjs/plugin/weekOfYear'
4
3
  dayjs.extend(weekOfYear)
@@ -755,7 +755,15 @@ export function getDynamicDataSourceOptions(column, isSql, additionalParamMap, b
755
755
 
756
756
  // 值设置是否是动态数据源类型的数据源
757
757
  export function isDynamicDataSourceSource(column) {
758
+ if(column.valueSetOptions) {
759
+ const valueSetOptionsObj = JSON.parse(column.valueSetOptions)
760
+ if((valueSetOptionsObj.type && valueSetOptionsObj.type === 'dynamicData') || valueSetOptionsObj.dynamicDataSourceCode){
761
+ // 表示是动态数据源
762
+ return true
763
+ }
764
+ }
758
765
  if (column.valueSet && column.valueSet.length > 0 && column.valueSet[0].value === 'dynamicDataSource') {
766
+ // 表示是动态数据源
759
767
  return true
760
768
  } else {
761
769
  return false
@@ -211,7 +211,7 @@ function getConfigWithValueSet(valueSetInfo, prop, column) {
211
211
  }else if(column && column.valueSetOptions) {
212
212
  // 动态数据源、数据表/视图、服务
213
213
  const valueSetOptionsObj = JSON.parse(column.valueSetOptions)
214
- if((valueSetOptionsObj.type || valueSetOptionsObj.dynamicDataSourceCode) && (valueSetOptionsObj.valueLabelSwitch || valueSetOptionsObj.valueLabelSwitch=== undefined)){
214
+ if((valueSetOptionsObj.type || valueSetOptionsObj.dynamicDataSourceCode) && valueSetOptionsObj.valueLabelSwitch){
215
215
  // 表示是动态数据源等值设置信息
216
216
  // const isShouldInitSearch = (valueSetOptionsObj.filterType === undefined || valueSetOptionsObj.filterType != 'remote')
217
217
  if(!valueSetOptionsObj.type || valueSetOptionsObj.type !== 'optionGroup'){