Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
76a59a27
提交
76a59a27
编写于
7月 01, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lab_gzf 发布系统代码
上级
23ad1679
变更
39
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
39 个修改的文件
包含
1776 行增加
和
942 行删除
+1776
-942
view-config.json
app_CRM/public/assets/json/view-config.json
+13
-3
campaign_en_US.ts
...CRM/src/locale/lanres/entities/campaign/campaign_en_US.ts
+75
-44
campaign_zh_CN.ts
...CRM/src/locale/lanres/entities/campaign/campaign_zh_CN.ts
+73
-42
ibiz-list_en_US.ts
...M/src/locale/lanres/entities/ibiz-list/ibiz-list_en_US.ts
+1
-7
ibiz-list_zh_CN.ts
...M/src/locale/lanres/entities/ibiz-list/ibiz-list_zh_CN.ts
+1
-7
viewconfig.ts
app_CRM/src/mock/viewconfig/viewconfig.ts
+11
-3
campaign-grid-view-base.tsx
.../marketing/campaign-grid-view/campaign-grid-view-base.tsx
+28
-131
campaign-grid-view.html
...ages/marketing/campaign-grid-view/campaign-grid-view.html
+1
-1
campaign-grid-view.vue
...pages/marketing/campaign-grid-view/campaign-grid-view.vue
+1
-1
campaign-info-base.tsx
.../src/pages/marketing/campaign-info/campaign-info-base.tsx
+1
-1
campaign-info.html
app_CRM/src/pages/marketing/campaign-info/campaign-info.html
+1
-1
campaign-info.vue
app_CRM/src/pages/marketing/campaign-info/campaign-info.vue
+1
-1
campaign-list-grid-view.html
...ting/campaign-list-grid-view/campaign-list-grid-view.html
+0
-3
campaign-quick-create-view-base.tsx
...ign-quick-create-view/campaign-quick-create-view-base.tsx
+135
-0
campaign-quick-create-view.html
...ampaign-quick-create-view/campaign-quick-create-view.html
+34
-0
campaign-quick-create-view.vue
...campaign-quick-create-view/campaign-quick-create-view.vue
+27
-0
ibiz-list-grid-view-base.tsx
...arketing/ibiz-list-grid-view/ibiz-list-grid-view-base.tsx
+2
-2
ibiz-list-grid-view.html
...es/marketing/ibiz-list-grid-view/ibiz-list-grid-view.html
+1
-1
ibiz-list-grid-view.vue
...ges/marketing/ibiz-list-grid-view/ibiz-list-grid-view.vue
+1
-1
page-register.ts
app_CRM/src/pages/ungroup/central/page-register.ts
+1
-1
router.ts
app_CRM/src/pages/ungroup/central/router.ts
+14
-14
campaign-service-base.ts
app_CRM/src/service/campaign/campaign-service-base.ts
+47
-47
contact-service-base.ts
app_CRM/src/service/contact/contact-service-base.ts
+115
-115
ibiz-list-service-base.ts
app_CRM/src/service/ibiz-list/ibiz-list-service-base.ts
+50
-50
opportunity-service-base.ts
app_CRM/src/service/opportunity/opportunity-service-base.ts
+252
-252
product-service-base.ts
app_CRM/src/service/product/product-service-base.ts
+50
-50
sales-literature-service-base.ts
...service/sales-literature/sales-literature-service-base.ts
+47
-47
state.ts
app_CRM/src/store/modules/view-action/state.ts
+11
-11
campaign-ui-service-base.ts
app_CRM/src/uiservice/campaign/campaign-ui-service-base.ts
+61
-0
quick-create-form-base.tsx
...ets/campaign/quick-create-form/quick-create-form-base.tsx
+127
-0
quick-create-form-model.ts
...ets/campaign/quick-create-form/quick-create-form-model.ts
+101
-0
quick-create-form-service.ts
...s/campaign/quick-create-form/quick-create-form-service.ts
+383
-0
quick-create-form.html
...widgets/campaign/quick-create-form/quick-create-form.html
+79
-0
quick-create-form.vue
.../widgets/campaign/quick-create-form/quick-create-form.vue
+22
-0
quick-create-form-base.tsx
...ts/ibiz-list/quick-create-form/quick-create-form-base.tsx
+1
-18
quick-create-form-model.ts
...ts/ibiz-list/quick-create-form/quick-create-form-model.ts
+0
-20
quick-create-form.html
...idgets/ibiz-list/quick-create-form/quick-create-form.html
+2
-62
summary-dashboard.html
...idgets/ibiz-list/summary-dashboard/summary-dashboard.html
+1
-1
h2_table.xml
...esscentral-core/src/main/resources/liquibase/h2_table.xml
+5
-5
未找到文件。
app_CRM/public/assets/json/view-config.json
浏览文件 @
76a59a27
...
...
@@ -120,7 +120,7 @@
"memo"
:
"系统自动添加"
},
"campaigngridview"
:
{
"title"
:
"市场活动
表格视图
"
,
"title"
:
"市场活动
信息
"
,
"caption"
:
"市场活动"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"Marketing"
,
...
...
@@ -350,7 +350,7 @@
"memo"
:
"系统自动添加"
},
"ibizlistgridview"
:
{
"title"
:
"市场营销列表
表格视图
"
,
"title"
:
"市场营销列表
信息
"
,
"caption"
:
"市场营销列表"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"Marketing"
,
...
...
@@ -1149,6 +1149,16 @@
"viewtag"
:
"7FCD2E75-E34A-493C-922E-8AE47BCE08CA"
,
"memo"
:
""
},
"campaignquickcreateview"
:
{
"title"
:
"快速新建"
,
"caption"
:
"市场活动"
,
"viewtype"
:
"DEOPTVIEW"
,
"viewmodule"
:
"Marketing"
,
"viewname"
:
"CampaignQuickCreateView"
,
"viewfilename"
:
"campaign-quick-create-view"
,
"viewtag"
:
"8206069d9567cbc0a06e441869343819"
,
"memo"
:
""
},
"ibizlistquickcreate"
:
{
"title"
:
"快速新建"
,
"caption"
:
"快速新建"
,
...
...
@@ -1860,7 +1870,7 @@
"memo"
:
"系统自动添加"
},
"campaigninfo"
:
{
"title"
:
"市场活动"
,
"title"
:
"市场活动
信息
"
,
"caption"
:
"市场活动"
,
"viewtype"
:
"DETABEXPVIEW"
,
"viewmodule"
:
"Marketing"
,
...
...
app_CRM/src/locale/lanres/entities/campaign/campaign_en_US.ts
浏览文件 @
76a59a27
...
...
@@ -58,7 +58,7 @@ export default {
},
gridview
:
{
caption
:
"市场活动"
,
title
:
"市场活动
表格视图
"
,
title
:
"市场活动
信息
"
,
},
info_campagin
:
{
caption
:
"活动信息"
,
...
...
@@ -84,13 +84,17 @@ export default {
caption
:
"管理信息"
,
title
:
"管理信息"
,
},
quickcreateview
:
{
caption
:
"市场活动"
,
title
:
"快速新建"
,
},
summary
:
{
caption
:
"市场活动概览"
,
title
:
"市场活动概览"
,
},
info
:
{
caption
:
"市场活动"
,
title
:
"市场活动"
,
title
:
"市场活动
信息
"
,
},
info_schedule
:
{
caption
:
"日程安排"
,
...
...
@@ -147,12 +151,10 @@ export default {
campaign_edit_head
:
"头编辑"
,
},
},
main
_form
:
{
quickcreate
_form
:
{
details
:
{
group1
:
"市场活动"
,
group1
:
"市场活动
基本信息
"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"市场活动"
,
...
...
@@ -165,11 +167,7 @@ export default {
codename
:
"活动代码"
,
transactioncurrencyname
:
"货币"
,
typecode
:
"活动类型"
,
expectedresponse
:
"预期响应百分比"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
expectedresponse
:
"预期响应"
,
transactioncurrencyid
:
"货币"
,
campaignid
:
"市场活动"
,
},
...
...
@@ -241,6 +239,35 @@ export default {
uiactions
:
{
},
},
main_form
:
{
details
:
{
group1
:
"市场活动"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"市场活动"
,
srfmajortext
:
"活动名称"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
campaignname
:
"活动名称"
,
codename
:
"活动代码"
,
transactioncurrencyname
:
"货币"
,
typecode
:
"活动类型"
,
expectedresponse
:
"预期响应百分比"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
transactioncurrencyid
:
"货币"
,
campaignid
:
"市场活动"
,
},
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
campaignname
:
"活动名称"
,
...
...
@@ -264,9 +291,13 @@ export default {
},
},
gridviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"New"
,
tip
:
"New"
,
tbitem1_openquickcreateview
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
tbitem2
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem4
:
{
caption
:
"Edit"
,
...
...
@@ -301,6 +332,36 @@ export default {
tip
:
"Filter"
,
},
},
infotoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
},
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
caption
:
"Remove And Close"
,
tip
:
"Remove And Close Window"
,
},
seperator2
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction2
:
{
caption
:
"刷新"
,
tip
:
"刷新"
,
},
seperator1
:
{
caption
:
""
,
tip
:
""
,
},
tbitem12
:
{
caption
:
"关闭"
,
tip
:
"关闭"
,
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"Save"
,
...
...
@@ -339,36 +400,6 @@ export default {
tip
:
"Copy {0}"
,
},
},
infotoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
},
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
caption
:
"Remove And Close"
,
tip
:
"Remove And Close Window"
,
},
seperator2
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction2
:
{
caption
:
"刷新"
,
tip
:
"刷新"
,
},
seperator1
:
{
caption
:
""
,
tip
:
""
,
},
tbitem12
:
{
caption
:
"关闭"
,
tip
:
"关闭"
,
},
},
summary_headtoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"Edit"
,
...
...
app_CRM/src/locale/lanres/entities/campaign/campaign_zh_CN.ts
浏览文件 @
76a59a27
...
...
@@ -57,7 +57,7 @@ export default {
},
gridview
:
{
caption
:
"市场活动"
,
title
:
"市场活动
表格视图
"
,
title
:
"市场活动
信息
"
,
},
info_campagin
:
{
caption
:
"活动信息"
,
...
...
@@ -83,13 +83,17 @@ export default {
caption
:
"管理信息"
,
title
:
"管理信息"
,
},
quickcreateview
:
{
caption
:
"市场活动"
,
title
:
"快速新建"
,
},
summary
:
{
caption
:
"市场活动概览"
,
title
:
"市场活动概览"
,
},
info
:
{
caption
:
"市场活动"
,
title
:
"市场活动"
,
title
:
"市场活动
信息
"
,
},
info_schedule
:
{
caption
:
"日程安排"
,
...
...
@@ -146,12 +150,10 @@ export default {
campaign_edit_head
:
"头编辑"
,
},
},
main
_form
:
{
quickcreate
_form
:
{
details
:
{
group1
:
"市场活动"
,
group1
:
"市场活动
基本信息
"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"市场活动"
,
...
...
@@ -164,11 +166,7 @@ export default {
codename
:
"活动代码"
,
transactioncurrencyname
:
"货币"
,
typecode
:
"活动类型"
,
expectedresponse
:
"预期响应百分比"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
expectedresponse
:
"预期响应"
,
transactioncurrencyid
:
"货币"
,
campaignid
:
"市场活动"
,
},
...
...
@@ -240,6 +238,35 @@ export default {
uiactions
:
{
},
},
main_form
:
{
details
:
{
group1
:
"市场活动"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"市场活动"
,
srfmajortext
:
"活动名称"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
campaignname
:
"活动名称"
,
codename
:
"活动代码"
,
transactioncurrencyname
:
"货币"
,
typecode
:
"活动类型"
,
expectedresponse
:
"预期响应百分比"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
transactioncurrencyid
:
"货币"
,
campaignid
:
"市场活动"
,
},
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
campaignname
:
"活动名称"
,
...
...
@@ -263,10 +290,14 @@ export default {
},
},
gridviewtoolbar_toolbar
:
{
tbitem
3
:
{
tbitem
1_openquickcreateview
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
tbitem2
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem4
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
...
...
@@ -300,6 +331,36 @@ export default {
tip
:
"过滤"
,
},
},
infotoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
caption
:
"删除并关闭"
,
tip
:
"删除并关闭"
,
},
seperator2
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction2
:
{
caption
:
"刷新"
,
tip
:
"刷新"
,
},
seperator1
:
{
caption
:
""
,
tip
:
""
,
},
tbitem12
:
{
caption
:
"关闭"
,
tip
:
"关闭"
,
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"保存"
,
...
...
@@ -338,36 +399,6 @@ export default {
tip
:
"拷贝"
,
},
},
infotoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
caption
:
"删除并关闭"
,
tip
:
"删除并关闭"
,
},
seperator2
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction2
:
{
caption
:
"刷新"
,
tip
:
"刷新"
,
},
seperator1
:
{
caption
:
""
,
tip
:
""
,
},
tbitem12
:
{
caption
:
"关闭"
,
tip
:
"关闭"
,
},
},
summary_headtoolbar_toolbar
:
{
deuiaction4
:
{
caption
:
"编辑"
,
...
...
app_CRM/src/locale/lanres/entities/ibiz-list/ibiz-list_en_US.ts
浏览文件 @
76a59a27
...
...
@@ -45,7 +45,7 @@ export default {
},
gridview
:
{
caption
:
"市场营销列表"
,
title
:
"市场营销列表
表格视图
"
,
title
:
"市场营销列表
信息
"
,
},
info_abstract
:
{
caption
:
"市场营销列表"
,
...
...
@@ -99,8 +99,6 @@ export default {
details
:
{
group1
:
"list基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"列表"
,
...
...
@@ -122,10 +120,6 @@ export default {
ownerid
:
"负责人"
,
owneridtype
:
"负责人类型"
,
owneridyominame
:
"负责人"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
transactioncurrencyid
:
"货币"
,
listid
:
"列表"
,
},
...
...
app_CRM/src/locale/lanres/entities/ibiz-list/ibiz-list_zh_CN.ts
浏览文件 @
76a59a27
...
...
@@ -44,7 +44,7 @@ export default {
},
gridview
:
{
caption
:
"市场营销列表"
,
title
:
"市场营销列表
表格视图
"
,
title
:
"市场营销列表
信息
"
,
},
info_abstract
:
{
caption
:
"市场营销列表"
,
...
...
@@ -98,8 +98,6 @@ export default {
details
:
{
group1
:
"list基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"列表"
,
...
...
@@ -121,10 +119,6 @@ export default {
ownerid
:
"负责人"
,
owneridtype
:
"负责人类型"
,
owneridyominame
:
"负责人"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
transactioncurrencyid
:
"货币"
,
listid
:
"列表"
,
},
...
...
app_CRM/src/mock/viewconfig/viewconfig.ts
浏览文件 @
76a59a27
...
...
@@ -104,7 +104,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewtag"
:
"072d39d4184205e68a5c66fabe32b55e"
},
"campaigngridview"
:
{
"title"
:
"市场活动
表格视图
"
,
"title"
:
"市场活动
信息
"
,
"caption"
:
"市场活动"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"Marketing"
,
...
...
@@ -288,7 +288,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewtag"
:
"241c1fe99d6b6b99ad2888762140837a"
},
"ibizlistgridview"
:
{
"title"
:
"市场营销列表
表格视图
"
,
"title"
:
"市场营销列表
信息
"
,
"caption"
:
"市场营销列表"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"Marketing"
,
...
...
@@ -927,6 +927,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"CenteralPortal"
,
"viewtag"
:
"7FCD2E75-E34A-493C-922E-8AE47BCE08CA"
},
"campaignquickcreateview"
:
{
"title"
:
"快速新建"
,
"caption"
:
"市场活动"
,
"viewtype"
:
"DEOPTVIEW"
,
"viewmodule"
:
"Marketing"
,
"viewname"
:
"CampaignQuickCreateView"
,
"viewtag"
:
"8206069d9567cbc0a06e441869343819"
},
"ibizlistquickcreate"
:
{
"title"
:
"快速新建"
,
"caption"
:
"快速新建"
,
...
...
@@ -1496,7 +1504,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewtag"
:
"d3692664b9e2e150526e1ce4b969f15b"
},
"campaigninfo"
:
{
"title"
:
"市场活动"
,
"title"
:
"市场活动
信息
"
,
"caption"
:
"市场活动"
,
"viewtype"
:
"DETABEXPVIEW"
,
"viewmodule"
:
"Marketing"
,
...
...
app_CRM/src/pages/marketing/campaign-grid-view/campaign-grid-view-base.tsx
浏览文件 @
76a59a27
...
...
@@ -3,11 +3,12 @@ import { Subject } from 'rxjs';
import
{
GridViewBase
}
from
'@/studio-core'
;
import
CampaignService
from
'@/service/campaign/campaign-service'
;
import
GridViewEngine
from
'@engine/view/grid-view-engine'
;
import
CampaignUIService
from
'@/uiservice/campaign/campaign-ui-service'
;
import
CodeListService
from
"@service/app/codelist-service"
;
/**
* 市场活动
表格视图
视图基类
* 市场活动
信息
视图基类
*
* @export
* @class CampaignGridViewBase
...
...
@@ -67,8 +68,9 @@ export class CampaignGridViewBase extends GridViewBase {
* @memberof CampaignGridView
*/
public
toolBarModels
:
any
=
{
tbitem
3
:
{
name
:
'tbitem3'
,
caption
:
'新建'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'新建'
,
iconcls
:
'fa fa-file-text-o'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'New'
,
target
:
'
'
},
class
:
''
},
tbitem
1_openquickcreateview
:
{
name
:
'tbitem1_openquickcreateview'
,
caption
:
'新建'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'新建'
,
iconcls
:
'fa fa-user-plus'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'OpenQuickCreateView'
,
target
:
'NONE
'
},
class
:
''
},
tbitem2
:
{
name
:
'tbitem2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem4
:
{
name
:
'tbitem4'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
tbitem6
:
{
name
:
'tbitem6'
,
caption
:
'拷贝'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'拷贝'
,
iconcls
:
'fa fa-copy'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Copy'
,
target
:
'SINGLEKEY'
},
class
:
''
},
...
...
@@ -136,8 +138,8 @@ export class CampaignGridViewBase extends GridViewBase {
* @memberof CampaignGridViewBase
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem
3
'
))
{
this
.
toolbar_tbitem
3
_click
(
null
,
''
,
$event2
);
if
(
Object
.
is
(
$event
.
tag
,
'tbitem
1_openquickcreateview
'
))
{
this
.
toolbar_tbitem
1_openquickcreateview
_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem4'
))
{
this
.
toolbar_tbitem4_click
(
null
,
''
,
$event2
);
...
...
@@ -145,12 +147,6 @@ export class CampaignGridViewBase extends GridViewBase {
if
(
Object
.
is
(
$event
.
tag
,
'tbitem6'
))
{
this
.
toolbar_tbitem6_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem24'
))
{
this
.
toolbar_tbitem24_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem25'
))
{
this
.
toolbar_tbitem25_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem8'
))
{
this
.
toolbar_tbitem8_click
(
null
,
''
,
$event2
);
}
...
...
@@ -261,7 +257,7 @@ export class CampaignGridViewBase extends GridViewBase {
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem
3
_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
public
toolbar_tbitem
1_openquickcreateview
_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
...
...
@@ -278,7 +274,8 @@ export class CampaignGridViewBase extends GridViewBase {
datas
=
[
params
];
}
// 界面行为
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Campaign"
);
const
curUIService
:
CampaignUIService
=
new
CampaignUIService
();
curUIService
.
Campaign_OpenQuickCreateView
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Campaign"
);
}
/**
...
...
@@ -337,62 +334,6 @@ export class CampaignGridViewBase extends GridViewBase {
this
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Campaign"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem24_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
];
}
// 界面行为
this
.
ToggleRowEdit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Campaign"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem25_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
];
}
// 界面行为
this
.
NewRow
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Campaign"
);
}
/**
* 逻辑事件
*
...
...
@@ -530,16 +471,28 @@ export class CampaignGridViewBase extends GridViewBase {
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'campaigns'
,
parameterName
:
'campaign'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
];
const
_this
:
any
=
this
;
const
openIndexViewTab
=
(
data
:
any
)
=>
{
const
_data
:
any
=
{
w
:
(
new
Date
().
getTime
())
};
Object
.
assign
(
_data
,
data
);
const
routePath
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
tempContext
,
deResParameters
,
parameters
,
args
,
_data
);
this
.
$router
.
push
(
routePath
);
const
openDrawer
=
(
view
:
any
,
data
:
any
)
=>
{
let
container
:
Subject
<
any
>
=
this
.
$appdrawer
.
openDrawer
(
view
,
tempContext
,
data
);
container
.
subscribe
((
result
:
any
)
=>
{
if
(
!
result
||
!
Object
.
is
(
result
.
ret
,
'OK'
))
{
return
;
}
if
(
!
xData
||
!
(
xData
.
refresh
instanceof
Function
))
{
return
;
}
xData
.
refresh
(
result
.
datas
);
});
}
openIndexViewTab
(
data
);
const
view
:
any
=
{
viewname
:
'campaign-quick-create-view'
,
height
:
0
,
width
:
0
,
title
:
this
.
$t
(
'entities.campaign.views.quickcreateview.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
...
...
@@ -575,26 +528,6 @@ export class CampaignGridViewBase extends GridViewBase {
}
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof CampaignGridViewBase
*/
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 视图处理逻辑不存在,请添加!'
});
}
}
/**
* 编辑
*
...
...
@@ -653,42 +586,6 @@ export class CampaignGridViewBase extends GridViewBase {
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'opendata 视图处理逻辑不存在,请添加!'
});
}
}
/**
* 行编辑
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof CampaignGridViewBase
*/
public
ToggleRowEdit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
xData
.
actualIsOpenEdit
=
!
xData
.
actualIsOpenEdit
;
}
/**
* 新建行
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof CampaignGridViewBase
*/
public
NewRow
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
const
data
:
any
=
{};
if
(
_this
.
newRow
&&
_this
.
newRow
instanceof
Function
)
{
_this
.
newRow
([{
...
data
}],
params
,
$event
,
xData
);
}
else
if
(
xData
.
newRow
&&
xData
.
newRow
instanceof
Function
)
{
xData
.
newRow
([{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'newRow 视图处理逻辑不存在,请添加!'
});
}
}
/**
* 删除
*
...
...
app_CRM/src/pages/marketing/campaign-grid-view/campaign-grid-view.html
浏览文件 @
76a59a27
<studio-view-style2
viewName=
"campaigngridview"
viewTitle=
"市场活动
表格视图
"
class=
'degridview campaign-grid-view'
>
<studio-view-style2
viewName=
"campaigngridview"
viewTitle=
"市场活动
信息
"
class=
'degridview campaign-grid-view'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{$t(model.srfTitle)}}
</span>
</template>
...
...
app_CRM/src/pages/marketing/campaign-grid-view/campaign-grid-view.vue
浏览文件 @
76a59a27
...
...
@@ -7,7 +7,7 @@ import view_grid from '@widgets/campaign/main-grid/main-grid.vue';
import view_searchform from '@widgets/campaign/default-searchform/default-searchform.vue';
/**
* 市场活动
表格视图
视图
* 市场活动
信息
视图
*
* @export
* @class CampaignGridView
...
...
app_CRM/src/pages/marketing/campaign-info/campaign-info-base.tsx
浏览文件 @
76a59a27
...
...
@@ -4,7 +4,7 @@ import CampaignService from '@/service/campaign/campaign-service';
import
TabExpViewEngine
from
'@engine/view/tab-exp-view-engine'
;
/**
* 市场活动视图基类
* 市场活动
信息
视图基类
*
* @export
* @class CampaignInfoBase
...
...
app_CRM/src/pages/marketing/campaign-info/campaign-info.html
浏览文件 @
76a59a27
<studio-view-style2
viewName=
"campaigninfo"
viewTitle=
"市场活动"
class=
'detabexpview campaign-info'
>
<studio-view-style2
viewName=
"campaigninfo"
viewTitle=
"市场活动
信息
"
class=
'detabexpview campaign-info'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{$t(model.srfTitle)}}
</span>
</template>
...
...
app_CRM/src/pages/marketing/campaign-info/campaign-info.vue
浏览文件 @
76a59a27
...
...
@@ -6,7 +6,7 @@ import { CampaignInfoBase } from './campaign-info-base';
import view_tabexppanel from '@widgets/campaign/infotabexppanel-tabexppanel/infotabexppanel-tabexppanel.vue';
/**
* 市场活动视图
* 市场活动
信息
视图
*
* @export
* @class CampaignInfo
...
...
app_CRM/src/pages/marketing/campaign-list-grid-view/campaign-list-grid-view.html
浏览文件 @
76a59a27
<studio-view-style2
viewName=
"campaignlistgridview"
viewTitle=
"市场活动-营销列表表格视图"
class=
'degridview campaign-list-grid-view'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{$t(model.srfTitle)}}
</span>
</template>
<i-input
slot=
"quickSearch"
v-show=
"!isExpandSearchForm"
v-model=
"query"
search
@
on-search=
"onSearch($event)"
/>
<template
slot=
"toolbar"
>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click($event)"
/>
</template>
...
...
app_CRM/src/pages/marketing/campaign-quick-create-view/campaign-quick-create-view-base.tsx
0 → 100644
浏览文件 @
76a59a27
import
{
Subject
}
from
'rxjs'
;
import
{
OptionViewBase
}
from
'@/studio-core'
;
import
CampaignService
from
'@/service/campaign/campaign-service'
;
import
OptionViewEngine
from
'@engine/view/option-view-engine'
;
/**
* 快速新建视图基类
*
* @export
* @class CampaignQuickCreateViewBase
* @extends {OptionViewBase}
*/
export
class
CampaignQuickCreateViewBase
extends
OptionViewBase
{
/**
* 实体服务对象
*
* @type {CampaignService}
* @memberof CampaignQuickCreateViewBase
*/
protected
appEntityService
:
CampaignService
=
new
CampaignService
;
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof CampaignQuickCreateViewBase
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof CampaignQuickCreateViewBase
*/
protected
model
:
any
=
{
srfCaption
:
'entities.campaign.views.quickcreateview.caption'
,
srfTitle
:
'entities.campaign.views.quickcreateview.title'
,
srfSubTitle
:
'entities.campaign.views.quickcreateview.subtitle'
,
dataInfo
:
''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof CampaignQuickCreateViewBase
*/
protected
containerModel
:
any
=
{
view_form
:
{
name
:
'form'
,
type
:
'FORM'
},
view_okbtn
:
{
name
:
'okbtn'
,
type
:
'button'
,
text
:
'确定'
,
disabled
:
true
},
view_cancelbtn
:
{
name
:
'cancelbtn'
,
type
:
'button'
,
text
:
'取消'
,
disabled
:
false
},
view_leftbtn
:
{
name
:
'leftbtn'
,
type
:
'button'
,
text
:
'左移'
,
disabled
:
true
},
view_rightbtn
:
{
name
:
'rightbtn'
,
type
:
'button'
,
text
:
'右移'
,
disabled
:
true
},
view_allleftbtn
:
{
name
:
'allleftbtn'
,
type
:
'button'
,
text
:
'全部左移'
,
disabled
:
true
},
view_allrightbtn
:
{
name
:
'allrightbtn'
,
type
:
'button'
,
text
:
'全部右移'
,
disabled
:
true
},
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected
viewtag
:
string
=
'8206069d9567cbc0a06e441869343819'
;
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof CampaignQuickCreateViewBase
*/
public
engine
:
OptionViewEngine
=
new
OptionViewEngine
();
/**
* 引擎初始化
*
* @public
* @memberof CampaignQuickCreateViewBase
*/
public
engineInit
():
void
{
this
.
engine
.
init
({
view
:
this
,
form
:
this
.
$refs
.
form
,
p2k
:
'0'
,
keyPSDEField
:
'campaign'
,
majorPSDEField
:
'campaignname'
,
isLoadDefault
:
true
,
});
}
/**
* form 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof CampaignQuickCreateViewBase
*/
public
form_save
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'save'
,
$event
);
}
/**
* form 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof CampaignQuickCreateViewBase
*/
public
form_remove
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'remove'
,
$event
);
}
/**
* form 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof CampaignQuickCreateViewBase
*/
public
form_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'load'
,
$event
);
}
}
\ No newline at end of file
app_CRM/src/pages/marketing/campaign-quick-create-view/campaign-quick-create-view.html
0 → 100644
浏览文件 @
76a59a27
<studio-view-style2
viewName=
"campaignquickcreateview"
viewTitle=
"快速新建"
class=
'deoptview campaign-quick-create-view'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{$t(model.srfTitle)}}
</span>
</template>
<view
_form
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:autosave=
"false"
:viewtag=
"viewtag"
:showBusyIndicator=
"true"
updateAction=
"Update"
removeAction=
"Remove"
loaddraftAction=
"GetDraft"
loadAction=
"Get"
createAction=
"Create"
WFSubmitAction=
""
WFStartAction=
""
style=
''
name=
"form"
ref=
'form'
@
save=
"form_save($event)"
@
remove=
"form_remove($event)"
@
load=
"form_load($event)"
@
closeview=
"closeView($event)"
>
</view
_form
>
<template
slot=
"footer"
>
<div
class=
"option-view-footer-actions"
>
<i-button
type=
'primary'
@
click=
"onClickOk.apply(_self, arguments)"
>
{{ containerModel.view_okbtn.text }}
</i-button>
<i-button
@
click=
"onClickCancel.apply(_self, arguments)"
>
{{ containerModel.view_cancelbtn.text }}
</i-button>
</div>
</template>
</studio-view-style2>
\ No newline at end of file
app_CRM/src/pages/marketing/campaign-quick-create-view/campaign-quick-create-view.vue
0 → 100644
浏览文件 @
76a59a27
<
template
src=
"./campaign-quick-create-view.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { CampaignQuickCreateViewBase } from './campaign-quick-create-view-base';
import view_form from '@widgets/campaign/quick-create-form/quick-create-form.vue';
/**
* 快速新建视图
*
* @export
* @class CampaignQuickCreateView
* @extends {CampaignQuickCreateViewBase}
*/
@Component({
components: {
view_form,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$store.commit('addCurPageViewtag', { route: to, viewtag: vm.viewtag });
});
}
})
@VueLifeCycleProcessing()
export default class CampaignQuickCreateView extends CampaignQuickCreateViewBase { }
</script>
app_CRM/src/pages/marketing/ibiz-list-grid-view/ibiz-list-grid-view-base.tsx
浏览文件 @
76a59a27
...
...
@@ -7,7 +7,7 @@ import CodeListService from "@service/app/codelist-service";
/**
* 市场营销列表
表格视图
视图基类
* 市场营销列表
信息
视图基类
*
* @export
* @class IBizListGridViewBase
...
...
@@ -547,7 +547,7 @@ export class IBizListGridViewBase extends GridViewBase {
const
view
:
any
=
{
viewname
:
'ibiz-list-quick-create'
,
height
:
0
,
width
:
45
0
,
width
:
0
,
title
:
this
.
$t
(
'entities.ibizlist.views.quickcreate.title'
),
placement
:
'DRAWER_RIGHT'
,
};
...
...
app_CRM/src/pages/marketing/ibiz-list-grid-view/ibiz-list-grid-view.html
浏览文件 @
76a59a27
<studio-view-style2
viewName=
"ibizlistgridview"
viewTitle=
"市场营销列表
表格视图
"
class=
'degridview ibiz-list-grid-view'
>
<studio-view-style2
viewName=
"ibizlistgridview"
viewTitle=
"市场营销列表
信息
"
class=
'degridview ibiz-list-grid-view'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{$t(model.srfTitle)}}
</span>
</template>
...
...
app_CRM/src/pages/marketing/ibiz-list-grid-view/ibiz-list-grid-view.vue
浏览文件 @
76a59a27
...
...
@@ -7,7 +7,7 @@ import view_grid from '@widgets/ibiz-list/main-grid/main-grid.vue';
import view_searchform from '@widgets/ibiz-list/default-searchform/default-searchform.vue';
/**
* 市场营销列表
表格视图
视图
* 市场营销列表
信息
视图
*
* @export
* @class IBizListGridView
...
...
app_CRM/src/pages/ungroup/central/page-register.ts
浏览文件 @
76a59a27
...
...
@@ -109,7 +109,6 @@ export const PageComponents = {
Vue
.
component
(
'sales-literature-info-sal-lit-view'
,
()
=>
import
(
'@pages/sales/sales-literature-info-sal-lit-view/sales-literature-info-sal-lit-view.vue'
));
Vue
.
component
(
'quote-option-view'
,
()
=>
import
(
'@pages/sales/quote-option-view/quote-option-view.vue'
));
Vue
.
component
(
'goal-pickup-view'
,
()
=>
import
(
'@pages/sales/goal-pickup-view/goal-pickup-view.vue'
));
Vue
.
component
(
'campaign-edit-view'
,
()
=>
import
(
'@pages/marketing/campaign-edit-view/campaign-edit-view.vue'
));
Vue
.
component
(
'opportunity-summary'
,
()
=>
import
(
'@pages/sales/opportunity-summary/opportunity-summary.vue'
));
Vue
.
component
(
'goal-pickup-grid-view'
,
()
=>
import
(
'@pages/sales/goal-pickup-grid-view/goal-pickup-grid-view.vue'
));
Vue
.
component
(
'list-contact-inner'
,
()
=>
import
(
'@pages/marketing/list-contact-inner/list-contact-inner.vue'
));
...
...
@@ -138,6 +137,7 @@ export const PageComponents = {
Vue
.
component
(
'ibiz-list-summary'
,
()
=>
import
(
'@pages/marketing/ibiz-list-summary/ibiz-list-summary.vue'
));
Vue
.
component
(
'sales-literature-item-grid-view'
,
()
=>
import
(
'@pages/sales/sales-literature-item-grid-view/sales-literature-item-grid-view.vue'
));
Vue
.
component
(
'lead-dashboard-view'
,
()
=>
import
(
'@pages/sales/lead-dashboard-view/lead-dashboard-view.vue'
));
Vue
.
component
(
'campaign-quick-create-view'
,
()
=>
import
(
'@pages/marketing/campaign-quick-create-view/campaign-quick-create-view.vue'
));
Vue
.
component
(
'discount-type-pickup-grid-view'
,
()
=>
import
(
'@pages/sales/discount-type-pickup-grid-view/discount-type-pickup-grid-view.vue'
));
Vue
.
component
(
'list-account-quick-create-by-list'
,
()
=>
import
(
'@pages/marketing/list-account-quick-create-by-list/list-account-quick-create-by-list.vue'
));
Vue
.
component
(
'campaign-list-edit-view'
,
()
=>
import
(
'@pages/marketing/campaign-list-edit-view/campaign-list-edit-view.vue'
));
...
...
app_CRM/src/pages/ungroup/central/router.ts
浏览文件 @
76a59a27
...
...
@@ -3058,20 +3058,6 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/base/contact-pickup-view/contact-pickup-view.vue'
),
},
{
path
:
'campaigns/:campaign?/editview/:editview?'
,
meta
:
{
caption
:
'entities.campaign.views.editview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'campaigns'
,
parameterName
:
'campaign'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/marketing/campaign-edit-view/campaign-edit-view.vue'
),
},
{
path
:
'accounts/:account?/contacts/:contact?/opportunities/:opportunity?/summary/:summary?'
,
meta
:
{
...
...
@@ -3909,6 +3895,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sales/lead-dashboard-view/lead-dashboard-view.vue'
),
},
{
path
:
'campaigns/:campaign?/quickcreateview/:quickcreateview?'
,
meta
:
{
caption
:
'entities.campaign.views.quickcreateview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'campaigns'
,
parameterName
:
'campaign'
},
{
pathName
:
'quickcreateview'
,
parameterName
:
'quickcreateview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/marketing/campaign-quick-create-view/campaign-quick-create-view.vue'
),
},
{
path
:
'accounts/:account?/contacts/:contact?/opportunities/:opportunity?/conoppgridview/:conoppgridview?'
,
meta
:
{
...
...
app_CRM/src/service/campaign/campaign-service-base.ts
浏览文件 @
76a59a27
此差异已折叠。
点击以展开。
app_CRM/src/service/contact/contact-service-base.ts
浏览文件 @
76a59a27
此差异已折叠。
点击以展开。
app_CRM/src/service/ibiz-list/ibiz-list-service-base.ts
浏览文件 @
76a59a27
此差异已折叠。
点击以展开。
app_CRM/src/service/opportunity/opportunity-service-base.ts
浏览文件 @
76a59a27
此差异已折叠。
点击以展开。
app_CRM/src/service/product/product-service-base.ts
浏览文件 @
76a59a27
此差异已折叠。
点击以展开。
app_CRM/src/service/sales-literature/sales-literature-service-base.ts
浏览文件 @
76a59a27
此差异已折叠。
点击以展开。
app_CRM/src/store/modules/view-action/state.ts
浏览文件 @
76a59a27
...
...
@@ -116,8 +116,8 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'41bf6f27bc4248555f1b51ebcaffad1c'
,
'd8b664607bd727900320b23da3fafaf2'
,
'8206069d9567cbc0a06e441869343819'
,
],
},
{
...
...
@@ -588,16 +588,6 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'41bf6f27bc4248555f1b51ebcaffad1c'
,
viewmodule
:
'Marketing'
,
viewname
:
'CampaignEditView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'da3f8c1f20f440f3df54d6c13a8de586'
,
],
},
{
viewtag
:
'41e012bf9b91b39e4a30072986b7c11e'
,
viewmodule
:
'Product'
,
...
...
@@ -1087,6 +1077,16 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'8206069d9567cbc0a06e441869343819'
,
viewmodule
:
'Marketing'
,
viewname
:
'CampaignQuickCreateView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'da3f8c1f20f440f3df54d6c13a8de586'
,
],
},
{
viewtag
:
'8332d2ba99d5a618d1ab69f45ce689f5'
,
viewmodule
:
'Marketing'
,
...
...
app_CRM/src/uiservice/campaign/campaign-ui-service-base.ts
浏览文件 @
76a59a27
...
...
@@ -87,6 +87,7 @@ export default class CampaignUIServiceBase extends UIService {
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
:
'quickcreateview'
,
srfappde
:
'campaigns'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'summary'
,
srfappde
:
'campaigns'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'info'
,
srfappde
:
'campaigns'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'info_schedule'
,
srfappde
:
'campaigns'
});
...
...
@@ -100,6 +101,66 @@ export default class CampaignUIServiceBase extends UIService {
public
initDeMainStateMap
(){
}
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
*/
public
async
Campaign_OpenQuickCreateView
(
args
:
any
[],
context
:
any
=
{}
,
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
let
data
:
any
=
{};
let
parentContext
:
any
=
{};
let
parentViewParam
:
any
=
{};
const
_this
:
any
=
actionContext
;
const
_args
:
any
[]
=
Util
.
deepCopy
(
args
);
const
actionTarget
:
string
|
null
=
'NONE'
;
if
(
_this
.
context
){
parentContext
=
_this
.
context
;
}
if
(
_this
.
viewparams
){
parentViewParam
=
_this
.
viewparams
;
}
context
=
UIActionTool
.
handleContextParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
context
);
data
=
UIActionTool
.
handleActionParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
params
);
context
=
Object
.
assign
({},
actionContext
.
context
,
context
);
let
parentObj
:
any
=
{
srfparentdename
:
srfParentDeName
?
srfParentDeName
:
null
,
srfparentkey
:
srfParentDeName
?
context
[
srfParentDeName
.
toLowerCase
()]:
null
};
Object
.
assign
(
data
,
parentObj
);
Object
.
assign
(
context
,
parentObj
);
let
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'campaigns'
,
parameterName
:
'campaign'
},
];
const
openDrawer
=
(
view
:
any
,
data
:
any
)
=>
{
let
container
:
Subject
<
any
>
=
actionContext
.
$appdrawer
.
openDrawer
(
view
,
context
,
data
);
container
.
subscribe
((
result
:
any
)
=>
{
if
(
!
result
||
!
Object
.
is
(
result
.
ret
,
'OK'
))
{
return
;
}
const
_this
:
any
=
actionContext
;
if
(
window
.
opener
){
window
.
opener
.
postMessage
({
status
:
'OK'
,
identification
:
'WF'
},
Environment
.
uniteAddress
);
window
.
close
();
}
return
result
.
datas
;
});
}
const
view
:
any
=
{
viewname
:
'campaign-quick-create-view'
,
height
:
0
,
width
:
0
,
title
:
actionContext
.
$t
(
'entities.campaign.views.quickcreateview.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
/**
* 头编辑
*
...
...
app_CRM/src/widgets/campaign/quick-create-form/quick-create-form-base.tsx
0 → 100644
浏览文件 @
76a59a27
import
{
Prop
,
Provide
,
Emit
,
Model
}
from
'vue-property-decorator'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
Watch
,
EditFormControlBase
}
from
'@/studio-core'
;
import
CampaignService
from
'@/service/campaign/campaign-service'
;
import
QuickCreateService
from
'./quick-create-form-service'
;
import
{
FormButtonModel
,
FormPageModel
,
FormItemModel
,
FormDRUIPartModel
,
FormPartModel
,
FormGroupPanelModel
,
FormIFrameModel
,
FormRowItemModel
,
FormTabPageModel
,
FormTabPanelModel
,
FormUserControlModel
}
from
'@/model/form-detail'
;
/**
* form部件基类
*
* @export
* @class EditFormControlBase
* @extends {QuickCreateEditFormBase}
*/
export
class
QuickCreateEditFormBase
extends
EditFormControlBase
{
/**
* 建构部件服务对象
*
* @type {QuickCreateService}
* @memberof QuickCreateEditFormBase
*/
public
service
:
QuickCreateService
=
new
QuickCreateService
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {CampaignService}
* @memberof QuickCreateEditFormBase
*/
public
appEntityService
:
CampaignService
=
new
CampaignService
({
$store
:
this
.
$store
});
/**
* 应用实体名称
*
* @protected
* @type {string}
* @memberof QuickCreateEditFormBase
*/
protected
appDeName
:
string
=
'campaign'
;
/**
* 表单数据对象
*
* @type {*}
* @memberof QuickCreateEditFormBase
*/
public
data
:
any
=
{
srfupdatedate
:
null
,
srforikey
:
null
,
srfkey
:
null
,
srfmajortext
:
null
,
srftempmode
:
null
,
srfuf
:
null
,
srfdeid
:
null
,
srfsourcekey
:
null
,
campaignname
:
null
,
codename
:
null
,
transactioncurrencyname
:
null
,
typecode
:
null
,
expectedresponse
:
null
,
transactioncurrencyid
:
null
,
campaignid
:
null
,
campaign
:
null
,
};
/**
* 属性值规则
*
* @type {*}
* @memberof QuickCreateEditFormBase
*/
public
rules
:
any
=
{
campaignname
:
[
{
required
:
true
,
type
:
'string'
,
message
:
'活动名称 值不能为空'
,
trigger
:
'change'
},
{
required
:
true
,
type
:
'string'
,
message
:
'活动名称 值不能为空'
,
trigger
:
'blur'
},
],
transactioncurrencyname
:
[
{
required
:
true
,
type
:
'string'
,
message
:
'货币 值不能为空'
,
trigger
:
'change'
},
{
required
:
true
,
type
:
'string'
,
message
:
'货币 值不能为空'
,
trigger
:
'blur'
},
],
}
/**
* 详情模型集合
*
* @type {*}
* @memberof QuickCreateEditFormBase
*/
public
detailsModel
:
any
=
{
group1
:
new
FormGroupPanelModel
({
caption
:
'市场活动基本信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group1'
,
visible
:
true
,
isShowCaption
:
false
,
form
:
this
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.campaign.quickcreate_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
}),
formpage1
:
new
FormPageModel
({
caption
:
'基本信息'
,
detailType
:
'FORMPAGE'
,
name
:
'formpage1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
}),
srfupdatedate
:
new
FormItemModel
({
caption
:
'更新时间'
,
detailType
:
'FORMITEM'
,
name
:
'srfupdatedate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
0
}),
srforikey
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srforikey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
srfkey
:
new
FormItemModel
({
caption
:
'市场活动'
,
detailType
:
'FORMITEM'
,
name
:
'srfkey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
1
}),
srfmajortext
:
new
FormItemModel
({
caption
:
'活动名称'
,
detailType
:
'FORMITEM'
,
name
:
'srfmajortext'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
srftempmode
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srftempmode'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
srfuf
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfuf'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
srfdeid
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfdeid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
srfsourcekey
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfsourcekey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
campaignname
:
new
FormItemModel
({
caption
:
'活动名称'
,
detailType
:
'FORMITEM'
,
name
:
'campaignname'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
codename
:
new
FormItemModel
({
caption
:
'活动代码'
,
detailType
:
'FORMITEM'
,
name
:
'codename'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
1
}),
transactioncurrencyname
:
new
FormItemModel
({
caption
:
'货币'
,
detailType
:
'FORMITEM'
,
name
:
'transactioncurrencyname'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
typecode
:
new
FormItemModel
({
caption
:
'活动类型'
,
detailType
:
'FORMITEM'
,
name
:
'typecode'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
expectedresponse
:
new
FormItemModel
({
caption
:
'预期响应'
,
detailType
:
'FORMITEM'
,
name
:
'expectedresponse'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
transactioncurrencyid
:
new
FormItemModel
({
caption
:
'货币'
,
detailType
:
'FORMITEM'
,
name
:
'transactioncurrencyid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
1
}),
campaignid
:
new
FormItemModel
({
caption
:
'市场活动'
,
detailType
:
'FORMITEM'
,
name
:
'campaignid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
1
}),
};
}
\ No newline at end of file
app_CRM/src/widgets/campaign/quick-create-form/quick-create-form-model.ts
0 → 100644
浏览文件 @
76a59a27
/**
* QuickCreate 部件模型
*
* @export
* @class QuickCreateModel
*/
export
default
class
QuickCreateModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof QuickCreateModel
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'srfwfmemo'
,
prop
:
'srfwfmemo'
,
dataType
:
'TEXT'
,
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name
:
'srffrontuf'
,
prop
:
'srffrontuf'
,
dataType
:
'TEXT'
,
},
{
name
:
'srfupdatedate'
,
prop
:
'updatedate'
,
dataType
:
'DATETIME'
,
},
{
name
:
'srforikey'
,
},
{
name
:
'srfkey'
,
prop
:
'campaignid'
,
dataType
:
'GUID'
,
},
{
name
:
'srfmajortext'
,
prop
:
'campaignname'
,
dataType
:
'TEXT'
,
},
{
name
:
'srftempmode'
,
},
{
name
:
'srfuf'
,
},
{
name
:
'srfdeid'
,
},
{
name
:
'srfsourcekey'
,
},
{
name
:
'campaignname'
,
prop
:
'campaignname'
,
dataType
:
'TEXT'
,
},
{
name
:
'codename'
,
prop
:
'codename'
,
dataType
:
'TEXT'
,
},
{
name
:
'transactioncurrencyname'
,
prop
:
'currencyname'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'typecode'
,
prop
:
'typecode'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'expectedresponse'
,
prop
:
'expectedresponse'
,
dataType
:
'INT'
,
},
{
name
:
'transactioncurrencyid'
,
prop
:
'transactioncurrencyid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'campaignid'
,
prop
:
'campaignid'
,
dataType
:
'GUID'
,
},
{
name
:
'campaign'
,
prop
:
'campaignid'
,
dataType
:
'FONTKEY'
,
},
]
}
}
\ No newline at end of file
app_CRM/src/widgets/campaign/quick-create-form/quick-create-form-service.ts
0 → 100644
浏览文件 @
76a59a27
此差异已折叠。
点击以展开。
app_CRM/src/widgets/campaign/quick-create-form/quick-create-form.html
0 → 100644
浏览文件 @
76a59a27
<i-form
:model=
"this.data"
class=
'app-form'
ref=
'form'
id=
'campaign_quickcreate'
style=
""
>
<input
style=
"display:none;"
/>
<row
>
<i-col
v-show=
"detailsModel.group1.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-group
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.campaign.quickcreate_form.details.group1')"
:isShowCaption=
"false"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<row>
<i-col
v-show=
"detailsModel.campaignname.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'campaignname'
:itemRules=
"this.rules.campaignname"
class=
''
:caption=
"$t('entities.campaign.quickcreate_form.details.campaignname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.campaignname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.campaignname"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.campaignname.disabled"
type=
'text'
style=
""
></input-box>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.codename.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'codename'
:itemRules=
"this.rules.codename"
class=
''
:caption=
"$t('entities.campaign.quickcreate_form.details.codename')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.codename.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.codename"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.codename.disabled"
type=
'text'
style=
""
></input-box>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.transactioncurrencyname.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'transactioncurrencyname'
:itemRules=
"this.rules.transactioncurrencyname"
class=
''
:caption=
"$t('entities.campaign.quickcreate_form.details.transactioncurrencyname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.transactioncurrencyname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-picker
:formState=
"formState"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.transactioncurrencyname.disabled"
name=
'transactioncurrencyname'
deMajorField=
'currencyname'
deKeyField=
'transactioncurrency'
:service=
"service"
:acParams=
"{ serviceName: 'TransactionCurrencyService', interfaceName: 'FetchDefault'}"
valueitem=
'transactioncurrencyid'
:value=
"data.transactioncurrencyname"
editortype=
""
:pickupView=
"{ viewname: 'transaction-currency-pickup-view', title: $t('entities.transactioncurrency.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'transactioncurrencies', parameterName: 'transactioncurrency' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
style=
""
@
formitemvaluechange=
"onFormItemValueChange($event)"
>
</app-picker>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.typecode.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'typecode'
:itemRules=
"this.rules.typecode"
class=
''
:caption=
"$t('entities.campaign.quickcreate_form.details.typecode')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.typecode.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<dropdown-list
v-model=
"data.typecode"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.typecode.disabled"
tag=
'Campaign__TypeCode'
codelistType=
'STATIC'
placeholder=
'请选择...'
style=
""
>
</dropdown-list>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.expectedresponse.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'expectedresponse'
:itemRules=
"this.rules.expectedresponse"
class=
''
:caption=
"$t('entities.campaign.quickcreate_form.details.expectedresponse')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.expectedresponse.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.expectedresponse"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.expectedresponse.disabled"
type=
'number'
style=
""
></input-box>
</app-form-item>
</i-col>
</row>
</app-form-group>
</i-col>
</row>
</i-form>
\ No newline at end of file
app_CRM/src/widgets/campaign/quick-create-form/quick-create-form.vue
0 → 100644
浏览文件 @
76a59a27
<
template
src=
"./quick-create-form.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { QuickCreateEditFormBase } from './quick-create-form-base';
/**
* form部件
*
* @export
* @class QuickCreateEditForm
* @extends {QuickCreateEditFormBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class QuickCreateEditForm extends QuickCreateEditFormBase { }
</script>
app_CRM/src/widgets/ibiz-list/quick-create-form/quick-create-form-base.tsx
浏览文件 @
76a59a27
...
...
@@ -68,10 +68,6 @@ export class QuickCreateEditFormBase extends EditFormControlBase {
ownerid
:
null
,
owneridtype
:
null
,
owneridyominame
:
null
,
createman
:
null
,
createdate
:
null
,
updateman
:
null
,
updatedate
:
null
,
transactioncurrencyid
:
null
,
listid
:
null
,
ibizlist
:
null
,
...
...
@@ -113,14 +109,10 @@ export class QuickCreateEditFormBase extends EditFormControlBase {
* @memberof QuickCreateEditFormBase
*/
public
detailsModel
:
any
=
{
group1
:
new
FormGroupPanelModel
({
caption
:
'list基本信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group1'
,
visible
:
true
,
isShowCaption
:
tru
e
,
form
:
this
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.ibizlist.quickcreate_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
}),
group1
:
new
FormGroupPanelModel
({
caption
:
'list基本信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group1'
,
visible
:
true
,
isShowCaption
:
fals
e
,
form
:
this
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.ibizlist.quickcreate_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
}),
formpage1
:
new
FormPageModel
({
caption
:
'基本信息'
,
detailType
:
'FORMPAGE'
,
name
:
'formpage1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
}),
group2
:
new
FormGroupPanelModel
({
caption
:
'操作信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group2'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.ibizlist.quickcreate_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
}),
formpage2
:
new
FormPageModel
({
caption
:
'其它'
,
detailType
:
'FORMPAGE'
,
name
:
'formpage2'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
}),
srfupdatedate
:
new
FormItemModel
({
caption
:
'更新时间'
,
detailType
:
'FORMITEM'
,
name
:
'srfupdatedate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
0
}),
srforikey
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srforikey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
...
...
@@ -163,18 +155,9 @@ export class QuickCreateEditFormBase extends EditFormControlBase {
owneridyominame
:
new
FormItemModel
({
caption
:
'负责人'
,
detailType
:
'FORMITEM'
,
name
:
'owneridyominame'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
0
}),
createman
:
new
FormItemModel
({
caption
:
'建立人'
,
detailType
:
'FORMITEM'
,
name
:
'createman'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
0
}),
createdate
:
new
FormItemModel
({
caption
:
'建立时间'
,
detailType
:
'FORMITEM'
,
name
:
'createdate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
0
}),
updateman
:
new
FormItemModel
({
caption
:
'更新人'
,
detailType
:
'FORMITEM'
,
name
:
'updateman'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
0
}),
updatedate
:
new
FormItemModel
({
caption
:
'更新时间'
,
detailType
:
'FORMITEM'
,
name
:
'updatedate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
0
}),
transactioncurrencyid
:
new
FormItemModel
({
caption
:
'货币'
,
detailType
:
'FORMITEM'
,
name
:
'transactioncurrencyid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
listid
:
new
FormItemModel
({
caption
:
'列表'
,
detailType
:
'FORMITEM'
,
name
:
'listid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
1
}),
form
:
new
FormTabPanelModel
({
caption
:
'form'
,
detailType
:
'TABPANEL'
,
name
:
'form'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
tabPages
:
[{
name
:
'formpage1'
,
index
:
0
,
visible
:
true
},
{
name
:
'formpage2'
,
index
:
1
,
visible
:
true
}]
}),
};
}
\ No newline at end of file
app_CRM/src/widgets/ibiz-list/quick-create-form/quick-create-form-model.ts
浏览文件 @
76a59a27
...
...
@@ -120,26 +120,6 @@ export default class QuickCreateModel {
prop
:
'owneridyominame'
,
dataType
:
'TEXT'
,
},
{
name
:
'createman'
,
prop
:
'createman'
,
dataType
:
'TEXT'
,
},
{
name
:
'createdate'
,
prop
:
'createdate'
,
dataType
:
'DATETIME'
,
},
{
name
:
'updateman'
,
prop
:
'updateman'
,
dataType
:
'TEXT'
,
},
{
name
:
'updatedate'
,
prop
:
'updatedate'
,
dataType
:
'DATETIME'
,
},
{
name
:
'transactioncurrencyid'
,
prop
:
'transactioncurrencyid'
,
...
...
app_CRM/src/widgets/ibiz-list/quick-create-form/quick-create-form.html
浏览文件 @
76a59a27
<i-form
:model=
"this.data"
class=
'app-form'
ref=
'form'
id=
'ibizlist_quickcreate'
style=
""
>
<input
style=
"display:none;"
/>
<row
>
<tabs
:animated=
"false"
size=
"small"
name=
'quickcreate'
:value=
"detailsModel.form.activiedPage"
@
on-click=
"detailsModel.form.clickPage($event)"
>
<tab-pane
v-show=
"detailsModel.formpage1.visible"
name=
'formpage1'
:index=
"0"
tab=
'quickcreate'
class=
''
:label=
"(h) =>{
return h('span',{
class:'caption'
},[
$t('entities.ibizlist.quickcreate_form.details.formpage1')
])
}"
>
<i-col
v-show=
"detailsModel.group1.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-group
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.ibizlist.quickcreate_form.details.group1')"
:isShowCaption=
"
tru
e"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<app-form-group
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.ibizlist.quickcreate_form.details.group1')"
:isShowCaption=
"
fals
e"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<row>
<i-col
v-show=
"detailsModel.listname.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'listname'
:itemRules=
"this.rules.listname"
class=
''
:caption=
"$t('entities.ibizlist.quickcreate_form.details.listname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.listname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
...
...
@@ -147,55 +137,5 @@
</i-col>
</tab-pane>
<tab-pane
v-show=
"detailsModel.formpage2.visible"
name=
'formpage2'
:index=
"1"
tab=
'quickcreate'
class=
''
:label=
"(h) =>{
return h('span',{
class:'caption'
},[
$t('entities.ibizlist.quickcreate_form.details.formpage2')
])
}"
>
<i-col
v-show=
"detailsModel.group2.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-group
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group2.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.ibizlist.quickcreate_form.details.group2')"
:isShowCaption=
"true"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<row>
<i-col
v-show=
"detailsModel.createman.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'createman'
:itemRules=
"this.rules.createman"
class=
''
:caption=
"$t('entities.ibizlist.quickcreate_form.details.createman')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.createman.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'createman'
:value=
"data.createman"
tag=
'SysOperator'
codelistType=
'DYNAMIC'
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
></app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.createdate.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'createdate'
:itemRules=
"this.rules.createdate"
class=
''
:caption=
"$t('entities.ibizlist.quickcreate_form.details.createdate')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.createdate.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'createdate'
:value=
"data.createdate"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
></app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.updateman.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'updateman'
:itemRules=
"this.rules.updateman"
class=
''
:caption=
"$t('entities.ibizlist.quickcreate_form.details.updateman')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.updateman.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'updateman'
:value=
"data.updateman"
tag=
'SysOperator'
codelistType=
'DYNAMIC'
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
></app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.updatedate.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'updatedate'
:itemRules=
"this.rules.updatedate"
class=
''
:caption=
"$t('entities.ibizlist.quickcreate_form.details.updatedate')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.updatedate.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'updatedate'
:value=
"data.updatedate"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
></app-span>
</app-form-item>
</i-col>
</row>
</app-form-group>
</i-col>
</tab-pane>
</tabs>
</row>
</i-form>
\ No newline at end of file
app_CRM/src/widgets/ibiz-list/summary-dashboard/summary-dashboard.html
浏览文件 @
76a59a27
...
...
@@ -6,7 +6,7 @@
<i-col
:md=
"{ span: 24, offset: 0 }"
:lg=
"{ span: 18, offset: 0 }"
>
<card
class=
"portlet-card"
:bordered=
"false"
dis-hover
:padding=
"0"
>
<span>
<div
class=
'portlet-container summarydashboard-container1 '
:style=
"{}"
>
<div
class=
'portlet-container summarydashboard-container1
portlet-container-no-border
'
:style=
"{}"
>
<row>
<i-col
:md=
"{ span: 24, offset: 0 }"
>
<div
class=
"portlet-without-title"
>
...
...
businesscentral-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
76a59a27
...
...
@@ -7421,7 +7421,7 @@
<!--输出实体[CAMPAIGN]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-campaign-1
0
8-78"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-campaign-1
1
8-78"
>
<createTable
tableName=
"CAMPAIGN"
>
<column
name=
"EXPECTEDRESPONSE"
remarks=
""
type=
"INT"
>
</column>
...
...
@@ -9933,7 +9933,7 @@
<!--输出实体[LIST]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-list-7
0
-114"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-list-7
6
-114"
>
<createTable
tableName=
"LIST"
>
<column
name=
"OWNERIDTYPE"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
...
...
@@ -11435,10 +11435,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-1
0
8-324"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-campaign-1
1
8-324"
>
<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-1
0
8-325"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-campaign-1
1
8-325"
>
<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]外键关系 -->
...
...
@@ -11684,7 +11684,7 @@
<!--输出实体[POST]外键关系 -->
<!--输出实体[CONTRACTTEMPLATE]外键关系 -->
<!--输出实体[LIST]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-list-7
0
-404"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-list-7
6
-404"
>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"LIST"
constraintName=
"DER1N_LIST__TRANSACTIONCURRENC"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
<!--输出实体[KNOWLEDGEBASERECORD]外键关系 -->
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录