export const defalutModalForm = { taskName: "", //任务名称 priority: "", //优先级 taskType: 2, // 任务类型 customerId: null, // 客户id 0 businessId: null, //商机id 1 orderId: null, // 订单id 2 clueId: null, //线索id 3 contactsId: null, //联系人id executorId: null, //执行人id repeat: 0, //是否重复 repeatType: 0, //重复类型 endType: 1, //结束类型 repeatEndNever: 1, repeatEndCount: null, //重复指定次数次数后结束 repeatEndDate: null, //重复到指定日期后结束 repeatDesignDay: null, //自定义日期 repeatDesignSameday: null, //自定义周期 startDate: "", //开始日期 endDate: "", //截止日期 taskDesc: "", //任务描述 taskLogs: [], }; export const PRIORITY = [ //优先级 { label: "高", value: 0 }, { label: "中", value: 1 }, { label: "低", value: 2 }, ]; export const TASK_TYPE = [ // 弹窗任务类型 { label: "客户", value: 0, show: true }, { label: "商机", value: 1, show: true }, { label: "销售订单", value: 2, show: true }, { label: "线索", value: 3, show: false }, ]; export const TASK_TYPE_FIELD = [ { type: "0", field: "customerId", }, { type: "1", field: "businessId", }, { type: "2", field: "orderId", }, { type: "3", field: "clueId", }, ]; export const REPEAT_TYPE = [ { label: "每天", value: 0 }, { label: "每周", value: 1 }, { label: "每月", value: 2 }, { label: "自定义周期", value: 3 }, { label: "自定义日期", value: 4 }, ]; export const defaultGenerateFormData = { list: [], config: {}, }; export const CUSTOMER_FORM_URL = "/sys-form/getListByCode/tasks";