Kaynağa Gözat

优化:
预约信息的企业和电话支持模糊搜索
场景体验和套餐推荐的预约企业支持模糊搜索
设备组管理页面输入框回车刷新页面的问题
诊断条目页面输入框回车刷新页面的问题

范志成 4 ay önce
ebeveyn
işleme
b066562729

+ 2 - 2
smsb-modules/smsb-digital-promotion/src/main/java/com/inspur/digital/service/impl/SmsbAppointmentInfoServiceImpl.java

@@ -170,14 +170,14 @@ public class SmsbAppointmentInfoServiceImpl implements ISmsbAppointmentInfoServi
     private LambdaQueryWrapper<SmsbAppointmentInfo> buildQueryWrapper(SmsbAppointmentInfoBo bo) {
         Map<String, Object> params = bo.getParams();
         LambdaQueryWrapper<SmsbAppointmentInfo> lqw = Wrappers.lambdaQuery();
-        lqw.eq(StringUtils.isNotBlank(bo.getEnterprise()), SmsbAppointmentInfo::getEnterprise, bo.getEnterprise());
+        lqw.like(StringUtils.isNotBlank(bo.getEnterprise()), SmsbAppointmentInfo::getEnterprise, bo.getEnterprise());
         lqw.eq(StringUtils.isNotBlank(bo.getRegion()), SmsbAppointmentInfo::getRegion, bo.getRegion());
         lqw.eq(StringUtils.isNotBlank(bo.getIndustry()), SmsbAppointmentInfo::getIndustry, bo.getIndustry());
         lqw.eq(bo.getSize() != null, SmsbAppointmentInfo::getSize, bo.getSize());
         lqw.eq(bo.getMoney() != null, SmsbAppointmentInfo::getMoney, bo.getMoney());
         lqw.eq(StringUtils.isNotBlank(bo.getType()), SmsbAppointmentInfo::getType, bo.getType());
         lqw.eq(StringUtils.isNotBlank(bo.getGradation()), SmsbAppointmentInfo::getGradation, bo.getGradation());
-        lqw.eq(bo.getPhone() != null, SmsbAppointmentInfo::getPhone, bo.getPhone());
+        lqw.like(bo.getPhone() != null, SmsbAppointmentInfo::getPhone, bo.getPhone());
         lqw.eq(bo.getAppointmentTime() != null, SmsbAppointmentInfo::getAppointmentTime, bo.getAppointmentTime());
         lqw.eq(bo.getPeopleNum() != null, SmsbAppointmentInfo::getPeopleNum, bo.getPeopleNum());
         lqw.orderByDesc(SmsbAppointmentInfo::getId);

+ 1 - 1
smsb-modules/smsb-digital-promotion/src/main/java/com/inspur/digital/service/impl/SmsbDeviceChatScProductServiceImpl.java

@@ -76,7 +76,7 @@ public class SmsbDeviceChatScProductServiceImpl implements ISmsbDeviceChatScProd
         lqw.eq(StringUtils.isNotBlank(bo.getPhoto()), SmsbDeviceChatScProduct::getPhoto, bo.getPhoto());
         lqw.eq(StringUtils.isNotBlank(bo.getIntroduction()), SmsbDeviceChatScProduct::getIntroduction, bo.getIntroduction());
         lqw.eq(bo.getAppointmentId() != null, SmsbDeviceChatScProduct::getAppointmentId, bo.getAppointmentId());
-        lqw.eq(StringUtils.isNotBlank(bo.getEnterprise()), SmsbDeviceChatScProduct::getEnterprise, bo.getEnterprise());
+        lqw.like(StringUtils.isNotBlank(bo.getEnterprise()), SmsbDeviceChatScProduct::getEnterprise, bo.getEnterprise());
         return lqw;
     }
 

+ 1 - 1
smsb-modules/smsb-digital-promotion/src/main/java/com/inspur/digital/service/impl/SmsbDeviceChatScSceneServiceImpl.java

@@ -74,7 +74,7 @@ public class SmsbDeviceChatScSceneServiceImpl implements ISmsbDeviceChatScSceneS
         lqw.eq(bo.getType() != null, SmsbDeviceChatScScene::getType, bo.getType());
         lqw.like(StringUtils.isNotBlank(bo.getInteractionName()), SmsbDeviceChatScScene::getInteractionName, bo.getInteractionName());
         lqw.like(StringUtils.isNotBlank(bo.getSupplierName()), SmsbDeviceChatScScene::getSupplierName, bo.getSupplierName());
-        lqw.eq(StringUtils.isNotBlank(bo.getEnterprise()), SmsbDeviceChatScScene::getEnterprise, bo.getEnterprise());
+        lqw.like(StringUtils.isNotBlank(bo.getEnterprise()), SmsbDeviceChatScScene::getEnterprise, bo.getEnterprise());
         return lqw;
     }
 

+ 1 - 1
smsb-plus-ui/src/views/smsb/deviceGroup/index.vue

@@ -4,7 +4,7 @@
                 :leave-active-class="proxy?.animate.searchAnimate.leave">
       <div v-show="showSearch" class="mb-[10px]" :style="{ marginTop: '10px', height: '60px' }">
         <el-card shadow="hover">
-          <el-form ref="queryFormRef" :model="queryParams" :inline="true">
+          <el-form ref="queryFormRef" :model="queryParams" :inline="true" @submit.native.prevent>
             <el-form-item label="设备组" prop="name" label-width="60px">
               <el-input v-model="queryParams.name" placeholder="请输入设备组名称" clearable @keyup.enter="handleQuery"/>
             </el-form-item>

+ 1 - 1
smsb-plus-ui/src/views/smsb/scReport/index.vue

@@ -3,7 +3,7 @@
     <transition :enter-active-class="proxy?.animate.searchAnimate.enter" :leave-active-class="proxy?.animate.searchAnimate.leave">
       <div v-show="showSearch" class="mb-[10px]">
         <el-card shadow="hover" :style="{ marginTop: '10px', height: '60px' }">
-          <el-form ref="queryFormRef" :model="queryParams" :inline="true">
+          <el-form ref="queryFormRef" :model="queryParams" :inline="true" @submit.native.prevent>
             <el-form-item label="预约企业" prop="enterprise">
               <el-input v-model="queryParams.enterprise" placeholder="请输入预约企业" clearable @keyup.enter="handleQuery"/>
             </el-form-item>