Commit e71465fc by huaying

fix: 查看明细组件修改

parent ae8b0e15
<template> <template>
<div class="m20"> <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> <el-row>
<div class="leftBox"> <div class="leftBox">
<el-input class="w260 mr10" placeholder="请输入门店名称/code" v-model="pageParam.search1" prefix-icon="el-icon-search"></el-input> <el-input class="w260 mr10" placeholder="请输入门店名称/code" v-model="pageParam.search1" prefix-icon="el-icon-search"></el-input>
...@@ -84,6 +78,8 @@ export default { ...@@ -84,6 +78,8 @@ export default {
pageSize: 20 pageSize: 20
}, },
totalCount: 0, totalCount: 0,
sortColumn: '',
sortType: '',
pickerOptions() { pickerOptions() {
let pickerMinDate; let pickerMinDate;
return { return {
...@@ -192,8 +188,11 @@ export default { ...@@ -192,8 +188,11 @@ export default {
this.getTableList(); this.getTableList();
}, },
// 排序 // 排序
sortChange(e) { sortChange(column, prop, order) {
console.log(e); const that = this;
that.sortColumn = column.prop;
that.sortType = column.order == 'ascending' ? 'asc' : 'desc';
that.getTableList();
}, },
// 列表数据 // 列表数据
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