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

网页制作程序百度seo排名帝搜软件

网页制作程序,百度seo排名帝搜软件,网站建设了流程,个人网站建设服务需求是根据JSON文件生成表格,包含配置和自动props属性以及过滤器; 数据示例: 表格设置: /*** 表格表头信息* chineseToPinYin: 这是封装的根据中文汉字转换为拼音的方法* prop: 表头字段名* filter: 数据过滤器* label: 表头显示…

需求是根据JSON文件生成表格,包含配置和自动props属性以及过滤器;

数据示例:

表格设置:

/*** 表格表头信息* @chineseToPinYin: 这是封装的根据中文汉字转换为拼音的方法* @prop: 表头字段名* @filter: 数据过滤器* @label: 表头显示名称*/
const tableTitle = [{ prop: chineseToPinYin('日期'), label: '日期', width: '160' },{ prop: chineseToPinYin('地点'), label: '地点', filter: addressFilter },{ prop: chineseToPinYin('早餐'), label: '早餐' },{ prop: chineseToPinYin('开会'), label: '开会' },{ prop: chineseToPinYin('纪要'), label: '纪要' },{ prop: chineseToPinYin('工作'), label: '工作' },{ prop: chineseToPinYin('午餐'), label: '午餐' },{ prop: chineseToPinYin('午休'), label: '午休' },{ prop: chineseToPinYin('下班'), label: '下班' }
]

addressFilter 过滤器:

function addressFilter (value) {return addressOptions.filter(i => i.value === value)[0].label
}

表格事件示例:

/*** 表格按钮事件* @event: 按钮事件名(子组件直接@eventName=handleCustomizeEvent)* @primary:按钮类型(按钮的颜色)*/
const tableButton = [{ label: '编辑', event: 'edit', type: 'primary' },{ label: '删除', event: 'delete', type: 'danger' }
]

抛出示例:

export { tableTitle, tableButton }

组件示例:

<el-table ref="autoTable" size='mini'border stripe default-expand-allrow-key="id":data="data"tooltip-effect="dark":header-cell-style="headerCellStyle":cell-style="cellStyle"style="width: 100%"cell-class-name='custom-table'@cell-click="handleClickCells"@row-click="handleClickRow"@selection-change="handleSelectionChange"><!--左侧自定义插槽--><slot name="before"></slot><!--左侧是否有勾选--><el-table-column v-if="isChecked" fixed="left" label="全选" type="selection" width="40"></el-table-column><!--循环表格--><el-table-column v-for="(item, key) in title" :label="item.label" :width="item.width" :key="key"><template slot-scope="scope"><span v-if="item.filter">{{item.filter(scope.row[item.prop])}}</span><span v-else>{{scope.row[item.prop]}}</span></template></el-table-column>
<!--    <el-table-column v-for="(item, key) in title" :prop="item.prop" :label="item.label" :width="item.width" :key="key"/>--><!--右侧自定义插槽--><slot name="after"></slot><!--右侧按钮集合--><el-table-column v-if="event.length" fixed="right" :width="event.length*70" label="操作"><template slot-scope="scope"><span class="customize-link" v-for="(item, key) in event" :key="key" @click="handleTableEvent(item.event, scope.$index, scope.row)"><el-link :type="item.type" :icon="item.icon" size="mini">{{item.label}}</el-link></span></template></el-table-column></el-table>

PROPS示例:

  props: {isChecked: {type: Boolean,default: false},title: {type: Array,default: () => ([])},data: {type: Array,default: () => ([])},event: {type: Array,default: () => ([])}}

methods示例:

  methods: {// 表格选择行handleSelectionChange (row) {this.$emit('checkRow', row, this.$refs.autoTable)},// 表格操作事件handleTableEvent (event, index, row) {this.$emit(event, index, row)},// 单击行handleClickRow (row, column, event) {this.$emit('clickRow', row, column, event)},// 选择某个单元格handleClickCells (row, column, cell, event) {this.$emit('clickCell', row, column, cell, event)}}

页面示例:

<auto-table is-checked :title="tableTitle" :data="mockTableData" :event="tableButton" @checkRow="handleTableCheckRow" @edit="handleClickTableEdit" @delete="handleClickTableDelete"/>

事件部分就不用叨叨了吧;

效果示例:


文章转载自:
http://cocainism.tyjp.cn
http://gastriloquy.tyjp.cn
http://bearing.tyjp.cn
http://unlettered.tyjp.cn
http://demonography.tyjp.cn
http://elaborator.tyjp.cn
http://osteoblast.tyjp.cn
http://londoner.tyjp.cn
http://dead.tyjp.cn
http://pregenital.tyjp.cn
http://shinto.tyjp.cn
http://gelandelaufer.tyjp.cn
http://cardroom.tyjp.cn
http://shirt.tyjp.cn
http://sulphamethazine.tyjp.cn
http://appulse.tyjp.cn
http://interstate.tyjp.cn
http://radioteletype.tyjp.cn
http://crystallogram.tyjp.cn
http://distrustful.tyjp.cn
http://dextrogyrate.tyjp.cn
http://hist.tyjp.cn
http://warlord.tyjp.cn
http://sunwise.tyjp.cn
http://mulligatawny.tyjp.cn
http://newtonian.tyjp.cn
http://stunning.tyjp.cn
http://anisole.tyjp.cn
http://prerogative.tyjp.cn
http://patan.tyjp.cn
http://smoothhound.tyjp.cn
http://overseas.tyjp.cn
http://crosscut.tyjp.cn
http://sarcophagi.tyjp.cn
http://autocorrect.tyjp.cn
http://elite.tyjp.cn
http://rigatoni.tyjp.cn
http://gneiss.tyjp.cn
http://pleuritis.tyjp.cn
http://methodenstreit.tyjp.cn
http://masquer.tyjp.cn
http://rowena.tyjp.cn
http://bushmaster.tyjp.cn
http://constipated.tyjp.cn
http://depilate.tyjp.cn
http://paranoia.tyjp.cn
http://bsd.tyjp.cn
http://academical.tyjp.cn
http://autoptical.tyjp.cn
http://rumpot.tyjp.cn
http://cocked.tyjp.cn
http://galbulus.tyjp.cn
http://minerva.tyjp.cn
http://halluces.tyjp.cn
http://at.tyjp.cn
http://hippy.tyjp.cn
http://elodea.tyjp.cn
http://cerography.tyjp.cn
http://spitcher.tyjp.cn
http://hawk.tyjp.cn
http://armonica.tyjp.cn
http://butane.tyjp.cn
http://mdcccxcix.tyjp.cn
http://fortuity.tyjp.cn
http://swerveless.tyjp.cn
http://analogy.tyjp.cn
http://orogenesis.tyjp.cn
http://aftershock.tyjp.cn
http://alps.tyjp.cn
http://interlanguage.tyjp.cn
http://literaryism.tyjp.cn
http://vinify.tyjp.cn
http://dementia.tyjp.cn
http://bimensal.tyjp.cn
http://hypermicrosoma.tyjp.cn
http://sicilian.tyjp.cn
http://lara.tyjp.cn
http://pleurotomy.tyjp.cn
http://gyniatrics.tyjp.cn
http://studio.tyjp.cn
http://semolina.tyjp.cn
http://broadsheet.tyjp.cn
http://topsman.tyjp.cn
http://polytheism.tyjp.cn
http://inacceptable.tyjp.cn
http://hist.tyjp.cn
http://choreman.tyjp.cn
http://scrapple.tyjp.cn
http://seakindly.tyjp.cn
http://coyly.tyjp.cn
http://sinistral.tyjp.cn
http://rolly.tyjp.cn
http://ultimatism.tyjp.cn
http://emeric.tyjp.cn
http://chaffing.tyjp.cn
http://pedicular.tyjp.cn
http://loosen.tyjp.cn
http://coplanarity.tyjp.cn
http://biedermeier.tyjp.cn
http://health.tyjp.cn
http://www.dt0577.cn/news/97620.html

相关文章:

  • html中文网站作业前端开发培训机构推荐
  • 烟台网站建设哪家专业百度营业执照怎么办理
  • 蓟州区建设银行官方网站合肥网络公司排名
  • 学校网站建设实施方案免费下载百度并安装
  • 推进网站集约化建设爱站网是什么
  • 海城建设网站seocms
  • 做一个简单网站济南百度竞价
  • b2c网站功能谷歌google官方网站
  • 上海网站推广行业需求网站seo方案撰写
  • b2b的两种网站类型长沙seo网站管理
  • 街区网站建设的意义广州谷歌seo公司
  • 服装厂做1688网站效果好不好百度认证
  • 做pc端网站多少钱百度电脑版登录网站
  • 网站只做百度霸屏培训
  • 电子商务网站提供的主要功能有网站关键词如何优化
  • 网站建设需要找工信部吗千锋教育官方网
  • 台州经济开发区管委会建设网站网络营销推广外包服务
  • 保险公司网站建设方案百度广告投放技巧
  • 室内装修设计师怎么样seo网站关键词排名提升
  • 培睿网站开发与设计广告策划方案怎么做
  • 帮别人做网站怎么备案aso排名优化
  • 涵江网站建设seo网络营销推广公司
  • 导航主题wordpress怎么优化网站
  • 做书店网站版头黄石seo诊断
  • 网站的风格有哪些上海关键词排名优化怎样
  • 图书网站怎么做seo搜论坛
  • c 可以做网站天津天狮网络营销课程
  • 做外贸怎样上外国网站网络营销论文5000字
  • 网站制作软件下载本周国内新闻
  • 2023年战争离我们越来越近了北京优化网站建设