提交 c5c0e890 编写于 作者: ibizdev's avatar ibizdev

chitanda 发布系统代码

上级 d4ab5cfd
[ [
{ {
"srfkey": "List__CreatedFromCode",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "1",
"label": "Account",
"text": "Account",
"data":"",
"codename":"Item_1",
"value": "1",
"disabled": false
}
, {
"id": "2",
"label": "Contact",
"text": "Contact",
"data":"",
"codename":"Item_2",
"value": "2",
"disabled": false
}
, {
"id": "4",
"label": "Lead",
"text": "Lead",
"data":"",
"codename":"Item_4",
"value": "4",
"disabled": false
}
]
},
{
"srfkey": "Campaignactivity__ChannelTypeCode", "srfkey": "Campaignactivity__ChannelTypeCode",
"emptytext": "未定义", "emptytext": "未定义",
"codelisttype":"static", "codelisttype":"static",
...@@ -124,32 +161,14 @@ ...@@ -124,32 +161,14 @@
] ]
}, },
{ {
"srfkey": "SysOperator", "srfkey": "Contact__PaymentTermsCode",
"emptytext": "未定义",
"codelisttype":"dynamic",
"appdataentity":"",
"appdedataset":"",
"items": []
},
{
"srfkey": "Account__OwnershipCode",
"emptytext": "未定义", "emptytext": "未定义",
"codelisttype":"static", "codelisttype":"static",
"items": [ "items": [
{ {
"id": "4",
"label": "Other",
"text": "Other",
"data":"",
"codename":"Item_4",
"value": "4",
"disabled": false
}
, {
"id": "2", "id": "2",
"label": "Private", "label": "2% 10, Net 30",
"text": "Private", "text": "2% 10, Net 30",
"data":"", "data":"",
"codename":"Item_2", "codename":"Item_2",
"value": "2", "value": "2",
...@@ -158,8 +177,8 @@ ...@@ -158,8 +177,8 @@
} }
, { , {
"id": "1", "id": "1",
"label": "Public", "label": "Net 30",
"text": "Public", "text": "Net 30",
"data":"", "data":"",
"codename":"Item_1", "codename":"Item_1",
"value": "1", "value": "1",
...@@ -168,62 +187,192 @@ ...@@ -168,62 +187,192 @@
} }
, { , {
"id": "3", "id": "3",
"label": "Subsidiary", "label": "Net 45",
"text": "Subsidiary", "text": "Net 45",
"data":"", "data":"",
"codename":"Item_3", "codename":"Item_3",
"value": "3", "value": "3",
"disabled": false
}
, {
"id": "4",
"label": "Net 60",
"text": "Net 60",
"data":"",
"codename":"Item_4",
"value": "4",
"disabled": false "disabled": false
} }
] ]
}, },
{ {
"srfkey": "Contact__ShippingMethodCode", "srfkey": "Account__Address1_ShippingMethodCode",
"emptytext": "未定义", "emptytext": "未定义",
"codelisttype":"static", "codelisttype":"static",
"items": [ "items": [
{ {
"id": "1", "id": "1",
"label": "Default Value", "label": "Airborne",
"text": "Default Value", "text": "Airborne",
"data":"", "data":"",
"codename":"Item_1", "codename":"Item_1",
"value": "1", "value": "1",
"disabled": false
}
, {
"id": "2",
"label": "DHL",
"text": "DHL",
"data":"",
"codename":"Item_2",
"value": "2",
"disabled": false
}
, {
"id": "3",
"label": "FedEx",
"text": "FedEx",
"data":"",
"codename":"Item_3",
"value": "3",
"disabled": false
}
, {
"id": "6",
"label": "Full Load",
"text": "Full Load",
"data":"",
"codename":"Item_6",
"value": "6",
"disabled": false
}
, {
"id": "5",
"label": "Postal Mail",
"text": "Postal Mail",
"data":"",
"codename":"Item_5",
"value": "5",
"disabled": false
}
, {
"id": "4",
"label": "UPS",
"text": "UPS",
"data":"",
"codename":"Item_4",
"value": "4",
"disabled": false
}
, {
"id": "7",
"label": "Will Call",
"text": "Will Call",
"data":"",
"codename":"Item_7",
"value": "7",
"disabled": false "disabled": false
} }
] ]
}, },
{ {
"srfkey": "YesNo", "srfkey": "ActivityTypeCode",
"emptytext": "未定义", "emptytext": "未定义",
"codelisttype":"static", "codelisttype":"static",
"items": [ "items": [
{ {
"id": "1", "id": "TASK",
"label": "", "label": "任务",
"text": "", "text": "任务",
"data":"", "data":{"N_ACTIVITYTYPECODE_EQ":"TASK"},
"codename":"Item_1", "codename":"Task",
"value": 1, "value": "TASK",
"disabled": false "disabled": false
} }
, { , {
"id": "0", "id": "EMAIL",
"label": "否", "label": "电子邮件",
"text": "否", "text": "电子邮件",
"data":{"N_ACTIVITYTYPECODE_EQ":"EMAIL"},
"codename":"Email",
"value": "EMAIL",
"disabled": false
}
, {
"id": "APPOINTMENT",
"label": "约会",
"text": "约会",
"data":{"N_ACTIVITYTYPECODE_EQ":"APPOINTMENT"},
"codename":"Appointment",
"value": "APPOINTMENT",
"disabled": false
}
, {
"id": "PHONECALL",
"label": "电话联络",
"text": "电话联络",
"data":{"N_ACTIVITYTYPECODE_EQ":"PHONECALL"},
"codename":"Phonecall",
"value": "PHONECALL",
"disabled": false
}
, {
"id": "LETTER",
"label": "信件",
"text": "信件",
"data":{"N_ACTIVITYTYPECODE_EQ":"LETTER"},
"codename":"Letter",
"value": "LETTER",
"disabled": false
}
, {
"id": "FAX",
"label": "传真",
"text": "传真",
"data":"", "data":"",
"codename":"Item_0", "codename":"Fax",
"value": 0, "value": "FAX",
"disabled": false
}
, {
"id": "SERVICEAPPOINTMENT",
"label": "服务活动",
"text": "服务活动",
"data":{"N_ACTIVITYTYPECODE_EQ":"SERVICEAPPOINTMENT"},
"codename":"Serviceappointment",
"value": "SERVICEAPPOINTMENT",
"disabled": false
}
, {
"id": "CAMPAIGNRESPONSE",
"label": "市场活动响应",
"text": "市场活动响应",
"data":{"N_ACTIVITYTYPECODE_EQ":"CAMPAIGNRESPONSE"},
"codename":"Campaignresponse",
"value": "CAMPAIGNRESPONSE",
"disabled": false "disabled": false
} }
] ]
}, },
{ {
"srfkey": "Task__PriorityCode", "srfkey": "Activitypointer__PriorityCode",
"emptytext": "未定义", "emptytext": "未定义",
"codelisttype":"static", "codelisttype":"static",
"items": [ "items": [
...@@ -260,34 +409,14 @@ ...@@ -260,34 +409,14 @@
] ]
}, },
{ {
"srfkey": "Contact__FamilyStatusCode", "srfkey": "Campaign__TypeCode",
"emptytext": "未定义", "emptytext": "未定义",
"codelisttype":"static", "codelisttype":"static",
"items": [ "items": [
{ {
"id": "3",
"label": "Divorced",
"text": "Divorced",
"data":"",
"codename":"Item_3",
"value": "3",
"disabled": false
}
, {
"id": "2",
"label": "Married",
"text": "Married",
"data":"",
"codename":"Item_2",
"value": "2",
"disabled": false
}
, {
"id": "1", "id": "1",
"label": "Single", "label": "Advertisement",
"text": "Single", "text": "Advertisement",
"data":"", "data":"",
"codename":"Item_1", "codename":"Item_1",
"value": "1", "value": "1",
...@@ -296,35 +425,18 @@ ...@@ -296,35 +425,18 @@
} }
, { , {
"id": "4", "id": "4",
"label": "Widowed", "label": "Co-branding",
"text": "Widowed", "text": "Co-branding",
"data":"", "data":"",
"codename":"Item_4", "codename":"Item_4",
"value": "4", "value": "4",
"disabled": false
}
]
},
{
"srfkey": "Account__CustomerTypeCode",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "1",
"label": "Competitor",
"text": "Competitor",
"data":"",
"codename":"Item_1",
"value": "1",
"disabled": false "disabled": false
} }
, { , {
"id": "2", "id": "2",
"label": "Consultant", "label": "Direct Marketing",
"text": "Consultant", "text": "Direct Marketing",
"data":"", "data":"",
"codename":"Item_2", "codename":"Item_2",
"value": "2", "value": "2",
...@@ -333,8 +445,8 @@ ...@@ -333,8 +445,8 @@
} }
, { , {
"id": "3", "id": "3",
"label": "Customer", "label": "Event",
"text": "Customer", "text": "Event",
"data":"", "data":"",
"codename":"Item_3", "codename":"Item_3",
"value": "3", "value": "3",
...@@ -342,106 +454,53 @@ ...@@ -342,106 +454,53 @@
"disabled": false "disabled": false
} }
, { , {
"id": "6", "id": "5",
"label": "Influencer",
"text": "Influencer",
"data":"",
"codename":"Item_6",
"value": "6",
"disabled": false
}
, {
"id": "4",
"label": "Investor",
"text": "Investor",
"data":"",
"codename":"Item_4",
"value": "4",
"disabled": false
}
, {
"id": "12",
"label": "Other", "label": "Other",
"text": "Other", "text": "Other",
"data":"", "data":"",
"codename":"Item_12",
"value": "12",
"disabled": false
}
, {
"id": "5",
"label": "Partner",
"text": "Partner",
"data":"",
"codename":"Item_5", "codename":"Item_5",
"value": "5", "value": "5",
"disabled": false "disabled": false
} }
, { ]
"id": "7", },
"label": "Press", {
"text": "Press", "srfkey": "Account__Address1_FreightTermsCode",
"data":"", "emptytext": "未定义",
"codename":"Item_7", "codelisttype":"static",
"value": "7", "items": [
{
"disabled": false "id": "1",
} "label": "FOB",
, { "text": "FOB",
"id": "8",
"label": "Prospect",
"text": "Prospect",
"data":"",
"codename":"Item_8",
"value": "8",
"disabled": false
}
, {
"id": "9",
"label": "Reseller",
"text": "Reseller",
"data":"",
"codename":"Item_9",
"value": "9",
"disabled": false
}
, {
"id": "10",
"label": "Supplier",
"text": "Supplier",
"data":"", "data":"",
"codename":"Item_10", "codename":"Item_1",
"value": "10", "value": "1",
"disabled": false "disabled": false
} }
, { , {
"id": "11", "id": "2",
"label": "Vendor", "label": "No Charge",
"text": "Vendor", "text": "No Charge",
"data":"", "data":"",
"codename":"Item_11", "codename":"Item_2",
"value": "11", "value": "2",
"disabled": false "disabled": false
} }
] ]
}, },
{ {
"srfkey": "Account__Address1_AddressTypeCode", "srfkey": "Lead__LeadSourceCode",
"emptytext": "未定义", "emptytext": "未定义",
"codelisttype":"static", "codelisttype":"static",
"items": [ "items": [
{ {
"id": "1", "id": "1",
"label": "Bill To", "label": "Advertisement",
"text": "Bill To", "text": "Advertisement",
"data":"", "data":"",
"codename":"Item_1", "codename":"Item_1",
"value": "1", "value": "1",
...@@ -449,19 +508,19 @@ ...@@ -449,19 +508,19 @@
"disabled": false "disabled": false
} }
, { , {
"id": "4", "id": "2",
"label": "Other", "label": "Employee Referral",
"text": "Other", "text": "Employee Referral",
"data":"", "data":"",
"codename":"Item_4", "codename":"Item_2",
"value": "4", "value": "2",
"disabled": false "disabled": false
} }
, { , {
"id": "3", "id": "3",
"label": "Primary", "label": "External Referral",
"text": "Primary", "text": "External Referral",
"data":"", "data":"",
"codename":"Item_3", "codename":"Item_3",
"value": "3", "value": "3",
...@@ -469,73 +528,86 @@ ...@@ -469,73 +528,86 @@
"disabled": false "disabled": false
} }
, { , {
"id": "2", "id": "10",
"label": "Ship To", "label": "Other",
"text": "Ship To", "text": "Other",
"data":"", "data":"",
"codename":"Item_2", "codename":"Item_10",
"value": "2", "value": "10",
"disabled": false "disabled": false
} }
] , {
}, "id": "4",
{ "label": "Partner",
"srfkey": "Contact__PaymentTermsCode", "text": "Partner",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "2",
"label": "2% 10, Net 30",
"text": "2% 10, Net 30",
"data":"", "data":"",
"codename":"Item_2", "codename":"Item_4",
"value": "2", "value": "4",
"disabled": false "disabled": false
} }
, { , {
"id": "1", "id": "5",
"label": "Net 30", "label": "Public Relations",
"text": "Net 30", "text": "Public Relations",
"data":"", "data":"",
"codename":"Item_1", "codename":"Item_5",
"value": "1", "value": "5",
"disabled": false "disabled": false
} }
, { , {
"id": "3", "id": "6",
"label": "Net 45", "label": "Seminar",
"text": "Net 45", "text": "Seminar",
"data":"", "data":"",
"codename":"Item_3", "codename":"Item_6",
"value": "3", "value": "6",
"disabled": false "disabled": false
} }
, { , {
"id": "4", "id": "7",
"label": "Net 60", "label": "Trade Show",
"text": "Net 60", "text": "Trade Show",
"data":"", "data":"",
"codename":"Item_4", "codename":"Item_7",
"value": "4", "value": "7",
"disabled": false
}
, {
"id": "8",
"label": "Web",
"text": "Web",
"data":"",
"codename":"Item_8",
"value": "8",
"disabled": false
}
, {
"id": "9",
"label": "Word of Mouth",
"text": "Word of Mouth",
"data":"",
"codename":"Item_9",
"value": "9",
"disabled": false "disabled": false
} }
] ]
}, },
{ {
"srfkey": "Account__Address1_ShippingMethodCode", "srfkey": "Account__IndustryCode",
"emptytext": "未定义", "emptytext": "未定义",
"codelisttype":"static", "codelisttype":"static",
"items": [ "items": [
{ {
"id": "1", "id": "1",
"label": "Airborne", "label": "Accounting",
"text": "Airborne", "text": "Accounting",
"data":"", "data":"",
"codename":"Item_1", "codename":"Item_1",
"value": "1", "value": "1",
...@@ -544,8 +616,8 @@ ...@@ -544,8 +616,8 @@
} }
, { , {
"id": "2", "id": "2",
"label": "DHL", "label": "Agriculture and Non-petrol Natural Resource Extraction",
"text": "DHL", "text": "Agriculture and Non-petrol Natural Resource Extraction",
"data":"", "data":"",
"codename":"Item_2", "codename":"Item_2",
"value": "2", "value": "2",
...@@ -554,8 +626,8 @@ ...@@ -554,8 +626,8 @@
} }
, { , {
"id": "3", "id": "3",
"label": "FedEx", "label": "Broadcasting Printing and Publishing",
"text": "FedEx", "text": "Broadcasting Printing and Publishing",
"data":"", "data":"",
"codename":"Item_3", "codename":"Item_3",
"value": "3", "value": "3",
...@@ -563,19 +635,19 @@ ...@@ -563,19 +635,19 @@
"disabled": false "disabled": false
} }
, { , {
"id": "6", "id": "4",
"label": "Full Load", "label": "Brokers",
"text": "Full Load", "text": "Brokers",
"data":"", "data":"",
"codename":"Item_6", "codename":"Item_4",
"value": "6", "value": "4",
"disabled": false "disabled": false
} }
, { , {
"id": "5", "id": "5",
"label": "Postal Mail", "label": "Building Supply Retail",
"text": "Postal Mail", "text": "Building Supply Retail",
"data":"", "data":"",
"codename":"Item_5", "codename":"Item_5",
"value": "5", "value": "5",
...@@ -583,297 +655,289 @@ ...@@ -583,297 +655,289 @@
"disabled": false "disabled": false
} }
, { , {
"id": "4", "id": "6",
"label": "UPS", "label": "Business Services",
"text": "UPS", "text": "Business Services",
"data":"", "data":"",
"codename":"Item_4", "codename":"Item_6",
"value": "4", "value": "6",
"disabled": false "disabled": false
} }
, { , {
"id": "7", "id": "7",
"label": "Will Call", "label": "Consulting",
"text": "Will Call", "text": "Consulting",
"data":"", "data":"",
"codename":"Item_7", "codename":"Item_7",
"value": "7", "value": "7",
"disabled": false "disabled": false
} }
] , {
}, "id": "8",
{ "label": "Consumer Services",
"srfkey": "Product__ProductTypeCode", "text": "Consumer Services",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "4",
"label": "Flat Fees",
"text": "Flat Fees",
"data":"", "data":"",
"codename":"Item_4", "codename":"Item_8",
"value": "4", "value": "8",
"disabled": false "disabled": false
} }
, { , {
"id": "2", "id": "9",
"label": "Miscellaneous Charges", "label": "Design, Direction and Creative Management",
"text": "Miscellaneous Charges", "text": "Design, Direction and Creative Management",
"data":"", "data":"",
"codename":"Item_2", "codename":"Item_9",
"value": "2", "value": "9",
"disabled": false "disabled": false
} }
, { , {
"id": "1", "id": "10",
"label": "Sales Inventory", "label": "Distributors, Dispatchers and Processors",
"text": "Sales Inventory", "text": "Distributors, Dispatchers and Processors",
"data":"", "data":"",
"codename":"Item_1", "codename":"Item_10",
"value": "1", "value": "10",
"disabled": false "disabled": false
} }
, { , {
"id": "3", "id": "11",
"label": "Services", "label": "Doctors Offices and Clinics",
"text": "Services", "text": "Doctors Offices and Clinics",
"data":"", "data":"",
"codename":"Item_3", "codename":"Item_11",
"value": "3", "value": "11",
"disabled": false "disabled": false
} }
] , {
}, "id": "12",
{ "label": "Durable Manufacturing",
"srfkey": "ActivityTypeCode", "text": "Durable Manufacturing",
"emptytext": "未定义", "data":"",
"codelisttype":"static", "codename":"Item_12",
"items": [ "value": "12",
{
"id": "TASK",
"label": "任务",
"text": "任务",
"data":{"N_ACTIVITYTYPECODE_EQ":"TASK"},
"codename":"Task",
"value": "TASK",
"disabled": false "disabled": false
} }
, { , {
"id": "EMAIL", "id": "13",
"label": "电子邮件", "label": "Eating and Drinking Places",
"text": "电子邮件", "text": "Eating and Drinking Places",
"data":{"N_ACTIVITYTYPECODE_EQ":"EMAIL"}, "data":"",
"codename":"Email", "codename":"Item_13",
"value": "EMAIL", "value": "13",
"disabled": false "disabled": false
} }
, { , {
"id": "APPOINTMENT", "id": "14",
"label": "约会", "label": "Entertainment Retail",
"text": "约会", "text": "Entertainment Retail",
"data":{"N_ACTIVITYTYPECODE_EQ":"APPOINTMENT"}, "data":"",
"codename":"Appointment", "codename":"Item_14",
"value": "APPOINTMENT", "value": "14",
"disabled": false "disabled": false
} }
, { , {
"id": "PHONECALL", "id": "15",
"label": "电话联络", "label": "Equipment Rental and Leasing",
"text": "电话联络", "text": "Equipment Rental and Leasing",
"data":{"N_ACTIVITYTYPECODE_EQ":"PHONECALL"}, "data":"",
"codename":"Phonecall", "codename":"Item_15",
"value": "PHONECALL", "value": "15",
"disabled": false "disabled": false
} }
, { , {
"id": "LETTER", "id": "16",
"label": "信件", "label": "Financial",
"text": "信件", "text": "Financial",
"data":{"N_ACTIVITYTYPECODE_EQ":"LETTER"}, "data":"",
"codename":"Letter", "codename":"Item_16",
"value": "LETTER", "value": "16",
"disabled": false "disabled": false
} }
, { , {
"id": "FAX", "id": "17",
"label": "传真", "label": "Food and Tobacco Processing",
"text": "传真", "text": "Food and Tobacco Processing",
"data":"", "data":"",
"codename":"Fax", "codename":"Item_17",
"value": "FAX", "value": "17",
"disabled": false "disabled": false
} }
, { , {
"id": "SERVICEAPPOINTMENT", "id": "18",
"label": "服务活动", "label": "Inbound Capital Intensive Processing",
"text": "服务活动", "text": "Inbound Capital Intensive Processing",
"data":{"N_ACTIVITYTYPECODE_EQ":"SERVICEAPPOINTMENT"}, "data":"",
"codename":"Serviceappointment", "codename":"Item_18",
"value": "SERVICEAPPOINTMENT", "value": "18",
"disabled": false "disabled": false
} }
, { , {
"id": "CAMPAIGNRESPONSE", "id": "19",
"label": "市场活动响应", "label": "Inbound Repair and Services",
"text": "市场活动响应", "text": "Inbound Repair and Services",
"data":{"N_ACTIVITYTYPECODE_EQ":"CAMPAIGNRESPONSE"}, "data":"",
"codename":"Campaignresponse", "codename":"Item_19",
"value": "CAMPAIGNRESPONSE", "value": "19",
"disabled": false "disabled": false
} }
] , {
}, "id": "20",
{ "label": "Insurance",
"srfkey": "Contact__GenderCode", "text": "Insurance",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "2",
"label": "Female",
"text": "Female",
"data":"", "data":"",
"codename":"Item_2", "codename":"Item_20",
"value": "2", "value": "20",
"disabled": false "disabled": false
} }
, { , {
"id": "1", "id": "21",
"label": "Male", "label": "Legal Services",
"text": "Male", "text": "Legal Services",
"data":"", "data":"",
"codename":"Item_1", "codename":"Item_21",
"value": "1", "value": "21",
"disabled": false "disabled": false
} }
] , {
}, "id": "22",
{ "label": "Non-Durable Merchandise Retail",
"srfkey": "FQG_ActivityPointer", "text": "Non-Durable Merchandise Retail",
"emptytext": "未定义", "data":"",
"codelisttype":"static", "codename":"Item_22",
"items": [ "value": "22",
{
"id": "ALL",
"label": "全部活动",
"text": "全部活动",
"data":{},
"codename":"All",
"value": "ALL",
"disabled": false "disabled": false
} }
, { , {
"id": "TASK", "id": "23",
"label": "任务", "label": "Outbound Consumer Service",
"text": "任务", "text": "Outbound Consumer Service",
"data":{"n_activitytypecode_eq":"TASK"}, "data":"",
"codename":"Task", "codename":"Item_23",
"value": "TASK", "value": "23",
"disabled": false "disabled": false
} }
, { , {
"id": "EMAIL", "id": "24",
"label": "电子邮件", "label": "Petrochemical Extraction and Distribution",
"text": "电子邮件", "text": "Petrochemical Extraction and Distribution",
"data":{"n_activitytypecode_eq":"EMAIL"}, "data":"",
"codename":"Email", "codename":"Item_24",
"value": "EMAIL", "value": "24",
"disabled": false "disabled": false
} }
, { , {
"id": "APPOINTMENT", "id": "25",
"label": "约会", "label": "Service Retail",
"text": "约会", "text": "Service Retail",
"data":{"n_activitytypecode_eq":"APPOINTMENT"}, "data":"",
"codename":"Appointment", "codename":"Item_25",
"value": "APPOINTMENT", "value": "25",
"disabled": false "disabled": false
} }
, { , {
"id": "PHONECALL", "id": "26",
"label": "电话联络", "label": "SIG Affiliations",
"text": "电话联络", "text": "SIG Affiliations",
"data":{"n_activitytypecode_eq":"PHONECALL"}, "data":"",
"codename":"Phonecall", "codename":"Item_26",
"value": "PHONECALL", "value": "26",
"disabled": false "disabled": false
} }
, { , {
"id": "OTHER", "id": "27",
"label": "其他", "label": "Social Services",
"text": "其他", "text": "Social Services",
"data":"", "data":"",
"codename":"Other", "codename":"Item_27",
"value": "OTHER", "value": "27",
"disabled": false "disabled": false
} }
, { , {
"id": "LETTER", "id": "28",
"label": "信件", "label": "Special Outbound Trade Contractors",
"text": "信件", "text": "Special Outbound Trade Contractors",
"data":{"n_activitytypecode_eq":"LETTER"}, "data":"",
"codename":"Letter", "codename":"Item_28",
"value": "LETTER", "value": "28",
"pvalue": "OTHER",
"disabled": false "disabled": false
} }
, { , {
"id": "FAX", "id": "29",
"label": "传真", "label": "Specialty Realty",
"text": "传真", "text": "Specialty Realty",
"data":"", "data":"",
"codename":"Fax", "codename":"Item_29",
"value": "FAX", "value": "29",
"pvalue": "OTHER",
"disabled": false "disabled": false
} }
, { , {
"id": "SERVICEAPPOINTMENT", "id": "30",
"label": "服务活动", "label": "Transportation",
"text": "服务活动", "text": "Transportation",
"data":{"n_activitytypecode_eq":"SERVICEAPPOINTMENT"}, "data":"",
"codename":"Serviceappointment", "codename":"Item_30",
"value": "SERVICEAPPOINTMENT", "value": "30",
"pvalue": "OTHER",
"disabled": false "disabled": false
} }
, { , {
"id": "CAMPAIGNRESPONSE", "id": "31",
"label": "市场活动响应", "label": "Utility Creation and Distribution",
"text": "市场活动响应", "text": "Utility Creation and Distribution",
"data":{"n_activitytypecode_eq":"CAMPAIGNRESPONSE"}, "data":"",
"codename":"Campaignresponse", "codename":"Item_31",
"value": "CAMPAIGNRESPONSE", "value": "31",
"pvalue": "OTHER",
"disabled": false
}
, {
"id": "32",
"label": "Vehicle Retail",
"text": "Vehicle Retail",
"data":"",
"codename":"Item_32",
"value": "32",
"disabled": false
}
, {
"id": "33",
"label": "Wholesale",
"text": "Wholesale",
"data":"",
"codename":"Item_33",
"value": "33",
"disabled": false "disabled": false
} }
] ]
}, },
{ {
"srfkey": "Activitypointer__PriorityCode", "srfkey": "Phonecall__PriorityCode",
"emptytext": "未定义", "emptytext": "未定义",
"codelisttype":"static", "codelisttype":"static",
"items": [ "items": [
...@@ -910,24 +974,22 @@ ...@@ -910,24 +974,22 @@
] ]
}, },
{ {
"srfkey": "Campaign__TypeCode", "srfkey": "SysOperator",
"emptytext": "未定义",
"codelisttype":"dynamic",
"appdataentity":"",
"appdedataset":"",
"items": []
},
{
"srfkey": "Account__OwnershipCode",
"emptytext": "未定义", "emptytext": "未定义",
"codelisttype":"static", "codelisttype":"static",
"items": [ "items": [
{ {
"id": "1",
"label": "Advertisement",
"text": "Advertisement",
"data":"",
"codename":"Item_1",
"value": "1",
"disabled": false
}
, {
"id": "4", "id": "4",
"label": "Co-branding", "label": "Other",
"text": "Co-branding", "text": "Other",
"data":"", "data":"",
"codename":"Item_4", "codename":"Item_4",
"value": "4", "value": "4",
...@@ -936,82 +998,89 @@ ...@@ -936,82 +998,89 @@
} }
, { , {
"id": "2", "id": "2",
"label": "Direct Marketing", "label": "Private",
"text": "Direct Marketing", "text": "Private",
"data":"", "data":"",
"codename":"Item_2", "codename":"Item_2",
"value": "2", "value": "2",
"disabled": false "disabled": false
} }
, {
"id": "1",
"label": "Public",
"text": "Public",
"data":"",
"codename":"Item_1",
"value": "1",
"disabled": false
}
, { , {
"id": "3", "id": "3",
"label": "Event", "label": "Subsidiary",
"text": "Event", "text": "Subsidiary",
"data":"", "data":"",
"codename":"Item_3", "codename":"Item_3",
"value": "3", "value": "3",
"disabled": false "disabled": false
} }
, { ]
"id": "5", },
"label": "Other", {
"text": "Other", "srfkey": "Contact__ShippingMethodCode",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "1",
"label": "Default Value",
"text": "Default Value",
"data":"", "data":"",
"codename":"Item_5", "codename":"Item_1",
"value": "5", "value": "1",
"disabled": false "disabled": false
} }
] ]
}, },
{ {
"srfkey": "Account__Address1_FreightTermsCode", "srfkey": "YesNo",
"emptytext": "未定义", "emptytext": "未定义",
"codelisttype":"static", "codelisttype":"static",
"items": [ "items": [
{ {
"id": "1", "id": "1",
"label": "FOB", "label": "",
"text": "FOB", "text": "",
"data":"", "data":"",
"codename":"Item_1", "codename":"Item_1",
"value": "1", "value": 1,
"disabled": false "disabled": false
} }
, { , {
"id": "2", "id": "0",
"label": "No Charge", "label": "",
"text": "No Charge", "text": "",
"data":"", "data":"",
"codename":"Item_2", "codename":"Item_0",
"value": "2", "value": 0,
"disabled": false "disabled": false
} }
] ]
}, },
{ {
"srfkey": "Lead__LeadSourceCode", "srfkey": "Task__PriorityCode",
"emptytext": "未定义", "emptytext": "未定义",
"codelisttype":"static", "codelisttype":"static",
"items": [ "items": [
{ {
"id": "1",
"label": "Advertisement",
"text": "Advertisement",
"data":"",
"codename":"Item_1",
"value": "1",
"disabled": false
}
, {
"id": "2", "id": "2",
"label": "Employee Referral", "label": "High",
"text": "Employee Referral", "text": "High",
"data":"", "data":"",
"codename":"Item_2", "codename":"Item_2",
"value": "2", "value": "2",
...@@ -1019,96 +1088,83 @@ ...@@ -1019,96 +1088,83 @@
"disabled": false "disabled": false
} }
, { , {
"id": "3", "id": "0",
"label": "External Referral", "label": "Low",
"text": "External Referral", "text": "Low",
"data":"",
"codename":"Item_3",
"value": "3",
"disabled": false
}
, {
"id": "10",
"label": "Other",
"text": "Other",
"data":"",
"codename":"Item_10",
"value": "10",
"disabled": false
}
, {
"id": "4",
"label": "Partner",
"text": "Partner",
"data":"", "data":"",
"codename":"Item_4", "codename":"Item_0",
"value": "4", "value": "0",
"disabled": false "disabled": false
} }
, { , {
"id": "5", "id": "1",
"label": "Public Relations", "label": "Normal",
"text": "Public Relations", "text": "Normal",
"data":"", "data":"",
"codename":"Item_5", "codename":"Item_1",
"value": "5", "value": "1",
"disabled": false "disabled": false
} }
, { ]
"id": "6", },
"label": "Seminar", {
"text": "Seminar", "srfkey": "Contact__FamilyStatusCode",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "3",
"label": "Divorced",
"text": "Divorced",
"data":"", "data":"",
"codename":"Item_6", "codename":"Item_3",
"value": "6", "value": "3",
"disabled": false "disabled": false
} }
, { , {
"id": "7", "id": "2",
"label": "Trade Show", "label": "Married",
"text": "Trade Show", "text": "Married",
"data":"", "data":"",
"codename":"Item_7", "codename":"Item_2",
"value": "7", "value": "2",
"disabled": false "disabled": false
} }
, { , {
"id": "8", "id": "1",
"label": "Web", "label": "Single",
"text": "Web", "text": "Single",
"data":"", "data":"",
"codename":"Item_8", "codename":"Item_1",
"value": "8", "value": "1",
"disabled": false "disabled": false
} }
, { , {
"id": "9", "id": "4",
"label": "Word of Mouth", "label": "Widowed",
"text": "Word of Mouth", "text": "Widowed",
"data":"", "data":"",
"codename":"Item_9", "codename":"Item_4",
"value": "9", "value": "4",
"disabled": false "disabled": false
} }
] ]
}, },
{ {
"srfkey": "Account__IndustryCode", "srfkey": "Account__CustomerTypeCode",
"emptytext": "未定义", "emptytext": "未定义",
"codelisttype":"static", "codelisttype":"static",
"items": [ "items": [
{ {
"id": "1", "id": "1",
"label": "Accounting", "label": "Competitor",
"text": "Accounting", "text": "Competitor",
"data":"", "data":"",
"codename":"Item_1", "codename":"Item_1",
"value": "1", "value": "1",
...@@ -1117,8 +1173,8 @@ ...@@ -1117,8 +1173,8 @@
} }
, { , {
"id": "2", "id": "2",
"label": "Agriculture and Non-petrol Natural Resource Extraction", "label": "Consultant",
"text": "Agriculture and Non-petrol Natural Resource Extraction", "text": "Consultant",
"data":"", "data":"",
"codename":"Item_2", "codename":"Item_2",
"value": "2", "value": "2",
...@@ -1127,18 +1183,28 @@ ...@@ -1127,18 +1183,28 @@
} }
, { , {
"id": "3", "id": "3",
"label": "Broadcasting Printing and Publishing", "label": "Customer",
"text": "Broadcasting Printing and Publishing", "text": "Customer",
"data":"", "data":"",
"codename":"Item_3", "codename":"Item_3",
"value": "3", "value": "3",
"disabled": false "disabled": false
} }
, {
"id": "6",
"label": "Influencer",
"text": "Influencer",
"data":"",
"codename":"Item_6",
"value": "6",
"disabled": false
}
, { , {
"id": "4", "id": "4",
"label": "Brokers", "label": "Investor",
"text": "Brokers", "text": "Investor",
"data":"", "data":"",
"codename":"Item_4", "codename":"Item_4",
"value": "4", "value": "4",
...@@ -1146,29 +1212,29 @@ ...@@ -1146,29 +1212,29 @@
"disabled": false "disabled": false
} }
, { , {
"id": "5", "id": "12",
"label": "Building Supply Retail", "label": "Other",
"text": "Building Supply Retail", "text": "Other",
"data":"", "data":"",
"codename":"Item_5", "codename":"Item_12",
"value": "5", "value": "12",
"disabled": false "disabled": false
} }
, { , {
"id": "6", "id": "5",
"label": "Business Services", "label": "Partner",
"text": "Business Services", "text": "Partner",
"data":"", "data":"",
"codename":"Item_6", "codename":"Item_5",
"value": "6", "value": "5",
"disabled": false "disabled": false
} }
, { , {
"id": "7", "id": "7",
"label": "Consulting", "label": "Press",
"text": "Consulting", "text": "Press",
"data":"", "data":"",
"codename":"Item_7", "codename":"Item_7",
"value": "7", "value": "7",
...@@ -1177,8 +1243,8 @@ ...@@ -1177,8 +1243,8 @@
} }
, { , {
"id": "8", "id": "8",
"label": "Consumer Services", "label": "Prospect",
"text": "Consumer Services", "text": "Prospect",
"data":"", "data":"",
"codename":"Item_8", "codename":"Item_8",
"value": "8", "value": "8",
...@@ -1187,8 +1253,8 @@ ...@@ -1187,8 +1253,8 @@
} }
, { , {
"id": "9", "id": "9",
"label": "Design, Direction and Creative Management", "label": "Reseller",
"text": "Design, Direction and Creative Management", "text": "Reseller",
"data":"", "data":"",
"codename":"Item_9", "codename":"Item_9",
"value": "9", "value": "9",
...@@ -1197,8 +1263,8 @@ ...@@ -1197,8 +1263,8 @@
} }
, { , {
"id": "10", "id": "10",
"label": "Distributors, Dispatchers and Processors", "label": "Supplier",
"text": "Distributors, Dispatchers and Processors", "text": "Supplier",
"data":"", "data":"",
"codename":"Item_10", "codename":"Item_10",
"value": "10", "value": "10",
...@@ -1207,232 +1273,240 @@ ...@@ -1207,232 +1273,240 @@
} }
, { , {
"id": "11", "id": "11",
"label": "Doctors Offices and Clinics", "label": "Vendor",
"text": "Doctors Offices and Clinics", "text": "Vendor",
"data":"", "data":"",
"codename":"Item_11", "codename":"Item_11",
"value": "11", "value": "11",
"disabled": false "disabled": false
} }
, { ]
"id": "12", },
"label": "Durable Manufacturing", {
"text": "Durable Manufacturing", "srfkey": "Account__Address1_AddressTypeCode",
"data":"", "emptytext": "未定义",
"codename":"Item_12", "codelisttype":"static",
"value": "12", "items": [
{
"disabled": false "id": "1",
} "label": "Bill To",
, { "text": "Bill To",
"id": "13",
"label": "Eating and Drinking Places",
"text": "Eating and Drinking Places",
"data":"",
"codename":"Item_13",
"value": "13",
"disabled": false
}
, {
"id": "14",
"label": "Entertainment Retail",
"text": "Entertainment Retail",
"data":"",
"codename":"Item_14",
"value": "14",
"disabled": false
}
, {
"id": "15",
"label": "Equipment Rental and Leasing",
"text": "Equipment Rental and Leasing",
"data":"", "data":"",
"codename":"Item_15", "codename":"Item_1",
"value": "15", "value": "1",
"disabled": false "disabled": false
} }
, { , {
"id": "16", "id": "4",
"label": "Financial", "label": "Other",
"text": "Financial", "text": "Other",
"data":"", "data":"",
"codename":"Item_16", "codename":"Item_4",
"value": "16", "value": "4",
"disabled": false "disabled": false
} }
, { , {
"id": "17", "id": "3",
"label": "Food and Tobacco Processing", "label": "Primary",
"text": "Food and Tobacco Processing", "text": "Primary",
"data":"", "data":"",
"codename":"Item_17", "codename":"Item_3",
"value": "17", "value": "3",
"disabled": false "disabled": false
} }
, { , {
"id": "18", "id": "2",
"label": "Inbound Capital Intensive Processing", "label": "Ship To",
"text": "Inbound Capital Intensive Processing", "text": "Ship To",
"data":"", "data":"",
"codename":"Item_18", "codename":"Item_2",
"value": "18", "value": "2",
"disabled": false "disabled": false
} }
, { ]
"id": "19", },
"label": "Inbound Repair and Services", {
"text": "Inbound Repair and Services", "srfkey": "Product__ProductTypeCode",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "4",
"label": "Flat Fees",
"text": "Flat Fees",
"data":"", "data":"",
"codename":"Item_19", "codename":"Item_4",
"value": "19", "value": "4",
"disabled": false "disabled": false
} }
, { , {
"id": "20", "id": "2",
"label": "Insurance", "label": "Miscellaneous Charges",
"text": "Insurance", "text": "Miscellaneous Charges",
"data":"", "data":"",
"codename":"Item_20", "codename":"Item_2",
"value": "20", "value": "2",
"disabled": false "disabled": false
} }
, { , {
"id": "21", "id": "1",
"label": "Legal Services", "label": "Sales Inventory",
"text": "Legal Services", "text": "Sales Inventory",
"data":"", "data":"",
"codename":"Item_21", "codename":"Item_1",
"value": "21", "value": "1",
"disabled": false "disabled": false
} }
, { , {
"id": "22", "id": "3",
"label": "Non-Durable Merchandise Retail", "label": "Services",
"text": "Non-Durable Merchandise Retail", "text": "Services",
"data":"", "data":"",
"codename":"Item_22", "codename":"Item_3",
"value": "22", "value": "3",
"disabled": false "disabled": false
} }
, { ]
"id": "23", },
"label": "Outbound Consumer Service", {
"text": "Outbound Consumer Service", "srfkey": "Contact__GenderCode",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "2",
"label": "Female",
"text": "Female",
"data":"", "data":"",
"codename":"Item_23", "codename":"Item_2",
"value": "23", "value": "2",
"disabled": false "disabled": false
} }
, { , {
"id": "24", "id": "1",
"label": "Petrochemical Extraction and Distribution", "label": "Male",
"text": "Petrochemical Extraction and Distribution", "text": "Male",
"data":"", "data":"",
"codename":"Item_24", "codename":"Item_1",
"value": "24", "value": "1",
"disabled": false "disabled": false
} }
, { ]
"id": "25", },
"label": "Service Retail", {
"text": "Service Retail", "srfkey": "FQG_ActivityPointer",
"data":"", "emptytext": "未定义",
"codename":"Item_25", "codelisttype":"static",
"value": "25", "items": [
{
"id": "ALL",
"label": "全部活动",
"text": "全部活动",
"data":{},
"codename":"All",
"value": "ALL",
"disabled": false "disabled": false
} }
, { , {
"id": "26", "id": "TASK",
"label": "SIG Affiliations", "label": "任务",
"text": "SIG Affiliations", "text": "任务",
"data":"", "data":{"n_activitytypecode_eq":"TASK"},
"codename":"Item_26", "codename":"Task",
"value": "26", "value": "TASK",
"disabled": false "disabled": false
} }
, { , {
"id": "27", "id": "EMAIL",
"label": "Social Services", "label": "电子邮件",
"text": "Social Services", "text": "电子邮件",
"data":"", "data":{"n_activitytypecode_eq":"EMAIL"},
"codename":"Item_27", "codename":"Email",
"value": "27", "value": "EMAIL",
"disabled": false "disabled": false
} }
, { , {
"id": "28", "id": "APPOINTMENT",
"label": "Special Outbound Trade Contractors", "label": "约会",
"text": "Special Outbound Trade Contractors", "text": "约会",
"data":"", "data":{"n_activitytypecode_eq":"APPOINTMENT"},
"codename":"Item_28", "codename":"Appointment",
"value": "28", "value": "APPOINTMENT",
"disabled": false "disabled": false
} }
, { , {
"id": "29", "id": "PHONECALL",
"label": "Specialty Realty", "label": "电话联络",
"text": "Specialty Realty", "text": "电话联络",
"data":"", "data":{"n_activitytypecode_eq":"PHONECALL"},
"codename":"Item_29", "codename":"Phonecall",
"value": "29", "value": "PHONECALL",
"disabled": false "disabled": false
} }
, { , {
"id": "30", "id": "OTHER",
"label": "Transportation", "label": "其他",
"text": "Transportation", "text": "其他",
"data":"", "data":"",
"codename":"Item_30", "codename":"Other",
"value": "30", "value": "OTHER",
"disabled": false "disabled": false
} }
, { , {
"id": "31", "id": "LETTER",
"label": "Utility Creation and Distribution", "label": "信件",
"text": "Utility Creation and Distribution", "text": "信件",
"data":"", "data":{"n_activitytypecode_eq":"LETTER"},
"codename":"Item_31", "codename":"Letter",
"value": "31", "value": "LETTER",
"pvalue": "OTHER",
"disabled": false "disabled": false
} }
, { , {
"id": "32", "id": "FAX",
"label": "Vehicle Retail", "label": "传真",
"text": "Vehicle Retail", "text": "传真",
"data":"", "data":"",
"codename":"Item_32", "codename":"Fax",
"value": "32", "value": "FAX",
"pvalue": "OTHER",
"disabled": false "disabled": false
} }
, { , {
"id": "33", "id": "SERVICEAPPOINTMENT",
"label": "Wholesale", "label": "服务活动",
"text": "Wholesale", "text": "服务活动",
"data":"", "data":{"n_activitytypecode_eq":"SERVICEAPPOINTMENT"},
"codename":"Item_33", "codename":"Serviceappointment",
"value": "33", "value": "SERVICEAPPOINTMENT",
"pvalue": "OTHER",
"disabled": false
}
, {
"id": "CAMPAIGNRESPONSE",
"label": "市场活动响应",
"text": "市场活动响应",
"data":{"n_activitytypecode_eq":"CAMPAIGNRESPONSE"},
"codename":"Campaignresponse",
"value": "CAMPAIGNRESPONSE",
"pvalue": "OTHER",
"disabled": false "disabled": false
} }
] ]
...@@ -1517,43 +1591,6 @@ ...@@ -1517,43 +1591,6 @@
"codename":"Item_3", "codename":"Item_3",
"value": "3", "value": "3",
"disabled": false
}
]
},
{
"srfkey": "Phonecall__PriorityCode",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "2",
"label": "High",
"text": "High",
"data":"",
"codename":"Item_2",
"value": "2",
"disabled": false
}
, {
"id": "0",
"label": "Low",
"text": "Low",
"data":"",
"codename":"Item_0",
"value": "0",
"disabled": false
}
, {
"id": "1",
"label": "Normal",
"text": "Normal",
"data":"",
"codename":"Item_1",
"value": "1",
"disabled": false "disabled": false
} }
] ]
......
...@@ -247,7 +247,7 @@ export interface IBizList { ...@@ -247,7 +247,7 @@ export interface IBizList {
utcconversiontimezonecode?: any; utcconversiontimezonecode?: any;
/** /**
* 市场营销列表成员类型 * 成员类型
* *
* @returns {*} * @returns {*}
* @memberof IBizList * @memberof IBizList
......
export default { export default {
List__CreatedFromCode: {
'1': 'Account',
'2': 'Contact',
'4': 'Lead',
empty: '',
},
Campaignactivity__ChannelTypeCode: { Campaignactivity__ChannelTypeCode: {
'2': 'Appointment', '2': 'Appointment',
'7': 'Email', '7': 'Email',
...@@ -16,60 +22,6 @@ export default { ...@@ -16,60 +22,6 @@ export default {
'2': 'Inactive', '2': 'Inactive',
empty: '', empty: '',
}, },
SysOperator: {
empty: '',
},
Account__OwnershipCode: {
'4': 'Other',
'2': 'Private',
'1': 'Public',
'3': 'Subsidiary',
empty: '',
},
Contact__ShippingMethodCode: {
'1': 'Default Value',
empty: '',
},
YesNo: {
'1': '是',
'0': '否',
empty: '',
},
Task__PriorityCode: {
'2': 'High',
'0': 'Low',
'1': 'Normal',
empty: '',
},
Contact__FamilyStatusCode: {
'3': 'Divorced',
'2': 'Married',
'1': 'Single',
'4': 'Widowed',
empty: '',
},
Account__CustomerTypeCode: {
'1': 'Competitor',
'2': 'Consultant',
'3': 'Customer',
'6': 'Influencer',
'4': 'Investor',
'12': 'Other',
'5': 'Partner',
'7': 'Press',
'8': 'Prospect',
'9': 'Reseller',
'10': 'Supplier',
'11': 'Vendor',
empty: '',
},
Account__Address1_AddressTypeCode: {
'1': 'Bill To',
'4': 'Other',
'3': 'Primary',
'2': 'Ship To',
empty: '',
},
Contact__PaymentTermsCode: { Contact__PaymentTermsCode: {
'2': '2% 10, Net 30', '2': '2% 10, Net 30',
'1': 'Net 30', '1': 'Net 30',
...@@ -87,13 +39,6 @@ export default { ...@@ -87,13 +39,6 @@ export default {
'7': 'Will Call', '7': 'Will Call',
empty: '', empty: '',
}, },
Product__ProductTypeCode: {
'4': 'Flat Fees',
'2': 'Miscellaneous Charges',
'1': 'Sales Inventory',
'3': 'Services',
empty: '',
},
ActivityTypeCode: { ActivityTypeCode: {
'TASK': '任务', 'TASK': '任务',
'EMAIL': '电子邮件', 'EMAIL': '电子邮件',
...@@ -105,24 +50,6 @@ export default { ...@@ -105,24 +50,6 @@ export default {
'CAMPAIGNRESPONSE': '市场活动响应', 'CAMPAIGNRESPONSE': '市场活动响应',
empty: '', empty: '',
}, },
Contact__GenderCode: {
'2': 'Female',
'1': 'Male',
empty: '',
},
FQG_ActivityPointer: {
'ALL': '全部活动',
'TASK': '任务',
'EMAIL': '电子邮件',
'APPOINTMENT': '约会',
'PHONECALL': '电话联络',
'OTHER': '其他',
'LETTER': '信件',
'FAX': '传真',
'SERVICEAPPOINTMENT': '服务活动',
'CAMPAIGNRESPONSE': '市场活动响应',
empty: '',
},
Activitypointer__PriorityCode: { Activitypointer__PriorityCode: {
'2': 'High', '2': 'High',
'0': 'Low', '0': 'Low',
...@@ -191,6 +118,91 @@ export default { ...@@ -191,6 +118,91 @@ export default {
'33': 'Wholesale', '33': 'Wholesale',
empty: '', empty: '',
}, },
Phonecall__PriorityCode: {
'2': 'High',
'0': 'Low',
'1': 'Normal',
empty: '',
},
SysOperator: {
empty: '',
},
Account__OwnershipCode: {
'4': 'Other',
'2': 'Private',
'1': 'Public',
'3': 'Subsidiary',
empty: '',
},
Contact__ShippingMethodCode: {
'1': 'Default Value',
empty: '',
},
YesNo: {
'1': '是',
'0': '否',
empty: '',
},
Task__PriorityCode: {
'2': 'High',
'0': 'Low',
'1': 'Normal',
empty: '',
},
Contact__FamilyStatusCode: {
'3': 'Divorced',
'2': 'Married',
'1': 'Single',
'4': 'Widowed',
empty: '',
},
Account__CustomerTypeCode: {
'1': 'Competitor',
'2': 'Consultant',
'3': 'Customer',
'6': 'Influencer',
'4': 'Investor',
'12': 'Other',
'5': 'Partner',
'7': 'Press',
'8': 'Prospect',
'9': 'Reseller',
'10': 'Supplier',
'11': 'Vendor',
empty: '',
},
Account__Address1_AddressTypeCode: {
'1': 'Bill To',
'4': 'Other',
'3': 'Primary',
'2': 'Ship To',
empty: '',
},
Product__ProductTypeCode: {
'4': 'Flat Fees',
'2': 'Miscellaneous Charges',
'1': 'Sales Inventory',
'3': 'Services',
empty: '',
},
Contact__GenderCode: {
'2': 'Female',
'1': 'Male',
empty: '',
},
FQG_ActivityPointer: {
'ALL': '全部活动',
'TASK': '任务',
'EMAIL': '电子邮件',
'APPOINTMENT': '约会',
'PHONECALL': '电话联络',
'OTHER': '其他',
'LETTER': '信件',
'FAX': '传真',
'SERVICEAPPOINTMENT': '服务活动',
'CAMPAIGNRESPONSE': '市场活动响应',
empty: '',
},
State: { State: {
'0': 'Active', '0': 'Active',
'1': 'Inactive', '1': 'Inactive',
...@@ -204,10 +216,4 @@ export default { ...@@ -204,10 +216,4 @@ export default {
'3': 'Phone', '3': 'Phone',
empty: '', empty: '',
}, },
Phonecall__PriorityCode: {
'2': 'High',
'0': 'Low',
'1': 'Normal',
empty: '',
},
}; };
\ No newline at end of file
export default { export default {
List__CreatedFromCode: {
'1': 'Account',
'2': 'Contact',
'4': 'Lead',
empty: '',
},
Campaignactivity__ChannelTypeCode: { Campaignactivity__ChannelTypeCode: {
'2': 'Appointment', '2': 'Appointment',
'7': 'Email', '7': 'Email',
...@@ -16,60 +22,6 @@ export default { ...@@ -16,60 +22,6 @@ export default {
'2': 'Inactive', '2': 'Inactive',
empty: '', empty: '',
}, },
SysOperator: {
empty: '',
},
Account__OwnershipCode: {
'4': 'Other',
'2': 'Private',
'1': 'Public',
'3': 'Subsidiary',
empty: '',
},
Contact__ShippingMethodCode: {
'1': 'Default Value',
empty: '',
},
YesNo: {
'1': '是',
'0': '否',
empty: '',
},
Task__PriorityCode: {
'2': 'High',
'0': 'Low',
'1': 'Normal',
empty: '',
},
Contact__FamilyStatusCode: {
'3': 'Divorced',
'2': 'Married',
'1': 'Single',
'4': 'Widowed',
empty: '',
},
Account__CustomerTypeCode: {
'1': 'Competitor',
'2': 'Consultant',
'3': 'Customer',
'6': 'Influencer',
'4': 'Investor',
'12': 'Other',
'5': 'Partner',
'7': 'Press',
'8': 'Prospect',
'9': 'Reseller',
'10': 'Supplier',
'11': 'Vendor',
empty: '',
},
Account__Address1_AddressTypeCode: {
'1': 'Bill To',
'4': 'Other',
'3': 'Primary',
'2': 'Ship To',
empty: '',
},
Contact__PaymentTermsCode: { Contact__PaymentTermsCode: {
'2': '2% 10, Net 30', '2': '2% 10, Net 30',
'1': 'Net 30', '1': 'Net 30',
...@@ -87,13 +39,6 @@ export default { ...@@ -87,13 +39,6 @@ export default {
'7': 'Will Call', '7': 'Will Call',
empty: '', empty: '',
}, },
Product__ProductTypeCode: {
'4': 'Flat Fees',
'2': 'Miscellaneous Charges',
'1': 'Sales Inventory',
'3': 'Services',
empty: '',
},
ActivityTypeCode: { ActivityTypeCode: {
'TASK': '任务', 'TASK': '任务',
'EMAIL': '电子邮件', 'EMAIL': '电子邮件',
...@@ -105,24 +50,6 @@ export default { ...@@ -105,24 +50,6 @@ export default {
'CAMPAIGNRESPONSE': '市场活动响应', 'CAMPAIGNRESPONSE': '市场活动响应',
empty: '', empty: '',
}, },
Contact__GenderCode: {
'2': 'Female',
'1': 'Male',
empty: '',
},
FQG_ActivityPointer: {
'ALL': '全部活动',
'TASK': '任务',
'EMAIL': '电子邮件',
'APPOINTMENT': '约会',
'PHONECALL': '电话联络',
'OTHER': '其他',
'LETTER': '信件',
'FAX': '传真',
'SERVICEAPPOINTMENT': '服务活动',
'CAMPAIGNRESPONSE': '市场活动响应',
empty: '',
},
Activitypointer__PriorityCode: { Activitypointer__PriorityCode: {
'2': 'High', '2': 'High',
'0': 'Low', '0': 'Low',
...@@ -191,6 +118,91 @@ export default { ...@@ -191,6 +118,91 @@ export default {
'33': 'Wholesale', '33': 'Wholesale',
empty: '', empty: '',
}, },
Phonecall__PriorityCode: {
'2': 'High',
'0': 'Low',
'1': 'Normal',
empty: '',
},
SysOperator: {
empty: '',
},
Account__OwnershipCode: {
'4': 'Other',
'2': 'Private',
'1': 'Public',
'3': 'Subsidiary',
empty: '',
},
Contact__ShippingMethodCode: {
'1': 'Default Value',
empty: '',
},
YesNo: {
'1': '是',
'0': '否',
empty: '',
},
Task__PriorityCode: {
'2': 'High',
'0': 'Low',
'1': 'Normal',
empty: '',
},
Contact__FamilyStatusCode: {
'3': 'Divorced',
'2': 'Married',
'1': 'Single',
'4': 'Widowed',
empty: '',
},
Account__CustomerTypeCode: {
'1': 'Competitor',
'2': 'Consultant',
'3': 'Customer',
'6': 'Influencer',
'4': 'Investor',
'12': 'Other',
'5': 'Partner',
'7': 'Press',
'8': 'Prospect',
'9': 'Reseller',
'10': 'Supplier',
'11': 'Vendor',
empty: '',
},
Account__Address1_AddressTypeCode: {
'1': 'Bill To',
'4': 'Other',
'3': 'Primary',
'2': 'Ship To',
empty: '',
},
Product__ProductTypeCode: {
'4': 'Flat Fees',
'2': 'Miscellaneous Charges',
'1': 'Sales Inventory',
'3': 'Services',
empty: '',
},
Contact__GenderCode: {
'2': 'Female',
'1': 'Male',
empty: '',
},
FQG_ActivityPointer: {
'ALL': '全部活动',
'TASK': '任务',
'EMAIL': '电子邮件',
'APPOINTMENT': '约会',
'PHONECALL': '电话联络',
'OTHER': '其他',
'LETTER': '信件',
'FAX': '传真',
'SERVICEAPPOINTMENT': '服务活动',
'CAMPAIGNRESPONSE': '市场活动响应',
empty: '',
},
State: { State: {
'0': 'Active', '0': 'Active',
'1': 'Inactive', '1': 'Inactive',
...@@ -204,10 +216,4 @@ export default { ...@@ -204,10 +216,4 @@ export default {
'3': 'Phone', '3': 'Phone',
empty: '', empty: '',
}, },
Phonecall__PriorityCode: {
'2': 'High',
'0': 'Low',
'1': 'Normal',
empty: '',
},
}; };
\ No newline at end of file
...@@ -369,7 +369,6 @@ export default { ...@@ -369,7 +369,6 @@ export default {
lastusedincampaign: "上次参与市场活动的日期", lastusedincampaign: "上次参与市场活动的日期",
donotsendmm: "发送市场营销资料", donotsendmm: "发送市场营销资料",
shippingmethodcode: "送货方式", shippingmethodcode: "送货方式",
originatingleadid: "原始潜在顾客",
contactid: "联系人", contactid: "联系人",
}, },
uiactions: { uiactions: {
......
...@@ -368,7 +368,6 @@ export default { ...@@ -368,7 +368,6 @@ export default {
lastusedincampaign: '上次参与市场活动的日期', lastusedincampaign: '上次参与市场活动的日期',
donotsendmm: '发送市场营销资料', donotsendmm: '发送市场营销资料',
shippingmethodcode: '送货方式', shippingmethodcode: '送货方式',
originatingleadid: '原始潜在顾客',
contactid: '联系人', contactid: '联系人',
}, },
uiactions: { uiactions: {
......
...@@ -31,7 +31,7 @@ export default { ...@@ -31,7 +31,7 @@ export default {
source: '来源', source: '来源',
updatedate: '更新时间', updatedate: '更新时间',
utcconversiontimezonecode: 'UTC Conversion Time Zone Code', utcconversiontimezonecode: 'UTC Conversion Time Zone Code',
createdfromcode: '市场营销列表成员类型', createdfromcode: '成员类型',
overriddencreatedon: 'Record Created On', overriddencreatedon: 'Record Created On',
timezoneruleversionnumber: 'Time Zone Rule Version Number', timezoneruleversionnumber: 'Time Zone Rule Version Number',
traversedpath: 'Traversed Path', traversedpath: 'Traversed Path',
...@@ -124,8 +124,10 @@ export default { ...@@ -124,8 +124,10 @@ export default {
main_grid: { main_grid: {
columns: { columns: {
listname: "名称", listname: "名称",
updateman: "更新人", type: "类型",
updatedate: "更新时间", createdfromcode: "成员类型",
lastusedon: "上次使用时间",
purpose: "用途",
}, },
uiactions: { uiactions: {
}, },
......
...@@ -30,7 +30,7 @@ export default { ...@@ -30,7 +30,7 @@ export default {
source: '来源', source: '来源',
updatedate: '更新时间', updatedate: '更新时间',
utcconversiontimezonecode: 'UTC Conversion Time Zone Code', utcconversiontimezonecode: 'UTC Conversion Time Zone Code',
createdfromcode: '市场营销列表成员类型', createdfromcode: '成员类型',
overriddencreatedon: 'Record Created On', overriddencreatedon: 'Record Created On',
timezoneruleversionnumber: 'Time Zone Rule Version Number', timezoneruleversionnumber: 'Time Zone Rule Version Number',
traversedpath: 'Traversed Path', traversedpath: 'Traversed Path',
...@@ -123,8 +123,10 @@ export default { ...@@ -123,8 +123,10 @@ export default {
main_grid: { main_grid: {
columns: { columns: {
listname: '名称', listname: '名称',
updateman: '更新人', type: '类型',
updatedate: '更新时间', createdfromcode: '成员类型',
lastusedon: '上次使用时间',
purpose: '用途',
}, },
uiactions: { uiactions: {
}, },
......
...@@ -204,7 +204,7 @@ mock.onGet('v7/centralappmenu').reply((config: any) => { ...@@ -204,7 +204,7 @@ mock.onGet('v7/centralappmenu').reply((config: any) => {
hidden: false, hidden: false,
hidesidebar: false, hidesidebar: false,
opendefault: false, opendefault: false,
iconcls: 'fa fa-paper-plane', iconcls: 'fa fa-file-o',
icon: '', icon: '',
textcls: '', textcls: '',
appfunctag: 'Auto9', appfunctag: 'Auto9',
......
...@@ -8,6 +8,43 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -8,6 +8,43 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
let status = MockAdapter.mockStatus(config); let status = MockAdapter.mockStatus(config);
return [status, [ return [status, [
{ {
srfkey: 'List__CreatedFromCode',
emptytext: '未定义',
"codelisttype":"static",
items: [
{
id: '1',
label: 'Account',
text: 'Account',
"data":"",
"codename":"Item_1",
value: '1',
disabled: false,
},
{
id: '2',
label: 'Contact',
text: 'Contact',
"data":"",
"codename":"Item_2",
value: '2',
disabled: false,
},
{
id: '4',
label: 'Lead',
text: 'Lead',
"data":"",
"codename":"Item_4",
value: '4',
disabled: false,
},
]
},
{
srfkey: 'Campaignactivity__ChannelTypeCode', srfkey: 'Campaignactivity__ChannelTypeCode',
emptytext: '未定义', emptytext: '未定义',
"codelisttype":"static", "codelisttype":"static",
...@@ -132,32 +169,14 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -132,32 +169,14 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
] ]
}, },
{ {
"srfkey": "SysOperator", srfkey: 'Contact__PaymentTermsCode',
"emptytext": "未定义",
"codelisttype":"dynamic",
"appdataentity":"",
"appdedataset":"",
"items": []
},
{
srfkey: 'Account__OwnershipCode',
emptytext: '未定义', emptytext: '未定义',
"codelisttype":"static", "codelisttype":"static",
items: [ items: [
{
id: '4',
label: 'Other',
text: 'Other',
"data":"",
"codename":"Item_4",
value: '4',
disabled: false,
},
{ {
id: '2', id: '2',
label: 'Private', label: '2% 10, Net 30',
text: 'Private', text: '2% 10, Net 30',
"data":"", "data":"",
"codename":"Item_2", "codename":"Item_2",
value: '2', value: '2',
...@@ -166,8 +185,8 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -166,8 +185,8 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
}, },
{ {
id: '1', id: '1',
label: 'Public', label: 'Net 30',
text: 'Public', text: 'Net 30',
"data":"", "data":"",
"codename":"Item_1", "codename":"Item_1",
value: '1', value: '1',
...@@ -176,62 +195,192 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -176,62 +195,192 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
}, },
{ {
id: '3', id: '3',
label: 'Subsidiary', label: 'Net 45',
text: 'Subsidiary', text: 'Net 45',
"data":"", "data":"",
"codename":"Item_3", "codename":"Item_3",
value: '3', value: '3',
disabled: false,
},
{
id: '4',
label: 'Net 60',
text: 'Net 60',
"data":"",
"codename":"Item_4",
value: '4',
disabled: false, disabled: false,
}, },
] ]
}, },
{ {
srfkey: 'Contact__ShippingMethodCode', srfkey: 'Account__Address1_ShippingMethodCode',
emptytext: '未定义', emptytext: '未定义',
"codelisttype":"static", "codelisttype":"static",
items: [ items: [
{ {
id: '1', id: '1',
label: 'Default Value', label: 'Airborne',
text: 'Default Value', text: 'Airborne',
"data":"", "data":"",
"codename":"Item_1", "codename":"Item_1",
value: '1', value: '1',
disabled: false,
},
{
id: '2',
label: 'DHL',
text: 'DHL',
"data":"",
"codename":"Item_2",
value: '2',
disabled: false,
},
{
id: '3',
label: 'FedEx',
text: 'FedEx',
"data":"",
"codename":"Item_3",
value: '3',
disabled: false,
},
{
id: '6',
label: 'Full Load',
text: 'Full Load',
"data":"",
"codename":"Item_6",
value: '6',
disabled: false,
},
{
id: '5',
label: 'Postal Mail',
text: 'Postal Mail',
"data":"",
"codename":"Item_5",
value: '5',
disabled: false,
},
{
id: '4',
label: 'UPS',
text: 'UPS',
"data":"",
"codename":"Item_4",
value: '4',
disabled: false,
},
{
id: '7',
label: 'Will Call',
text: 'Will Call',
"data":"",
"codename":"Item_7",
value: '7',
disabled: false, disabled: false,
}, },
] ]
}, },
{ {
srfkey: 'YesNo', srfkey: 'ActivityTypeCode',
emptytext: '未定义', emptytext: '未定义',
"codelisttype":"static", "codelisttype":"static",
items: [ items: [
{ {
id: '1', id: 'TASK',
label: '', label: '任务',
text: '', text: '任务',
"data":"", "data":{"N_ACTIVITYTYPECODE_EQ":"TASK"},
"codename":"Item_1", "codename":"Task",
value: 1, value: 'TASK',
disabled: false, disabled: false,
}, },
{ {
id: '0', id: 'EMAIL',
label: '否', label: '电子邮件',
text: '否', text: '电子邮件',
"data":{"N_ACTIVITYTYPECODE_EQ":"EMAIL"},
"codename":"Email",
value: 'EMAIL',
disabled: false,
},
{
id: 'APPOINTMENT',
label: '约会',
text: '约会',
"data":{"N_ACTIVITYTYPECODE_EQ":"APPOINTMENT"},
"codename":"Appointment",
value: 'APPOINTMENT',
disabled: false,
},
{
id: 'PHONECALL',
label: '电话联络',
text: '电话联络',
"data":{"N_ACTIVITYTYPECODE_EQ":"PHONECALL"},
"codename":"Phonecall",
value: 'PHONECALL',
disabled: false,
},
{
id: 'LETTER',
label: '信件',
text: '信件',
"data":{"N_ACTIVITYTYPECODE_EQ":"LETTER"},
"codename":"Letter",
value: 'LETTER',
disabled: false,
},
{
id: 'FAX',
label: '传真',
text: '传真',
"data":"", "data":"",
"codename":"Item_0", "codename":"Fax",
value: 0, value: 'FAX',
disabled: false,
},
{
id: 'SERVICEAPPOINTMENT',
label: '服务活动',
text: '服务活动',
"data":{"N_ACTIVITYTYPECODE_EQ":"SERVICEAPPOINTMENT"},
"codename":"Serviceappointment",
value: 'SERVICEAPPOINTMENT',
disabled: false,
},
{
id: 'CAMPAIGNRESPONSE',
label: '市场活动响应',
text: '市场活动响应',
"data":{"N_ACTIVITYTYPECODE_EQ":"CAMPAIGNRESPONSE"},
"codename":"Campaignresponse",
value: 'CAMPAIGNRESPONSE',
disabled: false, disabled: false,
}, },
] ]
}, },
{ {
srfkey: 'Task__PriorityCode', srfkey: 'Activitypointer__PriorityCode',
emptytext: '未定义', emptytext: '未定义',
"codelisttype":"static", "codelisttype":"static",
items: [ items: [
...@@ -268,34 +417,14 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -268,34 +417,14 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
] ]
}, },
{ {
srfkey: 'Contact__FamilyStatusCode', srfkey: 'Campaign__TypeCode',
emptytext: '未定义', emptytext: '未定义',
"codelisttype":"static", "codelisttype":"static",
items: [ items: [
{
id: '3',
label: 'Divorced',
text: 'Divorced',
"data":"",
"codename":"Item_3",
value: '3',
disabled: false,
},
{
id: '2',
label: 'Married',
text: 'Married',
"data":"",
"codename":"Item_2",
value: '2',
disabled: false,
},
{ {
id: '1', id: '1',
label: 'Single', label: 'Advertisement',
text: 'Single', text: 'Advertisement',
"data":"", "data":"",
"codename":"Item_1", "codename":"Item_1",
value: '1', value: '1',
...@@ -304,35 +433,18 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -304,35 +433,18 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
}, },
{ {
id: '4', id: '4',
label: 'Widowed', label: 'Co-branding',
text: 'Widowed', text: 'Co-branding',
"data":"", "data":"",
"codename":"Item_4", "codename":"Item_4",
value: '4', value: '4',
disabled: false,
},
]
},
{
srfkey: 'Account__CustomerTypeCode',
emptytext: '未定义',
"codelisttype":"static",
items: [
{
id: '1',
label: 'Competitor',
text: 'Competitor',
"data":"",
"codename":"Item_1",
value: '1',
disabled: false, disabled: false,
}, },
{ {
id: '2', id: '2',
label: 'Consultant', label: 'Direct Marketing',
text: 'Consultant', text: 'Direct Marketing',
"data":"", "data":"",
"codename":"Item_2", "codename":"Item_2",
value: '2', value: '2',
...@@ -341,8 +453,8 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -341,8 +453,8 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
}, },
{ {
id: '3', id: '3',
label: 'Customer', label: 'Event',
text: 'Customer', text: 'Event',
"data":"", "data":"",
"codename":"Item_3", "codename":"Item_3",
value: '3', value: '3',
...@@ -350,116 +462,93 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -350,116 +462,93 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
disabled: false, disabled: false,
}, },
{ {
id: '6', id: '5',
label: 'Influencer',
text: 'Influencer',
"data":"",
"codename":"Item_6",
value: '6',
disabled: false,
},
{
id: '4',
label: 'Investor',
text: 'Investor',
"data":"",
"codename":"Item_4",
value: '4',
disabled: false,
},
{
id: '12',
label: 'Other', label: 'Other',
text: 'Other', text: 'Other',
"data":"", "data":"",
"codename":"Item_12",
value: '12',
disabled: false,
},
{
id: '5',
label: 'Partner',
text: 'Partner',
"data":"",
"codename":"Item_5", "codename":"Item_5",
value: '5', value: '5',
disabled: false, disabled: false,
}, },
]
},
{
srfkey: 'Account__Address1_FreightTermsCode',
emptytext: '未定义',
"codelisttype":"static",
items: [
{ {
id: '7', id: '1',
label: 'Press', label: 'FOB',
text: 'Press', text: 'FOB',
"data":"", "data":"",
"codename":"Item_7", "codename":"Item_1",
value: '7', value: '1',
disabled: false, disabled: false,
}, },
{ {
id: '8', id: '2',
label: 'Prospect', label: 'No Charge',
text: 'Prospect', text: 'No Charge',
"data":"", "data":"",
"codename":"Item_8", "codename":"Item_2",
value: '8', value: '2',
disabled: false, disabled: false,
}, },
]
},
{
srfkey: 'Lead__LeadSourceCode',
emptytext: '未定义',
"codelisttype":"static",
items: [
{ {
id: '9', id: '1',
label: 'Reseller', label: 'Advertisement',
text: 'Reseller', text: 'Advertisement',
"data":"", "data":"",
"codename":"Item_9", "codename":"Item_1",
value: '9', value: '1',
disabled: false, disabled: false,
}, },
{ {
id: '10', id: '2',
label: 'Supplier', label: 'Employee Referral',
text: 'Supplier', text: 'Employee Referral',
"data":"", "data":"",
"codename":"Item_10", "codename":"Item_2",
value: '10', value: '2',
disabled: false, disabled: false,
}, },
{ {
id: '11', id: '3',
label: 'Vendor', label: 'External Referral',
text: 'Vendor', text: 'External Referral',
"data":"", "data":"",
"codename":"Item_11", "codename":"Item_3",
value: '11', value: '3',
disabled: false, disabled: false,
}, },
]
},
{
srfkey: 'Account__Address1_AddressTypeCode',
emptytext: '未定义',
"codelisttype":"static",
items: [
{ {
id: '1', id: '10',
label: 'Bill To', label: 'Other',
text: 'Bill To', text: 'Other',
"data":"", "data":"",
"codename":"Item_1", "codename":"Item_10",
value: '1', value: '10',
disabled: false, disabled: false,
}, },
{ {
id: '4', id: '4',
label: 'Other', label: 'Partner',
text: 'Other', text: 'Partner',
"data":"", "data":"",
"codename":"Item_4", "codename":"Item_4",
value: '4', value: '4',
...@@ -467,83 +556,66 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -467,83 +556,66 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
disabled: false, disabled: false,
}, },
{ {
id: '3', id: '5',
label: 'Primary', label: 'Public Relations',
text: 'Primary', text: 'Public Relations',
"data":"",
"codename":"Item_3",
value: '3',
disabled: false,
},
{
id: '2',
label: 'Ship To',
text: 'Ship To',
"data":"", "data":"",
"codename":"Item_2", "codename":"Item_5",
value: '2', value: '5',
disabled: false, disabled: false,
}, },
]
},
{
srfkey: 'Contact__PaymentTermsCode',
emptytext: '未定义',
"codelisttype":"static",
items: [
{ {
id: '2', id: '6',
label: '2% 10, Net 30', label: 'Seminar',
text: '2% 10, Net 30', text: 'Seminar',
"data":"", "data":"",
"codename":"Item_2", "codename":"Item_6",
value: '2', value: '6',
disabled: false, disabled: false,
}, },
{ {
id: '1', id: '7',
label: 'Net 30', label: 'Trade Show',
text: 'Net 30', text: 'Trade Show',
"data":"", "data":"",
"codename":"Item_1", "codename":"Item_7",
value: '1', value: '7',
disabled: false, disabled: false,
}, },
{ {
id: '3', id: '8',
label: 'Net 45', label: 'Web',
text: 'Net 45', text: 'Web',
"data":"", "data":"",
"codename":"Item_3", "codename":"Item_8",
value: '3', value: '8',
disabled: false, disabled: false,
}, },
{ {
id: '4', id: '9',
label: 'Net 60', label: 'Word of Mouth',
text: 'Net 60', text: 'Word of Mouth',
"data":"", "data":"",
"codename":"Item_4", "codename":"Item_9",
value: '4', value: '9',
disabled: false, disabled: false,
}, },
] ]
}, },
{ {
srfkey: 'Account__Address1_ShippingMethodCode', srfkey: 'Account__IndustryCode',
emptytext: '未定义', emptytext: '未定义',
"codelisttype":"static", "codelisttype":"static",
items: [ items: [
{ {
id: '1', id: '1',
label: 'Airborne', label: 'Accounting',
text: 'Airborne', text: 'Accounting',
"data":"", "data":"",
"codename":"Item_1", "codename":"Item_1",
value: '1', value: '1',
...@@ -552,8 +624,8 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -552,8 +624,8 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
}, },
{ {
id: '2', id: '2',
label: 'DHL', label: 'Agriculture and Non-petrol Natural Resource Extraction',
text: 'DHL', text: 'Agriculture and Non-petrol Natural Resource Extraction',
"data":"", "data":"",
"codename":"Item_2", "codename":"Item_2",
value: '2', value: '2',
...@@ -562,8 +634,8 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -562,8 +634,8 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
}, },
{ {
id: '3', id: '3',
label: 'FedEx', label: 'Broadcasting Printing and Publishing',
text: 'FedEx', text: 'Broadcasting Printing and Publishing',
"data":"", "data":"",
"codename":"Item_3", "codename":"Item_3",
value: '3', value: '3',
...@@ -571,19 +643,19 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -571,19 +643,19 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
disabled: false, disabled: false,
}, },
{ {
id: '6', id: '4',
label: 'Full Load', label: 'Brokers',
text: 'Full Load', text: 'Brokers',
"data":"", "data":"",
"codename":"Item_6", "codename":"Item_4",
value: '6', value: '4',
disabled: false, disabled: false,
}, },
{ {
id: '5', id: '5',
label: 'Postal Mail', label: 'Building Supply Retail',
text: 'Postal Mail', text: 'Building Supply Retail',
"data":"", "data":"",
"codename":"Item_5", "codename":"Item_5",
value: '5', value: '5',
...@@ -591,297 +663,289 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -591,297 +663,289 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
disabled: false, disabled: false,
}, },
{ {
id: '4', id: '6',
label: 'UPS', label: 'Business Services',
text: 'UPS', text: 'Business Services',
"data":"", "data":"",
"codename":"Item_4", "codename":"Item_6",
value: '4', value: '6',
disabled: false, disabled: false,
}, },
{ {
id: '7', id: '7',
label: 'Will Call', label: 'Consulting',
text: 'Will Call', text: 'Consulting',
"data":"", "data":"",
"codename":"Item_7", "codename":"Item_7",
value: '7', value: '7',
disabled: false, disabled: false,
}, },
]
},
{
srfkey: 'Product__ProductTypeCode',
emptytext: '未定义',
"codelisttype":"static",
items: [
{ {
id: '4', id: '8',
label: 'Flat Fees', label: 'Consumer Services',
text: 'Flat Fees', text: 'Consumer Services',
"data":"", "data":"",
"codename":"Item_4", "codename":"Item_8",
value: '4', value: '8',
disabled: false, disabled: false,
}, },
{ {
id: '2', id: '9',
label: 'Miscellaneous Charges', label: 'Design, Direction and Creative Management',
text: 'Miscellaneous Charges', text: 'Design, Direction and Creative Management',
"data":"", "data":"",
"codename":"Item_2", "codename":"Item_9",
value: '2', value: '9',
disabled: false, disabled: false,
}, },
{ {
id: '1', id: '10',
label: 'Sales Inventory', label: 'Distributors, Dispatchers and Processors',
text: 'Sales Inventory', text: 'Distributors, Dispatchers and Processors',
"data":"", "data":"",
"codename":"Item_1", "codename":"Item_10",
value: '1', value: '10',
disabled: false, disabled: false,
}, },
{ {
id: '3', id: '11',
label: 'Services', label: 'Doctors Offices and Clinics',
text: 'Services', text: 'Doctors Offices and Clinics',
"data":"", "data":"",
"codename":"Item_3", "codename":"Item_11",
value: '3', value: '11',
disabled: false, disabled: false,
}, },
]
},
{
srfkey: 'ActivityTypeCode',
emptytext: '未定义',
"codelisttype":"static",
items: [
{ {
id: 'TASK', id: '12',
label: '任务', label: 'Durable Manufacturing',
text: '任务', text: 'Durable Manufacturing',
"data":{"N_ACTIVITYTYPECODE_EQ":"TASK"}, "data":"",
"codename":"Task", "codename":"Item_12",
value: 'TASK', value: '12',
disabled: false, disabled: false,
}, },
{ {
id: 'EMAIL', id: '13',
label: '电子邮件', label: 'Eating and Drinking Places',
text: '电子邮件', text: 'Eating and Drinking Places',
"data":{"N_ACTIVITYTYPECODE_EQ":"EMAIL"}, "data":"",
"codename":"Email", "codename":"Item_13",
value: 'EMAIL', value: '13',
disabled: false, disabled: false,
}, },
{ {
id: 'APPOINTMENT', id: '14',
label: '约会', label: 'Entertainment Retail',
text: '约会', text: 'Entertainment Retail',
"data":{"N_ACTIVITYTYPECODE_EQ":"APPOINTMENT"}, "data":"",
"codename":"Appointment", "codename":"Item_14",
value: 'APPOINTMENT', value: '14',
disabled: false, disabled: false,
}, },
{ {
id: 'PHONECALL', id: '15',
label: '电话联络', label: 'Equipment Rental and Leasing',
text: '电话联络', text: 'Equipment Rental and Leasing',
"data":{"N_ACTIVITYTYPECODE_EQ":"PHONECALL"}, "data":"",
"codename":"Phonecall", "codename":"Item_15",
value: 'PHONECALL', value: '15',
disabled: false, disabled: false,
}, },
{ {
id: 'LETTER', id: '16',
label: '信件', label: 'Financial',
text: '信件', text: 'Financial',
"data":{"N_ACTIVITYTYPECODE_EQ":"LETTER"}, "data":"",
"codename":"Letter", "codename":"Item_16",
value: 'LETTER', value: '16',
disabled: false, disabled: false,
}, },
{ {
id: 'FAX', id: '17',
label: '传真', label: 'Food and Tobacco Processing',
text: '传真', text: 'Food and Tobacco Processing',
"data":"", "data":"",
"codename":"Fax", "codename":"Item_17",
value: 'FAX', value: '17',
disabled: false, disabled: false,
}, },
{ {
id: 'SERVICEAPPOINTMENT', id: '18',
label: '服务活动', label: 'Inbound Capital Intensive Processing',
text: '服务活动', text: 'Inbound Capital Intensive Processing',
"data":{"N_ACTIVITYTYPECODE_EQ":"SERVICEAPPOINTMENT"}, "data":"",
"codename":"Serviceappointment", "codename":"Item_18",
value: 'SERVICEAPPOINTMENT', value: '18',
disabled: false, disabled: false,
}, },
{ {
id: 'CAMPAIGNRESPONSE', id: '19',
label: '市场活动响应', label: 'Inbound Repair and Services',
text: '市场活动响应', text: 'Inbound Repair and Services',
"data":{"N_ACTIVITYTYPECODE_EQ":"CAMPAIGNRESPONSE"}, "data":"",
"codename":"Campaignresponse", "codename":"Item_19",
value: 'CAMPAIGNRESPONSE', value: '19',
disabled: false, disabled: false,
}, },
]
},
{
srfkey: 'Contact__GenderCode',
emptytext: '未定义',
"codelisttype":"static",
items: [
{ {
id: '2', id: '20',
label: 'Female', label: 'Insurance',
text: 'Female', text: 'Insurance',
"data":"", "data":"",
"codename":"Item_2", "codename":"Item_20",
value: '2', value: '20',
disabled: false, disabled: false,
}, },
{ {
id: '1', id: '21',
label: 'Male', label: 'Legal Services',
text: 'Male', text: 'Legal Services',
"data":"", "data":"",
"codename":"Item_1", "codename":"Item_21",
value: '1', value: '21',
disabled: false, disabled: false,
}, },
]
},
{
srfkey: 'FQG_ActivityPointer',
emptytext: '未定义',
"codelisttype":"static",
items: [
{ {
id: 'ALL', id: '22',
label: '全部活动', label: 'Non-Durable Merchandise Retail',
text: '全部活动', text: 'Non-Durable Merchandise Retail',
"data":{}, "data":"",
"codename":"All", "codename":"Item_22",
value: 'ALL', value: '22',
disabled: false, disabled: false,
}, },
{ {
id: 'TASK', id: '23',
label: '任务', label: 'Outbound Consumer Service',
text: '任务', text: 'Outbound Consumer Service',
"data":{"n_activitytypecode_eq":"TASK"}, "data":"",
"codename":"Task", "codename":"Item_23",
value: 'TASK', value: '23',
disabled: false, disabled: false,
}, },
{ {
id: 'EMAIL', id: '24',
label: '电子邮件', label: 'Petrochemical Extraction and Distribution',
text: '电子邮件', text: 'Petrochemical Extraction and Distribution',
"data":{"n_activitytypecode_eq":"EMAIL"}, "data":"",
"codename":"Email", "codename":"Item_24",
value: 'EMAIL', value: '24',
disabled: false, disabled: false,
}, },
{ {
id: 'APPOINTMENT', id: '25',
label: '约会', label: 'Service Retail',
text: '约会', text: 'Service Retail',
"data":{"n_activitytypecode_eq":"APPOINTMENT"}, "data":"",
"codename":"Appointment", "codename":"Item_25",
value: 'APPOINTMENT', value: '25',
disabled: false, disabled: false,
}, },
{ {
id: 'PHONECALL', id: '26',
label: '电话联络', label: 'SIG Affiliations',
text: '电话联络', text: 'SIG Affiliations',
"data":{"n_activitytypecode_eq":"PHONECALL"}, "data":"",
"codename":"Phonecall", "codename":"Item_26",
value: 'PHONECALL', value: '26',
disabled: false, disabled: false,
}, },
{ {
id: 'OTHER', id: '27',
label: '其他', label: 'Social Services',
text: '其他', text: 'Social Services',
"data":"", "data":"",
"codename":"Other", "codename":"Item_27",
value: 'OTHER', value: '27',
disabled: false, disabled: false,
}, },
{ {
id: 'LETTER', id: '28',
label: '信件', label: 'Special Outbound Trade Contractors',
text: '信件', text: 'Special Outbound Trade Contractors',
"data":{"n_activitytypecode_eq":"LETTER"}, "data":"",
"codename":"Letter", "codename":"Item_28",
value: 'LETTER', value: '28',
"pvalue": "OTHER",
disabled: false, disabled: false,
}, },
{ {
id: 'FAX', id: '29',
label: '传真', label: 'Specialty Realty',
text: '传真', text: 'Specialty Realty',
"data":"", "data":"",
"codename":"Fax", "codename":"Item_29",
value: 'FAX', value: '29',
"pvalue": "OTHER",
disabled: false, disabled: false,
}, },
{ {
id: 'SERVICEAPPOINTMENT', id: '30',
label: '服务活动', label: 'Transportation',
text: '服务活动', text: 'Transportation',
"data":{"n_activitytypecode_eq":"SERVICEAPPOINTMENT"}, "data":"",
"codename":"Serviceappointment", "codename":"Item_30",
value: 'SERVICEAPPOINTMENT', value: '30',
"pvalue": "OTHER",
disabled: false, disabled: false,
}, },
{ {
id: 'CAMPAIGNRESPONSE', id: '31',
label: '市场活动响应', label: 'Utility Creation and Distribution',
text: '市场活动响应', text: 'Utility Creation and Distribution',
"data":{"n_activitytypecode_eq":"CAMPAIGNRESPONSE"}, "data":"",
"codename":"Campaignresponse", "codename":"Item_31",
value: 'CAMPAIGNRESPONSE', value: '31',
"pvalue": "OTHER",
disabled: false,
},
{
id: '32',
label: 'Vehicle Retail',
text: 'Vehicle Retail',
"data":"",
"codename":"Item_32",
value: '32',
disabled: false,
},
{
id: '33',
label: 'Wholesale',
text: 'Wholesale',
"data":"",
"codename":"Item_33",
value: '33',
disabled: false, disabled: false,
}, },
] ]
}, },
{ {
srfkey: 'Activitypointer__PriorityCode', srfkey: 'Phonecall__PriorityCode',
emptytext: '未定义', emptytext: '未定义',
"codelisttype":"static", "codelisttype":"static",
items: [ items: [
...@@ -918,24 +982,22 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -918,24 +982,22 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
] ]
}, },
{ {
srfkey: 'Campaign__TypeCode', "srfkey": "SysOperator",
"emptytext": "未定义",
"codelisttype":"dynamic",
"appdataentity":"",
"appdedataset":"",
"items": []
},
{
srfkey: 'Account__OwnershipCode',
emptytext: '未定义', emptytext: '未定义',
"codelisttype":"static", "codelisttype":"static",
items: [ items: [
{
id: '1',
label: 'Advertisement',
text: 'Advertisement',
"data":"",
"codename":"Item_1",
value: '1',
disabled: false,
},
{ {
id: '4', id: '4',
label: 'Co-branding', label: 'Other',
text: 'Co-branding', text: 'Other',
"data":"", "data":"",
"codename":"Item_4", "codename":"Item_4",
value: '4', value: '4',
...@@ -944,45 +1006,18 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -944,45 +1006,18 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
}, },
{ {
id: '2', id: '2',
label: 'Direct Marketing', label: 'Private',
text: 'Direct Marketing', text: 'Private',
"data":"", "data":"",
"codename":"Item_2", "codename":"Item_2",
value: '2', value: '2',
disabled: false, disabled: false,
}, },
{
id: '3',
label: 'Event',
text: 'Event',
"data":"",
"codename":"Item_3",
value: '3',
disabled: false,
},
{
id: '5',
label: 'Other',
text: 'Other',
"data":"",
"codename":"Item_5",
value: '5',
disabled: false,
},
]
},
{
srfkey: 'Account__Address1_FreightTermsCode',
emptytext: '未定义',
"codelisttype":"static",
items: [
{ {
id: '1', id: '1',
label: 'FOB', label: 'Public',
text: 'FOB', text: 'Public',
"data":"", "data":"",
"codename":"Item_1", "codename":"Item_1",
value: '1', value: '1',
...@@ -990,133 +1025,154 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -990,133 +1025,154 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
disabled: false, disabled: false,
}, },
{ {
id: '2', id: '3',
label: 'No Charge', label: 'Subsidiary',
text: 'No Charge', text: 'Subsidiary',
"data":"", "data":"",
"codename":"Item_2", "codename":"Item_3",
value: '2', value: '3',
disabled: false, disabled: false,
}, },
] ]
}, },
{ {
srfkey: 'Lead__LeadSourceCode', srfkey: 'Contact__ShippingMethodCode',
emptytext: '未定义', emptytext: '未定义',
"codelisttype":"static", "codelisttype":"static",
items: [ items: [
{ {
id: '1', id: '1',
label: 'Advertisement', label: 'Default Value',
text: 'Advertisement', text: 'Default Value',
"data":"", "data":"",
"codename":"Item_1", "codename":"Item_1",
value: '1', value: '1',
disabled: false, disabled: false,
}, },
]
},
{
srfkey: 'YesNo',
emptytext: '未定义',
"codelisttype":"static",
items: [
{ {
id: '2', id: '1',
label: 'Employee Referral', label: '',
text: 'Employee Referral', text: '',
"data":"", "data":"",
"codename":"Item_2", "codename":"Item_1",
value: '2', value: 1,
disabled: false, disabled: false,
}, },
{ {
id: '3', id: '0',
label: 'External Referral', label: '',
text: 'External Referral', text: '',
"data":"", "data":"",
"codename":"Item_3", "codename":"Item_0",
value: '3', value: 0,
disabled: false, disabled: false,
}, },
]
},
{
srfkey: 'Task__PriorityCode',
emptytext: '未定义',
"codelisttype":"static",
items: [
{ {
id: '10', id: '2',
label: 'Other', label: 'High',
text: 'Other', text: 'High',
"data":"", "data":"",
"codename":"Item_10", "codename":"Item_2",
value: '10', value: '2',
disabled: false, disabled: false,
}, },
{ {
id: '4', id: '0',
label: 'Partner', label: 'Low',
text: 'Partner', text: 'Low',
"data":"", "data":"",
"codename":"Item_4", "codename":"Item_0",
value: '4', value: '0',
disabled: false, disabled: false,
}, },
{ {
id: '5', id: '1',
label: 'Public Relations', label: 'Normal',
text: 'Public Relations', text: 'Normal',
"data":"", "data":"",
"codename":"Item_5", "codename":"Item_1",
value: '5', value: '1',
disabled: false, disabled: false,
}, },
]
},
{
srfkey: 'Contact__FamilyStatusCode',
emptytext: '未定义',
"codelisttype":"static",
items: [
{ {
id: '6', id: '3',
label: 'Seminar', label: 'Divorced',
text: 'Seminar', text: 'Divorced',
"data":"", "data":"",
"codename":"Item_6", "codename":"Item_3",
value: '6', value: '3',
disabled: false, disabled: false,
}, },
{ {
id: '7', id: '2',
label: 'Trade Show', label: 'Married',
text: 'Trade Show', text: 'Married',
"data":"", "data":"",
"codename":"Item_7", "codename":"Item_2",
value: '7', value: '2',
disabled: false, disabled: false,
}, },
{ {
id: '8', id: '1',
label: 'Web', label: 'Single',
text: 'Web', text: 'Single',
"data":"", "data":"",
"codename":"Item_8", "codename":"Item_1",
value: '8', value: '1',
disabled: false, disabled: false,
}, },
{ {
id: '9', id: '4',
label: 'Word of Mouth', label: 'Widowed',
text: 'Word of Mouth', text: 'Widowed',
"data":"", "data":"",
"codename":"Item_9", "codename":"Item_4",
value: '9', value: '4',
disabled: false, disabled: false,
}, },
] ]
}, },
{ {
srfkey: 'Account__IndustryCode', srfkey: 'Account__CustomerTypeCode',
emptytext: '未定义', emptytext: '未定义',
"codelisttype":"static", "codelisttype":"static",
items: [ items: [
{ {
id: '1', id: '1',
label: 'Accounting', label: 'Competitor',
text: 'Accounting', text: 'Competitor',
"data":"", "data":"",
"codename":"Item_1", "codename":"Item_1",
value: '1', value: '1',
...@@ -1125,8 +1181,8 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -1125,8 +1181,8 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
}, },
{ {
id: '2', id: '2',
label: 'Agriculture and Non-petrol Natural Resource Extraction', label: 'Consultant',
text: 'Agriculture and Non-petrol Natural Resource Extraction', text: 'Consultant',
"data":"", "data":"",
"codename":"Item_2", "codename":"Item_2",
value: '2', value: '2',
...@@ -1135,18 +1191,28 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -1135,18 +1191,28 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
}, },
{ {
id: '3', id: '3',
label: 'Broadcasting Printing and Publishing', label: 'Customer',
text: 'Broadcasting Printing and Publishing', text: 'Customer',
"data":"", "data":"",
"codename":"Item_3", "codename":"Item_3",
value: '3', value: '3',
disabled: false, disabled: false,
}, },
{
id: '6',
label: 'Influencer',
text: 'Influencer',
"data":"",
"codename":"Item_6",
value: '6',
disabled: false,
},
{ {
id: '4', id: '4',
label: 'Brokers', label: 'Investor',
text: 'Brokers', text: 'Investor',
"data":"", "data":"",
"codename":"Item_4", "codename":"Item_4",
value: '4', value: '4',
...@@ -1154,29 +1220,29 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -1154,29 +1220,29 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
disabled: false, disabled: false,
}, },
{ {
id: '5', id: '12',
label: 'Building Supply Retail', label: 'Other',
text: 'Building Supply Retail', text: 'Other',
"data":"", "data":"",
"codename":"Item_5", "codename":"Item_12",
value: '5', value: '12',
disabled: false, disabled: false,
}, },
{ {
id: '6', id: '5',
label: 'Business Services', label: 'Partner',
text: 'Business Services', text: 'Partner',
"data":"", "data":"",
"codename":"Item_6", "codename":"Item_5",
value: '6', value: '5',
disabled: false, disabled: false,
}, },
{ {
id: '7', id: '7',
label: 'Consulting', label: 'Press',
text: 'Consulting', text: 'Press',
"data":"", "data":"",
"codename":"Item_7", "codename":"Item_7",
value: '7', value: '7',
...@@ -1185,8 +1251,8 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -1185,8 +1251,8 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
}, },
{ {
id: '8', id: '8',
label: 'Consumer Services', label: 'Prospect',
text: 'Consumer Services', text: 'Prospect',
"data":"", "data":"",
"codename":"Item_8", "codename":"Item_8",
value: '8', value: '8',
...@@ -1195,8 +1261,8 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -1195,8 +1261,8 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
}, },
{ {
id: '9', id: '9',
label: 'Design, Direction and Creative Management', label: 'Reseller',
text: 'Design, Direction and Creative Management', text: 'Reseller',
"data":"", "data":"",
"codename":"Item_9", "codename":"Item_9",
value: '9', value: '9',
...@@ -1205,8 +1271,8 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -1205,8 +1271,8 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
}, },
{ {
id: '10', id: '10',
label: 'Distributors, Dispatchers and Processors', label: 'Supplier',
text: 'Distributors, Dispatchers and Processors', text: 'Supplier',
"data":"", "data":"",
"codename":"Item_10", "codename":"Item_10",
value: '10', value: '10',
...@@ -1215,232 +1281,240 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -1215,232 +1281,240 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
}, },
{ {
id: '11', id: '11',
label: 'Doctors Offices and Clinics', label: 'Vendor',
text: 'Doctors Offices and Clinics', text: 'Vendor',
"data":"", "data":"",
"codename":"Item_11", "codename":"Item_11",
value: '11', value: '11',
disabled: false, disabled: false,
}, },
]
},
{
srfkey: 'Account__Address1_AddressTypeCode',
emptytext: '未定义',
"codelisttype":"static",
items: [
{ {
id: '12', id: '1',
label: 'Durable Manufacturing', label: 'Bill To',
text: 'Durable Manufacturing', text: 'Bill To',
"data":"",
"codename":"Item_12",
value: '12',
disabled: false,
},
{
id: '13',
label: 'Eating and Drinking Places',
text: 'Eating and Drinking Places',
"data":"",
"codename":"Item_13",
value: '13',
disabled: false,
},
{
id: '14',
label: 'Entertainment Retail',
text: 'Entertainment Retail',
"data":"", "data":"",
"codename":"Item_14", "codename":"Item_1",
value: '14', value: '1',
disabled: false, disabled: false,
}, },
{ {
id: '15', id: '4',
label: 'Equipment Rental and Leasing', label: 'Other',
text: 'Equipment Rental and Leasing', text: 'Other',
"data":"", "data":"",
"codename":"Item_15", "codename":"Item_4",
value: '15', value: '4',
disabled: false, disabled: false,
}, },
{ {
id: '16', id: '3',
label: 'Financial', label: 'Primary',
text: 'Financial', text: 'Primary',
"data":"", "data":"",
"codename":"Item_16", "codename":"Item_3",
value: '16', value: '3',
disabled: false, disabled: false,
}, },
{ {
id: '17', id: '2',
label: 'Food and Tobacco Processing', label: 'Ship To',
text: 'Food and Tobacco Processing', text: 'Ship To',
"data":"", "data":"",
"codename":"Item_17", "codename":"Item_2",
value: '17', value: '2',
disabled: false, disabled: false,
}, },
]
},
{
srfkey: 'Product__ProductTypeCode',
emptytext: '未定义',
"codelisttype":"static",
items: [
{ {
id: '18', id: '4',
label: 'Inbound Capital Intensive Processing', label: 'Flat Fees',
text: 'Inbound Capital Intensive Processing', text: 'Flat Fees',
"data":"", "data":"",
"codename":"Item_18", "codename":"Item_4",
value: '18', value: '4',
disabled: false, disabled: false,
}, },
{ {
id: '19', id: '2',
label: 'Inbound Repair and Services', label: 'Miscellaneous Charges',
text: 'Inbound Repair and Services', text: 'Miscellaneous Charges',
"data":"", "data":"",
"codename":"Item_19", "codename":"Item_2",
value: '19', value: '2',
disabled: false, disabled: false,
}, },
{ {
id: '20', id: '1',
label: 'Insurance', label: 'Sales Inventory',
text: 'Insurance', text: 'Sales Inventory',
"data":"", "data":"",
"codename":"Item_20", "codename":"Item_1",
value: '20', value: '1',
disabled: false, disabled: false,
}, },
{ {
id: '21', id: '3',
label: 'Legal Services', label: 'Services',
text: 'Legal Services', text: 'Services',
"data":"", "data":"",
"codename":"Item_21", "codename":"Item_3",
value: '21', value: '3',
disabled: false, disabled: false,
}, },
]
},
{
srfkey: 'Contact__GenderCode',
emptytext: '未定义',
"codelisttype":"static",
items: [
{ {
id: '22', id: '2',
label: 'Non-Durable Merchandise Retail', label: 'Female',
text: 'Non-Durable Merchandise Retail', text: 'Female',
"data":"", "data":"",
"codename":"Item_22", "codename":"Item_2",
value: '22', value: '2',
disabled: false, disabled: false,
}, },
{ {
id: '23', id: '1',
label: 'Outbound Consumer Service', label: 'Male',
text: 'Outbound Consumer Service', text: 'Male',
"data":"", "data":"",
"codename":"Item_23", "codename":"Item_1",
value: '23', value: '1',
disabled: false, disabled: false,
}, },
]
},
{
srfkey: 'FQG_ActivityPointer',
emptytext: '未定义',
"codelisttype":"static",
items: [
{ {
id: '24', id: 'ALL',
label: 'Petrochemical Extraction and Distribution', label: '全部活动',
text: 'Petrochemical Extraction and Distribution', text: '全部活动',
"data":"", "data":{},
"codename":"Item_24", "codename":"All",
value: '24', value: 'ALL',
disabled: false, disabled: false,
}, },
{ {
id: '25', id: 'TASK',
label: 'Service Retail', label: '任务',
text: 'Service Retail', text: '任务',
"data":"", "data":{"n_activitytypecode_eq":"TASK"},
"codename":"Item_25", "codename":"Task",
value: '25', value: 'TASK',
disabled: false, disabled: false,
}, },
{ {
id: '26', id: 'EMAIL',
label: 'SIG Affiliations', label: '电子邮件',
text: 'SIG Affiliations', text: '电子邮件',
"data":"", "data":{"n_activitytypecode_eq":"EMAIL"},
"codename":"Item_26", "codename":"Email",
value: '26', value: 'EMAIL',
disabled: false, disabled: false,
}, },
{ {
id: '27', id: 'APPOINTMENT',
label: 'Social Services', label: '约会',
text: 'Social Services', text: '约会',
"data":"", "data":{"n_activitytypecode_eq":"APPOINTMENT"},
"codename":"Item_27", "codename":"Appointment",
value: '27', value: 'APPOINTMENT',
disabled: false, disabled: false,
}, },
{ {
id: '28', id: 'PHONECALL',
label: 'Special Outbound Trade Contractors', label: '电话联络',
text: 'Special Outbound Trade Contractors', text: '电话联络',
"data":"", "data":{"n_activitytypecode_eq":"PHONECALL"},
"codename":"Item_28", "codename":"Phonecall",
value: '28', value: 'PHONECALL',
disabled: false, disabled: false,
}, },
{ {
id: '29', id: 'OTHER',
label: 'Specialty Realty', label: '其他',
text: 'Specialty Realty', text: '其他',
"data":"", "data":"",
"codename":"Item_29", "codename":"Other",
value: '29', value: 'OTHER',
disabled: false, disabled: false,
}, },
{ {
id: '30', id: 'LETTER',
label: 'Transportation', label: '信件',
text: 'Transportation', text: '信件',
"data":"", "data":{"n_activitytypecode_eq":"LETTER"},
"codename":"Item_30", "codename":"Letter",
value: '30', value: 'LETTER',
"pvalue": "OTHER",
disabled: false, disabled: false,
}, },
{ {
id: '31', id: 'FAX',
label: 'Utility Creation and Distribution', label: '传真',
text: 'Utility Creation and Distribution', text: '传真',
"data":"", "data":"",
"codename":"Item_31", "codename":"Fax",
value: '31', value: 'FAX',
"pvalue": "OTHER",
disabled: false, disabled: false,
}, },
{ {
id: '32', id: 'SERVICEAPPOINTMENT',
label: 'Vehicle Retail', label: '服务活动',
text: 'Vehicle Retail', text: '服务活动',
"data":"", "data":{"n_activitytypecode_eq":"SERVICEAPPOINTMENT"},
"codename":"Item_32", "codename":"Serviceappointment",
value: '32', value: 'SERVICEAPPOINTMENT',
"pvalue": "OTHER",
disabled: false, disabled: false,
}, },
{ {
id: '33', id: 'CAMPAIGNRESPONSE',
label: 'Wholesale', label: '市场活动响应',
text: 'Wholesale', text: '市场活动响应',
"data":"", "data":{"n_activitytypecode_eq":"CAMPAIGNRESPONSE"},
"codename":"Item_33", "codename":"Campaignresponse",
value: '33', value: 'CAMPAIGNRESPONSE',
"pvalue": "OTHER",
disabled: false, disabled: false,
}, },
] ]
...@@ -1525,43 +1599,6 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -1525,43 +1599,6 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
"codename":"Item_3", "codename":"Item_3",
value: '3', value: '3',
disabled: false,
},
]
},
{
srfkey: 'Phonecall__PriorityCode',
emptytext: '未定义',
"codelisttype":"static",
items: [
{
id: '2',
label: 'High',
text: 'High',
"data":"",
"codename":"Item_2",
value: '2',
disabled: false,
},
{
id: '0',
label: 'Low',
text: 'Low',
"data":"",
"codename":"Item_0",
value: '0',
disabled: false,
},
{
id: '1',
label: 'Normal',
text: 'Normal',
"data":"",
"codename":"Item_1",
value: '1',
disabled: false, disabled: false,
}, },
] ]
......
...@@ -12,7 +12,6 @@ export const PageComponents = { ...@@ -12,7 +12,6 @@ export const PageComponents = {
Vue.component('account-edit-view', () => import('@pages/base/account-edit-view/account-edit-view.vue')); Vue.component('account-edit-view', () => import('@pages/base/account-edit-view/account-edit-view.vue'));
Vue.component('list-contact-grid-view', () => import('@pages/marketing/list-contact-grid-view/list-contact-grid-view.vue')); Vue.component('list-contact-grid-view', () => import('@pages/marketing/list-contact-grid-view/list-contact-grid-view.vue'));
Vue.component('fax-edit-view', () => import('@pages/base/fax-edit-view/fax-edit-view.vue')); Vue.component('fax-edit-view', () => import('@pages/base/fax-edit-view/fax-edit-view.vue'));
Vue.component('lead-pickup-view', () => import('@pages/sales/lead-pickup-view/lead-pickup-view.vue'));
Vue.component('incident-edit-view', () => import('@pages/service/incident-edit-view/incident-edit-view.vue')); Vue.component('incident-edit-view', () => import('@pages/service/incident-edit-view/incident-edit-view.vue'));
Vue.component('campaign-list-grid-view', () => import('@pages/marketing/campaign-list-grid-view/campaign-list-grid-view.vue')); Vue.component('campaign-list-grid-view', () => import('@pages/marketing/campaign-list-grid-view/campaign-list-grid-view.vue'));
Vue.component('activity-pointer-edit-view', () => import('@pages/base/activity-pointer-edit-view/activity-pointer-edit-view.vue')); Vue.component('activity-pointer-edit-view', () => import('@pages/base/activity-pointer-edit-view/activity-pointer-edit-view.vue'));
...@@ -56,7 +55,6 @@ export const PageComponents = { ...@@ -56,7 +55,6 @@ export const PageComponents = {
Vue.component('sales-literature-edit-view', () => import('@pages/sales/sales-literature-edit-view/sales-literature-edit-view.vue')); Vue.component('sales-literature-edit-view', () => import('@pages/sales/sales-literature-edit-view/sales-literature-edit-view.vue'));
Vue.component('ibiz-list-info', () => import('@pages/marketing/ibiz-list-info/ibiz-list-info.vue')); Vue.component('ibiz-list-info', () => import('@pages/marketing/ibiz-list-info/ibiz-list-info.vue'));
Vue.component('ibiz-list-summary', () => import('@pages/marketing/ibiz-list-summary/ibiz-list-summary.vue')); Vue.component('ibiz-list-summary', () => import('@pages/marketing/ibiz-list-summary/ibiz-list-summary.vue'));
Vue.component('lead-pickup-grid-view', () => import('@pages/sales/lead-pickup-grid-view/lead-pickup-grid-view.vue'));
Vue.component('list-account-quick-create-by-list', () => import('@pages/marketing/list-account-quick-create-by-list/list-account-quick-create-by-list.vue')); Vue.component('list-account-quick-create-by-list', () => import('@pages/marketing/list-account-quick-create-by-list/list-account-quick-create-by-list.vue'));
Vue.component('list-lead-edit-view', () => import('@pages/marketing/list-lead-edit-view/list-lead-edit-view.vue')); Vue.component('list-lead-edit-view', () => import('@pages/marketing/list-lead-edit-view/list-lead-edit-view.vue'));
Vue.component('campaign-list-edit-view', () => import('@pages/marketing/campaign-list-edit-view/campaign-list-edit-view.vue')); Vue.component('campaign-list-edit-view', () => import('@pages/marketing/campaign-list-edit-view/campaign-list-edit-view.vue'));
......
...@@ -263,50 +263,6 @@ const router = new Router({ ...@@ -263,50 +263,6 @@ const router = new Router({
}, },
component: () => import('@pages/base/fax-edit-view/fax-edit-view.vue'), component: () => import('@pages/base/fax-edit-view/fax-edit-view.vue'),
}, },
{
path: 'contacts/:contact?/leads/:lead?/pickupview/:pickupview?',
meta: {
caption: 'entities.lead.views.pickupview.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'contacts', parameterName: 'contact' },
{ pathName: 'leads', parameterName: 'lead' },
{ pathName: 'pickupview', parameterName: 'pickupview' },
],
requireAuth: true,
},
component: () => import('@pages/sales/lead-pickup-view/lead-pickup-view.vue'),
},
{
path: 'campaigns/:campaign?/leads/:lead?/pickupview/:pickupview?',
meta: {
caption: 'entities.lead.views.pickupview.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'campaigns', parameterName: 'campaign' },
{ pathName: 'leads', parameterName: 'lead' },
{ pathName: 'pickupview', parameterName: 'pickupview' },
],
requireAuth: true,
},
component: () => import('@pages/sales/lead-pickup-view/lead-pickup-view.vue'),
},
{
path: 'leads/:lead?/pickupview/:pickupview?',
meta: {
caption: 'entities.lead.views.pickupview.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'leads', parameterName: 'lead' },
{ pathName: 'pickupview', parameterName: 'pickupview' },
],
requireAuth: true,
},
component: () => import('@pages/sales/lead-pickup-view/lead-pickup-view.vue'),
},
{ {
path: 'incidents/:incident?/editview/:editview?', path: 'incidents/:incident?/editview/:editview?',
meta: { meta: {
...@@ -1011,50 +967,6 @@ const router = new Router({ ...@@ -1011,50 +967,6 @@ const router = new Router({
}, },
component: () => import('@pages/marketing/campaign-response-quick-create/campaign-response-quick-create.vue'), component: () => import('@pages/marketing/campaign-response-quick-create/campaign-response-quick-create.vue'),
}, },
{
path: 'contacts/:contact?/leads/:lead?/pickupgridview/:pickupgridview?',
meta: {
caption: 'entities.lead.views.pickupgridview.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'contacts', parameterName: 'contact' },
{ pathName: 'leads', parameterName: 'lead' },
{ pathName: 'pickupgridview', parameterName: 'pickupgridview' },
],
requireAuth: true,
},
component: () => import('@pages/sales/lead-pickup-grid-view/lead-pickup-grid-view.vue'),
},
{
path: 'campaigns/:campaign?/leads/:lead?/pickupgridview/:pickupgridview?',
meta: {
caption: 'entities.lead.views.pickupgridview.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'campaigns', parameterName: 'campaign' },
{ pathName: 'leads', parameterName: 'lead' },
{ pathName: 'pickupgridview', parameterName: 'pickupgridview' },
],
requireAuth: true,
},
component: () => import('@pages/sales/lead-pickup-grid-view/lead-pickup-grid-view.vue'),
},
{
path: 'leads/:lead?/pickupgridview/:pickupgridview?',
meta: {
caption: 'entities.lead.views.pickupgridview.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'leads', parameterName: 'lead' },
{ pathName: 'pickupgridview', parameterName: 'pickupgridview' },
],
requireAuth: true,
},
component: () => import('@pages/sales/lead-pickup-grid-view/lead-pickup-grid-view.vue'),
},
{ {
path: 'ibizlists/:ibizlist?/listaccounts/:listaccount?/quickcreatebylist/:quickcreatebylist?', path: 'ibizlists/:ibizlist?/listaccounts/:listaccount?/quickcreatebylist/:quickcreatebylist?',
meta: { meta: {
...@@ -1965,47 +1877,6 @@ const router = new Router({ ...@@ -1965,47 +1877,6 @@ const router = new Router({
}, },
component: () => import('@pages/sales/lead-grid-view/lead-grid-view.vue'), component: () => import('@pages/sales/lead-grid-view/lead-grid-view.vue'),
}, },
{
path: '/contacts/:contact?/leads/:lead?/pickupview/:pickupview?',
meta: {
caption: 'entities.lead.views.pickupview.title',
info:'',
parameters: [
{ pathName: 'contacts', parameterName: 'contact' },
{ pathName: 'leads', parameterName: 'lead' },
{ pathName: 'pickupview', parameterName: 'pickupview' },
],
requireAuth: true,
},
component: () => import('@pages/sales/lead-pickup-view/lead-pickup-view.vue'),
},
{
path: '/campaigns/:campaign?/leads/:lead?/pickupview/:pickupview?',
meta: {
caption: 'entities.lead.views.pickupview.title',
info:'',
parameters: [
{ pathName: 'campaigns', parameterName: 'campaign' },
{ pathName: 'leads', parameterName: 'lead' },
{ pathName: 'pickupview', parameterName: 'pickupview' },
],
requireAuth: true,
},
component: () => import('@pages/sales/lead-pickup-view/lead-pickup-view.vue'),
},
{
path: '/leads/:lead?/pickupview/:pickupview?',
meta: {
caption: 'entities.lead.views.pickupview.title',
info:'',
parameters: [
{ pathName: 'leads', parameterName: 'lead' },
{ pathName: 'pickupview', parameterName: 'pickupview' },
],
requireAuth: true,
},
component: () => import('@pages/sales/lead-pickup-view/lead-pickup-view.vue'),
},
{ {
path: '/accounts/:account?/info_account/:info_account?', path: '/accounts/:account?/info_account/:info_account?',
meta: { meta: {
...@@ -2739,47 +2610,6 @@ const router = new Router({ ...@@ -2739,47 +2610,6 @@ const router = new Router({
}, },
component: () => import('@pages/sales/opportunity-edit-view/opportunity-edit-view.vue'), component: () => import('@pages/sales/opportunity-edit-view/opportunity-edit-view.vue'),
}, },
{
path: '/contacts/:contact?/leads/:lead?/pickupgridview/:pickupgridview?',
meta: {
caption: 'entities.lead.views.pickupgridview.title',
info:'',
parameters: [
{ pathName: 'contacts', parameterName: 'contact' },
{ pathName: 'leads', parameterName: 'lead' },
{ pathName: 'pickupgridview', parameterName: 'pickupgridview' },
],
requireAuth: true,
},
component: () => import('@pages/sales/lead-pickup-grid-view/lead-pickup-grid-view.vue'),
},
{
path: '/campaigns/:campaign?/leads/:lead?/pickupgridview/:pickupgridview?',
meta: {
caption: 'entities.lead.views.pickupgridview.title',
info:'',
parameters: [
{ pathName: 'campaigns', parameterName: 'campaign' },
{ pathName: 'leads', parameterName: 'lead' },
{ pathName: 'pickupgridview', parameterName: 'pickupgridview' },
],
requireAuth: true,
},
component: () => import('@pages/sales/lead-pickup-grid-view/lead-pickup-grid-view.vue'),
},
{
path: '/leads/:lead?/pickupgridview/:pickupgridview?',
meta: {
caption: 'entities.lead.views.pickupgridview.title',
info:'',
parameters: [
{ pathName: 'leads', parameterName: 'lead' },
{ pathName: 'pickupgridview', parameterName: 'pickupgridview' },
],
requireAuth: true,
},
component: () => import('@pages/sales/lead-pickup-grid-view/lead-pickup-grid-view.vue'),
},
{ {
path: '/centeralportal/:centeralportal?', path: '/centeralportal/:centeralportal?',
meta: { meta: {
......
...@@ -132,16 +132,6 @@ export const viewstate: any = { ...@@ -132,16 +132,6 @@ export const viewstate: any = {
'4745ca10fe4421ea043cb9ace1840224', '4745ca10fe4421ea043cb9ace1840224',
], ],
}, },
{
viewtag: '1bc48b15dbe69c5f30dafe489f58aacb',
viewmodule: 'Sales',
viewname: 'LeadPickupView',
viewaction: '',
viewdatachange: false,
refviews: [
'7d00f63c306adf3537efeabb3326095d',
],
},
{ {
viewtag: '1d3b94223a5d3f8ab1d2fe334c8c4afd', viewtag: '1d3b94223a5d3f8ab1d2fe334c8c4afd',
viewmodule: 'Base', viewmodule: 'Base',
...@@ -409,7 +399,6 @@ export const viewstate: any = { ...@@ -409,7 +399,6 @@ export const viewstate: any = {
viewaction: '', viewaction: '',
viewdatachange: false, viewdatachange: false,
refviews: [ refviews: [
'1bc48b15dbe69c5f30dafe489f58aacb',
], ],
}, },
{ {
...@@ -531,15 +520,6 @@ export const viewstate: any = { ...@@ -531,15 +520,6 @@ export const viewstate: any = {
refviews: [ refviews: [
], ],
}, },
{
viewtag: '7d00f63c306adf3537efeabb3326095d',
viewmodule: 'Sales',
viewname: 'LeadPickupGridView',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{ {
viewtag: '7FCD2E75-E34A-493C-922E-8AE47BCE08CA', viewtag: '7FCD2E75-E34A-493C-922E-8AE47BCE08CA',
viewmodule: 'Ungroup', viewmodule: 'Ungroup',
......
.studio-view.embed-view.view-container {
position: relative;
}
@import './studio-embed-view-style2-layout.less';
\ No newline at end of file
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core/decorators/VueLifeCycleProcessing';
import { StudioViewStyle2Base } from '../studio-view-style2/studio-view-style2-base';
import './studio-embed-view-style2.less';
/**
* 嵌入视图布局容器
*
* @export
* @class StudioEmbedViewStyle2
* @extends {Vue}
*/
@Component({})
@VueLifeCycleProcessing()
export class StudioEmbedViewStyle2 extends StudioViewStyle2Base {
/**
* 计算容器样式
*
* @protected
* @param {{ [str: string]: boolean }} [classNames] 样式名称对象
* @returns {{ [str: string]: boolean }}
* @memberof StudioEmbedViewStyle2
*/
protected getContainerClass(classNames?: { [str: string]: boolean }): { [str: string]: boolean } {
return super.getContainerClass({
'embed-view-style2': true
});
}
}
\ No newline at end of file
import { StudioViewBase } from '../studio-view/studio-view-base';
import './studio-view-style2.less';
/**
* 视图布局模式2
*
* @export
* @class StudioViewStyle2Base
* @extends {Vue}
*/
export class StudioViewStyle2Base extends StudioViewBase {
/**
* 组件创建完毕
*
* @memberof StudioViewStyle2Base
*/
public created(): void {
if (this.hiddenHeader) {
this.isShowHeader = false;
} else {
this.isShowHeader = (this.$slots.title || this.$slots.quickSearchForm || this.$slots.quickGroupSearch) ? true : false;
}
}
/**
* 容器样式
*
* @protected
* @param {{ [str: string]: boolean }} [classNames]
* @returns {{ [str: string]: boolean }}
* @memberof StudioViewStyle2Base
*/
protected getContainerClass(classNames?: { [str: string]: boolean }): { [str: string]: boolean } {
return super.getContainerClass({
'mode-style2': true
});
}
/**
* 绘制视图布局内容
*
* @protected
* @returns {*}
* @memberof StudioViewStyle2Base
*/
protected renderContent(): any {
return [
(this.$slots.toolbar || this.$slots.quickSearch) ? <div class="view-top">
{this.$slots.toolbar ? <div class="view-toolbar">{this.$slots.toolbar}</div> : null}
{this.$slots.quickSearch ? <div class="quick-search">
<transition name="opacity-transition">
{this.$slots.quickSearch}
</transition>
</div> : null}
</div> : null,
this.isShowHeader ? <div class="view-header">
{this.$slots.title ? <div class="title">{this.$slots.title}</div> : null}
{this.$slots.quickGroupSearch ? <div class="quick-group-search">
{this.$slots.quickGroupSearch}
</div> : null}
{this.$slots.quickSearchForm ? <div class="quick-search-form">{this.$slots.quickSearchForm}</div> : null}
</div> : null,
<div class={{ 'view-content': true, 'show-search-form': this.$slots.searchForm }}>
{this.$slots.searchForm ? <div class="search-form-wrapper">
<transition name="width-transition">
{this.$slots.searchForm}
</transition>
</div> : null}
<div class="content-wrapper">
{this.$slots.default}
</div>
</div>,
this.$slots.footer ? <div class="view-footer">
{this.$slots.footer}
</div> : null
];
}
}
\ No newline at end of file
...@@ -45,15 +45,34 @@ ...@@ -45,15 +45,34 @@
} }
} }
.view-search-wrapper {
flex-shrink: 0;
}
.view-content { .view-content {
flex-grow: 1; flex-grow: 1;
height: auto; height: auto;
} }
.view-content.show-search-form {
flex-direction: row;
overflow: hidden;
>.search-form-wrapper {
flex-shrink: 0;
overflow-y: auto;
overflow-x: hidden;
.app-search-form {
width: 300px;
height: 100%;
border-right: 1px solid var(--app-dividing-line-color-bright);
}
}
>.content-wrapper {
flex-grow: 1;
overflow-y: auto;
overflow-x: hidden;
}
}
.view-footer { .view-footer {
flex-shrink: 0; flex-shrink: 0;
} }
......
import { Component } from 'vue-property-decorator'; import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core'; import { VueLifeCycleProcessing } from '@/studio-core';
import { StudioViewBase } from '../studio-view/studio-view-base'; import { StudioViewStyle2Base } from './studio-view-style2-base';
import './studio-view-style2.less'; import './studio-view-style2.less';
/** /**
...@@ -12,67 +12,6 @@ import './studio-view-style2.less'; ...@@ -12,67 +12,6 @@ import './studio-view-style2.less';
*/ */
@Component({}) @Component({})
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
export class StudioViewStyle2 extends StudioViewBase { export class StudioViewStyle2 extends StudioViewStyle2Base {
/**
* 组件创建完毕
*
* @memberof StudioViewBase
*/
public created(): void {
if (this.hiddenHeader) {
this.isShowHeader = false;
} else {
this.isShowHeader = (this.$slots.title || this.$slots.quickSearchForm || this.$slots.quickGroupSearch) ? true : false;
}
}
/**
* 容器样式
*
* @protected
* @param {{ [str: string]: boolean }} [classNames]
* @returns {{ [str: string]: boolean }}
* @memberof StudioViewStyle2
*/
protected getContainerClass(classNames?: { [str: string]: boolean }): { [str: string]: boolean } {
return super.getContainerClass({
'mode-style2': true
});
}
/**
* 绘制视图布局内容
*
* @protected
* @returns {*}
* @memberof StudioViewStyle2
*/
protected renderContent(): any {
return [
(this.$slots.toolbar || this.$slots.quickSearch) ? <div class="view-top">
{this.$slots.toolbar ? <div class="view-toolbar">{this.$slots.toolbar}</div> : null}
{this.$slots.quickSearch ? <div class="quick-search">{this.$slots.quickSearch}</div> : null}
</div> : null,
this.isShowHeader ? <div class="view-header">
{this.$slots.title ? <div class="title">{this.$slots.title}</div> : null}
{this.$slots.quickGroupSearch ? <div class="quick-group-search">{this.$slots.quickGroupSearch}</div> : null}
{this.$slots.quickSearchForm ? <div class="quick-search-form">{this.$slots.quickSearchForm}</div> : null}
</div> : null,
this.$slots.searchForm ? <div class="view-search-wrapper">
<div class="search-form-wrapper">
{this.$slots.searchForm}
</div>
</div> : null,
<div class="view-content">
<div class="content-wrapper">
{this.$slots.default}
</div>
</div>,
this.$slots.footer ? <div class="view-footer">
{this.$slots.footer}
</div> : null
];
}
} }
\ No newline at end of file
...@@ -18,7 +18,7 @@ export class ViewToolbar extends Vue { ...@@ -18,7 +18,7 @@ export class ViewToolbar extends Vue {
* @type {('DEFAULT' | 'STYLE2')} * @type {('DEFAULT' | 'STYLE2')}
* @memberof ViewToolbar * @memberof ViewToolbar
*/ */
@Prop({ default: 'STYLE2' }) @Prop({ default: 'DEFAULT' })
public mode!: 'DEFAULT' | 'STYLE2'; public mode!: 'DEFAULT' | 'STYLE2';
/** /**
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
@import '../theme/app-dark.less'; @import '../theme/app-dark.less';
@import '../theme/app-light.less'; @import '../theme/app-light.less';
@import './var.css'; @import './var.css';
@import './vue-transition.less';
// 滚动条宽度 // 滚动条宽度
div::-webkit-scrollbar { div::-webkit-scrollbar {
......
.width-transition-enter-active,
.width-transition-leave-active {
transition: width .3s ease-in-out !important;
}
.width-transition-enter,
.width-transition-leave-to {
width: 0 !important;
}
.opacity-transition-enter-active,
.opacity-transition-leave-active {
transition: opacity .3s ease-in-out !important;
}
.opacity-transition-enter,
.opacity-transition-leave-to {
opacity: 0 !important;
}
\ No newline at end of file
<template> <template>
<div class='tabviewpanel'> <div class='tabviewpanel'>
<tabs :value="activiedTabViewPanel" :animated="false" class='tabexppanel' name='infotabexppanel' @on-click="tabPanelClick"> <tabs :value="activiedTabViewPanel" class='tabexppanel' name='infotabexppanel' @on-click="tabPanelClick">
<tab-pane :index="0" name='tabviewpanel' tab='infotabexppanel' class='' <tab-pane :index="0" name='tabviewpanel' tab='infotabexppanel' class=''
:label="(h) =>{ :label="(h) =>{
return h('div', [ return h('div', [
......
...@@ -218,7 +218,7 @@ export default class CentralModel { ...@@ -218,7 +218,7 @@ export default class CentralModel {
hidden: false, hidden: false,
hidesidebar: false, hidesidebar: false,
opendefault: false, opendefault: false,
iconcls: 'fa fa-paper-plane', iconcls: 'fa fa-file-o',
icon: '', icon: '',
textcls: '', textcls: '',
appfunctag: 'Auto9', appfunctag: 'Auto9',
......
<template> <template>
<div class='tabviewpanel'> <div class='tabviewpanel'>
<tabs :value="activiedTabViewPanel" :animated="false" class='tabexppanel' name='infotabexppanel' @on-click="tabPanelClick"> <tabs :value="activiedTabViewPanel" class='tabexppanel' name='infotabexppanel' @on-click="tabPanelClick">
<tab-pane :index="0" name='tabviewpanel' tab='infotabexppanel' class='' <tab-pane :index="0" name='tabviewpanel' tab='infotabexppanel' class=''
:label="(h) =>{ :label="(h) =>{
return h('div', [ return h('div', [
......
<template> <template>
<i-form :model="this.data" class='app-form' ref='form' id='contact_abstractinfo' style=""> <i-form :model="this.data" class='app-form info-form-mode' ref='form' id='contact_abstractinfo' style="">
<input style="display:none;" /> <input style="display:none;" />
<row > <row >
<i-col v-show="detailsModel.group1.visible" :style="{}" :lg="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.group1.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-group layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.group1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.contact.abstractinfo_form.details.group1')" :isShowCaption="false" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" > <app-form-group layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.group1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.contact.abstractinfo_form.details.group1')" :isShowCaption="false" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="true" >
<row> <row>
<i-col v-show="detailsModel.fullname.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }"> <i-col v-show="detailsModel.fullname.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='fullname' :itemRules="this.rules.fullname" class='' :caption="$t('entities.contact.abstractinfo_form.details.fullname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.fullname.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='fullname' :itemRules="this.rules.fullname" class='' :caption="$t('entities.contact.abstractinfo_form.details.fullname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.fullname.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.fullname" @enter="onEnter($event)" unit="" :disabled="detailsModel.fullname.disabled" type='text' style=""></input-box>
<app-span name='fullname' :value="data.fullname" :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
</app-form-item> </app-form-item>
</i-col> </i-col>
<i-col v-show="detailsModel.jobtitle.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }"> <i-col v-show="detailsModel.jobtitle.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='jobtitle' :itemRules="this.rules.jobtitle" class='' :caption="$t('entities.contact.abstractinfo_form.details.jobtitle')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.jobtitle.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='jobtitle' :itemRules="this.rules.jobtitle" class='' :caption="$t('entities.contact.abstractinfo_form.details.jobtitle')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.jobtitle.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.jobtitle" @enter="onEnter($event)" unit="" :disabled="detailsModel.jobtitle.disabled" type='text' style=""></input-box>
<app-span name='jobtitle' :value="data.jobtitle" :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
</app-form-item> </app-form-item>
</i-col> </i-col>
<i-col v-show="detailsModel.emailaddress1.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }"> <i-col v-show="detailsModel.emailaddress1.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='emailaddress1' :itemRules="this.rules.emailaddress1" class='' :caption="$t('entities.contact.abstractinfo_form.details.emailaddress1')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.emailaddress1.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='emailaddress1' :itemRules="this.rules.emailaddress1" class='' :caption="$t('entities.contact.abstractinfo_form.details.emailaddress1')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.emailaddress1.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.emailaddress1" @enter="onEnter($event)" unit="" :disabled="detailsModel.emailaddress1.disabled" type='text' style=""></input-box>
<app-span name='emailaddress1' :value="data.emailaddress1" :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
</app-form-item> </app-form-item>
</i-col> </i-col>
<i-col v-show="detailsModel.telephone1.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }"> <i-col v-show="detailsModel.telephone1.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='telephone1' :itemRules="this.rules.telephone1" class='' :caption="$t('entities.contact.abstractinfo_form.details.telephone1')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.telephone1.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='telephone1' :itemRules="this.rules.telephone1" class='' :caption="$t('entities.contact.abstractinfo_form.details.telephone1')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.telephone1.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.telephone1" @enter="onEnter($event)" unit="" :disabled="detailsModel.telephone1.disabled" type='text' style=""></input-box>
<app-span name='telephone1' :value="data.telephone1" :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
</app-form-item> </app-form-item>
</i-col> </i-col>
<i-col v-show="detailsModel.mobilephone.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }"> <i-col v-show="detailsModel.mobilephone.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='mobilephone' :itemRules="this.rules.mobilephone" class='' :caption="$t('entities.contact.abstractinfo_form.details.mobilephone')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.mobilephone.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='mobilephone' :itemRules="this.rules.mobilephone" class='' :caption="$t('entities.contact.abstractinfo_form.details.mobilephone')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.mobilephone.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.mobilephone" @enter="onEnter($event)" unit="" :disabled="detailsModel.mobilephone.disabled" type='text' style=""></input-box>
<app-span name='mobilephone' :value="data.mobilephone" :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
</app-form-item> </app-form-item>
</i-col> </i-col>
<i-col v-show="detailsModel.fax.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }"> <i-col v-show="detailsModel.fax.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='fax' :itemRules="this.rules.fax" class='' :caption="$t('entities.contact.abstractinfo_form.details.fax')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.fax.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='fax' :itemRules="this.rules.fax" class='' :caption="$t('entities.contact.abstractinfo_form.details.fax')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.fax.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.fax" @enter="onEnter($event)" unit="" :disabled="detailsModel.fax.disabled" type='text' style=""></input-box>
<app-span name='fax' :value="data.fax" :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
</app-form-item> </app-form-item>
</i-col> </i-col>
...@@ -453,8 +459,8 @@ export default class AbstractInfoBase extends Vue implements ControlInterface { ...@@ -453,8 +459,8 @@ export default class AbstractInfoBase extends Vue implements ControlInterface {
fullname: [ fullname: [
{ type: 'string', message: '全名 值必须为字符串类型', trigger: 'change' }, { type: 'string', message: '全名 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '全名 值必须为字符串类型', trigger: 'blur' }, { type: 'string', message: '全名 值必须为字符串类型', trigger: 'blur' },
{ required: true, type: 'string', message: '全名 值不能为空', trigger: 'change' }, { required: false, type: 'string', message: '全名 值不能为空', trigger: 'change' },
{ required: true, type: 'string', message: '全名 值不能为空', trigger: 'blur' }, { required: false, type: 'string', message: '全名 值不能为空', trigger: 'blur' },
], ],
jobtitle: [ jobtitle: [
{ type: 'string', message: '职务 值必须为字符串类型', trigger: 'change' }, { type: 'string', message: '职务 值必须为字符串类型', trigger: 'change' },
......
<template> <template>
<i-form :model="this.data" class='app-form' ref='form' id='contact_address' style=""> <i-form :model="this.data" class='app-form info-form-mode' ref='form' id='contact_address' style="">
<input style="display:none;" /> <input style="display:none;" />
<row > <row >
<i-col v-show="detailsModel.group1.visible" :style="{}" :lg="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.group1.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-group layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.group1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.contact.address_form.details.group1')" :isShowCaption="false" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" > <app-form-group layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.group1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.contact.address_form.details.group1')" :isShowCaption="false" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="true" >
<row> <row>
<i-col v-show="detailsModel.address1_country.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }"> <i-col v-show="detailsModel.address1_country.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='address1_country' :itemRules="this.rules.address1_country" class='' :caption="$t('entities.contact.address_form.details.address1_country')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.address1_country.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='address1_country' :itemRules="this.rules.address1_country" class='' :caption="$t('entities.contact.address_form.details.address1_country')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.address1_country.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.address1_country" @enter="onEnter($event)" unit="" :disabled="detailsModel.address1_country.disabled" type='text' style=""></input-box>
<app-span name='address1_country' :value="data.address1_country" :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
</app-form-item> </app-form-item>
</i-col> </i-col>
<i-col v-show="detailsModel.address1_stateorprovince.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }"> <i-col v-show="detailsModel.address1_stateorprovince.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='address1_stateorprovince' :itemRules="this.rules.address1_stateorprovince" class='' :caption="$t('entities.contact.address_form.details.address1_stateorprovince')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.address1_stateorprovince.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='address1_stateorprovince' :itemRules="this.rules.address1_stateorprovince" class='' :caption="$t('entities.contact.address_form.details.address1_stateorprovince')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.address1_stateorprovince.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.address1_stateorprovince" @enter="onEnter($event)" unit="" :disabled="detailsModel.address1_stateorprovince.disabled" type='text' style=""></input-box>
<app-span name='address1_stateorprovince' :value="data.address1_stateorprovince" :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
</app-form-item> </app-form-item>
</i-col> </i-col>
<i-col v-show="detailsModel.address1_city.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }"> <i-col v-show="detailsModel.address1_city.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='address1_city' :itemRules="this.rules.address1_city" class='' :caption="$t('entities.contact.address_form.details.address1_city')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.address1_city.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='address1_city' :itemRules="this.rules.address1_city" class='' :caption="$t('entities.contact.address_form.details.address1_city')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.address1_city.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.address1_city" @enter="onEnter($event)" unit="" :disabled="detailsModel.address1_city.disabled" type='text' style=""></input-box>
<app-span name='address1_city' :value="data.address1_city" :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
</app-form-item> </app-form-item>
</i-col> </i-col>
<i-col v-show="detailsModel.address1_line1.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }"> <i-col v-show="detailsModel.address1_line1.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='address1_line1' :itemRules="this.rules.address1_line1" class='' :caption="$t('entities.contact.address_form.details.address1_line1')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.address1_line1.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='address1_line1' :itemRules="this.rules.address1_line1" class='' :caption="$t('entities.contact.address_form.details.address1_line1')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.address1_line1.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.address1_line1" @enter="onEnter($event)" unit="" :disabled="detailsModel.address1_line1.disabled" type='text' style=""></input-box>
<app-span name='address1_line1' :value="data.address1_line1" :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
</app-form-item> </app-form-item>
</i-col> </i-col>
<i-col v-show="detailsModel.address1_postalcode.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }"> <i-col v-show="detailsModel.address1_postalcode.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='address1_postalcode' :itemRules="this.rules.address1_postalcode" class='' :caption="$t('entities.contact.address_form.details.address1_postalcode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.address1_postalcode.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='address1_postalcode' :itemRules="this.rules.address1_postalcode" class='' :caption="$t('entities.contact.address_form.details.address1_postalcode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.address1_postalcode.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.address1_postalcode" @enter="onEnter($event)" unit="" :disabled="detailsModel.address1_postalcode.disabled" type='text' style=""></input-box>
<app-span name='address1_postalcode' :value="data.address1_postalcode" :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
</app-form-item> </app-form-item>
</i-col> </i-col>
......
<template> <template>
<i-form :model="this.data" class='app-form' ref='form' id='contact_market' style=""> <i-form :model="this.data" class='app-form info-form-mode' ref='form' id='contact_market' style="">
<input style="display:none;" /> <input style="display:none;" />
<row > <row >
<i-col v-show="detailsModel.group1.visible" :style="{}" :lg="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.group1.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-group layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.group1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.contact.market_form.details.group1')" :isShowCaption="false" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" > <app-form-group layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.group1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.contact.market_form.details.group1')" :isShowCaption="false" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="true" >
<row> <row>
<i-col v-show="detailsModel.originatingleadname.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }"> <i-col v-show="detailsModel.originatingleadname.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='originatingleadname' :itemRules="this.rules.originatingleadname" class='' :caption="$t('entities.contact.market_form.details.originatingleadname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.originatingleadname.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='originatingleadname' :itemRules="this.rules.originatingleadname" class='' :caption="$t('entities.contact.market_form.details.originatingleadname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.originatingleadname.error" :isEmptyCaption="false" labelPos="LEFT">
<app-picker <app-span name='originatingleadname' :value="data.originatingleadname" :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
:formState="formState"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.originatingleadname.disabled"
name='originatingleadname'
deMajorField='fullname'
deKeyField='lead'
:service="service"
:acParams="{ serviceName: 'LeadService', interfaceName: 'FetchDefault'}"
valueitem='originatingleadid'
:value="data.originatingleadname"
editortype=""
:pickupView="{ viewname: 'lead-pickup-view', title: $t('entities.lead.views.pickupview.title'), deResParameters: [{ pathName: 'campaigns', parameterName: 'campaign' }, ], parameters: [{ pathName: 'leads', parameterName: 'lead' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
style=""
@formitemvaluechange="onFormItemValueChange">
</app-picker>
</app-form-item> </app-form-item>
</i-col> </i-col>
<i-col v-show="detailsModel.lastusedincampaign.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }"> <i-col v-show="detailsModel.lastusedincampaign.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='lastusedincampaign' :itemRules="this.rules.lastusedincampaign" class='' :caption="$t('entities.contact.market_form.details.lastusedincampaign')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.lastusedincampaign.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='lastusedincampaign' :itemRules="this.rules.lastusedincampaign" class='' :caption="$t('entities.contact.market_form.details.lastusedincampaign')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.lastusedincampaign.error" :isEmptyCaption="false" labelPos="LEFT">
<date-picker type="datetime" :transfer="true" format="yyyy-MM-dd HH:mm:ss" placeholder="请选择时间..." :value="data.lastusedincampaign" :disabled="detailsModel.lastusedincampaign.disabled" style="min-width: 150px; width:160px;" @on-change="(val1, val2) => { this.data.lastusedincampaign = val1 }"></date-picker>
<app-span name='lastusedincampaign' :value="data.lastusedincampaign" :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
</app-form-item> </app-form-item>
</i-col> </i-col>
<i-col v-show="detailsModel.donotsendmm.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }"> <i-col v-show="detailsModel.donotsendmm.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='donotsendmm' :itemRules="this.rules.donotsendmm" class='' :caption="$t('entities.contact.market_form.details.donotsendmm')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.donotsendmm.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='donotsendmm' :itemRules="this.rules.donotsendmm" class='' :caption="$t('entities.contact.market_form.details.donotsendmm')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.donotsendmm.error" :isEmptyCaption="false" labelPos="LEFT">
<dropdown-list <app-span name='donotsendmm' :value="data.donotsendmm" tag='YesNo' codelistType='STATIC' :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
v-model="data.donotsendmm"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.donotsendmm.disabled"
style="width:100px;width: 100px;"
tag='YesNo'
codelistType='STATIC'
placeholder='请选择...'>
</dropdown-list>
</app-form-item> </app-form-item>
</i-col> </i-col>
<i-col v-show="detailsModel.shippingmethodcode.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }"> <i-col v-show="detailsModel.shippingmethodcode.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='shippingmethodcode' :itemRules="this.rules.shippingmethodcode" class='' :caption="$t('entities.contact.market_form.details.shippingmethodcode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.shippingmethodcode.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='shippingmethodcode' :itemRules="this.rules.shippingmethodcode" class='' :caption="$t('entities.contact.market_form.details.shippingmethodcode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.shippingmethodcode.error" :isEmptyCaption="false" labelPos="LEFT">
<dropdown-list <app-span name='shippingmethodcode' :value="data.shippingmethodcode" tag='Contact__ShippingMethodCode' codelistType='STATIC' :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
v-model="data.shippingmethodcode"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.shippingmethodcode.disabled"
tag='Contact__ShippingMethodCode'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
</app-form-item> </app-form-item>
</i-col> </i-col>
...@@ -391,7 +349,6 @@ export default class MarketBase extends Vue implements ControlInterface { ...@@ -391,7 +349,6 @@ export default class MarketBase extends Vue implements ControlInterface {
lastusedincampaign: null, lastusedincampaign: null,
donotsendmm: null, donotsendmm: null,
shippingmethodcode: null, shippingmethodcode: null,
originatingleadid: null,
contactid: null, contactid: null,
contact:null, contact:null,
}; };
...@@ -496,10 +453,10 @@ export default class MarketBase extends Vue implements ControlInterface { ...@@ -496,10 +453,10 @@ export default class MarketBase extends Vue implements ControlInterface {
{ required: false, type: 'string', message: '上次参与市场活动的日期 值不能为空', trigger: 'blur' }, { required: false, type: 'string', message: '上次参与市场活动的日期 值不能为空', trigger: 'blur' },
], ],
donotsendmm: [ donotsendmm: [
{ type: 'number', message: '发送市场营销资料 值必须为数值类型', trigger: 'change' }, { type: 'string', message: '发送市场营销资料 值必须为字符串类型', trigger: 'change' },
{ type: 'number', message: '发送市场营销资料 值必须为数值类型', trigger: 'blur' }, { type: 'string', message: '发送市场营销资料 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'number', message: '发送市场营销资料 值不能为空', trigger: 'change' }, { required: false, type: 'string', message: '发送市场营销资料 值不能为空', trigger: 'change' },
{ required: false, type: 'number', message: '发送市场营销资料 值不能为空', trigger: 'blur' }, { required: false, type: 'string', message: '发送市场营销资料 值不能为空', trigger: 'blur' },
], ],
shippingmethodcode: [ shippingmethodcode: [
{ type: 'string', message: '送货方式 值必须为字符串类型', trigger: 'change' }, { type: 'string', message: '送货方式 值必须为字符串类型', trigger: 'change' },
...@@ -507,12 +464,6 @@ export default class MarketBase extends Vue implements ControlInterface { ...@@ -507,12 +464,6 @@ export default class MarketBase extends Vue implements ControlInterface {
{ required: false, type: 'string', message: '送货方式 值不能为空', trigger: 'change' }, { required: false, type: 'string', message: '送货方式 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '送货方式 值不能为空', trigger: 'blur' }, { required: false, type: 'string', message: '送货方式 值不能为空', trigger: 'blur' },
], ],
originatingleadid: [
{ type: 'string', message: '原始潜在顾客 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '原始潜在顾客 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '原始潜在顾客 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '原始潜在顾客 值不能为空', trigger: 'blur' },
],
contactid: [ contactid: [
{ type: 'string', message: '联系人 值必须为字符串类型', trigger: 'change' }, { type: 'string', message: '联系人 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '联系人 值必须为字符串类型', trigger: 'blur' }, { type: 'string', message: '联系人 值必须为字符串类型', trigger: 'blur' },
...@@ -555,8 +506,6 @@ export default class MarketBase extends Vue implements ControlInterface { ...@@ -555,8 +506,6 @@ export default class MarketBase extends Vue implements ControlInterface {
donotsendmm: new FormItemModel({ caption: '发送市场营销资料', detailType: 'FORMITEM', name: 'donotsendmm', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 }) donotsendmm: new FormItemModel({ caption: '发送市场营销资料', detailType: 'FORMITEM', name: 'donotsendmm', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
, ,
shippingmethodcode: new FormItemModel({ caption: '送货方式', detailType: 'FORMITEM', name: 'shippingmethodcode', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 }) shippingmethodcode: new FormItemModel({ caption: '送货方式', detailType: 'FORMITEM', name: 'shippingmethodcode', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
originatingleadid: new FormItemModel({ caption: '原始潜在顾客', detailType: 'FORMITEM', name: 'originatingleadid', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 1 })
, ,
contactid: new FormItemModel({ caption: '联系人', detailType: 'FORMITEM', name: 'contactid', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 1 }) contactid: new FormItemModel({ caption: '联系人', detailType: 'FORMITEM', name: 'contactid', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 1 })
, ,
...@@ -706,18 +655,6 @@ export default class MarketBase extends Vue implements ControlInterface { ...@@ -706,18 +655,6 @@ export default class MarketBase extends Vue implements ControlInterface {
this.formDataChange({ name: 'shippingmethodcode', newVal: newVal, oldVal: oldVal }); this.formDataChange({ name: 'shippingmethodcode', newVal: newVal, oldVal: oldVal });
} }
/**
* 监控表单属性 originatingleadid 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Market
*/
@Watch('data.originatingleadid')
onOriginatingleadidChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'originatingleadid', newVal: newVal, oldVal: oldVal });
}
/** /**
* 监控表单属性 contactid 值 * 监控表单属性 contactid 值
* *
...@@ -781,7 +718,6 @@ export default class MarketBase extends Vue implements ControlInterface { ...@@ -781,7 +718,6 @@ export default class MarketBase extends Vue implements ControlInterface {
} }
/** /**
......
...@@ -75,11 +75,6 @@ export default class MarketModel { ...@@ -75,11 +75,6 @@ export default class MarketModel {
prop: 'shippingmethodcode', prop: 'shippingmethodcode',
dataType: 'SSCODELIST', dataType: 'SSCODELIST',
}, },
{
name: 'originatingleadid',
prop: 'originatingleadid',
dataType: 'PICKUP',
},
{ {
name: 'contactid', name: 'contactid',
prop: 'contactid', prop: 'contactid',
......
...@@ -2,7 +2,6 @@ import { Http,Util,Errorlog } from '@/utils'; ...@@ -2,7 +2,6 @@ import { Http,Util,Errorlog } from '@/utils';
import ControlService from '@/widgets/control-service'; import ControlService from '@/widgets/control-service';
import ContactService from '@/service/contact/contact-service'; import ContactService from '@/service/contact/contact-service';
import MarketModel from './market-form-model'; import MarketModel from './market-form-model';
import LeadService from '@/service/lead/lead-service';
/** /**
...@@ -42,14 +41,6 @@ export default class MarketService extends ControlService { ...@@ -42,14 +41,6 @@ export default class MarketService extends ControlService {
this.model = new MarketModel(); this.model = new MarketModel();
} }
/**
* 潜在顾客服务对象
*
* @type {LeadService}
* @memberof MarketService
*/
public leadService: LeadService = new LeadService();
/** /**
* 处理数据 * 处理数据
* *
...@@ -89,9 +80,6 @@ export default class MarketService extends ControlService { ...@@ -89,9 +80,6 @@ export default class MarketService extends ControlService {
*/ */
@Errorlog @Errorlog
public getItems(serviceName: string, interfaceName: string, context: any = {}, data: any, isloading?: boolean): Promise<any[]> { public getItems(serviceName: string, interfaceName: string, context: any = {}, data: any, isloading?: boolean): Promise<any[]> {
if (Object.is(serviceName, 'LeadService') && Object.is(interfaceName, 'FetchDefault')) {
return this.doItems(this.leadService.FetchDefault(JSON.parse(JSON.stringify(context)),data, isloading), 'leadid', 'lead');
}
return Promise.reject([]) return Promise.reject([])
} }
......
<template> <template>
<i-form :model="this.data" class='app-form' ref='form' id='contact_personinfo' style=""> <i-form :model="this.data" class='app-form info-form-mode' ref='form' id='contact_personinfo' style="">
<input style="display:none;" /> <input style="display:none;" />
<row > <row >
<i-col v-show="detailsModel.group1.visible" :style="{}" :lg="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.group1.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-group layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.group1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.contact.personinfo_form.details.group1')" :isShowCaption="false" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" > <app-form-group layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.group1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.contact.personinfo_form.details.group1')" :isShowCaption="false" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="true" >
<row> <row>
<i-col v-show="detailsModel.gendercode.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }"> <i-col v-show="detailsModel.gendercode.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='gendercode' :itemRules="this.rules.gendercode" class='' :caption="$t('entities.contact.personinfo_form.details.gendercode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.gendercode.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='gendercode' :itemRules="this.rules.gendercode" class='' :caption="$t('entities.contact.personinfo_form.details.gendercode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.gendercode.error" :isEmptyCaption="false" labelPos="LEFT">
<dropdown-list <app-span name='gendercode' :value="data.gendercode" tag='Contact__GenderCode' codelistType='STATIC' :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
v-model="data.gendercode"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.gendercode.disabled"
tag='Contact__GenderCode'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
</app-form-item> </app-form-item>
</i-col> </i-col>
<i-col v-show="detailsModel.familystatuscode.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }"> <i-col v-show="detailsModel.familystatuscode.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='familystatuscode' :itemRules="this.rules.familystatuscode" class='' :caption="$t('entities.contact.personinfo_form.details.familystatuscode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.familystatuscode.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='familystatuscode' :itemRules="this.rules.familystatuscode" class='' :caption="$t('entities.contact.personinfo_form.details.familystatuscode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.familystatuscode.error" :isEmptyCaption="false" labelPos="LEFT">
<dropdown-list <app-span name='familystatuscode' :value="data.familystatuscode" tag='Contact__FamilyStatusCode' codelistType='STATIC' :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
v-model="data.familystatuscode"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.familystatuscode.disabled"
tag='Contact__FamilyStatusCode'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
</app-form-item> </app-form-item>
</i-col> </i-col>
<i-col v-show="detailsModel.spousesname.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }"> <i-col v-show="detailsModel.spousesname.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='spousesname' :itemRules="this.rules.spousesname" class='' :caption="$t('entities.contact.personinfo_form.details.spousesname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.spousesname.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='spousesname' :itemRules="this.rules.spousesname" class='' :caption="$t('entities.contact.personinfo_form.details.spousesname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.spousesname.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.spousesname" @enter="onEnter($event)" unit="" :disabled="detailsModel.spousesname.disabled" type='text' style=""></input-box>
<app-span name='spousesname' :value="data.spousesname" :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
</app-form-item> </app-form-item>
</i-col> </i-col>
<i-col v-show="detailsModel.birthdate.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }"> <i-col v-show="detailsModel.birthdate.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='birthdate' :itemRules="this.rules.birthdate" class='' :caption="$t('entities.contact.personinfo_form.details.birthdate')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.birthdate.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='birthdate' :itemRules="this.rules.birthdate" class='' :caption="$t('entities.contact.personinfo_form.details.birthdate')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.birthdate.error" :isEmptyCaption="false" labelPos="LEFT">
<date-picker type="datetime" :transfer="true" format="yyyy-MM-dd HH:mm:ss" placeholder="请选择时间..." :value="data.birthdate" :disabled="detailsModel.birthdate.disabled" style="min-width: 150px; width:160px;" @on-change="(val1, val2) => { this.data.birthdate = val1 }"></date-picker>
<app-span name='birthdate' :value="data.birthdate" :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
</app-form-item> </app-form-item>
</i-col> </i-col>
<i-col v-show="detailsModel.anniversary.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }"> <i-col v-show="detailsModel.anniversary.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='anniversary' :itemRules="this.rules.anniversary" class='' :caption="$t('entities.contact.personinfo_form.details.anniversary')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.anniversary.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='anniversary' :itemRules="this.rules.anniversary" class='' :caption="$t('entities.contact.personinfo_form.details.anniversary')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.anniversary.error" :isEmptyCaption="false" labelPos="LEFT">
<date-picker type="datetime" :transfer="true" format="yyyy-MM-dd HH:mm:ss" placeholder="请选择时间..." :value="data.anniversary" :disabled="detailsModel.anniversary.disabled" style="min-width: 150px; width:160px;" @on-change="(val1, val2) => { this.data.anniversary = val1 }"></date-picker>
<app-span name='anniversary' :value="data.anniversary" :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
</app-form-item> </app-form-item>
</i-col> </i-col>
<i-col v-show="detailsModel.description.visible" :style="{}" :md="{ span: 24, offset: 0 }" :lg="{ span: 24, offset: 0 }" :xl="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.description.visible" :style="{}" :md="{ span: 24, offset: 0 }" :lg="{ span: 24, offset: 0 }" :xl="{ span: 24, offset: 0 }">
<app-form-item name='description' :itemRules="this.rules.description" class='' :caption="$t('entities.contact.personinfo_form.details.description')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.description.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='description' :itemRules="this.rules.description" class='' :caption="$t('entities.contact.personinfo_form.details.description')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.description.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.description" @enter="onEnter($event)" unit="" :disabled="detailsModel.description.disabled" type='text' style=""></input-box>
<app-span name='description' :value="data.description" :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
</app-form-item> </app-form-item>
</i-col> </i-col>
......
<template> <template>
<div class='tabviewpanel'> <div class='tabviewpanel'>
<tabs :value="activiedTabViewPanel" :animated="false" class='tabexppanel' name='tabexpviewtabexppanel' @on-click="tabPanelClick"> <tabs :value="activiedTabViewPanel" class='tabexppanel' name='tabexpviewtabexppanel' @on-click="tabPanelClick">
<tab-pane :index="0" name='tabviewpanel' tab='tabexpviewtabexppanel' class='' <tab-pane :index="0" name='tabviewpanel' tab='tabexpviewtabexppanel' class=''
:label="(h) =>{ :label="(h) =>{
return h('div', [ return h('div', [
...@@ -33,6 +33,12 @@ ...@@ -33,6 +33,12 @@
<tab-pane :index="1" name='tabviewpanel4' tab='tabexpviewtabexppanel' class='' <tab-pane :index="1" name='tabviewpanel4' tab='tabexpviewtabexppanel' class=''
:label="(h) =>{ :label="(h) =>{
return h('div', [ return h('div', [
h('i',{
class:'fa fa-paper-plane',
style:{
'margin-right' : '2px'
}
}),
h('span', '活动'), h('span', '活动'),
h('Badge', { h('Badge', {
props: { props: {
...@@ -85,6 +91,12 @@ ...@@ -85,6 +91,12 @@
<tab-pane :index="3" name='tabviewpanel3' tab='tabexpviewtabexppanel' class='' <tab-pane :index="3" name='tabviewpanel3' tab='tabexpviewtabexppanel' class=''
:label="(h) =>{ :label="(h) =>{
return h('div', [ return h('div', [
h('i',{
class:'fa fa-question',
style:{
'margin-right' : '2px'
}
}),
h('span', '商机'), h('span', '商机'),
h('Badge', { h('Badge', {
props: { props: {
......
<template> <template>
<div class='tabviewpanel'> <div class='tabviewpanel'>
<tabs :value="activiedTabViewPanel" :animated="false" class='tabexppanel' name='infotabexppanel' @on-click="tabPanelClick"> <tabs :value="activiedTabViewPanel" class='tabexppanel' name='infotabexppanel' @on-click="tabPanelClick">
<tab-pane :index="0" name='tabviewpanel' tab='infotabexppanel' class='' <tab-pane :index="0" name='tabviewpanel' tab='infotabexppanel' class=''
:label="(h) =>{ :label="(h) =>{
return h('div', [ return h('div', [
......
...@@ -35,29 +35,55 @@ ...@@ -35,29 +35,55 @@
</template> </template>
</el-table-column> </el-table-column>
</template> </template>
<template v-if="getColumnState('updateman')"> <template v-if="getColumnState('type')">
<el-table-column show-overflow-tooltip :prop="'updateman'" :label="$t('entities.ibizlist.main_grid.columns.updateman')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'type'" :label="$t('entities.ibizlist.main_grid.columns.type')" :width="100" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibizlist.main_grid.columns.updateman')}} {{$t('entities.ibizlist.main_grid.columns.type')}}
</span> </span>
</template> </template>
<template v-slot="{row,column,$index}"> <template v-slot="{row,column,$index}">
<template > <template >
<codelist :value="row.updateman" tag='SysOperator' codelistType='DYNAMIC' ></codelist> <codelist :value="row.type" tag='YesNo' codelistType='STATIC' ></codelist>
</template> </template>
</template> </template>
</el-table-column> </el-table-column>
</template> </template>
<template v-if="getColumnState('updatedate')"> <template v-if="getColumnState('createdfromcode')">
<el-table-column show-overflow-tooltip :prop="'updatedate'" :label="$t('entities.ibizlist.main_grid.columns.updatedate')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'createdfromcode'" :label="$t('entities.ibizlist.main_grid.columns.createdfromcode')" :width="100" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibizlist.main_grid.columns.updatedate')}} {{$t('entities.ibizlist.main_grid.columns.createdfromcode')}}
</span> </span>
</template> </template>
<template v-slot="{row,column,$index}"> <template v-slot="{row,column,$index}">
<app-format-data format="YYYY-MM-DD hh:mm:ss" :data="row.updatedate"></app-format-data> <template >
<codelist :value="row.createdfromcode" tag='List__CreatedFromCode' codelistType='STATIC' ></codelist>
</template>
</template>
</el-table-column>
</template>
<template v-if="getColumnState('lastusedon')">
<el-table-column show-overflow-tooltip :prop="'lastusedon'" :label="$t('entities.ibizlist.main_grid.columns.lastusedon')" :width="200" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibizlist.main_grid.columns.lastusedon')}}
</span>
</template>
<template v-slot="{row,column,$index}">
<app-format-data format="YYYY-MM-DD hh:mm:ss" :data="row.lastusedon"></app-format-data>
</template>
</el-table-column>
</template>
<template v-if="getColumnState('purpose')">
<el-table-column show-overflow-tooltip :prop="'purpose'" :label="$t('entities.ibizlist.main_grid.columns.purpose')" :width="100" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibizlist.main_grid.columns.purpose')}}
</span>
</template>
<template v-slot="{row,column,$index}">
<span>{{row.purpose}}</span>
</template> </template>
</el-table-column> </el-table-column>
</template> </template>
...@@ -546,16 +572,30 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -546,16 +572,30 @@ export default class MainBase extends Vue implements ControlInterface {
util: 'PX' util: 'PX'
}, },
{ {
name: 'updateman', name: 'type',
label: '更新人', label: '类型',
langtag: 'entities.ibizlist.main_grid.columns.updateman', langtag: 'entities.ibizlist.main_grid.columns.type',
show: true,
util: 'PX'
},
{
name: 'createdfromcode',
label: '成员类型',
langtag: 'entities.ibizlist.main_grid.columns.createdfromcode',
show: true, show: true,
util: 'PX' util: 'PX'
}, },
{ {
name: 'updatedate', name: 'lastusedon',
label: '更新时间', label: '上次使用时间',
langtag: 'entities.ibizlist.main_grid.columns.updatedate', langtag: 'entities.ibizlist.main_grid.columns.lastusedon',
show: true,
util: 'PX'
},
{
name: 'purpose',
label: '用途',
langtag: 'entities.ibizlist.main_grid.columns.purpose',
show: true, show: true,
util: 'PX' util: 'PX'
}, },
...@@ -947,9 +987,17 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -947,9 +987,17 @@ export default class MainBase extends Vue implements ControlInterface {
public async formatExcelData(filterVal:any, jsonData:any) { public async formatExcelData(filterVal:any, jsonData:any) {
let codelistColumns:Array<any> = [ let codelistColumns:Array<any> = [
{ {
name: 'updateman', name: 'type',
srfkey: 'SysOperator', srfkey: 'YesNo',
codelistType : 'DYNAMIC', codelistType : 'STATIC',
renderMode: 'other',
textSeparator: '、',
valueSeparator: ',',
},
{
name: 'createdfromcode',
srfkey: 'List__CreatedFromCode',
codelistType : 'STATIC',
renderMode: 'other', renderMode: 'other',
textSeparator: '、', textSeparator: '、',
valueSeparator: ',', valueSeparator: ',',
......
...@@ -27,9 +27,9 @@ export default class MainModel { ...@@ -27,9 +27,9 @@ export default class MainModel {
}else{ }else{
return [ return [
{ {
name: 'updateman', name: 'lastusedon',
prop: 'updateman', prop: 'lastusedon',
dataType: 'TEXT', dataType: 'DATETIME',
}, },
{ {
name: 'transactioncurrencyid', name: 'transactioncurrencyid',
...@@ -37,9 +37,19 @@ export default class MainModel { ...@@ -37,9 +37,19 @@ export default class MainModel {
dataType: 'PICKUP', dataType: 'PICKUP',
}, },
{ {
name: 'updatedate', name: 'purpose',
prop: 'updatedate', prop: 'purpose',
dataType: 'DATETIME', dataType: 'TEXT',
},
{
name: 'createdfromcode',
prop: 'createdfromcode',
dataType: 'SSCODELIST',
},
{
name: 'type',
prop: 'type',
dataType: 'YESNO',
}, },
{ {
name: 'srfmajortext', name: 'srfmajortext',
......
...@@ -669,7 +669,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -669,7 +669,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: '错误', desc: 'LeadPickupGridView视图搜索表单loadAction参数未配置' }); this.$Notice.error({ title: '错误', desc: 'LeadGridView视图搜索表单loadAction参数未配置' });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -706,7 +706,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -706,7 +706,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public loadDraft(opt: any = {},mode?:string): void { public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: '错误', desc: 'LeadPickupGridView视图搜索表单loaddraftAction参数未配置' }); this.$Notice.error({ title: '错误', desc: 'LeadGridView视图搜索表单loaddraftAction参数未配置' });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -258,6 +258,20 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -258,6 +258,20 @@ export default class MainBase extends Vue implements ControlInterface {
return this.selections[0]; return this.selections[0];
} }
/**
* 打开新建数据视图
*
* @type {any}
* @memberof Main
*/
@Prop() public newdata: any;
/**
* 打开编辑数据视图
*
* @type {any}
* @memberof Main
*/
@Prop() public opendata: any;
/** /**
* 显示处理提示 * 显示处理提示
...@@ -632,7 +646,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -632,7 +646,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}, pageReset: boolean = false): void { public load(opt: any = {}, pageReset: boolean = false): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: '错误', desc: 'LeadPickupGridView视图表格fetchAction参数未配置' }); this.$Notice.error({ title: '错误', desc: 'LeadGridView视图表格fetchAction参数未配置' });
return; return;
} }
if(pageReset){ if(pageReset){
...@@ -709,7 +723,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -709,7 +723,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public async remove(datas: any[]): Promise<any> { public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: '错误', desc: 'LeadPickupGridView视图表格removeAction参数未配置' }); this.$Notice.error({ title: '错误', desc: 'LeadGridView视图表格removeAction参数未配置' });
return; return;
} }
let _datas:any[] = []; let _datas:any[] = [];
...@@ -815,7 +829,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -815,7 +829,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public addBatch(arg: any = {}): void { public addBatch(arg: any = {}): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: '错误', desc: 'LeadPickupGridView视图表格fetchAction参数未配置' }); this.$Notice.error({ title: '错误', desc: 'LeadGridView视图表格fetchAction参数未配置' });
return; return;
} }
if(!arg){ if(!arg){
...@@ -1361,7 +1375,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1361,7 +1375,7 @@ export default class MainBase extends Vue implements ControlInterface {
try { try {
if(Object.is(item.rowDataState, 'create')){ if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){ if(!this.createAction){
this.$Notice.error({ title: '错误', desc: 'LeadPickupGridView视图表格createAction参数未配置' }); this.$Notice.error({ title: '错误', desc: 'LeadGridView视图表格createAction参数未配置' });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator); let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
...@@ -1369,7 +1383,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1369,7 +1383,7 @@ export default class MainBase extends Vue implements ControlInterface {
} }
}else if(Object.is(item.rowDataState, 'update')){ }else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){ if(!this.updateAction){
this.$Notice.error({ title: '错误', desc: 'LeadPickupGridView视图表格updateAction参数未配置' }); this.$Notice.error({ title: '错误', desc: 'LeadGridView视图表格updateAction参数未配置' });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.lead){ if(item.lead){
......
...@@ -263,7 +263,7 @@ public class IBizList extends EntityMP implements Serializable { ...@@ -263,7 +263,7 @@ public class IBizList extends EntityMP implements Serializable {
@JsonProperty("utcconversiontimezonecode") @JsonProperty("utcconversiontimezonecode")
private Integer utcconversiontimezonecode; private Integer utcconversiontimezonecode;
/** /**
* 市场营销列表成员类型 * 成员类型
*/ */
@TableField(value = "createdfromcode") @TableField(value = "createdfromcode")
@JSONField(name = "createdfromcode") @JSONField(name = "createdfromcode")
...@@ -527,7 +527,7 @@ public class IBizList extends EntityMP implements Serializable { ...@@ -527,7 +527,7 @@ public class IBizList extends EntityMP implements Serializable {
} }
/** /**
* 设置 [市场营销列表成员类型] * 设置 [成员类型]
*/ */
public void setCreatedfromcode(String createdfromcode){ public void setCreatedfromcode(String createdfromcode){
this.createdfromcode = createdfromcode ; this.createdfromcode = createdfromcode ;
......
...@@ -48,7 +48,7 @@ public class IBizListSearchContext extends QueryWrapperContext<IBizList> { ...@@ -48,7 +48,7 @@ public class IBizListSearchContext extends QueryWrapperContext<IBizList> {
this.getSearchCond().eq("statuscode", n_statuscode_eq); this.getSearchCond().eq("statuscode", n_statuscode_eq);
} }
} }
private String n_createdfromcode_eq;//[市场营销列表成员类型] private String n_createdfromcode_eq;//[成员类型]
public void setN_createdfromcode_eq(String n_createdfromcode_eq) { public void setN_createdfromcode_eq(String n_createdfromcode_eq) {
this.n_createdfromcode_eq = n_createdfromcode_eq; this.n_createdfromcode_eq = n_createdfromcode_eq;
if(!ObjectUtils.isEmpty(this.n_createdfromcode_eq)){ if(!ObjectUtils.isEmpty(this.n_createdfromcode_eq)){
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册