Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
e664f821
提交
e664f821
编写于
7月 17, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
4ff5d4c2
变更
12
展开全部
显示空白字符变更
内嵌
并排
正在显示
12 个修改的文件
包含
176 行增加
和
416 行删除
+176
-416
favicon.ico
app_CRM/public/favicon.ico
+0
-0
app-picker.vue
app_CRM/src/components/app-picker/app-picker.vue
+10
-0
activity-pointer_en_US.ts
...anres/entities/activity-pointer/activity-pointer_en_US.ts
+6
-38
activity-pointer_zh_CN.ts
...anres/entities/activity-pointer/activity-pointer_zh_CN.ts
+2
-34
activity-pointer-by-parent-key-base.tsx
...ter-by-parent-key/activity-pointer-by-parent-key-base.tsx
+25
-116
activity-pointer-grid-view-base.tsx
...ity-pointer-grid-view/activity-pointer-grid-view-base.tsx
+25
-116
page-register.ts
app_CRM/src/pages/base/central/page-register.ts
+1
-1
router.ts
app_CRM/src/pages/base/central/router.ts
+10
-10
campaign-service-base.ts
app_CRM/src/service/campaign/campaign-service-base.ts
+47
-47
ibiz-list-service-base.ts
app_CRM/src/service/ibiz-list/ibiz-list-service-base.ts
+41
-41
state.ts
app_CRM/src/store/modules/view-action/state.ts
+5
-9
h2_table.xml
...esscentral-core/src/main/resources/liquibase/h2_table.xml
+4
-4
未找到文件。
app_CRM/public/favicon.ico
查看替换文件 @
4ff5d4c2
浏览文件 @
e664f821
4.2 KB
|
W:
|
H:
1.1 KB
|
W:
|
H:
2-up
Swipe
Onion skin
app_CRM/src/components/app-picker/app-picker.vue
浏览文件 @
e664f821
...
...
@@ -184,6 +184,13 @@ export default class AppPicker extends Vue {
*/
@
Prop
()
public
extraFillParams
?:
any
;
/**
* 值格式
*
* @memberof AppPicker
*/
@
Prop
()
public
valFormat
?:
any
;
/**
* 值
*
...
...
@@ -238,6 +245,9 @@ export default class AppPicker extends Vue {
*/
get
refvalue
()
{
if
(
this
.
valueitem
&&
this
.
data
)
{
if
(
this
.
valFormat
&&
this
.
valFormat
.
hasOwnProperty
(
this
.
data
[
this
.
valueitem
]))
{
return
this
.
valFormat
[
this
.
data
[
this
.
valueitem
]];
}
return
this
.
data
[
this
.
valueitem
];
}
return
this
.
curvalue
;
...
...
app_CRM/src/locale/lanres/entities/activity-pointer/activity-pointer_en_US.ts
浏览文件 @
e664f821
...
...
@@ -118,25 +118,9 @@ export default {
},
},
byparentkeytoolbar_toolbar
:
{
items1
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
deuiaction2
:
{
caption
:
"任务"
,
tip
:
"任务"
,
},
deuiaction3
:
{
caption
:
"电子邮件"
,
tip
:
"电子邮件"
,
},
deuiaction4
:
{
caption
:
"约会"
,
tip
:
"约会"
,
},
deuiaction5
:
{
caption
:
"电话联络"
,
tip
:
"电话联络"
,
deuiaction6
:
{
caption
:
"New"
,
tip
:
"New"
,
},
tbitem4
:
{
caption
:
"Edit"
,
...
...
@@ -198,25 +182,9 @@ export default {
},
},
gridviewtoolbar_toolbar
:
{
items1
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
deuiaction2
:
{
caption
:
"任务"
,
tip
:
"任务"
,
},
deuiaction3
:
{
caption
:
"电子邮件"
,
tip
:
"电子邮件"
,
},
deuiaction4
:
{
caption
:
"约会"
,
tip
:
"约会"
,
},
deuiaction5
:
{
caption
:
"电话联络"
,
tip
:
"电话联络"
,
deuiaction6
:
{
caption
:
"New"
,
tip
:
"New"
,
},
tbitem4
:
{
caption
:
"Edit"
,
...
...
app_CRM/src/locale/lanres/entities/activity-pointer/activity-pointer_zh_CN.ts
浏览文件 @
e664f821
...
...
@@ -117,26 +117,10 @@ export default {
},
},
byparentkeytoolbar_toolbar
:
{
items1
:
{
deuiaction6
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
deuiaction2
:
{
caption
:
"任务"
,
tip
:
"任务"
,
},
deuiaction3
:
{
caption
:
"电子邮件"
,
tip
:
"电子邮件"
,
},
deuiaction4
:
{
caption
:
"约会"
,
tip
:
"约会"
,
},
deuiaction5
:
{
caption
:
"电话联络"
,
tip
:
"电话联络"
,
},
tbitem4
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
...
...
@@ -197,26 +181,10 @@ export default {
},
},
gridviewtoolbar_toolbar
:
{
items1
:
{
deuiaction6
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
deuiaction2
:
{
caption
:
"任务"
,
tip
:
"任务"
,
},
deuiaction3
:
{
caption
:
"电子邮件"
,
tip
:
"电子邮件"
,
},
deuiaction4
:
{
caption
:
"约会"
,
tip
:
"约会"
,
},
deuiaction5
:
{
caption
:
"电话联络"
,
tip
:
"电话联络"
,
},
tbitem4
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
...
...
app_CRM/src/pages/base/activity-pointer-by-parent-key/activity-pointer-by-parent-key-base.tsx
浏览文件 @
e664f821
...
...
@@ -4,10 +4,6 @@ import { GridViewBase } from '@/studio-core';
import
ActivityPointerService
from
'@/service/activity-pointer/activity-pointer-service'
;
import
ActivityPointerAuthService
from
'@/authservice/activity-pointer/activity-pointer-auth-service'
;
import
GridViewEngine
from
'@engine/view/grid-view-engine'
;
import
TaskUIService
from
'@/uiservice/task/task-ui-service'
;
import
EmailUIService
from
'@/uiservice/email/email-ui-service'
;
import
AppointmentUIService
from
'@/uiservice/appointment/appointment-ui-service'
;
import
PhoneCallUIService
from
'@/uiservice/phone-call/phone-call-ui-service'
;
import
ActivityPointerUIService
from
'@/uiservice/activity-pointer/activity-pointer-ui-service'
;
import
CodeListService
from
"@service/app/codelist-service"
;
...
...
@@ -107,18 +103,8 @@ export class ActivityPointerByParentKeyBase extends GridViewBase {
* @memberof ActivityPointerByParentKey
*/
public
toolBarModels
:
any
=
{
items1
:
{
name
:
'items1'
,
caption
:
'新建'
,
disabled
:
false
,
type
:
'ITEMS'
,
visabled
:
true
,
dataaccaction
:
''
,
model
:
{
deuiaction2
:
{
name
:
'deuiaction2'
,
caption
:
'任务'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'任务'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Create'
,
target
:
'NONE'
,
class
:
''
}
},
deuiaction6
:
{
name
:
'deuiaction6'
,
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
:
''
}
},
deuiaction3
:
{
name
:
'deuiaction3'
,
caption
:
'电子邮件'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'电子邮件'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Create'
,
target
:
'NONE'
,
class
:
''
}
},
deuiaction4
:
{
name
:
'deuiaction4'
,
caption
:
'约会'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'约会'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Create'
,
target
:
'NONE'
,
class
:
''
}
},
deuiaction5
:
{
name
:
'deuiaction5'
,
caption
:
'电话联络'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'电话联络'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Create'
,
target
:
'NONE'
,
class
:
''
}
},
}
},
tbitem4
:
{
name
:
'tbitem4'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
,
class
:
''
}
},
tbitem26
:
{
name
:
'tbitem26'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
...
...
@@ -181,17 +167,8 @@ export class ActivityPointerByParentKeyBase extends GridViewBase {
* @memberof ActivityPointerByParentKeyBase
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction2'
))
{
this
.
toolbar_deuiaction2_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction3'
))
{
this
.
toolbar_deuiaction3_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction4'
))
{
this
.
toolbar_deuiaction4_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction5'
))
{
this
.
toolbar_deuiaction5_click
(
null
,
''
,
$event2
);
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction6'
))
{
this
.
toolbar_deuiaction6_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem4'
))
{
this
.
toolbar_tbitem4_click
(
null
,
''
,
$event2
);
...
...
@@ -300,94 +277,7 @@ export class ActivityPointerByParentKeyBase extends GridViewBase {
* @param {*} [$event]
* @memberof
*/
public
toolbar_deuiaction2_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
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
const
curUIService
:
TaskUIService
=
new
TaskUIService
();
curUIService
.
Task_Create
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"ActivityPointer"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_deuiaction3_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
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
const
curUIService
:
EmailUIService
=
new
EmailUIService
();
curUIService
.
Email_Create
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"ActivityPointer"
);
}
/**
* 逻辑事件
*
* @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
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
const
curUIService
:
AppointmentUIService
=
new
AppointmentUIService
();
curUIService
.
Appointment_Create
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"ActivityPointer"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_deuiaction5_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
public
toolbar_deuiaction6_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
...
...
@@ -404,8 +294,7 @@ export class ActivityPointerByParentKeyBase extends GridViewBase {
datas
=
[
params
];
}
// 界面行为
const
curUIService
:
PhoneCallUIService
=
new
PhoneCallUIService
();
curUIService
.
PhoneCall_Create
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"ActivityPointer"
);
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"ActivityPointer"
);
}
/**
...
...
@@ -541,6 +430,26 @@ export class ActivityPointerByParentKeyBase extends GridViewBase {
}
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof ActivityPointerByParentKeyBase
*/
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 视图处理逻辑不存在,请添加!'
});
}
}
/**
* 编辑
*
...
...
app_CRM/src/pages/base/activity-pointer-grid-view/activity-pointer-grid-view-base.tsx
浏览文件 @
e664f821
...
...
@@ -4,10 +4,6 @@ import { GridViewBase } from '@/studio-core';
import
ActivityPointerService
from
'@/service/activity-pointer/activity-pointer-service'
;
import
ActivityPointerAuthService
from
'@/authservice/activity-pointer/activity-pointer-auth-service'
;
import
GridViewEngine
from
'@engine/view/grid-view-engine'
;
import
TaskUIService
from
'@/uiservice/task/task-ui-service'
;
import
EmailUIService
from
'@/uiservice/email/email-ui-service'
;
import
AppointmentUIService
from
'@/uiservice/appointment/appointment-ui-service'
;
import
PhoneCallUIService
from
'@/uiservice/phone-call/phone-call-ui-service'
;
import
ActivityPointerUIService
from
'@/uiservice/activity-pointer/activity-pointer-ui-service'
;
import
CodeListService
from
"@service/app/codelist-service"
;
...
...
@@ -107,18 +103,8 @@ export class ActivityPointerGridViewBase extends GridViewBase {
* @memberof ActivityPointerGridView
*/
public
toolBarModels
:
any
=
{
items1
:
{
name
:
'items1'
,
caption
:
'新建'
,
disabled
:
false
,
type
:
'ITEMS'
,
visabled
:
true
,
dataaccaction
:
''
,
model
:
{
deuiaction2
:
{
name
:
'deuiaction2'
,
caption
:
'任务'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'任务'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Create'
,
target
:
'NONE'
,
class
:
''
}
},
deuiaction6
:
{
name
:
'deuiaction6'
,
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
:
''
}
},
deuiaction3
:
{
name
:
'deuiaction3'
,
caption
:
'电子邮件'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'电子邮件'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Create'
,
target
:
'NONE'
,
class
:
''
}
},
deuiaction4
:
{
name
:
'deuiaction4'
,
caption
:
'约会'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'约会'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Create'
,
target
:
'NONE'
,
class
:
''
}
},
deuiaction5
:
{
name
:
'deuiaction5'
,
caption
:
'电话联络'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'电话联络'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Create'
,
target
:
'NONE'
,
class
:
''
}
},
}
},
tbitem4
:
{
name
:
'tbitem4'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
,
class
:
''
}
},
tbitem26
:
{
name
:
'tbitem26'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
...
...
@@ -181,17 +167,8 @@ export class ActivityPointerGridViewBase extends GridViewBase {
* @memberof ActivityPointerGridViewBase
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction2'
))
{
this
.
toolbar_deuiaction2_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction3'
))
{
this
.
toolbar_deuiaction3_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction4'
))
{
this
.
toolbar_deuiaction4_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction5'
))
{
this
.
toolbar_deuiaction5_click
(
null
,
''
,
$event2
);
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction6'
))
{
this
.
toolbar_deuiaction6_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem4'
))
{
this
.
toolbar_tbitem4_click
(
null
,
''
,
$event2
);
...
...
@@ -300,94 +277,7 @@ export class ActivityPointerGridViewBase extends GridViewBase {
* @param {*} [$event]
* @memberof
*/
public
toolbar_deuiaction2_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
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
const
curUIService
:
TaskUIService
=
new
TaskUIService
();
curUIService
.
Task_Create
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"ActivityPointer"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_deuiaction3_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
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
const
curUIService
:
EmailUIService
=
new
EmailUIService
();
curUIService
.
Email_Create
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"ActivityPointer"
);
}
/**
* 逻辑事件
*
* @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
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
const
curUIService
:
AppointmentUIService
=
new
AppointmentUIService
();
curUIService
.
Appointment_Create
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"ActivityPointer"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_deuiaction5_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
public
toolbar_deuiaction6_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
...
...
@@ -404,8 +294,7 @@ export class ActivityPointerGridViewBase extends GridViewBase {
datas
=
[
params
];
}
// 界面行为
const
curUIService
:
PhoneCallUIService
=
new
PhoneCallUIService
();
curUIService
.
PhoneCall_Create
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"ActivityPointer"
);
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"ActivityPointer"
);
}
/**
...
...
@@ -533,6 +422,26 @@ export class ActivityPointerGridViewBase extends GridViewBase {
}
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof ActivityPointerGridViewBase
*/
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 视图处理逻辑不存在,请添加!'
});
}
}
/**
* 编辑
*
...
...
app_CRM/src/pages/base/central/page-register.ts
浏览文件 @
e664f821
...
...
@@ -215,8 +215,8 @@ export const PageComponents = {
Vue
.
component
(
'sales-order-state-tab-view'
,
()
=>
import
(
'@pages/sales/sales-order-state-tab-view/sales-order-state-tab-view.vue'
));
Vue
.
component
(
'list-contact-inner'
,
()
=>
import
(
'@pages/marketing/list-contact-inner/list-contact-inner.vue'
));
Vue
.
component
(
'campaign-info-campagin'
,
()
=>
import
(
'@pages/marketing/campaign-info-campagin/campaign-info-campagin.vue'
));
Vue
.
component
(
'contact-edit-view'
,
()
=>
import
(
'@pages/base/contact-edit-view/contact-edit-view.vue'
));
Vue
.
component
(
'incident-customer-edit-view'
,
()
=>
import
(
'@pages/service/incident-customer-edit-view/incident-customer-edit-view.vue'
));
Vue
.
component
(
'contact-edit-view'
,
()
=>
import
(
'@pages/base/contact-edit-view/contact-edit-view.vue'
));
Vue
.
component
(
'appointment-edit-view'
,
()
=>
import
(
'@pages/base/appointment-edit-view/appointment-edit-view.vue'
));
Vue
.
component
(
'list-account-edit-view'
,
()
=>
import
(
'@pages/marketing/list-account-edit-view/list-account-edit-view.vue'
));
Vue
.
component
(
'incident-edit-data-panel-view'
,
()
=>
import
(
'@pages/service/incident-edit-data-panel-view/incident-edit-data-panel-view.vue'
));
...
...
app_CRM/src/pages/base/central/router.ts
浏览文件 @
e664f821
...
...
@@ -8783,27 +8783,27 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/marketing/campaign-info-campagin/campaign-info-campagin.vue'
),
},
{
path
:
'
accounts/:account?/contacts/:contact
?/editview/:editview?'
,
path
:
'
incidentcustomers/:incidentcustomer
?/editview/:editview?'
,
meta
:
{
caption
:
'entities.
contact
.views.editview.title'
,
caption
:
'entities.
incidentcustomer
.views.editview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'incidentcustomers'
,
parameterName
:
'incidentcustomer'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
base/contact-edit-view/contact
-edit-view.vue'
),
component
:
()
=>
import
(
'@pages/
service/incident-customer-edit-view/incident-customer
-edit-view.vue'
),
},
{
path
:
'contacts/:contact?/editview/:editview?'
,
path
:
'
accounts/:account?/
contacts/:contact?/editview/:editview?'
,
meta
:
{
caption
:
'entities.contact.views.editview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
],
...
...
@@ -8812,18 +8812,18 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/base/contact-edit-view/contact-edit-view.vue'
),
},
{
path
:
'
incidentcustomers/:incidentcustomer
?/editview/:editview?'
,
path
:
'
contacts/:contact
?/editview/:editview?'
,
meta
:
{
caption
:
'entities.
incidentcustomer
.views.editview.title'
,
caption
:
'entities.
contact
.views.editview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'
incidentcustomers'
,
parameterName
:
'incidentcustomer
'
},
{
pathName
:
'
contacts'
,
parameterName
:
'contact
'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
service/incident-customer-edit-view/incident-customer
-edit-view.vue'
),
component
:
()
=>
import
(
'@pages/
base/contact-edit-view/contact
-edit-view.vue'
),
},
{
path
:
'appointments/:appointment?/editview/:editview?'
,
...
...
app_CRM/src/service/campaign/campaign-service-base.ts
浏览文件 @
e664f821
此差异已折叠。
点击以展开。
app_CRM/src/service/ibiz-list/ibiz-list-service-base.ts
浏览文件 @
e664f821
此差异已折叠。
点击以展开。
app_CRM/src/store/modules/view-action/state.ts
浏览文件 @
e664f821
...
...
@@ -1038,19 +1038,17 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'aa79d35850f36fbc1a5085353ecd5af5'
,
'899dbdcf77250023245eb323c6cdeb05'
,
'24e222a530526aab94ed4ed22cfedf9a'
,
'99d4a530c13b03a98cd143f341394354'
,
'30458f00562fda145be535e56948b067'
,
'3d538df4ca389d372347f7b53d67269f'
,
'b3cfac5362b3bfb70d1471932f120fa5'
,
'
a95d7d9111bc13a8b73a11ee1e4ff92a
'
,
'
3d538df4ca389d372347f7b53d67269f
'
,
'a50134133db91e46c8434ad0ebff22c7'
,
'a95d7d9111bc13a8b73a11ee1e4ff92a'
,
'3f78dcc732a7a8ba6d959dcf6007b225'
,
'f84a705f33385d5999fcfb69124932d4'
,
'a5213905238dbc5d8e1a505029105cc9'
,
'899dbdcf77250023245eb323c6cdeb05'
,
'24e222a530526aab94ed4ed22cfedf9a'
,
'99d4a530c13b03a98cd143f341394354'
,
'893e62d6fbdc4580de7e3e802aec9108'
,
],
},
{
...
...
@@ -2534,13 +2532,11 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'aa79d35850f36fbc1a5085353ecd5af5'
,
'24e222a530526aab94ed4ed22cfedf9a'
,
'99d4a530c13b03a98cd143f341394354'
,
'30458f00562fda145be535e56948b067'
,
'b3cfac5362b3bfb70d1471932f120fa5'
,
'3d538df4ca389d372347f7b53d67269f'
,
'893e62d6fbdc4580de7e3e802aec9108'
,
'a50134133db91e46c8434ad0ebff22c7'
,
'a95d7d9111bc13a8b73a11ee1e4ff92a'
,
'3f78dcc732a7a8ba6d959dcf6007b225'
,
...
...
businesscentral-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
e664f821
...
...
@@ -466,7 +466,7 @@
<!--输出实体[ACTIVITYPOINTER]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-activitypointer-8
1
-4"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-activitypointer-8
7
-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
1
-146"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-activitypointer-8
7
-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
1
-147"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-activitypointer-8
7
-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
1
-148"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-activitypointer-8
7
-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]外键关系 -->
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录