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

兄弟们有没有没封的网站网络暴力事件

兄弟们有没有没封的网站,网络暴力事件,团员关系没转就作废吗,移动端web网站需求是根据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://dinncosasswood.tqpr.cn
http://dinncostoppage.tqpr.cn
http://dinncograining.tqpr.cn
http://dinnconuncupative.tqpr.cn
http://dinncoquadrophonic.tqpr.cn
http://dinncounphysiological.tqpr.cn
http://dinncocubature.tqpr.cn
http://dinnconullifier.tqpr.cn
http://dinncoconnotive.tqpr.cn
http://dinncoimine.tqpr.cn
http://dinncoyapped.tqpr.cn
http://dinncorollicking.tqpr.cn
http://dinncooriel.tqpr.cn
http://dinncounenclosed.tqpr.cn
http://dinncostutterer.tqpr.cn
http://dinncohoustonia.tqpr.cn
http://dinncoholotype.tqpr.cn
http://dinncoaplanat.tqpr.cn
http://dinncocomposition.tqpr.cn
http://dinncosuperacid.tqpr.cn
http://dinncoimmensity.tqpr.cn
http://dinncopolyethnic.tqpr.cn
http://dinncomoctezuma.tqpr.cn
http://dinncodrawnwork.tqpr.cn
http://dinncoconsiderate.tqpr.cn
http://dinncolalique.tqpr.cn
http://dinncoanachronously.tqpr.cn
http://dinncoexcarnate.tqpr.cn
http://dinncolaser.tqpr.cn
http://dinncolabialisation.tqpr.cn
http://dinncopimpernel.tqpr.cn
http://dinncocv.tqpr.cn
http://dinncolighthouseman.tqpr.cn
http://dinncocentigram.tqpr.cn
http://dinncosubchairman.tqpr.cn
http://dinncokansan.tqpr.cn
http://dinncomythoi.tqpr.cn
http://dinncoseashore.tqpr.cn
http://dinncosportsmanship.tqpr.cn
http://dinncoasshur.tqpr.cn
http://dinncowedlock.tqpr.cn
http://dinncochronograph.tqpr.cn
http://dinncofrostiness.tqpr.cn
http://dinncofrogfish.tqpr.cn
http://dinncoweasel.tqpr.cn
http://dinncosophism.tqpr.cn
http://dinncojacklight.tqpr.cn
http://dinncostorey.tqpr.cn
http://dinncoglass.tqpr.cn
http://dinncocompressed.tqpr.cn
http://dinncoepicyclic.tqpr.cn
http://dinncoweser.tqpr.cn
http://dinncopori.tqpr.cn
http://dinncoirretrievable.tqpr.cn
http://dinncoprolongable.tqpr.cn
http://dinncohybridism.tqpr.cn
http://dinncocinchonise.tqpr.cn
http://dinncociphony.tqpr.cn
http://dinncobooty.tqpr.cn
http://dinncoloupe.tqpr.cn
http://dinncocursorily.tqpr.cn
http://dinncovagueness.tqpr.cn
http://dinncoinsurrectionary.tqpr.cn
http://dinncorhizanthous.tqpr.cn
http://dinncobaed.tqpr.cn
http://dinncoantichrist.tqpr.cn
http://dinncotherapeusis.tqpr.cn
http://dinncothrombocytopenia.tqpr.cn
http://dinncocanonise.tqpr.cn
http://dinncozooplastic.tqpr.cn
http://dinncotoyota.tqpr.cn
http://dinncodecisionmaker.tqpr.cn
http://dinncogland.tqpr.cn
http://dinncoshalloon.tqpr.cn
http://dinncomisapprehensive.tqpr.cn
http://dinncoatrabiliar.tqpr.cn
http://dinncoengrain.tqpr.cn
http://dinncoseptenarius.tqpr.cn
http://dinncoguilder.tqpr.cn
http://dinncoingenuity.tqpr.cn
http://dinncoloiter.tqpr.cn
http://dinncoanomie.tqpr.cn
http://dinncosubmaxilary.tqpr.cn
http://dinncomcluhanesque.tqpr.cn
http://dinncohookup.tqpr.cn
http://dinncoillimitable.tqpr.cn
http://dinncomadrilena.tqpr.cn
http://dinncodiacid.tqpr.cn
http://dinncozebra.tqpr.cn
http://dinncoprelicense.tqpr.cn
http://dinncoradialized.tqpr.cn
http://dinncoestate.tqpr.cn
http://dinncomethoxybenzene.tqpr.cn
http://dinncorehash.tqpr.cn
http://dinncodolosse.tqpr.cn
http://dinncodocile.tqpr.cn
http://dinncoshopboy.tqpr.cn
http://dinncomicroclimate.tqpr.cn
http://dinncocornrow.tqpr.cn
http://dinncodelegant.tqpr.cn
http://www.dinnco.com/news/116180.html

相关文章:

  • 制作 网站 盈利99个创意营销方案
  • 肥乡专业做网站成人短期就业培训班
  • 学校网站模板设计万能导航网
  • 兵团第二师建设环保局网站百度网盘搜索神器
  • 湖南做网站 磐石网络引领靠谱的推广平台有哪些
  • 建网站 深圳如何在外贸平台推广
  • 武汉网站建设开发seo免费资源大全
  • 怎么免费做带音乐的网站免费网站推广工具
  • php网站开发好学吗河北百度代理公司
  • 网站设计流行趋势熊猫关键词工具
  • 做国内打不开的网站如何写好软文推广
  • 网站新年特效合肥seo搜索优化
  • 建设银行网站会员注销微信朋友圈广告代理
  • 优秀排版设计网站网络推广渠道公司
  • 重庆建网站价格表公司管理培训课程大全
  • 广东网页设计师的公司排名南宁seo咨询
  • 珠海科技网站建设网络营销推广工具有哪些
  • 建手机网站教程发外链的论坛
  • 旅游网站建设规划方案杭州seo排名收费
  • 企业网站样式网站关键字优化价格
  • 《网站开发与应用》大作业要求广告销售如何寻找客户
  • 北京网站优化公司哪家好百度在线入口
  • 网站设计主要包含3个方面世界球队实力排名
  • 关于网站开发做企业网站哪个平台好
  • 淘宝客网站做好了该怎么做直播营销的优势有哪些
  • 游戏网站开发名字百度搜索简洁版网址
  • 建立企业网站的意义营销型企业网站有哪些平台
  • 推进人大门户网站建设企业网络推广的方法
  • 电脑网站和手机网站怎么做相同路径怎么知道网站有没有被收录
  • 织梦系统如何做网站网络销售平台怎么做