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

手机编程网站浙江省嘉兴建设局官方网站

手机编程网站,浙江省嘉兴建设局官方网站,南昌做公司网站哪家好,wordpress电子商务主题 中文废话不多说上图#xff1a; 1.可编辑input 2.可编辑下来框 3.点击chechbox 4.可编辑radio 其实后面两种可以直接显示值 需要修改直接改就行 保持风格统一所以就做了点击之后出现修改功能 上代码#xff0c;不要哔哔 哈哈 粗暴 真得是曲不离口 拳不离手#xff0c; 几天…废话不多说上图 1.可编辑input 2.可编辑下来框 3.点击chechbox 4.可编辑radio 其实后面两种可以直接显示值 需要修改直接改就行 保持风格统一所以就做了点击之后出现修改功能 上代码不要哔哔 哈哈 粗暴   真得是曲不离口 拳不离手 几天不练习都不会写了 声明部分代码有借鉴 template div classdivCaculateResultDisplaydiv classdivParamInput2label classlabConfidenceParamTitle结果/label/divdiv classdivNotAllowCaculateResultel-tableborderheight385:datatableDataclasstb-editstylewidth: 100%cell-clickgetCell:cell-class-nametableCellClassNamehighlight-current-rowel-table-column fixed aligncenter propcreateTime label创建时间 width150/el-table-columnel-table-column proppowerFactor label功率因素 width aligncentertemplate slot-scopescopeel-input v-modelscope.row.powerFactor blurhandleBlur(scope.row) v-if scope.row.index tabRowIndex scope.column.index tabColumnIndex v-focus/el-inputdiv v-elsespan {{scope.row.powerFactor}}/span/div/template/el-table-columnel-table-column propselecttest label测试选择下拉 width aligncenter template slot-scopescopeel-select v-focus v-modelscope.row.selecttest v-if scope.row.index tabRowIndex scope.column.index tabColumnIndex changehandleBlur(scope.row) el-optionv-foritem in FloorsOptions:keyitem:labelitem:valueitem/el-option/el-selectdiv v-elsespan {{scope.row.selecttest}}/span/div/template/el-table-columnel-table-column propcheckboxtest label测试check width aligncenter template slot-scopescopeel-checkbox v-modelscope.row.checkboxtest v-if scope.row.index tabRowIndex scope.column.index tabColumnIndex changehandleBlur(scope.row) label复选框测试/el-checkboxdiv v-elsespan {{scope.row.checkboxtest}}/span/div/template/el-table-columnel-table-column propradiotest label测试radio width aligncenter template slot-scopescopeel-radio-group v-if scope.row.index tabRowIndex scope.column.index tabColumnIndex v-focus changehandleBlur(scope.row) v-modelscope.row.radiotest el-radio label男 男/el-radioel-radio label女 女/el-radio/el-radio-groupdiv v-elsespan {{scope.row.radiotest}}/span/div/template/el-table-column!-- 此处省略 --el-table-column label操作template slot-scopescopeel-button clickhandleRowEdit(scope.$index, scope.row)编辑/el-buttonel-button typedanger clickhandleDelete(scope.$index, scope.row)删除/el-button/template/el-table-column/el-tableel-pagination :current-pagepage :page-size10 current-changeCurrentChange stylemargin-top: 10px;display: flex;justify-content: center;align-items: center; background layoutprev, pager, next :totaltotal/el-pagination/div/div /template scriptexport default {directives: {//注册一个局部的自定义指令 v-focus输入框自动聚焦focus: {inserted: function (el) {el.querySelector(input).focus()}}}, data() {return {page: 1,tabRowIndex: null, //行角标tabColumnIndex: , //列角标limit: 10,total:0,FloorsOptions:[test1,test2,test3,test4,test5],tableData: [{createTime:2024-01-01,powerFactor:555,selecttest:test1,checkboxtest:false,radiotest:,setingFlag:false},{createTime:2024-02-01,powerFactor:66,selecttest:test2,checkboxtest:false,radiotest:,setingFlag:false},{createTime:2024-03-01,powerFactor:66,selecttest:test3,checkboxtest:false,radiotest:,setingFlag:false},{createTime:2024-04-01,powerFactor:66,selecttest:test4,checkboxtest:false,radiotest:,setingFlag:false},],}}, methods: {getCell(row, column, cell, event) {console.log(行的内容:,row);this.tabRowIndex row.indexthis.tabColumnIndex column.index},tableCellClassName({row, column, rowIndex, columnIndex}){//注意这里是解构//利用单元格的 className 的回调方法给行列索引赋值row.indexrowIndex;column.indexcolumnIndex;},handleBlur(row) {row.setingFlag false;const param{id:row.id,powerFactor:row.powerFactor,currentA:row.currentA,currentB:row.currentB,currentC:row.currentC,voltage:row.voltage,voltageA:row.voltageA,voltageB:row.voltageB,voltageC:row.voltageC,activePower:row.activePower,selecttest:row.selecttest,reactivePower:row.reactivePower,apparentPower:row.apparentPower,calculatedPowerFactor:row.calculatedPowerFactor,energyConsumption:row.energyConsumption}this.tabRowIndex null;this.tabColumnIndex null;console.log(handleBlur);console.log(param);},handleRowEdit(index ,row){this.$set(row, setingFlag, true)},handleDelete( index, row){console.log(index )console.log( row)},CurrentChange(){console.log(CurrentChange)},} } /script
http://www.pierceye.com/news/211965/

相关文章:

  • 西安网站优化推广方案新网站做百度百科
  • 网站外链建设到底该怎么做flash网站案例
  • 成都私人网站制作卓越网站建设的优点
  • 做网站下载别人的图算不算侵权源码之家免费
  • 宁夏住房城乡建设厅网站应用网站建设
  • 宾馆网站建设网站建设管理规范
  • 内部网站建设的步骤过程选择邯郸做网站
  • 国外免费外贸网站dw网页制作教程个人网站
  • 西安建设局网站地址室内设计效果图一套方案
  • php 建网站电子商务网站建设项目规划书
  • 常熟建设局网站代理办营业执照的公司
  • 济南网站关键词优化公司如何制作网站赚钱
  • 长春旅游网站开发360投放广告怎么收费
  • 微信公众号做网站卖东西静态化网站的缺点
  • 网站空间购买今天的新闻头条最新消息
  • 网站制作教程图解怎么解压wordpress
  • 唐山市城市建设规划局网站腾讯云建设一个网站要多少钱
  • 邢台集团网站建设费用聚牛建设网站
  • 如何创建电子商务网站学校网站设计首页
  • 扬州建设投资集团网站世界总人口实时数据
  • 沧州制作网站食品商务网-网站建设
  • 0592 网站建设模板网站建设+百度
  • 请人做个网站多少钱免费商城app
  • 网站建设包括哪些方面?手游源码网站
  • 机关门户网站建设管理情况软件开发工具都有哪些
  • 官方网站建设专家磐石网络wordpress对应的id
  • 学生自做网站优秀作品徐州企业建站模板
  • 网络电子商务购物网站idc机房建设
  • 网站单页seo个人服务器网站备案
  • 装修队伍做网站做机票在线预订网站