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

lab_gzf 部署微服务应用

上级 6d1d9e56
......@@ -160,6 +160,43 @@
}
]
},
{
"srfkey": "Opportunity__PurchaseProcess",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "1",
"label": "Committee",
"text": "Committee",
"data":"",
"codename":"Item_1",
"value": "1",
"disabled": false
}
, {
"id": "0",
"label": "Individual",
"text": "Individual",
"data":"",
"codename":"Item_0",
"value": "0",
"disabled": false
}
, {
"id": "2",
"label": "Unknown",
"text": "Unknown",
"data":"",
"codename":"Item_2",
"value": "2",
"disabled": false
}
]
},
{
"srfkey": "List__MemberType",
"emptytext": "未定义",
......@@ -2053,6 +2090,63 @@
"codename":"Item_3",
"value": "3",
"disabled": false
}
]
},
{
"srfkey": "Opportunity__PurchaseTimeframe",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "0",
"label": "Immediate",
"text": "Immediate",
"data":"",
"codename":"Item_0",
"value": "0",
"disabled": false
}
, {
"id": "2",
"label": "Next Quarter",
"text": "Next Quarter",
"data":"",
"codename":"Item_2",
"value": "2",
"disabled": false
}
, {
"id": "1",
"label": "This Quarter",
"text": "This Quarter",
"data":"",
"codename":"Item_1",
"value": "1",
"disabled": false
}
, {
"id": "3",
"label": "This Year",
"text": "This Year",
"data":"",
"codename":"Item_3",
"value": "3",
"disabled": false
}
, {
"id": "4",
"label": "Unknown",
"text": "Unknown",
"data":"",
"codename":"Item_4",
"value": "4",
"disabled": false
}
]
......
......@@ -31,7 +31,7 @@
},
"contactgridview": {
"title": "联系人表格视图",
"caption": "联系人",
"caption": "联系人信息",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Base",
"viewname": "ContactGridView",
......@@ -140,7 +140,7 @@
"memo": "系统自动添加"
},
"leadgridview": {
"title": "潜在顾客表格视图",
"title": "潜在顾客信息",
"caption": "潜在顾客信息",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Sales",
......@@ -149,6 +149,16 @@
"viewtag": "15d12c1173fcb6e742b6a6d92cbc53ed",
"memo": ""
},
"opportunitydashboardview": {
"title": "商机数据看板视图",
"caption": "商机",
"viewtype": "DEPORTALVIEW",
"viewmodule": "Sales",
"viewname": "OpportunityDashboardView",
"viewfilename": "opportunity-dashboard-view",
"viewtag": "177c00d1674621e8933efe6db68bce0e",
"memo": ""
},
"leadpickupview": {
"title": "潜在顾客数据选择视图",
"caption": "潜在顾客",
......@@ -489,6 +499,16 @@
"viewtag": "5894d33141cc9c307a54134def213332",
"memo": "系统自动添加"
},
"opportunityproducteditview": {
"title": "商机产品编辑视图",
"caption": "商机产品",
"viewtype": "DEEDITVIEW",
"viewmodule": "Sales",
"viewname": "OpportunityProductEditView",
"viewfilename": "opportunity-product-edit-view",
"viewtag": "599da9d1e5d8054bb86ce61abeb78189",
"memo": "系统自动添加"
},
"accountgridview": {
"title": "客户表格视图",
"caption": "客户信息",
......@@ -549,6 +569,16 @@
"viewtag": "661e0045037121d27f78b71049dc0d8a",
"memo": "系统自动添加"
},
"opportunityinfo_abstract": {
"title": "商机编辑视图",
"caption": "商机",
"viewtype": "DEEDITVIEW",
"viewmodule": "Sales",
"viewname": "OpportunityInfo_Abstract",
"viewfilename": "opportunity-info-abstract",
"viewtag": "66b3d6f7e15711b61132066ba3a95f91",
"memo": ""
},
"accountedit_accountinfo": {
"title": "账户信息",
"caption": "账户信息",
......@@ -569,6 +599,16 @@
"viewtag": "697373026d90700244354625e1d01cc2",
"memo": "系统自动添加"
},
"opportunityproductopp_oppprogridview": {
"title": "商机产品表格视图",
"caption": "商机产品",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Sales",
"viewname": "OpportunityProductOpp_OppProGridView",
"viewfilename": "opportunity-product-opp-opp-pro-grid-view",
"viewtag": "6c67094479c2f8af7ea1575eee584056",
"memo": "系统自动添加"
},
"transactioncurrencypickupgridview": {
"title": "货币选择表格视图",
"caption": "货币",
......@@ -629,6 +669,16 @@
"viewtag": "7877d7e7e55fe21f48e8382e07579f33",
"memo": "系统自动添加"
},
"quoteoppquagridview": {
"title": "报价单表格视图",
"caption": "报价单",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Sales",
"viewname": "QuoteOppQuaGridView",
"viewfilename": "quote-opp-qua-grid-view",
"viewtag": "78862ad65295f145e7520291f1183604",
"memo": "系统自动添加"
},
"leadinfo_contact": {
"title": "潜在顾客编辑视图",
"caption": "潜在顾客",
......@@ -739,6 +789,16 @@
"viewtag": "8b806fb12589b2fc17d1bb90f4b5422e",
"memo": "系统自动添加"
},
"opportunitytabexpview": {
"title": "商机分页导航视图",
"caption": "商品信息",
"viewtype": "DETABEXPVIEW",
"viewmodule": "Sales",
"viewname": "OpportunityTabExpView",
"viewfilename": "opportunity-tab-exp-view",
"viewtag": "8bfcd7acdd1f36afc1714f1071671f2c",
"memo": ""
},
"listleadquickcreatebylist": {
"title": "快速新建(根据营销列表)",
"caption": "快速新建",
......@@ -809,6 +869,16 @@
"viewtag": "9475c40920701fcc382676d73832de4f",
"memo": ""
},
"opportunityoppprodashboardview": {
"title": "商机数据看板视图",
"caption": "商机",
"viewtype": "DEPORTALVIEW",
"viewmodule": "Sales",
"viewname": "OpportunityOppProDashboardView",
"viewfilename": "opportunity-opp-pro-dashboard-view",
"viewtag": "9693fc63348c320c4b0dff17cb9a9f25",
"memo": ""
},
"serviceappointmenteditview": {
"title": "服务活动编辑视图",
"caption": "服务活动",
......@@ -849,6 +919,16 @@
"viewtag": "a1b44c891ef0bbc073c82693d8489de6",
"memo": ""
},
"opportunityoptionview": {
"title": "商机快速新建视图",
"caption": "商机",
"viewtype": "DEOPTVIEW",
"viewmodule": "Sales",
"viewname": "OpportunityOptionView",
"viewfilename": "opportunity-option-view",
"viewtag": "a243cd62accb02ceba4fb128703128f0",
"memo": ""
},
"appointmenteditview": {
"title": "约会编辑视图",
"caption": "约会",
......@@ -1049,6 +1129,16 @@
"viewtag": "c607e5bc2c07ab2aca084e275ce677b7",
"memo": "系统自动添加"
},
"opportunityinfo_product": {
"title": "商机编辑视图",
"caption": "商机",
"viewtype": "DEEDITVIEW",
"viewmodule": "Sales",
"viewname": "OpportunityInfo_Product",
"viewfilename": "opportunity-info-product",
"viewtag": "c74c14188b89f72079643170a83c25f5",
"memo": ""
},
"listcontacteditview": {
"title": "营销列表-联系人编辑视图",
"caption": "营销列表-联系人",
......
/**
* 商机产品
*
* @export
* @interface OpportunityProduct
*/
export interface OpportunityProduct {
/**
* 自定义的价格
*
* @returns {*}
* @memberof OpportunityProduct
*/
priceoverridden?: any;
/**
* 税 (Base)
*
* @returns {*}
* @memberof OpportunityProduct
*/
tax_base?: any;
/**
* SkipPriceCalculation
*
* @returns {*}
* @memberof OpportunityProduct
*/
skippricecalculation?: any;
/**
* 批发折扣 (Base)
*
* @returns {*}
* @memberof OpportunityProduct
*/
volumediscountamount_base?: any;
/**
* 零售折扣金额
*
* @returns {*}
* @memberof OpportunityProduct
*/
manualdiscountamount?: any;
/**
* EntityImage_Timestamp
*
* @returns {*}
* @memberof OpportunityProduct
*/
entityimage_timestamp?: any;
/**
* 商机状态
*
* @returns {*}
* @memberof OpportunityProduct
*/
opportunitystatecode?: any;
/**
* 批发折扣
*
* @returns {*}
* @memberof OpportunityProduct
*/
volumediscountamount?: any;
/**
* 应收净额 (Base)
*
* @returns {*}
* @memberof OpportunityProduct
*/
extendedamount_base?: any;
/**
* 单价 (Base)
*
* @returns {*}
* @memberof OpportunityProduct
*/
priceperunit_base?: any;
/**
* 商机产品
*
* @returns {*}
* @memberof OpportunityProduct
*/
opportunityproductid?: any;
/**
* Version Number
*
* @returns {*}
* @memberof OpportunityProduct
*/
versionnumber?: any;
/**
* 建立人
*
* @returns {*}
* @memberof OpportunityProduct
*/
createman?: any;
/**
* EntityImageId
*
* @returns {*}
* @memberof OpportunityProduct
*/
entityimageid?: any;
/**
* 说明
*
* @returns {*}
* @memberof OpportunityProduct
*/
description?: any;
/**
* 零售折扣金额 (Base)
*
* @returns {*}
* @memberof OpportunityProduct
*/
manualdiscountamount_base?: any;
/**
* 序号
*
* @returns {*}
* @memberof OpportunityProduct
*/
sequencenumber?: any;
/**
* 目录外产品
*
* @returns {*}
* @memberof OpportunityProduct
*/
productdescription?: any;
/**
* 负责人类型
*
* @returns {*}
* @memberof OpportunityProduct
*/
owneridtype?: any;
/**
* 选择产品
*
* @returns {*}
* @memberof OpportunityProduct
*/
productoverridden?: any;
/**
* Product Name
*
* @returns {*}
* @memberof OpportunityProduct
*/
productname?: any;
/**
* 汇率
*
* @returns {*}
* @memberof OpportunityProduct
*/
exchangerate?: any;
/**
* 名称
*
* @returns {*}
* @memberof OpportunityProduct
*/
opportunityproductname?: any;
/**
* 属性配置
*
* @returns {*}
* @memberof OpportunityProduct
*/
propertyconfigurationstatus?: any;
/**
* 税
*
* @returns {*}
* @memberof OpportunityProduct
*/
tax?: any;
/**
* 单价
*
* @returns {*}
* @memberof OpportunityProduct
*/
priceperunit?: any;
/**
* 父捆绑销售
*
* @returns {*}
* @memberof OpportunityProduct
*/
parentbundleid?: any;
/**
* 负责人
*
* @returns {*}
* @memberof OpportunityProduct
*/
owneridyominame?: any;
/**
* UTC Conversion Time Zone Code
*
* @returns {*}
* @memberof OpportunityProduct
*/
utcconversiontimezonecode?: any;
/**
* 捆绑销售项关联
*
* @returns {*}
* @memberof OpportunityProduct
*/
productassociationid?: any;
/**
* 金额
*
* @returns {*}
* @memberof OpportunityProduct
*/
baseamount?: any;
/**
* 产品类型
*
* @returns {*}
* @memberof OpportunityProduct
*/
producttypecode?: any;
/**
* 更新时间
*
* @returns {*}
* @memberof OpportunityProduct
*/
updatedate?: any;
/**
* Time Zone Rule Version Number
*
* @returns {*}
* @memberof OpportunityProduct
*/
timezoneruleversionnumber?: any;
/**
* 数量
*
* @returns {*}
* @memberof OpportunityProduct
*/
quantity?: any;
/**
* 明细项目编号
*
* @returns {*}
* @memberof OpportunityProduct
*/
lineitemnumber?: any;
/**
* Record Created On
*
* @returns {*}
* @memberof OpportunityProduct
*/
overriddencreatedon?: any;
/**
* 建立时间
*
* @returns {*}
* @memberof OpportunityProduct
*/
createdate?: any;
/**
* 应收净额
*
* @returns {*}
* @memberof OpportunityProduct
*/
extendedamount?: any;
/**
* 更新人
*
* @returns {*}
* @memberof OpportunityProduct
*/
updateman?: any;
/**
* EntityImage_URL
*
* @returns {*}
* @memberof OpportunityProduct
*/
entityimage_url?: any;
/**
* 定价错误
*
* @returns {*}
* @memberof OpportunityProduct
*/
pricingerrorcode?: any;
/**
* 实体图像
*
* @returns {*}
* @memberof OpportunityProduct
*/
entityimage?: any;
/**
* 金额 (Base)
*
* @returns {*}
* @memberof OpportunityProduct
*/
baseamount_base?: any;
/**
* Import Sequence Number
*
* @returns {*}
* @memberof OpportunityProduct
*/
importsequencenumber?: any;
/**
* 现有产品
*
* @returns {*}
* @memberof OpportunityProduct
*/
productid?: any;
/**
* Parent bundle product
*
* @returns {*}
* @memberof OpportunityProduct
*/
parentbundleidref?: any;
/**
* 计价单位
*
* @returns {*}
* @memberof OpportunityProduct
*/
uomid?: any;
/**
* 货币
*
* @returns {*}
* @memberof OpportunityProduct
*/
transactioncurrencyid?: any;
/**
* 商机
*
* @returns {*}
* @memberof OpportunityProduct
*/
opportunityid?: any;
}
\ No newline at end of file
import opportunityproduct_en_US from '@locale/lanres/entities/opportunity-product/opportunity-product_en_US';
import campaignlist_en_US from '@locale/lanres/entities/campaign-list/campaign-list_en_US';
import task_en_US from '@locale/lanres/entities/task/task_en_US';
import letter_en_US from '@locale/lanres/entities/letter/letter_en_US';
......@@ -135,6 +136,7 @@ export default {
},
},
entities: {
opportunityproduct: opportunityproduct_en_US,
campaignlist: campaignlist_en_US,
task: task_en_US,
letter: letter_en_US,
......
import opportunityproduct_zh_CN from '@locale/lanres/entities/opportunity-product/opportunity-product_zh_CN';
import campaignlist_zh_CN from '@locale/lanres/entities/campaign-list/campaign-list_zh_CN';
import task_zh_CN from '@locale/lanres/entities/task/task_zh_CN';
import letter_zh_CN from '@locale/lanres/entities/letter/letter_zh_CN';
......@@ -135,6 +136,7 @@ export default {
},
},
entities: {
opportunityproduct: opportunityproduct_zh_CN,
campaignlist: campaignlist_zh_CN,
task: task_zh_CN,
letter: letter_zh_CN,
......
......@@ -22,6 +22,12 @@ export default {
'2': "Inactive",
empty: "",
},
Opportunity__PurchaseProcess: {
'1': "Committee",
'0': "Individual",
'2': "Unknown",
empty: "",
},
List__MemberType: {
'Account': "客户",
'Lead': "潜在客户",
......@@ -276,4 +282,12 @@ export default {
'3': "Phone",
empty: "",
},
Opportunity__PurchaseTimeframe: {
'0': "Immediate",
'2': "Next Quarter",
'1': "This Quarter",
'3': "This Year",
'4': "Unknown",
empty: "",
},
};
\ No newline at end of file
......@@ -22,6 +22,12 @@ export default {
'2': "Inactive",
empty: "",
},
Opportunity__PurchaseProcess: {
'1': "Committee",
'0': "Individual",
'2': "Unknown",
empty: "",
},
List__MemberType: {
'Account': "客户",
'Lead': "潜在客户",
......@@ -276,4 +282,12 @@ export default {
'3': "Phone",
empty: "",
},
Opportunity__PurchaseTimeframe: {
'0': "Immediate",
'2': "Next Quarter",
'1': "This Quarter",
'3': "This Year",
'4': "Unknown",
empty: "",
},
};
\ No newline at end of file
......@@ -210,7 +210,7 @@ export default {
title: '联系人选项操作视图',
},
gridview: {
caption: "联系人",
caption: "联系人信息",
title: '联系人表格视图',
},
editmarket: {
......
......@@ -209,7 +209,7 @@ export default {
title: '联系人选项操作视图',
},
gridview: {
caption: '联系人',
caption: '联系人信息',
title: '联系人表格视图',
},
editmarket: {
......
......@@ -160,7 +160,7 @@ export default {
views: {
gridview: {
caption: "潜在顾客信息",
title: '潜在顾客表格视图',
title: '潜在顾客信息',
},
pickupview: {
caption: "潜在顾客",
......
......@@ -159,7 +159,7 @@ export default {
views: {
gridview: {
caption: '潜在顾客信息',
title: '潜在顾客表格视图',
title: '潜在顾客信息',
},
pickupview: {
caption: '潜在顾客',
......
export default {
fields: {
priceoverridden: '自定义的价格',
tax_base: '税 (Base)',
skippricecalculation: 'SkipPriceCalculation',
volumediscountamount_base: '批发折扣 (Base)',
manualdiscountamount: '零售折扣金额',
entityimage_timestamp: 'EntityImage_Timestamp',
opportunitystatecode: '商机状态',
volumediscountamount: '批发折扣',
extendedamount_base: '应收净额 (Base)',
priceperunit_base: '单价 (Base)',
opportunityproductid: '商机产品',
versionnumber: 'Version Number',
createman: '建立人',
entityimageid: 'EntityImageId',
description: '说明',
manualdiscountamount_base: '零售折扣金额 (Base)',
sequencenumber: '序号',
productdescription: '目录外产品',
owneridtype: '负责人类型',
productoverridden: '选择产品',
productname: 'Product Name',
exchangerate: '汇率',
opportunityproductname: '名称',
propertyconfigurationstatus: '属性配置',
tax: '税',
priceperunit: '单价',
parentbundleid: '父捆绑销售',
owneridyominame: '负责人',
utcconversiontimezonecode: 'UTC Conversion Time Zone Code',
productassociationid: '捆绑销售项关联',
baseamount: '金额',
producttypecode: '产品类型',
updatedate: '更新时间',
timezoneruleversionnumber: 'Time Zone Rule Version Number',
quantity: '数量',
lineitemnumber: '明细项目编号',
overriddencreatedon: 'Record Created On',
createdate: '建立时间',
extendedamount: '应收净额',
updateman: '更新人',
entityimage_url: 'EntityImage_URL',
pricingerrorcode: '定价错误',
entityimage: '实体图像',
baseamount_base: '金额 (Base)',
importsequencenumber: 'Import Sequence Number',
productid: '现有产品',
parentbundleidref: 'Parent bundle product',
uomid: '计价单位',
transactioncurrencyid: '货币',
opportunityid: '商机',
},
views: {
editview: {
caption: "商机产品",
title: '商机产品编辑视图',
},
opp_oppprogridview: {
caption: "商机产品",
title: '商机产品表格视图',
},
},
main_form: {
details: {
group1: "opportunityproduct基本信息",
formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "商机产品",
srfmajortext: "名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
opportunityproductname: "名称",
createman: "建立人",
createdate: "建立时间",
updateman: "更新人",
updatedate: "更新时间",
opportunityproductid: "商机产品",
},
uiactions: {
},
},
main_grid: {
columns: {
opportunityproductname: "名称",
updateman: "更新人",
updatedate: "更新时间",
},
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "常规条件",
},
uiactions: {
},
},
opp_oppprogridviewtoolbar_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: {
priceoverridden: '自定义的价格',
tax_base: '税 (Base)',
skippricecalculation: 'SkipPriceCalculation',
volumediscountamount_base: '批发折扣 (Base)',
manualdiscountamount: '零售折扣金额',
entityimage_timestamp: 'EntityImage_Timestamp',
opportunitystatecode: '商机状态',
volumediscountamount: '批发折扣',
extendedamount_base: '应收净额 (Base)',
priceperunit_base: '单价 (Base)',
opportunityproductid: '商机产品',
versionnumber: 'Version Number',
createman: '建立人',
entityimageid: 'EntityImageId',
description: '说明',
manualdiscountamount_base: '零售折扣金额 (Base)',
sequencenumber: '序号',
productdescription: '目录外产品',
owneridtype: '负责人类型',
productoverridden: '选择产品',
productname: 'Product Name',
exchangerate: '汇率',
opportunityproductname: '名称',
propertyconfigurationstatus: '属性配置',
tax: '税',
priceperunit: '单价',
parentbundleid: '父捆绑销售',
owneridyominame: '负责人',
utcconversiontimezonecode: 'UTC Conversion Time Zone Code',
productassociationid: '捆绑销售项关联',
baseamount: '金额',
producttypecode: '产品类型',
updatedate: '更新时间',
timezoneruleversionnumber: 'Time Zone Rule Version Number',
quantity: '数量',
lineitemnumber: '明细项目编号',
overriddencreatedon: 'Record Created On',
createdate: '建立时间',
extendedamount: '应收净额',
updateman: '更新人',
entityimage_url: 'EntityImage_URL',
pricingerrorcode: '定价错误',
entityimage: '实体图像',
baseamount_base: '金额 (Base)',
importsequencenumber: 'Import Sequence Number',
productid: '现有产品',
parentbundleidref: 'Parent bundle product',
uomid: '计价单位',
transactioncurrencyid: '货币',
opportunityid: '商机',
},
views: {
editview: {
caption: '商机产品',
title: '商机产品编辑视图',
},
opp_oppprogridview: {
caption: '商机产品',
title: '商机产品表格视图',
},
},
main_form: {
details: {
group1: 'opportunityproduct基本信息',
formpage1: '基本信息',
group2: '操作信息',
formpage2: '其它',
srfupdatedate: '更新时间',
srforikey: '',
srfkey: '商机产品',
srfmajortext: '名称',
srftempmode: '',
srfuf: '',
srfdeid: '',
srfsourcekey: '',
opportunityproductname: '名称',
createman: '建立人',
createdate: '建立时间',
updateman: '更新人',
updatedate: '更新时间',
opportunityproductid: '商机产品',
},
uiactions: {
},
},
main_grid: {
columns: {
opportunityproductname: '名称',
updateman: '更新人',
updatedate: '更新时间',
},
uiactions: {
},
},
default_searchform: {
details: {
formpage1: '常规条件',
},
uiactions: {
},
},
opp_oppprogridviewtoolbar_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
......@@ -114,14 +114,116 @@ export default {
pricelevelname: '价目表',
},
views: {
dashboardview: {
caption: "商机",
title: '商机数据看板视图',
},
gridview: {
caption: "商机",
title: '商机表格视图',
},
info_abstract: {
caption: "商机",
title: '商机编辑视图',
},
editview: {
caption: "商机",
title: '商机编辑视图',
},
tabexpview: {
caption: "商品信息",
title: '商机分页导航视图',
},
oppprodashboardview: {
caption: "商机",
title: '商机数据看板视图',
},
optionview: {
caption: "商机",
title: '商机快速新建视图',
},
info_product: {
caption: "商机",
title: '商机编辑视图',
},
},
quickcreate_form: {
details: {
group1: "商机基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "商机",
srfmajortext: "商机名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
opportunityname: "商机名称",
parentcontactname: "联系人",
parentaccountname: "帐户",
purchasetimeframe: "购买时间范围",
transactioncurrencyname: "货币",
budgetamount: "预算金额",
purchaseprocess: "采购程序",
parentcontactid: "联系人",
parentaccountid: "帐户",
transactioncurrencyid: "货币",
opportunityid: "商机",
},
uiactions: {
},
},
productinfo_form: {
details: {
group1: "商机基本信息",
druipart1: "",
grouppanel1: "分组面板",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "商机",
srfmajortext: "商机名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
pricelevelname: "价目表",
opportunityid: "商机",
},
uiactions: {
},
},
abstractinfo_form: {
details: {
group1: "商机基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "商机",
srfmajortext: "商机名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
opportunityname: "商机名称",
parentcontactname: "联系人",
parentaccountname: "帐户",
purchasetimeframe: "购买时间范围",
transactioncurrencyname: "货币",
budgetamount: "预算金额",
purchaseprocess: "采购程序",
description: "说明",
currentsituation: "当前状况",
customerneed: "客户需求",
proposedsolution: "已拟定解决方案",
parentcontactid: "联系人",
parentaccountid: "帐户",
transactioncurrencyid: "货币",
opportunityid: "商机",
},
uiactions: {
},
},
main_form: {
details: {
......@@ -167,9 +269,13 @@ export default {
},
},
gridviewtoolbar_toolbar: {
tbitem3: {
caption: "New",
tip: "New",
tbitem1_openquickcreateview: {
caption: "新建",
tip: "新建",
},
tbitem2: {
caption: "-",
tip: "",
},
tbitem4: {
caption: "Edit",
......
......@@ -113,14 +113,116 @@ export default {
pricelevelname: '价目表',
},
views: {
dashboardview: {
caption: '商机',
title: '商机数据看板视图',
},
gridview: {
caption: '商机',
title: '商机表格视图',
},
info_abstract: {
caption: '商机',
title: '商机编辑视图',
},
editview: {
caption: '商机',
title: '商机编辑视图',
},
tabexpview: {
caption: '商品信息',
title: '商机分页导航视图',
},
oppprodashboardview: {
caption: '商机',
title: '商机数据看板视图',
},
optionview: {
caption: '商机',
title: '商机快速新建视图',
},
info_product: {
caption: '商机',
title: '商机编辑视图',
},
},
quickcreate_form: {
details: {
group1: '商机基本信息',
formpage1: '基本信息',
srfupdatedate: '更新时间',
srforikey: '',
srfkey: '商机',
srfmajortext: '商机名称',
srftempmode: '',
srfuf: '',
srfdeid: '',
srfsourcekey: '',
opportunityname: '商机名称',
parentcontactname: '联系人',
parentaccountname: '帐户',
purchasetimeframe: '购买时间范围',
transactioncurrencyname: '货币',
budgetamount: '预算金额',
purchaseprocess: '采购程序',
parentcontactid: '联系人',
parentaccountid: '帐户',
transactioncurrencyid: '货币',
opportunityid: '商机',
},
uiactions: {
},
},
productinfo_form: {
details: {
group1: '商机基本信息',
druipart1: '',
grouppanel1: '分组面板',
formpage1: '基本信息',
srfupdatedate: '更新时间',
srforikey: '',
srfkey: '商机',
srfmajortext: '商机名称',
srftempmode: '',
srfuf: '',
srfdeid: '',
srfsourcekey: '',
pricelevelname: '价目表',
opportunityid: '商机',
},
uiactions: {
},
},
abstractinfo_form: {
details: {
group1: '商机基本信息',
formpage1: '基本信息',
srfupdatedate: '更新时间',
srforikey: '',
srfkey: '商机',
srfmajortext: '商机名称',
srftempmode: '',
srfuf: '',
srfdeid: '',
srfsourcekey: '',
opportunityname: '商机名称',
parentcontactname: '联系人',
parentaccountname: '帐户',
purchasetimeframe: '购买时间范围',
transactioncurrencyname: '货币',
budgetamount: '预算金额',
purchaseprocess: '采购程序',
description: '说明',
currentsituation: '当前状况',
customerneed: '客户需求',
proposedsolution: '已拟定解决方案',
parentcontactid: '联系人',
parentaccountid: '帐户',
transactioncurrencyid: '货币',
opportunityid: '商机',
},
uiactions: {
},
},
main_form: {
details: {
......@@ -166,10 +268,14 @@ export default {
},
},
gridviewtoolbar_toolbar: {
tbitem3: {
tbitem1_openquickcreateview: {
caption: '新建',
tip: '新建',
},
tbitem2: {
caption: '-',
tip: '',
},
tbitem4: {
caption: '编辑',
tip: '编辑',
......
......@@ -100,6 +100,10 @@ export default {
views: {
gridview: {
caption: "报价单",
title: '报价单表格视图',
},
oppquagridview: {
caption: "报价单",
title: '报价单表格视图',
},
editview: {
......@@ -147,7 +151,7 @@ export default {
uiactions: {
},
},
gridviewtoolbar_toolbar: {
oppquagridviewtoolbar_toolbar: {
tbitem3: {
caption: "New",
tip: "New",
......@@ -223,4 +227,42 @@ export default {
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
......@@ -99,6 +99,10 @@ export default {
views: {
gridview: {
caption: '报价单',
title: '报价单表格视图',
},
oppquagridview: {
caption: '报价单',
title: '报价单表格视图',
},
editview: {
......@@ -146,7 +150,7 @@ export default {
uiactions: {
},
},
gridviewtoolbar_toolbar: {
oppquagridviewtoolbar_toolbar: {
tbitem3: {
caption: '新建',
tip: '新建',
......@@ -222,4 +226,42 @@ export default {
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
......@@ -168,6 +168,43 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey: 'Opportunity__PurchaseProcess',
emptytext: '未定义',
"codelisttype":"static",
items: [
{
id: '1',
label: "Committee",
text: "Committee",
"data":"",
"codename":"Item_1",
value: '1',
disabled: false,
},
{
id: '0',
label: "Individual",
text: "Individual",
"data":"",
"codename":"Item_0",
value: '0',
disabled: false,
},
{
id: '2',
label: "Unknown",
text: "Unknown",
"data":"",
"codename":"Item_2",
value: '2',
disabled: false,
},
]
},
{
srfkey: 'List__MemberType',
emptytext: '未定义',
......@@ -2061,6 +2098,63 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
"codename":"Item_3",
value: '3',
disabled: false,
},
]
},
{
srfkey: 'Opportunity__PurchaseTimeframe',
emptytext: '未定义',
"codelisttype":"static",
items: [
{
id: '0',
label: "Immediate",
text: "Immediate",
"data":"",
"codename":"Item_0",
value: '0',
disabled: false,
},
{
id: '2',
label: "Next Quarter",
text: "Next Quarter",
"data":"",
"codename":"Item_2",
value: '2',
disabled: false,
},
{
id: '1',
label: "This Quarter",
text: "This Quarter",
"data":"",
"codename":"Item_1",
value: '1',
disabled: false,
},
{
id: '3',
label: "This Year",
text: "This Year",
"data":"",
"codename":"Item_3",
value: '3',
disabled: false,
},
{
id: '4',
label: "Unknown",
text: "Unknown",
"data":"",
"codename":"Item_4",
value: '4',
disabled: false,
},
]
......
......@@ -7,6 +7,7 @@ import './login/login';
import './upload/upload';
// 实体级接口对象
import './entity/opportunity-products/opportunity-products';
import './entity/campaign-lists/campaign-lists';
import './entity/tasks/tasks';
import './entity/letters/letters';
......
......@@ -33,7 +33,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
},
"contactgridview": {
"title": "联系人表格视图",
"caption": "联系人",
"caption": "联系人信息",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Base",
"viewname": "ContactGridView",
......@@ -120,13 +120,21 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewtag": "144fa4796e1efccbfeb7f373d4c0bebb"
},
"leadgridview": {
"title": "潜在顾客表格视图",
"title": "潜在顾客信息",
"caption": "潜在顾客信息",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Sales",
"viewname": "LeadGridView",
"viewtag": "15d12c1173fcb6e742b6a6d92cbc53ed"
},
"opportunitydashboardview": {
"title": "商机数据看板视图",
"caption": "商机",
"viewtype": "DEPORTALVIEW",
"viewmodule": "Sales",
"viewname": "OpportunityDashboardView",
"viewtag": "177c00d1674621e8933efe6db68bce0e"
},
"leadpickupview": {
"title": "潜在顾客数据选择视图",
"caption": "潜在顾客",
......@@ -399,6 +407,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "CampaignActivityByParentKey",
"viewtag": "5894d33141cc9c307a54134def213332"
},
"opportunityproducteditview": {
"title": "商机产品编辑视图",
"caption": "商机产品",
"viewtype": "DEEDITVIEW",
"viewmodule": "Sales",
"viewname": "OpportunityProductEditView",
"viewtag": "599da9d1e5d8054bb86ce61abeb78189"
},
"accountgridview": {
"title": "客户表格视图",
"caption": "客户信息",
......@@ -447,6 +463,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "CampaignListGridView",
"viewtag": "661e0045037121d27f78b71049dc0d8a"
},
"opportunityinfo_abstract": {
"title": "商机编辑视图",
"caption": "商机",
"viewtype": "DEEDITVIEW",
"viewmodule": "Sales",
"viewname": "OpportunityInfo_Abstract",
"viewtag": "66b3d6f7e15711b61132066ba3a95f91"
},
"accountedit_accountinfo": {
"title": "账户信息",
"caption": "账户信息",
......@@ -463,6 +487,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "CampaignInfo_Manager",
"viewtag": "697373026d90700244354625e1d01cc2"
},
"opportunityproductopp_oppprogridview": {
"title": "商机产品表格视图",
"caption": "商机产品",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Sales",
"viewname": "OpportunityProductOpp_OppProGridView",
"viewtag": "6c67094479c2f8af7ea1575eee584056"
},
"transactioncurrencypickupgridview": {
"title": "货币选择表格视图",
"caption": "货币",
......@@ -511,6 +543,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "GoalEditView",
"viewtag": "7877d7e7e55fe21f48e8382e07579f33"
},
"quoteoppquagridview": {
"title": "报价单表格视图",
"caption": "报价单",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Sales",
"viewname": "QuoteOppQuaGridView",
"viewtag": "78862ad65295f145e7520291f1183604"
},
"leadinfo_contact": {
"title": "潜在顾客编辑视图",
"caption": "潜在顾客",
......@@ -599,6 +639,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "PriceLevelPickupView",
"viewtag": "8b806fb12589b2fc17d1bb90f4b5422e"
},
"opportunitytabexpview": {
"title": "商机分页导航视图",
"caption": "商品信息",
"viewtype": "DETABEXPVIEW",
"viewmodule": "Sales",
"viewname": "OpportunityTabExpView",
"viewtag": "8bfcd7acdd1f36afc1714f1071671f2c"
},
"listleadquickcreatebylist": {
"title": "快速新建(根据营销列表)",
"caption": "快速新建",
......@@ -655,6 +703,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "ContactInfo_Address",
"viewtag": "9475c40920701fcc382676d73832de4f"
},
"opportunityoppprodashboardview": {
"title": "商机数据看板视图",
"caption": "商机",
"viewtype": "DEPORTALVIEW",
"viewmodule": "Sales",
"viewname": "OpportunityOppProDashboardView",
"viewtag": "9693fc63348c320c4b0dff17cb9a9f25"
},
"serviceappointmenteditview": {
"title": "服务活动编辑视图",
"caption": "服务活动",
......@@ -687,6 +743,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "ListAccountQuickCreateByList",
"viewtag": "a1b44c891ef0bbc073c82693d8489de6"
},
"opportunityoptionview": {
"title": "商机快速新建视图",
"caption": "商机",
"viewtype": "DEOPTVIEW",
"viewmodule": "Sales",
"viewname": "OpportunityOptionView",
"viewtag": "a243cd62accb02ceba4fb128703128f0"
},
"appointmenteditview": {
"title": "约会编辑视图",
"caption": "约会",
......@@ -847,6 +911,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "AccountInfo_Distribution",
"viewtag": "c607e5bc2c07ab2aca084e275ce677b7"
},
"opportunityinfo_product": {
"title": "商机编辑视图",
"caption": "商机",
"viewtype": "DEEDITVIEW",
"viewmodule": "Sales",
"viewname": "OpportunityInfo_Product",
"viewtag": "c74c14188b89f72079643170a83c25f5"
},
"listcontacteditview": {
"title": "营销列表-联系人编辑视图",
"caption": "营销列表-联系人",
......
<template>
<studio-view-style2 viewName="contactgridview" viewTitle="联系人表格视图" class='degridview contact-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"/> </template>
......
<template>
<studio-view-style2 viewName="leadgridview" viewTitle="潜在顾客表格视图" class='degridview lead-grid-view'>
<studio-view-style2 viewName="leadgridview" viewTitle="潜在顾客信息" class='degridview lead-grid-view'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
......@@ -68,7 +68,7 @@ import CodeListService from "@service/app/codelist-service";
/**
* 潜在顾客表格视图视图基类
* 潜在顾客信息视图基类
*
* @export
* @class LeadGridViewBase
......
<template>
<studio-view-style2 viewName="opportunitydashboardview" viewTitle="商机数据看板视图" class='deportalview opportunity-dashboard-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>
</template>
<script lang='tsx'>
import { Component, Prop, Provide, Emit, Watch } from 'vue-property-decorator';
import { Subject } from 'rxjs';
import { UIActionTool, Util } from '@/utils';
import { VueLifeCycleProcessing, DashboardViewBase } from '@/studio-core';
import OpportunityService from '@/service/opportunity/opportunity-service';
import PortalViewEngine from '@engine/view/portal-view-engine';
/**
* 商机数据看板视图视图基类
*
* @export
* @class OpportunityDashboardViewBase
* @extends {DashboardViewBase}
*/
@Component({})
@VueLifeCycleProcessing()
export default class OpportunityDashboardViewBase extends DashboardViewBase {
/**
* 实体服务对象
*
* @type {OpportunityService}
* @memberof OpportunityDashboardViewBase
*/
protected appEntityService: OpportunityService = new OpportunityService;
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof OpportunityDashboardViewBase
*/
protected counterServiceArray: Array<any> = [];
/**
* 自定义视图导航上下文集合
*
* @protected
* @type {*}
* @memberof OpportunityDashboardViewBase
*/
protected customViewNavContexts: any = {
};
/**
* 自定义视图导航参数集合
*
* @protected
* @type {*}
* @memberof OpportunityDashboardViewBase
*/
protected customViewParams: any = {
};
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof OpportunityDashboardViewBase
*/
protected model: any = {
srfCaption: 'entities.opportunity.views.dashboardview.caption',
srfTitle: 'entities.opportunity.views.dashboardview.title',
srfSubTitle: 'entities.opportunity.views.dashboardview.subtitle',
dataInfo: ''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof OpportunityDashboardViewBase
*/
protected containerModel: any = {
view_dashboard: { name: 'dashboard', type: 'DASHBOARD' },
};
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof OpportunityDashboardViewBase
*/
public engine: PortalViewEngine = new PortalViewEngine();
/**
* 引擎初始化
*
* @public
* @memberof OpportunityDashboardViewBase
*/
public engineInit(): void {
this.engine.init({
view: this,
dashboard: this.$refs.dashboard,
keyPSDEField: 'opportunity',
majorPSDEField: 'opportunityname',
isLoadDefault: true,
});
}
/**
* dashboard 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof OpportunityDashboardViewBase
*/
public dashboard_load($event: any, $event2?: any): void {
this.engine.onCtrlEvent('dashboard', 'load', $event);
}
}
</script>
<style lang='less'>
@import './opportunity-dashboard-view.less';
</style>
\ No newline at end of file
// 避免空文件,后台不让空文件过
.opportunity-dashboard-view {
--opportunity-dashboard-view: 0;
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import OpportunityDashboardViewBase from './opportunity-dashboard-view-base.vue';
import view_dashboard from '@widgets/opportunity/dashboard-dashboard/dashboard-dashboard.vue';
@Component({
components: {
view_dashboard,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$store.commit('addCurPageViewtag', { route: to, viewtag: vm.viewtag });
});
},
})
export default class OpportunityDashboardView extends OpportunityDashboardViewBase {
}
</script>
\ No newline at end of file
<template>
<studio-view-style2 viewName="opportunityinfo_product" viewTitle="商机编辑视图" class='deeditview opportunity-info-product'>
<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>
</studio-view-style2>
</template>
<script lang='tsx'>
import { Component, Prop, Provide, Emit, Watch } from 'vue-property-decorator';
import { Subject } from 'rxjs';
import { UIActionTool, Util } from '@/utils';
import { VueLifeCycleProcessing, EditViewBase } from '@/studio-core';
import OpportunityService from '@/service/opportunity/opportunity-service';
import EditViewEngine from '@engine/view/edit-view-engine';
/**
* 商机编辑视图视图基类
*
* @export
* @class OpportunityInfo_ProductBase
* @extends {EditViewBase}
*/
@Component({})
@VueLifeCycleProcessing()
export default class OpportunityInfo_ProductBase extends EditViewBase {
/**
* 实体服务对象
*
* @type {OpportunityService}
* @memberof OpportunityInfo_ProductBase
*/
protected appEntityService: OpportunityService = new OpportunityService;
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof OpportunityInfo_ProductBase
*/
protected counterServiceArray: Array<any> = [];
/**
* 自定义视图导航上下文集合
*
* @protected
* @type {*}
* @memberof OpportunityInfo_ProductBase
*/
protected customViewNavContexts: any = {
};
/**
* 自定义视图导航参数集合
*
* @protected
* @type {*}
* @memberof OpportunityInfo_ProductBase
*/
protected customViewParams: any = {
};
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof OpportunityInfo_ProductBase
*/
protected model: any = {
srfCaption: 'entities.opportunity.views.info_product.caption',
srfTitle: 'entities.opportunity.views.info_product.title',
srfSubTitle: 'entities.opportunity.views.info_product.subtitle',
dataInfo: ''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof OpportunityInfo_ProductBase
*/
protected containerModel: any = {
view_form: { name: 'form', type: 'FORM' },
};
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof OpportunityInfo_ProductBase
*/
public engine: EditViewEngine = new EditViewEngine();
/**
* 引擎初始化
*
* @public
* @memberof OpportunityInfo_ProductBase
*/
public engineInit(): void {
this.engine.init({
view: this,
form: this.$refs.form,
p2k: '0',
keyPSDEField: 'opportunity',
majorPSDEField: 'opportunityname',
isLoadDefault: true,
});
}
/**
* form 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof OpportunityInfo_ProductBase
*/
public form_save($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'save', $event);
}
/**
* form 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof OpportunityInfo_ProductBase
*/
public form_remove($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'remove', $event);
}
/**
* form 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof OpportunityInfo_ProductBase
*/
public form_load($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'load', $event);
}
}
</script>
<style lang='less'>
@import './opportunity-info-product.less';
</style>
\ No newline at end of file
// 避免空文件,后台不让空文件过
.opportunity-info-product {
--opportunity-info-product: 0;
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import OpportunityInfo_ProductBase from './opportunity-info-product-base.vue';
import view_form from '@widgets/opportunity/product-info-form/product-info-form.vue';
@Component({
components: {
view_form,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$store.commit('addCurPageViewtag', { route: to, viewtag: vm.viewtag });
});
},
})
export default class OpportunityInfo_Product extends OpportunityInfo_ProductBase {
}
</script>
\ No newline at end of file
<template>
<studio-view-style2 viewName="opportunityoppprodashboardview" viewTitle="商机数据看板视图" class='deportalview opportunity-opp-pro-dashboard-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>
</template>
<script lang='tsx'>
import { Component, Prop, Provide, Emit, Watch } from 'vue-property-decorator';
import { Subject } from 'rxjs';
import { UIActionTool, Util } from '@/utils';
import { VueLifeCycleProcessing, DashboardViewBase } from '@/studio-core';
import OpportunityService from '@/service/opportunity/opportunity-service';
import PortalViewEngine from '@engine/view/portal-view-engine';
/**
* 商机数据看板视图视图基类
*
* @export
* @class OpportunityOppProDashboardViewBase
* @extends {DashboardViewBase}
*/
@Component({})
@VueLifeCycleProcessing()
export default class OpportunityOppProDashboardViewBase extends DashboardViewBase {
/**
* 实体服务对象
*
* @type {OpportunityService}
* @memberof OpportunityOppProDashboardViewBase
*/
protected appEntityService: OpportunityService = new OpportunityService;
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof OpportunityOppProDashboardViewBase
*/
protected counterServiceArray: Array<any> = [];
/**
* 自定义视图导航上下文集合
*
* @protected
* @type {*}
* @memberof OpportunityOppProDashboardViewBase
*/
protected customViewNavContexts: any = {
};
/**
* 自定义视图导航参数集合
*
* @protected
* @type {*}
* @memberof OpportunityOppProDashboardViewBase
*/
protected customViewParams: any = {
};
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof OpportunityOppProDashboardViewBase
*/
protected model: any = {
srfCaption: 'entities.opportunity.views.oppprodashboardview.caption',
srfTitle: 'entities.opportunity.views.oppprodashboardview.title',
srfSubTitle: 'entities.opportunity.views.oppprodashboardview.subtitle',
dataInfo: ''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof OpportunityOppProDashboardViewBase
*/
protected containerModel: any = {
view_dashboard: { name: 'dashboard', type: 'DASHBOARD' },
};
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof OpportunityOppProDashboardViewBase
*/
public engine: PortalViewEngine = new PortalViewEngine();
/**
* 引擎初始化
*
* @public
* @memberof OpportunityOppProDashboardViewBase
*/
public engineInit(): void {
this.engine.init({
view: this,
dashboard: this.$refs.dashboard,
keyPSDEField: 'opportunity',
majorPSDEField: 'opportunityname',
isLoadDefault: true,
});
}
/**
* dashboard 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof OpportunityOppProDashboardViewBase
*/
public dashboard_load($event: any, $event2?: any): void {
this.engine.onCtrlEvent('dashboard', 'load', $event);
}
}
</script>
<style lang='less'>
@import './opportunity-opp-pro-dashboard-view.less';
</style>
\ No newline at end of file
// 避免空文件,后台不让空文件过
.opportunity-opp-pro-dashboard-view {
--opportunity-opp-pro-dashboard-view: 0;
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import OpportunityOppProDashboardViewBase from './opportunity-opp-pro-dashboard-view-base.vue';
import view_dashboard from '@widgets/opportunity/product-info-dashboard/product-info-dashboard.vue';
@Component({
components: {
view_dashboard,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$store.commit('addCurPageViewtag', { route: to, viewtag: vm.viewtag });
});
},
})
export default class OpportunityOppProDashboardView extends OpportunityOppProDashboardViewBase {
}
</script>
\ No newline at end of file
.option-view {
--option-view: 0;
}
// 避免空文件,后台不让空文件过
.opportunity-option-view {
--opportunity-option-view: 0;
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import OpportunityOptionViewBase from './opportunity-option-view-base.vue';
import view_form from '@widgets/opportunity/quick-create-form/quick-create-form.vue';
@Component({
components: {
view_form,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$store.commit('addCurPageViewtag', { route: to, viewtag: vm.viewtag });
});
},
})
export default class OpportunityOptionView extends OpportunityOptionViewBase {
}
</script>
\ No newline at end of file
// 避免空文件,后台不让空文件过
.opportunity-product-edit-view {
--opportunity-product-edit-view: 0;
}
// 视图样式
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import OpportunityProductEditViewBase from './opportunity-product-edit-view-base.vue';
import view_form from '@widgets/opportunity-product/main-form/main-form.vue';
@Component({
components: {
view_form,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$store.commit('addCurPageViewtag', { route: to, viewtag: vm.viewtag });
});
},
})
export default class OpportunityProductEditView extends OpportunityProductEditViewBase {
}
</script>
\ No newline at end of file
// 避免空文件,后台不让空文件过
.opportunity-product-opp-opp-pro-grid-view {
--opportunity-product-opp-opp-pro-grid-view: 0;
}
// 视图样式
// this is less
// 避免空文件,后台不让空文件过
.opportunity-tab-exp-view {
--opportunity-tab-exp-view: 0;
}
// 避免空文件,后台不让空文件过
.quote-opp-qua-grid-view {
--quote-opp-qua-grid-view: 0;
}
// 视图样式
// this is less
此差异已折叠。
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册