Commit e71465fc by huaying

fix: 查看明细组件修改

parent ae8b0e15
<template>
<div class="m20">
<dm-sub-title class="mb16">
<div class="title">
<span>查看明细</span>
<span class="info-content cur-po"><i class="el-icon-info info-icon"></i>指标说明</span>
</div>
</dm-sub-title>
<el-row>
<div class="leftBox">
<el-input class="w260 mr10" placeholder="请输入门店名称/code" v-model="pageParam.search1" prefix-icon="el-icon-search"></el-input>
......@@ -84,6 +78,8 @@ export default {
pageSize: 20
},
totalCount: 0,
sortColumn: '',
sortType: '',
pickerOptions() {
let pickerMinDate;
return {
......@@ -192,8 +188,11 @@ export default {
this.getTableList();
},
// 排序
sortChange(e) {
console.log(e);
sortChange(column, prop, order) {
const that = this;
that.sortColumn = column.prop;
that.sortType = column.order == 'ascending' ? 'asc' : 'desc';
that.getTableList();
},
// 列表数据
getTableList() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment