Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
5fb7daa1
提交
5fb7daa1
编写于
7月 08, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chitanda 发布系统代码
上级
00cc1aa4
变更
8
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
50 行增加
和
11 行删除
+50
-11
account-info.html
app_CRM/src/pages/base/account-info/account-info.html
+21
-0
active-logic-base.ts
app_CRM/src/service/contact/active-logic-base.ts
+2
-2
studio-view-style2-base.tsx
...components/studio-view-style2/studio-view-style2-base.tsx
+1
-1
studio-view-style2.less
...ore/components/studio-view-style2/studio-view-style2.less
+1
-1
ExpViewBase.tsx
app_CRM/src/studio-core/view/ExpViewBase.tsx
+10
-1
ViewBase.tsx
app_CRM/src/studio-core/view/ViewBase.tsx
+9
-0
ContactActiveLogicImpl.java
.../core/base/service/logic/impl/ContactActiveLogicImpl.java
+4
-4
ContactActiveRule.drl
...ntral-core/src/main/resources/rules/ContactActiveRule.drl
+2
-2
未找到文件。
app_CRM/src/pages/base/account-info/account-info.html
浏览文件 @
5fb7daa1
...
...
@@ -2,6 +2,27 @@
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{$t(model.srfTitle)}}
</span>
</template>
<template
slot=
"dataPanel"
>
<view
_datapanel
: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=
"datapanel"
ref=
'datapanel'
@
closeview=
"closeView($event)"
>
</view
_datapanel
>
</template>
<template
slot=
"toolbar"
>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click($event)"
/>
</template>
<view
_tabexppanel
...
...
app_CRM/src/service/contact/active-logic-base.ts
浏览文件 @
5fb7daa1
import
AccountService
from
'@/service/account/accoun
t-service'
;
import
ContactService
from
'@/service/contact/contac
t-service'
;
import
{
Verify
}
from
'@/utils/verify/verify'
;
...
...
@@ -98,7 +98,7 @@ export default class ActiveLogicBase {
// 行为处理节点
let
result
:
any
;
let
actionParam
:
any
=
this
.
paramsMap
.
get
(
'Default'
);
const
targetService
:
AccountService
=
new
Accoun
tService
();
const
targetService
:
ContactService
=
new
Contac
tService
();
if
(
targetService
[
'Update'
]
&&
targetService
[
'Update'
]
instanceof
Function
)
{
result
=
await
targetService
[
'Update'
](
actionParam
.
context
,
actionParam
.
data
,
false
);
}
...
...
app_CRM/src/studio-core/components/studio-view-style2/studio-view-style2-base.tsx
浏览文件 @
5fb7daa1
...
...
@@ -56,7 +56,7 @@ export class StudioViewStyle2Base extends StudioViewBase {
</
div
>
:
null
,
this
.
isShowHeader
?
<
div
class=
"view-header"
>
{
this
.
$slots
.
title
?
<
div
class=
"title"
>
{
this
.
$slots
.
title
}
</
div
>
:
null
}
{
this
.
$slots
.
quickSummary
?
<
div
class=
"quickSummary"
>
{
this
.
$slots
.
quickSummary
}
</
div
>
:
null
}
{
this
.
$slots
.
dataPanel
?
<
div
class=
"data-panel"
>
{
this
.
$slots
.
dataPanel
}
</
div
>
:
null
}
{
this
.
$slots
.
quickGroupSearch
?
<
div
class=
"quick-group-search"
>
{
this
.
$slots
.
quickGroupSearch
}
</
div
>
:
null
}
...
...
app_CRM/src/studio-core/components/studio-view-style2/studio-view-style2.less
浏览文件 @
5fb7daa1
...
...
@@ -45,7 +45,7 @@
}
}
>.
quickSummary
{
>.
data-panel
{
float: right;
}
...
...
app_CRM/src/studio-core/view/ExpViewBase.tsx
浏览文件 @
5fb7daa1
...
...
@@ -9,6 +9,15 @@ import { ViewBase } from './ViewBase';
*/
export
class
ExpViewBase
extends
ViewBase
{
/**
* 应用实体服务
*
* @protected
* @type {*}
* @memberof ExpViewBase
*/
protected
appEntityService
:
any
;
/**
* 加载模型
*
...
...
@@ -16,7 +25,7 @@ export class ExpViewBase extends ViewBase {
* @memberof AccountInfoBase
*/
protected
async
loadModel
():
Promise
<
any
>
{
if
(
this
.
context
[
this
.
appDeName
])
{
if
(
this
.
appEntityService
&&
this
.
context
[
this
.
appDeName
])
{
this
.
appEntityService
.
getDataInfo
(
this
.
context
,
{},
false
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
...
...
app_CRM/src/studio-core/view/ViewBase.tsx
浏览文件 @
5fb7daa1
...
...
@@ -45,6 +45,15 @@ export class ViewBase extends Vue {
*/
protected
appDeMajor
:
string
=
''
;
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof ViewBase
*/
protected
model
:
any
=
{};
/**
* 数据变化
*
...
...
businesscentral-core/src/main/java/cn/ibizlab/businesscentral/core/base/service/logic/impl/ContactActiveLogicImpl.java
浏览文件 @
5fb7daa1
...
...
@@ -27,10 +27,10 @@ public class ContactActiveLogicImpl implements IContactActiveLogic{
private
KieContainer
kieContainer
;
@Autowired
private
cn
.
ibizlab
.
businesscentral
.
core
.
base
.
service
.
I
AccountService
accoun
tservice
;
private
cn
.
ibizlab
.
businesscentral
.
core
.
base
.
service
.
I
ContactService
contac
tservice
;
public
cn
.
ibizlab
.
businesscentral
.
core
.
base
.
service
.
I
AccountService
getAccoun
tService
()
{
return
this
.
accoun
tservice
;
public
cn
.
ibizlab
.
businesscentral
.
core
.
base
.
service
.
I
ContactService
getContac
tService
()
{
return
this
.
contac
tservice
;
}
...
...
@@ -48,7 +48,7 @@ public class ContactActiveLogicImpl implements IContactActiveLogic{
kieSession
=
kieContainer
.
newKieSession
();
kieSession
.
insert
(
et
);
kieSession
.
setGlobal
(
"contactactivedefault"
,
et
);
kieSession
.
setGlobal
(
"
accountservice"
,
accoun
tservice
);
kieSession
.
setGlobal
(
"
contactservice"
,
contac
tservice
);
kieSession
.
setGlobal
(
"iBzSysContactDefaultService"
,
iBzSysDefaultService
);
kieSession
.
setGlobal
(
"curuser"
,
cn
.
ibizlab
.
businesscentral
.
util
.
security
.
AuthenticationUser
.
getAuthenticationUser
());
kieSession
.
startProcess
(
"cn.ibizlab.businesscentral.core.base.service.logic.contactactive"
);
...
...
businesscentral-core/src/main/resources/rules/ContactActiveRule.drl
浏览文件 @
5fb7daa1
...
...
@@ -4,7 +4,7 @@ import java.util.Map;
import
java
.
util
.
HashMap
;
import
com
.
alibaba
.
fastjson
.
JSONObject
;
global
cn
.
ibizlab
.
businesscentral
.
core
.
base
.
domain
.
Contact
contactactivedefault
;
global
cn
.
ibizlab
.
businesscentral
.
core
.
base
.
service
.
I
AccountService
accoun
tservice
;
global
cn
.
ibizlab
.
businesscentral
.
core
.
base
.
service
.
I
ContactService
contac
tservice
;
global
cn
.
ibizlab
.
businesscentral
.
core
.
base
.
service
.
IContactService
iBzSysContactDefaultService
;
global
cn
.
ibizlab
.
businesscentral
.
util
.
security
.
AuthenticationUser
curuser
;
...
...
@@ -15,7 +15,7 @@ rule "deaction1"
ruleflow
-
group
"contactactivedeaction1"
when
then
accoun
tservice
.
update
(
contactactivedefault
);
contac
tservice
.
update
(
contactactivedefault
);
update
(
contactactivedefault
);//
更新
fact
中变量值
end
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录