当前位置:网站首页>查询字段较多时可以添加普通查询和高级查询两种情况
查询字段较多时可以添加普通查询和高级查询两种情况
2022-07-26 19:36:00 【爱的叹息】
查询字段较多时可以添加普通查询和高级查询两种情况
一种方式是点击高级查询弹出框输入搜索,第二种是展开更多查询内容
这里倾向于第二种,因为操作更简单,


关键代码(vue实现)
要隐藏的内容
<template v-if="expandMore">
要隐藏的内容
</template>高级查询按钮
<el-button :icon="expandMore ?'el-icon-arrow-up':'el-icon-arrow-down'" type="text"
@click="expandMore =!expandMore">{
{ expandMore ? '收起高级搜索' : '展开高级搜索' }}
</el-button>定义expandMore变量
const expandMore = ref(false);具体参考
循序渐进VUE+Element 前端应用开发(29)--- 高级查询条件的界面设计 - 伍华聪 - 博客园 (cnblogs.com)
边栏推荐
- MySQL之InnoDB引擎(五)
- numpy.zeros_like
- SQL注入
- Meeting seating & submission of meeting OA
- Typescrip异步函数Promise使用
- C# 使用默认转型方法
- three.js 制作地球标注的两种方法
- Principle and application of one click login of local number (glory Collection Edition)
- Vs how to read data in MySQL (by the way, the problem of Chinese garbled code is solved through code)
- Impersonate authentication
猜你喜欢
随机推荐
使用百度飞桨 EasyDL 完成垃圾分类
I tried many report tools and finally found a report based on Net 6
This point - super classic interview questions
EasyCVR设备管理列表页面,分页数据不显示的问题修复
开源闹出乌龙事件,可能你不知道这五种开源协议
消息队列知识点总结
Fasttunnel open source intranet penetration framework
Strengthen supervision on secret room escape and script killing, and focus on strengthening fire safety and juvenile protection
arpspoof 安装和使用
Servlet
EtherCAT synchronization mode
C asynchronous programming read this article is enough
What are the advantages of digital factory
Introduction to component functions of blueprism process business object Chapter 3 of RPA
有点酷,使用 .NET MAUI 探索太空
会议OA之会议排座&送审
Cookies and sessions
An open source web drawing board is really convenient
T246836 [LSOT-1] 暴龙的土豆
软件测试-开发提测内容规范(项目提测模板)








