Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
d4044f01
提交
d4044f01
编写于
7月 17, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
e664f821
变更
20
隐藏空白字符变更
内嵌
并排
正在显示
20 个修改的文件
包含
1530 行增加
和
11 行删除
+1530
-11
view-config.json
app_CRM/public/assets/json/view-config.json
+10
-0
activity-pointer_en_US.ts
...anres/entities/activity-pointer/activity-pointer_en_US.ts
+42
-0
activity-pointer_zh_CN.ts
...anres/entities/activity-pointer/activity-pointer_zh_CN.ts
+42
-0
viewconfig.ts
app_CRM/src/mock/viewconfig/viewconfig.ts
+8
-0
activity-pointer-edit-view2-base.tsx
...y-pointer-edit-view2/activity-pointer-edit-view2-base.tsx
+755
-0
activity-pointer-edit-view2.html
...ivity-pointer-edit-view2/activity-pointer-edit-view2.html
+5
-0
activity-pointer-edit-view2.less
...ivity-pointer-edit-view2/activity-pointer-edit-view2.less
+5
-0
activity-pointer-edit-view2.vue
...tivity-pointer-edit-view2/activity-pointer-edit-view2.vue
+24
-0
activity-pointer-grid-view-base.tsx
...ity-pointer-grid-view/activity-pointer-grid-view-base.tsx
+10
-2
page-register.ts
app_CRM/src/pages/base/central/page-register.ts
+1
-0
router.ts
app_CRM/src/pages/base/central/router.ts
+14
-0
state.ts
app_CRM/src/store/modules/view-action/state.ts
+10
-1
activity-pointer-ui-service-base.ts
...vice/activity-pointer/activity-pointer-ui-service-base.ts
+1
-0
default-drbar-base.tsx
...ets/activity-pointer/default-drbar/default-drbar-base.tsx
+355
-0
default-drbar-model.ts
...ets/activity-pointer/default-drbar/default-drbar-model.ts
+181
-0
default-drbar-service.ts
...s/activity-pointer/default-drbar/default-drbar-service.ts
+11
-0
default-drbar.html
...widgets/activity-pointer/default-drbar/default-drbar.html
+26
-0
default-drbar.vue
.../widgets/activity-pointer/default-drbar/default-drbar.vue
+22
-0
h2_table.xml
...esscentral-core/src/main/resources/liquibase/h2_table.xml
+4
-4
ActivityPointerMapper.xml
...ces/mapper/base/activitypointer/ActivityPointerMapper.xml
+4
-4
未找到文件。
app_CRM/public/assets/json/view-config.json
浏览文件 @
d4044f01
...
...
@@ -1269,6 +1269,16 @@
"viewtag"
:
"599da9d1e5d8054bb86ce61abeb78189"
,
"memo"
:
"系统自动添加"
},
"activitypointereditview2"
:
{
"title"
:
"活动编辑视图"
,
"caption"
:
"活动"
,
"viewtype"
:
"DEEDITVIEW2"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"ActivityPointerEditView2"
,
"viewfilename"
:
"activity-pointer-edit-view2"
,
"viewtag"
:
"59d96f3264f6adad0e57dae21b778ddf"
,
"memo"
:
"系统自动添加"
},
"invoicepaidgridview"
:
{
"title"
:
"发票信息"
,
"caption"
:
"发票"
,
...
...
app_CRM/src/locale/lanres/entities/activity-pointer/activity-pointer_en_US.ts
浏览文件 @
d4044f01
...
...
@@ -64,6 +64,10 @@ export default {
caption
:
"活动信息"
,
title
:
"活动"
,
},
editview2
:
{
caption
:
"活动"
,
title
:
"活动编辑视图"
,
},
redirectview
:
{
caption
:
"活动"
,
title
:
"活动数据重定向视图"
,
...
...
@@ -207,4 +211,42 @@ export default {
tip
:
"Filter"
,
},
},
editview2toolbar_toolbar
:
{
tbitem3
:
{
caption
:
"Save"
,
tip
:
"Save"
,
},
tbitem4
:
{
caption
:
"Save And New"
,
tip
:
"Save And New"
,
},
tbitem5
:
{
caption
:
"Save And Close"
,
tip
:
"Save And Close Window"
,
},
tbitem6
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem7
:
{
caption
:
"Remove And Close"
,
tip
:
"Remove And Close Window"
,
},
tbitem8
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem12
:
{
caption
:
"New"
,
tip
:
"New"
,
},
tbitem13
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem14
:
{
caption
:
"Copy"
,
tip
:
"Copy {0}"
,
},
},
};
\ No newline at end of file
app_CRM/src/locale/lanres/entities/activity-pointer/activity-pointer_zh_CN.ts
浏览文件 @
d4044f01
...
...
@@ -63,6 +63,10 @@ export default {
caption
:
"活动信息"
,
title
:
"活动"
,
},
editview2
:
{
caption
:
"活动"
,
title
:
"活动编辑视图"
,
},
redirectview
:
{
caption
:
"活动"
,
title
:
"活动数据重定向视图"
,
...
...
@@ -206,4 +210,42 @@ export default {
tip
:
"过滤"
,
},
},
editview2toolbar_toolbar
:
{
tbitem3
:
{
caption
:
"保存"
,
tip
:
"保存"
,
},
tbitem4
:
{
caption
:
"保存并新建"
,
tip
:
"保存并新建"
,
},
tbitem5
:
{
caption
:
"保存并关闭"
,
tip
:
"保存并关闭"
,
},
tbitem6
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem7
:
{
caption
:
"删除并关闭"
,
tip
:
"删除并关闭"
,
},
tbitem8
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem12
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
tbitem13
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem14
:
{
caption
:
"拷贝"
,
tip
:
"拷贝"
,
},
},
};
\ No newline at end of file
app_CRM/src/mock/viewconfig/viewconfig.ts
浏览文件 @
d4044f01
...
...
@@ -1023,6 +1023,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"OpportunityProductEditView"
,
"viewtag"
:
"599da9d1e5d8054bb86ce61abeb78189"
},
"activitypointereditview2"
:
{
"title"
:
"活动编辑视图"
,
"caption"
:
"活动"
,
"viewtype"
:
"DEEDITVIEW2"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"ActivityPointerEditView2"
,
"viewtag"
:
"59d96f3264f6adad0e57dae21b778ddf"
},
"invoicepaidgridview"
:
{
"title"
:
"发票信息"
,
"caption"
:
"发票"
,
...
...
app_CRM/src/pages/base/activity-pointer-edit-view2/activity-pointer-edit-view2-base.tsx
0 → 100644
浏览文件 @
d4044f01
import
{
Subject
}
from
'rxjs'
;
import
{
EditView2Base
}
from
'@/studio-core'
;
import
ActivityPointerService
from
'@/service/activity-pointer/activity-pointer-service'
;
import
ActivityPointerAuthService
from
'@/authservice/activity-pointer/activity-pointer-auth-service'
;
import
EditView2Engine
from
'@engine/view/edit-view2-engine'
;
import
ActivityPointerUIService
from
'@/uiservice/activity-pointer/activity-pointer-ui-service'
;
/**
* 活动编辑视图视图基类
*
* @export
* @class ActivityPointerEditView2Base
* @extends {EditView2Base}
*/
export
class
ActivityPointerEditView2Base
extends
EditView2Base
{
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof ActivityPointerEditView2Base
*/
protected
appDeName
:
string
=
'activitypointer'
;
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof ActivityPointerEditView2Base
*/
protected
appDeKey
:
string
=
'activityid'
;
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof ActivityPointerEditView2Base
*/
protected
appDeMajor
:
string
=
'subject'
;
/**
* 实体服务对象
*
* @type {ActivityPointerService}
* @memberof ActivityPointerEditView2Base
*/
protected
appEntityService
:
ActivityPointerService
=
new
ActivityPointerService
;
/**
* 实体权限服务对象
*
* @type ActivityPointerUIService
* @memberof ActivityPointerEditView2Base
*/
public
appUIService
:
ActivityPointerUIService
=
new
ActivityPointerUIService
(
this
.
$store
);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof ActivityPointerEditView2Base
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof ActivityPointerEditView2Base
*/
protected
model
:
any
=
{
srfCaption
:
'entities.activitypointer.views.editview2.caption'
,
srfTitle
:
'entities.activitypointer.views.editview2.title'
,
srfSubTitle
:
'entities.activitypointer.views.editview2.subtitle'
,
dataInfo
:
''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof ActivityPointerEditView2Base
*/
protected
containerModel
:
any
=
{
view_toolbar
:
{
name
:
'toolbar'
,
type
:
'TOOLBAR'
},
view_form
:
{
name
:
'form'
,
type
:
'FORM'
},
view_drbar
:
{
name
:
'drbar'
,
type
:
'DRBAR'
},
};
/**
* 工具栏模型
*
* @type {*}
* @memberof ActivityPointerEditView2
*/
public
toolBarModels
:
any
=
{
tbitem3
:
{
name
:
'tbitem3'
,
caption
:
'保存'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'保存'
,
iconcls
:
'fa fa-save'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Save'
,
target
:
''
,
class
:
''
}
},
tbitem4
:
{
name
:
'tbitem4'
,
caption
:
'保存并新建'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'保存并新建'
,
iconcls
:
'sx-tb-saveandnew'
,
icon
:
'../sasrfex/images/default/icon_saveandnew.png'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'SaveAndNew'
,
target
:
''
,
class
:
''
}
},
tbitem5
:
{
name
:
'tbitem5'
,
caption
:
'保存并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'保存并关闭'
,
iconcls
:
'fa fa-power-off'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'SaveAndExit'
,
target
:
''
,
class
:
''
}
},
tbitem6
:
{
name
:
'tbitem6'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem7
:
{
name
:
'tbitem7'
,
caption
:
'删除并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除并关闭'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'RemoveAndExit'
,
target
:
'SINGLEKEY'
,
class
:
''
}
},
tbitem8
:
{
name
:
'tbitem8'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem12
:
{
name
:
'tbitem12'
,
caption
:
'新建'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'新建'
,
iconcls
:
'fa fa-file-text-o'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'New'
,
target
:
''
,
class
:
''
}
},
tbitem13
:
{
name
:
'tbitem13'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem14
:
{
name
:
'tbitem14'
,
caption
:
'拷贝'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'拷贝'
,
iconcls
:
'fa fa-copy'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Copy'
,
target
:
'SINGLEKEY'
,
class
:
''
}
},
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected
viewtag
:
string
=
'59d96f3264f6adad0e57dae21b778ddf'
;
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof ActivityPointerEditView2Base
*/
public
engine
:
EditView2Engine
=
new
EditView2Engine
();
/**
* 引擎初始化
*
* @public
* @memberof ActivityPointerEditView2Base
*/
public
engineInit
():
void
{
this
.
engine
.
init
({
view
:
this
,
drbar
:
this
.
$refs
.
drbar
,
form
:
this
.
$refs
.
form
,
p2k
:
'0'
,
keyPSDEField
:
'activitypointer'
,
majorPSDEField
:
'subject'
,
isLoadDefault
:
true
,
});
}
/**
* toolbar 部件 click 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof ActivityPointerEditView2Base
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
this
.
toolbar_tbitem3_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem4'
))
{
this
.
toolbar_tbitem4_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem5'
))
{
this
.
toolbar_tbitem5_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem7'
))
{
this
.
toolbar_tbitem7_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem9'
))
{
this
.
toolbar_tbitem9_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem10'
))
{
this
.
toolbar_tbitem10_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem12'
))
{
this
.
toolbar_tbitem12_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem14'
))
{
this
.
toolbar_tbitem14_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem15'
))
{
this
.
toolbar_tbitem15_click
(
null
,
''
,
$event2
);
}
}
/**
* form 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof ActivityPointerEditView2Base
*/
public
form_save
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'save'
,
$event
);
}
/**
* form 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof ActivityPointerEditView2Base
*/
public
form_remove
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'remove'
,
$event
);
}
/**
* form 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof ActivityPointerEditView2Base
*/
public
form_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'load'
,
$event
);
}
/**
* drbar 部件 selectionchange 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof ActivityPointerEditView2Base
*/
public
drbar_selectionchange
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'drbar'
,
'selectionchange'
,
$event
);
}
/**
* drbar 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof ActivityPointerEditView2Base
*/
public
drbar_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'drbar'
,
'load'
,
$event
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem3_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
.
Save
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"ActivityPointer"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem4_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
.
SaveAndNew
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"ActivityPointer"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem5_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
,
"ActivityPointer"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem7_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
.
RemoveAndExit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"ActivityPointer"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem9_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
.
SaveAndStart
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"ActivityPointer"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem10_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
.
ViewWFStep
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"ActivityPointer"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem12_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
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"ActivityPointer"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem14_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
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"ActivityPointer"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem15_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
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"ActivityPointer"
);
}
/**
* 保存
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof ActivityPointerEditView2Base
*/
public
Save
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
// 界面行为容器对象 _this
const
_this
:
any
=
this
;
if
(
xData
&&
xData
.
save
instanceof
Function
)
{
xData
.
save
().
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
_this
.
$emit
(
'viewdataschange'
,
[{
...
response
.
data
}]);
});
}
else
if
(
_this
.
save
&&
_this
.
save
instanceof
Function
)
{
_this
.
save
();
}
}
/**
* 保存并新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof ActivityPointerEditView2Base
*/
public
SaveAndNew
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
!
xData
||
!
(
xData
.
saveAndNew
instanceof
Function
))
{
return
;
}
xData
.
saveAndNew
().
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
_this
.
$emit
(
'viewdataschange'
,
JSON
.
stringify
({
status
:
'error'
,
action
:
'saveAndNew'
}));
return
;
}
_this
.
$emit
(
'viewdataschange'
,
JSON
.
stringify
({
status
:
'success'
,
action
:
'saveAndNew'
,
data
:
response
.
data
}));
if
(
xData
.
autoLoad
instanceof
Function
)
{
xData
.
autoLoad
();
}
});
}
/**
* 保存并关闭
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof ActivityPointerEditView2Base
*/
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 ActivityPointerEditView2Base
*/
public
RemoveAndExit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
xData
&&
xData
.
removeAndExit
instanceof
Function
)
{
xData
.
removeAndExit
().
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
if
(
window
.
parent
){
window
.
parent
.
postMessage
([{
...
response
.
data
}],
'*'
);
}
});
}
else
if
(
_this
.
removeAndExit
&&
_this
.
removeAndExit
instanceof
Function
)
{
_this
.
removeAndExit
().
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 ActivityPointerEditView2Base
*/
public
SaveAndStart
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
!
xData
||
!
(
xData
.
wfstart
instanceof
Function
))
{
return
;
}
xData
.
wfstart
(
args
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
const
{
data
:
_data
}
=
response
;
if
(
window
.
parent
){
window
.
parent
.
postMessage
({
...
_data
},
'*'
);
}
if
(
_this
.
viewdata
)
{
_this
.
$emit
(
'viewdataschange'
,
[{
...
_data
}]);
_this
.
$emit
(
'close'
);
}
else
if
(
this
.
$tabPageExp
)
{
this
.
$tabPageExp
.
onClose
(
this
.
$route
.
fullPath
);
}
});
}
/**
* 当前流程步骤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof ActivityPointerEditView2Base
*/
public
ViewWFStep
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
let
_this
:
any
=
this
;
if
(
!
xData
||
!
(
xData
.
wfsubmit
instanceof
Function
))
{
return
;
}
xData
.
wfsubmit
(
args
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
const
{
data
:
_data
}
=
response
;
if
(
_this
.
viewdata
)
{
_this
.
$emit
(
'viewdataschange'
,
[{
...
_data
}]);
_this
.
$emit
(
'close'
);
}
else
if
(
_this
.
$tabPageExp
)
{
_this
.
$tabPageExp
.
onClose
(
_this
.
$route
.
fullPath
);
}
});
}
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof ActivityPointerEditView2Base
*/
public
New
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
_this
.
newdata
&&
_this
.
newdata
instanceof
Function
)
{
const
data
:
any
=
{};
_this
.
newdata
([{
...
data
}],[{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'newdata 视图处理逻辑不存在,请添加!'
});
}
}
/**
* 拷贝
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof ActivityPointerEditView2Base
*/
public
Copy
(
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
.
newdata
&&
_this
.
newdata
instanceof
Function
)
{
const
data
:
any
=
{};
if
(
args
.
length
>
0
)
{
Object
.
assign
(
data
,
{
srfsourcekey
:
args
[
0
].
srfkey
})
actionContext
.
$store
.
commit
(
'addCopyData'
,
{
srfkey
:
args
[
0
].
srfkey
,
copyData
:
args
[
0
]
});
}
_this
.
newdata
([{
...
data
}],[{
...
data
}],
params
,
$event
,
xData
);
}
else
if
(
xData
&&
xData
.
copy
instanceof
Function
)
{
if
(
args
.
length
>
0
)
{
actionContext
.
$store
.
commit
(
'addCopyData'
,
{
srfkey
:
args
[
0
].
srfkey
,
copyData
:
args
[
0
]
});
}
xData
.
copy
(
args
[
0
].
srfkey
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'opendata 视图处理逻辑不存在,请添加!'
});
}
}
/**
* 打印
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof ActivityPointerEditView2Base
*/
public
Print
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
let
_this
:
any
=
this
;
if
(
!
xData
||
!
(
xData
.
print
instanceof
Function
)
||
!
$event
)
{
return
;
}
xData
.
print
();
}
}
\ No newline at end of file
app_CRM/src/pages/base/activity-pointer-edit-view2/activity-pointer-edit-view2.html
0 → 100644
浏览文件 @
d4044f01
!!!!模版产生代码错误:----
FTL stack trace ("~" means nesting-related):
- Failed at: ${P.getLayoutCode("VIEW.vue").code} [in template "TEMPLCODE_zh_CN" at line 1, column 1]
----
无法获取指定部件[VIEWLAYOUTPANEL#APPDEEDITVIEW2_STYLE2]发布代码[VIEW.vue]
\ No newline at end of file
app_CRM/src/pages/base/activity-pointer-edit-view2/activity-pointer-edit-view2.less
0 → 100644
浏览文件 @
d4044f01
!!!!模版产生代码错误:----
FTL stack trace ("~" means nesting-related):
- Failed at: ${P.getLayoutCode().code} [in template "TEMPLCODE_zh_CN" at line 1, column 1]
----
无法获取指定部件[VIEWLAYOUTPANEL#APPDEEDITVIEW2_STYLE2]发布代码[VIEW.less]
\ No newline at end of file
app_CRM/src/pages/base/activity-pointer-edit-view2/activity-pointer-edit-view2.vue
0 → 100644
浏览文件 @
d4044f01
<
template
src=
"./activity-pointer-edit-view2.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { ActivityPointerEditView2Base } from './activity-pointer-edit-view2-base';
import view_form from '@widgets/activity-pointer/main-form/main-form.vue';
import view_drbar from '@widgets/activity-pointer/default-drbar/default-drbar.vue';
/**
* 活动编辑视图视图
*
* @export
* @class ActivityPointerEditView2
* @extends {ActivityPointerEditView2Base}
*/
@Component({
components: {
view_form,
view_drbar,
}
})
@VueLifeCycleProcessing()
export default class ActivityPointerEditView2 extends ActivityPointerEditView2Base { }
</script>
app_CRM/src/pages/base/activity-pointer-grid-view/activity-pointer-grid-view-base.tsx
浏览文件 @
d4044f01
...
...
@@ -417,8 +417,16 @@ export class ActivityPointerGridViewBase extends GridViewBase {
Object
.
assign
(
tempContext
,
args
[
0
]);
}
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[];
// todo 实体数据重定向视图
const
parameters
:
any
[]
=
[
{
pathName
:
'activitypointers'
,
parameterName
:
'activitypointer'
},
{
pathName
:
'editview2'
,
parameterName
:
'editview2'
},
];
const
_this
:
any
=
this
;
const
openIndexViewTab
=
(
data
:
any
)
=>
{
const
routePath
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
tempContext
,
deResParameters
,
parameters
,
args
,
data
);
this
.
$router
.
push
(
routePath
);
}
openIndexViewTab
(
data
);
}
...
...
app_CRM/src/pages/base/central/page-register.ts
浏览文件 @
d4044f01
...
...
@@ -113,6 +113,7 @@ export const PageComponents = {
Vue
.
component
(
'lead-on-grid-view'
,
()
=>
import
(
'@pages/sales/lead-on-grid-view/lead-on-grid-view.vue'
));
Vue
.
component
(
'lead-info'
,
()
=>
import
(
'@pages/sales/lead-info/lead-info.vue'
));
Vue
.
component
(
'product-revise-grid-view'
,
()
=>
import
(
'@pages/product/product-revise-grid-view/product-revise-grid-view.vue'
));
Vue
.
component
(
'activity-pointer-edit-view2'
,
()
=>
import
(
'@pages/base/activity-pointer-edit-view2/activity-pointer-edit-view2.vue'
));
Vue
.
component
(
'transaction-currency-edit-view'
,
()
=>
import
(
'@pages/base/transaction-currency-edit-view/transaction-currency-edit-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'
));
...
...
app_CRM/src/pages/base/central/router.ts
浏览文件 @
d4044f01
...
...
@@ -4694,6 +4694,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/product/product-revise-grid-view/product-revise-grid-view.vue'
),
},
{
path
:
'activitypointers/:activitypointer?/editview2/:editview2?'
,
meta
:
{
caption
:
'entities.activitypointer.views.editview2.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'activitypointers'
,
parameterName
:
'activitypointer'
},
{
pathName
:
'editview2'
,
parameterName
:
'editview2'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/activity-pointer-edit-view2/activity-pointer-edit-view2.vue'
),
},
{
path
:
'transactioncurrencies/:transactioncurrency?/editview/:editview?'
,
meta
:
{
...
...
app_CRM/src/store/modules/view-action/state.ts
浏览文件 @
d4044f01
...
...
@@ -1038,12 +1038,12 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'899dbdcf77250023245eb323c6cdeb05'
,
'24e222a530526aab94ed4ed22cfedf9a'
,
'99d4a530c13b03a98cd143f341394354'
,
'30458f00562fda145be535e56948b067'
,
'b3cfac5362b3bfb70d1471932f120fa5'
,
'3d538df4ca389d372347f7b53d67269f'
,
'59d96f3264f6adad0e57dae21b778ddf'
,
'a50134133db91e46c8434ad0ebff22c7'
,
'a95d7d9111bc13a8b73a11ee1e4ff92a'
,
'3f78dcc732a7a8ba6d959dcf6007b225'
,
...
...
@@ -1231,6 +1231,15 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'59d96f3264f6adad0e57dae21b778ddf'
,
viewmodule
:
'Base'
,
viewname
:
'ActivityPointerEditView2'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'5c3ef659dc4205cfed28ea4bcbd54cf8'
,
viewmodule
:
'Finance'
,
...
...
app_CRM/src/uiservice/activity-pointer/activity-pointer-ui-service-base.ts
浏览文件 @
d4044f01
...
...
@@ -91,6 +91,7 @@ export default class ActivityPointerUIServiceBase extends UIService {
public
initViewMap
(){
this
.
allViewMap
.
set
(
'EDITVIEW:'
,{
viewname
:
'editview'
,
srfappde
:
'activitypointers'
});
this
.
allViewMap
.
set
(
'MDATAVIEW:'
,{
viewname
:
'gridview'
,
srfappde
:
'activitypointers'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'editview2'
,
srfappde
:
'activitypointers'
});
this
.
allViewMap
.
set
(
'REDIRECTVIEW:'
,{
viewname
:
'redirectview'
,
srfappde
:
'activitypointers'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'byparentkey'
,
srfappde
:
'activitypointers'
});
}
...
...
app_CRM/src/widgets/activity-pointer/default-drbar/default-drbar-base.tsx
0 → 100644
浏览文件 @
d4044f01
import
{
Prop
,
Provide
,
Emit
,
Model
}
from
'vue-property-decorator'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
Watch
,
MainControlBase
}
from
'@/studio-core'
;
import
ActivityPointerService
from
'@/service/activity-pointer/activity-pointer-service'
;
import
DefaultService
from
'./default-drbar-service'
;
import
ActivityPointerUIService
from
'@/uiservice/activity-pointer/activity-pointer-ui-service'
;
/**
* drbar部件基类
*
* @export
* @class MainControlBase
* @extends {DefaultDRBarBase}
*/
export
class
DefaultDRBarBase
extends
MainControlBase
{
/**
* 获取部件类型
*
* @protected
* @type {string}
* @memberof DefaultDRBarBase
*/
protected
controlType
:
string
=
'DRBAR'
;
/**
* 建构部件服务对象
*
* @type {DefaultService}
* @memberof DefaultDRBarBase
*/
public
service
:
DefaultService
=
new
DefaultService
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {ActivityPointerService}
* @memberof DefaultDRBarBase
*/
public
appEntityService
:
ActivityPointerService
=
new
ActivityPointerService
({
$store
:
this
.
$store
});
/**
* 应用实体名称
*
* @protected
* @type {string}
* @memberof DefaultDRBarBase
*/
protected
appDeName
:
string
=
'activitypointer'
;
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof Default
*/
public
getDatas
():
any
[]
{
return
this
.
items
;
}
/**
* 获取单项树
*
* @returns {*}
* @memberof Default
*/
public
getData
():
any
{
return
this
.
selection
;
}
/**
* 加载行为
*
* @type {string}
* @memberof Default
*/
@
Prop
()
public
loadAction
?:
string
;
/**
* 表单数据
*
* @type {*}
* @memberof DefaultBase
*/
@
Prop
({
default
:{}})
public
formData
?:
any
;
/**
* 数据选中项
*
* @type {*}
* @memberof Default
*/
public
selection
:
any
=
{};
/**
* 关系栏数据项
*
* @type {any[]}
* @memberof Default
*/
public
items
:
any
[]
=
[
{
text
:
"主表单"
,
disabled
:
false
,
id
:
"form"
,
},
];
/**
* 关系栏数据项导航参数集合
*
* @type {any[]}
* @memberof DefaultBase
*/
public
navParamsArray
:
Array
<
any
>
=
[
];
/**
* 默认打开项
*
* @type {string[]}
* @memberof Default
*/
public
defaultOpeneds
:
string
[]
=
[];
/**
* 父数据
*
* @public
* @type {*}
* @memberof Default
*/
public
parentData
:
any
=
{};
/**
* 宽度
*
* @type {number}
* @memberof Default
*/
public
width
:
number
=
240
;
/**
* 生命周期
*
* @memberof Default
*/
public
created
():
void
{
if
(
this
.
viewState
)
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
if
(
!
Object
.
is
(
tag
,
this
.
name
))
{
return
;
}
if
(
Object
.
is
(
'state'
,
action
))
{
const
state
=
!
this
.
context
.
activitypointer
?
true
:
false
;
this
.
setItemDisabled
(
this
.
items
,
state
);
}
});
}
this
.
$nextTick
(()
=>
{
this
.
onSelect
(
this
.
items
[
0
].
id
)
this
.
$emit
(
'selectionchange'
,
[
this
.
items
[
0
]]);
});
}
/**
* vue 生命周期
*
* @memberof Default
*/
public
destroyed
()
{
if
(
this
.
viewStateEvent
)
{
this
.
viewStateEvent
.
unsubscribe
();
}
}
/**
* 获取关系项
*
* @public
* @param {*} [arg={}]
* @returns {*}
* @memberof Default
*/
public
getDRBarItem
(
arg
:
any
=
{}):
any
{
let
expmode
=
arg
.
nodetype
;
if
(
!
expmode
)
{
expmode
=
''
;
}
return
undefined
;
}
/**
* 处理数据
*
* @public
* @param {any[]} items
* @memberof Default
*/
public
dataProcess
(
items
:
any
[]):
void
{
items
.
forEach
((
_item
:
any
)
=>
{
if
(
_item
.
expanded
)
{
this
.
defaultOpeneds
.
push
(
_item
.
id
);
}
_item
.
disabled
=
false
;
if
(
_item
.
items
&&
Array
.
isArray
(
_item
.
items
)
&&
_item
.
items
.
length
>
0
)
{
this
.
dataProcess
(
_item
.
items
);
}
});
}
/**
* 获取子项
*
* @param {any[]} items
* @param {string} id
* @returns {*}
* @memberof Default
*/
public
getItem
(
items
:
any
[],
id
:
string
):
any
{
const
item
:
any
=
{};
items
.
some
((
_item
:
any
)
=>
{
if
(
Object
.
is
(
_item
.
id
,
id
))
{
Object
.
assign
(
item
,
_item
);
return
true
;
}
if
(
_item
.
items
&&
_item
.
items
.
length
>
0
)
{
const
subItem
=
this
.
getItem
(
_item
.
items
,
id
);
if
(
Object
.
keys
(
subItem
).
length
>
0
)
{
Object
.
assign
(
item
,
subItem
);
return
true
;
}
}
return
false
;
});
return
item
;
}
/**
* 初始化导航参数
*
* @param {*} drItem
* @memberof DefaultBase
*/
public
initNavParam
(
drItem
:
any
){
let
returnNavParam
:
any
=
{};
if
(
drItem
&&
drItem
.
id
){
let
curDRItem
:
any
=
this
.
navParamsArray
.
find
((
item
:
any
)
=>
{
return
Object
.
is
(
item
.
id
,
drItem
.
id
);
})
if
(
curDRItem
){
let
localContext
:
any
=
curDRItem
.
localContext
;
let
localViewParam
:
any
=
curDRItem
.
localViewParam
;
if
(
localContext
&&
Object
.
keys
(
localContext
).
length
>
0
){
let
_context
:
any
=
this
.
$util
.
computedNavData
(
this
.
formData
,
this
.
context
,
this
.
viewparams
,
localContext
);
returnNavParam
.
localContext
=
_context
;
}
if
(
localViewParam
&&
Object
.
keys
(
localViewParam
).
length
>
0
){
let
_params
:
any
=
this
.
$util
.
computedNavData
(
this
.
formData
,
this
.
context
,
this
.
viewparams
,
localViewParam
);
returnNavParam
.
localViewParam
=
_params
;
}
return
returnNavParam
;
}
else
{
return
null
;
}
}
}
/**
* 节点选中
*
* @param {*} $event
* @memberof Default
*/
public
onSelect
(
$event
:
any
):
void
{
const
item
=
this
.
getItem
(
this
.
items
,
$event
);
if
(
Object
.
is
(
item
.
id
,
this
.
selection
.
id
))
{
return
;
}
this
.
$emit
(
'selectionchange'
,
[
item
]);
let
localNavParam
:
any
=
this
.
initNavParam
(
item
);
const
refview
=
this
.
getDRBarItem
({
nodetype
:
item
.
id
});
this
.
selection
=
{};
const
_context
:
any
=
{
...
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
))
};
if
(
localNavParam
&&
localNavParam
.
localContext
){
Object
.
assign
(
_context
,
localNavParam
.
localContext
);
}
const
_params
:
any
=
{};
if
(
localNavParam
&&
localNavParam
.
localViewParam
){
Object
.
assign
(
_params
,
localNavParam
.
localViewParam
);
}
if
(
refview
&&
refview
.
parentdatajo
)
{
Object
.
assign
(
_context
,
refview
.
parentdatajo
);
Object
.
assign
(
this
.
selection
,
{
view
:
{
viewname
:
refview
.
viewname
},
data
:
_context
,
param
:
_params
});
}
Object
.
assign
(
this
.
selection
,
item
);
}
/**
* 子节点打开
*
* @param {*} $event
* @memberof Default
*/
public
onOpen
(
$event
:
any
):
void
{
const
item
=
this
.
getItem
(
this
.
items
,
$event
);
if
(
Object
.
is
(
item
.
id
,
this
.
selection
.
id
))
{
return
;
}
this
.
selection
=
{};
Object
.
assign
(
this
.
selection
,
item
);
if
(
Object
.
is
(
item
.
id
,
'form'
)
||
(
item
.
viewname
&&
!
Object
.
is
(
item
.
viewname
,
''
)))
{
this
.
$emit
(
'selectionchange'
,
[
this
.
selection
]);
}
}
/**
* 子节点关闭
*
* @param {*} $event
* @memberof Default
*/
public
onClose
(
$event
:
any
):
void
{
const
item
=
this
.
getItem
(
this
.
items
,
$event
);
if
(
Object
.
is
(
item
.
id
,
this
.
selection
.
id
))
{
return
;
}
this
.
selection
=
{};
Object
.
assign
(
this
.
selection
,
item
);
if
(
Object
.
is
(
item
.
id
,
'form'
)
||
(
item
.
viewname
&&
!
Object
.
is
(
item
.
viewname
,
''
)))
{
this
.
$emit
(
'selectionchange'
,
[
this
.
selection
]);
}
}
/**
* 设置关系项状态
*
* @param {any[]} items
* @param {boolean} state
* @memberof Default
*/
public
setItemDisabled
(
items
:
any
[],
state
:
boolean
)
{
items
.
forEach
((
item
:
any
)
=>
{
if
(
!
Object
.
is
(
item
.
id
,
'form'
))
{
item
.
disabled
=
state
;
}
if
(
item
.
items
&&
Array
.
isArray
(
item
.
items
))
{
this
.
setItemDisabled
(
item
.
items
,
state
);
}
});
}
}
\ No newline at end of file
app_CRM/src/widgets/activity-pointer/default-drbar/default-drbar-model.ts
0 → 100644
浏览文件 @
d4044f01
/**
* Default 部件模型
*
* @export
* @class DefaultModel
*/
export
default
class
DefaultModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof DefaultModel
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'seriesid'
,
},
{
name
:
'traversedpath'
,
},
{
name
:
'deliveryprioritycode'
,
},
{
name
:
'onholdtime'
,
},
{
name
:
'workflowcreated'
,
},
{
name
:
'senton'
,
},
{
name
:
'lastonholdtime'
,
},
{
name
:
'actualdurationminutes'
,
},
{
name
:
'regardingobjectid'
,
},
{
name
:
'deliverylastattemptedon'
,
},
{
name
:
'mapiprivate'
,
},
{
name
:
'actualend'
,
},
{
name
:
'description'
,
},
{
name
:
'prioritycode'
,
},
{
name
:
'ownertype'
,
},
{
name
:
'billed'
,
},
{
name
:
'regularactivity'
,
},
{
name
:
'utcconversiontimezonecode'
,
},
{
name
:
'createman'
,
},
{
name
:
'scheduleddurationminutes'
,
},
{
name
:
'activityadditionalparams'
,
},
{
name
:
'activitypointer'
,
prop
:
'activityid'
,
},
{
name
:
'updatedate'
,
},
{
name
:
'stageid'
,
},
{
name
:
'leftvoicemail'
,
},
{
name
:
'scheduledend'
,
},
{
name
:
'exchangeitemid'
,
},
{
name
:
'exchangerate'
,
},
{
name
:
'scheduledstart'
,
},
{
name
:
'instancetypecode'
,
},
{
name
:
'regardingobjectname'
,
},
{
name
:
'regardingobjecttypecode'
,
},
{
name
:
'sortdate'
,
},
{
name
:
'createdate'
,
},
{
name
:
'ownername'
,
},
{
name
:
'community'
,
},
{
name
:
'ownerid'
,
},
{
name
:
'processid'
,
},
{
name
:
'slaname'
,
},
{
name
:
'subject'
,
},
{
name
:
'versionnumber'
,
},
{
name
:
'allparties'
,
},
{
name
:
'updateman'
,
},
{
name
:
'exchangeweblink'
,
},
{
name
:
'statuscode'
,
},
{
name
:
'timezoneruleversionnumber'
,
},
{
name
:
'actualstart'
,
},
{
name
:
'activitytypecode'
,
},
{
name
:
'regardingobjectidname'
,
},
{
name
:
'statecode'
,
},
{
name
:
'serviceid'
,
},
{
name
:
'transactioncurrencyid'
,
},
{
name
:
'slaid'
,
},
]
}
}
\ No newline at end of file
app_CRM/src/widgets/activity-pointer/default-drbar/default-drbar-service.ts
0 → 100644
浏览文件 @
d4044f01
import
{
Http
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
/**
* Default 部件服务对象
*
* @export
* @class DefaultService
*/
export
default
class
DefaultService
extends
ControlService
{
}
\ No newline at end of file
app_CRM/src/widgets/activity-pointer/default-drbar/default-drbar.html
0 → 100644
浏览文件 @
d4044f01
<layout
class=
'app-dr-bar'
>
<sider
:width=
"width"
>
<el-menu
:default-openeds=
"defaultOpeneds"
:default-active=
"items[0].id"
@
select=
"onSelect.apply(_self, arguments)"
@
open=
"onOpen.apply(_self, arguments)"
@
close=
"onClose.apply(_self, arguments)"
>
<app-sider-menus
:menus=
"items"
></app-sider-menus>
</el-menu>
</sider>
<content
:style=
"{ width: `calc(100% - ${this.width + 1}px)` }"
>
<div
class=
'main-data'
v-show=
"Object.is(this.selection.id, 'form')"
>
<slot></slot>
</div>
<component
v-if=
"!Object.is(this.selection.id, 'form') && this.selection.view && !Object.is(this.selection.view.viewname, '')"
:is=
"selection.view.viewname"
class=
"viewcontainer2"
:viewDefaultUsage=
"false"
:viewdata=
"JSON.stringify(selection.data)"
:viewparam=
"JSON.stringify(selection.param)"
:key=
"this.$util.createUUID()"
>
</component>
</content>
</layout>
\ No newline at end of file
app_CRM/src/widgets/activity-pointer/default-drbar/default-drbar.vue
0 → 100644
浏览文件 @
d4044f01
<
template
src=
"./default-drbar.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { DefaultDRBarBase } from './default-drbar-base';
/**
* drbar部件
*
* @export
* @class DefaultDRBar
* @extends {DefaultDRBarBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class DefaultDRBar extends DefaultDRBarBase { }
</script>
businesscentral-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
d4044f01
...
...
@@ -466,7 +466,7 @@
<!--输出实体[ACTIVITYPOINTER]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-activitypointer-8
7
-4"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-activitypointer-8
9
-4"
>
<createTable
tableName=
"ACTIVITYPOINTER"
>
<column
name=
"SERIESID"
remarks=
""
type=
"VARCHAR(60)"
>
</column>
...
...
@@ -11016,13 +11016,13 @@
<addForeignKeyConstraint
baseColumnNames=
"RESOURCESPECID"
baseTableName=
"ACTIVITYPARTY"
constraintName=
"DER1N_ACTIVITYPARTY__RESOURCES"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"RESOURCESPECID"
referencedTableName=
"RESOURCESPEC"
validate=
"true"
/>
</changeSet>
<!--输出实体[ACTIVITYPOINTER]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-activitypointer-8
7
-146"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-activitypointer-8
9
-146"
>
<addForeignKeyConstraint
baseColumnNames=
"SERVICEID"
baseTableName=
"ACTIVITYPOINTER"
constraintName=
"DER1N_ACTIVITYPOINTER__SERVICE"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SERVICEID"
referencedTableName=
"SERVICE"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-activitypointer-8
7
-147"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-activitypointer-8
9
-147"
>
<addForeignKeyConstraint
baseColumnNames=
"SLAID"
baseTableName=
"ACTIVITYPOINTER"
constraintName=
"DER1N_ACTIVITYPOINTER__SLA__SL"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SLAID"
referencedTableName=
"SLA"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-activitypointer-8
7
-148"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-activitypointer-8
9
-148"
>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"ACTIVITYPOINTER"
constraintName=
"DER1N_ACTIVITYPOINTER__TRANSAC"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
<!--输出实体[ANNOTATION]外键关系 -->
...
...
businesscentral-core/src/main/resources/mapper/base/activitypointer/ActivityPointerMapper.xml
浏览文件 @
d4044f01
...
...
@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select
id=
"selectById"
resultMap=
"ActivityPointerResultMap"
databaseId=
"mysql"
>
<![CDATA[select t1.* from (SELECT t1.`ACTIVITYADDITIONALPARAMS`, t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`ALLPARTIES`, t1.`BILLED`, t1.`COMMUNITY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DELIVERYLASTATTEMPTEDON`, t1.`DELIVERYPRIORITYCODE`, t1.`DESCRIPTION`, t1.`EXCHANGEITEMID`, t1.`EXCHANGERATE`, t1.`EXCHANGEWEBLINK`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`MAPIPRIVATE`, t1.`ONHOLDTIME`, t1.`OWNERID`, t1.`OWNER
IDTYPE`, t1.`OWNERNAM
E`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTIDNAME`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SENTON`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBJECT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `ACTIVITYPOINTER` t1 ) t1 where activityid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`ACTIVITYADDITIONALPARAMS`, t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`ALLPARTIES`, t1.`BILLED`, t1.`COMMUNITY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DELIVERYLASTATTEMPTEDON`, t1.`DELIVERYPRIORITYCODE`, t1.`DESCRIPTION`, t1.`EXCHANGEITEMID`, t1.`EXCHANGERATE`, t1.`EXCHANGEWEBLINK`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`MAPIPRIVATE`, t1.`ONHOLDTIME`, t1.`OWNERID`, t1.`OWNER
NAME`, t1.`OWNERTYP
E`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTIDNAME`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SENTON`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBJECT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `ACTIVITYPOINTER` t1 ) t1 where activityid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
...
...
@@ -66,18 +66,18 @@
<!--数据查询[ByParentKey]-->
<sql
id=
"ByParentKey"
databaseId=
"mysql"
>
<![CDATA[ SELECT t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BILLED`, t1.`COMMUNITY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DELIVERYLASTATTEMPTEDON`, t1.`DELIVERYPRIORITYCODE`, t1.`DESCRIPTION`, t1.`EXCHANGEITEMID`, t1.`EXCHANGERATE`, t1.`EXCHANGEWEBLINK`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`MAPIPRIVATE`, t1.`ONHOLDTIME`, t1.`OWNERID`, t1.`OWNER
IDTYPE`, t1.`OWNERNAM
E`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTIDNAME`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SENTON`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBJECT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `ACTIVITYPOINTER` t1
<![CDATA[ SELECT t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BILLED`, t1.`COMMUNITY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DELIVERYLASTATTEMPTEDON`, t1.`DELIVERYPRIORITYCODE`, t1.`DESCRIPTION`, t1.`EXCHANGEITEMID`, t1.`EXCHANGERATE`, t1.`EXCHANGEWEBLINK`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`MAPIPRIVATE`, t1.`ONHOLDTIME`, t1.`OWNERID`, t1.`OWNER
NAME`, t1.`OWNERTYP
E`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTIDNAME`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SENTON`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBJECT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `ACTIVITYPOINTER` t1
WHERE ( t1.`REGARDINGOBJECTID` = #{srf.datacontext.srfparentkey} )
]]>
</sql>
<!--数据查询[Default]-->
<sql
id=
"Default"
databaseId=
"mysql"
>
<![CDATA[ SELECT t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BILLED`, t1.`COMMUNITY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DELIVERYLASTATTEMPTEDON`, t1.`DELIVERYPRIORITYCODE`, t1.`DESCRIPTION`, t1.`EXCHANGEITEMID`, t1.`EXCHANGERATE`, t1.`EXCHANGEWEBLINK`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`MAPIPRIVATE`, t1.`ONHOLDTIME`, t1.`OWNERID`, t1.`OWNER
IDTYPE`, t1.`OWNERNAM
E`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTIDNAME`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SENTON`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBJECT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `ACTIVITYPOINTER` t1
<![CDATA[ SELECT t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BILLED`, t1.`COMMUNITY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DELIVERYLASTATTEMPTEDON`, t1.`DELIVERYPRIORITYCODE`, t1.`DESCRIPTION`, t1.`EXCHANGEITEMID`, t1.`EXCHANGERATE`, t1.`EXCHANGEWEBLINK`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`MAPIPRIVATE`, t1.`ONHOLDTIME`, t1.`OWNERID`, t1.`OWNER
NAME`, t1.`OWNERTYP
E`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTIDNAME`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SENTON`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBJECT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `ACTIVITYPOINTER` t1
]]>
</sql>
<!--数据查询[View]-->
<sql
id=
"View"
databaseId=
"mysql"
>
<![CDATA[ SELECT t1.`ACTIVITYADDITIONALPARAMS`, t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`ALLPARTIES`, t1.`BILLED`, t1.`COMMUNITY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DELIVERYLASTATTEMPTEDON`, t1.`DELIVERYPRIORITYCODE`, t1.`DESCRIPTION`, t1.`EXCHANGEITEMID`, t1.`EXCHANGERATE`, t1.`EXCHANGEWEBLINK`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`MAPIPRIVATE`, t1.`ONHOLDTIME`, t1.`OWNERID`, t1.`OWNER
IDTYPE`, t1.`OWNERNAM
E`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTIDNAME`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SENTON`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBJECT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `ACTIVITYPOINTER` t1
<![CDATA[ SELECT t1.`ACTIVITYADDITIONALPARAMS`, t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`ALLPARTIES`, t1.`BILLED`, t1.`COMMUNITY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DELIVERYLASTATTEMPTEDON`, t1.`DELIVERYPRIORITYCODE`, t1.`DESCRIPTION`, t1.`EXCHANGEITEMID`, t1.`EXCHANGERATE`, t1.`EXCHANGEWEBLINK`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`MAPIPRIVATE`, t1.`ONHOLDTIME`, t1.`OWNERID`, t1.`OWNER
NAME`, t1.`OWNERTYP
E`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTIDNAME`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SENTON`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBJECT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `ACTIVITYPOINTER` t1
]]>
</sql>
</mapper>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录