|
@@ -231,7 +231,7 @@ export const RaiStockTableColums = [
|
|
|
{
|
|
|
label: "合同期限",
|
|
|
dataType: "新签客户,续约客户",
|
|
|
- key: "StartDate"
|
|
|
+ key: "StartDate",
|
|
|
},
|
|
|
{
|
|
|
label: "合同金额",
|
|
@@ -450,27 +450,148 @@ export const equityTableColums = (type) => {
|
|
|
sort: true,
|
|
|
},
|
|
|
]
|
|
|
- : type === "新增试用客户"
|
|
|
- ? [ {
|
|
|
- label: "客户名称",
|
|
|
- key: "CompanyName",
|
|
|
- widthsty: "300px",
|
|
|
- textsty: "color:#409EFF;cursor:pointer;",
|
|
|
- link: true,
|
|
|
- },
|
|
|
- {
|
|
|
- label: "所属销售",
|
|
|
- key: "SellerName",
|
|
|
- widthsty: "150px",
|
|
|
- },
|
|
|
- {
|
|
|
- label: "新增类型",
|
|
|
- key: "Operation",
|
|
|
- widthsty: "150px",
|
|
|
- },
|
|
|
- {
|
|
|
- label: "新增时间",
|
|
|
- key: "CreateTime",
|
|
|
- }]
|
|
|
- :[];
|
|
|
+ : type === "新增试用客户"
|
|
|
+ ? [
|
|
|
+ {
|
|
|
+ label: "客户名称",
|
|
|
+ key: "CompanyName",
|
|
|
+ widthsty: "300px",
|
|
|
+ textsty: "color:#409EFF;cursor:pointer;",
|
|
|
+ link: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "所属销售",
|
|
|
+ key: "SellerName",
|
|
|
+ widthsty: "150px",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "新增类型",
|
|
|
+ key: "Operation",
|
|
|
+ widthsty: "150px",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "新增时间",
|
|
|
+ key: "CreateTime",
|
|
|
+ },
|
|
|
+ ]
|
|
|
+ : [];
|
|
|
+};
|
|
|
+
|
|
|
+export const tableConfigs = {
|
|
|
+ AddTrialCount: [
|
|
|
+ { label: "客户名称", prop: "CompanyName" },
|
|
|
+ { label: "所属销售", prop: "SellerName" },
|
|
|
+ { label: "新增类型", prop: "Operation" },
|
|
|
+ { label: "新增时间", prop: "CreateTime" },
|
|
|
+ ],
|
|
|
+ // 新签合同
|
|
|
+ NewContractData: [
|
|
|
+ { label: "客户名称", prop: "CompanyName" },
|
|
|
+ { label: "所属销售", prop: "SellerName" },
|
|
|
+ { label: "合同期限", prop: "StartDate" },
|
|
|
+ { label: "合同金额", prop: "Money" },
|
|
|
+ { label: "签约套餐", prop: "PermissionName" },
|
|
|
+ { label: "操作", prop: "actions" },
|
|
|
+ ],
|
|
|
+ // 到期合同
|
|
|
+ ExpiredContractData: [
|
|
|
+ { label: "客户名称", prop: "CompanyName" },
|
|
|
+ { label: "所属销售", prop: "SellerName" },
|
|
|
+ { label: "合同期限", prop: "StartDate" },
|
|
|
+ { label: "合同金额", prop: "Money" },
|
|
|
+ { label: "签约套餐", prop: "PermissionName" },
|
|
|
+ { label: "操作", prop: "actions" },
|
|
|
+ ],
|
|
|
+ // 续约合同
|
|
|
+ RenewedContractData: [
|
|
|
+ { label: "客户名称", prop: "CompanyName" },
|
|
|
+ { label: "所属销售", prop: "SellerName" },
|
|
|
+ { label: "合同期限", prop: "StartDate" },
|
|
|
+ { label: "合同金额", prop: "Money" },
|
|
|
+ { label: "签约套餐", prop: "PermissionName" },
|
|
|
+ { label: "操作", prop: "actions" },
|
|
|
+ ],
|
|
|
+ // 续约率
|
|
|
+ RenewalRateData: [
|
|
|
+ { label: "", prop: "type" },
|
|
|
+ { label: "续约金额(续约客户数)", prop: "renewAmount" },
|
|
|
+ { label: "到期金额(到期客户数)", prop: "expireAmount" },
|
|
|
+ { label: "续约/到期", prop: "renewRate" },
|
|
|
+ ],
|
|
|
+ //确认不续约合同
|
|
|
+ ConfirmedNoRenewalContractData: [
|
|
|
+ { label: "客户名称", prop: "CompanyName" },
|
|
|
+ { label: "所属销售", prop: "SellerName" },
|
|
|
+ { label: "合同期限", prop: "StartDate" },
|
|
|
+ { label: "合同金额", prop: "Money" },
|
|
|
+ { label: "签约套餐", prop: "PermissionName" },
|
|
|
+ { label: "操作", prop: "actions" },
|
|
|
+ ],
|
|
|
+ //确认不续约率
|
|
|
+ ConfirmNonRenewalRateData: [
|
|
|
+ { label: "", prop: "type" },
|
|
|
+ { label: "不续约金额(不续约客户数)", prop: "notRenewAmount" },
|
|
|
+ { label: "到期金额(到期客户数)", prop: "expireAmount" },
|
|
|
+ { label: "不续约/到期", prop: "notRenewRate" },
|
|
|
+ ],
|
|
|
+ // 签约客户数量
|
|
|
+ SignedClientCount: [
|
|
|
+ { label: "新签客户数量", prop: "newCustomerCount" },
|
|
|
+ { label: "新签合同数量", prop: "newContractCount" },
|
|
|
+ { label: "续约客户数量", prop: "renewCustomerCount" },
|
|
|
+ { label: "续约合同数量", prop: "renewContractCount" },
|
|
|
+ ],
|
|
|
+ // 客单价
|
|
|
+ AverageRevenueCount: [
|
|
|
+ { label: "签约总金额", prop: "totalSignedAmount" },
|
|
|
+ { label: "签约客户数", prop: "totalCustomers" },
|
|
|
+ ],
|
|
|
+ // 开票金额
|
|
|
+ InvoiceAmountCount: [
|
|
|
+ { label: "客户名称", prop: "CompanyName" },
|
|
|
+ { label: "所属销售", prop: "SellerName" },
|
|
|
+ { label: "合同编号", prop: "contractNumber" },
|
|
|
+ { label: "开票金额", prop: "invoiceAmount" },
|
|
|
+ { label: "开票日期", prop: "invoiceDate" },
|
|
|
+ ],
|
|
|
+ // 新客开票
|
|
|
+ NewCustomerInvoicingCount: [
|
|
|
+ { label: "客户名称", prop: "CompanyName" },
|
|
|
+ { label: "所属销售", prop: "SellerName" },
|
|
|
+ { label: "合同编号", prop: "contractNumber" },
|
|
|
+ { label: "开票金额", prop: "invoiceAmount" },
|
|
|
+ { label: "开票日期", prop: "invoiceDate" },
|
|
|
+ ],
|
|
|
+ // 到款金额
|
|
|
+ PaymentReceivedCount: [
|
|
|
+ { label: "客户名称", prop: "CompanyName" },
|
|
|
+ { label: "所属销售", prop: "SellerName" },
|
|
|
+ { label: "合同编号", prop: "contractNumber" },
|
|
|
+ { label: "到款金额", prop: "paymentAmount" },
|
|
|
+ { label: "到款日期", prop: "paymentDate" },
|
|
|
+ ],
|
|
|
+ // 新客到款
|
|
|
+ NewCustomerPaymentsReceivedCount: [
|
|
|
+ { label: "客户名称", prop: "CompanyName" },
|
|
|
+ { label: "所属销售", prop: "SellerName" },
|
|
|
+ { label: "合同编号", prop: "contractNumber" },
|
|
|
+ { label: "到款金额", prop: "paymentAmount" },
|
|
|
+ { label: "到款日期", prop: "paymentDate" },
|
|
|
+ ],
|
|
|
+};
|
|
|
+export const tableDlgTitle = {
|
|
|
+ AddTrialCount: "新增试用", //新增试用
|
|
|
+ NewContractData: "新签合同", //新签合同(金额/数量)
|
|
|
+ ExpiredContractData: "到期合同", //到期合同(金额/数量)
|
|
|
+ RenewedContractData: "续约合同", //续约合同(金额/数量)
|
|
|
+ RenewalRateData: "续约率", //续约率(金额/数量)
|
|
|
+ ConfirmedNoRenewalContractData: "确认不续约合同", //确认不续约合同(金额/数量)
|
|
|
+ SignedClientCount: "签约客户数量", //签约客户数量
|
|
|
+ AverageRevenueCount: "客单价", //客单价
|
|
|
+ InvoiceAmountCount: "开票金额", //开票金额
|
|
|
+ PaymentReceivedCount: "到款金额", //到款金额
|
|
|
+ UnpaidRatioCount: "未到款比例", //未到款比例
|
|
|
+ NewCustomerInvoicingCount: "新客开票", //新客开票
|
|
|
+ NewCustomerPaymentsReceivedCount: "新客到款", //新客到款
|
|
|
+ ConfirmNonRenewalRateData: "确认不续约率",
|
|
|
};
|