Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
a8d2b60c
提交
a8d2b60c
编写于
4年前
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
303b694d
master
变更
7
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
113 行增加
和
5 行删除
+113
-5
view-config.json
app_BusinessCentral/public/assets/json/view-config.json
+10
-0
campaign_en_US.ts
...ral/src/locale/lanres/entities/campaign/campaign_en_US.ts
+28
-0
campaign_zh_CN.ts
...ral/src/locale/lanres/entities/campaign/campaign_zh_CN.ts
+28
-0
viewconfig.ts
app_BusinessCentral/src/mock/viewconfig/viewconfig.ts
+8
-0
campaign-ui-service-base.ts
...entral/src/uiservice/campaign/campaign-ui-service-base.ts
+1
-0
info-head-form-base.vue
...c/widgets/campaign/info-head-form/info-head-form-base.vue
+35
-2
h2_table.xml
...esscentral-core/src/main/resources/liquibase/h2_table.xml
+3
-3
未找到文件。
app_BusinessCentral/public/assets/json/view-config.json
浏览文件 @
a8d2b60c
...
...
@@ -249,6 +249,16 @@
"viewtag"
:
"51785f69973d8e6b0b1e002a03626fc7"
,
"memo"
:
"系统自动添加"
},
"campaignedit_head"
:
{
"title"
:
"编辑_头信息"
,
"caption"
:
"编辑_头信息"
,
"viewtype"
:
"DEOPTVIEW"
,
"viewmodule"
:
"Marketing"
,
"viewname"
:
"CampaignEdit_Head"
,
"viewfilename"
:
"campaign-edit-head"
,
"viewtag"
:
"546a88448f9751bcbfb37734514ef2d8"
,
"memo"
:
""
},
"producteditview"
:
{
"title"
:
"product编辑视图"
,
"caption"
:
"产品"
,
...
...
This diff is collapsed.
Click to expand it.
app_BusinessCentral/src/locale/lanres/entities/campaign/campaign_en_US.ts
浏览文件 @
a8d2b60c
...
...
@@ -71,6 +71,10 @@ export default {
summary_head
:
{
caption
:
"市场活动概览"
,
title
:
'市场活动概览'
,
},
edit_head
:
{
caption
:
"编辑_头信息"
,
title
:
'编辑_头信息'
,
},
info_manager
:
{
caption
:
"管理信息"
,
...
...
@@ -92,6 +96,9 @@ export default {
info_head_form
:
{
details
:
{
grouppanel1
:
"分组面板"
,
grouppanel3
:
"分组面板"
,
button1
:
"编辑"
,
grouppanel4
:
"分组面板"
,
grouppanel2
:
"分组面板"
,
group1
:
"市场活动"
,
formpage1
:
"基本信息"
,
...
...
@@ -207,6 +214,27 @@ export default {
uiactions
:
{
},
},
edit_head_form
:
{
details
:
{
grouppanel4
:
"分组面板"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"市场活动"
,
srfmajortext
:
"活动名称"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
template
:
"模板"
,
expectedrevenue
:
"估计收入"
,
statuscode
:
"状态描述"
,
owneridyominame
:
"负责人"
,
campaignid
:
"市场活动"
,
},
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
campaignname
:
"活动名称"
,
...
...
This diff is collapsed.
Click to expand it.
app_BusinessCentral/src/locale/lanres/entities/campaign/campaign_zh_CN.ts
浏览文件 @
a8d2b60c
...
...
@@ -70,6 +70,10 @@ export default {
summary_head
:
{
caption
:
'市场活动概览'
,
title
:
'市场活动概览'
,
},
edit_head
:
{
caption
:
'编辑_头信息'
,
title
:
'编辑_头信息'
,
},
info_manager
:
{
caption
:
'管理信息'
,
...
...
@@ -91,6 +95,9 @@ export default {
info_head_form
:
{
details
:
{
grouppanel1
:
'分组面板'
,
grouppanel3
:
'分组面板'
,
button1
:
'编辑'
,
grouppanel4
:
'分组面板'
,
grouppanel2
:
'分组面板'
,
group1
:
'市场活动'
,
formpage1
:
'基本信息'
,
...
...
@@ -206,6 +213,27 @@ export default {
uiactions
:
{
},
},
edit_head_form
:
{
details
:
{
grouppanel4
:
'分组面板'
,
formpage1
:
'基本信息'
,
srfupdatedate
:
'更新时间'
,
srforikey
:
''
,
srfkey
:
'市场活动'
,
srfmajortext
:
'活动名称'
,
srftempmode
:
''
,
srfuf
:
''
,
srfdeid
:
''
,
srfsourcekey
:
''
,
template
:
'模板'
,
expectedrevenue
:
'估计收入'
,
statuscode
:
'状态描述'
,
owneridyominame
:
'负责人'
,
campaignid
:
'市场活动'
,
},
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
campaignname
:
'活动名称'
,
...
...
This diff is collapsed.
Click to expand it.
app_BusinessCentral/src/mock/viewconfig/viewconfig.ts
浏览文件 @
a8d2b60c
...
...
@@ -207,6 +207,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"CampaignSummary_Head"
,
"viewtag"
:
"51785f69973d8e6b0b1e002a03626fc7"
},
"campaignedit_head"
:
{
"title"
:
"编辑_头信息"
,
"caption"
:
"编辑_头信息"
,
"viewtype"
:
"DEOPTVIEW"
,
"viewmodule"
:
"Marketing"
,
"viewname"
:
"CampaignEdit_Head"
,
"viewtag"
:
"546a88448f9751bcbfb37734514ef2d8"
},
"producteditview"
:
{
"title"
:
"product编辑视图"
,
"caption"
:
"产品"
,
...
...
This diff is collapsed.
Click to expand it.
app_BusinessCentral/src/uiservice/campaign/campaign-ui-service-base.ts
浏览文件 @
a8d2b60c
...
...
@@ -84,6 +84,7 @@ export default class CampaignUIServiceBase extends UIService {
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'info_campagin'
,
srfappde
:
'campaigns'
});
this
.
allViewMap
.
set
(
'EDITVIEW:'
,{
viewname
:
'editview'
,
srfappde
:
'campaigns'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'summary_head'
,
srfappde
:
'campaigns'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'edit_head'
,
srfappde
:
'campaigns'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'info_manager'
,
srfappde
:
'campaigns'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'summary'
,
srfappde
:
'campaigns'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'info'
,
srfappde
:
'campaigns'
});
...
...
This diff is collapsed.
Click to expand it.
app_BusinessCentral/src/widgets/campaign/info-head-form/info-head-form-base.vue
浏览文件 @
a8d2b60c
...
...
@@ -5,7 +5,7 @@
<i-col
v-show=
"detailsModel.group1.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-group
layoutType=
"FLEX"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.campaign.info_head_form.details.group1')"
:isShowCaption=
"false"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"true"
>
<div
style=
"height: 100%;display: flex;"
>
<div
style=
"height: 100%;display: flex;
justify-content: space-between;
"
>
<div
v-show=
"detailsModel.grouppanel1.visible"
:style=
"
{}">
<app-form-group
layoutType=
"FLEX"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.grouppanel1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.campaign.info_head_form.details.grouppanel1')"
:isShowCaption=
"false"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"true"
>
<div
style=
"height: 100%;display: flex;"
>
...
...
@@ -23,7 +23,18 @@
</div>
<div
v-show=
"detailsModel.grouppanel2.visible"
:style=
"
{}">
<app-form-group
layoutType=
"FLEX"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.grouppanel2.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.campaign.info_head_form.details.grouppanel2')"
:isShowCaption=
"false"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"true"
>
<div
style=
"height: 100%;display: flex;flex-direction: row;justify-content: flex-end;"
>
<div
style=
"height: 100%;display: flex;justify-content: space-between;"
>
<div
v-show=
"detailsModel.grouppanel3.visible"
:style=
"
{}">
<app-form-group
layoutType=
"FLEX"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.grouppanel3.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.campaign.info_head_form.details.grouppanel3')"
:isShowCaption=
"false"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"true"
>
<div
style=
"height: 100%;display: flex;"
>
</div>
</app-form-group>
</div>
<div
v-show=
"detailsModel.grouppanel4.visible"
:style=
"
{}">
<app-form-group
layoutType=
"FLEX"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.grouppanel4.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.campaign.info_head_form.details.grouppanel4')"
:isShowCaption=
"false"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"true"
>
<div
style=
"height: 100%;display: flex;justify-content: flex-end;"
>
<div
v-show=
"detailsModel.template.visible"
:style=
"
{}">
<app-form-item
name=
'template'
:itemRules=
"this.rules.template"
class=
''
:caption=
"$t('entities.campaign.info_head_form.details.template')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.template.error"
:isEmptyCaption=
"false"
labelPos=
"BOTTOM"
>
...
...
@@ -51,6 +62,19 @@
<app-span
name=
'owneridyominame'
:value=
"data.owneridyominame"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</div>
<div
v-show=
"detailsModel.button1.visible"
:style=
"
{'width': '50px',}">
<i-button
type=
"primary"
@
click=
"button1_click($event)"
style=
""
>
<i
class=
"fa fa-edit"
style=
"margin-right: 2px;"
></i>
<span
>
{{
$t
(
'entities.campaign.info_head_form.details.button1'
)
}}
</span>
</i-button>
</div>
</div>
</app-form-group>
</div>
</div>
...
...
@@ -510,6 +534,12 @@ export default class Info_HeadBase extends Vue implements ControlInterface {
*/
public
detailsModel
:
any
=
{
grouppanel1
:
new
FormGroupPanelModel
({
caption
:
'分组面板'
,
detailType
:
'GROUPPANEL'
,
name
:
'grouppanel1'
,
visible
:
true
,
isShowCaption
:
false
,
form
:
this
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.campaign.info_head_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
})
,
grouppanel3
:
new
FormGroupPanelModel
({
caption
:
'分组面板'
,
detailType
:
'GROUPPANEL'
,
name
:
'grouppanel3'
,
visible
:
true
,
isShowCaption
:
false
,
form
:
this
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.campaign.info_head_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
})
,
button1
:
new
FormButtonModel
({
caption
:
'编辑'
,
detailType
:
'BUTTON'
,
name
:
'button1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
})
,
grouppanel4
:
new
FormGroupPanelModel
({
caption
:
'分组面板'
,
detailType
:
'GROUPPANEL'
,
name
:
'grouppanel4'
,
visible
:
true
,
isShowCaption
:
false
,
form
:
this
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.campaign.info_head_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
})
,
grouppanel2
:
new
FormGroupPanelModel
({
caption
:
'分组面板'
,
detailType
:
'GROUPPANEL'
,
name
:
'grouppanel2'
,
visible
:
true
,
isShowCaption
:
false
,
form
:
this
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.campaign.info_head_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
})
,
...
...
@@ -767,6 +797,9 @@ export default class Info_HeadBase extends Vue implements ControlInterface {
}
...
...
This diff is collapsed.
Click to expand it.
businesscentral-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
a8d2b60c
...
...
@@ -7334,7 +7334,7 @@
<!--输出实体[CAMPAIGN]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-campaign-5
2
-75"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-campaign-5
9
-75"
>
<createTable
tableName=
"CAMPAIGN"
>
<column
name=
"EXPECTEDRESPONSE"
remarks=
""
type=
"INT"
>
</column>
...
...
@@ -11281,10 +11281,10 @@
<addForeignKeyConstraint
baseColumnNames=
"BASECURRENCYID"
baseTableName=
"ORGANIZATION"
constraintName=
"DER1N_ORGANIZATION__TRANSACTIO"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
<!--输出实体[CAMPAIGN]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-campaign-5
2
-311"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-campaign-5
9
-311"
>
<addForeignKeyConstraint
baseColumnNames=
"PRICELISTID"
baseTableName=
"CAMPAIGN"
constraintName=
"DER1N_CAMPAIGN__PRICELEVEL__PR"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"PRICELEVELID"
referencedTableName=
"PRICELEVEL"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-campaign-5
2
-312"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-campaign-5
9
-312"
>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"CAMPAIGN"
constraintName=
"DER1N_CAMPAIGN__TRANSACTIONCUR"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
<!--输出实体[BOOKABLERESCHARACTERISTIC]外键关系 -->
...
...
This diff is collapsed.
Click to expand it.
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录