Commit ac45de0d by zhouzy

1

1 parent 5ce0270b
......@@ -144,7 +144,7 @@ export default {
closeListPoup(done) {
this.$emit('update:show', false)
this.$emit('update:isEdit', false)
this.form ={}
this.form = {}
done()
},
close() {
......@@ -152,6 +152,8 @@ export default {
this.$emit('update:show', false)
this.$emit('update:isEdit', false)
this.$refs.ruleForm.resetFields()
this.form = {}
// console.log("???????????");
},
upLoadImg(file) {
let fileName = file.name
......
......@@ -7,8 +7,8 @@ export default {
carTableParams: {
listName: 'data.list',
tableOption: true,
rowClassName: ({ row, rowIndex }) => {
return row.status == 0 ? 'opacity' : ''
rowStyle: ({ row, rowIndex }) => {
return row.status == 0 ? {opacity:0.5} : ''
},
tableColumns: [{
label: '权益名称',
......@@ -62,6 +62,8 @@ export default {
getCarList() {
this.$apis.carEquityManageApi.getCarList({pageSize: this.$refs.carTable.page.pageSize, pageNum: this.$refs.carTable.page.pageNum}).then(({ data }) => {
this.carTableData = data.list || []
this.$refs.carTable.refreshTable()
})
},
......
......@@ -9,8 +9,8 @@ export default {
tags: [],
goodsTableData: [],
goodsTableParams: {
rowClassName: ({ row, rowIndex }) => {
return row.status == 0 ? 'opacity' : ''
rowStyle: ({ row, rowIndex }) => {
return row.status == 0 ? {opacity:0.5} : ''
},
tableOption: true,
tableColumns: [{
......
<template>
<div class="equity-wrap">
<div class="tableTitle">汽车权益</div>
<div class="tableTitleFirst">汽车权益</div>
<div class="equity-wrap contain">
<el-button type="primary" size="small" @click="addEquity(1)">
<i class="el-icon-plus"></i>
......@@ -255,9 +255,6 @@ export default {
width: 40px;
height: 40px;
}
.opacity {
opacity: 0.5;
}
.tableBtn {
width: 40px;
}
......@@ -273,6 +270,9 @@ export default {
.tableTitle {
margin: 20px 40px;
}
.tableTitleFirst{
margin: 0px 40px 20px 40px;
}
.el-table__fixed-right-patch {
position: absolute;
top: -1px;
......
......@@ -617,14 +617,6 @@ export default {
.avatar-uploader .el-upload:hover {
border-color: #409eff;
}
.avatar-uploader-icon {
font-size: 14px;
color: #8c939d;
width: 40px;
height: 30px;
line-height: 30px;
text-align: center;
}
.avatar {
width: 40px;
height: 30px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!