From d6a7385c68250ffab4f4d3a6ea87a027970a4335 Mon Sep 17 00:00:00 2001 From: zhouhongjun <565221961@qq.com> Date: Tue, 18 Jun 2024 17:25:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8B=E6=8B=89=E7=AD=9B=E9=80=89=E9=A1=B9?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=A4=A7=E4=BA=8E=E7=AD=89=E4=BA=8E=E5=92=8C?= =?UTF-8?q?=E5=B0=8F=E4=BA=8E=E7=AD=89=E4=BA=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wwwroot/components/list/index.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/list/index.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/list/index.js index 1ba85ba1..392d3a78 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/list/index.js +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/list/index.js @@ -791,15 +791,17 @@ export default { }, ]; const getOperators = (schema) => { - const values = ["equal", "notEqual"]; + const values = ["equal", "notEqual","biggerThanOrEqual","smallThanOrEqual"]; if (schema.type === "string") { values.push("like", "notLike"); if (schema.input && ["year", "month", "date", "datetime"].includes(schema.input)) { - values.push("biggerThan", "smallThan", "biggerThanOrEqual", "smallThanOrEqual"); + //values.push("biggerThan", "smallThan", "biggerThanOrEqual", "smallThanOrEqual"); + values.push("biggerThan", "smallThan"); } } else if (schema.type === "boolean") { } else { - values.push("biggerThan", "smallThan", "biggerThanOrEqual", "smallThanOrEqual"); + //values.push("biggerThan", "smallThan", "biggerThanOrEqual", "smallThanOrEqual"); + values.push("biggerThan", "smallThan"); } return operators.filter((o) => values.includes(o.value)); };