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

xignzi006 发布系统代码

上级 b2373298
...@@ -239,6 +239,16 @@ ...@@ -239,6 +239,16 @@
"viewtag": "144fa4796e1efccbfeb7f373d4c0bebb", "viewtag": "144fa4796e1efccbfeb7f373d4c0bebb",
"memo": "系统自动添加" "memo": "系统自动添加"
}, },
"invoicebyparentkey": {
"title": "发票信息",
"caption": "发票",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Finance",
"viewname": "InvoiceByParentKey",
"viewfilename": "invoice-by-parent-key",
"viewtag": "153e64e9763c797b19e261e8db1dafd3",
"memo": "系统自动添加"
},
"leadgridview": { "leadgridview": {
"title": "潜在顾客信息", "title": "潜在顾客信息",
"caption": "潜在顾客信息", "caption": "潜在顾客信息",
...@@ -639,6 +649,16 @@ ...@@ -639,6 +649,16 @@
"viewtag": "3c8bbe79d569f27ef675664d32a91c0d", "viewtag": "3c8bbe79d569f27ef675664d32a91c0d",
"memo": "" "memo": ""
}, },
"connectionrolegridview": {
"title": "连接角色表格视图",
"caption": "连接角色",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Runtime",
"viewname": "ConnectionRoleGridView",
"viewfilename": "connection-role-grid-view",
"viewtag": "3cac572b3a6905293a0e22e3f3fa3c04",
"memo": ""
},
"contactinfo_abstract": { "contactinfo_abstract": {
"title": "联系人编辑视图", "title": "联系人编辑视图",
"caption": "联系人", "caption": "联系人",
...@@ -1149,6 +1169,16 @@ ...@@ -1149,6 +1169,16 @@
"viewtag": "73bb9f7e653384ca09f8bbbfd580d892", "viewtag": "73bb9f7e653384ca09f8bbbfd580d892",
"memo": "系统自动添加" "memo": "系统自动添加"
}, },
"connectionroleeditview": {
"title": "连接角色编辑视图",
"caption": "连接角色",
"viewtype": "DEEDITVIEW",
"viewmodule": "Runtime",
"viewname": "ConnectionRoleEditView",
"viewfilename": "connection-role-edit-view",
"viewtag": "73cfeee47b3d8226faade73f93a2097c",
"memo": "系统自动添加"
},
"contacteditaddress": { "contacteditaddress": {
"title": "联系人选项操作视图", "title": "联系人选项操作视图",
"caption": "地址信息", "caption": "地址信息",
...@@ -1329,6 +1359,16 @@ ...@@ -1329,6 +1359,16 @@
"viewtag": "8764cc6860a8981a549fcf693bbc44f6", "viewtag": "8764cc6860a8981a549fcf693bbc44f6",
"memo": "系统自动添加" "memo": "系统自动添加"
}, },
"knowledgearticlegridview": {
"title": "知识文章信息",
"caption": "知识文章",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Base",
"viewname": "KnowledgeArticleGridView",
"viewfilename": "knowledge-article-grid-view",
"viewtag": "8895fef7ce4f5bdd1cd8f950bd1f8bcc",
"memo": ""
},
"taskquickcreate": { "taskquickcreate": {
"title": "快速新建:任务", "title": "快速新建:任务",
"caption": "快速新建:任务", "caption": "快速新建:任务",
...@@ -1569,6 +1609,16 @@ ...@@ -1569,6 +1609,16 @@
"viewtag": "9a96ebf2e57358b3590b9d4479edb77a", "viewtag": "9a96ebf2e57358b3590b9d4479edb77a",
"memo": "系统自动添加" "memo": "系统自动添加"
}, },
"setting": {
"title": "设置",
"caption": "设置",
"viewtype": "APPPORTALVIEW",
"viewmodule": "Ungroup",
"viewname": "Setting",
"viewfilename": "setting",
"viewtag": "9AE386A9-53DE-4F99-BCCA-747AEFE666A4",
"memo": ""
},
"metricgridview": { "metricgridview": {
"title": "目标度量信息", "title": "目标度量信息",
"caption": "目标度量", "caption": "目标度量",
...@@ -2119,6 +2169,26 @@ ...@@ -2119,6 +2169,26 @@
"viewtag": "d3692664b9e2e150526e1ce4b969f15b", "viewtag": "d3692664b9e2e150526e1ce4b969f15b",
"memo": "系统自动添加" "memo": "系统自动添加"
}, },
"leadcompetitoreditview": {
"title": "潜在客户对手编辑视图",
"caption": "潜在客户对手",
"viewtype": "DEEDITVIEW",
"viewmodule": "Sales",
"viewname": "LeadCompetitorEditView",
"viewfilename": "lead-competitor-edit-view",
"viewtag": "d43728f22dd85502c1f3c27e93878162",
"memo": "系统自动添加"
},
"leadcompetitorgridview": {
"title": "潜在客户对手表格视图",
"caption": "潜在客户对手",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Sales",
"viewname": "LeadCompetitorGridView",
"viewfilename": "lead-competitor-grid-view",
"viewtag": "d5bc3dd94496dbc1549773a1647ca64d",
"memo": "系统自动添加"
},
"campaigninfo": { "campaigninfo": {
"title": "市场活动信息", "title": "市场活动信息",
"caption": "市场活动", "caption": "市场活动",
......
/**
* 连接角色
*
* @export
* @interface ConnectionRole
*/
export interface ConnectionRole {
/**
* 替代时间
*
* @returns {*}
* @memberof ConnectionRole
*/
overwritetime?: any;
/**
* 更新时间
*
* @returns {*}
* @memberof ConnectionRole
*/
updatedate?: any;
/**
* 状态
*
* @returns {*}
* @memberof ConnectionRole
*/
managed?: any;
/**
* 解决方案
*
* @returns {*}
* @memberof ConnectionRole
*/
supportingsolutionid?: any;
/**
* 组件状态
*
* @returns {*}
* @memberof ConnectionRole
*/
componentstate?: any;
/**
* 连接角色类别
*
* @returns {*}
* @memberof ConnectionRole
*/
category?: any;
/**
* 建立时间
*
* @returns {*}
* @memberof ConnectionRole
*/
createdate?: any;
/**
* 导入序列号
*
* @returns {*}
* @memberof ConnectionRole
*/
importsequencenumber?: any;
/**
* 关联角色名称
*
* @returns {*}
* @memberof ConnectionRole
*/
connectionrolename?: any;
/**
* 状态描述
*
* @returns {*}
* @memberof ConnectionRole
*/
statuscode?: any;
/**
* 连接角色
*
* @returns {*}
* @memberof ConnectionRole
*/
connectionroleid?: any;
/**
* 唯一 ID
*
* @returns {*}
* @memberof ConnectionRole
*/
connectionroleidunique?: any;
/**
* 版本号
*
* @returns {*}
* @memberof ConnectionRole
*/
versionnumber?: any;
/**
* 更新人
*
* @returns {*}
* @memberof ConnectionRole
*/
updateman?: any;
/**
* 解决方案
*
* @returns {*}
* @memberof ConnectionRole
*/
solutionid?: any;
/**
* 说明
*
* @returns {*}
* @memberof ConnectionRole
*/
description?: any;
/**
* 可自定义
*
* @returns {*}
* @memberof ConnectionRole
*/
customizable?: any;
/**
* 引入的版本
*
* @returns {*}
* @memberof ConnectionRole
*/
introducedversion?: any;
/**
* 建立人
*
* @returns {*}
* @memberof ConnectionRole
*/
createman?: any;
/**
* 状态
*
* @returns {*}
* @memberof ConnectionRole
*/
statecode?: any;
}
\ No newline at end of file
/**
* 连接
*
* @export
* @interface Connection
*/
export interface Connection {
/**
* 类型(目标)
*
* @returns {*}
* @memberof Connection
*/
record2objecttypecode?: any;
/**
* 更新时间
*
* @returns {*}
* @memberof Connection
*/
updatedate?: any;
/**
* EntityImage_Timestamp
*
* @returns {*}
* @memberof Connection
*/
entityimage_timestamp?: any;
/**
* 建立时间
*
* @returns {*}
* @memberof Connection
*/
createdate?: any;
/**
* 负责人
*
* @returns {*}
* @memberof Connection
*/
owneridyominame?: any;
/**
* 建立人
*
* @returns {*}
* @memberof Connection
*/
createman?: any;
/**
* 类型(源)
*
* @returns {*}
* @memberof Connection
*/
record1objecttypecode?: any;
/**
* 已连接到
*
* @returns {*}
* @memberof Connection
*/
record2id?: any;
/**
* 主记录
*
* @returns {*}
* @memberof Connection
*/
master?: any;
/**
* Record1IdObjectTypeCode
*
* @returns {*}
* @memberof Connection
*/
record1idobjecttypecode?: any;
/**
* 负责人
*
* @returns {*}
* @memberof Connection
*/
ownerid?: any;
/**
* 更新人
*
* @returns {*}
* @memberof Connection
*/
updateman?: any;
/**
* 正在启动
*
* @returns {*}
* @memberof Connection
*/
effectivestart?: any;
/**
* 连接自
*
* @returns {*}
* @memberof Connection
*/
record1id?: any;
/**
* 创建记录的时间
*
* @returns {*}
* @memberof Connection
*/
overriddencreatedon?: any;
/**
* 导入序列号
*
* @returns {*}
* @memberof Connection
*/
importsequencenumber?: any;
/**
* 负责人类型
*
* @returns {*}
* @memberof Connection
*/
owneridtype?: any;
/**
* Record2IdObjectTypeCode
*
* @returns {*}
* @memberof Connection
*/
record2idobjecttypecode?: any;
/**
* 汇率
*
* @returns {*}
* @memberof Connection
*/
exchangerate?: any;
/**
* 实体图像 ID
*
* @returns {*}
* @memberof Connection
*/
entityimageid?: any;
/**
* 版本号
*
* @returns {*}
* @memberof Connection
*/
versionnumber?: any;
/**
* 正在结束
*
* @returns {*}
* @memberof Connection
*/
effectiveend?: any;
/**
* EntityImage_URL
*
* @returns {*}
* @memberof Connection
*/
entityimage_url?: any;
/**
* 关联名称
*
* @returns {*}
* @memberof Connection
*/
connectionname?: any;
/**
* 状态描述
*
* @returns {*}
* @memberof Connection
*/
statuscode?: any;
/**
* 连接
*
* @returns {*}
* @memberof Connection
*/
connectionid?: any;
/**
* 状态
*
* @returns {*}
* @memberof Connection
*/
statecode?: any;
/**
* 说明
*
* @returns {*}
* @memberof Connection
*/
description?: any;
/**
* 实体图像
*
* @returns {*}
* @memberof Connection
*/
entityimage?: any;
/**
* 角色(源)
*
* @returns {*}
* @memberof Connection
*/
record1roleid?: any;
/**
* 货币
*
* @returns {*}
* @memberof Connection
*/
transactioncurrencyid?: any;
/**
* 角色(目标)
*
* @returns {*}
* @memberof Connection
*/
record2roleid?: any;
}
\ No newline at end of file
/**
* 潜在客户对手
*
* @export
* @interface LeadCompetitor
*/
export interface LeadCompetitor {
/**
* 建立时间
*
* @returns {*}
* @memberof LeadCompetitor
*/
createdate?: any;
/**
* 建立人
*
* @returns {*}
* @memberof LeadCompetitor
*/
createman?: any;
/**
* 关系标识
*
* @returns {*}
* @memberof LeadCompetitor
*/
relationshipsid?: any;
/**
* 关系名称
*
* @returns {*}
* @memberof LeadCompetitor
*/
relationshipsname?: any;
/**
* 关系类型
*
* @returns {*}
* @memberof LeadCompetitor
*/
relationshipstype?: any;
/**
* 更新时间
*
* @returns {*}
* @memberof LeadCompetitor
*/
updatedate?: any;
/**
* 更新人
*
* @returns {*}
* @memberof LeadCompetitor
*/
updateman?: any;
/**
* 潜在顾客
*
* @returns {*}
* @memberof LeadCompetitor
*/
entityid?: any;
/**
* 竞争对手
*
* @returns {*}
* @memberof LeadCompetitor
*/
entity2id?: any;
/**
* 潜在客户
*
* @returns {*}
* @memberof LeadCompetitor
*/
entityname?: any;
/**
* 对手
*
* @returns {*}
* @memberof LeadCompetitor
*/
entity2name?: any;
}
\ No newline at end of file
...@@ -19,9 +19,12 @@ import incident_en_US from '@locale/lanres/entities/incident/incident_en_US'; ...@@ -19,9 +19,12 @@ import incident_en_US from '@locale/lanres/entities/incident/incident_en_US';
import ibizservice_en_US from '@locale/lanres/entities/ibiz-service/ibiz-service_en_US'; import ibizservice_en_US from '@locale/lanres/entities/ibiz-service/ibiz-service_en_US';
import uomschedule_en_US from '@locale/lanres/entities/uom-schedule/uom-schedule_en_US'; import uomschedule_en_US from '@locale/lanres/entities/uom-schedule/uom-schedule_en_US';
import ibizlist_en_US from '@locale/lanres/entities/ibiz-list/ibiz-list_en_US'; import ibizlist_en_US from '@locale/lanres/entities/ibiz-list/ibiz-list_en_US';
import connection_en_US from '@locale/lanres/entities/connection/connection_en_US';
import leadcompetitor_en_US from '@locale/lanres/entities/lead-competitor/lead-competitor_en_US';
import campaignresponse_en_US from '@locale/lanres/entities/campaign-response/campaign-response_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 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 salesorderdetail_en_US from '@locale/lanres/entities/sales-order-detail/sales-order-detail_en_US';
import connectionrole_en_US from '@locale/lanres/entities/connection-role/connection-role_en_US';
import bulkoperation_en_US from '@locale/lanres/entities/bulk-operation/bulk-operation_en_US'; import bulkoperation_en_US from '@locale/lanres/entities/bulk-operation/bulk-operation_en_US';
import knowledgearticleincident_en_US from '@locale/lanres/entities/knowledge-article-incident/knowledge-article-incident_en_US'; import knowledgearticleincident_en_US from '@locale/lanres/entities/knowledge-article-incident/knowledge-article-incident_en_US';
import listcontact_en_US from '@locale/lanres/entities/list-contact/list-contact_en_US'; import listcontact_en_US from '@locale/lanres/entities/list-contact/list-contact_en_US';
...@@ -107,6 +110,10 @@ export default { ...@@ -107,6 +110,10 @@ export default {
caption: "企业中心", caption: "企业中心",
title: "企业中心", title: "企业中心",
}, },
setting: {
caption: "设置",
title: "设置",
},
}, },
utilview:{ utilview:{
importview:"Import Data", importview:"Import Data",
...@@ -147,8 +154,6 @@ export default { ...@@ -147,8 +154,6 @@ export default {
menuitem24: "绩效", menuitem24: "绩效",
menuitem25: "目标", menuitem25: "目标",
menuitem31: "目标度量", menuitem31: "目标度量",
menuitem26: "预测",
menuitem33: "目标分页",
menuitem27: "服务", menuitem27: "服务",
menuitem28: "服务案例", menuitem28: "服务案例",
menuitem32: "知识文章", menuitem32: "知识文章",
...@@ -157,6 +162,9 @@ export default { ...@@ -157,6 +162,9 @@ export default {
footer_center: "底部中间", footer_center: "底部中间",
footer_right: "底部右侧", footer_right: "底部右侧",
}, },
setting: {
menuitem1: "链接角色",
},
}, },
}, },
entities: { entities: {
...@@ -181,9 +189,12 @@ export default { ...@@ -181,9 +189,12 @@ export default {
ibizservice: ibizservice_en_US, ibizservice: ibizservice_en_US,
uomschedule: uomschedule_en_US, uomschedule: uomschedule_en_US,
ibizlist: ibizlist_en_US, ibizlist: ibizlist_en_US,
connection: connection_en_US,
leadcompetitor: leadcompetitor_en_US,
campaignresponse: campaignresponse_en_US, campaignresponse: campaignresponse_en_US,
phonecall: phonecall_en_US, phonecall: phonecall_en_US,
salesorderdetail: salesorderdetail_en_US, salesorderdetail: salesorderdetail_en_US,
connectionrole: connectionrole_en_US,
bulkoperation: bulkoperation_en_US, bulkoperation: bulkoperation_en_US,
knowledgearticleincident: knowledgearticleincident_en_US, knowledgearticleincident: knowledgearticleincident_en_US,
listcontact: listcontact_en_US, listcontact: listcontact_en_US,
......
...@@ -19,9 +19,12 @@ import incident_zh_CN from '@locale/lanres/entities/incident/incident_zh_CN'; ...@@ -19,9 +19,12 @@ import incident_zh_CN from '@locale/lanres/entities/incident/incident_zh_CN';
import ibizservice_zh_CN from '@locale/lanres/entities/ibiz-service/ibiz-service_zh_CN'; import ibizservice_zh_CN from '@locale/lanres/entities/ibiz-service/ibiz-service_zh_CN';
import uomschedule_zh_CN from '@locale/lanres/entities/uom-schedule/uom-schedule_zh_CN'; import uomschedule_zh_CN from '@locale/lanres/entities/uom-schedule/uom-schedule_zh_CN';
import ibizlist_zh_CN from '@locale/lanres/entities/ibiz-list/ibiz-list_zh_CN'; import ibizlist_zh_CN from '@locale/lanres/entities/ibiz-list/ibiz-list_zh_CN';
import connection_zh_CN from '@locale/lanres/entities/connection/connection_zh_CN';
import leadcompetitor_zh_CN from '@locale/lanres/entities/lead-competitor/lead-competitor_zh_CN';
import campaignresponse_zh_CN from '@locale/lanres/entities/campaign-response/campaign-response_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 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 salesorderdetail_zh_CN from '@locale/lanres/entities/sales-order-detail/sales-order-detail_zh_CN';
import connectionrole_zh_CN from '@locale/lanres/entities/connection-role/connection-role_zh_CN';
import bulkoperation_zh_CN from '@locale/lanres/entities/bulk-operation/bulk-operation_zh_CN'; import bulkoperation_zh_CN from '@locale/lanres/entities/bulk-operation/bulk-operation_zh_CN';
import knowledgearticleincident_zh_CN from '@locale/lanres/entities/knowledge-article-incident/knowledge-article-incident_zh_CN'; import knowledgearticleincident_zh_CN from '@locale/lanres/entities/knowledge-article-incident/knowledge-article-incident_zh_CN';
import listcontact_zh_CN from '@locale/lanres/entities/list-contact/list-contact_zh_CN'; import listcontact_zh_CN from '@locale/lanres/entities/list-contact/list-contact_zh_CN';
...@@ -107,6 +110,10 @@ export default { ...@@ -107,6 +110,10 @@ export default {
caption: "企业中心", caption: "企业中心",
title: "企业中心", title: "企业中心",
}, },
setting: {
caption: "设置",
title: "设置",
},
}, },
utilview:{ utilview:{
importview:"导入数据", importview:"导入数据",
...@@ -147,8 +154,6 @@ export default { ...@@ -147,8 +154,6 @@ export default {
menuitem24: "绩效", menuitem24: "绩效",
menuitem25: "目标", menuitem25: "目标",
menuitem31: "目标度量", menuitem31: "目标度量",
menuitem26: "预测",
menuitem33: "目标分页",
menuitem27: "服务", menuitem27: "服务",
menuitem28: "服务案例", menuitem28: "服务案例",
menuitem32: "知识文章", menuitem32: "知识文章",
...@@ -157,6 +162,9 @@ export default { ...@@ -157,6 +162,9 @@ export default {
footer_center: "底部中间", footer_center: "底部中间",
footer_right: "底部右侧", footer_right: "底部右侧",
}, },
setting: {
menuitem1: "链接角色",
},
}, },
}, },
entities: { entities: {
...@@ -181,9 +189,12 @@ export default { ...@@ -181,9 +189,12 @@ export default {
ibizservice: ibizservice_zh_CN, ibizservice: ibizservice_zh_CN,
uomschedule: uomschedule_zh_CN, uomschedule: uomschedule_zh_CN,
ibizlist: ibizlist_zh_CN, ibizlist: ibizlist_zh_CN,
connection: connection_zh_CN,
leadcompetitor: leadcompetitor_zh_CN,
campaignresponse: campaignresponse_zh_CN, campaignresponse: campaignresponse_zh_CN,
phonecall: phonecall_zh_CN, phonecall: phonecall_zh_CN,
salesorderdetail: salesorderdetail_zh_CN, salesorderdetail: salesorderdetail_zh_CN,
connectionrole: connectionrole_zh_CN,
bulkoperation: bulkoperation_zh_CN, bulkoperation: bulkoperation_zh_CN,
knowledgearticleincident: knowledgearticleincident_zh_CN, knowledgearticleincident: knowledgearticleincident_zh_CN,
listcontact: listcontact_zh_CN, listcontact: listcontact_zh_CN,
......
export default {
fields: {
overwritetime: "替代时间",
updatedate: "更新时间",
managed: "状态",
supportingsolutionid: "解决方案",
componentstate: "组件状态",
category: "连接角色类别",
createdate: "建立时间",
importsequencenumber: "导入序列号",
connectionrolename: "关联角色名称",
statuscode: "状态描述",
connectionroleid: "连接角色",
connectionroleidunique: "唯一 ID",
versionnumber: "版本号",
updateman: "更新人",
solutionid: "解决方案",
description: "说明",
customizable: "可自定义",
introducedversion: "引入的版本",
createman: "建立人",
statecode: "状态",
},
views: {
gridview: {
caption: "连接角色",
title: "连接角色表格视图",
},
editview: {
caption: "连接角色",
title: "连接角色编辑视图",
},
},
main_form: {
details: {
group1: "connectionrole基本信息",
formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "连接角色",
srfmajortext: "关联角色名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
connectionrolename: "关联角色名称",
createman: "建立人",
createdate: "建立时间",
updateman: "更新人",
updatedate: "更新时间",
connectionroleid: "连接角色",
},
uiactions: {
},
},
main_grid: {
columns: {
connectionrolename: "关联角色名称",
updateman: "更新人",
updatedate: "更新时间",
},
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "常规条件",
},
uiactions: {
},
},
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",
},
},
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}",
},
},
};
\ No newline at end of file
export default {
fields: {
overwritetime: "替代时间",
updatedate: "更新时间",
managed: "状态",
supportingsolutionid: "解决方案",
componentstate: "组件状态",
category: "连接角色类别",
createdate: "建立时间",
importsequencenumber: "导入序列号",
connectionrolename: "关联角色名称",
statuscode: "状态描述",
connectionroleid: "连接角色",
connectionroleidunique: "唯一 ID",
versionnumber: "版本号",
updateman: "更新人",
solutionid: "解决方案",
description: "说明",
customizable: "可自定义",
introducedversion: "引入的版本",
createman: "建立人",
statecode: "状态",
},
views: {
gridview: {
caption: "连接角色",
title: "连接角色表格视图",
},
editview: {
caption: "连接角色",
title: "连接角色编辑视图",
},
},
main_form: {
details: {
group1: "connectionrole基本信息",
formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "连接角色",
srfmajortext: "关联角色名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
connectionrolename: "关联角色名称",
createman: "建立人",
createdate: "建立时间",
updateman: "更新人",
updatedate: "更新时间",
connectionroleid: "连接角色",
},
uiactions: {
},
},
main_grid: {
columns: {
connectionrolename: "关联角色名称",
updateman: "更新人",
updatedate: "更新时间",
},
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "常规条件",
},
uiactions: {
},
},
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: "过滤",
},
},
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: "拷贝",
},
},
};
\ No newline at end of file
export default {
fields: {
record2objecttypecode: "类型(目标)",
updatedate: "更新时间",
entityimage_timestamp: "EntityImage_Timestamp",
createdate: "建立时间",
owneridyominame: "负责人",
createman: "建立人",
record1objecttypecode: "类型(源)",
record2id: "已连接到",
master: "主记录",
record1idobjecttypecode: "Record1IdObjectTypeCode",
ownerid: "负责人",
updateman: "更新人",
effectivestart: "正在启动",
record1id: "连接自",
overriddencreatedon: "创建记录的时间",
importsequencenumber: "导入序列号",
owneridtype: "负责人类型",
record2idobjecttypecode: "Record2IdObjectTypeCode",
exchangerate: "汇率",
entityimageid: "实体图像 ID",
versionnumber: "版本号",
effectiveend: "正在结束",
entityimage_url: "EntityImage_URL",
connectionname: "关联名称",
statuscode: "状态描述",
connectionid: "连接",
statecode: "状态",
description: "说明",
entityimage: "实体图像",
record1roleid: "角色(源)",
transactioncurrencyid: "货币",
record2roleid: "角色(目标)",
},
};
\ No newline at end of file
export default {
fields: {
record2objecttypecode: "类型(目标)",
updatedate: "更新时间",
entityimage_timestamp: "EntityImage_Timestamp",
createdate: "建立时间",
owneridyominame: "负责人",
createman: "建立人",
record1objecttypecode: "类型(源)",
record2id: "已连接到",
master: "主记录",
record1idobjecttypecode: "Record1IdObjectTypeCode",
ownerid: "负责人",
updateman: "更新人",
effectivestart: "正在启动",
record1id: "连接自",
overriddencreatedon: "创建记录的时间",
importsequencenumber: "导入序列号",
owneridtype: "负责人类型",
record2idobjecttypecode: "Record2IdObjectTypeCode",
exchangerate: "汇率",
entityimageid: "实体图像 ID",
versionnumber: "版本号",
effectiveend: "正在结束",
entityimage_url: "EntityImage_URL",
connectionname: "关联名称",
statuscode: "状态描述",
connectionid: "连接",
statecode: "状态",
description: "说明",
entityimage: "实体图像",
record1roleid: "角色(源)",
transactioncurrencyid: "货币",
record2roleid: "角色(目标)",
},
};
\ No newline at end of file
...@@ -103,6 +103,10 @@ export default { ...@@ -103,6 +103,10 @@ export default {
caption: "发票", caption: "发票",
title: "快速新建", title: "快速新建",
}, },
byparentkey: {
caption: "发票",
title: "发票信息",
},
summaryview: { summaryview: {
caption: "发票", caption: "发票",
title: "发票数据看板视图", title: "发票数据看板视图",
...@@ -319,6 +323,48 @@ export default { ...@@ -319,6 +323,48 @@ export default {
tip: "关闭", tip: "关闭",
}, },
}, },
byparentkeytoolbar_toolbar: {
tbitem1_openquickcreateview: {
caption: "新建",
tip: "新建",
},
tbitem2: {
caption: "-",
tip: "",
},
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",
},
},
gridviewtoolbar_toolbar: { gridviewtoolbar_toolbar: {
tbitem1_openquickcreateview: { tbitem1_openquickcreateview: {
caption: "新建", caption: "新建",
......
...@@ -102,6 +102,10 @@ export default { ...@@ -102,6 +102,10 @@ export default {
caption: "发票", caption: "发票",
title: "快速新建", title: "快速新建",
}, },
byparentkey: {
caption: "发票",
title: "发票信息",
},
summaryview: { summaryview: {
caption: "发票", caption: "发票",
title: "发票数据看板视图", title: "发票数据看板视图",
...@@ -318,6 +322,48 @@ export default { ...@@ -318,6 +322,48 @@ export default {
tip: "关闭", tip: "关闭",
}, },
}, },
byparentkeytoolbar_toolbar: {
tbitem1_openquickcreateview: {
caption: "新建",
tip: "新建",
},
tbitem2: {
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: "过滤",
},
},
gridviewtoolbar_toolbar: { gridviewtoolbar_toolbar: {
tbitem1_openquickcreateview: { tbitem1_openquickcreateview: {
caption: "新建", caption: "新建",
......
...@@ -69,6 +69,10 @@ export default { ...@@ -69,6 +69,10 @@ export default {
transactioncurrencyname: "货币", transactioncurrencyname: "货币",
}, },
views: { views: {
gridview: {
caption: "知识文章",
title: "知识文章信息",
},
infoview: { infoview: {
caption: "知识文章", caption: "知识文章",
title: "知识文章信息", title: "知识文章信息",
...@@ -86,11 +90,9 @@ export default { ...@@ -86,11 +90,9 @@ export default {
title: "知识文章信息视图", title: "知识文章信息视图",
}, },
}, },
info_knowledgearticle_form: { quickcreate_form: {
details: { details: {
group1: "知识文章基本信息", group1: "知识文章基本信息",
grouppanel2: "发布信息",
grouppanel1: "详细信息",
formpage1: "基本信息", formpage1: "基本信息",
srfupdatedate: "更新时间", srfupdatedate: "更新时间",
srforikey: "", srforikey: "",
...@@ -102,24 +104,16 @@ export default { ...@@ -102,24 +104,16 @@ export default {
srfsourcekey: "", srfsourcekey: "",
title: "标题", title: "标题",
keywords: "关键字", keywords: "关键字",
internal: "内部",
statuscode: "状态描述",
ownerid: "负责人",
primaryauthorid: "主要作者 ID",
subjectname: "主题",
publishon: "发布日期",
expirationdate: "到期日期",
content: "内容",
description: "说明",
knowledgearticleid: "知识文章", knowledgearticleid: "知识文章",
subjectid: "主题",
}, },
uiactions: { uiactions: {
}, },
}, },
quickcreate_form: { info_knowledgearticle_form: {
details: { details: {
group1: "知识文章基本信息", group1: "知识文章基本信息",
grouppanel2: "发布信息",
grouppanel1: "详细信息",
formpage1: "基本信息", formpage1: "基本信息",
srfupdatedate: "更新时间", srfupdatedate: "更新时间",
srforikey: "", srforikey: "",
...@@ -131,9 +125,77 @@ export default { ...@@ -131,9 +125,77 @@ export default {
srfsourcekey: "", srfsourcekey: "",
title: "标题", title: "标题",
keywords: "关键字", keywords: "关键字",
internal: "内部",
statuscode: "状态描述",
ownerid: "负责人",
primaryauthorid: "主要作者 ID",
subjectname: "主题",
publishon: "发布日期",
expirationdate: "到期日期",
content: "内容",
description: "说明",
knowledgearticleid: "知识文章", knowledgearticleid: "知识文章",
subjectid: "主题",
}, },
uiactions: { uiactions: {
}, },
}, },
main_grid: {
columns: {
title: "标题",
updateman: "更新人",
updatedate: "更新时间",
},
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "常规条件",
},
uiactions: {
},
},
gridviewtoolbar_toolbar: {
tbitem1_openquickcreateview: {
caption: "新建",
tip: "新建",
},
tbitem2: {
caption: "-",
tip: "",
},
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
...@@ -68,6 +68,10 @@ export default { ...@@ -68,6 +68,10 @@ export default {
transactioncurrencyname: "货币", transactioncurrencyname: "货币",
}, },
views: { views: {
gridview: {
caption: "知识文章",
title: "知识文章信息",
},
infoview: { infoview: {
caption: "知识文章", caption: "知识文章",
title: "知识文章信息", title: "知识文章信息",
...@@ -85,11 +89,9 @@ export default { ...@@ -85,11 +89,9 @@ export default {
title: "知识文章信息视图", title: "知识文章信息视图",
}, },
}, },
info_knowledgearticle_form: { quickcreate_form: {
details: { details: {
group1: "知识文章基本信息", group1: "知识文章基本信息",
grouppanel2: "发布信息",
grouppanel1: "详细信息",
formpage1: "基本信息", formpage1: "基本信息",
srfupdatedate: "更新时间", srfupdatedate: "更新时间",
srforikey: "", srforikey: "",
...@@ -101,24 +103,16 @@ export default { ...@@ -101,24 +103,16 @@ export default {
srfsourcekey: "", srfsourcekey: "",
title: "标题", title: "标题",
keywords: "关键字", keywords: "关键字",
internal: "内部",
statuscode: "状态描述",
ownerid: "负责人",
primaryauthorid: "主要作者 ID",
subjectname: "主题",
publishon: "发布日期",
expirationdate: "到期日期",
content: "内容",
description: "说明",
knowledgearticleid: "知识文章", knowledgearticleid: "知识文章",
subjectid: "主题",
}, },
uiactions: { uiactions: {
}, },
}, },
quickcreate_form: { info_knowledgearticle_form: {
details: { details: {
group1: "知识文章基本信息", group1: "知识文章基本信息",
grouppanel2: "发布信息",
grouppanel1: "详细信息",
formpage1: "基本信息", formpage1: "基本信息",
srfupdatedate: "更新时间", srfupdatedate: "更新时间",
srforikey: "", srforikey: "",
...@@ -130,9 +124,77 @@ export default { ...@@ -130,9 +124,77 @@ export default {
srfsourcekey: "", srfsourcekey: "",
title: "标题", title: "标题",
keywords: "关键字", keywords: "关键字",
internal: "内部",
statuscode: "状态描述",
ownerid: "负责人",
primaryauthorid: "主要作者 ID",
subjectname: "主题",
publishon: "发布日期",
expirationdate: "到期日期",
content: "内容",
description: "说明",
knowledgearticleid: "知识文章", knowledgearticleid: "知识文章",
subjectid: "主题",
}, },
uiactions: { uiactions: {
}, },
}, },
main_grid: {
columns: {
title: "标题",
updateman: "更新人",
updatedate: "更新时间",
},
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "常规条件",
},
uiactions: {
},
},
gridviewtoolbar_toolbar: {
tbitem1_openquickcreateview: {
caption: "新建",
tip: "新建",
},
tbitem2: {
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
export default {
fields: {
createdate: "建立时间",
createman: "建立人",
relationshipsid: "关系标识",
relationshipsname: "关系名称",
relationshipstype: "关系类型",
updatedate: "更新时间",
updateman: "更新人",
entityid: "潜在顾客",
entity2id: "竞争对手",
entityname: "潜在客户",
entity2name: "对手",
},
views: {
editview: {
caption: "潜在客户对手",
title: "潜在客户对手编辑视图",
},
gridview: {
caption: "潜在客户对手",
title: "潜在客户对手表格视图",
},
},
main_form: {
details: {
group1: "潜在客户对手基本信息",
formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "关系标识",
srfmajortext: "关系名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
relationshipsid: "关系标识",
},
uiactions: {
},
},
main_grid: {
columns: {
},
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "常规条件",
},
uiactions: {
},
},
gridviewtoolbar_toolbar: {
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",
},
},
editviewtoolbar_toolbar: {
deuiaction4: {
caption: "Edit",
tip: "Edit {0}",
},
seperator4: {
caption: "",
tip: "",
},
deuiaction1: {
caption: "Remove And Close",
tip: "Remove And Close Window",
},
seperator2: {
caption: "",
tip: "",
},
deuiaction2: {
caption: "刷新",
tip: "刷新",
},
seperator1: {
caption: "",
tip: "",
},
tbitem12: {
caption: "关闭",
tip: "关闭",
},
},
};
\ No newline at end of file
export default {
fields: {
createdate: "建立时间",
createman: "建立人",
relationshipsid: "关系标识",
relationshipsname: "关系名称",
relationshipstype: "关系类型",
updatedate: "更新时间",
updateman: "更新人",
entityid: "潜在顾客",
entity2id: "竞争对手",
entityname: "潜在客户",
entity2name: "对手",
},
views: {
editview: {
caption: "潜在客户对手",
title: "潜在客户对手编辑视图",
},
gridview: {
caption: "潜在客户对手",
title: "潜在客户对手表格视图",
},
},
main_form: {
details: {
group1: "潜在客户对手基本信息",
formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "关系标识",
srfmajortext: "关系名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
relationshipsid: "关系标识",
},
uiactions: {
},
},
main_grid: {
columns: {
},
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "常规条件",
},
uiactions: {
},
},
gridviewtoolbar_toolbar: {
tbitem4: {
caption: "编辑",
tip: "编辑",
},
tbitem6: {
caption: "拷贝",
tip: "拷贝",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "删除",
tip: "删除",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "导出",
tip: "导出",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "过滤",
tip: "过滤",
},
},
editviewtoolbar_toolbar: {
deuiaction4: {
caption: "编辑",
tip: "编辑",
},
seperator4: {
caption: "",
tip: "",
},
deuiaction1: {
caption: "删除并关闭",
tip: "删除并关闭",
},
seperator2: {
caption: "",
tip: "",
},
deuiaction2: {
caption: "刷新",
tip: "刷新",
},
seperator1: {
caption: "",
tip: "",
},
tbitem12: {
caption: "关闭",
tip: "关闭",
},
},
};
\ No newline at end of file
...@@ -61,7 +61,7 @@ mock.onGet('v7/centralappmenu').reply((config: any) => { ...@@ -61,7 +61,7 @@ mock.onGet('v7/centralappmenu').reply((config: any) => {
iconcls: 'fa fa-certificate', iconcls: 'fa fa-certificate',
icon: '', icon: '',
textcls: '', textcls: '',
appfunctag: '', appfunctag: '_4',
resourcetag: '', resourcetag: '',
}, },
{ {
...@@ -94,7 +94,7 @@ mock.onGet('v7/centralappmenu').reply((config: any) => { ...@@ -94,7 +94,7 @@ mock.onGet('v7/centralappmenu').reply((config: any) => {
hidden: false, hidden: false,
hidesidebar: false, hidesidebar: false,
opendefault: false, opendefault: false,
iconcls: 'fa fa-question-circle', iconcls: 'fa fa-question',
icon: '', icon: '',
textcls: '', textcls: '',
appfunctag: '', appfunctag: '',
...@@ -263,7 +263,7 @@ mock.onGet('v7/centralappmenu').reply((config: any) => { ...@@ -263,7 +263,7 @@ mock.onGet('v7/centralappmenu').reply((config: any) => {
iconcls: 'fa fa-users', iconcls: 'fa fa-users',
icon: '', icon: '',
textcls: '', textcls: '',
appfunctag: '_4', appfunctag: '_7',
resourcetag: '', resourcetag: '',
}, },
{ {
...@@ -595,43 +595,7 @@ mock.onGet('v7/centralappmenu').reply((config: any) => { ...@@ -595,43 +595,7 @@ mock.onGet('v7/centralappmenu').reply((config: any) => {
iconcls: 'fa fa-line-chart', iconcls: 'fa fa-line-chart',
icon: '', icon: '',
textcls: '', textcls: '',
appfunctag: '_3', appfunctag: '_6',
resourcetag: '',
},
{
id: '9014c07bd1da4beac8c7fc4f34c54eec',
name: 'menuitem26',
text: '预测',
type: 'MENUITEM',
counterid: '',
tooltip: '预测',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: 'fa fa-dot-circle-o',
icon: '',
textcls: '',
appfunctag: '',
resourcetag: '',
},
{
id: '9865490D-A150-450A-9695-3F4610E9A5BE',
name: 'menuitem33',
text: '目标分页',
type: 'MENUITEM',
counterid: '',
tooltip: '目标分页',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: '_2',
resourcetag: '', resourcetag: '',
}, },
], ],
...@@ -687,7 +651,7 @@ mock.onGet('v7/centralappmenu').reply((config: any) => { ...@@ -687,7 +651,7 @@ mock.onGet('v7/centralappmenu').reply((config: any) => {
iconcls: 'fa fa-files-o', iconcls: 'fa fa-files-o',
icon: '', icon: '',
textcls: '', textcls: '',
appfunctag: '', appfunctag: '_2',
resourcetag: '', resourcetag: '',
}, },
], ],
......
import { MockAdapter } from '@/mock/mock-adapter';
const mock = MockAdapter.getInstance();
import Mock from 'mockjs'
const Random = Mock.Random;
// 获取应用数据
mock.onGet('v7/settingappmenu').reply((config: any) => {
let status = MockAdapter.mockStatus(config);
return [status, {
name: 'db_appmenu1_appmenu',
items: [
{
id: 'FDC4FD25-BAC5-467E-B000-5A118E2A3AFE',
name: 'menuitem1',
text: '链接角色',
type: 'MENUITEM',
counterid: '',
tooltip: '链接角色',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: 'fa fa-connectdevelop',
icon: '',
textcls: '',
appfunctag: '_5',
resourcetag: '',
},
],
}];
});
此差异已折叠。
...@@ -385,6 +385,50 @@ mock.onPost(new RegExp(/^\/invoices\/?([a-zA-Z0-9\-\;]{0,35})\/save$/)).reply((c ...@@ -385,6 +385,50 @@ mock.onPost(new RegExp(/^\/invoices\/?([a-zA-Z0-9\-\;]{0,35})\/save$/)).reply((c
return [status, data]; return [status, data];
}); });
// FetchByParentKey
mock.onGet(new RegExp(/^\/invoices\/fetchbyparentkey$/)).reply((config: any) => {
console.groupCollapsed("实体:invoice 方法: FetchByParentKey");
console.table({url:config.url, method: config.method, data:config.data});
let status = MockAdapter.mockStatus(config);
if (status !== 200) {
return [status, null];
}
console.groupCollapsed("response数据 status: "+status+" data: ");
console.table(mockDatas);
console.groupEnd();
console.groupEnd();
return [status, mockDatas ? mockDatas : []];
});
// FetchByParentKey
mock.onGet(new RegExp(/^\/invoices\/fetchbyparentkey(\?[\w-./?%&=,]*)*$/)).reply((config: any) => {
console.groupCollapsed("实体:invoice 方法: FetchByParentKey");
console.table({url:config.url, method: config.method, data:config.data});
if(config.url.includes('page')){
let url = config.url.split('?')[1];
let params = qs.parse(url);
Object.assign(config, params);
}
let status = MockAdapter.mockStatus(config);
if (status !== 200) {
return [status, null];
}
let total = mockDatas.length;
let records: Array<any> = [];
if(!config.page || !config.size){
records = mockDatas;
}else{
if((config.page-1)*config.size < total){
records = mockDatas.slice(config.page,config.size);
}
}
console.groupCollapsed("response数据 status: "+status+" data: ");
console.table(records ? records : []);
console.groupEnd();
console.groupEnd();
return [status, records ? records : []];
});
// FetchDefault // FetchDefault
mock.onGet(new RegExp(/^\/invoices\/fetchdefault$/)).reply((config: any) => { mock.onGet(new RegExp(/^\/invoices\/fetchdefault$/)).reply((config: any) => {
console.groupCollapsed("实体:invoice 方法: FetchDefault"); console.groupCollapsed("实体:invoice 方法: FetchDefault");
......
...@@ -28,9 +28,12 @@ import './entity/incidents/incidents'; ...@@ -28,9 +28,12 @@ import './entity/incidents/incidents';
import './entity/ibiz-services/ibiz-services'; import './entity/ibiz-services/ibiz-services';
import './entity/uom-schedules/uom-schedules'; import './entity/uom-schedules/uom-schedules';
import './entity/ibiz-lists/ibiz-lists'; import './entity/ibiz-lists/ibiz-lists';
import './entity/connections/connections';
import './entity/lead-competitors/lead-competitors';
import './entity/campaign-responses/campaign-responses'; import './entity/campaign-responses/campaign-responses';
import './entity/phone-calls/phone-calls'; import './entity/phone-calls/phone-calls';
import './entity/sales-order-details/sales-order-details'; import './entity/sales-order-details/sales-order-details';
import './entity/connection-roles/connection-roles';
import './entity/bulk-operations/bulk-operations'; import './entity/bulk-operations/bulk-operations';
import './entity/knowledge-article-incidents/knowledge-article-incidents'; import './entity/knowledge-article-incidents/knowledge-article-incidents';
import './entity/list-contacts/list-contacts'; import './entity/list-contacts/list-contacts';
......
...@@ -199,6 +199,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -199,6 +199,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "CampaignInfo_Campagin", "viewname": "CampaignInfo_Campagin",
"viewtag": "144fa4796e1efccbfeb7f373d4c0bebb" "viewtag": "144fa4796e1efccbfeb7f373d4c0bebb"
}, },
"invoicebyparentkey": {
"title": "发票信息",
"caption": "发票",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Finance",
"viewname": "InvoiceByParentKey",
"viewtag": "153e64e9763c797b19e261e8db1dafd3"
},
"leadgridview": { "leadgridview": {
"title": "潜在顾客信息", "title": "潜在顾客信息",
"caption": "潜在顾客信息", "caption": "潜在顾客信息",
...@@ -519,6 +527,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -519,6 +527,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "ProductPriceLevelProPrilvGridView", "viewname": "ProductPriceLevelProPrilvGridView",
"viewtag": "3c8bbe79d569f27ef675664d32a91c0d" "viewtag": "3c8bbe79d569f27ef675664d32a91c0d"
}, },
"connectionrolegridview": {
"title": "连接角色表格视图",
"caption": "连接角色",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Runtime",
"viewname": "ConnectionRoleGridView",
"viewtag": "3cac572b3a6905293a0e22e3f3fa3c04"
},
"contactinfo_abstract": { "contactinfo_abstract": {
"title": "联系人编辑视图", "title": "联系人编辑视图",
"caption": "联系人", "caption": "联系人",
...@@ -927,6 +943,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -927,6 +943,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "AccountInfo_Introduction", "viewname": "AccountInfo_Introduction",
"viewtag": "73bb9f7e653384ca09f8bbbfd580d892" "viewtag": "73bb9f7e653384ca09f8bbbfd580d892"
}, },
"connectionroleeditview": {
"title": "连接角色编辑视图",
"caption": "连接角色",
"viewtype": "DEEDITVIEW",
"viewmodule": "Runtime",
"viewname": "ConnectionRoleEditView",
"viewtag": "73cfeee47b3d8226faade73f93a2097c"
},
"contacteditaddress": { "contacteditaddress": {
"title": "联系人选项操作视图", "title": "联系人选项操作视图",
"caption": "地址信息", "caption": "地址信息",
...@@ -1071,6 +1095,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -1071,6 +1095,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "MetricEditView", "viewname": "MetricEditView",
"viewtag": "8764cc6860a8981a549fcf693bbc44f6" "viewtag": "8764cc6860a8981a549fcf693bbc44f6"
}, },
"knowledgearticlegridview": {
"title": "知识文章信息",
"caption": "知识文章",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Base",
"viewname": "KnowledgeArticleGridView",
"viewtag": "8895fef7ce4f5bdd1cd8f950bd1f8bcc"
},
"taskquickcreate": { "taskquickcreate": {
"title": "快速新建:任务", "title": "快速新建:任务",
"caption": "快速新建:任务", "caption": "快速新建:任务",
...@@ -1263,6 +1295,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -1263,6 +1295,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "ContactEditView", "viewname": "ContactEditView",
"viewtag": "9a96ebf2e57358b3590b9d4479edb77a" "viewtag": "9a96ebf2e57358b3590b9d4479edb77a"
}, },
"setting": {
"title": "设置",
"caption": "设置",
"viewtype": "APPPORTALVIEW",
"viewmodule": "Ungroup",
"viewname": "Setting",
"viewtag": "9AE386A9-53DE-4F99-BCCA-747AEFE666A4"
},
"metricgridview": { "metricgridview": {
"title": "目标度量信息", "title": "目标度量信息",
"caption": "目标度量", "caption": "目标度量",
...@@ -1703,6 +1743,22 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -1703,6 +1743,22 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "UomPickupView", "viewname": "UomPickupView",
"viewtag": "d3692664b9e2e150526e1ce4b969f15b" "viewtag": "d3692664b9e2e150526e1ce4b969f15b"
}, },
"leadcompetitoreditview": {
"title": "潜在客户对手编辑视图",
"caption": "潜在客户对手",
"viewtype": "DEEDITVIEW",
"viewmodule": "Sales",
"viewname": "LeadCompetitorEditView",
"viewtag": "d43728f22dd85502c1f3c27e93878162"
},
"leadcompetitorgridview": {
"title": "潜在客户对手表格视图",
"caption": "潜在客户对手",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Sales",
"viewname": "LeadCompetitorGridView",
"viewtag": "d5bc3dd94496dbc1549773a1647ca64d"
},
"campaigninfo": { "campaigninfo": {
"title": "市场活动信息", "title": "市场活动信息",
"caption": "市场活动", "caption": "市场活动",
......
<studio-view-style2 viewName="knowledgearticlegridview" viewTitle="知识文章信息" class='degridview knowledge-article-grid-view'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<i-input slot="quickSearch" v-show="!isExpandSearchForm" v-model="query" search @on-search="onSearch($event)"/>
<template slot="toolbar">
<view-toolbar mode="STYLE2" :model="toolBarModels" @item-click="toolbar_click($event)"/> </template>
<template slot="searchForm">
<view_searchform
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:showBusyIndicator="true"
v-show="isExpandSearchForm"
loaddraftAction="FilterGetDraft"
loadAction="FilterGet"
name="searchform"
ref='searchform'
@save="searchform_save($event)"
@search="searchform_search($event)"
@load="searchform_load($event)"
@closeview="closeView($event)">
</view_searchform>
</template>
<view_grid
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:isSingleSelect="isGridSingleSelect"
:showBusyIndicator="true"
:isOpenEdit="false"
:gridRowActiveMode="gridRowActiveMode"
@save="onSave"
updateAction=""
removeAction="Remove"
loaddraftAction=""
loadAction=""
createAction=""
fetchAction="FetchDefault"
:newdata="newdata"
:opendata="opendata"
name="grid"
ref='grid'
@selectionchange="grid_selectionchange($event)"
@beforeload="grid_beforeload($event)"
@rowdblclick="grid_rowdblclick($event)"
@remove="grid_remove($event)"
@load="grid_load($event)"
@closeview="closeView($event)">
</view_grid>
</studio-view-style2>
\ No newline at end of file
<template src="./knowledge-article-grid-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { KnowledgeArticleGridViewBase } from './knowledge-article-grid-view-base';
import view_grid from '@widgets/knowledge-article/main-grid/main-grid.vue';
import view_searchform from '@widgets/knowledge-article/default-searchform/default-searchform.vue';
/**
* 知识文章信息视图
*
* @export
* @class KnowledgeArticleGridView
* @extends {KnowledgeArticleGridViewBase}
*/
@Component({
components: {
view_grid,
view_searchform,
}
})
@VueLifeCycleProcessing()
export default class KnowledgeArticleGridView extends KnowledgeArticleGridViewBase { }
</script>
import { Subject } from 'rxjs';
import { EditViewBase } from '@/studio-core';
import KnowledgeArticleService from '@/service/knowledge-article/knowledge-article-service';
import EditViewEngine from '@engine/view/edit-view-engine';
/**
* 知识文章信息视图视图基类
*
* @export
* @class KnowledgeArticleInfo_KlArtViewBase
* @extends {EditViewBase}
*/
export class KnowledgeArticleInfo_KlArtViewBase extends EditViewBase {
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof KnowledgeArticleInfo_KlArtViewBase
*/
protected appDeName: string = 'knowledgearticle';
/**
* 实体服务对象
*
* @type {KnowledgeArticleService}
* @memberof KnowledgeArticleInfo_KlArtViewBase
*/
protected appEntityService: KnowledgeArticleService = new KnowledgeArticleService;
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof KnowledgeArticleInfo_KlArtViewBase
*/
protected counterServiceArray: Array<any> = [];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof KnowledgeArticleInfo_KlArtViewBase
*/
protected model: any = {
srfCaption: 'entities.knowledgearticle.views.info_klartview.caption',
srfTitle: 'entities.knowledgearticle.views.info_klartview.title',
srfSubTitle: 'entities.knowledgearticle.views.info_klartview.subtitle',
dataInfo: ''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof KnowledgeArticleInfo_KlArtViewBase
*/
protected containerModel: any = {
view_form: { name: 'form', type: 'FORM' },
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected viewtag: string = 'c2aef858dbad7f779c97642ab7144137';
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof KnowledgeArticleInfo_KlArtViewBase
*/
public engine: EditViewEngine = new EditViewEngine();
/**
* 引擎初始化
*
* @public
* @memberof KnowledgeArticleInfo_KlArtViewBase
*/
public engineInit(): void {
this.engine.init({
view: this,
form: this.$refs.form,
p2k: '0',
keyPSDEField: 'knowledgearticle',
majorPSDEField: 'title',
isLoadDefault: true,
});
}
/**
* form 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof KnowledgeArticleInfo_KlArtViewBase
*/
public form_save($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'save', $event);
}
/**
* form 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof KnowledgeArticleInfo_KlArtViewBase
*/
public form_remove($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'remove', $event);
}
/**
* form 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof KnowledgeArticleInfo_KlArtViewBase
*/
public form_load($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'load', $event);
}
}
\ No newline at end of file
<studio-view-style2 viewName="knowledgearticleinfo_klartview" viewTitle="知识文章信息视图" class='deeditview knowledge-article-info-kl-art-view from-dashboard-style'>
<view_form
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:autosave="false"
:viewtag="viewtag"
:showBusyIndicator="true"
updateAction="Update"
removeAction="Remove"
loaddraftAction="GetDraft"
loadAction="Get"
createAction="Create"
WFSubmitAction=""
WFStartAction=""
style=''
name="form"
ref='form'
@save="form_save($event)"
@remove="form_remove($event)"
@load="form_load($event)"
@closeview="closeView($event)">
</view_form>
</studio-view-style2>
\ No newline at end of file
<template src="./knowledge-article-info-kl-art-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { KnowledgeArticleInfo_KlArtViewBase } from './knowledge-article-info-kl-art-view-base';
import view_form from '@widgets/knowledge-article/info-knowledge-article-form/info-knowledge-article-form.vue';
/**
* 知识文章信息视图视图
*
* @export
* @class KnowledgeArticleInfo_KlArtView
* @extends {KnowledgeArticleInfo_KlArtViewBase}
*/
@Component({
components: {
view_form,
}
})
@VueLifeCycleProcessing()
export default class KnowledgeArticleInfo_KlArtView extends KnowledgeArticleInfo_KlArtViewBase { }
</script>
import { Subject } from 'rxjs';
import { TabExpViewBase } from '@/studio-core';
import KnowledgeArticleService from '@/service/knowledge-article/knowledge-article-service';
import TabExpViewEngine from '@engine/view/tab-exp-view-engine';
/**
* 知识文章信息视图基类
*
* @export
* @class KnowledgeArticleInfoViewBase
* @extends {TabExpViewBase}
*/
export class KnowledgeArticleInfoViewBase extends TabExpViewBase {
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof KnowledgeArticleInfoViewBase
*/
protected appDeName: string = 'knowledgearticle';
/**
* 实体服务对象
*
* @type {KnowledgeArticleService}
* @memberof KnowledgeArticleInfoViewBase
*/
protected appEntityService: KnowledgeArticleService = new KnowledgeArticleService;
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof KnowledgeArticleInfoViewBase
*/
protected counterServiceArray: Array<any> = [];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof KnowledgeArticleInfoViewBase
*/
protected model: any = {
srfCaption: 'entities.knowledgearticle.views.infoview.caption',
srfTitle: 'entities.knowledgearticle.views.infoview.title',
srfSubTitle: 'entities.knowledgearticle.views.infoview.subtitle',
dataInfo: ''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof KnowledgeArticleInfoViewBase
*/
protected containerModel: any = {
view_tabexppanel: { name: 'tabexppanel', type: 'TABEXPPANEL' },
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected viewtag: string = '944ca8c467899704e43230c16ceb650d';
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof KnowledgeArticleInfoViewBase
*/
public engine: TabExpViewEngine = new TabExpViewEngine();
/**
* 引擎初始化
*
* @public
* @memberof KnowledgeArticleInfoViewBase
*/
public engineInit(): void {
this.engine.init({
view: this,
keyPSDEField: 'knowledgearticle',
majorPSDEField: 'title',
isLoadDefault: true,
});
}
/**
* 加载模型
*
* @protected
* @memberof KnowledgeArticleInfoViewBase
*/
protected async loadModel(): Promise<any> {
if(this.context.knowledgearticle){
this.appEntityService.getDataInfo(JSON.parse(JSON.stringify(this.context)),{},false).then((response:any) =>{
if (!response || response.status !== 200) {
return;
}
const { data } = response;
if (data.title) {
Object.assign(this.model, { dataInfo: data.title });
if(this.$route){
this.$route.meta.info = this.model.dataInfo;
}
Object.assign(this.model, { srfTitle: `${this.$t(this.model.srfTitle)} - ${this.model.dataInfo}` });
this.$appService.navHistory.setCaption({ tag: this.viewtag, info: this.model.dataInfo });
}
})
}
}
}
\ No newline at end of file
<studio-view-style2 viewName="knowledgearticleinfoview" viewTitle="知识文章信息" class='detabexpview knowledge-article-info-view'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<view_tabexppanel
:viewState="viewState"
:viewparams="viewparams"
:context="context"
name="tabexppanel"
ref='tabexppanel'
@closeview="closeView($event)">
</view_tabexppanel>
</studio-view-style2>
\ No newline at end of file
<template src="./knowledge-article-info-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { KnowledgeArticleInfoViewBase } from './knowledge-article-info-view-base';
import view_tabexppanel from '@widgets/knowledge-article/info-viewtabexppanel-tabexppanel/info-viewtabexppanel-tabexppanel.vue';
/**
* 知识文章信息视图
*
* @export
* @class KnowledgeArticleInfoView
* @extends {KnowledgeArticleInfoViewBase}
*/
@Component({
components: {
view_tabexppanel,
}
})
@VueLifeCycleProcessing()
export default class KnowledgeArticleInfoView extends KnowledgeArticleInfoViewBase { }
</script>
import { Subject } from 'rxjs';
import { OptionViewBase } from '@/studio-core';
import KnowledgeArticleService from '@/service/knowledge-article/knowledge-article-service';
import OptionViewEngine from '@engine/view/option-view-engine';
/**
* 快速新建视图基类
*
* @export
* @class KnowledgeArticleQuickCreateViewBase
* @extends {OptionViewBase}
*/
export class KnowledgeArticleQuickCreateViewBase extends OptionViewBase {
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof KnowledgeArticleQuickCreateViewBase
*/
protected appDeName: string = 'knowledgearticle';
/**
* 实体服务对象
*
* @type {KnowledgeArticleService}
* @memberof KnowledgeArticleQuickCreateViewBase
*/
protected appEntityService: KnowledgeArticleService = new KnowledgeArticleService;
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof KnowledgeArticleQuickCreateViewBase
*/
protected counterServiceArray: Array<any> = [];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof KnowledgeArticleQuickCreateViewBase
*/
protected model: any = {
srfCaption: 'entities.knowledgearticle.views.quickcreateview.caption',
srfTitle: 'entities.knowledgearticle.views.quickcreateview.title',
srfSubTitle: 'entities.knowledgearticle.views.quickcreateview.subtitle',
dataInfo: ''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof KnowledgeArticleQuickCreateViewBase
*/
protected containerModel: any = {
view_form: { name: 'form', type: 'FORM' },
view_okbtn: { name: 'okbtn', type: 'button', text: '确定', disabled: true },
view_cancelbtn: { name: 'cancelbtn', type: 'button', text: '取消', disabled: false },
view_leftbtn: { name: 'leftbtn', type: 'button', text: '左移', disabled: true },
view_rightbtn: { name: 'rightbtn', type: 'button', text: '右移', disabled: true },
view_allleftbtn: { name: 'allleftbtn', type: 'button', text: '全部左移', disabled: true },
view_allrightbtn: { name: 'allrightbtn', type: 'button', text: '全部右移', disabled: true },
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected viewtag: string = '9ba060dce370154a467bf1d804420e64';
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof KnowledgeArticleQuickCreateViewBase
*/
public engine: OptionViewEngine = new OptionViewEngine();
/**
* 引擎初始化
*
* @public
* @memberof KnowledgeArticleQuickCreateViewBase
*/
public engineInit(): void {
this.engine.init({
view: this,
form: this.$refs.form,
p2k: '0',
keyPSDEField: 'knowledgearticle',
majorPSDEField: 'title',
isLoadDefault: true,
});
}
/**
* form 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof KnowledgeArticleQuickCreateViewBase
*/
public form_save($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'save', $event);
}
/**
* form 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof KnowledgeArticleQuickCreateViewBase
*/
public form_remove($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'remove', $event);
}
/**
* form 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof KnowledgeArticleQuickCreateViewBase
*/
public form_load($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'load', $event);
}
}
\ No newline at end of file
<studio-view-style2 viewName="knowledgearticlequickcreateview" viewTitle="快速新建" class='deoptview knowledge-article-quick-create-view'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<view_form
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:autosave="false"
:viewtag="viewtag"
:showBusyIndicator="true"
updateAction="Update"
removeAction="Remove"
loaddraftAction="GetDraft"
loadAction="Get"
createAction="Create"
WFSubmitAction=""
WFStartAction=""
style=''
name="form"
ref='form'
@save="form_save($event)"
@remove="form_remove($event)"
@load="form_load($event)"
@closeview="closeView($event)">
</view_form>
<template slot="footer">
<div class="option-view-footer-actions">
<i-button type='primary' @click="onClickOk.apply(_self, arguments)">{{ containerModel.view_okbtn.text }}</i-button>
&nbsp;&nbsp;
<i-button @click="onClickCancel.apply(_self, arguments)">{{ containerModel.view_cancelbtn.text }}</i-button>
</div>
</template>
</studio-view-style2>
\ No newline at end of file
<template src="./knowledge-article-quick-create-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { KnowledgeArticleQuickCreateViewBase } from './knowledge-article-quick-create-view-base';
import view_form from '@widgets/knowledge-article/quick-create-form/quick-create-form.vue';
/**
* 快速新建视图
*
* @export
* @class KnowledgeArticleQuickCreateView
* @extends {KnowledgeArticleQuickCreateViewBase}
*/
@Component({
components: {
view_form,
}
})
@VueLifeCycleProcessing()
export default class KnowledgeArticleQuickCreateView extends KnowledgeArticleQuickCreateViewBase { }
</script>
import { Subject } from 'rxjs';
import { DashboardViewBase } from '@/studio-core';
import KnowledgeArticleService from '@/service/knowledge-article/knowledge-article-service';
import PortalViewEngine from '@engine/view/portal-view-engine';
/**
* 知识文章数据看板视图视图基类
*
* @export
* @class KnowledgeArticleSummaryViewBase
* @extends {DashboardViewBase}
*/
export class KnowledgeArticleSummaryViewBase extends DashboardViewBase {
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof KnowledgeArticleSummaryViewBase
*/
protected appDeName: string = 'knowledgearticle';
/**
* 实体服务对象
*
* @type {KnowledgeArticleService}
* @memberof KnowledgeArticleSummaryViewBase
*/
protected appEntityService: KnowledgeArticleService = new KnowledgeArticleService;
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof KnowledgeArticleSummaryViewBase
*/
protected counterServiceArray: Array<any> = [];
/**
* 自定义视图导航上下文集合
*
* @protected
* @type {*}
* @memberof KnowledgeArticleSummaryViewBase
*/
protected customViewNavContexts: any = {
'REGARDINGOBJECTID': { isRawValue: false, value: 'knowledgearticle' },
'REGARDINGOBJECTTYPECODE': { isRawValue: true, value: 'KNOWLEDGEARTICLE' }
};
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof KnowledgeArticleSummaryViewBase
*/
protected model: any = {
srfCaption: 'entities.knowledgearticle.views.summaryview.caption',
srfTitle: 'entities.knowledgearticle.views.summaryview.title',
srfSubTitle: 'entities.knowledgearticle.views.summaryview.subtitle',
dataInfo: ''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof KnowledgeArticleSummaryViewBase
*/
protected containerModel: any = {
view_dashboard: { name: 'dashboard', type: 'DASHBOARD' },
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected viewtag: string = 'b3c480644c68d29d431273a2ad61423a';
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof KnowledgeArticleSummaryViewBase
*/
public engine: PortalViewEngine = new PortalViewEngine();
/**
* 引擎初始化
*
* @public
* @memberof KnowledgeArticleSummaryViewBase
*/
public engineInit(): void {
this.engine.init({
view: this,
dashboard: this.$refs.dashboard,
keyPSDEField: 'knowledgearticle',
majorPSDEField: 'title',
isLoadDefault: true,
});
}
/**
* dashboard 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof KnowledgeArticleSummaryViewBase
*/
public dashboard_load($event: any, $event2?: any): void {
this.engine.onCtrlEvent('dashboard', 'load', $event);
}
}
\ No newline at end of file
<studio-view-style2 viewName="knowledgearticlesummaryview" viewTitle="知识文章数据看板视图" class='deportalview knowledge-article-summary-view'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<view_dashboard
:viewState="viewState"
:viewparams="viewparams"
:context="JSON.parse(JSON.stringify(context))"
:isEnableCustomized = "false"
name="dashboard"
ref='dashboard'
@load="dashboard_load($event)"
@closeview="closeView($event)">
</view_dashboard>
</studio-view-style2>
\ No newline at end of file
<template src="./knowledge-article-summary-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { KnowledgeArticleSummaryViewBase } from './knowledge-article-summary-view-base';
import view_dashboard from '@widgets/knowledge-article/kl-art-info-dashboard/kl-art-info-dashboard.vue';
/**
* 知识文章数据看板视图视图
*
* @export
* @class KnowledgeArticleSummaryView
* @extends {KnowledgeArticleSummaryViewBase}
*/
@Component({
components: {
view_dashboard,
}
})
@VueLifeCycleProcessing()
export default class KnowledgeArticleSummaryView extends KnowledgeArticleSummaryViewBase { }
</script>
<studio-view-style2 viewName="invoicebyparentkey" viewTitle="发票信息" class='degridview invoice-by-parent-key'>
<i-input slot="quickSearch" v-show="!isExpandSearchForm" v-model="query" search @on-search="onSearch($event)"/>
<template slot="toolbar">
<view-toolbar mode="STYLE2" :model="toolBarModels" @item-click="toolbar_click($event)"/> </template>
<template slot="searchForm">
<view_searchform
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:showBusyIndicator="true"
v-show="isExpandSearchForm"
loaddraftAction="FilterGetDraft"
loadAction="FilterGet"
name="searchform"
ref='searchform'
@save="searchform_save($event)"
@search="searchform_search($event)"
@load="searchform_load($event)"
@closeview="closeView($event)">
</view_searchform>
</template>
<view_grid
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:isSingleSelect="isGridSingleSelect"
:showBusyIndicator="true"
:isOpenEdit="false"
:gridRowActiveMode="gridRowActiveMode"
@save="onSave"
updateAction=""
removeAction="Remove"
loaddraftAction=""
loadAction=""
createAction=""
fetchAction="FetchByParentKey"
:newdata="newdata"
:opendata="opendata"
name="grid"
ref='grid'
@selectionchange="grid_selectionchange($event)"
@beforeload="grid_beforeload($event)"
@rowdblclick="grid_rowdblclick($event)"
@remove="grid_remove($event)"
@load="grid_load($event)"
@closeview="closeView($event)">
</view_grid>
</studio-view-style2>
\ No newline at end of file
<template src="./invoice-by-parent-key.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { InvoiceByParentKeyBase } from './invoice-by-parent-key-base';
import view_grid from '@widgets/invoice/main-grid/main-grid.vue';
import view_searchform from '@widgets/invoice/default-searchform/default-searchform.vue';
/**
* 发票信息视图
*
* @export
* @class InvoiceByParentKey
* @extends {InvoiceByParentKeyBase}
*/
@Component({
components: {
view_grid,
view_searchform,
}
})
@VueLifeCycleProcessing()
export default class InvoiceByParentKey extends InvoiceByParentKeyBase { }
</script>
<studio-view-style2 viewName="invoicegridview" viewTitle="发票信息" class='degridview invoice-grid-view'> <studio-view-style2 viewName="invoicegridview" viewTitle="发票信息" class='degridview invoice-grid-view'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<i-input slot="quickSearch" v-show="!isExpandSearchForm" v-model="query" search @on-search="onSearch($event)"/> <i-input slot="quickSearch" v-show="!isExpandSearchForm" v-model="query" search @on-search="onSearch($event)"/>
<template slot="toolbar"> <template slot="toolbar">
<view-toolbar mode="STYLE2" :model="toolBarModels" @item-click="toolbar_click($event)"/> </template> <view-toolbar mode="STYLE2" :model="toolBarModels" @item-click="toolbar_click($event)"/> </template>
......
<studio-view-style2 viewName="connectionrolegridview" viewTitle="连接角色表格视图" class='degridview connection-role-grid-view'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<i-input slot="quickSearch" v-show="!isExpandSearchForm" v-model="query" search @on-search="onSearch($event)"/>
<template slot="toolbar">
<view-toolbar mode="STYLE2" :model="toolBarModels" @item-click="toolbar_click($event)"/> </template>
<template slot="searchForm">
<view_searchform
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:showBusyIndicator="true"
v-show="isExpandSearchForm"
loaddraftAction="FilterGetDraft"
loadAction="FilterGet"
name="searchform"
ref='searchform'
@save="searchform_save($event)"
@search="searchform_search($event)"
@load="searchform_load($event)"
@closeview="closeView($event)">
</view_searchform>
</template>
<view_grid
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:isSingleSelect="isGridSingleSelect"
:showBusyIndicator="true"
:isOpenEdit="false"
:gridRowActiveMode="gridRowActiveMode"
@save="onSave"
updateAction=""
removeAction="Remove"
loaddraftAction=""
loadAction=""
createAction=""
fetchAction="FetchDefault"
:newdata="newdata"
:opendata="opendata"
name="grid"
ref='grid'
@selectionchange="grid_selectionchange($event)"
@beforeload="grid_beforeload($event)"
@rowdblclick="grid_rowdblclick($event)"
@remove="grid_remove($event)"
@load="grid_load($event)"
@closeview="closeView($event)">
</view_grid>
</studio-view-style2>
\ No newline at end of file
<template src="./connection-role-grid-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { ConnectionRoleGridViewBase } from './connection-role-grid-view-base';
import view_grid from '@widgets/connection-role/main-grid/main-grid.vue';
import view_searchform from '@widgets/connection-role/default-searchform/default-searchform.vue';
/**
* 连接角色表格视图视图
*
* @export
* @class ConnectionRoleGridView
* @extends {ConnectionRoleGridViewBase}
*/
@Component({
components: {
view_grid,
view_searchform,
}
})
@VueLifeCycleProcessing()
export default class ConnectionRoleGridView extends ConnectionRoleGridViewBase { }
</script>
<studio-view-style2 viewName="leadcompetitoreditview" viewTitle="潜在客户对手编辑视图" class='deeditview lead-competitor-edit-view'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<template slot="toolbar">
<view-toolbar mode="STYLE2" :model="toolBarModels" @item-click="toolbar_click($event)"/> </template>
<view_form
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:autosave="false"
:viewtag="viewtag"
:showBusyIndicator="true"
updateAction="Update"
removeAction="Remove"
loaddraftAction="GetDraft"
loadAction="Get"
createAction="Create"
WFSubmitAction=""
WFStartAction=""
style=''
name="form"
ref='form'
@save="form_save($event)"
@remove="form_remove($event)"
@load="form_load($event)"
@closeview="closeView($event)">
</view_form>
</studio-view-style2>
\ No newline at end of file
<template src="./lead-competitor-edit-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { LeadCompetitorEditViewBase } from './lead-competitor-edit-view-base';
import view_form from '@widgets/lead-competitor/main-form/main-form.vue';
/**
* 潜在客户对手编辑视图视图
*
* @export
* @class LeadCompetitorEditView
* @extends {LeadCompetitorEditViewBase}
*/
@Component({
components: {
view_form,
}
})
@VueLifeCycleProcessing()
export default class LeadCompetitorEditView extends LeadCompetitorEditViewBase { }
</script>
<studio-view-style2 viewName="leadcompetitorgridview" viewTitle="潜在客户对手表格视图" class='degridview lead-competitor-grid-view'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<i-input slot="quickSearch" v-show="!isExpandSearchForm" v-model="query" search @on-search="onSearch($event)"/>
<template slot="toolbar">
<view-toolbar mode="STYLE2" :model="toolBarModels" @item-click="toolbar_click($event)"/> </template>
<template slot="searchForm">
<view_searchform
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:showBusyIndicator="true"
v-show="isExpandSearchForm"
loaddraftAction="FilterGetDraft"
loadAction="FilterGet"
name="searchform"
ref='searchform'
@save="searchform_save($event)"
@search="searchform_search($event)"
@load="searchform_load($event)"
@closeview="closeView($event)">
</view_searchform>
</template>
<view_grid
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:isSingleSelect="isGridSingleSelect"
:showBusyIndicator="true"
:isOpenEdit="false"
:gridRowActiveMode="gridRowActiveMode"
@save="onSave"
updateAction=""
removeAction="Remove"
loaddraftAction=""
loadAction=""
createAction=""
fetchAction="FetchDefault"
:newdata="newdata"
:opendata="opendata"
name="grid"
ref='grid'
@selectionchange="grid_selectionchange($event)"
@beforeload="grid_beforeload($event)"
@rowdblclick="grid_rowdblclick($event)"
@remove="grid_remove($event)"
@load="grid_load($event)"
@closeview="closeView($event)">
</view_grid>
</studio-view-style2>
\ No newline at end of file
<template src="./lead-competitor-grid-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { LeadCompetitorGridViewBase } from './lead-competitor-grid-view-base';
import view_grid from '@widgets/lead-competitor/main-grid/main-grid.vue';
import view_searchform from '@widgets/lead-competitor/default-searchform/default-searchform.vue';
/**
* 潜在客户对手表格视图视图
*
* @export
* @class LeadCompetitorGridView
* @extends {LeadCompetitorGridViewBase}
*/
@Component({
components: {
view_grid,
view_searchform,
}
})
@VueLifeCycleProcessing()
export default class LeadCompetitorGridView extends LeadCompetitorGridViewBase { }
</script>
<studio-view-style2 viewName="incidentpickupgridview" viewTitle="案例选择表格视图" class='depickupgridview incident-pickup-grid-view'>
<template slot="searchForm">
<view_searchform
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:showBusyIndicator="true"
v-show="isExpandSearchForm"
loaddraftAction="FilterGetDraft"
loadAction="FilterGet"
name="searchform"
ref='searchform'
@save="searchform_save($event)"
@search="searchform_search($event)"
@load="searchform_load($event)"
@closeview="closeView($event)">
</view_searchform>
</template>
<view_grid
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:isSingleSelect="isGridSingleSelect"
:selectedData="selectedData"
:showBusyIndicator="true"
updateAction=""
removeAction="Remove"
loaddraftAction=""
loadAction=""
createAction=""
fetchAction="FetchDefault"
name="grid"
ref='grid'
@selectionchange="grid_selectionchange($event)"
@beforeload="grid_beforeload($event)"
@rowdblclick="grid_rowdblclick($event)"
@load="grid_load($event)"
@closeview="closeView($event)">
</view_grid>
</studio-view-style2>
\ No newline at end of file
<template src="./incident-pickup-grid-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { IncidentPickupGridViewBase } from './incident-pickup-grid-view-base';
import view_grid from '@widgets/incident/main-grid/main-grid.vue';
import view_searchform from '@widgets/incident/default-searchform/default-searchform.vue';
/**
* 案例选择表格视图视图
*
* @export
* @class IncidentPickupGridView
* @extends {IncidentPickupGridViewBase}
*/
@Component({
components: {
view_grid,
view_searchform,
}
})
@VueLifeCycleProcessing()
export default class IncidentPickupGridView extends IncidentPickupGridViewBase { }
</script>
<studio-view-style2 viewName="incidentpickupview" viewTitle="案例数据选择视图" class='depickupview incident-pickup-view'>
<div class="content-container pickup-view">
<view_pickupviewpanel
:viewState="viewState"
:viewparams="JSON.parse(JSON.stringify(viewparams))"
:context="JSON.parse(JSON.stringify(context))"
:isSingleSelect="isSingleSelect"
:selectedData="selectedData"
:isShowButton="isShowButton"
name="pickupviewpanel"
ref='pickupviewpanel'
@selectionchange="pickupviewpanel_selectionchange($event)"
@activated="pickupviewpanel_activated($event)"
@load="pickupviewpanel_load($event)"
@closeview="closeView($event)">
</view_pickupviewpanel>
</div>
<template slot="footer">
<div v-if="isShowButton" :style="{ textAlign: 'right' }">
<i-button type="primary" :disabled="this.viewSelections.length > 0 ? false : true" @click="onClickOk.apply(_self, arguments)">{{this.containerModel.view_okbtn.text}}</i-button>
&nbsp;&nbsp;
<i-button @click="onClickCancel.apply(_self, arguments)">{{this.containerModel.view_cancelbtn.text}}</i-button>
</div>
</template>
</studio-view-style2>
\ No newline at end of file
<template src="./incident-pickup-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { IncidentPickupViewBase } from './incident-pickup-view-base';
import view_pickupviewpanel from '@widgets/incident/pickup-viewpickupviewpanel-pickupviewpanel/pickup-viewpickupviewpanel-pickupviewpanel.vue';
/**
* 案例数据选择视图视图
*
* @export
* @class IncidentPickupView
* @extends {IncidentPickupViewBase}
*/
@Component({
components: {
view_pickupviewpanel,
}
})
@VueLifeCycleProcessing()
export default class IncidentPickupView extends IncidentPickupViewBase { }
</script>
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册