agilebuilder-ui 1.1.50-sit3 → 1.1.50-sit4

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-aad7870b.js";
2
+ import { _ as s } from "./index-90b19f05.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-aad7870b.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-90b19f05.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-aad7870b.js";
2
+ import { _ as I } from "./index-90b19f05.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.50-sit3",
3
+ "version": "1.1.50-sit4",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "main": "./lib/super-ui.js",
@@ -172,7 +172,7 @@ const searchMethods = {
172
172
  }
173
173
  return val
174
174
  },
175
- getOperator(column) {
175
+ getOperator(column, searchForm) {
176
176
  if (
177
177
  (column.dataType === 'TEXT' || column.dataType === 'CLOB') &&
178
178
  column.fuzzy &&
@@ -185,7 +185,7 @@ const searchMethods = {
185
185
  ) {
186
186
  // 是否是文本类型的字段,且启用了模糊查询,则表示操作符为contains模糊查询
187
187
  return 'CONTAIN'
188
- } else if (Array.isArray(this.getFormItemValue(column.prop))) {
188
+ } else if (Array.isArray(this.getFormItemValue(column.prop, null, searchForm))) {
189
189
  if (column.dataType === 'INTEGER' || column.dataType === 'LONG' || column.dataType === 'DOUBLE') {
190
190
  return 'BETWEEN'
191
191
  } else {
@@ -397,7 +397,7 @@ const searchMethods = {
397
397
  }
398
398
  param.propName = orgProp
399
399
  param.enumName = column.enumName
400
- param.operator = this.getOperator(column)
400
+ param.operator = this.getOperator(column, searchForm)
401
401
  param.dataType = column.dataType
402
402
  param.matchingType = column.queryMatching
403
403
  param.formatter = column.formatter ? JSON.parse(JSON.stringify(column.formatter)) : column.formatter
@@ -227,6 +227,7 @@ import { getGuId } from '../../../src/utils/guid.js'
227
227
  // import resizeMixin from '../../../src/mixins/resizeMixin.js';
228
228
  import storeVuex from '../../../src/store'
229
229
  import { setPageDataToChatAiStore, setPageInfoToChatStore } from '../../../src/utils/chat-ai-util.ts'
230
+ import searchMethods from './search-methods'
230
231
  export default {
231
232
  components: {
232
233
  IndexColumn,
@@ -943,6 +944,7 @@ export default {
943
944
  ...events,
944
945
  ...publicMethods,
945
946
  ...superGridService,
947
+ ...searchMethods,
946
948
  ...apis,
947
949
  onResize(entry) {
948
950
  this.resizeTableHeight()