Compare commits

..

No commits in common. "4feee6e2e8ea9b2deb3d608501ceaa01b2758025" and "237fe18db88f8dedfb3ee04007243fd762556f3e" have entirely different histories.

1 changed files with 5 additions and 30 deletions

View File

@ -61,7 +61,6 @@
lass="content"
style="width: 100%;"
:row-class-name="tableRowClassName"
@sort-change="sortChange"
>
<el-table-column type="selection" />
@ -81,19 +80,16 @@
align="center"
prop="pointCount"
label="子点位总数"
sortable="custom"
/>
<el-table-column
align="center"
prop="waitPointCount"
label="待激活点位总数"
sortable="custom"
/>
<el-table-column
align="center"
prop="repPvBalance"
label="复购业绩余额"
sortable="custom"
/>
</el-table>
@ -121,9 +117,7 @@ const initParmas = {
pageNum: 1,
pageSize: 50,
memberSettlePeriodId: '',
memberCode: '',
sort: '',
sortColumn: ''
memberCode: ''
}
export default {
name: 'MemberPointInfo',
@ -197,8 +191,6 @@ export default {
...initParmas
}
this.queryParams.memberSettlePeriodId = this.memberSettlePeriodList[0].pkId
//
this.$refs.table.clearSort()
this.handleSearch()
},
tableRowClassName({ row, rowIndex }) {
@ -211,27 +203,6 @@ export default {
},
copyContent(content) {
// this.$message.success('')
},
//
sortChange({ column, prop, order }) {
if (order) {
//
const sortColumnMap = {
pointCount: 'POINT_COUNT',
waitPointCount: 'WAIT_POINT_COUNT',
repPvBalance: 'REP_PV_BALANCE'
}
this.queryParams.sortColumn = sortColumnMap[prop] || ''
this.queryParams.sort = order === 'ascending' ? 'ASC' : 'DESC'
} else {
//
this.queryParams.sortColumn = ''
this.queryParams.sort = ''
}
//
this.handleSearch()
}
}
@ -254,6 +225,10 @@ export default {
::v-deep .el-date-editor .el-range__icon{
margin-top: -10px;
}
::v-deep .el-input__inner{
//height:28px;
//line-height: 28px;
}
::v-deep .el-form-item__label{
color: #333;
font-weight: inherit;