Bladeren bron

高级检索确认后 清空模糊查询

lxf 1 jaar geleden
bovenliggende
commit
4bfb0b8f61

+ 1 - 0
src/views/customer/file/index.vue

@@ -1361,6 +1361,7 @@ const submitSearch = () => {
     sourceList.value.pagination.tag = "";
   }
   openSearch.value = false;
+  sourceList.value.pagination.keyword = '';
   sourceList.value.pagination.pageNum = 1;
   getList();
 };

+ 1 - 0
src/views/customer/highseas/index.vue

@@ -1259,6 +1259,7 @@ const submitSearch = () => {
     sourceList.value.pagination.tag = "";
   }
   openSearch.value = false;
+  sourceList.value.pagination.keyword = '';
   sourceList.value.pagination.pageNum = 1;
   getList();
 };

+ 1 - 0
src/views/customer/privatesea/index.vue

@@ -1260,6 +1260,7 @@ const submitSearch = () => {
     sourceList.value.pagination.tag = "";
   }
   openSearch.value = false;
+  sourceList.value.pagination.keyword = '';
   sourceList.value.pagination.pageNum = 1;
   getList();
 };

+ 1 - 0
src/views/finance/fundManage/accountPayment/index.vue

@@ -717,6 +717,7 @@ const submitSearch = () => {
     return ElMessage("开始时间不能大于结束时间");
   }
   openSearch.value = false;
+  sourceList.value.pagination.keyword = '';
   sourceList.value.pagination.pageNum = 1;
   getList();
 };

+ 1 - 0
src/views/finance/fundManage/flow/index.vue

@@ -628,6 +628,7 @@ const submitSearch = () => {
     return ElMessage("开始时间不能大于结束时间");
   }
   openSearch.value = false;
+  sourceList.value.pagination.keyword = '';
   sourceList.value.pagination.pageNum = 1;
   getList();
 };

+ 1 - 0
src/views/finance/fundManage/funds/index.vue

@@ -547,6 +547,7 @@ const submitSearch = () => {
     return ElMessage("开始时间不能大于结束时间");
   }
   openSearch.value = false;
+  sourceList.value.pagination.keyword = '';
   sourceList.value.pagination.pageNum = 1;
   getList();
 };

+ 5 - 1
src/views/product/product/index.vue

@@ -67,7 +67,7 @@
       <template #footer>
         <div style="flex: auto">
           <el-button @click="retrievalModal = false">取消</el-button>
-          <el-button type="primary" @click="getList">确认</el-button>
+          <el-button type="primary" @click="clickSearch">确认</el-button>
         </div>
       </template>
     </el-drawer>
@@ -689,6 +689,10 @@ const getDict = () => {
   });
 };
 getDict();
+const clickSearch = () => {
+  sourceList.value.pagination.keyword = '';
+  getList()
+}
 </script>
   
 <style lang="scss" scoped>