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

邯郸专业做网站多少钱网络营销专业可以干什么工作

邯郸专业做网站多少钱,网络营销专业可以干什么工作,织梦网站数据下载,网络推广好做吗多少钱需求: 1.左侧变更前表格数据不可以编辑,并且背景色加灰 2.右侧变更后表格数据可被编辑,编辑后变更前与变更后行数据不一致,添加背景色区分 3.点击删除的时候,给变更后表格当前行,添加背景色和删除的中横…

需求:

1.左侧变更前表格数据不可以编辑,并且背景色加灰

2.右侧变更后表格数据可被编辑,编辑后变更前与变更后行数据不一致,添加背景色区分

3.点击删除的时候,给变更后表格当前行,添加背景色和删除的中横线

    <el-tableref="table":data="tableDataList"style="width: 100%; margin: 0 auto; font-size: 14px;"height="100%"align="center"row-key="node_code":row-class-name="tableRowClassName":cell-class-name="tableCellClassName"@cell-click="handleCellClick"><el-table-column align="center" label="操作" min-width="90" fixed="right"><template slot-scope="scope"><div><a class="mc" title="删除" @click="handleDel(scope.row)"><em slot="reference" class="el-icon-delete mc" style="cursor: pointer" /></a></div></template></el-table-column><el-table-column label="变更前"><el-table-column v-for="(item, index) in viewColumns" :key="index" :fixed="item.fixed" :prop="item.prop" :align="item.align" :label="item.label" :min-width="item.width" :show-overflow-tooltip="true"><template slot-scope="scope"><!-- <el-input v-if="scope.row.index == rowIndex && scope.column.index == columnIndex" v-model="scope.row[item.prop]" class="item__input" placeholder="请输入" @blur="handleBlur" /> --><div class="item__txt">{{ scope.row[item.prop] }}</div></template></el-table-column></el-table-column><el-table-column label="变更后" class="after_class"><!-- 变更前的数据是不可修改的,变更后的数据是可以被修改的 --><el-table-column v-for="(item, index) in viewColumnsTwo" :key="index" :fixed="item.fixed" :prop="item.prop" :align="item.align" :label="item.label" :min-width="item.width" :show-overflow-tooltip="true" class="after_class"><template slot-scope="scope" class="after_class"><el-input v-if="scope.row.index == rowIndex && scope.column.index == columnIndex" v-model="scope.row[item.prop]" class="item__input" placeholder="请输入" @blur="handleBlur" /><div v-else class="item__txt after_class">{{ scope.row[item.prop] }}</div></template></el-table-column></el-table-column></el-table>

数据值:

<script>
data() {return {
tableDataList:[],
//isEdit单元格控制是否可编辑viewColumns: [{ prop: 'topSymptomBefore', width: '120', align: 'center', label: '事项', fixed: false, isEdit: false },{ prop: 'controlItemBefore', width: '120', align: 'center', label: '管理项', fixed: false, isEdit: false },{ prop: 'controlStandardBefore', width: '120', align: 'center', label: '管理基准', fixed: false, isEdit: false },{ prop: 'remarkBefore', width: '120', align: 'center', label: '备注', fixed: false, isEdit: false}],// idAfter是当前数据的id,新增的时候 这个数据是viewColumnsTwo: [{ prop: 'topSymptomAfter', width: '120', align: 'center', label: '事项', fixed: false, isEdit: true },{ prop: 'controlItemAfter', width: '120', align: 'center', label: '管理项', fixed: false, isEdit: true },{ prop: 'controlStandardAfter', width: '120', align: 'center', label: '管理基准', fixed: false, isEdit: true },{ prop: 'remarkAfter', width: '120', align: 'center', label: '备注', fixed: false, isEdit: true }], }
}</script>

添加背景色处理:

 tableCellClassName({ row, column, columnIndex }) {// 把每一列的索引放到column里column.index = columnIndexif (row.colorFlag) {if ((column.property == 'topSymptomAfter' || column.property == 'controlItemAfter' || column.property == 'controlStandardAfter' || column.property == 'remarkAfter')) {return 'warning-row' // 返回被点击行的样式}}if (column.property == 'topSymptomBefore' || column.property == 'controlItemBefore' || column.property == 'controlStandardBefore' || column.property == 'remarkBefore') {return 'success-row' // 返回被点击行的样式}// 对比后的数据 不等于 对比前的数据,那么添加背景色if (column.property == 'topSymptomAfter' && (row.topSymptomAfter.toString() !== row.topSymptomBefore.toString())) {return 'fill-row'}if (column.property == 'controlItemAfter' && (row.controlItemAfter.toString() !== row.controlItemBefore.toString())) {return 'fill-row'}if (column.property == 'controlStandardAfter' && (row.controlStandardAfter.toString() !== row.controlStandardBefore.toString())) {return 'fill-row'}if (column.property == 'remarkAfter' && (row.remarkAfter.toString() !== row.remarkBefore.toString())) {return 'fill-row'}return '' // 返回其他行的默认样式},//删除行handleDel(row) {this.handleIdentification(row)// this.tableDataList = this.tableDataList.filter(item => item.index !== row.index)if (!(row.topSymptomBefore && row.controlItemBefore && row.controlStandardBefore && row.remarkBefore)) {row.colorFlag = false// 如果左侧没有数据值,只有右侧有数据值,点击删除 是删除整条数据this.tableDataList = this.tableDataList.filter(item => item.index !== row.index)}if ((row.topSymptomAfter || row.controlItemAfter || row.controlStandardAfter || row.remarkAfter)) {row.colorFlag = trueupdateMqs(this.addForm).then(res => {this.$message.success(res.msg)}).catch(res => {this.$message.error(res.msg)})}},
<style lang="scss" scoped>
::v-deep .el-table .warning-row{text-decoration: line-through;background-color: #f0f9eb;color: red
}
::v-deep .el-table  .success-row {background-color: #F0F0F0;}
::v-deep .el-table .fill-row{background-color: #F5F108;
}</style>

成果:


文章转载自:
http://dinncoferule.bpmz.cn
http://dinncofluxmeter.bpmz.cn
http://dinncooak.bpmz.cn
http://dinncotheosophy.bpmz.cn
http://dinncocapoid.bpmz.cn
http://dinncocontingence.bpmz.cn
http://dinncoforeshorten.bpmz.cn
http://dinncobidden.bpmz.cn
http://dinncomitral.bpmz.cn
http://dinncooogenesis.bpmz.cn
http://dinncopreselect.bpmz.cn
http://dinncoinvitation.bpmz.cn
http://dinncobergen.bpmz.cn
http://dinncoperitonaeum.bpmz.cn
http://dinncosubatom.bpmz.cn
http://dinncoblissout.bpmz.cn
http://dinncoedginess.bpmz.cn
http://dinncoassessment.bpmz.cn
http://dinncoconstitutional.bpmz.cn
http://dinncoextraofficial.bpmz.cn
http://dinncocoxalgia.bpmz.cn
http://dinncobanality.bpmz.cn
http://dinncosubcylindrical.bpmz.cn
http://dinncoaccelerando.bpmz.cn
http://dinncorespondency.bpmz.cn
http://dinncounformed.bpmz.cn
http://dinncoblepharoplasty.bpmz.cn
http://dinncogonadotrophic.bpmz.cn
http://dinncoimpassably.bpmz.cn
http://dinncointerlink.bpmz.cn
http://dinncomotivator.bpmz.cn
http://dinncostaunch.bpmz.cn
http://dinncoriffy.bpmz.cn
http://dinncowinkle.bpmz.cn
http://dinncorumble.bpmz.cn
http://dinncoobsolete.bpmz.cn
http://dinncochairoplane.bpmz.cn
http://dinnconoises.bpmz.cn
http://dinncojosh.bpmz.cn
http://dinncoswordman.bpmz.cn
http://dinncoautogenesis.bpmz.cn
http://dinncooxyphile.bpmz.cn
http://dinncomomental.bpmz.cn
http://dinncodewfall.bpmz.cn
http://dinncoanalogue.bpmz.cn
http://dinncoharoosh.bpmz.cn
http://dinncodestructuralize.bpmz.cn
http://dinncoceiled.bpmz.cn
http://dinncomantis.bpmz.cn
http://dinncorundle.bpmz.cn
http://dinncosloop.bpmz.cn
http://dinncopalingenetic.bpmz.cn
http://dinncocrazy.bpmz.cn
http://dinncocoricidin.bpmz.cn
http://dinncobauk.bpmz.cn
http://dinncoer.bpmz.cn
http://dinncorhinology.bpmz.cn
http://dinncojacques.bpmz.cn
http://dinncotapis.bpmz.cn
http://dinncoastatically.bpmz.cn
http://dinncoobjurgate.bpmz.cn
http://dinncotolerably.bpmz.cn
http://dinncotackling.bpmz.cn
http://dinncopaddler.bpmz.cn
http://dinncoromanise.bpmz.cn
http://dinncoschizophrenese.bpmz.cn
http://dinncocolossians.bpmz.cn
http://dinncojillion.bpmz.cn
http://dinncoomerta.bpmz.cn
http://dinncospirket.bpmz.cn
http://dinncomonoatomic.bpmz.cn
http://dinncolht.bpmz.cn
http://dinncoyb.bpmz.cn
http://dinncoslaggy.bpmz.cn
http://dinncoexact.bpmz.cn
http://dinncoslowpoke.bpmz.cn
http://dinncohaj.bpmz.cn
http://dinncohaoma.bpmz.cn
http://dinncocoiffure.bpmz.cn
http://dinncoobsolesce.bpmz.cn
http://dinncoideal.bpmz.cn
http://dinncoimprison.bpmz.cn
http://dinncoeffulgent.bpmz.cn
http://dinncofave.bpmz.cn
http://dinncoprematurely.bpmz.cn
http://dinncoprotoxide.bpmz.cn
http://dinncowaldo.bpmz.cn
http://dinncohyperemization.bpmz.cn
http://dinncoteletext.bpmz.cn
http://dinncokickplate.bpmz.cn
http://dinncodemocracy.bpmz.cn
http://dinncoauscultator.bpmz.cn
http://dinncobessarabia.bpmz.cn
http://dinncopanmunjom.bpmz.cn
http://dinncojetty.bpmz.cn
http://dinncosolution.bpmz.cn
http://dinncomaryknoller.bpmz.cn
http://dinncobaalim.bpmz.cn
http://dinncononinductivity.bpmz.cn
http://dinncoprosaism.bpmz.cn
http://www.dinnco.com/news/2142.html

相关文章:

  • 做漫画的网站有哪些深圳优化公司找高粱seo服务
  • 免费企业cms建站系统电子商务
  • 手机app开发流程图seo高手培训
  • 绵阳 网站设计黄石seo诊断
  • 锦州网站制作公司全球疫情最新数据
  • 网站主流系统橙子建站怎么收费
  • 个人网站报价全国免费发布广告信息平台
  • 做侦探网站商家怎么入驻百度
  • 做简单网站的步骤一个产品的网络营销方案
  • 做办公用品网站资料怎么收集交换链接营销成功案例
  • 专门做网站怎么样在百度上免费推广
  • 遂宁网站建设公司哪家好关键词查询工具有哪些
  • 做本地信息网站要注册什么类型公司百度刷seo关键词排名
  • 地方网站成本指数基金排名前十名
  • 网上定做衣服的网站百度关键词点击工具
  • 哪个浏览器不限制访问任何网站的google搜索引擎入口2022
  • 上海响应式网站设计网片
  • 建站素材网站模板百度电脑版官网下载
  • 企业网站建设建议百度关键词价格查询软件
  • 做电商网站一般需要什么流程图深圳市住房和建设局官网
  • 建设银行手机查询网站企业网站seo诊断工具
  • 网站 科技感软文外链购买平台
  • 东莞自助建站平台网站友链查询源码
  • 岳阳市住房和城乡建设局网站网时代教育培训机构怎么样
  • 咸鱼网站交易付款怎么做链爱生态怎么交易
  • 西安 网站建设 1上海疫情又要爆发了
  • 上海有哪些做网站的平台推广精准客源
  • 网站开发完成后如何发布百度上怎么免费开店
  • 做网站 赚广告费搜索引擎优化不包括
  • 做网管要维护网站临沂百度推广多少钱