浏览代码

重点工程

hanfucheng 1 年之前
父节点
当前提交
ff66285ec9

+ 7 - 27
data-ui/src/views/data/generalbusiness/keyProjects/index.vue

@@ -11,14 +11,13 @@
         />
       </el-form-item>
       <el-form-item label="属地辖区" prop="territoriality">
-        <el-select v-model="queryParams.territoriality" placeholder="请选择属地辖区" clearable size="small">
-          <el-option
-            v-for="item in options"
-            :key="item.value"
-            :label="item.label"
-            :value="item.value"
-          />
-        </el-select>
+        <el-input
+          v-model="queryParams.territoriality"
+          placeholder="请输入属地辖区"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
       </el-form-item>
       <el-form-item label="所属开发区" prop="park">
         <el-select v-model="queryParams.park" placeholder="请选择所属开发区">
@@ -737,25 +736,6 @@ export default {
         endTime: null,
         keyProjectsId: null,
       },
-      options: [{
-        value: '市本级',
-        label: '市本级'
-      }, {
-        value: '铁东区',
-        label: '铁东区'
-      }, {
-        value: '铁西区',
-        label: '铁西区'
-      }, {
-        value: '梨树县',
-        label: '梨树县'
-      }, {
-        value: '双辽市',
-        label: '双辽市'
-      }, {
-        value: '伊通县',
-        label: '伊通县'
-      }],
       // 表单参数
       form: {},
       // 表单校验

+ 1 - 1
src/main/resources/mapper/commandcenter/CommandCentreMapper.xml

@@ -176,7 +176,7 @@
                 AND project_level = #{params.projectLevel}
             </if>
             <if test="params.nature != null and params.nature != ''"><!--在建性质-->
-                AND nature in (${params.nature})
+                AND nature = #{params.nature}
             </if>
         </where>
         GROUP BY a.id

+ 1 - 1
src/main/resources/mapper/generalbusiness/CenterdataTKeyProjectsMapper.xml

@@ -90,7 +90,7 @@
                 </choose>
             </if>
             <if test="introduction != null  and introduction != ''">and introduction = #{introduction}</if>
-            <if test="territoriality != null  and territoriality != ''">and territoriality = #{territoriality}</if>
+            <if test="territoriality != null  and territoriality != ''">and territoriality like concat('%', #{territoriality},'%')</if>
             <if test="park != null  and park != ''">and park = #{park}</if>
             ${params.dataScope}
         </where>