From 1a2d7710561c2ca22632ca7dbb1ecae46502ec7e Mon Sep 17 00:00:00 2001
From: Surpriseplus <845948745@qq.com>
Date: 星期六, 25 二月 2023 17:29:05 +0800
Subject: [PATCH] 数据检索高级查询修改

---
 src/components/MapView/mapSpacePop.vue |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/components/MapView/mapSpacePop.vue b/src/components/MapView/mapSpacePop.vue
index d9d56a8..c6fd02f 100644
--- a/src/components/MapView/mapSpacePop.vue
+++ b/src/components/MapView/mapSpacePop.vue
@@ -143,9 +143,9 @@
       optionx: [],
       options: [],
       conditions: [
-        ['<>', 'like'],
+        ['=', '<>', 'like'],
         ['>=', '>', ' =', '<=', '<', '<>'],
-        ['>=', '<='],
+        ['>=', '>', ' =', '<=', '<', '<>'],
       ],
       options1: [
         {
@@ -232,7 +232,7 @@
       obj = this.optionx.find(function (item) {
         return item.field === value;
       });
-     
+
       // if (obj.type == 'serial' || obj.type == 'int') {
       //   this.options = this.options2;
       // } else {
@@ -320,9 +320,9 @@
     //鍒濆鍖栨煡璇㈤槇鍊艰〃
     async getDomainsLayer() {
       const data = await inquiry_selectDomains({ name: this.spaceLayer });
-        if (data.code != 200) {
-          this.$message.error('鍒楄〃璋冪敤澶辫触');
-        }
+      if (data.code != 200) {
+        this.$message.error('鍒楄〃璋冪敤澶辫触');
+      }
       this.domainsLayer = data.result;
       this.setListDataStart();
       this.getTableselectFields();

--
Gitblit v1.9.3