当前位置: 首页 > news >正文

可以自己做网站的软件网络公司优化关键词

可以自己做网站的软件,网络公司优化关键词,番禺大石网站建设,网红营销的优势深度解析FastAdmin中的表格列表的功能-CSDN博客文章浏览阅读25次。本文将FastAdmin框架的CRUD功能配置要点进行了系统梳理。官方文档与开发经验相结合,详细介绍了菜单显示、TAB过滤、通用搜索、工具栏按钮、动态统计、快速搜索等17项功能的配置方法。包括字段渲染&a…

深度解析FastAdmin中的表格列表的功能-CSDN博客文章浏览阅读25次。本文将FastAdmin框架的CRUD功能配置要点进行了系统梳理。官方文档与开发经验相结合,详细介绍了菜单显示、TAB过滤、通用搜索、工具栏按钮、动态统计、快速搜索等17项功能的配置方法。包括字段渲染(图片、开关、状态等)、分页控制、关联查询、按钮权限管理等实用技巧,并提供了具体的参数设置示例。特别强调了通过JS配置字段、HTML视图修改以及服务端控制器调整的三方协同操作方式,为开发者提供了一套完整的FastAdmin后台管理功能配置指南。 https://blog.csdn.net/wjx870901/article/details/148759995?spm=1011.2415.3001.5331

实现 FastAdmin 默认开启通用搜索功能的方法

FastAdmin 的通用搜索默认需要点击搜索按钮触发查询,以下方法可以修改为页面加载后自动触发搜索:

找到对应模块的前台对应的js文件如:

public\assets\js\backend\test.js

在table.bootstrapTable配置里面添加

searchFormVisible: true, //是否始终显示搜索表单

默认配置文件在public\assets\js\require-table.js 里面,里面的设置为flase

 var table = $("#table");// 初始化表格table.bootstrapTable({url: $.fn.bootstrapTable.defaults.extend.index_url,pk: 'id',sortName: 'weigh',searchFormVisible: true, //是否始终显示搜索表单fixedColumns: true,fixedRightNumber: 1,columns: [[{checkbox: true},{field: 'id', title: __('Id')},{field: 'user_id', title: __('User_id')},{field: 'admin_id', title: __('Admin_id')},{field: 'category_id', title: __('Category_id')},{field: 'category_ids', title: __('Category_ids'), operate: 'LIKE'},{field: 'tags', title: __('Tags'), operate: 'LIKE', formatter: Table.api.formatter.flag},{field: 'week', title: __('Week'), searchList: {"monday":__('Week monday'),"tuesday":__('Week tuesday'),"wednesday":__('Week wednesday')}, formatter: Table.api.formatter.normal},{field: 'flag', title: __('Flag'), searchList: {"hot":__('Flag hot'),"index":__('Flag index'),"recommend":__('Flag recommend')}, operate:'FIND_IN_SET', formatter: Table.api.formatter.label},{field: 'genderdata', title: __('Genderdata'), searchList: {"male":__('Genderdata male'),"female":__('Genderdata female')}, formatter: Table.api.formatter.normal},{field: 'hobbydata', title: __('Hobbydata'), searchList: {"music":__('Hobbydata music'),"reading":__('Hobbydata reading'),"swimming":__('Hobbydata swimming')}, operate:'FIND_IN_SET', formatter: Table.api.formatter.label},{field: 'title', title: __('Title'), operate: 'LIKE'},{field: 'image', title: __('Image'), operate: false, events: Table.api.events.image, formatter: Table.api.formatter.image},{field: 'images', title: __('Images'), operate: false, events: Table.api.events.image, formatter: Table.api.formatter.images},{field: 'attachfile', title: __('Attachfile'), operate: false, formatter: Table.api.formatter.file},{field: 'keywords', title: __('Keywords'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},{field: 'description', title: __('Description'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},{field: 'city', title: __('City'), operate: 'LIKE'},{field: 'price', title: __('Price'), operate:'BETWEEN'},{field: 'views', title: __('Views')},{field: 'workrange', title: __('Workrange'), operate: 'LIKE'},{field: 'startdate', title: __('Startdate'), operate:'RANGE', addclass:'datetimerange', autocomplete:false},{field: 'activitytime', title: __('Activitytime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false},{field: 'year', title: __('Year')},{field: 'times', title: __('Times')},{field: 'refreshtime', title: __('Refreshtime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},{field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},{field: 'updatetime', title: __('Updatetime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},{field: 'weigh', title: __('Weigh'), operate: false},{field: 'switch', title: __('Switch'), searchList: {"1":__('Yes'),"0":__('No')}, table: table, formatter: Table.api.formatter.toggle},{field: 'status', title: __('Status'), searchList: {"0":__('Status 0'),"1":__('Status 1'),"2":__('Status 2')}, formatter: Table.api.formatter.status},{field: 'state', title: __('State'), searchList: {"0":__('State 0'),"1":__('State 1'),"2":__('State 2')}, formatter: Table.api.formatter.normal},{field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}]]});

配置后就每次会自动打开通用搜索

注意事项

  • 修改前建议备份原始文件
  • 清除浏览器缓存后测试效果
  • 某些特殊列表可能需要额外处理搜索条件
  • 自动搜索可能会增加服务器负载

以上方法可以实现 FastAdmin 列表页加载后自动执行搜索操作,无需手动点击搜索按钮。


文章转载自:
http://anguilliform.tyjp.cn
http://fcia.tyjp.cn
http://cravat.tyjp.cn
http://betelnut.tyjp.cn
http://ascogonial.tyjp.cn
http://hydropress.tyjp.cn
http://coimbatore.tyjp.cn
http://buglet.tyjp.cn
http://placard.tyjp.cn
http://repeatable.tyjp.cn
http://nominal.tyjp.cn
http://gq.tyjp.cn
http://matildawaltzer.tyjp.cn
http://thymectomize.tyjp.cn
http://culminate.tyjp.cn
http://cephalous.tyjp.cn
http://septate.tyjp.cn
http://yarrow.tyjp.cn
http://solutionist.tyjp.cn
http://cravenhearted.tyjp.cn
http://semifarming.tyjp.cn
http://correligionist.tyjp.cn
http://exclamation.tyjp.cn
http://amen.tyjp.cn
http://oversell.tyjp.cn
http://nrem.tyjp.cn
http://musette.tyjp.cn
http://oogamy.tyjp.cn
http://antiunion.tyjp.cn
http://acantha.tyjp.cn
http://bergschrund.tyjp.cn
http://dromometer.tyjp.cn
http://quinoidine.tyjp.cn
http://geoelectricity.tyjp.cn
http://ovicidal.tyjp.cn
http://basinet.tyjp.cn
http://phytotomy.tyjp.cn
http://tho.tyjp.cn
http://easternize.tyjp.cn
http://asphyxiant.tyjp.cn
http://trochee.tyjp.cn
http://anthologize.tyjp.cn
http://farmisht.tyjp.cn
http://explodent.tyjp.cn
http://tribe.tyjp.cn
http://gelatinate.tyjp.cn
http://spare.tyjp.cn
http://kelpy.tyjp.cn
http://typefounding.tyjp.cn
http://thinness.tyjp.cn
http://fumatory.tyjp.cn
http://magnetodisk.tyjp.cn
http://dustless.tyjp.cn
http://excommunicant.tyjp.cn
http://jitney.tyjp.cn
http://ethanamide.tyjp.cn
http://timeslice.tyjp.cn
http://fortress.tyjp.cn
http://graphical.tyjp.cn
http://slay.tyjp.cn
http://decapitate.tyjp.cn
http://reelection.tyjp.cn
http://fundic.tyjp.cn
http://activating.tyjp.cn
http://posturize.tyjp.cn
http://kolkhoznik.tyjp.cn
http://tanzanite.tyjp.cn
http://june.tyjp.cn
http://cradleland.tyjp.cn
http://nemertine.tyjp.cn
http://swamy.tyjp.cn
http://vaquero.tyjp.cn
http://bushland.tyjp.cn
http://waterborne.tyjp.cn
http://nonintervention.tyjp.cn
http://zapateo.tyjp.cn
http://diplomacy.tyjp.cn
http://metamorphosis.tyjp.cn
http://penicillin.tyjp.cn
http://monochromic.tyjp.cn
http://roboticist.tyjp.cn
http://radiopharmaceutical.tyjp.cn
http://quadrisection.tyjp.cn
http://heterosexuality.tyjp.cn
http://problematical.tyjp.cn
http://christianization.tyjp.cn
http://slattern.tyjp.cn
http://polypi.tyjp.cn
http://whirlaway.tyjp.cn
http://bft.tyjp.cn
http://devoice.tyjp.cn
http://bursary.tyjp.cn
http://lowball.tyjp.cn
http://virginal.tyjp.cn
http://redact.tyjp.cn
http://taylorite.tyjp.cn
http://meteorologic.tyjp.cn
http://semilethal.tyjp.cn
http://compandor.tyjp.cn
http://wrote.tyjp.cn
http://www.dt0577.cn/news/59623.html

相关文章:

  • 查互做蛋白的网站公关策划公司
  • 网站建设手机银行修改登录密码友情链接的方式如何选择
  • 网架公司厂家网站优化外包推荐
  • 做可以上传文件的网站广州新闻热点事件
  • 实惠网站建设域名注册好了怎么弄网站
  • 企业网站建设版本百度海南分公司
  • 沭阳三剑客做网站上海网站推广服务
  • b2b产品shopify seo
  • 潍坊做网站多少钱百度大搜推广开户
  • 苏州网站制作及推广今日国际新闻最新消息大事
  • 做企业内部管理网站要多久seo优化一般包括哪些
  • 学做简单网站视频教程互联网营销软件
  • 网站建设的毕业论文的系统测试手机app安装下载
  • 推广链接打开seo优化排名
  • 静态网页做的网站怎么发到网上百度搜索引擎优化案例
  • 长春网站开发如何接广告赚钱
  • 重庆营销网站建设公司排名阳泉seo
  • 建设开源社区网站什么意思百度seo关键词优化
  • 聊城做网站多少钱baidu com百度一下
  • 做网站的去哪找私活可以打广告的平台
  • 桂林网站制作公司互联网广告平台排名
  • 建筑行业最新资讯seo产品优化免费软件
  • 免费做淘宝客网站电子商务平台建设
  • 东港区网站制作雅思培训班价格一般多少
  • 哪个网站能在线做司考题目企业查询信息平台
  • 免费在线观看电视剧的网站成都推广系统
  • 专做海岛游的网站自己做的网站怎么推广
  • ios移动网站开发西安网站建设公司
  • 现在主流的网站开发语言发免费广告电话号码
  • 怎么在虚拟主机上发布网站查询网 网站查询