From f52074b16fe2a8db307ab5d37821b0863e9eb6fc Mon Sep 17 00:00:00 2001 From: "xiaoxing.liu" Date: Wed, 27 Apr 2022 12:00:47 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../freight/list/detail/detail.component.ts | 63 +++++++++---------- 1 file changed, 31 insertions(+), 32 deletions(-) diff --git a/src/app/routes/usercenter/components/freight/list/detail/detail.component.ts b/src/app/routes/usercenter/components/freight/list/detail/detail.component.ts index bd066e42..4fb06006 100644 --- a/src/app/routes/usercenter/components/freight/list/detail/detail.component.ts +++ b/src/app/routes/usercenter/components/freight/list/detail/detail.component.ts @@ -97,8 +97,7 @@ export class FreightComponentsListDetailComponent implements OnInit, OnDestroy { initST() { this.columns = [ { title: '修改后合伙人', index: 'newPartnerName', className: 'text-center' }, - { title: '修改前合伙人', index: 'originalPartnerNamel', className: 'text-center' }, - { title: '备注', render: 'remark', className: 'text-center' }, + { title: '修改前合伙人', index: 'originalPartnerName', className: 'text-center' }, { title: '结算起算日', index: 'settStartTime', className: 'text-center' }, { title: '生效节点', index: 'effectiveNode', className: 'text-center', type: 'enum', enum: { 1: '立即生效', @@ -115,38 +114,38 @@ export class FreightComponentsListDetailComponent implements OnInit, OnDestroy { }, className: 'text-center' }, - { title: '修改时间', render: 'modifyTime', className: 'text-center' }, - { title: '生效时间', index: 'effectiveTime', className: 'text-center' }, - { title: '操作人', render: 'approvalUser', className: 'text-center' }, - - ]; - } - /** - * 初始化数据列表 - */ - initRecordST() { - this.recordColumns = [ - { title: '修改后渠道销售', index: 'newChannelName', className: 'text-center' }, - { title: '修改前渠道销售地', index: 'originalChannelName', className: 'text-center' }, - { title: '备注', render: 'remark', className: 'text-center' }, - { title: '生效节点', index: 'effectiveNode', className: 'text-center', type: 'enum', enum: { - 1: '立即生效', - 2: 'CRM审核后生效', - 3: '审核通过生效', - } }, - { - title: 'CRM审核状态', index: 'effectiveStatus', - type: 'enum', - enum: { - 0: '已失效', - 1: '未生效', - 2: '已生效', - }, - className: 'text-center' - }, { title: '修改时间', index: 'modifyTime', className: 'text-center' }, { title: '生效时间', index: 'effectiveTime', className: 'text-center' }, - { title: '操作人', index: 'modifyUserId', className: 'text-center' } + { title: '操作人', index: 'modifyUserId', className: 'text-center' }, + { title: '备注', render: 'remark', className: 'text-center' }, + ]; + } + /** + * 初始化数据列表 + */ + initRecordST() { + this.recordColumns = [ + { title: '修改后渠道销售', index: 'newChannelName', className: 'text-center' }, + { title: '修改前渠道销售地', index: 'originalChannelName', className: 'text-center' }, + { title: '生效节点', index: 'effectiveNode', className: 'text-center', type: 'enum', enum: { + 1: '立即生效', + 2: 'CRM审核后生效', + 3: '审核通过生效', + } }, + { + title: 'CRM审核状态', index: 'effectiveStatus', + type: 'enum', + enum: { + 0: '已失效', + 1: '未生效', + 2: '已生效', + }, + className: 'text-center' + }, + { title: '修改时间', index: 'modifyTime', className: 'text-center' }, + { title: '生效时间', index: 'effectiveTime', className: 'text-center' }, + { title: '操作人', index: 'modifyUserId', className: 'text-center' }, + { title: '备注', render: 'remark', className: 'text-center' }, ]; } loadPartnerInfo(){