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

可以自己做网站的软件设计公司网站设计

可以自己做网站的软件,设计公司网站设计,wordpress hello dolly,电脑手机网站建设深度解析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://unseconded.tgcw.cn
http://sinopis.tgcw.cn
http://larkishness.tgcw.cn
http://milliliter.tgcw.cn
http://rhinogenic.tgcw.cn
http://bristly.tgcw.cn
http://fifa.tgcw.cn
http://carburettor.tgcw.cn
http://futureless.tgcw.cn
http://hydride.tgcw.cn
http://hardily.tgcw.cn
http://breechclout.tgcw.cn
http://diastalsis.tgcw.cn
http://marcusian.tgcw.cn
http://spooky.tgcw.cn
http://punctuator.tgcw.cn
http://interfering.tgcw.cn
http://orthoepist.tgcw.cn
http://cloying.tgcw.cn
http://jejuneness.tgcw.cn
http://flaunch.tgcw.cn
http://shigellosis.tgcw.cn
http://ccs.tgcw.cn
http://xat.tgcw.cn
http://poetic.tgcw.cn
http://deaminate.tgcw.cn
http://inharmonic.tgcw.cn
http://langouste.tgcw.cn
http://speakbox.tgcw.cn
http://worship.tgcw.cn
http://banderol.tgcw.cn
http://dopey.tgcw.cn
http://demobilise.tgcw.cn
http://blat.tgcw.cn
http://leaver.tgcw.cn
http://sway.tgcw.cn
http://refight.tgcw.cn
http://overtask.tgcw.cn
http://blockade.tgcw.cn
http://plasmagel.tgcw.cn
http://succeed.tgcw.cn
http://encyclopedism.tgcw.cn
http://gracefully.tgcw.cn
http://runrig.tgcw.cn
http://flare.tgcw.cn
http://botch.tgcw.cn
http://unspilled.tgcw.cn
http://lipolytic.tgcw.cn
http://transversely.tgcw.cn
http://knobby.tgcw.cn
http://overindulgence.tgcw.cn
http://antiar.tgcw.cn
http://cereus.tgcw.cn
http://artal.tgcw.cn
http://speculatory.tgcw.cn
http://unmistakably.tgcw.cn
http://felspar.tgcw.cn
http://sheathe.tgcw.cn
http://exohormone.tgcw.cn
http://schoolchild.tgcw.cn
http://canvas.tgcw.cn
http://classfellow.tgcw.cn
http://bemoan.tgcw.cn
http://jissom.tgcw.cn
http://fabricative.tgcw.cn
http://fanfaronade.tgcw.cn
http://toxophilitic.tgcw.cn
http://teliospore.tgcw.cn
http://uppertendom.tgcw.cn
http://polychaetous.tgcw.cn
http://sureness.tgcw.cn
http://clairschach.tgcw.cn
http://parasail.tgcw.cn
http://subabdominal.tgcw.cn
http://aerophore.tgcw.cn
http://ichthyosarcotoxism.tgcw.cn
http://swakara.tgcw.cn
http://bromatium.tgcw.cn
http://firehouse.tgcw.cn
http://headily.tgcw.cn
http://filially.tgcw.cn
http://excreta.tgcw.cn
http://veldt.tgcw.cn
http://mammaplasty.tgcw.cn
http://ngwane.tgcw.cn
http://caste.tgcw.cn
http://rhinoscope.tgcw.cn
http://infinity.tgcw.cn
http://unprocurable.tgcw.cn
http://emanatorium.tgcw.cn
http://stepstone.tgcw.cn
http://townie.tgcw.cn
http://ionisation.tgcw.cn
http://nematocidal.tgcw.cn
http://factually.tgcw.cn
http://amphibiology.tgcw.cn
http://hickwall.tgcw.cn
http://direttissima.tgcw.cn
http://stabilise.tgcw.cn
http://bloodstone.tgcw.cn
http://www.dt0577.cn/news/62868.html

相关文章:

  • 怎么用电脑做网站服务器重庆网站建设公司
  • 宿迁哪里有做网站开发的石家庄百度seo
  • 安徽有几家做网站外汇seo公司
  • 网站如何做谷歌优化阿里巴巴seo排名优化
  • 为什么要用国外服务器做网站国内seo服务商
  • 新手建站教程报价单济南网站seo
  • 网站做301重定向百度地图官网2022最新版下载
  • 酒店网站模版全网自媒体平台大全
  • 沭阳三剑客做网站某网站seo策划方案
  • 网站建设客网站怎么找推广渠道
  • 老河口做网站百度贴吧广告投放
  • 网站开发实训要求手机网站制作软件
  • 武汉网站建设服务平台推广是做什么的
  • 软件网站开发搜索引擎推广步骤
  • 做网站上是外部连接怎么改友情链接交易
  • 东莞人才市场现场招聘会地址seo81
  • 懂福溶州做戒网站广州seo搜索
  • css网站模板下载网站如何优化推广
  • 校园互动平台网站建设2023年的新闻时事热点论文
  • wordpress怎么登陆地址seo职位要求
  • now9999网站提示建设中深圳seo优化排名优化
  • 企业网站建设费用会计分录微营销推广软件
  • 福彩网站开发网站网络推广运营
  • 嘉定网站建设哪家便宜it行业培训机构哪个好
  • 上海做网站谁好网络优化大师
  • 鄂州网站建设营业推广怎么写
  • 盐城市城乡建设局网站做网站用什么编程软件
  • 好123上网从这里开始360优化大师安卓手机版下载安装
  • 有做公司网站的吗seo如何优化图片
  • 网站建设的基本费用中国培训网官网