From ce4d7c0195d2f8bbc9a6c28f9b6cd357d4a66bc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9C=E6=A3=9A?= <849005670@qq.com> Date: Tue, 21 Dec 2021 17:14:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=A1=A8=E6=A0=BC=E5=88=97?= =?UTF-8?q?=E5=AE=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/plan/key/detail/list.js | 2 +- src/pages/plan/list/list.js | 32 +++++++++++++++---------------- 2 files changed, 16 insertions(+), 18 deletions(-) diff --git a/src/pages/plan/key/detail/list.js b/src/pages/plan/key/detail/list.js index f929cffa..80890f58 100644 --- a/src/pages/plan/key/detail/list.js +++ b/src/pages/plan/key/detail/list.js @@ -543,7 +543,7 @@ export default class acclist extends React.Component{ } tabFn(e){ - + console.log(e) } render(){ const { current, pageSize } = this.state; diff --git a/src/pages/plan/list/list.js b/src/pages/plan/list/list.js index d98f10b8..25935df3 100644 --- a/src/pages/plan/list/list.js +++ b/src/pages/plan/list/list.js @@ -466,7 +466,6 @@ export default class acclist extends React.Component{ let data = { page:1, limit:10, - key_word:this.state.key_word } console.log(prop) @@ -585,78 +584,78 @@ export default class acclist extends React.Component{ name: 'title', prop:'title', type: "slot", - width:'150px', + width:'auto', },{ title: '启用', - width:'60px', + width:'auto', type: "slot", prop:'switch' }, { title: '分销商', prop:'reseller_name', name: 'reseller_name', - width:'100px', + width:'auto', type: "normal", }, { title: '状态', name: 'status', prop:'status', type: "slot", - width:'50px' + width:'auto', }, { title: '创建人', name: 'creator_name', prop:'creator_name', type: "normal", - width:'100px' + width:'auto', }, { title: '时间范围', type: "slot", prop:'dates', - width:'250px' + width:'auto', }, { title: '操作', prop: 'opearo', name: 'opearo', type: "slot", - width:'80px', + width:'auto', }, { title: '发放key总数', name: 'grant', type: "normal", prop:'grant', - width:'70px', + width:'auto', }, { title: '领取key总数', name: 'receive', type: "normal", prop:'receive', - width:'70px', + width:'auto', }, { title: '已使用总数', name: 'usage', type: "normal", prop:'usage', - width:'70px', + width:'auto', }, { title: '沉默总数', name: 'silent', type: "normal", prop:'silent', - width:'70px', + width:'auto', }, { title: '发放总价(预估)', name: 'grant_total', type: "normal", prop:'grant_total', - width:'120px', + width:'auto', valueType:"price" }, @@ -665,22 +664,21 @@ export default class acclist extends React.Component{ name: 'receive_total', type: "normal", prop:'receive_total', - width:'120px', + width:'auto', valueType:"price" }, { title: '已使用总价(预估)', name: 'usage_total', type: "normal", prop:'usage_total', - width:'120px', - sort: true, + width:'auto', valueType:"price" },{ title: '沉默总价(预估)', name: 'silent_total', type: "normal", prop:'silent_total', - width:'120px', + width:'auto', valueType:"price" }, ];