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

xignzi006 发布系统代码

上级 6fa34d1b
......@@ -4238,6 +4238,43 @@
}
]
},
{
"srfkey": "Metric__AmountDataType",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "1",
"label": "十进制",
"text": "十进制",
"data":"",
"codename":"Item_1",
"value": "1",
"disabled": false
}
, {
"id": "2",
"label": "整数",
"text": "整数",
"data":"",
"codename":"Item_2",
"value": "2",
"disabled": false
}
, {
"id": "0",
"label": "金钱",
"text": "金钱",
"data":"",
"codename":"Item_0",
"value": "0",
"disabled": false
}
]
},
{
"srfkey": "FQG_ActivityPointer",
"emptytext": "未定义",
......
......@@ -1179,6 +1179,16 @@
"viewtag": "85781d107d628dfc6cdf9693797f073e",
"memo": "系统自动添加"
},
"metriceditview": {
"title": "目标度量信息",
"caption": "目标度量",
"viewtype": "DEEDITVIEW",
"viewmodule": "Base",
"viewname": "MetricEditView",
"viewfilename": "metric-edit-view",
"viewtag": "8764cc6860a8981a549fcf693bbc44f6",
"memo": "系统自动添加"
},
"taskquickcreate": {
"title": "快速新建:任务",
"caption": "快速新建:任务",
......@@ -1379,6 +1389,16 @@
"viewtag": "9a96ebf2e57358b3590b9d4479edb77a",
"memo": "系统自动添加"
},
"metricgridview": {
"title": "目标度量信息",
"caption": "目标度量",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Base",
"viewname": "MetricGridView",
"viewfilename": "metric-grid-view",
"viewtag": "9af073dea1ea05903d52e8bdc5a03dd5",
"memo": ""
},
"goaledit_childgoalview": {
"title": "子目标信息",
"caption": "目标",
......
/**
* 快速市场活动
*
* @export
* @interface BulkOperation
*/
export interface BulkOperation {
/**
* 参数
*
* @returns {*}
* @memberof BulkOperation
*/
parameters?: any;
/**
* Customers
*
* @returns {*}
* @memberof BulkOperation
*/
customers?: any;
/**
* 遍历的路径
*
* @returns {*}
* @memberof BulkOperation
*/
traversedpath?: any;
/**
* 开始日期
*
* @returns {*}
* @memberof BulkOperation
*/
scheduledstart?: any;
/**
* 成员总数
*
* @returns {*}
* @memberof BulkOperation
*/
targetmemberscount?: any;
/**
* BCC
*
* @returns {*}
* @memberof BulkOperation
*/
bcc?: any;
/**
* 实际持续时间
*
* @returns {*}
* @memberof BulkOperation
*/
actualdurationminutes?: any;
/**
* 汇率
*
* @returns {*}
* @memberof BulkOperation
*/
exchangerate?: any;
/**
* 批量操作号
*
* @returns {*}
* @memberof BulkOperation
*/
bulkoperationnumber?: any;
/**
* 截止日期
*
* @returns {*}
* @memberof BulkOperation
*/
scheduledend?: any;
/**
* 暂候时间(分钟)
*
* @returns {*}
* @memberof BulkOperation
*/
onholdtime?: any;
/**
* 保留的语音邮件
*
* @returns {*}
* @memberof BulkOperation
*/
leftvoicemail?: any;
/**
* 时区规则版本号
*
* @returns {*}
* @memberof BulkOperation
*/
timezoneruleversionnumber?: any;
/**
* 说明
*
* @returns {*}
* @memberof BulkOperation
*/
description?: any;
/**
* Outsource Vendors
*
* @returns {*}
* @memberof BulkOperation
*/
partners?: any;
/**
* 工作流信息
*
* @returns {*}
* @memberof BulkOperation
*/
workflowinfo?: any;
/**
* 服务
*
* @returns {*}
* @memberof BulkOperation
*/
serviceid?: any;
/**
* 社交渠道
*
* @returns {*}
* @memberof BulkOperation
*/
community?: any;
/**
* 由工作流创建
*
* @returns {*}
* @memberof BulkOperation
*/
workflowcreated?: any;
/**
* 活动类型
*
* @returns {*}
* @memberof BulkOperation
*/
createdrecordtypecode?: any;
/**
* 错误号
*
* @returns {*}
* @memberof BulkOperation
*/
errornumber?: any;
/**
* Record Created On
*
* @returns {*}
* @memberof BulkOperation
*/
overriddencreatedon?: any;
/**
* 导入文件名称
*
* @returns {*}
* @memberof BulkOperation
*/
regardingobjectid?: any;
/**
* 状态
*
* @returns {*}
* @memberof BulkOperation
*/
statecode?: any;
/**
* 负责人类型
*
* @returns {*}
* @memberof BulkOperation
*/
owneridtype?: any;
/**
* 上次尝试传递的日期
*
* @returns {*}
* @memberof BulkOperation
*/
deliverylastattemptedon?: any;
/**
* 传递优先级
*
* @returns {*}
* @memberof BulkOperation
*/
deliveryprioritycode?: any;
/**
* 建立人
*
* @returns {*}
* @memberof BulkOperation
*/
createman?: any;
/**
* Organizer
*
* @returns {*}
* @memberof BulkOperation
*/
organizer?: any;
/**
* 流程阶段
*
* @returns {*}
* @memberof BulkOperation
*/
stageid?: any;
/**
* 成员类型
*
* @returns {*}
* @memberof BulkOperation
*/
targetedrecordtypecode?: any;
/**
* 定期实例类型
*
* @returns {*}
* @memberof BulkOperation
*/
instancetypecode?: any;
/**
* To
*
* @returns {*}
* @memberof BulkOperation
*/
to?: any;
/**
* 负责人
*
* @returns {*}
* @memberof BulkOperation
*/
owneridyominame?: any;
/**
* 计划持续时间
*
* @returns {*}
* @memberof BulkOperation
*/
scheduleddurationminutes?: any;
/**
* 关于
*
* @returns {*}
* @memberof BulkOperation
*/
regardingobjectidyominame?: any;
/**
* Exchange 项目 ID
*
* @returns {*}
* @memberof BulkOperation
*/
exchangeitemid?: any;
/**
* 活动
*
* @returns {*}
* @memberof BulkOperation
*/
activityid?: any;
/**
* From
*
* @returns {*}
* @memberof BulkOperation
*/
from?: any;
/**
* 隐藏
*
* @returns {*}
* @memberof BulkOperation
*/
mapiprivate?: any;
/**
* 负责人
*
* @returns {*}
* @memberof BulkOperation
*/
ownerid?: any;
/**
* 状态描述
*
* @returns {*}
* @memberof BulkOperation
*/
statuscode?: any;
/**
* 操作
*
* @returns {*}
* @memberof BulkOperation
*/
operationtypecode?: any;
/**
* 活动附加参数
*
* @returns {*}
* @memberof BulkOperation
*/
activityadditionalparams?: any;
/**
* UTC 转换时区代码
*
* @returns {*}
* @memberof BulkOperation
*/
utcconversiontimezonecode?: any;
/**
* Import Sequence Number
*
* @returns {*}
* @memberof BulkOperation
*/
importsequencenumber?: any;
/**
* 系列 ID
*
* @returns {*}
* @memberof BulkOperation
*/
seriesid?: any;
/**
* 是定期活动
*
* @returns {*}
* @memberof BulkOperation
*/
regularactivity?: any;
/**
* 实际结束时间
*
* @returns {*}
* @memberof BulkOperation
*/
actualend?: any;
/**
* 流程
*
* @returns {*}
* @memberof BulkOperation
*/
processid?: any;
/**
* Required Attendees
*
* @returns {*}
* @memberof BulkOperation
*/
requiredattendees?: any;
/**
* 更新人
*
* @returns {*}
* @memberof BulkOperation
*/
updateman?: any;
/**
* 上一暂候时间
*
* @returns {*}
* @memberof BulkOperation
*/
lastonholdtime?: any;
/**
* 更新时间
*
* @returns {*}
* @memberof BulkOperation
*/
updatedate?: any;
/**
* Exchange WebLink
*
* @returns {*}
* @memberof BulkOperation
*/
exchangeweblink?: any;
/**
* 发送日期
*
* @returns {*}
* @memberof BulkOperation
*/
senton?: any;
/**
* 建立时间
*
* @returns {*}
* @memberof BulkOperation
*/
createdate?: any;
/**
* 失败数
*
* @returns {*}
* @memberof BulkOperation
*/
failurecount?: any;
/**
* SLAName
*
* @returns {*}
* @memberof BulkOperation
*/
slaname?: any;
/**
* 活动类型
*
* @returns {*}
* @memberof BulkOperation
*/
activitytypecode?: any;
/**
* 成功数
*
* @returns {*}
* @memberof BulkOperation
*/
successcount?: any;
/**
* CC
*
* @returns {*}
* @memberof BulkOperation
*/
cc?: any;
/**
* Optional Attendees
*
* @returns {*}
* @memberof BulkOperation
*/
optionalattendees?: any;
/**
* 实际开始时间
*
* @returns {*}
* @memberof BulkOperation
*/
actualstart?: any;
/**
* 排序日期
*
* @returns {*}
* @memberof BulkOperation
*/
sortdate?: any;
/**
* RegardingObjectTypeCode
*
* @returns {*}
* @memberof BulkOperation
*/
regardingobjecttypecode?: any;
/**
* 已记帐
*
* @returns {*}
* @memberof BulkOperation
*/
billed?: any;
/**
* 优先级
*
* @returns {*}
* @memberof BulkOperation
*/
prioritycode?: any;
/**
* 版本号
*
* @returns {*}
* @memberof BulkOperation
*/
versionnumber?: any;
/**
* 主题
*
* @returns {*}
* @memberof BulkOperation
*/
subject?: any;
/**
* Resources
*
* @returns {*}
* @memberof BulkOperation
*/
resources?: any;
/**
* 货币
*
* @returns {*}
* @memberof BulkOperation
*/
transactioncurrencyid?: any;
/**
* SLA
*
* @returns {*}
* @memberof BulkOperation
*/
slaid?: any;
}
\ No newline at end of file
/**
* 知识文章
*
* @export
* @interface KnowledgeArticle
*/
export interface KnowledgeArticle {
/**
* 知识文章视图(上次更新时间)
*
* @returns {*}
* @memberof KnowledgeArticle
*/
knowledgearticleviews_date?: any;
/**
* 关键字
*
* @returns {*}
* @memberof KnowledgeArticle
*/
keywords?: any;
/**
* 状态描述
*
* @returns {*}
* @memberof KnowledgeArticle
*/
statuscode?: any;
/**
* 主要文章
*
* @returns {*}
* @memberof KnowledgeArticle
*/
primary?: any;
/**
* 过期状态 ID
*
* @returns {*}
* @memberof KnowledgeArticle
*/
expirationstateid?: any;
/**
* Rating(Count)
*
* @returns {*}
* @memberof KnowledgeArticle
*/
rating_count?: any;
/**
* 内容
*
* @returns {*}
* @memberof KnowledgeArticle
*/
content?: any;
/**
* 负责人
*
* @returns {*}
* @memberof KnowledgeArticle
*/
ownerid?: any;
/**
* RootArticled
*
* @returns {*}
* @memberof KnowledgeArticle
*/
rootarticled?: any;
/**
* 知识文章视图(状态)
*
* @returns {*}
* @memberof KnowledgeArticle
*/
knowledgearticleviews_state?: any;
/**
* Rating(sum)
*
* @returns {*}
* @memberof KnowledgeArticle
*/
rating_sum?: any;
/**
* 状态
*
* @returns {*}
* @memberof KnowledgeArticle
*/
statecode?: any;
/**
* 遍历的路径
*
* @returns {*}
* @memberof KnowledgeArticle
*/
traversedpath?: any;
/**
* 更新人
*
* @returns {*}
* @memberof KnowledgeArticle
*/
updateman?: any;
/**
* 已发布状态
*
* @returns {*}
* @memberof KnowledgeArticle
*/
publishstatusid?: any;
/**
* 文章公共编号
*
* @returns {*}
* @memberof KnowledgeArticle
*/
articlepublicnumber?: any;
/**
* primaryauthoridName
*
* @returns {*}
* @memberof KnowledgeArticle
*/
primaryauthoridname?: any;
/**
* 记录创建日期
*
* @returns {*}
* @memberof KnowledgeArticle
*/
overriddencreatedon?: any;
/**
* 负责人
*
* @returns {*}
* @memberof KnowledgeArticle
*/
owneridyominame?: any;
/**
* 主要作者 ID
*
* @returns {*}
* @memberof KnowledgeArticle
*/
primaryauthorid?: any;
/**
* 是最新版本
*
* @returns {*}
* @memberof KnowledgeArticle
*/
latestversion?: any;
/**
* 评分(状态)
*
* @returns {*}
* @memberof KnowledgeArticle
*/
rating_state?: any;
/**
* 建立时间
*
* @returns {*}
* @memberof KnowledgeArticle
*/
createdate?: any;
/**
* VersionNumber
*
* @returns {*}
* @memberof KnowledgeArticle
*/
versionnumber?: any;
/**
* UTC 转换时区代码
*
* @returns {*}
* @memberof KnowledgeArticle
*/
utcconversiontimezonecode?: any;
/**
* 已过期状态
*
* @returns {*}
* @memberof KnowledgeArticle
*/
expirationstatusid?: any;
/**
* 知识文章
*
* @returns {*}
* @memberof KnowledgeArticle
*/
knowledgearticleid?: any;
/**
* 设置类别关联
*
* @returns {*}
* @memberof KnowledgeArticle
*/
setcategoryassociations?: any;
/**
* 说明
*
* @returns {*}
* @memberof KnowledgeArticle
*/
description?: any;
/**
* 设置产品关联
*
* @returns {*}
* @memberof KnowledgeArticle
*/
setproductassociations?: any;
/**
* 次要版本号
*
* @returns {*}
* @memberof KnowledgeArticle
*/
minorversionnumber?: any;
/**
* 阶段 ID
*
* @returns {*}
* @memberof KnowledgeArticle
*/
stageid?: any;
/**
* 进程 ID
*
* @returns {*}
* @memberof KnowledgeArticle
*/
processid?: any;
/**
* 主要版本号
*
* @returns {*}
* @memberof KnowledgeArticle
*/
majorversionnumber?: any;
/**
* 评分
*
* @returns {*}
* @memberof KnowledgeArticle
*/
rating?: any;
/**
* 负责人 ID 类型
*
* @returns {*}
* @memberof KnowledgeArticle
*/
owneridtype?: any;
/**
* 发布日期
*
* @returns {*}
* @memberof KnowledgeArticle
*/
publishon?: any;
/**
* 知识文章视图
*
* @returns {*}
* @memberof KnowledgeArticle
*/
knowledgearticleviews?: any;
/**
* 评分(上次更新时间)
*
* @returns {*}
* @memberof KnowledgeArticle
*/
rating_date?: any;
/**
* 汇率
*
* @returns {*}
* @memberof KnowledgeArticle
*/
exchangerate?: any;
/**
* 为审阅做准备
*
* @returns {*}
* @memberof KnowledgeArticle
*/
readyforreview?: any;
/**
* 导入序号
*
* @returns {*}
* @memberof KnowledgeArticle
*/
importsequencenumber?: any;
/**
* SubjectIdDsc
*
* @returns {*}
* @memberof KnowledgeArticle
*/
subjectiddsc?: any;
/**
* 审阅
*
* @returns {*}
* @memberof KnowledgeArticle
*/
review?: any;
/**
* LanguageLocaleIdLocaleId
*
* @returns {*}
* @memberof KnowledgeArticle
*/
languagelocaleidlocaleid?: any;
/**
* 更新时间
*
* @returns {*}
* @memberof KnowledgeArticle
*/
updatedate?: any;
/**
* 建立人
*
* @returns {*}
* @memberof KnowledgeArticle
*/
createman?: any;
/**
* 已计划状态
*
* @returns {*}
* @memberof KnowledgeArticle
*/
scheduledstatusid?: any;
/**
* 时区规则版本号
*
* @returns {*}
* @memberof KnowledgeArticle
*/
timezoneruleversionnumber?: any;
/**
* 内部
*
* @returns {*}
* @memberof KnowledgeArticle
*/
internal?: any;
/**
* 标题
*
* @returns {*}
* @memberof KnowledgeArticle
*/
title?: any;
/**
* 更新内容
*
* @returns {*}
* @memberof KnowledgeArticle
*/
updatecontent?: any;
/**
* 到期日期
*
* @returns {*}
* @memberof KnowledgeArticle
*/
expirationdate?: any;
/**
* 已过期审阅选项
*
* @returns {*}
* @memberof KnowledgeArticle
*/
expiredreviewoptions?: any;
/**
* 父文章内容 ID
*
* @returns {*}
* @memberof KnowledgeArticle
*/
parentarticlecontentid?: any;
/**
* 上篇文章内容 ID
*
* @returns {*}
* @memberof KnowledgeArticle
*/
previousarticlecontentid?: any;
/**
* 货币
*
* @returns {*}
* @memberof KnowledgeArticle
*/
transactioncurrencyid?: any;
/**
* 根文章 ID
*
* @returns {*}
* @memberof KnowledgeArticle
*/
rootarticleid?: any;
/**
* 主题
*
* @returns {*}
* @memberof KnowledgeArticle
*/
subjectid?: any;
/**
* 语言
*
* @returns {*}
* @memberof KnowledgeArticle
*/
languagelocaleid?: any;
}
\ No newline at end of file
......@@ -21,6 +21,7 @@ import ibizlist_en_US from '@locale/lanres/entities/ibiz-list/ibiz-list_en_US';
import campaignresponse_en_US from '@locale/lanres/entities/campaign-response/campaign-response_en_US';
import phonecall_en_US from '@locale/lanres/entities/phone-call/phone-call_en_US';
import salesorderdetail_en_US from '@locale/lanres/entities/sales-order-detail/sales-order-detail_en_US';
import bulkoperation_en_US from '@locale/lanres/entities/bulk-operation/bulk-operation_en_US';
import listcontact_en_US from '@locale/lanres/entities/list-contact/list-contact_en_US';
import appointment_en_US from '@locale/lanres/entities/appointment/appointment_en_US';
import campaigncampaign_en_US from '@locale/lanres/entities/campaign-campaign/campaign-campaign_en_US';
......@@ -36,6 +37,7 @@ import campaignactivity_en_US from '@locale/lanres/entities/campaign-activity/ca
import listlead_en_US from '@locale/lanres/entities/list-lead/list-lead_en_US';
import opportunitycompetitor_en_US from '@locale/lanres/entities/opportunity-competitor/opportunity-competitor_en_US';
import competitorsalesliterature_en_US from '@locale/lanres/entities/competitor-sales-literature/competitor-sales-literature_en_US';
import knowledgearticle_en_US from '@locale/lanres/entities/knowledge-article/knowledge-article_en_US';
import salesliteratureitem_en_US from '@locale/lanres/entities/sales-literature-item/sales-literature-item_en_US';
import contact_en_US from '@locale/lanres/entities/contact/contact_en_US';
import product_en_US from '@locale/lanres/entities/product/product_en_US';
......@@ -141,9 +143,11 @@ export default {
menuitem29: "快速市场活动",
menuitem24: "绩效",
menuitem25: "目标",
menuitem31: "目标度量",
menuitem26: "预测",
menuitem27: "服务",
menuitem28: "服务案例",
menuitem32: "知识文章",
bottom_exp: "底部内容",
footer_left: "底部左侧",
footer_center: "底部中间",
......@@ -175,6 +179,7 @@ export default {
campaignresponse: campaignresponse_en_US,
phonecall: phonecall_en_US,
salesorderdetail: salesorderdetail_en_US,
bulkoperation: bulkoperation_en_US,
listcontact: listcontact_en_US,
appointment: appointment_en_US,
campaigncampaign: campaigncampaign_en_US,
......@@ -190,6 +195,7 @@ export default {
listlead: listlead_en_US,
opportunitycompetitor: opportunitycompetitor_en_US,
competitorsalesliterature: competitorsalesliterature_en_US,
knowledgearticle: knowledgearticle_en_US,
salesliteratureitem: salesliteratureitem_en_US,
contact: contact_en_US,
product: product_en_US,
......
......@@ -21,6 +21,7 @@ import ibizlist_zh_CN from '@locale/lanres/entities/ibiz-list/ibiz-list_zh_CN';
import campaignresponse_zh_CN from '@locale/lanres/entities/campaign-response/campaign-response_zh_CN';
import phonecall_zh_CN from '@locale/lanres/entities/phone-call/phone-call_zh_CN';
import salesorderdetail_zh_CN from '@locale/lanres/entities/sales-order-detail/sales-order-detail_zh_CN';
import bulkoperation_zh_CN from '@locale/lanres/entities/bulk-operation/bulk-operation_zh_CN';
import listcontact_zh_CN from '@locale/lanres/entities/list-contact/list-contact_zh_CN';
import appointment_zh_CN from '@locale/lanres/entities/appointment/appointment_zh_CN';
import campaigncampaign_zh_CN from '@locale/lanres/entities/campaign-campaign/campaign-campaign_zh_CN';
......@@ -36,6 +37,7 @@ import campaignactivity_zh_CN from '@locale/lanres/entities/campaign-activity/ca
import listlead_zh_CN from '@locale/lanres/entities/list-lead/list-lead_zh_CN';
import opportunitycompetitor_zh_CN from '@locale/lanres/entities/opportunity-competitor/opportunity-competitor_zh_CN';
import competitorsalesliterature_zh_CN from '@locale/lanres/entities/competitor-sales-literature/competitor-sales-literature_zh_CN';
import knowledgearticle_zh_CN from '@locale/lanres/entities/knowledge-article/knowledge-article_zh_CN';
import salesliteratureitem_zh_CN from '@locale/lanres/entities/sales-literature-item/sales-literature-item_zh_CN';
import contact_zh_CN from '@locale/lanres/entities/contact/contact_zh_CN';
import product_zh_CN from '@locale/lanres/entities/product/product_zh_CN';
......@@ -141,9 +143,11 @@ export default {
menuitem29: "快速市场活动",
menuitem24: "绩效",
menuitem25: "目标",
menuitem31: "目标度量",
menuitem26: "预测",
menuitem27: "服务",
menuitem28: "服务案例",
menuitem32: "知识文章",
bottom_exp: "底部内容",
footer_left: "底部左侧",
footer_center: "底部中间",
......@@ -175,6 +179,7 @@ export default {
campaignresponse: campaignresponse_zh_CN,
phonecall: phonecall_zh_CN,
salesorderdetail: salesorderdetail_zh_CN,
bulkoperation: bulkoperation_zh_CN,
listcontact: listcontact_zh_CN,
appointment: appointment_zh_CN,
campaigncampaign: campaigncampaign_zh_CN,
......@@ -190,6 +195,7 @@ export default {
listlead: listlead_zh_CN,
opportunitycompetitor: opportunitycompetitor_zh_CN,
competitorsalesliterature: competitorsalesliterature_zh_CN,
knowledgearticle: knowledgearticle_zh_CN,
salesliteratureitem: salesliteratureitem_zh_CN,
contact: contact_zh_CN,
product: product_zh_CN,
......
......@@ -547,6 +547,12 @@ export default {
"1": "男",
"empty": ""
},
Metric__AmountDataType: {
"1": "十进制",
"2": "整数",
"0": "金钱",
"empty": ""
},
FQG_ActivityPointer: {
"ALL": "全部活动",
"TASK": "任务",
......
......@@ -547,6 +547,12 @@ export default {
"1": "男",
"empty": "",
},
Metric__AmountDataType: {
"1": "十进制",
"2": "整数",
"0": "金钱",
"empty": "",
},
FQG_ActivityPointer: {
"ALL": "全部活动",
"TASK": "任务",
......
export default {
fields: {
parameters: "参数",
customers: "Customers",
traversedpath: "遍历的路径",
scheduledstart: "开始日期",
targetmemberscount: "成员总数",
bcc: "BCC",
actualdurationminutes: "实际持续时间",
exchangerate: "汇率",
bulkoperationnumber: "批量操作号",
scheduledend: "截止日期",
onholdtime: "暂候时间(分钟)",
leftvoicemail: "保留的语音邮件",
timezoneruleversionnumber: "时区规则版本号",
description: "说明",
partners: "Outsource Vendors",
workflowinfo: "工作流信息",
serviceid: "服务",
community: "社交渠道",
workflowcreated: "由工作流创建",
createdrecordtypecode: "活动类型",
errornumber: "错误号",
overriddencreatedon: "Record Created On",
regardingobjectid: "导入文件名称",
statecode: "状态",
owneridtype: "负责人类型",
deliverylastattemptedon: "上次尝试传递的日期",
deliveryprioritycode: "传递优先级",
createman: "建立人",
organizer: "Organizer",
stageid: "流程阶段",
targetedrecordtypecode: "成员类型",
instancetypecode: "定期实例类型",
to: "To",
owneridyominame: "负责人",
scheduleddurationminutes: "计划持续时间",
regardingobjectidyominame: "关于",
exchangeitemid: "Exchange 项目 ID",
activityid: "活动",
from: "From",
mapiprivate: "隐藏",
ownerid: "负责人",
statuscode: "状态描述",
operationtypecode: "操作",
activityadditionalparams: "活动附加参数",
utcconversiontimezonecode: "UTC 转换时区代码",
importsequencenumber: "Import Sequence Number",
seriesid: "系列 ID",
regularactivity: "是定期活动",
actualend: "实际结束时间",
processid: "流程",
requiredattendees: "Required Attendees",
updateman: "更新人",
lastonholdtime: "上一暂候时间",
updatedate: "更新时间",
exchangeweblink: "Exchange WebLink",
senton: "发送日期",
createdate: "建立时间",
failurecount: "失败数",
slaname: "SLAName",
activitytypecode: "活动类型",
successcount: "成功数",
cc: "CC",
optionalattendees: "Optional Attendees",
actualstart: "实际开始时间",
sortdate: "排序日期",
regardingobjecttypecode: "RegardingObjectTypeCode",
billed: "已记帐",
prioritycode: "优先级",
versionnumber: "版本号",
subject: "主题",
resources: "Resources",
transactioncurrencyid: "货币",
slaid: "SLA",
},
};
\ No newline at end of file
export default {
fields: {
parameters: "参数",
customers: "Customers",
traversedpath: "遍历的路径",
scheduledstart: "开始日期",
targetmemberscount: "成员总数",
bcc: "BCC",
actualdurationminutes: "实际持续时间",
exchangerate: "汇率",
bulkoperationnumber: "批量操作号",
scheduledend: "截止日期",
onholdtime: "暂候时间(分钟)",
leftvoicemail: "保留的语音邮件",
timezoneruleversionnumber: "时区规则版本号",
description: "说明",
partners: "Outsource Vendors",
workflowinfo: "工作流信息",
serviceid: "服务",
community: "社交渠道",
workflowcreated: "由工作流创建",
createdrecordtypecode: "活动类型",
errornumber: "错误号",
overriddencreatedon: "Record Created On",
regardingobjectid: "导入文件名称",
statecode: "状态",
owneridtype: "负责人类型",
deliverylastattemptedon: "上次尝试传递的日期",
deliveryprioritycode: "传递优先级",
createman: "建立人",
organizer: "Organizer",
stageid: "流程阶段",
targetedrecordtypecode: "成员类型",
instancetypecode: "定期实例类型",
to: "To",
owneridyominame: "负责人",
scheduleddurationminutes: "计划持续时间",
regardingobjectidyominame: "关于",
exchangeitemid: "Exchange 项目 ID",
activityid: "活动",
from: "From",
mapiprivate: "隐藏",
ownerid: "负责人",
statuscode: "状态描述",
operationtypecode: "操作",
activityadditionalparams: "活动附加参数",
utcconversiontimezonecode: "UTC 转换时区代码",
importsequencenumber: "Import Sequence Number",
seriesid: "系列 ID",
regularactivity: "是定期活动",
actualend: "实际结束时间",
processid: "流程",
requiredattendees: "Required Attendees",
updateman: "更新人",
lastonholdtime: "上一暂候时间",
updatedate: "更新时间",
exchangeweblink: "Exchange WebLink",
senton: "发送日期",
createdate: "建立时间",
failurecount: "失败数",
slaname: "SLAName",
activitytypecode: "活动类型",
successcount: "成功数",
cc: "CC",
optionalattendees: "Optional Attendees",
actualstart: "实际开始时间",
sortdate: "排序日期",
regardingobjecttypecode: "RegardingObjectTypeCode",
billed: "已记帐",
prioritycode: "优先级",
versionnumber: "版本号",
subject: "主题",
resources: "Resources",
transactioncurrencyid: "货币",
slaid: "SLA",
},
};
\ No newline at end of file
export default {
fields: {
knowledgearticleviews_date: "知识文章视图(上次更新时间)",
keywords: "关键字",
statuscode: "状态描述",
primary: "主要文章",
expirationstateid: "过期状态 ID",
rating_count: "Rating(Count)",
content: "内容",
ownerid: "负责人",
rootarticled: "RootArticled",
knowledgearticleviews_state: "知识文章视图(状态)",
rating_sum: "Rating(sum)",
statecode: "状态",
traversedpath: "遍历的路径",
updateman: "更新人",
publishstatusid: "已发布状态",
articlepublicnumber: "文章公共编号",
primaryauthoridname: "primaryauthoridName",
overriddencreatedon: "记录创建日期",
owneridyominame: "负责人",
primaryauthorid: "主要作者 ID",
latestversion: "是最新版本",
rating_state: "评分(状态)",
createdate: "建立时间",
versionnumber: "VersionNumber",
utcconversiontimezonecode: "UTC 转换时区代码",
expirationstatusid: "已过期状态",
knowledgearticleid: "知识文章",
setcategoryassociations: "设置类别关联",
description: "说明",
setproductassociations: "设置产品关联",
minorversionnumber: "次要版本号",
stageid: "阶段 ID",
processid: "进程 ID",
majorversionnumber: "主要版本号",
rating: "评分",
owneridtype: "负责人 ID 类型",
publishon: "发布日期",
knowledgearticleviews: "知识文章视图",
rating_date: "评分(上次更新时间)",
exchangerate: "汇率",
readyforreview: "为审阅做准备",
importsequencenumber: "导入序号",
subjectiddsc: "SubjectIdDsc",
review: "审阅",
languagelocaleidlocaleid: "LanguageLocaleIdLocaleId",
updatedate: "更新时间",
createman: "建立人",
scheduledstatusid: "已计划状态",
timezoneruleversionnumber: "时区规则版本号",
internal: "内部",
title: "标题",
updatecontent: "更新内容",
expirationdate: "到期日期",
expiredreviewoptions: "已过期审阅选项",
parentarticlecontentid: "父文章内容 ID",
previousarticlecontentid: "上篇文章内容 ID",
transactioncurrencyid: "货币",
rootarticleid: "根文章 ID",
subjectid: "主题",
languagelocaleid: "语言",
},
};
\ No newline at end of file
export default {
fields: {
knowledgearticleviews_date: "知识文章视图(上次更新时间)",
keywords: "关键字",
statuscode: "状态描述",
primary: "主要文章",
expirationstateid: "过期状态 ID",
rating_count: "Rating(Count)",
content: "内容",
ownerid: "负责人",
rootarticled: "RootArticled",
knowledgearticleviews_state: "知识文章视图(状态)",
rating_sum: "Rating(sum)",
statecode: "状态",
traversedpath: "遍历的路径",
updateman: "更新人",
publishstatusid: "已发布状态",
articlepublicnumber: "文章公共编号",
primaryauthoridname: "primaryauthoridName",
overriddencreatedon: "记录创建日期",
owneridyominame: "负责人",
primaryauthorid: "主要作者 ID",
latestversion: "是最新版本",
rating_state: "评分(状态)",
createdate: "建立时间",
versionnumber: "VersionNumber",
utcconversiontimezonecode: "UTC 转换时区代码",
expirationstatusid: "已过期状态",
knowledgearticleid: "知识文章",
setcategoryassociations: "设置类别关联",
description: "说明",
setproductassociations: "设置产品关联",
minorversionnumber: "次要版本号",
stageid: "阶段 ID",
processid: "进程 ID",
majorversionnumber: "主要版本号",
rating: "评分",
owneridtype: "负责人 ID 类型",
publishon: "发布日期",
knowledgearticleviews: "知识文章视图",
rating_date: "评分(上次更新时间)",
exchangerate: "汇率",
readyforreview: "为审阅做准备",
importsequencenumber: "导入序号",
subjectiddsc: "SubjectIdDsc",
review: "审阅",
languagelocaleidlocaleid: "LanguageLocaleIdLocaleId",
updatedate: "更新时间",
createman: "建立人",
scheduledstatusid: "已计划状态",
timezoneruleversionnumber: "时区规则版本号",
internal: "内部",
title: "标题",
updatecontent: "更新内容",
expirationdate: "到期日期",
expiredreviewoptions: "已过期审阅选项",
parentarticlecontentid: "父文章内容 ID",
previousarticlecontentid: "上篇文章内容 ID",
transactioncurrencyid: "货币",
rootarticleid: "根文章 ID",
subjectid: "主题",
languagelocaleid: "语言",
},
};
\ No newline at end of file
......@@ -24,11 +24,41 @@ export default {
caption: "目标度量",
title: "目标度量选择表格视图",
},
editview: {
caption: "目标度量",
title: "目标度量信息",
},
gridview: {
caption: "目标度量",
title: "目标度量信息",
},
pickupview: {
caption: "目标度量",
title: "目标度量数据选择视图",
},
},
main_form: {
details: {
group1: "metric基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "目标度量",
srfmajortext: "公制名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
metricname: "公制名称",
amount: "度量类型",
amountdatatype: "金额数据类型",
stretchtracked: "跟踪扩展目标值",
description: "说明",
metricid: "目标度量",
},
uiactions: {
},
},
main_grid: {
columns: {
metricname: "公制名称",
......@@ -45,4 +75,80 @@ export default {
uiactions: {
},
},
editviewtoolbar_toolbar: {
tbitem3: {
caption: "Save",
tip: "Save",
},
tbitem4: {
caption: "Save And New",
tip: "Save And New",
},
tbitem5: {
caption: "Save And Close",
tip: "Save And Close Window",
},
tbitem6: {
caption: "-",
tip: "",
},
tbitem7: {
caption: "Remove And Close",
tip: "Remove And Close Window",
},
tbitem8: {
caption: "-",
tip: "",
},
tbitem12: {
caption: "New",
tip: "New",
},
tbitem13: {
caption: "-",
tip: "",
},
tbitem14: {
caption: "Copy",
tip: "Copy {0}",
},
},
gridviewtoolbar_toolbar: {
tbitem3: {
caption: "New",
tip: "New",
},
tbitem4: {
caption: "Edit",
tip: "Edit {0}",
},
tbitem6: {
caption: "Copy",
tip: "Copy {0}",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "Remove",
tip: "Remove {0}",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "Export",
tip: "Export {0} Data To Excel",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "Filter",
tip: "Filter",
},
},
};
\ No newline at end of file
......@@ -23,11 +23,41 @@ export default {
caption: "目标度量",
title: "目标度量选择表格视图",
},
editview: {
caption: "目标度量",
title: "目标度量信息",
},
gridview: {
caption: "目标度量",
title: "目标度量信息",
},
pickupview: {
caption: "目标度量",
title: "目标度量数据选择视图",
},
},
main_form: {
details: {
group1: "metric基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "目标度量",
srfmajortext: "公制名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
metricname: "公制名称",
amount: "度量类型",
amountdatatype: "金额数据类型",
stretchtracked: "跟踪扩展目标值",
description: "说明",
metricid: "目标度量",
},
uiactions: {
},
},
main_grid: {
columns: {
metricname: "公制名称",
......@@ -44,4 +74,80 @@ export default {
uiactions: {
},
},
editviewtoolbar_toolbar: {
tbitem3: {
caption: "保存",
tip: "保存",
},
tbitem4: {
caption: "保存并新建",
tip: "保存并新建",
},
tbitem5: {
caption: "保存并关闭",
tip: "保存并关闭",
},
tbitem6: {
caption: "-",
tip: "",
},
tbitem7: {
caption: "删除并关闭",
tip: "删除并关闭",
},
tbitem8: {
caption: "-",
tip: "",
},
tbitem12: {
caption: "新建",
tip: "新建",
},
tbitem13: {
caption: "-",
tip: "",
},
tbitem14: {
caption: "拷贝",
tip: "拷贝",
},
},
gridviewtoolbar_toolbar: {
tbitem3: {
caption: "新建",
tip: "新建",
},
tbitem4: {
caption: "编辑",
tip: "编辑",
},
tbitem6: {
caption: "拷贝",
tip: "拷贝",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "删除",
tip: "删除",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "导出",
tip: "导出",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "过滤",
tip: "过滤",
},
},
};
\ No newline at end of file
......@@ -561,6 +561,24 @@ mock.onGet('v7/centralappmenu').reply((config: any) => {
textcls: '',
appfunctag: 'Auto13',
resourcetag: '',
},
{
id: 'C332BAD9-C1DC-44D2-A872-CD400C39C69F',
name: 'menuitem31',
text: '目标度量',
type: 'MENUITEM',
counterid: '',
tooltip: '目标度量',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: 'fa fa-line-chart',
icon: '',
textcls: '',
appfunctag: '_2',
resourcetag: '',
},
{
id: '9014c07bd1da4beac8c7fc4f34c54eec',
......@@ -617,6 +635,24 @@ mock.onGet('v7/centralappmenu').reply((config: any) => {
textcls: '',
appfunctag: 'Auto8',
resourcetag: '',
},
{
id: '4A58B77A-F97D-4B19-A757-75C0A110FB78',
name: 'menuitem32',
text: '知识文章',
type: 'MENUITEM',
counterid: '',
tooltip: '知识文章',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: 'fa fa-files-o',
icon: '',
textcls: '',
appfunctag: '',
resourcetag: '',
},
],
},
......
......@@ -4246,6 +4246,43 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey: "Metric__AmountDataType",
emptytext: "未定义",
"codelisttype":"static",
items: [
{
id: "1",
label: "十进制",
text: "十进制",
"data":"",
"codename":"Item_1",
value: "1",
disabled: false,
},
{
id: "2",
label: "整数",
text: "整数",
"data":"",
"codename":"Item_2",
value: "2",
disabled: false,
},
{
id: "0",
label: "金钱",
text: "金钱",
"data":"",
"codename":"Item_0",
value: "0",
disabled: false,
},
]
},
{
srfkey: "FQG_ActivityPointer",
emptytext: "未定义",
......
......@@ -30,6 +30,7 @@ import './entity/ibiz-lists/ibiz-lists';
import './entity/campaign-responses/campaign-responses';
import './entity/phone-calls/phone-calls';
import './entity/sales-order-details/sales-order-details';
import './entity/bulk-operations/bulk-operations';
import './entity/list-contacts/list-contacts';
import './entity/appointments/appointments';
import './entity/campaign-campaigns/campaign-campaigns';
......@@ -45,6 +46,7 @@ import './entity/campaign-activitys/campaign-activitys';
import './entity/list-leads/list-leads';
import './entity/opportunity-competitors/opportunity-competitors';
import './entity/competitor-sales-literatures/competitor-sales-literatures';
import './entity/knowledge-articles/knowledge-articles';
import './entity/sales-literature-items/sales-literature-items';
import './entity/contacts/contacts';
import './entity/products/products';
......
......@@ -951,6 +951,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "ContactPickupGridView",
"viewtag": "85781d107d628dfc6cdf9693797f073e"
},
"metriceditview": {
"title": "目标度量信息",
"caption": "目标度量",
"viewtype": "DEEDITVIEW",
"viewmodule": "Base",
"viewname": "MetricEditView",
"viewtag": "8764cc6860a8981a549fcf693bbc44f6"
},
"taskquickcreate": {
"title": "快速新建:任务",
"caption": "快速新建:任务",
......@@ -1111,6 +1119,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "ContactEditView",
"viewtag": "9a96ebf2e57358b3590b9d4479edb77a"
},
"metricgridview": {
"title": "目标度量信息",
"caption": "目标度量",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Base",
"viewname": "MetricGridView",
"viewtag": "9af073dea1ea05903d52e8bdc5a03dd5"
},
"goaledit_childgoalview": {
"title": "子目标信息",
"caption": "目标",
......
......@@ -73,6 +73,7 @@ export const PageComponents = {
Vue.component('lead-info-market', () => import('@pages/sales/lead-info-market/lead-info-market.vue'));
Vue.component('competitor-info-abstract', () => import('@pages/sales/competitor-info-abstract/competitor-info-abstract.vue'));
Vue.component('metric-pickup-view', () => import('@pages/base/metric-pickup-view/metric-pickup-view.vue'));
Vue.component('metric-edit-view', () => import('@pages/base/metric-edit-view/metric-edit-view.vue'));
Vue.component('phone-call-edit-view', () => import('@pages/base/phone-call-edit-view/phone-call-edit-view.vue'));
Vue.component('contact-info-address', () => import('@pages/base/contact-info-address/contact-info-address.vue'));
Vue.component('sales-order-quick-create-view', () => import('@pages/sales/sales-order-quick-create-view/sales-order-quick-create-view.vue'));
......@@ -149,6 +150,7 @@ export const PageComponents = {
Vue.component('goal-summary-view', () => import('@pages/sales/goal-summary-view/goal-summary-view.vue'));
Vue.component('account-info', () => import('@pages/base/account-info/account-info.vue'));
Vue.component('lead-info-detail', () => import('@pages/sales/lead-info-detail/lead-info-detail.vue'));
Vue.component('metric-grid-view', () => import('@pages/base/metric-grid-view/metric-grid-view.vue'));
Vue.component('sales-order-detail-soproduct-grid-view', () => import('@pages/sales/sales-order-detail-soproduct-grid-view/sales-order-detail-soproduct-grid-view.vue'));
Vue.component('account-info-all', () => import('@pages/base/account-info-all/account-info-all.vue'));
Vue.component('opportunity-competitor-edit-view', () => import('@pages/sales/opportunity-competitor-edit-view/opportunity-competitor-edit-view.vue'));
......
......@@ -1982,6 +1982,20 @@ const router = new Router({
},
component: () => import('@pages/base/metric-pickup-view/metric-pickup-view.vue'),
},
{
path: 'metrics/:metric?/editview/:editview?',
meta: {
caption: 'entities.metric.views.editview.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'metrics', parameterName: 'metric' },
{ pathName: 'editview', parameterName: 'editview' },
],
requireAuth: true,
},
component: () => import('@pages/base/metric-edit-view/metric-edit-view.vue'),
},
{
path: 'phonecalls/:phonecall?/editview/:editview?',
meta: {
......@@ -4398,6 +4412,20 @@ const router = new Router({
},
component: () => import('@pages/sales/lead-info-detail/lead-info-detail.vue'),
},
{
path: 'metrics/:metric?/gridview/:gridview?',
meta: {
caption: 'entities.metric.views.gridview.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'metrics', parameterName: 'metric' },
{ pathName: 'gridview', parameterName: 'gridview' },
],
requireAuth: true,
},
component: () => import('@pages/base/metric-grid-view/metric-grid-view.vue'),
},
{
path: 'salesorders/:salesorder?/salesorderdetails/:salesorderdetail?/soproductgridview/:soproductgridview?',
meta: {
......
import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 快速市场活动服务对象基类
*
* @export
* @class BulkOperationServiceBase
* @extends {EntityServie}
*/
export default class BulkOperationServiceBase extends EntityService {
/**
* Creates an instance of BulkOperationServiceBase.
*
* @param {*} [opts={}]
* @memberof BulkOperationServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 初始化基础数据
*
* @memberof BulkOperationServiceBase
*/
public initBasicData(){
this.APPLYDEKEY ='bulkoperation';
this.APPDEKEY = 'activityid';
this.APPDENAME = 'bulkoperations';
this.APPDETEXT = 'subject';
this.APPNAME = 'crm';
this.SYSTEMNAME = 'ibizbusinesscentral';
}
// 实体接口
/**
* Select接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof BulkOperationServiceBase
*/
public async Select(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
return Http.getInstance().get(`/bulkoperations/${context.bulkoperation}/select`,isloading);
}
/**
* Create接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof BulkOperationServiceBase
*/
public async Create(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let masterData:any = {};
Object.assign(data,masterData);
if(!data.srffrontuf || data.srffrontuf !== "1"){
data[this.APPDEKEY] = null;
}
if(data.srffrontuf){
delete data.srffrontuf;
}
let tempContext:any = JSON.parse(JSON.stringify(context));
let res:any = await Http.getInstance().post(`/bulkoperations`,data,isloading);
return res;
}
/**
* Update接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof BulkOperationServiceBase
*/
public async Update(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let masterData:any = {};
Object.assign(data,masterData);
let res:any = await Http.getInstance().put(`/bulkoperations/${context.bulkoperation}`,data,isloading);
return res;
}
/**
* Remove接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof BulkOperationServiceBase
*/
public async Remove(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
return Http.getInstance().delete(`/bulkoperations/${context.bulkoperation}`,isloading);
}
/**
* Get接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof BulkOperationServiceBase
*/
public async Get(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let res:any = await Http.getInstance().get(`/bulkoperations/${context.bulkoperation}`,isloading);
return res;
}
/**
* GetDraft接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof BulkOperationServiceBase
*/
public async GetDraft(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let res:any = await Http.getInstance().get(`/bulkoperations/getdraft`,isloading);
res.data.bulkoperation = data.bulkoperation;
return res;
}
/**
* CheckKey接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof BulkOperationServiceBase
*/
public async CheckKey(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
return Http.getInstance().post(`/bulkoperations/${context.bulkoperation}/checkkey`,data,isloading);
}
/**
* Save接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof BulkOperationServiceBase
*/
public async Save(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let masterData:any = {};
Object.assign(data,masterData);
let res:any = await Http.getInstance().post(`/bulkoperations/${context.bulkoperation}/save`,data,isloading);
return res;
}
/**
* FetchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof BulkOperationServiceBase
*/
public async FetchDefault(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let tempData:any = JSON.parse(JSON.stringify(data));
return Http.getInstance().get(`/bulkoperations/fetchdefault`,tempData,isloading);
}
}
\ No newline at end of file
import { Http,Util } from '@/utils';
import BulkOperationServiceBase from './bulk-operation-service-base';
/**
* 快速市场活动服务对象
*
* @export
* @class BulkOperationService
* @extends {BulkOperationServiceBase}
*/
export default class BulkOperationService extends BulkOperationServiceBase {
/**
* Creates an instance of BulkOperationService.
*
* @param {*} [opts={}]
* @memberof BulkOperationService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
......@@ -62,6 +62,7 @@ export class EntityServiceRegister {
this.allEntityService.set('campaignresponse', () => import('@/service/campaign-response/campaign-response-service'));
this.allEntityService.set('phonecall', () => import('@/service/phone-call/phone-call-service'));
this.allEntityService.set('salesorderdetail', () => import('@/service/sales-order-detail/sales-order-detail-service'));
this.allEntityService.set('bulkoperation', () => import('@/service/bulk-operation/bulk-operation-service'));
this.allEntityService.set('listcontact', () => import('@/service/list-contact/list-contact-service'));
this.allEntityService.set('appointment', () => import('@/service/appointment/appointment-service'));
this.allEntityService.set('campaigncampaign', () => import('@/service/campaign-campaign/campaign-campaign-service'));
......@@ -77,6 +78,7 @@ export class EntityServiceRegister {
this.allEntityService.set('listlead', () => import('@/service/list-lead/list-lead-service'));
this.allEntityService.set('opportunitycompetitor', () => import('@/service/opportunity-competitor/opportunity-competitor-service'));
this.allEntityService.set('competitorsalesliterature', () => import('@/service/competitor-sales-literature/competitor-sales-literature-service'));
this.allEntityService.set('knowledgearticle', () => import('@/service/knowledge-article/knowledge-article-service'));
this.allEntityService.set('salesliteratureitem', () => import('@/service/sales-literature-item/sales-literature-item-service'));
this.allEntityService.set('contact', () => import('@/service/contact/contact-service'));
this.allEntityService.set('product', () => import('@/service/product/product-service'));
......
import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 知识文章服务对象基类
*
* @export
* @class KnowledgeArticleServiceBase
* @extends {EntityServie}
*/
export default class KnowledgeArticleServiceBase extends EntityService {
/**
* Creates an instance of KnowledgeArticleServiceBase.
*
* @param {*} [opts={}]
* @memberof KnowledgeArticleServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 初始化基础数据
*
* @memberof KnowledgeArticleServiceBase
*/
public initBasicData(){
this.APPLYDEKEY ='knowledgearticle';
this.APPDEKEY = 'knowledgearticleid';
this.APPDENAME = 'knowledgearticles';
this.APPDETEXT = 'title';
this.APPNAME = 'crm';
this.SYSTEMNAME = 'ibizbusinesscentral';
}
// 实体接口
/**
* Select接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof KnowledgeArticleServiceBase
*/
public async Select(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
return Http.getInstance().get(`/knowledgearticles/${context.knowledgearticle}/select`,isloading);
}
/**
* Create接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof KnowledgeArticleServiceBase
*/
public async Create(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let masterData:any = {};
Object.assign(data,masterData);
if(!data.srffrontuf || data.srffrontuf !== "1"){
data[this.APPDEKEY] = null;
}
if(data.srffrontuf){
delete data.srffrontuf;
}
let tempContext:any = JSON.parse(JSON.stringify(context));
let res:any = await Http.getInstance().post(`/knowledgearticles`,data,isloading);
return res;
}
/**
* Update接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof KnowledgeArticleServiceBase
*/
public async Update(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let masterData:any = {};
Object.assign(data,masterData);
let res:any = await Http.getInstance().put(`/knowledgearticles/${context.knowledgearticle}`,data,isloading);
return res;
}
/**
* Remove接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof KnowledgeArticleServiceBase
*/
public async Remove(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
return Http.getInstance().delete(`/knowledgearticles/${context.knowledgearticle}`,isloading);
}
/**
* Get接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof KnowledgeArticleServiceBase
*/
public async Get(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let res:any = await Http.getInstance().get(`/knowledgearticles/${context.knowledgearticle}`,isloading);
return res;
}
/**
* GetDraft接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof KnowledgeArticleServiceBase
*/
public async GetDraft(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let res:any = await Http.getInstance().get(`/knowledgearticles/getdraft`,isloading);
res.data.knowledgearticle = data.knowledgearticle;
return res;
}
/**
* CheckKey接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof KnowledgeArticleServiceBase
*/
public async CheckKey(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
return Http.getInstance().post(`/knowledgearticles/${context.knowledgearticle}/checkkey`,data,isloading);
}
/**
* Save接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof KnowledgeArticleServiceBase
*/
public async Save(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let masterData:any = {};
Object.assign(data,masterData);
let res:any = await Http.getInstance().post(`/knowledgearticles/${context.knowledgearticle}/save`,data,isloading);
return res;
}
/**
* FetchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof KnowledgeArticleServiceBase
*/
public async FetchDefault(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let tempData:any = JSON.parse(JSON.stringify(data));
return Http.getInstance().get(`/knowledgearticles/fetchdefault`,tempData,isloading);
}
}
\ No newline at end of file
import { Http,Util } from '@/utils';
import KnowledgeArticleServiceBase from './knowledge-article-service-base';
/**
* 知识文章服务对象
*
* @export
* @class KnowledgeArticleService
* @extends {KnowledgeArticleServiceBase}
*/
export default class KnowledgeArticleService extends KnowledgeArticleServiceBase {
/**
* Creates an instance of KnowledgeArticleService.
*
* @param {*} [opts={}]
* @memberof KnowledgeArticleService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
......@@ -1142,6 +1142,7 @@ export const viewstate: any = {
'15d12c1173fcb6e742b6a6d92cbc53ed',
'0326a502bb574cddc41da4323786dcb5',
'90b48a107932f432e0dde42791a51887',
'9af073dea1ea05903d52e8bdc5a03dd5',
'45fdc8ee4d1401d2d625e80177395ddc',
'7FCD2E75-E34A-493C-922E-8AE47BCE08CA',
'd1c35f3c52010e1428d7dc1a6bc82f63',
......
......@@ -80,6 +80,8 @@ export default class MetricUIServiceBase extends UIService {
*/
public initViewMap(){
this.allViewMap.set(':',{viewname:'pickupgridview',srfappde:'metrics'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'metrics'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'metrics'});
this.allViewMap.set('PICKUPVIEW:',{viewname:'pickupview',srfappde:'metrics'});
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册