Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
bf1166c9
提交
bf1166c9
编写于
4年前
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
b539a9bf
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
171 行增加
和
14 行删除
+171
-14
state.ts
app_BusinessCentral/src/store/modules/view-action/state.ts
+4
-0
by-parent-key-portlet-base.vue
...nter/by-parent-key-portlet/by-parent-key-portlet-base.vue
+153
-0
h2_table.xml
...esscentral-core/src/main/resources/liquibase/h2_table.xml
+14
-14
未找到文件。
app_BusinessCentral/src/store/modules/view-action/state.ts
浏览文件 @
bf1166c9
...
...
@@ -106,12 +106,16 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'aa79d35850f36fbc1a5085353ecd5af5'
,
'e38e7b53a449e0f112cb545d2c5d4b85'
,
'fb06f2c1cea1ac2a5a70c20f4a277ae5'
,
'73bb9f7e653384ca09f8bbbfd580d892'
,
'c607e5bc2c07ab2aca084e275ce677b7'
,
'a95d7d9111bc13a8b73a11ee1e4ff92a'
,
'893e62d6fbdc4580de7e3e802aec9108'
,
'916febbb65be1c54dd42ccb9914fe973'
,
'1d3b94223a5d3f8ab1d2fe334c8c4afd'
,
'a5213905238dbc5d8e1a505029105cc9'
,
],
},
{
...
...
This diff is collapsed.
Click to expand it.
app_BusinessCentral/src/widgets/activity-pointer/by-parent-key-portlet/by-parent-key-portlet-base.vue
浏览文件 @
bf1166c9
...
...
@@ -5,6 +5,24 @@
日程安排
</span>
<span
class=
"portlet-action"
>
<a
@
click=
"uiAction('u222531e', $event)"
>
<span>
任务
</span>
</a>
<a
@
click=
"uiAction('ue577d64', $event)"
>
<span>
电子邮件
</span>
</a>
<a
@
click=
"uiAction('u654c060', $event)"
>
<span>
约会
</span>
</a>
<a
@
click=
"uiAction('u7019ad0', $event)"
>
<span>
电话联络
</span>
</a>
</span>
</p>
<div
class=
"portlet-with-title"
>
<!-- 测试 -->
...
...
@@ -33,6 +51,10 @@ import { UIActionTool,Util } from '@/utils';
import
ActivityPointerService
from
'@/service/activity-pointer/activity-pointer-service'
;
import
ByParentKeyService
from
'./by-parent-key-portlet-service'
;
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
{
Environment
}
from
'@/environments/environment'
;
...
...
@@ -121,6 +143,118 @@ export default class ActivityPointerByParentKeyBase extends Vue implements Contr
public
appEntityService
:
ActivityPointerService
=
new
ActivityPointerService
({
$store
:
this
.
$store
});
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
dashboard_sysportlet8_u222531e_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
;
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
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
dashboard_sysportlet8_ue577d64_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
;
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
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
dashboard_sysportlet8_u654c060_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
;
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
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
dashboard_sysportlet8_u7019ad0_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
;
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
const
curUIService
:
PhoneCallUIService
=
new
PhoneCallUIService
();
curUIService
.
PhoneCall_Create
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"ActivityPointer"
);
}
/**
* 关闭视图
...
...
@@ -244,6 +378,25 @@ export default class ActivityPointerByParentKeyBase extends Vue implements Contr
}
}
/**
* 执行界面行为
*
* @memberof ByParentKeyBase
*/
public
uiAction
(
tag
:
string
,
event
:
any
){
if
(
Object
.
is
(
tag
,
'u222531e'
)){
this
.
dashboard_sysportlet8_u222531e_click
(
null
,
tag
,
event
);
}
if
(
Object
.
is
(
tag
,
'ue577d64'
)){
this
.
dashboard_sysportlet8_ue577d64_click
(
null
,
tag
,
event
);
}
if
(
Object
.
is
(
tag
,
'u654c060'
)){
this
.
dashboard_sysportlet8_u654c060_click
(
null
,
tag
,
event
);
}
if
(
Object
.
is
(
tag
,
'u7019ad0'
)){
this
.
dashboard_sysportlet8_u7019ad0_click
(
null
,
tag
,
event
);
}
}
}
</
script
>
...
...
This diff is collapsed.
Click to expand it.
businesscentral-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
bf1166c9
...
...
@@ -4480,7 +4480,7 @@
<!--输出实体[ACCOUNT]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-account-1
29
-53"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-account-1
30
-53"
>
<createTable
tableName=
"ACCOUNT"
>
<column
name=
"ADDRESS1_PRIMARYCONTACTNAME"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
...
...
@@ -8998,7 +8998,7 @@
<!--输出实体[ACTIVITYPOINTER]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-activitypointer-5
2
-95"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-activitypointer-5
4
-95"
>
<createTable
tableName=
"ACTIVITYPOINTER"
>
<column
name=
"SERIESID"
remarks=
""
type=
"VARCHAR(60)"
>
</column>
...
...
@@ -11074,31 +11074,31 @@
<addForeignKeyConstraint
baseColumnNames=
"METRICID"
baseTableName=
"GOAL"
constraintName=
"DER1N_GOAL__METRIC__METRICID"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"METRICID"
referencedTableName=
"METRIC"
validate=
"true"
/>
</changeSet>
<!--输出实体[ACCOUNT]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-1
29
-246"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-1
30
-246"
>
<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-1
29
-247"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-1
30
-247"
>
<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-1
29
-248"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-1
30
-248"
>
<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-1
29
-249"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-1
30
-249"
>
<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-1
29
-250"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-1
30
-250"
>
<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-1
29
-251"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-1
30
-251"
>
<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-1
29
-252"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-1
30
-252"
>
<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-1
29
-253"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-1
30
-253"
>
<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-1
29
-254"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-1
30
-254"
>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__TRANSACTIONCURR"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
<!--输出实体[KNOWLEDGEARTICLEVIEWS]外键关系 -->
...
...
@@ -11434,13 +11434,13 @@
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"PRODUCTSUBSTITUTE"
constraintName=
"DER1N_PRODUCTSUBSTITUTE__TRANS"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
<!--输出实体[ACTIVITYPOINTER]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-activitypointer-5
2
-363"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-activitypointer-5
4
-363"
>
<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-5
2
-364"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-activitypointer-5
4
-364"
>
<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-5
2
-365"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-activitypointer-5
4
-365"
>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"ACTIVITYPOINTER"
constraintName=
"DER1N_ACTIVITYPOINTER__TRANSAC"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
<!--输出实体[BULKDELETEFAILURE]外键关系 -->
...
...
This diff is collapsed.
Click to expand it.
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录