Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
ac3a1826
提交
ac3a1826
编写于
7月 09, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lab_gzf 发布系统代码
上级
936863b3
变更
73
展开全部
显示空白字符变更
内嵌
并排
正在显示
73 个修改的文件
包含
2983 行增加
和
2308 行删除
+2983
-2308
account_en_US.ts
app_CRM/src/locale/lanres/entities/account/account_en_US.ts
+65
-61
account_zh_CN.ts
app_CRM/src/locale/lanres/entities/account/account_zh_CN.ts
+63
-59
campaign-list_en_US.ts
...cale/lanres/entities/campaign-list/campaign-list_en_US.ts
+0
-8
campaign-list_zh_CN.ts
...cale/lanres/entities/campaign-list/campaign-list_zh_CN.ts
+0
-8
campaign_en_US.ts
...CRM/src/locale/lanres/entities/campaign/campaign_en_US.ts
+0
-16
campaign_zh_CN.ts
...CRM/src/locale/lanres/entities/campaign/campaign_zh_CN.ts
+0
-16
competitor_en_US.ts
...src/locale/lanres/entities/competitor/competitor_en_US.ts
+0
-8
competitor_zh_CN.ts
...src/locale/lanres/entities/competitor/competitor_zh_CN.ts
+0
-8
contact_en_US.ts
app_CRM/src/locale/lanres/entities/contact/contact_en_US.ts
+0
-8
contact_zh_CN.ts
app_CRM/src/locale/lanres/entities/contact/contact_zh_CN.ts
+0
-8
invoice_en_US.ts
app_CRM/src/locale/lanres/entities/invoice/invoice_en_US.ts
+0
-8
invoice_zh_CN.ts
app_CRM/src/locale/lanres/entities/invoice/invoice_zh_CN.ts
+0
-8
lead-competitor_en_US.ts
.../lanres/entities/lead-competitor/lead-competitor_en_US.ts
+0
-8
lead-competitor_zh_CN.ts
.../lanres/entities/lead-competitor/lead-competitor_zh_CN.ts
+0
-8
lead_en_US.ts
app_CRM/src/locale/lanres/entities/lead/lead_en_US.ts
+0
-8
lead_zh_CN.ts
app_CRM/src/locale/lanres/entities/lead/lead_zh_CN.ts
+0
-8
list-account_en_US.ts
...locale/lanres/entities/list-account/list-account_en_US.ts
+0
-8
list-account_zh_CN.ts
...locale/lanres/entities/list-account/list-account_zh_CN.ts
+0
-8
list-contact_en_US.ts
...locale/lanres/entities/list-contact/list-contact_en_US.ts
+0
-8
list-contact_zh_CN.ts
...locale/lanres/entities/list-contact/list-contact_zh_CN.ts
+0
-8
opportunity-competitor_en_US.ts
...es/opportunity-competitor/opportunity-competitor_en_US.ts
+0
-8
opportunity-competitor_zh_CN.ts
...es/opportunity-competitor/opportunity-competitor_zh_CN.ts
+0
-8
opportunity_en_US.ts
...c/locale/lanres/entities/opportunity/opportunity_en_US.ts
+0
-8
opportunity_zh_CN.ts
...c/locale/lanres/entities/opportunity/opportunity_zh_CN.ts
+0
-8
product_en_US.ts
app_CRM/src/locale/lanres/entities/product/product_en_US.ts
+0
-8
product_zh_CN.ts
app_CRM/src/locale/lanres/entities/product/product_zh_CN.ts
+0
-8
quote_en_US.ts
app_CRM/src/locale/lanres/entities/quote/quote_en_US.ts
+0
-8
quote_zh_CN.ts
app_CRM/src/locale/lanres/entities/quote/quote_zh_CN.ts
+0
-8
sales-literature_en_US.ts
...anres/entities/sales-literature/sales-literature_en_US.ts
+0
-8
sales-literature_zh_CN.ts
...anres/entities/sales-literature/sales-literature_zh_CN.ts
+0
-8
sales-order_en_US.ts
...c/locale/lanres/entities/sales-order/sales-order_en_US.ts
+0
-8
sales-order_zh_CN.ts
...c/locale/lanres/entities/sales-order/sales-order_zh_CN.ts
+0
-8
account-info-base.tsx
app_CRM/src/pages/base/account-info/account-info-base.tsx
+38
-31
contact-info-base.tsx
app_CRM/src/pages/base/contact-info/contact-info-base.tsx
+0
-59
invoice-info-view-base.tsx
...ages/finance/invoice-info-view/invoice-info-view-base.tsx
+0
-59
campaign-info-base.tsx
.../src/pages/marketing/campaign-info/campaign-info-base.tsx
+0
-59
campaign-list-edit-view-base.tsx
.../campaign-list-edit-view/campaign-list-edit-view-base.tsx
+0
-60
campaign-summary-head-base.tsx
...ting/campaign-summary-head/campaign-summary-head-base.tsx
+0
-59
list-account-edit-view-base.tsx
...ng/list-account-edit-view/list-account-edit-view-base.tsx
+0
-60
list-contact-edit-view-base.tsx
...ng/list-contact-edit-view/list-contact-edit-view-base.tsx
+0
-60
product-info-view-base.tsx
...ages/product/product-info-view/product-info-view-base.tsx
+0
-59
competitor-info-base.tsx
.../src/pages/sales/competitor-info/competitor-info-base.tsx
+0
-59
lead-competitor-edit-view-base.tsx
...d-competitor-edit-view/lead-competitor-edit-view-base.tsx
+0
-60
lead-info-base.tsx
app_CRM/src/pages/sales/lead-info/lead-info-base.tsx
+0
-59
opportunity-competitor-comp-opp-grid-view-base.tsx
...d-view/opportunity-competitor-comp-opp-grid-view-base.tsx
+638
-0
opportunity-competitor-comp-opp-grid-view.html
...-grid-view/opportunity-competitor-comp-opp-grid-view.html
+49
-0
opportunity-competitor-comp-opp-grid-view.vue
...p-grid-view/opportunity-competitor-comp-opp-grid-view.vue
+24
-0
opportunity-competitor-edit-comp-opp-view-base.tsx
...p-view/opportunity-competitor-edit-comp-opp-view-base.tsx
+293
-0
opportunity-competitor-edit-comp-opp-view.html
...p-opp-view/opportunity-competitor-edit-comp-opp-view.html
+29
-0
opportunity-competitor-edit-comp-opp-view.vue
...mp-opp-view/opportunity-competitor-edit-comp-opp-view.vue
+22
-0
opportunity-info-base.tsx
...rc/pages/sales/opportunity-info/opportunity-info-base.tsx
+0
-59
quote-info-base.tsx
app_CRM/src/pages/sales/quote-info/quote-info-base.tsx
+0
-59
sales-literature-info-view-base.tsx
...-literature-info-view/sales-literature-info-view-base.tsx
+0
-59
sales-order-info-view-base.tsx
...ales/sales-order-info-view/sales-order-info-view-base.tsx
+0
-59
page-register.ts
app_CRM/src/pages/ungroup/central/page-register.ts
+2
-2
router.ts
app_CRM/src/pages/ungroup/central/router.ts
+186
-186
account-service-base.ts
app_CRM/src/service/account/account-service-base.ts
+94
-94
campaign-service-base.ts
app_CRM/src/service/campaign/campaign-service-base.ts
+52
-52
competitor-service-base.ts
app_CRM/src/service/competitor/competitor-service-base.ts
+46
-46
contact-service-base.ts
app_CRM/src/service/contact/contact-service-base.ts
+131
-131
ibiz-list-service-base.ts
app_CRM/src/service/ibiz-list/ibiz-list-service-base.ts
+64
-64
opportunity-service-base.ts
app_CRM/src/service/opportunity/opportunity-service-base.ts
+304
-304
product-service-base.ts
app_CRM/src/service/product/product-service-base.ts
+52
-52
sales-literature-service-base.ts
...service/sales-literature/sales-literature-service-base.ts
+47
-47
state.ts
app_CRM/src/store/modules/view-action/state.ts
+22
-21
account-ui-service-base.ts
app_CRM/src/uiservice/account/account-ui-service-base.ts
+51
-0
infotabviewpanel2-tabviewpanel.html
...ewpanel2-tabviewpanel/infotabviewpanel2-tabviewpanel.html
+1
-1
edit-comp-opp-form-base.tsx
...competitor/edit-comp-opp-form/edit-comp-opp-form-base.tsx
+128
-0
edit-comp-opp-form-model.ts
...competitor/edit-comp-opp-form/edit-comp-opp-form-model.ts
+101
-0
edit-comp-opp-form-service.ts
...mpetitor/edit-comp-opp-form/edit-comp-opp-form-service.ts
+383
-0
edit-comp-opp-form.html
...ity-competitor/edit-comp-opp-form/edit-comp-opp-form.html
+64
-0
edit-comp-opp-form.vue
...nity-competitor/edit-comp-opp-form/edit-comp-opp-form.vue
+22
-0
h2_table.xml
...esscentral-core/src/main/resources/liquibase/h2_table.xml
+12
-12
未找到文件。
app_CRM/src/locale/lanres/entities/account/account_en_US.ts
浏览文件 @
ac3a1826
...
@@ -404,9 +404,12 @@ export default {
...
@@ -404,9 +404,12 @@ export default {
uiactions
:
{
uiactions
:
{
},
},
},
},
edit_datapanel
_form
:
{
main
_form
:
{
details
:
{
details
:
{
group1
:
"客户基本信息"
,
group1
:
"账户信息"
,
grouppanel3
:
"简介"
,
grouppanel1
:
"地址信息"
,
grouppanel2
:
"联系人首选项"
,
formpage1
:
"基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srforikey
:
""
,
...
@@ -416,21 +419,44 @@ export default {
...
@@ -416,21 +419,44 @@ export default {
srfuf
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
srfsourcekey
:
""
,
industrycode
:
"行业
"
,
accountname
:
"客户名称
"
,
telephone1
:
"主要电话"
,
telephone1
:
"主要电话"
,
revenue
:
"年收入"
,
fax
:
"传真"
,
numberofemployees
:
"员工人数"
,
websiteurl
:
"网站"
,
statuscode
:
"状态描述"
,
parentaccountname
:
"上级客户"
,
owneridyominame
:
"负责人"
,
tickersymbol
:
"股票代号"
,
customertypecode
:
"关系类型"
,
defaultpricelevelname
:
"价目表"
,
industrycode
:
"行业"
,
sic
:
"行业编码"
,
ownershipcode
:
"所有权"
,
description
:
"说明"
,
address1_addressid
:
"地址 1: ID"
,
address1_name
:
"地址 1: 名称"
,
address1_addresstypecode
:
"地址 1: 地址类型"
,
address1_country
:
"地址 1: 国家/地区"
,
address1_stateorprovince
:
"地址 1: 省/市/自治区"
,
address1_city
:
"地址 1: 市/县"
,
address1_county
:
"地址 1: 县"
,
address1_line1
:
"地址 1: 街道 1"
,
address1_fax
:
"地址 1: 传真"
,
address1_freighttermscode
:
"地址 1: 货运条款"
,
address1_postalcode
:
"地址 1: 邮政编码"
,
preferredcontactmethodcode
:
"首选联系方式"
,
donotemail
:
"不允许使用电子邮件"
,
donotbulkemail
:
"不允许使用批量电子邮件"
,
donotphone
:
"不允许电话联络"
,
donotfax
:
"不允许使用传真"
,
donotpostalmail
:
"不允许使用邮件"
,
defaultpricelevelid
:
"价目表"
,
parentaccountid
:
"上级单位"
,
accountid
:
"客户"
,
accountid
:
"客户"
,
},
},
uiactions
:
{
uiactions
:
{
},
},
},
},
info
_datapanel_form
:
{
edit
_datapanel_form
:
{
details
:
{
details
:
{
button1
:
"头部信息编辑"
,
grouppanel1
:
"分组面板"
,
group1
:
"客户基本信息"
,
group1
:
"客户基本信息"
,
formpage1
:
"基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srfupdatedate
:
"更新时间"
,
...
@@ -441,24 +467,22 @@ export default {
...
@@ -441,24 +467,22 @@ export default {
srfuf
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
srfsourcekey
:
""
,
accountid
:
"客户"
,
industrycode
:
"行业"
,
industrycode
:
"行业"
,
telephone1
:
"主要电话"
,
telephone1
:
"主要电话"
,
revenue
:
"年收入"
,
revenue
:
"年收入"
,
numberofemployees
:
"员工人数"
,
numberofemployees
:
"员工人数"
,
statuscode
:
"状态描述"
,
statuscode
:
"状态描述"
,
owneridyominame
:
"负责人"
,
owneridyominame
:
"负责人"
,
accountid
:
"客户"
,
},
},
uiactions
:
{
uiactions
:
{
account_edit_datapanel
:
"头部信息编辑"
,
},
},
},
},
main
_form
:
{
info_datapanel
_form
:
{
details
:
{
details
:
{
group1
:
"账户信息"
,
button1
:
"头部信息编辑"
,
grouppanel3
:
"简介"
,
grouppanel1
:
"分组面板"
,
grouppanel1
:
"地址信息"
,
group1
:
"客户基本信息"
,
grouppanel2
:
"联系人首选项"
,
formpage1
:
"基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srforikey
:
""
,
...
@@ -468,40 +492,16 @@ export default {
...
@@ -468,40 +492,16 @@ export default {
srfuf
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
srfsourcekey
:
""
,
accountname
:
"客户名称"
,
telephone1
:
"主要电话"
,
fax
:
"传真"
,
websiteurl
:
"网站"
,
parentaccountname
:
"上级客户"
,
tickersymbol
:
"股票代号"
,
customertypecode
:
"关系类型"
,
defaultpricelevelname
:
"价目表"
,
industrycode
:
"行业"
,
sic
:
"行业编码"
,
ownershipcode
:
"所有权"
,
description
:
"说明"
,
address1_addressid
:
"地址 1: ID"
,
address1_name
:
"地址 1: 名称"
,
address1_addresstypecode
:
"地址 1: 地址类型"
,
address1_country
:
"地址 1: 国家/地区"
,
address1_stateorprovince
:
"地址 1: 省/市/自治区"
,
address1_city
:
"地址 1: 市/县"
,
address1_county
:
"地址 1: 县"
,
address1_line1
:
"地址 1: 街道 1"
,
address1_fax
:
"地址 1: 传真"
,
address1_freighttermscode
:
"地址 1: 货运条款"
,
address1_postalcode
:
"地址 1: 邮政编码"
,
preferredcontactmethodcode
:
"首选联系方式"
,
donotemail
:
"不允许使用电子邮件"
,
donotbulkemail
:
"不允许使用批量电子邮件"
,
donotphone
:
"不允许电话联络"
,
donotfax
:
"不允许使用传真"
,
donotpostalmail
:
"不允许使用邮件"
,
defaultpricelevelid
:
"价目表"
,
parentaccountid
:
"上级单位"
,
accountid
:
"客户"
,
accountid
:
"客户"
,
industrycode
:
"行业"
,
telephone1
:
"主要电话"
,
revenue
:
"年收入"
,
numberofemployees
:
"员工人数"
,
statuscode
:
"状态描述"
,
owneridyominame
:
"负责人"
,
},
},
uiactions
:
{
uiactions
:
{
account_edit_datapanel
:
"头部信息编辑"
,
},
},
},
},
info_account_form
:
{
info_account_form
:
{
...
@@ -689,10 +689,24 @@ export default {
...
@@ -689,10 +689,24 @@ export default {
uiactions
:
{
uiactions
:
{
},
},
},
},
editviewtoolbar_toolbar
:
{
tbitem1
:
{
caption
:
"Save And Close"
,
tip
:
"Save And Close Window"
,
},
tbitem2
:
{
caption
:
"关闭"
,
tip
:
"关闭"
,
},
},
infotoolbar_toolbar
:
{
infotoolbar_toolbar
:
{
deuiaction4
:
{
tbitem1_openmaineditview
:
{
caption
:
"Edit"
,
caption
:
"编辑"
,
tip
:
"Edit {0}"
,
tip
:
"编辑"
,
},
tbitem1_removeandexit
:
{
caption
:
"Remove And Close"
,
tip
:
"Remove And Close Window"
,
},
},
seperator4
:
{
seperator4
:
{
caption
:
""
,
caption
:
""
,
...
@@ -785,16 +799,6 @@ export default {
...
@@ -785,16 +799,6 @@ export default {
tip
:
"Filter"
,
tip
:
"Filter"
,
},
},
},
},
editviewtoolbar_toolbar
:
{
tbitem1
:
{
caption
:
"Save And Close"
,
tip
:
"Save And Close Window"
,
},
tbitem2
:
{
caption
:
"关闭"
,
tip
:
"关闭"
,
},
},
treegridexviewtoolbar_toolbar
:
{
treegridexviewtoolbar_toolbar
:
{
tbitem1_openquickcreateview
:
{
tbitem1_openquickcreateview
:
{
caption
:
"新建"
,
caption
:
"新建"
,
...
...
app_CRM/src/locale/lanres/entities/account/account_zh_CN.ts
浏览文件 @
ac3a1826
...
@@ -403,9 +403,12 @@ export default {
...
@@ -403,9 +403,12 @@ export default {
uiactions
:
{
uiactions
:
{
},
},
},
},
edit_datapanel
_form
:
{
main
_form
:
{
details
:
{
details
:
{
group1
:
"客户基本信息"
,
group1
:
"账户信息"
,
grouppanel3
:
"简介"
,
grouppanel1
:
"地址信息"
,
grouppanel2
:
"联系人首选项"
,
formpage1
:
"基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srforikey
:
""
,
...
@@ -415,21 +418,44 @@ export default {
...
@@ -415,21 +418,44 @@ export default {
srfuf
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
srfsourcekey
:
""
,
industrycode
:
"行业
"
,
accountname
:
"客户名称
"
,
telephone1
:
"主要电话"
,
telephone1
:
"主要电话"
,
revenue
:
"年收入"
,
fax
:
"传真"
,
numberofemployees
:
"员工人数"
,
websiteurl
:
"网站"
,
statuscode
:
"状态描述"
,
parentaccountname
:
"上级客户"
,
owneridyominame
:
"负责人"
,
tickersymbol
:
"股票代号"
,
customertypecode
:
"关系类型"
,
defaultpricelevelname
:
"价目表"
,
industrycode
:
"行业"
,
sic
:
"行业编码"
,
ownershipcode
:
"所有权"
,
description
:
"说明"
,
address1_addressid
:
"地址 1: ID"
,
address1_name
:
"地址 1: 名称"
,
address1_addresstypecode
:
"地址 1: 地址类型"
,
address1_country
:
"地址 1: 国家/地区"
,
address1_stateorprovince
:
"地址 1: 省/市/自治区"
,
address1_city
:
"地址 1: 市/县"
,
address1_county
:
"地址 1: 县"
,
address1_line1
:
"地址 1: 街道 1"
,
address1_fax
:
"地址 1: 传真"
,
address1_freighttermscode
:
"地址 1: 货运条款"
,
address1_postalcode
:
"地址 1: 邮政编码"
,
preferredcontactmethodcode
:
"首选联系方式"
,
donotemail
:
"不允许使用电子邮件"
,
donotbulkemail
:
"不允许使用批量电子邮件"
,
donotphone
:
"不允许电话联络"
,
donotfax
:
"不允许使用传真"
,
donotpostalmail
:
"不允许使用邮件"
,
defaultpricelevelid
:
"价目表"
,
parentaccountid
:
"上级单位"
,
accountid
:
"客户"
,
accountid
:
"客户"
,
},
},
uiactions
:
{
uiactions
:
{
},
},
},
},
info
_datapanel_form
:
{
edit
_datapanel_form
:
{
details
:
{
details
:
{
button1
:
"头部信息编辑"
,
grouppanel1
:
"分组面板"
,
group1
:
"客户基本信息"
,
group1
:
"客户基本信息"
,
formpage1
:
"基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srfupdatedate
:
"更新时间"
,
...
@@ -440,24 +466,22 @@ export default {
...
@@ -440,24 +466,22 @@ export default {
srfuf
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
srfsourcekey
:
""
,
accountid
:
"客户"
,
industrycode
:
"行业"
,
industrycode
:
"行业"
,
telephone1
:
"主要电话"
,
telephone1
:
"主要电话"
,
revenue
:
"年收入"
,
revenue
:
"年收入"
,
numberofemployees
:
"员工人数"
,
numberofemployees
:
"员工人数"
,
statuscode
:
"状态描述"
,
statuscode
:
"状态描述"
,
owneridyominame
:
"负责人"
,
owneridyominame
:
"负责人"
,
accountid
:
"客户"
,
},
},
uiactions
:
{
uiactions
:
{
account_edit_datapanel
:
"头部信息编辑"
,
},
},
},
},
main
_form
:
{
info_datapanel
_form
:
{
details
:
{
details
:
{
group1
:
"账户信息"
,
button1
:
"头部信息编辑"
,
grouppanel3
:
"简介"
,
grouppanel1
:
"分组面板"
,
grouppanel1
:
"地址信息"
,
group1
:
"客户基本信息"
,
grouppanel2
:
"联系人首选项"
,
formpage1
:
"基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srforikey
:
""
,
...
@@ -467,40 +491,16 @@ export default {
...
@@ -467,40 +491,16 @@ export default {
srfuf
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
srfsourcekey
:
""
,
accountname
:
"客户名称"
,
telephone1
:
"主要电话"
,
fax
:
"传真"
,
websiteurl
:
"网站"
,
parentaccountname
:
"上级客户"
,
tickersymbol
:
"股票代号"
,
customertypecode
:
"关系类型"
,
defaultpricelevelname
:
"价目表"
,
industrycode
:
"行业"
,
sic
:
"行业编码"
,
ownershipcode
:
"所有权"
,
description
:
"说明"
,
address1_addressid
:
"地址 1: ID"
,
address1_name
:
"地址 1: 名称"
,
address1_addresstypecode
:
"地址 1: 地址类型"
,
address1_country
:
"地址 1: 国家/地区"
,
address1_stateorprovince
:
"地址 1: 省/市/自治区"
,
address1_city
:
"地址 1: 市/县"
,
address1_county
:
"地址 1: 县"
,
address1_line1
:
"地址 1: 街道 1"
,
address1_fax
:
"地址 1: 传真"
,
address1_freighttermscode
:
"地址 1: 货运条款"
,
address1_postalcode
:
"地址 1: 邮政编码"
,
preferredcontactmethodcode
:
"首选联系方式"
,
donotemail
:
"不允许使用电子邮件"
,
donotbulkemail
:
"不允许使用批量电子邮件"
,
donotphone
:
"不允许电话联络"
,
donotfax
:
"不允许使用传真"
,
donotpostalmail
:
"不允许使用邮件"
,
defaultpricelevelid
:
"价目表"
,
parentaccountid
:
"上级单位"
,
accountid
:
"客户"
,
accountid
:
"客户"
,
industrycode
:
"行业"
,
telephone1
:
"主要电话"
,
revenue
:
"年收入"
,
numberofemployees
:
"员工人数"
,
statuscode
:
"状态描述"
,
owneridyominame
:
"负责人"
,
},
},
uiactions
:
{
uiactions
:
{
account_edit_datapanel
:
"头部信息编辑"
,
},
},
},
},
info_account_form
:
{
info_account_form
:
{
...
@@ -688,11 +688,25 @@ export default {
...
@@ -688,11 +688,25 @@ export default {
uiactions
:
{
uiactions
:
{
},
},
},
},
editviewtoolbar_toolbar
:
{
tbitem1
:
{
caption
:
"保存并关闭"
,
tip
:
"保存并关闭"
,
},
tbitem2
:
{
caption
:
"关闭"
,
tip
:
"关闭"
,
},
},
infotoolbar_toolbar
:
{
infotoolbar_toolbar
:
{
deuiaction4
:
{
tbitem1_openmaineditview
:
{
caption
:
"编辑"
,
caption
:
"编辑"
,
tip
:
"编辑"
,
tip
:
"编辑"
,
},
},
tbitem1_removeandexit
:
{
caption
:
"删除并关闭"
,
tip
:
"删除并关闭"
,
},
seperator4
:
{
seperator4
:
{
caption
:
""
,
caption
:
""
,
tip
:
""
,
tip
:
""
,
...
@@ -784,16 +798,6 @@ export default {
...
@@ -784,16 +798,6 @@ export default {
tip
:
"过滤"
,
tip
:
"过滤"
,
},
},
},
},
editviewtoolbar_toolbar
:
{
tbitem1
:
{
caption
:
"保存并关闭"
,
tip
:
"保存并关闭"
,
},
tbitem2
:
{
caption
:
"关闭"
,
tip
:
"关闭"
,
},
},
treegridexviewtoolbar_toolbar
:
{
treegridexviewtoolbar_toolbar
:
{
tbitem1_openquickcreateview
:
{
tbitem1_openquickcreateview
:
{
caption
:
"新建"
,
caption
:
"新建"
,
...
...
app_CRM/src/locale/lanres/entities/campaign-list/campaign-list_en_US.ts
浏览文件 @
ac3a1826
...
@@ -94,14 +94,6 @@ export default {
...
@@ -94,14 +94,6 @@ export default {
},
},
},
},
editviewtoolbar_toolbar
:
{
editviewtoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
},
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
deuiaction1
:
{
caption
:
"Remove And Close"
,
caption
:
"Remove And Close"
,
tip
:
"Remove And Close Window"
,
tip
:
"Remove And Close Window"
,
...
...
app_CRM/src/locale/lanres/entities/campaign-list/campaign-list_zh_CN.ts
浏览文件 @
ac3a1826
...
@@ -93,14 +93,6 @@ export default {
...
@@ -93,14 +93,6 @@ export default {
},
},
},
},
editviewtoolbar_toolbar
:
{
editviewtoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
deuiaction1
:
{
caption
:
"删除并关闭"
,
caption
:
"删除并关闭"
,
tip
:
"删除并关闭"
,
tip
:
"删除并关闭"
,
...
...
app_CRM/src/locale/lanres/entities/campaign/campaign_en_US.ts
浏览文件 @
ac3a1826
...
@@ -291,14 +291,6 @@ export default {
...
@@ -291,14 +291,6 @@ export default {
},
},
},
},
infotoolbar_toolbar
:
{
infotoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
},
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
deuiaction1
:
{
caption
:
"Remove And Close"
,
caption
:
"Remove And Close"
,
tip
:
"Remove And Close Window"
,
tip
:
"Remove And Close Window"
,
...
@@ -401,14 +393,6 @@ export default {
...
@@ -401,14 +393,6 @@ export default {
},
},
},
},
summary_headtoolbar_toolbar
:
{
summary_headtoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
},
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
deuiaction1
:
{
caption
:
"Remove And Close"
,
caption
:
"Remove And Close"
,
tip
:
"Remove And Close Window"
,
tip
:
"Remove And Close Window"
,
...
...
app_CRM/src/locale/lanres/entities/campaign/campaign_zh_CN.ts
浏览文件 @
ac3a1826
...
@@ -290,14 +290,6 @@ export default {
...
@@ -290,14 +290,6 @@ export default {
},
},
},
},
infotoolbar_toolbar
:
{
infotoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
deuiaction1
:
{
caption
:
"删除并关闭"
,
caption
:
"删除并关闭"
,
tip
:
"删除并关闭"
,
tip
:
"删除并关闭"
,
...
@@ -400,14 +392,6 @@ export default {
...
@@ -400,14 +392,6 @@ export default {
},
},
},
},
summary_headtoolbar_toolbar
:
{
summary_headtoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
deuiaction1
:
{
caption
:
"删除并关闭"
,
caption
:
"删除并关闭"
,
tip
:
"删除并关闭"
,
tip
:
"删除并关闭"
,
...
...
app_CRM/src/locale/lanres/entities/competitor/competitor_en_US.ts
浏览文件 @
ac3a1826
...
@@ -230,14 +230,6 @@ export default {
...
@@ -230,14 +230,6 @@ export default {
},
},
},
},
infotoolbar_toolbar
:
{
infotoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
},
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
deuiaction1
:
{
caption
:
"Remove And Close"
,
caption
:
"Remove And Close"
,
tip
:
"Remove And Close Window"
,
tip
:
"Remove And Close Window"
,
...
...
app_CRM/src/locale/lanres/entities/competitor/competitor_zh_CN.ts
浏览文件 @
ac3a1826
...
@@ -229,14 +229,6 @@ export default {
...
@@ -229,14 +229,6 @@ export default {
},
},
},
},
infotoolbar_toolbar
:
{
infotoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
deuiaction1
:
{
caption
:
"删除并关闭"
,
caption
:
"删除并关闭"
,
tip
:
"删除并关闭"
,
tip
:
"删除并关闭"
,
...
...
app_CRM/src/locale/lanres/entities/contact/contact_en_US.ts
浏览文件 @
ac3a1826
...
@@ -667,14 +667,6 @@ export default {
...
@@ -667,14 +667,6 @@ export default {
},
},
},
},
infotoolbar_toolbar
:
{
infotoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
},
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
tbitem17_inactive
:
{
tbitem17_inactive
:
{
caption
:
"停用"
,
caption
:
"停用"
,
tip
:
"停用"
,
tip
:
"停用"
,
...
...
app_CRM/src/locale/lanres/entities/contact/contact_zh_CN.ts
浏览文件 @
ac3a1826
...
@@ -666,14 +666,6 @@ export default {
...
@@ -666,14 +666,6 @@ export default {
},
},
},
},
infotoolbar_toolbar
:
{
infotoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
tbitem17_inactive
:
{
tbitem17_inactive
:
{
caption
:
"停用"
,
caption
:
"停用"
,
tip
:
"停用"
,
tip
:
"停用"
,
...
...
app_CRM/src/locale/lanres/entities/invoice/invoice_en_US.ts
浏览文件 @
ac3a1826
...
@@ -270,14 +270,6 @@ export default {
...
@@ -270,14 +270,6 @@ export default {
},
},
},
},
infoviewtoolbar_toolbar
:
{
infoviewtoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
},
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
tbitem17_finish
:
{
tbitem17_finish
:
{
caption
:
"确认发票"
,
caption
:
"确认发票"
,
tip
:
"确认发票"
,
tip
:
"确认发票"
,
...
...
app_CRM/src/locale/lanres/entities/invoice/invoice_zh_CN.ts
浏览文件 @
ac3a1826
...
@@ -269,14 +269,6 @@ export default {
...
@@ -269,14 +269,6 @@ export default {
},
},
},
},
infoviewtoolbar_toolbar
:
{
infoviewtoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
tbitem17_finish
:
{
tbitem17_finish
:
{
caption
:
"确认发票"
,
caption
:
"确认发票"
,
tip
:
"确认发票"
,
tip
:
"确认发票"
,
...
...
app_CRM/src/locale/lanres/entities/lead-competitor/lead-competitor_en_US.ts
浏览文件 @
ac3a1826
...
@@ -96,14 +96,6 @@ export default {
...
@@ -96,14 +96,6 @@ export default {
},
},
},
},
editviewtoolbar_toolbar
:
{
editviewtoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
},
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
deuiaction1
:
{
caption
:
"Remove And Close"
,
caption
:
"Remove And Close"
,
tip
:
"Remove And Close Window"
,
tip
:
"Remove And Close Window"
,
...
...
app_CRM/src/locale/lanres/entities/lead-competitor/lead-competitor_zh_CN.ts
浏览文件 @
ac3a1826
...
@@ -95,14 +95,6 @@ export default {
...
@@ -95,14 +95,6 @@ export default {
},
},
},
},
editviewtoolbar_toolbar
:
{
editviewtoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
deuiaction1
:
{
caption
:
"删除并关闭"
,
caption
:
"删除并关闭"
,
tip
:
"删除并关闭"
,
tip
:
"删除并关闭"
,
...
...
app_CRM/src/locale/lanres/entities/lead/lead_en_US.ts
浏览文件 @
ac3a1826
...
@@ -478,14 +478,6 @@ export default {
...
@@ -478,14 +478,6 @@ export default {
},
},
},
},
infotoolbar_toolbar
:
{
infotoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
},
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
tbitem17_qualification
:
{
tbitem17_qualification
:
{
caption
:
"授予资格"
,
caption
:
"授予资格"
,
tip
:
"授予资格"
,
tip
:
"授予资格"
,
...
...
app_CRM/src/locale/lanres/entities/lead/lead_zh_CN.ts
浏览文件 @
ac3a1826
...
@@ -477,14 +477,6 @@ export default {
...
@@ -477,14 +477,6 @@ export default {
},
},
},
},
infotoolbar_toolbar
:
{
infotoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
tbitem17_qualification
:
{
tbitem17_qualification
:
{
caption
:
"授予资格"
,
caption
:
"授予资格"
,
tip
:
"授予资格"
,
tip
:
"授予资格"
,
...
...
app_CRM/src/locale/lanres/entities/list-account/list-account_en_US.ts
浏览文件 @
ac3a1826
...
@@ -91,14 +91,6 @@ export default {
...
@@ -91,14 +91,6 @@ export default {
},
},
},
},
editviewtoolbar_toolbar
:
{
editviewtoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
},
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
deuiaction1
:
{
caption
:
"Remove And Close"
,
caption
:
"Remove And Close"
,
tip
:
"Remove And Close Window"
,
tip
:
"Remove And Close Window"
,
...
...
app_CRM/src/locale/lanres/entities/list-account/list-account_zh_CN.ts
浏览文件 @
ac3a1826
...
@@ -90,14 +90,6 @@ export default {
...
@@ -90,14 +90,6 @@ export default {
},
},
},
},
editviewtoolbar_toolbar
:
{
editviewtoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
deuiaction1
:
{
caption
:
"删除并关闭"
,
caption
:
"删除并关闭"
,
tip
:
"删除并关闭"
,
tip
:
"删除并关闭"
,
...
...
app_CRM/src/locale/lanres/entities/list-contact/list-contact_en_US.ts
浏览文件 @
ac3a1826
...
@@ -82,14 +82,6 @@ export default {
...
@@ -82,14 +82,6 @@ export default {
innertoolbar_toolbar
:
{
innertoolbar_toolbar
:
{
},
},
editviewtoolbar_toolbar
:
{
editviewtoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
},
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
deuiaction1
:
{
caption
:
"Remove And Close"
,
caption
:
"Remove And Close"
,
tip
:
"Remove And Close Window"
,
tip
:
"Remove And Close Window"
,
...
...
app_CRM/src/locale/lanres/entities/list-contact/list-contact_zh_CN.ts
浏览文件 @
ac3a1826
...
@@ -81,14 +81,6 @@ export default {
...
@@ -81,14 +81,6 @@ export default {
innertoolbar_toolbar
:
{
innertoolbar_toolbar
:
{
},
},
editviewtoolbar_toolbar
:
{
editviewtoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
deuiaction1
:
{
caption
:
"删除并关闭"
,
caption
:
"删除并关闭"
,
tip
:
"删除并关闭"
,
tip
:
"删除并关闭"
,
...
...
app_CRM/src/locale/lanres/entities/opportunity-competitor/opportunity-competitor_en_US.ts
浏览文件 @
ac3a1826
...
@@ -137,14 +137,6 @@ export default {
...
@@ -137,14 +137,6 @@ export default {
},
},
},
},
editviewtoolbar_toolbar
:
{
editviewtoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
},
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
deuiaction1
:
{
caption
:
"Remove And Close"
,
caption
:
"Remove And Close"
,
tip
:
"Remove And Close Window"
,
tip
:
"Remove And Close Window"
,
...
...
app_CRM/src/locale/lanres/entities/opportunity-competitor/opportunity-competitor_zh_CN.ts
浏览文件 @
ac3a1826
...
@@ -136,14 +136,6 @@ export default {
...
@@ -136,14 +136,6 @@ export default {
},
},
},
},
editviewtoolbar_toolbar
:
{
editviewtoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
deuiaction1
:
{
caption
:
"删除并关闭"
,
caption
:
"删除并关闭"
,
tip
:
"删除并关闭"
,
tip
:
"删除并关闭"
,
...
...
app_CRM/src/locale/lanres/entities/opportunity/opportunity_en_US.ts
浏览文件 @
ac3a1826
...
@@ -370,14 +370,6 @@ export default {
...
@@ -370,14 +370,6 @@ export default {
caption
:
"编辑"
,
caption
:
"编辑"
,
tip
:
"编辑"
,
tip
:
"编辑"
,
},
},
seperator3
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction4
:
{
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
},
seperator4
:
{
seperator4
:
{
caption
:
""
,
caption
:
""
,
tip
:
""
,
tip
:
""
,
...
...
app_CRM/src/locale/lanres/entities/opportunity/opportunity_zh_CN.ts
浏览文件 @
ac3a1826
...
@@ -369,14 +369,6 @@ export default {
...
@@ -369,14 +369,6 @@ export default {
caption
:
"编辑"
,
caption
:
"编辑"
,
tip
:
"编辑"
,
tip
:
"编辑"
,
},
},
seperator3
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction4
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
seperator4
:
{
seperator4
:
{
caption
:
""
,
caption
:
""
,
tip
:
""
,
tip
:
""
,
...
...
app_CRM/src/locale/lanres/entities/product/product_en_US.ts
浏览文件 @
ac3a1826
...
@@ -187,14 +187,6 @@ export default {
...
@@ -187,14 +187,6 @@ export default {
},
},
},
},
infoviewtoolbar_toolbar
:
{
infoviewtoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
},
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
deuiaction1
:
{
caption
:
"Remove And Close"
,
caption
:
"Remove And Close"
,
tip
:
"Remove And Close Window"
,
tip
:
"Remove And Close Window"
,
...
...
app_CRM/src/locale/lanres/entities/product/product_zh_CN.ts
浏览文件 @
ac3a1826
...
@@ -186,14 +186,6 @@ export default {
...
@@ -186,14 +186,6 @@ export default {
},
},
},
},
infoviewtoolbar_toolbar
:
{
infoviewtoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
deuiaction1
:
{
caption
:
"删除并关闭"
,
caption
:
"删除并关闭"
,
tip
:
"删除并关闭"
,
tip
:
"删除并关闭"
,
...
...
app_CRM/src/locale/lanres/entities/quote/quote_en_US.ts
浏览文件 @
ac3a1826
...
@@ -312,14 +312,6 @@ export default {
...
@@ -312,14 +312,6 @@ export default {
},
},
},
},
infotoolbar_toolbar
:
{
infotoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
},
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
tbitem17_active
:
{
tbitem17_active
:
{
caption
:
"激活报价单"
,
caption
:
"激活报价单"
,
tip
:
"激活报价单"
,
tip
:
"激活报价单"
,
...
...
app_CRM/src/locale/lanres/entities/quote/quote_zh_CN.ts
浏览文件 @
ac3a1826
...
@@ -311,14 +311,6 @@ export default {
...
@@ -311,14 +311,6 @@ export default {
},
},
},
},
infotoolbar_toolbar
:
{
infotoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
tbitem17_active
:
{
tbitem17_active
:
{
caption
:
"激活报价单"
,
caption
:
"激活报价单"
,
tip
:
"激活报价单"
,
tip
:
"激活报价单"
,
...
...
app_CRM/src/locale/lanres/entities/sales-literature/sales-literature_en_US.ts
浏览文件 @
ac3a1826
...
@@ -144,14 +144,6 @@ export default {
...
@@ -144,14 +144,6 @@ export default {
},
},
},
},
infoviewtoolbar_toolbar
:
{
infoviewtoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
},
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
deuiaction1
:
{
caption
:
"Remove And Close"
,
caption
:
"Remove And Close"
,
tip
:
"Remove And Close Window"
,
tip
:
"Remove And Close Window"
,
...
...
app_CRM/src/locale/lanres/entities/sales-literature/sales-literature_zh_CN.ts
浏览文件 @
ac3a1826
...
@@ -143,14 +143,6 @@ export default {
...
@@ -143,14 +143,6 @@ export default {
},
},
},
},
infoviewtoolbar_toolbar
:
{
infoviewtoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
deuiaction1
:
{
caption
:
"删除并关闭"
,
caption
:
"删除并关闭"
,
tip
:
"删除并关闭"
,
tip
:
"删除并关闭"
,
...
...
app_CRM/src/locale/lanres/entities/sales-order/sales-order_en_US.ts
浏览文件 @
ac3a1826
...
@@ -251,14 +251,6 @@ export default {
...
@@ -251,14 +251,6 @@ export default {
},
},
},
},
infoviewtoolbar_toolbar
:
{
infoviewtoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
},
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
tbitem17_finish
:
{
tbitem17_finish
:
{
caption
:
"完成订单"
,
caption
:
"完成订单"
,
tip
:
"完成订单"
,
tip
:
"完成订单"
,
...
...
app_CRM/src/locale/lanres/entities/sales-order/sales-order_zh_CN.ts
浏览文件 @
ac3a1826
...
@@ -250,14 +250,6 @@ export default {
...
@@ -250,14 +250,6 @@ export default {
},
},
},
},
infoviewtoolbar_toolbar
:
{
infoviewtoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
tbitem17_finish
:
{
tbitem17_finish
:
{
caption
:
"完成订单"
,
caption
:
"完成订单"
,
tip
:
"完成订单"
,
tip
:
"完成订单"
,
...
...
app_CRM/src/pages/base/account-info/account-info-base.tsx
浏览文件 @
ac3a1826
...
@@ -92,7 +92,9 @@ export class AccountInfoBase extends TabExpViewBase {
...
@@ -92,7 +92,9 @@ export class AccountInfoBase extends TabExpViewBase {
* @memberof AccountInfo
* @memberof AccountInfo
*/
*/
public
toolBarModels
:
any
=
{
public
toolBarModels
:
any
=
{
deuiaction4
:
{
name
:
'deuiaction4'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
tbitem1_openmaineditview
:
{
name
:
'tbitem1_openmaineditview'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'OpenMainEditView'
,
target
:
'SINGLEKEY'
},
class
:
''
},
tbitem1_removeandexit
:
{
name
:
'tbitem1_removeandexit'
,
caption
:
'删除并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除并关闭'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'RemoveAndExit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
seperator4
:
{
name
:
'seperator4'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
seperator4
:
{
name
:
'seperator4'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem17_inactive
:
{
name
:
'tbitem17_inactive'
,
caption
:
'停用'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'停用'
,
iconcls
:
'fa fa-minus-circle'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Inactive'
,
target
:
'SINGLEKEY'
},
class
:
''
},
tbitem17_inactive
:
{
name
:
'tbitem17_inactive'
,
caption
:
'停用'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'停用'
,
iconcls
:
'fa fa-minus-circle'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Inactive'
,
target
:
'SINGLEKEY'
},
class
:
''
},
...
@@ -174,8 +176,11 @@ export class AccountInfoBase extends TabExpViewBase {
...
@@ -174,8 +176,11 @@ export class AccountInfoBase extends TabExpViewBase {
* @memberof AccountInfoBase
* @memberof AccountInfoBase
*/
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction4'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem1_openmaineditview'
))
{
this
.
toolbar_deuiaction4_click
(
null
,
''
,
$event2
);
this
.
toolbar_tbitem1_openmaineditview_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem1_removeandexit'
))
{
this
.
toolbar_tbitem1_removeandexit_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem17_inactive'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem17_inactive'
))
{
this
.
toolbar_tbitem17_inactive_click
(
null
,
''
,
$event2
);
this
.
toolbar_tbitem17_inactive_click
(
null
,
''
,
$event2
);
...
@@ -205,7 +210,7 @@ export class AccountInfoBase extends TabExpViewBase {
...
@@ -205,7 +210,7 @@ export class AccountInfoBase extends TabExpViewBase {
* @param {*} [$event]
* @param {*} [$event]
* @memberof
* @memberof
*/
*/
public
toolbar_
deuiaction4
_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
public
toolbar_
tbitem1_openmaineditview
_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 参数
// 取数
// 取数
let
datas
:
any
[]
=
[];
let
datas
:
any
[]
=
[];
...
@@ -221,7 +226,35 @@ export class AccountInfoBase extends TabExpViewBase {
...
@@ -221,7 +226,35 @@ export class AccountInfoBase extends TabExpViewBase {
datas
=
[
params
];
datas
=
[
params
];
}
}
// 界面行为
// 界面行为
this
.
Edit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Account"
);
const
curUIService
:
AccountUIService
=
new
AccountUIService
();
curUIService
.
Account_OpenMainEditView
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Account"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem1_removeandexit_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
RemoveAndExit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Account"
);
}
}
/**
/**
...
@@ -389,32 +422,6 @@ export class AccountInfoBase extends TabExpViewBase {
...
@@ -389,32 +422,6 @@ export class AccountInfoBase extends TabExpViewBase {
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Account"
);
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Account"
);
}
}
/**
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof AccountInfoBase
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
return
;
}
const
_this
:
any
=
this
;
if
(
_this
.
opendata
&&
_this
.
opendata
instanceof
Function
)
{
const
data
:
any
=
{
};
if
(
args
.
length
>
0
)
{
Object
.
assign
(
data
,
{
account
:
args
[
0
].
account
})
}
_this
.
opendata
([{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'opendata 视图处理逻辑不存在,请添加!'
});
}
}
/**
/**
* 删除并关闭
* 删除并关闭
*
*
...
...
app_CRM/src/pages/base/contact-info/contact-info-base.tsx
浏览文件 @
ac3a1826
...
@@ -92,9 +92,6 @@ export class ContactInfoBase extends TabExpViewBase {
...
@@ -92,9 +92,6 @@ export class ContactInfoBase extends TabExpViewBase {
* @memberof ContactInfo
* @memberof ContactInfo
*/
*/
public
toolBarModels
:
any
=
{
public
toolBarModels
:
any
=
{
deuiaction4
:
{
name
:
'deuiaction4'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
seperator4
:
{
name
:
'seperator4'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem17_inactive
:
{
name
:
'tbitem17_inactive'
,
caption
:
'停用'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'停用'
,
iconcls
:
'fa fa-minus-circle'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Inactive'
,
target
:
'SINGLEKEY'
},
class
:
''
},
tbitem17_inactive
:
{
name
:
'tbitem17_inactive'
,
caption
:
'停用'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'停用'
,
iconcls
:
'fa fa-minus-circle'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Inactive'
,
target
:
'SINGLEKEY'
},
class
:
''
},
tbitem17_active_sep
:
{
name
:
'tbitem17_active_sep'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem17_active_sep
:
{
name
:
'tbitem17_active_sep'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
...
@@ -174,9 +171,6 @@ export class ContactInfoBase extends TabExpViewBase {
...
@@ -174,9 +171,6 @@ export class ContactInfoBase extends TabExpViewBase {
* @memberof ContactInfoBase
* @memberof ContactInfoBase
*/
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction4'
))
{
this
.
toolbar_deuiaction4_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem17_inactive'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem17_inactive'
))
{
this
.
toolbar_tbitem17_inactive_click
(
null
,
''
,
$event2
);
this
.
toolbar_tbitem17_inactive_click
(
null
,
''
,
$event2
);
}
}
...
@@ -197,33 +191,6 @@ export class ContactInfoBase extends TabExpViewBase {
...
@@ -197,33 +191,6 @@ export class ContactInfoBase extends TabExpViewBase {
}
}
}
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_deuiaction4_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Edit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Contact"
);
}
/**
/**
* 逻辑事件
* 逻辑事件
*
*
...
@@ -389,32 +356,6 @@ export class ContactInfoBase extends TabExpViewBase {
...
@@ -389,32 +356,6 @@ export class ContactInfoBase extends TabExpViewBase {
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Contact"
);
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Contact"
);
}
}
/**
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof ContactInfoBase
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
return
;
}
const
_this
:
any
=
this
;
if
(
_this
.
opendata
&&
_this
.
opendata
instanceof
Function
)
{
const
data
:
any
=
{
};
if
(
args
.
length
>
0
)
{
Object
.
assign
(
data
,
{
contact
:
args
[
0
].
contact
})
}
_this
.
opendata
([{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'opendata 视图处理逻辑不存在,请添加!'
});
}
}
/**
/**
* 删除并关闭
* 删除并关闭
*
*
...
...
app_CRM/src/pages/finance/invoice-info-view/invoice-info-view-base.tsx
浏览文件 @
ac3a1826
...
@@ -90,9 +90,6 @@ export class InvoiceInfoViewBase extends TabExpViewBase {
...
@@ -90,9 +90,6 @@ export class InvoiceInfoViewBase extends TabExpViewBase {
* @memberof InvoiceInfoView
* @memberof InvoiceInfoView
*/
*/
public
toolBarModels
:
any
=
{
public
toolBarModels
:
any
=
{
deuiaction4
:
{
name
:
'deuiaction4'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
seperator4
:
{
name
:
'seperator4'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem17_finish
:
{
name
:
'tbitem17_finish'
,
caption
:
'确认发票'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'确认发票'
,
iconcls
:
'fa fa-check'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Finish'
,
target
:
'SINGLEKEY'
},
class
:
''
},
tbitem17_finish
:
{
name
:
'tbitem17_finish'
,
caption
:
'确认发票'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'确认发票'
,
iconcls
:
'fa fa-check'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Finish'
,
target
:
'SINGLEKEY'
},
class
:
''
},
tbitem17_cancel_sep
:
{
name
:
'tbitem17_cancel_sep'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem17_cancel_sep
:
{
name
:
'tbitem17_cancel_sep'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
...
@@ -156,9 +153,6 @@ export class InvoiceInfoViewBase extends TabExpViewBase {
...
@@ -156,9 +153,6 @@ export class InvoiceInfoViewBase extends TabExpViewBase {
* @memberof InvoiceInfoViewBase
* @memberof InvoiceInfoViewBase
*/
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction4'
))
{
this
.
toolbar_deuiaction4_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem17_finish'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem17_finish'
))
{
this
.
toolbar_tbitem17_finish_click
(
null
,
''
,
$event2
);
this
.
toolbar_tbitem17_finish_click
(
null
,
''
,
$event2
);
}
}
...
@@ -179,33 +173,6 @@ export class InvoiceInfoViewBase extends TabExpViewBase {
...
@@ -179,33 +173,6 @@ export class InvoiceInfoViewBase extends TabExpViewBase {
}
}
}
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_deuiaction4_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Edit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Invoice"
);
}
/**
/**
* 逻辑事件
* 逻辑事件
*
*
...
@@ -371,32 +338,6 @@ export class InvoiceInfoViewBase extends TabExpViewBase {
...
@@ -371,32 +338,6 @@ export class InvoiceInfoViewBase extends TabExpViewBase {
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Invoice"
);
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Invoice"
);
}
}
/**
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof InvoiceInfoViewBase
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
return
;
}
const
_this
:
any
=
this
;
if
(
_this
.
opendata
&&
_this
.
opendata
instanceof
Function
)
{
const
data
:
any
=
{
};
if
(
args
.
length
>
0
)
{
Object
.
assign
(
data
,
{
invoice
:
args
[
0
].
invoice
})
}
_this
.
opendata
([{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'opendata 视图处理逻辑不存在,请添加!'
});
}
}
/**
/**
* 删除并关闭
* 删除并关闭
*
*
...
...
app_CRM/src/pages/marketing/campaign-info/campaign-info-base.tsx
浏览文件 @
ac3a1826
...
@@ -89,9 +89,6 @@ export class CampaignInfoBase extends TabExpViewBase {
...
@@ -89,9 +89,6 @@ export class CampaignInfoBase extends TabExpViewBase {
* @memberof CampaignInfo
* @memberof CampaignInfo
*/
*/
public
toolBarModels
:
any
=
{
public
toolBarModels
:
any
=
{
deuiaction4
:
{
name
:
'deuiaction4'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
seperator4
:
{
name
:
'seperator4'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
deuiaction1
:
{
name
:
'deuiaction1'
,
caption
:
'删除并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除并关闭'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'RemoveAndExit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
deuiaction1
:
{
name
:
'deuiaction1'
,
caption
:
'删除并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除并关闭'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'RemoveAndExit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
seperator2
:
{
name
:
'seperator2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
seperator2
:
{
name
:
'seperator2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
...
@@ -146,9 +143,6 @@ export class CampaignInfoBase extends TabExpViewBase {
...
@@ -146,9 +143,6 @@ export class CampaignInfoBase extends TabExpViewBase {
* @memberof CampaignInfoBase
* @memberof CampaignInfoBase
*/
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction4'
))
{
this
.
toolbar_deuiaction4_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
this
.
toolbar_deuiaction1_click
(
null
,
''
,
$event2
);
this
.
toolbar_deuiaction1_click
(
null
,
''
,
$event2
);
}
}
...
@@ -160,33 +154,6 @@ export class CampaignInfoBase extends TabExpViewBase {
...
@@ -160,33 +154,6 @@ export class CampaignInfoBase extends TabExpViewBase {
}
}
}
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_deuiaction4_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Edit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Campaign"
);
}
/**
/**
* 逻辑事件
* 逻辑事件
*
*
...
@@ -268,32 +235,6 @@ export class CampaignInfoBase extends TabExpViewBase {
...
@@ -268,32 +235,6 @@ export class CampaignInfoBase extends TabExpViewBase {
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Campaign"
);
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Campaign"
);
}
}
/**
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof CampaignInfoBase
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
return
;
}
const
_this
:
any
=
this
;
if
(
_this
.
opendata
&&
_this
.
opendata
instanceof
Function
)
{
const
data
:
any
=
{
};
if
(
args
.
length
>
0
)
{
Object
.
assign
(
data
,
{
campaign
:
args
[
0
].
campaign
})
}
_this
.
opendata
([{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'opendata 视图处理逻辑不存在,请添加!'
});
}
}
/**
/**
* 删除并关闭
* 删除并关闭
*
*
...
...
app_CRM/src/pages/marketing/campaign-list-edit-view/campaign-list-edit-view-base.tsx
浏览文件 @
ac3a1826
...
@@ -89,9 +89,6 @@ export class CampaignListEditViewBase extends EditViewBase {
...
@@ -89,9 +89,6 @@ export class CampaignListEditViewBase extends EditViewBase {
* @memberof CampaignListEditView
* @memberof CampaignListEditView
*/
*/
public
toolBarModels
:
any
=
{
public
toolBarModels
:
any
=
{
deuiaction4
:
{
name
:
'deuiaction4'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
seperator4
:
{
name
:
'seperator4'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
deuiaction1
:
{
name
:
'deuiaction1'
,
caption
:
'删除并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除并关闭'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'RemoveAndExit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
deuiaction1
:
{
name
:
'deuiaction1'
,
caption
:
'删除并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除并关闭'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'RemoveAndExit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
seperator2
:
{
name
:
'seperator2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
seperator2
:
{
name
:
'seperator2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
...
@@ -148,9 +145,6 @@ export class CampaignListEditViewBase extends EditViewBase {
...
@@ -148,9 +145,6 @@ export class CampaignListEditViewBase extends EditViewBase {
* @memberof CampaignListEditViewBase
* @memberof CampaignListEditViewBase
*/
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction4'
))
{
this
.
toolbar_deuiaction4_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
this
.
toolbar_deuiaction1_click
(
null
,
''
,
$event2
);
this
.
toolbar_deuiaction1_click
(
null
,
''
,
$event2
);
}
}
...
@@ -195,34 +189,6 @@ export class CampaignListEditViewBase extends EditViewBase {
...
@@ -195,34 +189,6 @@ export class CampaignListEditViewBase extends EditViewBase {
this
.
engine
.
onCtrlEvent
(
'form'
,
'load'
,
$event
);
this
.
engine
.
onCtrlEvent
(
'form'
,
'load'
,
$event
);
}
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_deuiaction4_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
form
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Edit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"CampaignList"
);
}
/**
/**
* 逻辑事件
* 逻辑事件
*
*
...
@@ -307,32 +273,6 @@ export class CampaignListEditViewBase extends EditViewBase {
...
@@ -307,32 +273,6 @@ export class CampaignListEditViewBase extends EditViewBase {
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"CampaignList"
);
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"CampaignList"
);
}
}
/**
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof CampaignListEditViewBase
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
return
;
}
const
_this
:
any
=
this
;
if
(
_this
.
opendata
&&
_this
.
opendata
instanceof
Function
)
{
const
data
:
any
=
{
};
if
(
args
.
length
>
0
)
{
Object
.
assign
(
data
,
{
campaignlist
:
args
[
0
].
campaignlist
})
}
_this
.
opendata
([{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'opendata 视图处理逻辑不存在,请添加!'
});
}
}
/**
/**
* 删除并关闭
* 删除并关闭
*
*
...
...
app_CRM/src/pages/marketing/campaign-summary-head/campaign-summary-head-base.tsx
浏览文件 @
ac3a1826
...
@@ -89,9 +89,6 @@ export class CampaignSummary_HeadBase extends DashboardViewBase {
...
@@ -89,9 +89,6 @@ export class CampaignSummary_HeadBase extends DashboardViewBase {
* @memberof CampaignSummary_Head
* @memberof CampaignSummary_Head
*/
*/
public
toolBarModels
:
any
=
{
public
toolBarModels
:
any
=
{
deuiaction4
:
{
name
:
'deuiaction4'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
seperator4
:
{
name
:
'seperator4'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
deuiaction1
:
{
name
:
'deuiaction1'
,
caption
:
'删除并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除并关闭'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'RemoveAndExit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
deuiaction1
:
{
name
:
'deuiaction1'
,
caption
:
'删除并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除并关闭'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'RemoveAndExit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
seperator2
:
{
name
:
'seperator2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
seperator2
:
{
name
:
'seperator2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
...
@@ -147,9 +144,6 @@ export class CampaignSummary_HeadBase extends DashboardViewBase {
...
@@ -147,9 +144,6 @@ export class CampaignSummary_HeadBase extends DashboardViewBase {
* @memberof CampaignSummary_HeadBase
* @memberof CampaignSummary_HeadBase
*/
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction4'
))
{
this
.
toolbar_deuiaction4_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
this
.
toolbar_deuiaction1_click
(
null
,
''
,
$event2
);
this
.
toolbar_deuiaction1_click
(
null
,
''
,
$event2
);
}
}
...
@@ -172,33 +166,6 @@ export class CampaignSummary_HeadBase extends DashboardViewBase {
...
@@ -172,33 +166,6 @@ export class CampaignSummary_HeadBase extends DashboardViewBase {
this
.
engine
.
onCtrlEvent
(
'dashboard'
,
'load'
,
$event
);
this
.
engine
.
onCtrlEvent
(
'dashboard'
,
'load'
,
$event
);
}
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_deuiaction4_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Edit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Campaign"
);
}
/**
/**
* 逻辑事件
* 逻辑事件
*
*
...
@@ -280,32 +247,6 @@ export class CampaignSummary_HeadBase extends DashboardViewBase {
...
@@ -280,32 +247,6 @@ export class CampaignSummary_HeadBase extends DashboardViewBase {
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Campaign"
);
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Campaign"
);
}
}
/**
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof CampaignSummary_HeadBase
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
return
;
}
const
_this
:
any
=
this
;
if
(
_this
.
opendata
&&
_this
.
opendata
instanceof
Function
)
{
const
data
:
any
=
{
};
if
(
args
.
length
>
0
)
{
Object
.
assign
(
data
,
{
campaign
:
args
[
0
].
campaign
})
}
_this
.
opendata
([{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'opendata 视图处理逻辑不存在,请添加!'
});
}
}
/**
/**
* 删除并关闭
* 删除并关闭
*
*
...
...
app_CRM/src/pages/marketing/list-account-edit-view/list-account-edit-view-base.tsx
浏览文件 @
ac3a1826
...
@@ -89,9 +89,6 @@ export class ListAccountEditViewBase extends EditViewBase {
...
@@ -89,9 +89,6 @@ export class ListAccountEditViewBase extends EditViewBase {
* @memberof ListAccountEditView
* @memberof ListAccountEditView
*/
*/
public
toolBarModels
:
any
=
{
public
toolBarModels
:
any
=
{
deuiaction4
:
{
name
:
'deuiaction4'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
seperator4
:
{
name
:
'seperator4'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
deuiaction1
:
{
name
:
'deuiaction1'
,
caption
:
'删除并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除并关闭'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'RemoveAndExit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
deuiaction1
:
{
name
:
'deuiaction1'
,
caption
:
'删除并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除并关闭'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'RemoveAndExit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
seperator2
:
{
name
:
'seperator2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
seperator2
:
{
name
:
'seperator2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
...
@@ -148,9 +145,6 @@ export class ListAccountEditViewBase extends EditViewBase {
...
@@ -148,9 +145,6 @@ export class ListAccountEditViewBase extends EditViewBase {
* @memberof ListAccountEditViewBase
* @memberof ListAccountEditViewBase
*/
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction4'
))
{
this
.
toolbar_deuiaction4_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
this
.
toolbar_deuiaction1_click
(
null
,
''
,
$event2
);
this
.
toolbar_deuiaction1_click
(
null
,
''
,
$event2
);
}
}
...
@@ -195,34 +189,6 @@ export class ListAccountEditViewBase extends EditViewBase {
...
@@ -195,34 +189,6 @@ export class ListAccountEditViewBase extends EditViewBase {
this
.
engine
.
onCtrlEvent
(
'form'
,
'load'
,
$event
);
this
.
engine
.
onCtrlEvent
(
'form'
,
'load'
,
$event
);
}
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_deuiaction4_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
form
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Edit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"ListAccount"
);
}
/**
/**
* 逻辑事件
* 逻辑事件
*
*
...
@@ -307,32 +273,6 @@ export class ListAccountEditViewBase extends EditViewBase {
...
@@ -307,32 +273,6 @@ export class ListAccountEditViewBase extends EditViewBase {
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"ListAccount"
);
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"ListAccount"
);
}
}
/**
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof ListAccountEditViewBase
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
return
;
}
const
_this
:
any
=
this
;
if
(
_this
.
opendata
&&
_this
.
opendata
instanceof
Function
)
{
const
data
:
any
=
{
};
if
(
args
.
length
>
0
)
{
Object
.
assign
(
data
,
{
listaccount
:
args
[
0
].
listaccount
})
}
_this
.
opendata
([{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'opendata 视图处理逻辑不存在,请添加!'
});
}
}
/**
/**
* 删除并关闭
* 删除并关闭
*
*
...
...
app_CRM/src/pages/marketing/list-contact-edit-view/list-contact-edit-view-base.tsx
浏览文件 @
ac3a1826
...
@@ -89,9 +89,6 @@ export class ListContactEditViewBase extends EditViewBase {
...
@@ -89,9 +89,6 @@ export class ListContactEditViewBase extends EditViewBase {
* @memberof ListContactEditView
* @memberof ListContactEditView
*/
*/
public
toolBarModels
:
any
=
{
public
toolBarModels
:
any
=
{
deuiaction4
:
{
name
:
'deuiaction4'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
seperator4
:
{
name
:
'seperator4'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
deuiaction1
:
{
name
:
'deuiaction1'
,
caption
:
'删除并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除并关闭'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'RemoveAndExit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
deuiaction1
:
{
name
:
'deuiaction1'
,
caption
:
'删除并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除并关闭'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'RemoveAndExit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
seperator2
:
{
name
:
'seperator2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
seperator2
:
{
name
:
'seperator2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
...
@@ -148,9 +145,6 @@ export class ListContactEditViewBase extends EditViewBase {
...
@@ -148,9 +145,6 @@ export class ListContactEditViewBase extends EditViewBase {
* @memberof ListContactEditViewBase
* @memberof ListContactEditViewBase
*/
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction4'
))
{
this
.
toolbar_deuiaction4_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
this
.
toolbar_deuiaction1_click
(
null
,
''
,
$event2
);
this
.
toolbar_deuiaction1_click
(
null
,
''
,
$event2
);
}
}
...
@@ -195,34 +189,6 @@ export class ListContactEditViewBase extends EditViewBase {
...
@@ -195,34 +189,6 @@ export class ListContactEditViewBase extends EditViewBase {
this
.
engine
.
onCtrlEvent
(
'form'
,
'load'
,
$event
);
this
.
engine
.
onCtrlEvent
(
'form'
,
'load'
,
$event
);
}
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_deuiaction4_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
form
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Edit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"ListContact"
);
}
/**
/**
* 逻辑事件
* 逻辑事件
*
*
...
@@ -307,32 +273,6 @@ export class ListContactEditViewBase extends EditViewBase {
...
@@ -307,32 +273,6 @@ export class ListContactEditViewBase extends EditViewBase {
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"ListContact"
);
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"ListContact"
);
}
}
/**
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof ListContactEditViewBase
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
return
;
}
const
_this
:
any
=
this
;
if
(
_this
.
opendata
&&
_this
.
opendata
instanceof
Function
)
{
const
data
:
any
=
{
};
if
(
args
.
length
>
0
)
{
Object
.
assign
(
data
,
{
listcontact
:
args
[
0
].
listcontact
})
}
_this
.
opendata
([{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'opendata 视图处理逻辑不存在,请添加!'
});
}
}
/**
/**
* 删除并关闭
* 删除并关闭
*
*
...
...
app_CRM/src/pages/product/product-info-view/product-info-view-base.tsx
浏览文件 @
ac3a1826
...
@@ -89,9 +89,6 @@ export class ProductInfoViewBase extends TabExpViewBase {
...
@@ -89,9 +89,6 @@ export class ProductInfoViewBase extends TabExpViewBase {
* @memberof ProductInfoView
* @memberof ProductInfoView
*/
*/
public
toolBarModels
:
any
=
{
public
toolBarModels
:
any
=
{
deuiaction4
:
{
name
:
'deuiaction4'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
seperator4
:
{
name
:
'seperator4'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
deuiaction1
:
{
name
:
'deuiaction1'
,
caption
:
'删除并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除并关闭'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'RemoveAndExit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
deuiaction1
:
{
name
:
'deuiaction1'
,
caption
:
'删除并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除并关闭'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'RemoveAndExit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
seperator2
:
{
name
:
'seperator2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
seperator2
:
{
name
:
'seperator2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
...
@@ -146,9 +143,6 @@ export class ProductInfoViewBase extends TabExpViewBase {
...
@@ -146,9 +143,6 @@ export class ProductInfoViewBase extends TabExpViewBase {
* @memberof ProductInfoViewBase
* @memberof ProductInfoViewBase
*/
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction4'
))
{
this
.
toolbar_deuiaction4_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
this
.
toolbar_deuiaction1_click
(
null
,
''
,
$event2
);
this
.
toolbar_deuiaction1_click
(
null
,
''
,
$event2
);
}
}
...
@@ -160,33 +154,6 @@ export class ProductInfoViewBase extends TabExpViewBase {
...
@@ -160,33 +154,6 @@ export class ProductInfoViewBase extends TabExpViewBase {
}
}
}
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_deuiaction4_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Edit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Product"
);
}
/**
/**
* 逻辑事件
* 逻辑事件
*
*
...
@@ -268,32 +235,6 @@ export class ProductInfoViewBase extends TabExpViewBase {
...
@@ -268,32 +235,6 @@ export class ProductInfoViewBase extends TabExpViewBase {
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Product"
);
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Product"
);
}
}
/**
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof ProductInfoViewBase
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
return
;
}
const
_this
:
any
=
this
;
if
(
_this
.
opendata
&&
_this
.
opendata
instanceof
Function
)
{
const
data
:
any
=
{
};
if
(
args
.
length
>
0
)
{
Object
.
assign
(
data
,
{
product
:
args
[
0
].
product
})
}
_this
.
opendata
([{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'opendata 视图处理逻辑不存在,请添加!'
});
}
}
/**
/**
* 删除并关闭
* 删除并关闭
*
*
...
...
app_CRM/src/pages/sales/competitor-info/competitor-info-base.tsx
浏览文件 @
ac3a1826
...
@@ -91,9 +91,6 @@ export class CompetitorInfoBase extends TabExpViewBase {
...
@@ -91,9 +91,6 @@ export class CompetitorInfoBase extends TabExpViewBase {
* @memberof CompetitorInfo
* @memberof CompetitorInfo
*/
*/
public
toolBarModels
:
any
=
{
public
toolBarModels
:
any
=
{
deuiaction4
:
{
name
:
'deuiaction4'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
seperator4
:
{
name
:
'seperator4'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
deuiaction1
:
{
name
:
'deuiaction1'
,
caption
:
'删除并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除并关闭'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'RemoveAndExit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
deuiaction1
:
{
name
:
'deuiaction1'
,
caption
:
'删除并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除并关闭'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'RemoveAndExit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
seperator2
:
{
name
:
'seperator2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
seperator2
:
{
name
:
'seperator2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
...
@@ -164,9 +161,6 @@ export class CompetitorInfoBase extends TabExpViewBase {
...
@@ -164,9 +161,6 @@ export class CompetitorInfoBase extends TabExpViewBase {
* @memberof CompetitorInfoBase
* @memberof CompetitorInfoBase
*/
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction4'
))
{
this
.
toolbar_deuiaction4_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
this
.
toolbar_deuiaction1_click
(
null
,
''
,
$event2
);
this
.
toolbar_deuiaction1_click
(
null
,
''
,
$event2
);
}
}
...
@@ -178,33 +172,6 @@ export class CompetitorInfoBase extends TabExpViewBase {
...
@@ -178,33 +172,6 @@ export class CompetitorInfoBase extends TabExpViewBase {
}
}
}
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_deuiaction4_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Edit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Competitor"
);
}
/**
/**
* 逻辑事件
* 逻辑事件
*
*
...
@@ -286,32 +253,6 @@ export class CompetitorInfoBase extends TabExpViewBase {
...
@@ -286,32 +253,6 @@ export class CompetitorInfoBase extends TabExpViewBase {
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Competitor"
);
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Competitor"
);
}
}
/**
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof CompetitorInfoBase
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
return
;
}
const
_this
:
any
=
this
;
if
(
_this
.
opendata
&&
_this
.
opendata
instanceof
Function
)
{
const
data
:
any
=
{
};
if
(
args
.
length
>
0
)
{
Object
.
assign
(
data
,
{
competitor
:
args
[
0
].
competitor
})
}
_this
.
opendata
([{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'opendata 视图处理逻辑不存在,请添加!'
});
}
}
/**
/**
* 删除并关闭
* 删除并关闭
*
*
...
...
app_CRM/src/pages/sales/lead-competitor-edit-view/lead-competitor-edit-view-base.tsx
浏览文件 @
ac3a1826
...
@@ -89,9 +89,6 @@ export class LeadCompetitorEditViewBase extends EditViewBase {
...
@@ -89,9 +89,6 @@ export class LeadCompetitorEditViewBase extends EditViewBase {
* @memberof LeadCompetitorEditView
* @memberof LeadCompetitorEditView
*/
*/
public
toolBarModels
:
any
=
{
public
toolBarModels
:
any
=
{
deuiaction4
:
{
name
:
'deuiaction4'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
seperator4
:
{
name
:
'seperator4'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
deuiaction1
:
{
name
:
'deuiaction1'
,
caption
:
'删除并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除并关闭'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'RemoveAndExit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
deuiaction1
:
{
name
:
'deuiaction1'
,
caption
:
'删除并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除并关闭'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'RemoveAndExit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
seperator2
:
{
name
:
'seperator2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
seperator2
:
{
name
:
'seperator2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
...
@@ -148,9 +145,6 @@ export class LeadCompetitorEditViewBase extends EditViewBase {
...
@@ -148,9 +145,6 @@ export class LeadCompetitorEditViewBase extends EditViewBase {
* @memberof LeadCompetitorEditViewBase
* @memberof LeadCompetitorEditViewBase
*/
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction4'
))
{
this
.
toolbar_deuiaction4_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
this
.
toolbar_deuiaction1_click
(
null
,
''
,
$event2
);
this
.
toolbar_deuiaction1_click
(
null
,
''
,
$event2
);
}
}
...
@@ -195,34 +189,6 @@ export class LeadCompetitorEditViewBase extends EditViewBase {
...
@@ -195,34 +189,6 @@ export class LeadCompetitorEditViewBase extends EditViewBase {
this
.
engine
.
onCtrlEvent
(
'form'
,
'load'
,
$event
);
this
.
engine
.
onCtrlEvent
(
'form'
,
'load'
,
$event
);
}
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_deuiaction4_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
form
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Edit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"LeadCompetitor"
);
}
/**
/**
* 逻辑事件
* 逻辑事件
*
*
...
@@ -307,32 +273,6 @@ export class LeadCompetitorEditViewBase extends EditViewBase {
...
@@ -307,32 +273,6 @@ export class LeadCompetitorEditViewBase extends EditViewBase {
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"LeadCompetitor"
);
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"LeadCompetitor"
);
}
}
/**
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof LeadCompetitorEditViewBase
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
return
;
}
const
_this
:
any
=
this
;
if
(
_this
.
opendata
&&
_this
.
opendata
instanceof
Function
)
{
const
data
:
any
=
{
};
if
(
args
.
length
>
0
)
{
Object
.
assign
(
data
,
{
leadcompetitor
:
args
[
0
].
leadcompetitor
})
}
_this
.
opendata
([{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'opendata 视图处理逻辑不存在,请添加!'
});
}
}
/**
/**
* 删除并关闭
* 删除并关闭
*
*
...
...
app_CRM/src/pages/sales/lead-info/lead-info-base.tsx
浏览文件 @
ac3a1826
...
@@ -103,9 +103,6 @@ export class LeadInfoBase extends TabExpViewBase {
...
@@ -103,9 +103,6 @@ export class LeadInfoBase extends TabExpViewBase {
* @memberof LeadInfo
* @memberof LeadInfo
*/
*/
public
toolBarModels
:
any
=
{
public
toolBarModels
:
any
=
{
deuiaction4
:
{
name
:
'deuiaction4'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
seperator4
:
{
name
:
'seperator4'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem17_qualification
:
{
name
:
'tbitem17_qualification'
,
caption
:
'授予资格'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'授予资格'
,
iconcls
:
'fa fa-check'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Qualification'
,
target
:
'SINGLEKEY'
},
class
:
''
},
tbitem17_qualification
:
{
name
:
'tbitem17_qualification'
,
caption
:
'授予资格'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'授予资格'
,
iconcls
:
'fa fa-check'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Qualification'
,
target
:
'SINGLEKEY'
},
class
:
''
},
tbitem17_disqualification_sep
:
{
name
:
'tbitem17_disqualification_sep'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem17_disqualification_sep
:
{
name
:
'tbitem17_disqualification_sep'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
...
@@ -188,9 +185,6 @@ export class LeadInfoBase extends TabExpViewBase {
...
@@ -188,9 +185,6 @@ export class LeadInfoBase extends TabExpViewBase {
* @memberof LeadInfoBase
* @memberof LeadInfoBase
*/
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction4'
))
{
this
.
toolbar_deuiaction4_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem17_qualification'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem17_qualification'
))
{
this
.
toolbar_tbitem17_qualification_click
(
null
,
''
,
$event2
);
this
.
toolbar_tbitem17_qualification_click
(
null
,
''
,
$event2
);
}
}
...
@@ -214,33 +208,6 @@ export class LeadInfoBase extends TabExpViewBase {
...
@@ -214,33 +208,6 @@ export class LeadInfoBase extends TabExpViewBase {
}
}
}
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_deuiaction4_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Edit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Lead"
);
}
/**
/**
* 逻辑事件
* 逻辑事件
*
*
...
@@ -434,32 +401,6 @@ export class LeadInfoBase extends TabExpViewBase {
...
@@ -434,32 +401,6 @@ export class LeadInfoBase extends TabExpViewBase {
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Lead"
);
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Lead"
);
}
}
/**
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof LeadInfoBase
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
return
;
}
const
_this
:
any
=
this
;
if
(
_this
.
opendata
&&
_this
.
opendata
instanceof
Function
)
{
const
data
:
any
=
{
};
if
(
args
.
length
>
0
)
{
Object
.
assign
(
data
,
{
lead
:
args
[
0
].
lead
})
}
_this
.
opendata
([{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'opendata 视图处理逻辑不存在,请添加!'
});
}
}
/**
/**
* 删除并关闭
* 删除并关闭
*
*
...
...
app_CRM/src/pages/sales/opportunity-competitor-comp-opp-grid-view/opportunity-competitor-comp-opp-grid-view-base.tsx
0 → 100644
浏览文件 @
ac3a1826
此差异已折叠。
点击以展开。
app_CRM/src/pages/sales/opportunity-competitor-comp-opp-grid-view/opportunity-competitor-comp-opp-grid-view.html
0 → 100644
浏览文件 @
ac3a1826
<studio-view-style2
viewName=
"opportunitycompetitorcompoppgridview"
viewTitle=
"竞争对手商机信息"
class=
'degridview opportunity-competitor-comp-opp-grid-view'
>
<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
app_CRM/src/pages/sales/opportunity-competitor-comp-opp-grid-view/opportunity-competitor-comp-opp-grid-view.vue
0 → 100644
浏览文件 @
ac3a1826
<
template
src=
"./opportunity-competitor-comp-opp-grid-view.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { OpportunityCompetitorCompOppGridViewBase } from './opportunity-competitor-comp-opp-grid-view-base';
import view_grid from '@widgets/opportunity-competitor/main-grid/main-grid.vue';
import view_searchform from '@widgets/opportunity-competitor/default-searchform/default-searchform.vue';
/**
* 竞争对手商机信息视图
*
* @export
* @class OpportunityCompetitorCompOppGridView
* @extends {OpportunityCompetitorCompOppGridViewBase}
*/
@Component({
components: {
view_grid,
view_searchform,
}
})
@VueLifeCycleProcessing()
export default class OpportunityCompetitorCompOppGridView extends OpportunityCompetitorCompOppGridViewBase { }
</script>
app_CRM/src/pages/sales/opportunity-competitor-edit-comp-opp-view/opportunity-competitor-edit-comp-opp-view-base.tsx
0 → 100644
浏览文件 @
ac3a1826
import
{
Subject
}
from
'rxjs'
;
import
{
EditViewBase
}
from
'@/studio-core'
;
import
OpportunityCompetitorService
from
'@/service/opportunity-competitor/opportunity-competitor-service'
;
import
EditViewEngine
from
'@engine/view/edit-view-engine'
;
/**
* 竞争对手商机信息视图基类
*
* @export
* @class OpportunityCompetitorEdit_CompOppViewBase
* @extends {EditViewBase}
*/
export
class
OpportunityCompetitorEdit_CompOppViewBase
extends
EditViewBase
{
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof OpportunityCompetitorEdit_CompOppViewBase
*/
protected
appDeName
:
string
=
'opportunitycompetitor'
;
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof OpportunityCompetitorEdit_CompOppViewBase
*/
protected
appDeKey
:
string
=
'relationshipsid'
;
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof OpportunityCompetitorEdit_CompOppViewBase
*/
protected
appDeMajor
:
string
=
'relationshipsname'
;
/**
* 实体服务对象
*
* @type {OpportunityCompetitorService}
* @memberof OpportunityCompetitorEdit_CompOppViewBase
*/
protected
appEntityService
:
OpportunityCompetitorService
=
new
OpportunityCompetitorService
;
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof OpportunityCompetitorEdit_CompOppViewBase
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof OpportunityCompetitorEdit_CompOppViewBase
*/
protected
model
:
any
=
{
srfCaption
:
'entities.opportunitycompetitor.views.edit_compoppview.caption'
,
srfTitle
:
'entities.opportunitycompetitor.views.edit_compoppview.title'
,
srfSubTitle
:
'entities.opportunitycompetitor.views.edit_compoppview.subtitle'
,
dataInfo
:
''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof OpportunityCompetitorEdit_CompOppViewBase
*/
protected
containerModel
:
any
=
{
view_toolbar
:
{
name
:
'toolbar'
,
type
:
'TOOLBAR'
},
view_form
:
{
name
:
'form'
,
type
:
'FORM'
},
};
/**
* 工具栏模型
*
* @type {*}
* @memberof OpportunityCompetitorEdit_CompOppView
*/
public
toolBarModels
:
any
=
{
tbitem1
:
{
name
:
'tbitem1'
,
caption
:
'保存并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'保存并关闭'
,
iconcls
:
'fa fa-power-off'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'SaveAndExit'
,
target
:
''
},
class
:
''
},
tbitem2
:
{
name
:
'tbitem2'
,
caption
:
'关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'关闭'
,
iconcls
:
'fa fa-sign-out'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Exit'
,
target
:
''
},
class
:
''
},
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected
viewtag
:
string
=
'b697e75d9c2af9b203503e4c58c4ec51'
;
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof OpportunityCompetitorEdit_CompOppViewBase
*/
public
engine
:
EditViewEngine
=
new
EditViewEngine
();
/**
* 引擎初始化
*
* @public
* @memberof OpportunityCompetitorEdit_CompOppViewBase
*/
public
engineInit
():
void
{
this
.
engine
.
init
({
view
:
this
,
form
:
this
.
$refs
.
form
,
p2k
:
'0'
,
keyPSDEField
:
'opportunitycompetitor'
,
majorPSDEField
:
'relationshipsname'
,
isLoadDefault
:
true
,
});
}
/**
* toolbar 部件 click 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof OpportunityCompetitorEdit_CompOppViewBase
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem1'
))
{
this
.
toolbar_tbitem1_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem2'
))
{
this
.
toolbar_tbitem2_click
(
null
,
''
,
$event2
);
}
}
/**
* form 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof OpportunityCompetitorEdit_CompOppViewBase
*/
public
form_save
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'save'
,
$event
);
}
/**
* form 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof OpportunityCompetitorEdit_CompOppViewBase
*/
public
form_remove
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'remove'
,
$event
);
}
/**
* form 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof OpportunityCompetitorEdit_CompOppViewBase
*/
public
form_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'load'
,
$event
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem1_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
form
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
SaveAndExit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"OpportunityCompetitor"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem2_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
form
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"OpportunityCompetitor"
);
}
/**
* 保存并关闭
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof OpportunityCompetitorEdit_CompOppViewBase
*/
public
SaveAndExit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
xData
&&
xData
.
saveAndExit
instanceof
Function
)
{
xData
.
saveAndExit
().
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
if
(
window
.
parent
){
window
.
parent
.
postMessage
([{
...
response
.
data
}],
'*'
);
}
});
}
else
if
(
_this
.
saveAndExit
&&
_this
.
saveAndExit
instanceof
Function
)
{
_this
.
saveAndExit
().
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
if
(
window
.
parent
){
window
.
parent
.
postMessage
([{
...
response
.
data
}],
'*'
);
}
});
}
}
/**
* 关闭
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof OpportunityCompetitorEdit_CompOppViewBase
*/
public
Exit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
this
.
closeView
(
args
);
if
(
window
.
parent
){
window
.
parent
.
postMessage
([{
...
args
}],
'*'
);
}
}
}
\ No newline at end of file
app_CRM/src/pages/sales/opportunity-competitor-edit-comp-opp-view/opportunity-competitor-edit-comp-opp-view.html
0 → 100644
浏览文件 @
ac3a1826
<studio-view-style2
viewName=
"opportunitycompetitoredit_compoppview"
viewTitle=
"竞争对手商机信息"
class=
'deeditview opportunity-competitor-edit-comp-opp-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
app_CRM/src/pages/sales/opportunity-competitor-edit-comp-opp-view/opportunity-competitor-edit-comp-opp-view.vue
0 → 100644
浏览文件 @
ac3a1826
<
template
src=
"./opportunity-competitor-edit-comp-opp-view.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { OpportunityCompetitorEdit_CompOppViewBase } from './opportunity-competitor-edit-comp-opp-view-base';
import view_form from '@widgets/opportunity-competitor/edit-comp-opp-form/edit-comp-opp-form.vue';
/**
* 竞争对手商机信息视图
*
* @export
* @class OpportunityCompetitorEdit_CompOppView
* @extends {OpportunityCompetitorEdit_CompOppViewBase}
*/
@Component({
components: {
view_form,
}
})
@VueLifeCycleProcessing()
export default class OpportunityCompetitorEdit_CompOppView extends OpportunityCompetitorEdit_CompOppViewBase { }
</script>
app_CRM/src/pages/sales/opportunity-info/opportunity-info-base.tsx
浏览文件 @
ac3a1826
...
@@ -94,9 +94,6 @@ export class OpportunityInfoBase extends TabExpViewBase {
...
@@ -94,9 +94,6 @@ export class OpportunityInfoBase extends TabExpViewBase {
public
toolBarModels
:
any
=
{
public
toolBarModels
:
any
=
{
tbitem1_openmaineditview
:
{
name
:
'tbitem1_openmaineditview'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'OpenMainEditView'
,
target
:
'SINGLEKEY'
},
class
:
''
},
tbitem1_openmaineditview
:
{
name
:
'tbitem1_openmaineditview'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'OpenMainEditView'
,
target
:
'SINGLEKEY'
},
class
:
''
},
seperator3
:
{
name
:
'seperator3'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
deuiaction4
:
{
name
:
'deuiaction4'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
seperator4
:
{
name
:
'seperator4'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
seperator4
:
{
name
:
'seperator4'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem17_win
:
{
name
:
'tbitem17_win'
,
caption
:
'作为赢单结束'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'作为赢单结束'
,
iconcls
:
'fa fa-coffee'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Win'
,
target
:
'SINGLEKEY'
},
class
:
''
},
tbitem17_win
:
{
name
:
'tbitem17_win'
,
caption
:
'作为赢单结束'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'作为赢单结束'
,
iconcls
:
'fa fa-coffee'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Win'
,
target
:
'SINGLEKEY'
},
class
:
''
},
...
@@ -180,9 +177,6 @@ export class OpportunityInfoBase extends TabExpViewBase {
...
@@ -180,9 +177,6 @@ export class OpportunityInfoBase extends TabExpViewBase {
if
(
Object
.
is
(
$event
.
tag
,
'tbitem1_openmaineditview'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem1_openmaineditview'
))
{
this
.
toolbar_tbitem1_openmaineditview_click
(
null
,
''
,
$event2
);
this
.
toolbar_tbitem1_openmaineditview_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction4'
))
{
this
.
toolbar_deuiaction4_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem17_win'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem17_win'
))
{
this
.
toolbar_tbitem17_win_click
(
null
,
''
,
$event2
);
this
.
toolbar_tbitem17_win_click
(
null
,
''
,
$event2
);
}
}
...
@@ -231,33 +225,6 @@ export class OpportunityInfoBase extends TabExpViewBase {
...
@@ -231,33 +225,6 @@ export class OpportunityInfoBase extends TabExpViewBase {
curUIService
.
Opportunity_OpenMainEditView
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Opportunity"
);
curUIService
.
Opportunity_OpenMainEditView
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Opportunity"
);
}
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_deuiaction4_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Edit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Opportunity"
);
}
/**
/**
* 逻辑事件
* 逻辑事件
*
*
...
@@ -423,32 +390,6 @@ export class OpportunityInfoBase extends TabExpViewBase {
...
@@ -423,32 +390,6 @@ export class OpportunityInfoBase extends TabExpViewBase {
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Opportunity"
);
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Opportunity"
);
}
}
/**
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof OpportunityInfoBase
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
return
;
}
const
_this
:
any
=
this
;
if
(
_this
.
opendata
&&
_this
.
opendata
instanceof
Function
)
{
const
data
:
any
=
{
};
if
(
args
.
length
>
0
)
{
Object
.
assign
(
data
,
{
opportunity
:
args
[
0
].
opportunity
})
}
_this
.
opendata
([{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'opendata 视图处理逻辑不存在,请添加!'
});
}
}
/**
/**
* 删除并关闭
* 删除并关闭
*
*
...
...
app_CRM/src/pages/sales/quote-info/quote-info-base.tsx
浏览文件 @
ac3a1826
...
@@ -90,9 +90,6 @@ export class QuoteInfoBase extends TabExpViewBase {
...
@@ -90,9 +90,6 @@ export class QuoteInfoBase extends TabExpViewBase {
* @memberof QuoteInfo
* @memberof QuoteInfo
*/
*/
public
toolBarModels
:
any
=
{
public
toolBarModels
:
any
=
{
deuiaction4
:
{
name
:
'deuiaction4'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
seperator4
:
{
name
:
'seperator4'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem17_active
:
{
name
:
'tbitem17_active'
,
caption
:
'激活报价单'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'激活报价单'
,
iconcls
:
'fa fa-play-circle-o'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Active'
,
target
:
'SINGLEKEY'
},
class
:
''
},
tbitem17_active
:
{
name
:
'tbitem17_active'
,
caption
:
'激活报价单'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'激活报价单'
,
iconcls
:
'fa fa-play-circle-o'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Active'
,
target
:
'SINGLEKEY'
},
class
:
''
},
tbitem17_close_sep
:
{
name
:
'tbitem17_close_sep'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem17_close_sep
:
{
name
:
'tbitem17_close_sep'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
...
@@ -156,9 +153,6 @@ export class QuoteInfoBase extends TabExpViewBase {
...
@@ -156,9 +153,6 @@ export class QuoteInfoBase extends TabExpViewBase {
* @memberof QuoteInfoBase
* @memberof QuoteInfoBase
*/
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction4'
))
{
this
.
toolbar_deuiaction4_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem17_active'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem17_active'
))
{
this
.
toolbar_tbitem17_active_click
(
null
,
''
,
$event2
);
this
.
toolbar_tbitem17_active_click
(
null
,
''
,
$event2
);
}
}
...
@@ -179,33 +173,6 @@ export class QuoteInfoBase extends TabExpViewBase {
...
@@ -179,33 +173,6 @@ export class QuoteInfoBase extends TabExpViewBase {
}
}
}
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_deuiaction4_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Edit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Quote"
);
}
/**
/**
* 逻辑事件
* 逻辑事件
*
*
...
@@ -371,32 +338,6 @@ export class QuoteInfoBase extends TabExpViewBase {
...
@@ -371,32 +338,6 @@ export class QuoteInfoBase extends TabExpViewBase {
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Quote"
);
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Quote"
);
}
}
/**
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof QuoteInfoBase
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
return
;
}
const
_this
:
any
=
this
;
if
(
_this
.
opendata
&&
_this
.
opendata
instanceof
Function
)
{
const
data
:
any
=
{
};
if
(
args
.
length
>
0
)
{
Object
.
assign
(
data
,
{
quote
:
args
[
0
].
quote
})
}
_this
.
opendata
([{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'opendata 视图处理逻辑不存在,请添加!'
});
}
}
/**
/**
* 删除并关闭
* 删除并关闭
*
*
...
...
app_CRM/src/pages/sales/sales-literature-info-view/sales-literature-info-view-base.tsx
浏览文件 @
ac3a1826
...
@@ -89,9 +89,6 @@ export class SalesLiteratureInfoViewBase extends TabExpViewBase {
...
@@ -89,9 +89,6 @@ export class SalesLiteratureInfoViewBase extends TabExpViewBase {
* @memberof SalesLiteratureInfoView
* @memberof SalesLiteratureInfoView
*/
*/
public
toolBarModels
:
any
=
{
public
toolBarModels
:
any
=
{
deuiaction4
:
{
name
:
'deuiaction4'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
seperator4
:
{
name
:
'seperator4'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
deuiaction1
:
{
name
:
'deuiaction1'
,
caption
:
'删除并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除并关闭'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'RemoveAndExit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
deuiaction1
:
{
name
:
'deuiaction1'
,
caption
:
'删除并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除并关闭'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'RemoveAndExit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
seperator2
:
{
name
:
'seperator2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
seperator2
:
{
name
:
'seperator2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
...
@@ -146,9 +143,6 @@ export class SalesLiteratureInfoViewBase extends TabExpViewBase {
...
@@ -146,9 +143,6 @@ export class SalesLiteratureInfoViewBase extends TabExpViewBase {
* @memberof SalesLiteratureInfoViewBase
* @memberof SalesLiteratureInfoViewBase
*/
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction4'
))
{
this
.
toolbar_deuiaction4_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
this
.
toolbar_deuiaction1_click
(
null
,
''
,
$event2
);
this
.
toolbar_deuiaction1_click
(
null
,
''
,
$event2
);
}
}
...
@@ -160,33 +154,6 @@ export class SalesLiteratureInfoViewBase extends TabExpViewBase {
...
@@ -160,33 +154,6 @@ export class SalesLiteratureInfoViewBase extends TabExpViewBase {
}
}
}
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_deuiaction4_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Edit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SalesLiterature"
);
}
/**
/**
* 逻辑事件
* 逻辑事件
*
*
...
@@ -268,32 +235,6 @@ export class SalesLiteratureInfoViewBase extends TabExpViewBase {
...
@@ -268,32 +235,6 @@ export class SalesLiteratureInfoViewBase extends TabExpViewBase {
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SalesLiterature"
);
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SalesLiterature"
);
}
}
/**
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof SalesLiteratureInfoViewBase
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
return
;
}
const
_this
:
any
=
this
;
if
(
_this
.
opendata
&&
_this
.
opendata
instanceof
Function
)
{
const
data
:
any
=
{
};
if
(
args
.
length
>
0
)
{
Object
.
assign
(
data
,
{
salesliterature
:
args
[
0
].
salesliterature
})
}
_this
.
opendata
([{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'opendata 视图处理逻辑不存在,请添加!'
});
}
}
/**
/**
* 删除并关闭
* 删除并关闭
*
*
...
...
app_CRM/src/pages/sales/sales-order-info-view/sales-order-info-view-base.tsx
浏览文件 @
ac3a1826
...
@@ -90,9 +90,6 @@ export class SalesOrderInfoViewBase extends TabExpViewBase {
...
@@ -90,9 +90,6 @@ export class SalesOrderInfoViewBase extends TabExpViewBase {
* @memberof SalesOrderInfoView
* @memberof SalesOrderInfoView
*/
*/
public
toolBarModels
:
any
=
{
public
toolBarModels
:
any
=
{
deuiaction4
:
{
name
:
'deuiaction4'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
seperator4
:
{
name
:
'seperator4'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem17_finish
:
{
name
:
'tbitem17_finish'
,
caption
:
'完成订单'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'完成订单'
,
iconcls
:
'fa fa-check'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Finish'
,
target
:
'SINGLEKEY'
},
class
:
''
},
tbitem17_finish
:
{
name
:
'tbitem17_finish'
,
caption
:
'完成订单'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'完成订单'
,
iconcls
:
'fa fa-check'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Finish'
,
target
:
'SINGLEKEY'
},
class
:
''
},
tbitem17_cancel_sep
:
{
name
:
'tbitem17_cancel_sep'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem17_cancel_sep
:
{
name
:
'tbitem17_cancel_sep'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
...
@@ -156,9 +153,6 @@ export class SalesOrderInfoViewBase extends TabExpViewBase {
...
@@ -156,9 +153,6 @@ export class SalesOrderInfoViewBase extends TabExpViewBase {
* @memberof SalesOrderInfoViewBase
* @memberof SalesOrderInfoViewBase
*/
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction4'
))
{
this
.
toolbar_deuiaction4_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem17_finish'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem17_finish'
))
{
this
.
toolbar_tbitem17_finish_click
(
null
,
''
,
$event2
);
this
.
toolbar_tbitem17_finish_click
(
null
,
''
,
$event2
);
}
}
...
@@ -179,33 +173,6 @@ export class SalesOrderInfoViewBase extends TabExpViewBase {
...
@@ -179,33 +173,6 @@ export class SalesOrderInfoViewBase extends TabExpViewBase {
}
}
}
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_deuiaction4_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Edit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SalesOrder"
);
}
/**
/**
* 逻辑事件
* 逻辑事件
*
*
...
@@ -371,32 +338,6 @@ export class SalesOrderInfoViewBase extends TabExpViewBase {
...
@@ -371,32 +338,6 @@ export class SalesOrderInfoViewBase extends TabExpViewBase {
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SalesOrder"
);
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SalesOrder"
);
}
}
/**
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof SalesOrderInfoViewBase
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
return
;
}
const
_this
:
any
=
this
;
if
(
_this
.
opendata
&&
_this
.
opendata
instanceof
Function
)
{
const
data
:
any
=
{
};
if
(
args
.
length
>
0
)
{
Object
.
assign
(
data
,
{
salesorder
:
args
[
0
].
salesorder
})
}
_this
.
opendata
([{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'opendata 视图处理逻辑不存在,请添加!'
});
}
}
/**
/**
* 删除并关闭
* 删除并关闭
*
*
...
...
app_CRM/src/pages/ungroup/central/page-register.ts
浏览文件 @
ac3a1826
...
@@ -13,7 +13,6 @@ export const PageComponents = {
...
@@ -13,7 +13,6 @@ export const PageComponents = {
Vue
.
component
(
'opportunity-quick-create'
,
()
=>
import
(
'@pages/sales/opportunity-quick-create/opportunity-quick-create.vue'
));
Vue
.
component
(
'opportunity-quick-create'
,
()
=>
import
(
'@pages/sales/opportunity-quick-create/opportunity-quick-create.vue'
));
Vue
.
component
(
'product-price-level-pro-prilv-edit-view'
,
()
=>
import
(
'@pages/product/product-price-level-pro-prilv-edit-view/product-price-level-pro-prilv-edit-view.vue'
));
Vue
.
component
(
'product-price-level-pro-prilv-edit-view'
,
()
=>
import
(
'@pages/product/product-price-level-pro-prilv-edit-view/product-price-level-pro-prilv-edit-view.vue'
));
Vue
.
component
(
'knowledge-article-incident-edit-view'
,
()
=>
import
(
'@pages/service/knowledge-article-incident-edit-view/knowledge-article-incident-edit-view.vue'
));
Vue
.
component
(
'knowledge-article-incident-edit-view'
,
()
=>
import
(
'@pages/service/knowledge-article-incident-edit-view/knowledge-article-incident-edit-view.vue'
));
Vue
.
component
(
'opportunity-competitor-opp-comp-grid-view'
,
()
=>
import
(
'@pages/sales/opportunity-competitor-opp-comp-grid-view/opportunity-competitor-opp-comp-grid-view.vue'
));
Vue
.
component
(
'invoice-by-parent-key'
,
()
=>
import
(
'@pages/finance/invoice-by-parent-key/invoice-by-parent-key.vue'
));
Vue
.
component
(
'invoice-by-parent-key'
,
()
=>
import
(
'@pages/finance/invoice-by-parent-key/invoice-by-parent-key.vue'
));
Vue
.
component
(
'goal-info-goal-view'
,
()
=>
import
(
'@pages/sales/goal-info-goal-view/goal-info-goal-view.vue'
));
Vue
.
component
(
'goal-info-goal-view'
,
()
=>
import
(
'@pages/sales/goal-info-goal-view/goal-info-goal-view.vue'
));
Vue
.
component
(
'goal-info-view'
,
()
=>
import
(
'@pages/sales/goal-info-view/goal-info-view.vue'
));
Vue
.
component
(
'goal-info-view'
,
()
=>
import
(
'@pages/sales/goal-info-view/goal-info-view.vue'
));
...
@@ -94,7 +93,6 @@ export const PageComponents = {
...
@@ -94,7 +93,6 @@ export const PageComponents = {
Vue
.
component
(
'lead-info'
,
()
=>
import
(
'@pages/sales/lead-info/lead-info.vue'
));
Vue
.
component
(
'lead-info'
,
()
=>
import
(
'@pages/sales/lead-info/lead-info.vue'
));
Vue
.
component
(
'lead-on-grid-view'
,
()
=>
import
(
'@pages/sales/lead-on-grid-view/lead-on-grid-view.vue'
));
Vue
.
component
(
'lead-on-grid-view'
,
()
=>
import
(
'@pages/sales/lead-on-grid-view/lead-on-grid-view.vue'
));
Vue
.
component
(
'sales-order-detail-soproduct-grid-view'
,
()
=>
import
(
'@pages/sales/sales-order-detail-soproduct-grid-view/sales-order-detail-soproduct-grid-view.vue'
));
Vue
.
component
(
'sales-order-detail-soproduct-grid-view'
,
()
=>
import
(
'@pages/sales/sales-order-detail-soproduct-grid-view/sales-order-detail-soproduct-grid-view.vue'
));
Vue
.
component
(
'opportunity-competitor-edit-view'
,
()
=>
import
(
'@pages/sales/opportunity-competitor-edit-view/opportunity-competitor-edit-view.vue'
));
Vue
.
component
(
'incident-info-incident-view'
,
()
=>
import
(
'@pages/service/incident-info-incident-view/incident-info-incident-view.vue'
));
Vue
.
component
(
'incident-info-incident-view'
,
()
=>
import
(
'@pages/service/incident-info-incident-view/incident-info-incident-view.vue'
));
Vue
.
component
(
'account-usable-grid-view'
,
()
=>
import
(
'@pages/base/account-usable-grid-view/account-usable-grid-view.vue'
));
Vue
.
component
(
'account-usable-grid-view'
,
()
=>
import
(
'@pages/base/account-usable-grid-view/account-usable-grid-view.vue'
));
Vue
.
component
(
'sales-order-info-soview'
,
()
=>
import
(
'@pages/sales/sales-order-info-soview/sales-order-info-soview.vue'
));
Vue
.
component
(
'sales-order-info-soview'
,
()
=>
import
(
'@pages/sales/sales-order-info-soview/sales-order-info-soview.vue'
));
...
@@ -130,11 +128,13 @@ export const PageComponents = {
...
@@ -130,11 +128,13 @@ export const PageComponents = {
Vue
.
component
(
'goal-edit-child-goal-view'
,
()
=>
import
(
'@pages/sales/goal-edit-child-goal-view/goal-edit-child-goal-view.vue'
));
Vue
.
component
(
'goal-edit-child-goal-view'
,
()
=>
import
(
'@pages/sales/goal-edit-child-goal-view/goal-edit-child-goal-view.vue'
));
Vue
.
component
(
'product-grid-view'
,
()
=>
import
(
'@pages/product/product-grid-view/product-grid-view.vue'
));
Vue
.
component
(
'product-grid-view'
,
()
=>
import
(
'@pages/product/product-grid-view/product-grid-view.vue'
));
Vue
.
component
(
'ibiz-list-info-abstract'
,
()
=>
import
(
'@pages/marketing/ibiz-list-info-abstract/ibiz-list-info-abstract.vue'
));
Vue
.
component
(
'ibiz-list-info-abstract'
,
()
=>
import
(
'@pages/marketing/ibiz-list-info-abstract/ibiz-list-info-abstract.vue'
));
Vue
.
component
(
'opportunity-competitor-edit-comp-opp-view'
,
()
=>
import
(
'@pages/sales/opportunity-competitor-edit-comp-opp-view/opportunity-competitor-edit-comp-opp-view.vue'
));
Vue
.
component
(
'lead-pickup-grid-view'
,
()
=>
import
(
'@pages/sales/lead-pickup-grid-view/lead-pickup-grid-view.vue'
));
Vue
.
component
(
'lead-pickup-grid-view'
,
()
=>
import
(
'@pages/sales/lead-pickup-grid-view/lead-pickup-grid-view.vue'
));
Vue
.
component
(
'opportunity-pickup-view'
,
()
=>
import
(
'@pages/sales/opportunity-pickup-view/opportunity-pickup-view.vue'
));
Vue
.
component
(
'opportunity-pickup-view'
,
()
=>
import
(
'@pages/sales/opportunity-pickup-view/opportunity-pickup-view.vue'
));
Vue
.
component
(
'ibiz-list-option-view'
,
()
=>
import
(
'@pages/marketing/ibiz-list-option-view/ibiz-list-option-view.vue'
));
Vue
.
component
(
'ibiz-list-option-view'
,
()
=>
import
(
'@pages/marketing/ibiz-list-option-view/ibiz-list-option-view.vue'
));
Vue
.
component
(
'account-edit-data-panel'
,
()
=>
import
(
'@pages/base/account-edit-data-panel/account-edit-data-panel.vue'
));
Vue
.
component
(
'account-edit-data-panel'
,
()
=>
import
(
'@pages/base/account-edit-data-panel/account-edit-data-panel.vue'
));
Vue
.
component
(
'contact-info-abstract'
,
()
=>
import
(
'@pages/base/contact-info-abstract/contact-info-abstract.vue'
));
Vue
.
component
(
'contact-info-abstract'
,
()
=>
import
(
'@pages/base/contact-info-abstract/contact-info-abstract.vue'
));
Vue
.
component
(
'opportunity-competitor-comp-opp-grid-view'
,
()
=>
import
(
'@pages/sales/opportunity-competitor-comp-opp-grid-view/opportunity-competitor-comp-opp-grid-view.vue'
));
Vue
.
component
(
'invoice-detail-edit-view'
,
()
=>
import
(
'@pages/finance/invoice-detail-edit-view/invoice-detail-edit-view.vue'
));
Vue
.
component
(
'invoice-detail-edit-view'
,
()
=>
import
(
'@pages/finance/invoice-detail-edit-view/invoice-detail-edit-view.vue'
));
Vue
.
component
(
'opportunity-lost-grid-view'
,
()
=>
import
(
'@pages/sales/opportunity-lost-grid-view/opportunity-lost-grid-view.vue'
));
Vue
.
component
(
'opportunity-lost-grid-view'
,
()
=>
import
(
'@pages/sales/opportunity-lost-grid-view/opportunity-lost-grid-view.vue'
));
Vue
.
component
(
'product-association-edit-view'
,
()
=>
import
(
'@pages/product/product-association-edit-view/product-association-edit-view.vue'
));
Vue
.
component
(
'product-association-edit-view'
,
()
=>
import
(
'@pages/product/product-association-edit-view/product-association-edit-view.vue'
));
...
...
app_CRM/src/pages/ungroup/central/router.ts
浏览文件 @
ac3a1826
此差异已折叠。
点击以展开。
app_CRM/src/service/account/account-service-base.ts
浏览文件 @
ac3a1826
此差异已折叠。
点击以展开。
app_CRM/src/service/campaign/campaign-service-base.ts
浏览文件 @
ac3a1826
此差异已折叠。
点击以展开。
app_CRM/src/service/competitor/competitor-service-base.ts
浏览文件 @
ac3a1826
此差异已折叠。
点击以展开。
app_CRM/src/service/contact/contact-service-base.ts
浏览文件 @
ac3a1826
此差异已折叠。
点击以展开。
app_CRM/src/service/ibiz-list/ibiz-list-service-base.ts
浏览文件 @
ac3a1826
此差异已折叠。
点击以展开。
app_CRM/src/service/opportunity/opportunity-service-base.ts
浏览文件 @
ac3a1826
此差异已折叠。
点击以展开。
app_CRM/src/service/product/product-service-base.ts
浏览文件 @
ac3a1826
此差异已折叠。
点击以展开。
app_CRM/src/service/sales-literature/sales-literature-service-base.ts
浏览文件 @
ac3a1826
此差异已折叠。
点击以展开。
app_CRM/src/store/modules/view-action/state.ts
浏览文件 @
ac3a1826
...
@@ -512,6 +512,7 @@ export const viewstate: any = {
...
@@ -512,6 +512,7 @@ export const viewstate: any = {
'7b8b062c86b8e62d907ccbd467bb7ac6'
,
'7b8b062c86b8e62d907ccbd467bb7ac6'
,
'bae77557d2f7a7852b634dc5d5a93435'
,
'bae77557d2f7a7852b634dc5d5a93435'
,
'6ab7d7604dbd53cc5b469aa9176dcb2f'
,
'6ab7d7604dbd53cc5b469aa9176dcb2f'
,
'6e18ac74e5685439110f9b4e534ee005'
,
'016e75bb460270519a0ee9dda57b2c90'
,
'016e75bb460270519a0ee9dda57b2c90'
,
],
],
},
},
...
@@ -916,16 +917,6 @@ export const viewstate: any = {
...
@@ -916,16 +917,6 @@ export const viewstate: any = {
refviews
:
[
refviews
:
[
],
],
},
},
{
viewtag
:
'5de2a290b5d079445ad825f6d6418dd6'
,
viewmodule
:
'Sales'
,
viewname
:
'OpportunityCompetitorOppCompGridView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'c420212fae385872d6ae89e3d237350a'
,
],
},
{
{
viewtag
:
'5f8f689d5dccc3db6d2b74a24a8b24ef'
,
viewtag
:
'5f8f689d5dccc3db6d2b74a24a8b24ef'
,
viewmodule
:
'Sales'
,
viewmodule
:
'Sales'
,
...
@@ -1792,6 +1783,16 @@ export const viewstate: any = {
...
@@ -1792,6 +1783,16 @@ export const viewstate: any = {
'77ef5d53fe0cadbe03c9d2f9d25c804b'
,
'77ef5d53fe0cadbe03c9d2f9d25c804b'
,
],
],
},
},
{
viewtag
:
'ac5ea5e435a4102d39f1f4a569368b25'
,
viewmodule
:
'Sales'
,
viewname
:
'OpportunityCompetitorCompOppGridView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'b697e75d9c2af9b203503e4c58c4ec51'
,
],
},
{
{
viewtag
:
'ad5b5579442b2a90900b62803059a029'
,
viewtag
:
'ad5b5579442b2a90900b62803059a029'
,
viewmodule
:
'Sales'
,
viewmodule
:
'Sales'
,
...
@@ -1799,8 +1800,8 @@ export const viewstate: any = {
...
@@ -1799,8 +1800,8 @@ export const viewstate: any = {
viewaction
:
''
,
viewaction
:
''
,
viewdatachange
:
false
,
viewdatachange
:
false
,
refviews
:
[
refviews
:
[
'5de2a290b5d079445ad825f6d6418dd6'
,
'f83783341c365d6eb1d7385c9d1ddb95'
,
'f83783341c365d6eb1d7385c9d1ddb95'
,
'ac5ea5e435a4102d39f1f4a569368b25'
,
'9bf80730e83a74615919a0f0907505d4'
,
'9bf80730e83a74615919a0f0907505d4'
,
],
],
},
},
...
@@ -1930,6 +1931,16 @@ export const viewstate: any = {
...
@@ -1930,6 +1931,16 @@ export const viewstate: any = {
'a5213905238dbc5d8e1a505029105cc9'
,
'a5213905238dbc5d8e1a505029105cc9'
,
],
],
},
},
{
viewtag
:
'b697e75d9c2af9b203503e4c58c4ec51'
,
viewmodule
:
'Sales'
,
viewname
:
'OpportunityCompetitorEdit_CompOppView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'6debde861c6e6f91eeb442cb869e9737'
,
],
},
{
{
viewtag
:
'b6b6215e439e78cdf6959b6f45bd7927'
,
viewtag
:
'b6b6215e439e78cdf6959b6f45bd7927'
,
viewmodule
:
'Base'
,
viewmodule
:
'Base'
,
...
@@ -2011,16 +2022,6 @@ export const viewstate: any = {
...
@@ -2011,16 +2022,6 @@ export const viewstate: any = {
'e52af970c14fd89546ac8ccaecab460c'
,
'e52af970c14fd89546ac8ccaecab460c'
,
],
],
},
},
{
viewtag
:
'c420212fae385872d6ae89e3d237350a'
,
viewmodule
:
'Sales'
,
viewname
:
'OpportunityCompetitorEditView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'b153b539b40b2ff7a9d81b6c0329cf25'
,
],
},
{
{
viewtag
:
'c7d0ca0f6fa1b27bbd1b5c422d1a108d'
,
viewtag
:
'c7d0ca0f6fa1b27bbd1b5c422d1a108d'
,
viewmodule
:
'Marketing'
,
viewmodule
:
'Marketing'
,
...
...
app_CRM/src/uiservice/account/account-ui-service-base.ts
浏览文件 @
ac3a1826
...
@@ -449,6 +449,57 @@ export default class AccountUIServiceBase extends UIService {
...
@@ -449,6 +449,57 @@ export default class AccountUIServiceBase extends UIService {
backend
();
backend
();
}
}
/**
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
*/
public
async
Account_OpenMainEditView
(
args
:
any
[],
context
:
any
=
{}
,
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
let
data
:
any
=
{};
let
parentContext
:
any
=
{};
let
parentViewParam
:
any
=
{};
const
_this
:
any
=
actionContext
;
const
_args
:
any
[]
=
Util
.
deepCopy
(
args
);
const
actionTarget
:
string
|
null
=
'SINGLEKEY'
;
Object
.
assign
(
context
,
{
account
:
'%account%'
});
Object
.
assign
(
params
,
{
accountid
:
'%account%'
});
Object
.
assign
(
params
,
{
accountname
:
'%accountname%'
});
if
(
_this
.
context
){
parentContext
=
_this
.
context
;
}
if
(
_this
.
viewparams
){
parentViewParam
=
_this
.
viewparams
;
}
context
=
UIActionTool
.
handleContextParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
context
);
data
=
UIActionTool
.
handleActionParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
params
);
context
=
Object
.
assign
({},
actionContext
.
context
,
context
);
let
parentObj
:
any
=
{
srfparentdename
:
srfParentDeName
?
srfParentDeName
:
null
,
srfparentkey
:
srfParentDeName
?
context
[
srfParentDeName
.
toLowerCase
()]:
null
};
Object
.
assign
(
data
,
parentObj
);
Object
.
assign
(
context
,
parentObj
);
let
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
];
const
openIndexViewTab
=
(
data
:
any
)
=>
{
const
routePath
=
actionContext
.
$viewTool
.
buildUpRoutePath
(
actionContext
.
$route
,
context
,
deResParameters
,
parameters
,
_args
,
data
);
actionContext
.
$router
.
push
(
routePath
);
if
(
xData
&&
xData
.
refresh
&&
xData
.
refresh
instanceof
Function
)
{
xData
.
refresh
(
args
);
}
return
null
;
}
openIndexViewTab
(
data
);
}
/**
/**
* 编辑
* 编辑
*
*
...
...
app_CRM/src/widgets/competitor/infotabviewpanel2-tabviewpanel/infotabviewpanel2-tabviewpanel.html
浏览文件 @
ac3a1826
<div
class=
'tabviewpanel'
v-if=
'isActivied'
>
<div
class=
'tabviewpanel'
v-if=
'isActivied'
>
<opportunity-competitor-
opp-com
p-grid-view
<opportunity-competitor-
comp-op
p-grid-view
class=
'viewcontainer2'
class=
'viewcontainer2'
:viewdata=
"viewdata"
:viewdata=
"viewdata"
:viewparam=
"viewparam"
:viewparam=
"viewparam"
...
...
app_CRM/src/widgets/opportunity-competitor/edit-comp-opp-form/edit-comp-opp-form-base.tsx
0 → 100644
浏览文件 @
ac3a1826
此差异已折叠。
点击以展开。
app_CRM/src/widgets/opportunity-competitor/edit-comp-opp-form/edit-comp-opp-form-model.ts
0 → 100644
浏览文件 @
ac3a1826
此差异已折叠。
点击以展开。
app_CRM/src/widgets/opportunity-competitor/edit-comp-opp-form/edit-comp-opp-form-service.ts
0 → 100644
浏览文件 @
ac3a1826
此差异已折叠。
点击以展开。
app_CRM/src/widgets/opportunity-competitor/edit-comp-opp-form/edit-comp-opp-form.html
0 → 100644
浏览文件 @
ac3a1826
此差异已折叠。
点击以展开。
app_CRM/src/widgets/opportunity-competitor/edit-comp-opp-form/edit-comp-opp-form.vue
0 → 100644
浏览文件 @
ac3a1826
<
template
src=
"./edit-comp-opp-form.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { Edit_CompOppEditFormBase } from './edit-comp-opp-form-base';
/**
* form部件
*
* @export
* @class Edit_CompOppEditForm
* @extends {Edit_CompOppEditFormBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class Edit_CompOppEditForm extends Edit_CompOppEditFormBase { }
</script>
businesscentral-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
ac3a1826
此差异已折叠。
点击以展开。
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录