Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
f7487357
提交
f7487357
编写于
7月 08, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chitanda 发布系统代码
上级
5fb7daa1
变更
11
展开全部
显示空白字符变更
内嵌
并排
正在显示
11 个修改的文件
包含
1045 行增加
和
1019 行删除
+1045
-1019
data-panel-engine.ts
app_CRM/src/engine/uxview/data-panel-engine.ts
+16
-0
account-info-base.tsx
app_CRM/src/pages/base/account-info/account-info-base.tsx
+1
-2
campaign-service-base.ts
app_CRM/src/service/campaign/campaign-service-base.ts
+52
-52
contact-service-base.ts
app_CRM/src/service/contact/contact-service-base.ts
+152
-152
ibiz-list-service-base.ts
app_CRM/src/service/ibiz-list/ibiz-list-service-base.ts
+82
-82
lead-service-base.ts
app_CRM/src/service/lead/lead-service-base.ts
+369
-369
opportunity-service-base.ts
app_CRM/src/service/opportunity/opportunity-service-base.ts
+292
-292
sales-literature-service-base.ts
...service/sales-literature/sales-literature-service-base.ts
+52
-52
events.ts
app_CRM/src/studio-core/global/events.ts
+8
-0
ExpViewBase.tsx
app_CRM/src/studio-core/view/ExpViewBase.tsx
+3
-0
h2_table.xml
...esscentral-core/src/main/resources/liquibase/h2_table.xml
+18
-18
未找到文件。
app_CRM/src/engine/uxview/data-panel-engine.ts
浏览文件 @
f7487357
import
ViewEngine
from
'../view/view-engine'
;
import
{
events
}
from
'@/studio-core/global/events'
;
/**
* 快速摘要栏引擎
...
...
@@ -47,6 +48,7 @@ export default class DataPanelEngine extends ViewEngine {
*/
public
init
(
opt
:
any
=
{}):
void
{
super
.
init
(
opt
);
this
.
addListener
();
if
(
opt
.
form
)
{
this
.
form
=
opt
.
form
;
}
...
...
@@ -55,6 +57,20 @@ export default class DataPanelEngine extends ViewEngine {
}
}
/**
* 新增事件监听
*
* @protected
* @memberof DataPanelEngine
*/
protected
addListener
():
void
{
if
(
this
.
view
)
{
this
.
view
.
$on
(
events
.
view
.
MODEL_LOADED
,
()
=>
{
this
.
setData
();
});
}
}
/**
* 向快捷信息栏部件填充数据
*
...
...
app_CRM/src/pages/base/account-info/account-info-base.tsx
浏览文件 @
f7487357
import
{
Subject
}
from
'rxjs'
;
import
{
TabExpViewBase
}
from
'@/studio-core'
;
import
AccountService
from
'@/service/account/account-service'
;
import
DataPanelEngine
from
'@engine/
uxview
/data-panel-engine'
;
import
DataPanelEngine
from
'@engine/
ctrl
/data-panel-engine'
;
import
TabExpViewEngine
from
'@engine/view/tab-exp-view-engine'
;
import
AccountUIService
from
'@/uiservice/account/account-ui-service'
;
...
...
@@ -153,7 +153,6 @@ export class AccountInfoBase extends TabExpViewBase {
public
engineInit
():
void
{
this
.
datapanel
.
init
({
view
:
this
,
p2k
:
''
,
datapanel
:
this
.
$refs
.
datapanel
,
keyPSDEField
:
'account'
,
majorPSDEField
:
'accountname'
,
...
...
app_CRM/src/service/campaign/campaign-service-base.ts
浏览文件 @
f7487357
此差异已折叠。
点击以展开。
app_CRM/src/service/contact/contact-service-base.ts
浏览文件 @
f7487357
此差异已折叠。
点击以展开。
app_CRM/src/service/ibiz-list/ibiz-list-service-base.ts
浏览文件 @
f7487357
此差异已折叠。
点击以展开。
app_CRM/src/service/lead/lead-service-base.ts
浏览文件 @
f7487357
此差异已折叠。
点击以展开。
app_CRM/src/service/opportunity/opportunity-service-base.ts
浏览文件 @
f7487357
此差异已折叠。
点击以展开。
app_CRM/src/service/sales-literature/sales-literature-service-base.ts
浏览文件 @
f7487357
此差异已折叠。
点击以展开。
app_CRM/src/studio-core/global/events.ts
0 → 100644
浏览文件 @
f7487357
/**
* 视图事件
*/
const
view
=
{
MODEL_LOADED
:
'ModelLoaded'
};
export
const
events
=
{
view
};
\ No newline at end of file
app_CRM/src/studio-core/view/ExpViewBase.tsx
浏览文件 @
f7487357
import
{
ViewBase
}
from
'./ViewBase'
;
import
{
events
}
from
'../global/events'
;
/**
* 导航视图基类
...
...
@@ -32,12 +33,14 @@ export class ExpViewBase extends ViewBase {
}
const
{
data
}
=
response
;
if
(
data
&&
data
[
this
.
appDeMajor
])
{
this
.
$appService
.
contextStore
.
setContextData
(
this
.
context
,
this
.
appDeName
,
{
data
});
Object
.
assign
(
this
.
model
,
{
dataInfo
:
data
[
this
.
appDeMajor
]
});
if
(
this
.
$route
)
{
this
.
$route
.
meta
.
info
=
this
.
model
.
dataInfo
;
}
Object
.
assign
(
this
.
model
,
{
srfTitle
:
`
${
this
.
$t
(
this
.
model
.
srfTitle
)}
-
${
this
.
model
.
dataInfo
}
`
});
this
.
$appService
.
navHistory
.
setCaption
({
tag
:
this
.
viewtag
,
info
:
this
.
model
.
dataInfo
});
this
.
$emit
(
events
.
view
.
MODEL_LOADED
,
data
);
}
})
}
...
...
businesscentral-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
f7487357
...
...
@@ -4,7 +4,7 @@
<!--输出实体[ACCOUNT]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-account-53
0
-1"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-account-53
2
-1"
>
<createTable
tableName=
"ACCOUNT"
>
<column
name=
"ADDRESS1_PRIMARYCONTACTNAME"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
...
...
@@ -2760,7 +2760,7 @@
<!--输出实体[CONTACT]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-contact-30
2
-37"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-contact-30
4
-37"
>
<createTable
tableName=
"CONTACT"
>
<column
name=
"ADDRESS1_FREIGHTTERMSCODE"
remarks=
""
type=
"VARCHAR(30)"
>
</column>
...
...
@@ -10982,31 +10982,31 @@
</changeSet>
<!--输出实体[ACCOUNT]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-53
0
-132"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-53
2
-132"
>
<addForeignKeyConstraint
baseColumnNames=
"PARENTACCOUNTID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__ACCOUNT__PARENT"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"ACCOUNTID"
referencedTableName=
"ACCOUNT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-53
0
-133"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-53
2
-133"
>
<addForeignKeyConstraint
baseColumnNames=
"PRIMARYCONTACTID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__CONTACT__PRIMAR"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"CONTACTID"
referencedTableName=
"CONTACT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-53
0
-134"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-53
2
-134"
>
<addForeignKeyConstraint
baseColumnNames=
"PREFERREDEQUIPMENTID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__EQUIPMENT__PREF"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"EQUIPMENTID"
referencedTableName=
"EQUIPMENT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-53
0
-135"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-53
2
-135"
>
<addForeignKeyConstraint
baseColumnNames=
"ORIGINATINGLEADID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__LEAD__ORIGINATI"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"LEADID"
referencedTableName=
"LEAD"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-53
0
-136"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-53
2
-136"
>
<addForeignKeyConstraint
baseColumnNames=
"DEFAULTPRICELEVELID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__PRICELEVEL__DEF"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"PRICELEVELID"
referencedTableName=
"PRICELEVEL"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-53
0
-137"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-53
2
-137"
>
<addForeignKeyConstraint
baseColumnNames=
"PREFERREDSERVICEID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__SERVICE__PREFER"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SERVICEID"
referencedTableName=
"SERVICE"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-53
0
-138"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-53
2
-138"
>
<addForeignKeyConstraint
baseColumnNames=
"SLAID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__SLA__SLAID"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SLAID"
referencedTableName=
"SLA"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-53
0
-139"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-53
2
-139"
>
<addForeignKeyConstraint
baseColumnNames=
"TERRITORYID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__TERRITORY__TERR"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TERRITORYID"
referencedTableName=
"TERRITORY"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-53
0
-140"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-53
2
-140"
>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__TRANSACTIONCURR"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
<!--输出实体[ACTIVITYMIMEATTACHMENT]外键关系 -->
...
...
@@ -11174,25 +11174,25 @@
<addForeignKeyConstraint
baseColumnNames=
"BUSINESSUNITID"
baseTableName=
"CONSTRAINTBASEDGROUP"
constraintName=
"DER1N_CONSTRAINTBASEDGROUP__BU"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"BUSINESSUNITID"
referencedTableName=
"BUSINESSUNIT"
validate=
"true"
/>
</changeSet>
<!--输出实体[CONTACT]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-30
2
-194"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-30
4
-194"
>
<addForeignKeyConstraint
baseColumnNames=
"CUSTOMERID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT_ACCOUNT_CUSTOMER"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"ACCOUNTID"
referencedTableName=
"ACCOUNT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-30
2
-195"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-30
4
-195"
>
<addForeignKeyConstraint
baseColumnNames=
"PREFERREDEQUIPMENTID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__EQUIPMENT__PREF"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"EQUIPMENTID"
referencedTableName=
"EQUIPMENT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-30
2
-196"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-30
4
-196"
>
<addForeignKeyConstraint
baseColumnNames=
"ORIGINATINGLEADID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__LEAD__ORIGINATI"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"LEADID"
referencedTableName=
"LEAD"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-30
2
-197"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-30
4
-197"
>
<addForeignKeyConstraint
baseColumnNames=
"DEFAULTPRICELEVELID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__PRICELEVEL__DEF"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"PRICELEVELID"
referencedTableName=
"PRICELEVEL"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-30
2
-198"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-30
4
-198"
>
<addForeignKeyConstraint
baseColumnNames=
"PREFERREDSERVICEID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__SERVICE__PREFER"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SERVICEID"
referencedTableName=
"SERVICE"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-30
2
-199"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-30
4
-199"
>
<addForeignKeyConstraint
baseColumnNames=
"SLAID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__SLA__SLAID"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SLAID"
referencedTableName=
"SLA"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-30
2
-200"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-30
4
-200"
>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__TRANSACTIONCURR"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
<!--输出实体[CONTRACT]外键关系 -->
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录