123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471 |
- export const monthLabel = [
- {
- label: "未来一个月",
- },
- {
- label: "未来2个月",
- },
- {
- label: "未来3个月",
- },
- ];
- /* 即将到期表格列 */
- export const expringTableColums = [
- {
- label: "客户名称",
- align: "center",
- key: "CompanyName",
- widthsty: "300px",
- textsty: "color:#409EFF;cursor:pointer;",
- link: true,
- },
- {
- label: "客户类型",
- align: "center",
- key: "ProductName",
- widthsty: "100px",
- },
- {
- label: "所属销售",
- align: "center",
- key: "SellerName",
- },
- // {
- // label:"合同编号",
- // align:"center",
- // key:"ContractCode"
- // },
- // {
- // label:"合同金额",
- // align:"center",
- // key:"Money"
- // },
- {
- label: "服务期限",
- align: "center",
- key: "",
- },
- {
- label: "剩余天数",
- align: "center",
- key: "ExpireDay",
- widthsty: "100px",
- sort: true,
- },
- ];
- /* 增量客户表格列 */
- export const incrementTableColums = [
- {
- label: "客户名称",
- key: "CompanyName",
- widthsty: "300px",
- textsty: "color:#409EFF;cursor:pointer;",
- link: true,
- },
- {
- label: "不续约归因",
- key: "AscribeContent",
- dataType: "未续约客户",
- notRenewedConfirm: 1,
- sort: true,
- },
- {
- label: "客户状态",
- key: "Status",
- dataType: "未续约客户",
- sort: true,
- },
- {
- label: "所属销售",
- key: "SellerName",
- widthsty: "150px",
- },
- {
- label: "新增时间",
- key: "CreateTime",
- dataType: "新增试用客户",
- sort: true,
- },
- {
- label: "合同金额",
- key: "Money",
- dataType: "新签客户",
- sort: true,
- },
- {
- label: "签约时间",
- key: "StartDate",
- dataType: "新签客户",
- sort: true,
- },
- {
- label: "合同金额",
- key: "Money",
- dataType: "续约客户",
- sort: true,
- },
- {
- label: "续约时间",
- key: "StartDate",
- dataType: "续约客户",
- sort: true,
- },
- {
- label: "最近合同到期时间",
- key: "EndDate",
- dataType: "未续约客户",
- sort: true,
- },
- {
- label: "备注",
- key: "Remark",
- dataType: "未续约客户",
- widthsty: "100px",
- sort: true,
- },
- {
- label: "未续约说明",
- key: "RenewalReason",
- dataType: "未续约客户",
- widthsty: "300px",
- sort: true,
- },
- ];
- export const stockTableColums = [
- {
- label: "客户名称",
- key: "CompanyName",
- widthsty: "300px",
- textsty: "color:#409EFF;cursor:pointer;",
- link: true,
- },
- {
- label: "客户类型",
- key: "ProductName",
- widthsty: "100px",
- },
- {
- label: "不续约归因",
- key: "AscribeContent",
- dataType: "未续约客户",
- notRenewedConfirm: 1,
- sort: true,
- },
- {
- label: "客户状态",
- key: "Status",
- dataType: "未续约客户",
- },
- {
- label: "所属销售",
- key: "SellerName",
- widthsty: "150px",
- },
- {
- label: "服务期限",
- dataType: "新签客户,续约客户",
- },
- {
- label: "剩余天数",
- key: "ExpireDay",
- widthsty: "150px",
- dataType: "新签客户,续约客户",
- },
- {
- label: "最近合同到期时间",
- key: "EndDate",
- dataType: "未续约客户",
- },
- {
- label: "备注",
- key: "Remark",
- dataType: "未续约客户",
- widthsty: "100px",
- sort: true,
- },
- {
- label: "未续约说明",
- key: "RenewalReason",
- dataType: "未续约客户",
- widthsty: "300px",
- },
- {
- label: "超出到期时间(天)",
- key: "ExpireDay",
- widthsty: "150px",
- dataType: "未续约客户",
- },
- ];
- /* 存量客户表格列 */
- export const RaiStockTableColums = [
- {
- label: "客户名称",
- key: "CompanyName",
- widthsty: "300px",
- textsty: "color:#409EFF;cursor:pointer;",
- link: true,
- },
- {
- label: "不续约归因",
- key: "AscribeContent",
- dataType: "未续约客户",
- notRenewedConfirm: 1,
- sort: true,
- },
- {
- label: "客户状态",
- key: "Status",
- dataType: "未续约客户",
- },
- {
- label: "所属销售",
- key: "SellerName",
- widthsty: "150px",
- },
- {
- label: "服务销售",
- key: "ShareSeller",
- dataType: "新签客户,续约客户",
- },
- {
- label: "合同期限",
- dataType: "新签客户,续约客户",
- key: "StartDate"
- },
- {
- label: "合同金额",
- dataType: "新签客户,续约客户",
- key: "Money",
- },
- {
- label: "签约套餐",
- dataType: "新签客户,续约客户",
- key: "PermissionName",
- },
- {
- label: "最近合同到期时间",
- key: "EndDate",
- dataType: "未续约客户",
- },
- {
- label: "备注",
- key: "Remark",
- dataType: "未续约客户",
- widthsty: "100px",
- sort: true,
- },
- {
- label: "未续约说明",
- key: "RenewalReason",
- dataType: "未续约客户",
- widthsty: "300px",
- },
- {
- label: "超出到期时间(天)",
- key: "ExpireDay",
- widthsty: "150px",
- dataType: "未续约客户",
- },
- ];
- /* 合同列表表格列 */
- export const contractTableColums = [
- {
- label: "客户名称",
- key: "CompanyName",
- widthsty: "300px",
- textsty: "color:#409EFF;cursor:pointer;",
- link: true,
- },
- {
- label: "客户类型",
- key: "ProductName",
- widthsty: "100px",
- },
- {
- label: "所属销售",
- key: "SellerName",
- widthsty: "150px",
- },
- {
- label: "有效合同数",
- key: "Count",
- widthsty: "150px",
- dataType: "有效合同总数,有效合同总金额,正式客户数",
- },
- {
- label: "有效合同总金额",
- key: "SumMoney",
- widthsty: "150px",
- dataType: "有效合同总数,有效合同总金额,正式客户数",
- },
- {
- label: "生成方式",
- key: "Source",
- widthsty: "150px",
- dataType: "系统合同/上传附件",
- },
- {
- label: "提交时间",
- key: "CreateTime",
- widthsty: "180px",
- dataType: "系统合同/上传附件",
- },
- {
- label: "操作",
- textsty: "color:#409EFF;cursor:pointer;",
- action: {
- name: "合同详情",
- },
- },
- ];
- /* 收入列表表格列 */
- export const incomeTableColums = [
- {
- label: "合同编号",
- key: "ContractCode",
- },
- {
- label: "客户名称",
- key: "CompanyName",
- widthsty: "200px",
- textsty: "color:#409EFF;cursor:pointer;",
- link: true,
- },
- {
- label: "客户类型",
- key: "ProductName",
- },
- {
- label: "所属销售",
- key: "SellerName",
- },
- {
- label: "合同金额",
- key: "Money",
- },
- {
- label: "付款方式",
- key: "PayMethod",
- },
- {
- label: "付款渠道",
- key: "PayChannel",
- },
- {
- label: "服务期限",
- widthsty: "200px",
- },
- {
- label: "操作",
- textsty: "color:#409EFF;cursor:pointer;",
- action: {
- name: "合同详情",
- },
- },
- ];
- /* 权益客户统计表格列 */
- export const equityTableColums = (type) => {
- return type === "新签客户" || type === "续约客户"
- ? [
- {
- label: "客户名称",
- key: "CompanyName",
- widthsty: "300px",
- textsty: "color:#409EFF;cursor:pointer;",
- link: true,
- },
- {
- label: "所属销售",
- key: "SellerName",
- widthsty: "150px",
- },
- {
- label: "服务销售",
- key: "ShareSeller",
- widthsty: "150px",
- },
- {
- label: "合同期限",
- align: "center",
- key: "StartDate",
- },
- {
- label: "合同金额",
- key: "Money",
- dataType: "新签客户",
- },
- {
- label: type === "新签客户" ? "签约套餐" : "续约套餐",
- align: "center",
- key: "PermissionName",
- },
- ]
- : type === "未续约客户"
- ? [
- {
- label: "客户名称",
- key: "CompanyName",
- widthsty: "300px",
- textsty: "color:#409EFF;cursor:pointer;",
- link: true,
- },
- {
- label: "客户状态",
- key: "Status",
- sort: true,
- },
- {
- label: "所属销售",
- key: "SellerName",
- widthsty: "150px",
- },
- {
- label: "服务销售",
- key: "ShareSeller ",
- widthsty: "150px",
- },
- {
- label: "合同期限",
- key: "StartDate",
- dataType: "未续约客户",
- sort: true,
- },
- {
- label: "签约套餐",
- align: "center",
- key: "PermissionName",
- },
- {
- label: "合同金额",
- key: "Money",
- dataType: "新签客户",
- },
- {
- label: "不续约归因",
- key: "AscribeContent",
- notRenewedConfirm: 1,
- sort: true,
- },
- ]
- : type === "新增试用客户"
- ? [ {
- label: "客户名称",
- key: "CompanyName",
- widthsty: "300px",
- textsty: "color:#409EFF;cursor:pointer;",
- link: true,
- },
- {
- label: "所属销售",
- key: "SellerName",
- widthsty: "150px",
- },
- {
- label: "新增时间",
- key: "CreateTime",
- }]
- :[];
- };
|