Sfoglia il codice sorgente

CRM系统-运营管理,帮助中心配置页面,筛选项搜不到结果

hbchen 1 anno fa
parent
commit
be78fc6302

+ 6 - 1
src/views/system_manage/assistance_center/assistanceCenter.vue

@@ -20,7 +20,7 @@
           placeholder="所属分类"
           placeholder="所属分类"
           @change="handlSearchClassify"
           @change="handlSearchClassify"
         />
         />
-        <el-input placeholder="文章标题" v-model="queryParams.KeyWord" clearable @input="getDocumentList"
+        <el-input placeholder="文章标题" v-model="queryParams.KeyWord" clearable @input="searchDocumentList"
         style="width:500px;margin-left: 20px;">
         style="width:500px;margin-left: 20px;">
 				  <i slot="prefix" class="el-input__icon el-icon-search"></i>
 				  <i slot="prefix" class="el-input__icon el-icon-search"></i>
 			  </el-input>
 			  </el-input>
@@ -114,9 +114,14 @@ import { assistanceDocInterence } from '../../../api/modules/assistanceDoc';
           }
           }
         })
         })
       },
       },
+      searchDocumentList(){
+        this.queryParams.CurrentIndex=1
+        this.getDocumentList()
+      },
       handlSearchClassify(value){
       handlSearchClassify(value){
         // console.log(value);
         // console.log(value);
         this.queryParams.ClassifyIds = value.join(',')
         this.queryParams.ClassifyIds = value.join(',')
+        this.queryParams.CurrentIndex=1
         this.getDocumentList()
         this.getDocumentList()
       },
       },
       pageChange(page_no){
       pageChange(page_no){