Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
7cb0d8a6
提交
7cb0d8a6
编写于
7月 20, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lab_gzf 部署微服务应用
上级
820410a1
变更
68
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
68 个修改的文件
包含
2142 行增加
和
2164 行删除
+2142
-2164
data-dictionary.json
app_BusinessCentral/public/assets/json/data-dictionary.json
+25
-0
login.less
app_BusinessCentral/src/components/login/login.less
+11
-0
login.tsx
app_BusinessCentral/src/components/login/login.tsx
+24
-6
price-level.ts
app_BusinessCentral/src/interface/entity/price-level.ts
+1
-1
en-US.ts
app_BusinessCentral/src/locale/lang/en-US.ts
+2
-4
zh-CN.ts
app_BusinessCentral/src/locale/lang/zh-CN.ts
+2
-4
codelist_en_US.ts
...inessCentral/src/locale/lanres/codelist/codelist_en_US.ts
+7
-0
codelist_zh_CN.ts
...inessCentral/src/locale/lanres/codelist/codelist_zh_CN.ts
+7
-0
campaign-activity_en_US.ts
...res/entities/campaign-activity/campaign-activity_en_US.ts
+4
-2
campaign-activity_zh_CN.ts
...res/entities/campaign-activity/campaign-activity_zh_CN.ts
+4
-2
campaign-list_en_US.ts
...cale/lanres/entities/campaign-list/campaign-list_en_US.ts
+7
-5
campaign-list_zh_CN.ts
...cale/lanres/entities/campaign-list/campaign-list_zh_CN.ts
+7
-5
campaign-response_en_US.ts
...res/entities/campaign-response/campaign-response_en_US.ts
+3
-2
campaign-response_zh_CN.ts
...res/entities/campaign-response/campaign-response_zh_CN.ts
+3
-2
lead_en_US.ts
...nessCentral/src/locale/lanres/entities/lead/lead_en_US.ts
+8
-0
lead_zh_CN.ts
...nessCentral/src/locale/lanres/entities/lead/lead_zh_CN.ts
+8
-0
price-level_en_US.ts
...c/locale/lanres/entities/price-level/price-level_en_US.ts
+12
-12
price-level_zh_CN.ts
...c/locale/lanres/entities/price-level/price-level_zh_CN.ts
+12
-12
central-appmenu.ts
...ssCentral/src/mock/app/central-appmenu/central-appmenu.ts
+38
-76
codelist.ts
app_BusinessCentral/src/mock/codelist/codelist.ts
+25
-0
page-register.ts
app_BusinessCentral/src/pages/base/central/page-register.ts
+3
-7
router.ts
app_BusinessCentral/src/pages/base/central/router.ts
+32
-88
knowledge-article-grid-view-base.tsx
...ge-article-grid-view/knowledge-article-grid-view-base.tsx
+19
-7
invoice-edit-view.html
...rc/pages/finance/invoice-edit-view/invoice-edit-view.html
+0
-3
campaign-list-grid-view-base.tsx
.../campaign-list-grid-view/campaign-list-grid-view-base.tsx
+5
-167
competitor-edit-view.html
...ages/sales/competitor-edit-view/competitor-edit-view.html
+0
-3
lead-excluded-grid-view-base.tsx
.../lead-excluded-grid-view/lead-excluded-grid-view-base.tsx
+35
-0
quote-edit-view.html
...tral/src/pages/sales/quote-edit-view/quote-edit-view.html
+0
-3
sales-order-edit-view.html
...es/sales/sales-order-edit-view/sales-order-edit-view.html
+0
-3
account-service-base.ts
...sinessCentral/src/service/account/account-service-base.ts
+50
-50
campaign-service-base.ts
...nessCentral/src/service/campaign/campaign-service-base.ts
+50
-50
competitor-service-base.ts
...Central/src/service/competitor/competitor-service-base.ts
+50
-50
contact-service-base.ts
...sinessCentral/src/service/contact/contact-service-base.ts
+131
-131
ibiz-list-service-base.ts
...ssCentral/src/service/ibiz-list/ibiz-list-service-base.ts
+50
-50
lead-service-base.ts
app_BusinessCentral/src/service/lead/lead-service-base.ts
+334
-334
opportunity-service-base.ts
...ntral/src/service/opportunity/opportunity-service-base.ts
+256
-256
product-service-base.ts
...sinessCentral/src/service/product/product-service-base.ts
+50
-50
sales-literature-service-base.ts
...service/sales-literature/sales-literature-service-base.ts
+50
-50
sales-order-service-base.ts
...ntral/src/service/sales-order/sales-order-service-base.ts
+308
-308
state.ts
app_BusinessCentral/src/store/modules/view-action/state.ts
+12
-54
knowledge-article-ui-service-base.ts
...ce/knowledge-article/knowledge-article-ui-service-base.ts
+22
-7
central-appmenu-base.tsx
.../src/widgets/app/central-appmenu/central-appmenu-base.tsx
+10
-35
central-appmenu-model.ts
.../src/widgets/app/central-appmenu/central-appmenu-model.ts
+54
-108
main-grid-base.tsx
...rc/widgets/campaign-activity/main-grid/main-grid-base.tsx
+26
-16
main-grid-model.ts
...rc/widgets/campaign-activity/main-grid/main-grid-model.ts
+18
-8
main-grid.html
...al/src/widgets/campaign-activity/main-grid/main-grid.html
+32
-10
main-grid-base.tsx
...al/src/widgets/campaign-list/main-grid/main-grid-base.tsx
+40
-0
main-grid-model.ts
...al/src/widgets/campaign-list/main-grid/main-grid-model.ts
+10
-0
main-grid.html
...entral/src/widgets/campaign-list/main-grid/main-grid.html
+26
-0
main-grid-base.tsx
...rc/widgets/campaign-response/main-grid/main-grid-base.tsx
+17
-16
main-grid-model.ts
...rc/widgets/campaign-response/main-grid/main-grid-model.ts
+14
-9
main-grid.html
...al/src/widgets/campaign-response/main-grid/main-grid.html
+20
-10
infotabexppanel-tabexppanel.html
...otabexppanel-tabexppanel/infotabexppanel-tabexppanel.html
+24
-0
main-form-base.tsx
...tral/src/widgets/price-level/main-form/main-form-base.tsx
+13
-18
main-form-model.ts
...tral/src/widgets/price-level/main-form/main-form-model.ts
+11
-11
main-form.html
...sCentral/src/widgets/price-level/main-form/main-form.html
+28
-51
main-grid-base.tsx
...tral/src/widgets/price-level/main-grid/main-grid-base.tsx
+30
-12
main-grid-model.ts
...tral/src/widgets/price-level/main-grid/main-grid-model.ts
+14
-4
main-grid.html
...sCentral/src/widgets/price-level/main-grid/main-grid.html
+32
-8
infotabexppanel-tabexppanel.html
...otabexppanel-tabexppanel/infotabexppanel-tabexppanel.html
+6
-0
infotabexppanel-tabexppanel.html
...otabexppanel-tabexppanel/infotabexppanel-tabexppanel.html
+6
-0
Dockerfile
...esscentral-app-businesscentral/src/main/docker/Dockerfile
+1
-1
businesscentral-app-businesscentral.yaml
.../src/main/docker/businesscentral-app-businesscentral.yaml
+15
-1
h2_table.xml
...esscentral-core/src/main/resources/liquibase/h2_table.xml
+20
-20
systemResource.json
...al-core/src/main/resources/permission/systemResource.json
+1
-1
Dockerfile
...esscentral-provider-centralapi/src/main/docker/Dockerfile
+1
-1
businesscentral-provider-centralapi.yaml
.../src/main/docker/businesscentral-provider-centralapi.yaml
+1
-15
config.xml
config.xml
+5
-5
未找到文件。
app_BusinessCentral/public/assets/json/data-dictionary.json
浏览文件 @
7cb0d8a6
...
...
@@ -4509,6 +4509,23 @@
}
]
},
{
"srfkey"
:
"Pricelevel__PaymentMethodCode"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"1"
,
"label"
:
"默认值"
,
"text"
:
"默认值"
,
"data"
:
""
,
"codename"
:
"Item_1"
,
"value"
:
"1"
,
"disabled"
:
false
}
]
},
{
"srfkey"
:
"Goal__FiscalPeriod"
,
"emptytext"
:
"未定义"
,
...
...
@@ -5274,6 +5291,14 @@
}
]
},
{
"srfkey"
:
"RelationshipsType"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"dynamic"
,
"appdataentity"
:
""
,
"appdedataset"
:
""
,
"items"
:
[]
},
{
"srfkey"
:
"Account__StateCode"
,
"emptytext"
:
"未定义"
,
...
...
app_BusinessCentral/src/components/login/login.less
浏览文件 @
7cb0d8a6
...
...
@@ -71,6 +71,17 @@
.ivu-layout-content {
a[disable="true"] {
cursor: no-drop;
color: #c7cace;
fill: #c7cace;
}
a[disable="true"]:hover {
color: #c7cace;
fill: #c7cace;
}
h3 {
font-family: "Inter", sans-serif;
font-weight: 500;
...
...
app_BusinessCentral/src/components/login/login.tsx
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
app_BusinessCentral/src/interface/entity/price-level.ts
浏览文件 @
7cb0d8a6
...
...
@@ -127,7 +127,7 @@ export interface PriceLevel {
importsequencenumber
?:
any
;
/**
* 价
格水平
名称
* 价
目表
名称
*
* @returns {*}
* @memberof PriceLevel
...
...
app_BusinessCentral/src/locale/lang/en-US.ts
浏览文件 @
7cb0d8a6
...
...
@@ -196,6 +196,7 @@ export default {
menuitem36
:
"计价单位组"
,
menuitem37
:
"价目表"
,
menuitem38
:
"折扣表"
,
menuitem31
:
"目标度量"
,
menuitem34
:
"消息通知"
,
menuitem35
:
"帮助"
,
left_exp
:
"左侧菜单"
,
...
...
@@ -211,6 +212,7 @@ export default {
menuitem8
:
"潜在客户"
,
menuitem9
:
"商机"
,
menuitem10
:
"竞争对手"
,
menuitem25
:
"目标"
,
menuitem22
:
"宣传资料"
,
menuitem11
:
"报价单"
,
menuitem12
:
"订单"
,
...
...
@@ -220,13 +222,9 @@ export default {
menuitem23
:
"市场营销"
,
menuitem30
:
"市场活动"
,
menuitem15
:
"市场营销列表"
,
menuitem24
:
"绩效"
,
menuitem25
:
"目标"
,
menuitem31
:
"目标度量"
,
menuitem27
:
"服务"
,
menuitem28
:
"服务案例"
,
menuitem32
:
"知识文章"
,
menuitem17
:
"案例客户"
,
bottom_exp
:
"底部内容"
,
footer_left
:
"底部左侧"
,
footer_center
:
"底部中间"
,
...
...
app_BusinessCentral/src/locale/lang/zh-CN.ts
浏览文件 @
7cb0d8a6
...
...
@@ -196,6 +196,7 @@ export default {
menuitem36
:
"计价单位组"
,
menuitem37
:
"价目表"
,
menuitem38
:
"折扣表"
,
menuitem31
:
"目标度量"
,
menuitem34
:
"消息通知"
,
menuitem35
:
"帮助"
,
left_exp
:
"左侧菜单"
,
...
...
@@ -211,6 +212,7 @@ export default {
menuitem8
:
"潜在客户"
,
menuitem9
:
"商机"
,
menuitem10
:
"竞争对手"
,
menuitem25
:
"目标"
,
menuitem22
:
"宣传资料"
,
menuitem11
:
"报价单"
,
menuitem12
:
"订单"
,
...
...
@@ -220,13 +222,9 @@ export default {
menuitem23
:
"市场营销"
,
menuitem30
:
"市场活动"
,
menuitem15
:
"市场营销列表"
,
menuitem24
:
"绩效"
,
menuitem25
:
"目标"
,
menuitem31
:
"目标度量"
,
menuitem27
:
"服务"
,
menuitem28
:
"服务案例"
,
menuitem32
:
"知识文章"
,
menuitem17
:
"案例客户"
,
bottom_exp
:
"底部内容"
,
footer_left
:
"底部左侧"
,
footer_center
:
"底部中间"
,
...
...
app_BusinessCentral/src/locale/lanres/codelist/codelist_en_US.ts
浏览文件 @
7cb0d8a6
...
...
@@ -583,6 +583,10 @@ export default {
"0"
:
"有效"
,
"empty"
:
""
},
Pricelevel__PaymentMethodCode
:
{
"1"
:
"默认值"
,
"empty"
:
""
},
Goal__FiscalPeriod
:
{
"1"
:
"1 季度"
,
"2"
:
"2 季度"
,
...
...
@@ -671,6 +675,9 @@ export default {
"0"
:
"已开始"
,
"empty"
:
""
},
RelationshipsType
:
{
"empty"
:
""
},
Account__StateCode
:
{
"1"
:
"停用"
,
"0"
:
"可用"
,
...
...
app_BusinessCentral/src/locale/lanres/codelist/codelist_zh_CN.ts
浏览文件 @
7cb0d8a6
...
...
@@ -583,6 +583,10 @@ export default {
"0"
:
"有效"
,
"empty"
:
""
,
},
Pricelevel__PaymentMethodCode
:
{
"1"
:
"默认值"
,
"empty"
:
""
,
},
Goal__FiscalPeriod
:
{
"1"
:
"1 季度"
,
"2"
:
"2 季度"
,
...
...
@@ -671,6 +675,9 @@ export default {
"0"
:
"已开始"
,
"empty"
:
""
,
},
RelationshipsType
:
{
"empty"
:
""
,
},
Account__StateCode
:
{
"1"
:
"停用"
,
"0"
:
"可用"
,
...
...
app_BusinessCentral/src/locale/lanres/entities/campaign-activity/campaign-activity_en_US.ts
浏览文件 @
7cb0d8a6
...
...
@@ -148,8 +148,10 @@ export default {
main_grid
:
{
columns
:
{
subject
:
"主题"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
activitytypecode
:
"活动类型"
,
actualcost
:
"实际成本"
,
actualstart
:
"实际开始时间"
,
actualend
:
"实际结束时间"
,
},
uiactions
:
{
},
...
...
app_BusinessCentral/src/locale/lanres/entities/campaign-activity/campaign-activity_zh_CN.ts
浏览文件 @
7cb0d8a6
...
...
@@ -147,8 +147,10 @@ export default {
main_grid
:
{
columns
:
{
subject
:
"主题"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
activitytypecode
:
"活动类型"
,
actualcost
:
"实际成本"
,
actualstart
:
"实际开始时间"
,
actualend
:
"实际结束时间"
,
},
uiactions
:
{
},
...
...
app_BusinessCentral/src/locale/lanres/entities/campaign-list/campaign-list_en_US.ts
浏览文件 @
7cb0d8a6
...
...
@@ -44,6 +44,8 @@ export default {
},
main_grid
:
{
columns
:
{
entity2name
:
"名称"
,
relationshipstype
:
"关系类型"
,
},
uiactions
:
{
},
...
...
@@ -56,18 +58,18 @@ export default {
},
},
gridviewtoolbar_toolbar
:
{
tbitem3
:
{
deuiaction1
:
{
caption
:
"New"
,
tip
:
"New"
,
},
tbitem2
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem4
:
{
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
},
tbitem6
:
{
caption
:
"Copy"
,
tip
:
"Copy {0}"
,
},
tbitem7
:
{
caption
:
"-"
,
tip
:
""
,
...
...
app_BusinessCentral/src/locale/lanres/entities/campaign-list/campaign-list_zh_CN.ts
浏览文件 @
7cb0d8a6
...
...
@@ -43,6 +43,8 @@ export default {
},
main_grid
:
{
columns
:
{
entity2name
:
"名称"
,
relationshipstype
:
"关系类型"
,
},
uiactions
:
{
},
...
...
@@ -55,18 +57,18 @@ export default {
},
},
gridviewtoolbar_toolbar
:
{
tbitem3
:
{
deuiaction1
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
tbitem2
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem4
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
tbitem6
:
{
caption
:
"拷贝"
,
tip
:
"拷贝"
,
},
tbitem7
:
{
caption
:
"-"
,
tip
:
""
,
...
...
app_BusinessCentral/src/locale/lanres/entities/campaign-response/campaign-response_en_US.ts
浏览文件 @
7cb0d8a6
...
...
@@ -142,8 +142,9 @@ export default {
main_grid
:
{
columns
:
{
subject
:
"主题"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
activitytypecode
:
"活动类型"
,
actualstart
:
"实际开始时间"
,
actualend
:
"实际结束时间"
,
},
uiactions
:
{
},
...
...
app_BusinessCentral/src/locale/lanres/entities/campaign-response/campaign-response_zh_CN.ts
浏览文件 @
7cb0d8a6
...
...
@@ -141,8 +141,9 @@ export default {
main_grid
:
{
columns
:
{
subject
:
"主题"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
activitytypecode
:
"活动类型"
,
actualstart
:
"实际开始时间"
,
actualend
:
"实际结束时间"
,
},
uiactions
:
{
},
...
...
app_BusinessCentral/src/locale/lanres/entities/lead/lead_en_US.ts
浏览文件 @
7cb0d8a6
...
...
@@ -782,6 +782,14 @@ export default {
caption
:
"-"
,
tip
:
""
,
},
tbitem14_active
:
{
caption
:
"重新激活"
,
tip
:
"重新激活"
,
},
tbitem15
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem19
:
{
caption
:
"Filter"
,
tip
:
"Filter"
,
...
...
app_BusinessCentral/src/locale/lanres/entities/lead/lead_zh_CN.ts
浏览文件 @
7cb0d8a6
...
...
@@ -781,6 +781,14 @@ export default {
caption
:
"-"
,
tip
:
""
,
},
tbitem14_active
:
{
caption
:
"重新激活"
,
tip
:
"重新激活"
,
},
tbitem15
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem19
:
{
caption
:
"过滤"
,
tip
:
"过滤"
,
...
...
app_BusinessCentral/src/locale/lanres/entities/price-level/price-level_en_US.ts
浏览文件 @
7cb0d8a6
...
...
@@ -16,7 +16,7 @@ export default {
exchangerate
:
"汇率"
,
begindate
:
"开始日期"
,
importsequencenumber
:
"Import Sequence Number"
,
pricelevelname
:
"价
格水平
名称"
,
pricelevelname
:
"价
目表
名称"
,
statuscode
:
"状态描述"
,
freighttermscode
:
"货运条款"
,
createdate
:
"建立时间"
,
...
...
@@ -45,21 +45,19 @@ export default {
details
:
{
group1
:
"pricelevel基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"价目表"
,
srfmajortext
:
"价
格水平
名称"
,
srfmajortext
:
"价
目表
名称"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
pricelevelname
:
"价
格水平
名称"
,
createman
:
"建立人
"
,
createdate
:
"建立时间
"
,
updateman
:
"更新人
"
,
updatedate
:
"更新时间
"
,
pricelevelname
:
"价
目表
名称"
,
begindate
:
"开始日期
"
,
enddate
:
"结束日期
"
,
paymentmethodcode
:
"付款方式
"
,
description
:
"说明
"
,
pricelevelid
:
"价目表"
,
},
uiactions
:
{
...
...
@@ -67,9 +65,11 @@ export default {
},
main_grid
:
{
columns
:
{
pricelevelname
:
"价格水平名称"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
pricelevelname
:
"价目表名称"
,
begindate
:
"开始日期"
,
enddate
:
"结束日期"
,
paymentmethodcode
:
"付款方式"
,
description
:
"说明"
,
},
uiactions
:
{
},
...
...
app_BusinessCentral/src/locale/lanres/entities/price-level/price-level_zh_CN.ts
浏览文件 @
7cb0d8a6
...
...
@@ -15,7 +15,7 @@ export default {
exchangerate
:
"汇率"
,
begindate
:
"开始日期"
,
importsequencenumber
:
"Import Sequence Number"
,
pricelevelname
:
"价
格水平
名称"
,
pricelevelname
:
"价
目表
名称"
,
statuscode
:
"状态描述"
,
freighttermscode
:
"货运条款"
,
createdate
:
"建立时间"
,
...
...
@@ -44,21 +44,19 @@ export default {
details
:
{
group1
:
"pricelevel基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"价目表"
,
srfmajortext
:
"价
格水平
名称"
,
srfmajortext
:
"价
目表
名称"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
pricelevelname
:
"价
格水平
名称"
,
createman
:
"建立人
"
,
createdate
:
"建立时间
"
,
updateman
:
"更新人
"
,
updatedate
:
"更新时间
"
,
pricelevelname
:
"价
目表
名称"
,
begindate
:
"开始日期
"
,
enddate
:
"结束日期
"
,
paymentmethodcode
:
"付款方式
"
,
description
:
"说明
"
,
pricelevelid
:
"价目表"
,
},
uiactions
:
{
...
...
@@ -66,9 +64,11 @@ export default {
},
main_grid
:
{
columns
:
{
pricelevelname
:
"价格水平名称"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
pricelevelname
:
"价目表名称"
,
begindate
:
"开始日期"
,
enddate
:
"结束日期"
,
paymentmethodcode
:
"付款方式"
,
description
:
"说明"
,
},
uiactions
:
{
},
...
...
app_BusinessCentral/src/mock/app/central-appmenu/central-appmenu.ts
浏览文件 @
7cb0d8a6
...
...
@@ -166,7 +166,7 @@ mock.onGet('v7/centralappmenu').reply((config: any) => {
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
'fa fa-
cog
'
,
iconcls
:
'fa fa-
list-alt
'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'Auto31'
,
...
...
@@ -184,11 +184,29 @@ mock.onGet('v7/centralappmenu').reply((config: any) => {
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
'fa fa-
cog
'
,
iconcls
:
'fa fa-
th-list
'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'Auto23'
,
resourcetag
:
''
,
},
{
id
:
'C332BAD9-C1DC-44D2-A872-CD400C39C69F'
,
name
:
'menuitem31'
,
text
:
'目标度量'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'目标度量'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
'fa fa-line-chart'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'Auto28'
,
resourcetag
:
''
,
},
],
},
...
...
@@ -467,6 +485,24 @@ mock.onGet('v7/centralappmenu').reply((config: any) => {
textcls
:
''
,
appfunctag
:
'Auto12'
,
resourcetag
:
''
,
},
{
id
:
'7865cc7821cd0417f5260b765479666c'
,
name
:
'menuitem25'
,
text
:
'目标'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'目标'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
'fa fa-flag-checkered'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'Auto13'
,
resourcetag
:
''
,
},
],
},
...
...
@@ -635,62 +671,6 @@ mock.onGet('v7/centralappmenu').reply((config: any) => {
resourcetag
:
''
,
},
],
},
{
id
:
'd122b1507a020737aad8946695937ce8'
,
name
:
'menuitem24'
,
text
:
'绩效'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'绩效'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
'fa fa-slack'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
''
,
resourcetag
:
''
,
items
:
[
{
id
:
'7865cc7821cd0417f5260b765479666c'
,
name
:
'menuitem25'
,
text
:
'目标'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'目标'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
'fa fa-flag-checkered'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'Auto13'
,
resourcetag
:
''
,
},
{
id
:
'C332BAD9-C1DC-44D2-A872-CD400C39C69F'
,
name
:
'menuitem31'
,
text
:
'目标度量'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'目标度量'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
'fa fa-line-chart'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'Auto28'
,
resourcetag
:
''
,
},
],
},
{
id
:
'359e8fadad16fed7538b6017cfe73c38'
,
...
...
@@ -745,24 +725,6 @@ mock.onGet('v7/centralappmenu').reply((config: any) => {
textcls
:
''
,
appfunctag
:
'Auto17'
,
resourcetag
:
''
,
},
{
id
:
'2D4A2378-B18F-4CA3-A2C4-B5444C7A590B'
,
name
:
'menuitem17'
,
text
:
'案例客户'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'案例客户'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'Auto19'
,
resourcetag
:
''
,
},
],
},
...
...
app_BusinessCentral/src/mock/codelist/codelist.ts
浏览文件 @
7cb0d8a6
...
...
@@ -4517,6 +4517,23 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey
:
"Pricelevel__PaymentMethodCode"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"1"
,
label
:
"默认值"
,
text
:
"默认值"
,
"data"
:
""
,
"codename"
:
"Item_1"
,
value
:
"1"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"Goal__FiscalPeriod"
,
emptytext
:
"未定义"
,
...
...
@@ -5282,6 +5299,14 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
"srfkey"
:
"RelationshipsType"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"dynamic"
,
"appdataentity"
:
""
,
"appdedataset"
:
""
,
"items"
:
[]
},
{
srfkey
:
"Account__StateCode"
,
emptytext
:
"未定义"
,
...
...
app_BusinessCentral/src/pages/base/central/page-register.ts
浏览文件 @
7cb0d8a6
export
const
PageComponents
=
{
install
(
Vue
:
any
,
opt
:
any
)
{
Vue
.
component
(
'ibiz-list-stop-grid-view'
,
()
=>
import
(
'@pages/marketing/ibiz-list-stop-grid-view/ibiz-list-stop-grid-view.vue'
));
Vue
.
component
(
'goal-child-goal-grid-view'
,
()
=>
import
(
'@pages/sales/goal-child-goal-grid-view/goal-child-goal-grid-view.vue'
));
Vue
.
component
(
'quote-effective-grid-view'
,
()
=>
import
(
'@pages/sales/quote-effective-grid-view/quote-effective-grid-view.vue'
));
Vue
.
component
(
'goal-child-goal-grid-view'
,
()
=>
import
(
'@pages/sales/goal-child-goal-grid-view/goal-child-goal-grid-view.vue'
));
Vue
.
component
(
'invoice-info-invoice-view'
,
()
=>
import
(
'@pages/finance/invoice-info-invoice-view/invoice-info-invoice-view.vue'
));
Vue
.
component
(
'ibiz-list-edit-data-panel-view'
,
()
=>
import
(
'@pages/marketing/ibiz-list-edit-data-panel-view/ibiz-list-edit-data-panel-view.vue'
));
Vue
.
component
(
'competitor-option-view'
,
()
=>
import
(
'@pages/sales/competitor-option-view/competitor-option-view.vue'
));
...
...
@@ -28,7 +28,6 @@ export const PageComponents = {
Vue
.
component
(
'email-edit-view'
,
()
=>
import
(
'@pages/base/email-edit-view/email-edit-view.vue'
));
Vue
.
component
(
'connection-role-pickup-view'
,
()
=>
import
(
'@pages/runtime/connection-role-pickup-view/connection-role-pickup-view.vue'
));
Vue
.
component
(
'sales-literature-edit-data-panel-view'
,
()
=>
import
(
'@pages/sales/sales-literature-edit-data-panel-view/sales-literature-edit-data-panel-view.vue'
));
Vue
.
component
(
'incident-customer-index-pickup-view'
,
()
=>
import
(
'@pages/service/incident-customer-index-pickup-view/incident-customer-index-pickup-view.vue'
));
Vue
.
component
(
'invoice-grid-view'
,
()
=>
import
(
'@pages/finance/invoice-grid-view/invoice-grid-view.vue'
));
Vue
.
component
(
'sales-literature-quick-create-view'
,
()
=>
import
(
'@pages/sales/sales-literature-quick-create-view/sales-literature-quick-create-view.vue'
));
Vue
.
component
(
'contact-usable-grid-view'
,
()
=>
import
(
'@pages/base/contact-usable-grid-view/contact-usable-grid-view.vue'
));
...
...
@@ -130,7 +129,6 @@ export const PageComponents = {
Vue
.
component
(
'sales-order-summary-view'
,
()
=>
import
(
'@pages/sales/sales-order-summary-view/sales-order-summary-view.vue'
));
Vue
.
component
(
'quote-detail-edit-view'
,
()
=>
import
(
'@pages/sales/quote-detail-edit-view/quote-detail-edit-view.vue'
));
Vue
.
component
(
'product-stop-grid-view'
,
()
=>
import
(
'@pages/product/product-stop-grid-view/product-stop-grid-view.vue'
));
Vue
.
component
(
'incident-customer-grid-view'
,
()
=>
import
(
'@pages/service/incident-customer-grid-view/incident-customer-grid-view.vue'
));
Vue
.
component
(
'quote-edit-view'
,
()
=>
import
(
'@pages/sales/quote-edit-view/quote-edit-view.vue'
));
Vue
.
component
(
'incident-grid-view'
,
()
=>
import
(
'@pages/service/incident-grid-view/incident-grid-view.vue'
));
Vue
.
component
(
'account-quick-create'
,
()
=>
import
(
'@pages/base/account-quick-create/account-quick-create.vue'
));
...
...
@@ -148,7 +146,6 @@ export const PageComponents = {
Vue
.
component
(
'lead-edit-data-panel-view'
,
()
=>
import
(
'@pages/sales/lead-edit-data-panel-view/lead-edit-data-panel-view.vue'
));
Vue
.
component
(
'discount-type-grid-view'
,
()
=>
import
(
'@pages/sales/discount-type-grid-view/discount-type-grid-view.vue'
));
Vue
.
component
(
'product-state-tab-view'
,
()
=>
import
(
'@pages/product/product-state-tab-view/product-state-tab-view.vue'
));
Vue
.
component
(
'incident-customer-index-pickup-data-view'
,
()
=>
import
(
'@pages/service/incident-customer-index-pickup-data-view/incident-customer-index-pickup-data-view.vue'
));
Vue
.
component
(
'setting'
,
()
=>
import
(
'@pages/ungroup/setting/setting.vue'
));
Vue
.
component
(
'price-level-edit-view'
,
()
=>
import
(
'@pages/product/price-level-edit-view/price-level-edit-view.vue'
));
Vue
.
component
(
'invoice-quick-create-view'
,
()
=>
import
(
'@pages/finance/invoice-quick-create-view/invoice-quick-create-view.vue'
));
...
...
@@ -157,8 +154,8 @@ export const PageComponents = {
Vue
.
component
(
'sales-order-info'
,
()
=>
import
(
'@pages/sales/sales-order-info/sales-order-info.vue'
));
Vue
.
component
(
'knowledge-article-info-kl-art-view'
,
()
=>
import
(
'@pages/base/knowledge-article-info-kl-art-view/knowledge-article-info-kl-art-view.vue'
));
Vue
.
component
(
'sales-order-detail-edit-view'
,
()
=>
import
(
'@pages/sales/sales-order-detail-edit-view/sales-order-detail-edit-view.vue'
));
Vue
.
component
(
'goal-edit-view'
,
()
=>
import
(
'@pages/sales/goal-edit-view/goal-edit-view.vue'
));
Vue
.
component
(
'letter-edit-view'
,
()
=>
import
(
'@pages/base/letter-edit-view/letter-edit-view.vue'
));
Vue
.
component
(
'goal-edit-view'
,
()
=>
import
(
'@pages/sales/goal-edit-view/goal-edit-view.vue'
));
Vue
.
component
(
'transaction-currency-pickup-view'
,
()
=>
import
(
'@pages/base/transaction-currency-pickup-view/transaction-currency-pickup-view.vue'
));
Vue
.
component
(
'incident-summary-view'
,
()
=>
import
(
'@pages/service/incident-summary-view/incident-summary-view.vue'
));
Vue
.
component
(
'metric-pickup-grid-view'
,
()
=>
import
(
'@pages/base/metric-pickup-grid-view/metric-pickup-grid-view.vue'
));
...
...
@@ -228,7 +225,6 @@ 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
(
'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'
));
...
...
@@ -256,8 +252,8 @@ export const PageComponents = {
Vue
.
component
(
'sales-order-by-parent-key'
,
()
=>
import
(
'@pages/sales/sales-order-by-parent-key/sales-order-by-parent-key.vue'
));
Vue
.
component
(
'product-pickup-grid-view'
,
()
=>
import
(
'@pages/product/product-pickup-grid-view/product-pickup-grid-view.vue'
));
Vue
.
component
(
'list-lead-quick-create-by-list'
,
()
=>
import
(
'@pages/marketing/list-lead-quick-create-by-list/list-lead-quick-create-by-list.vue'
));
Vue
.
component
(
'goal-summary-view'
,
()
=>
import
(
'@pages/sales/goal-summary-view/goal-summary-view.vue'
));
Vue
.
component
(
'account-info'
,
()
=>
import
(
'@pages/base/account-info/account-info.vue'
));
Vue
.
component
(
'goal-summary-view'
,
()
=>
import
(
'@pages/sales/goal-summary-view/goal-summary-view.vue'
));
Vue
.
component
(
'connection-role-grid-view'
,
()
=>
import
(
'@pages/runtime/connection-role-grid-view/connection-role-grid-view.vue'
));
Vue
.
component
(
'incident-pickup-view'
,
()
=>
import
(
'@pages/service/incident-pickup-view/incident-pickup-view.vue'
));
Vue
.
component
(
'contact-edit-data-panel-view'
,
()
=>
import
(
'@pages/base/contact-edit-data-panel-view/contact-edit-data-panel-view.vue'
));
...
...
app_BusinessCentral/src/pages/base/central/router.ts
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
app_BusinessCentral/src/pages/base/knowledge-article-grid-view/knowledge-article-grid-view-base.tsx
浏览文件 @
7cb0d8a6
...
...
@@ -506,16 +506,28 @@ export class KnowledgeArticleGridViewBase extends GridViewBase {
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'knowledgearticles'
,
parameterName
:
'knowledgearticle'
},
{
pathName
:
'quickcreateview'
,
parameterName
:
'quickcreateview'
},
];
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
:
'knowledge-article-quick-create-view'
,
height
:
0
,
width
:
0
,
title
:
this
.
$t
(
'entities.knowledgearticle.views.quickcreateview.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
...
...
app_BusinessCentral/src/pages/finance/invoice-edit-view/invoice-edit-view.html
浏览文件 @
7cb0d8a6
<studio-view-style2
viewName=
"invoiceeditview"
viewTitle=
"发票编辑视图"
class=
'deeditview invoice-edit-view'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{$t(model.srfTitle)}}
</span>
</template>
<template
slot=
"toolbar"
>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click($event)"
/>
</template>
<view
_form
...
...
app_BusinessCentral/src/pages/marketing/campaign-list-grid-view/campaign-list-grid-view-base.tsx
浏览文件 @
7cb0d8a6
...
...
@@ -103,12 +103,11 @@ export class CampaignListGridViewBase extends GridViewBase {
* @memberof CampaignListGridView
*/
public
toolBarModels
:
any
=
{
tbitem3
:
{
name
:
'tbitem3
'
,
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
:
''
}
},
deuiaction1
:
{
name
:
'deuiaction1
'
,
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
:
''
}
},
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
,
noprivdisplaymode
:
2
,
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
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Copy'
,
target
:
'SINGLEKEY'
,
class
:
''
}
},
tbitem7
:
{
name
:
'tbitem7'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem8
:
{
name
:
'tbitem8'
,
caption
:
'删除'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Remove'
,
target
:
'MULTIKEY'
,
class
:
''
}
},
...
...
@@ -172,21 +171,12 @@ export class CampaignListGridViewBase extends GridViewBase {
* @memberof CampaignListGridViewBase
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
if
(
Object
.
is
(
$event
.
tag
,
'
tbitem3
'
))
{
this
.
toolbar_
tbitem3
_click
(
null
,
''
,
$event2
);
if
(
Object
.
is
(
$event
.
tag
,
'
deuiaction1
'
))
{
this
.
toolbar_
deuiaction1
_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem4'
))
{
this
.
toolbar_tbitem4_click
(
null
,
''
,
$event2
);
}
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
);
}
...
...
@@ -297,7 +287,7 @@ export class CampaignListGridViewBase extends GridViewBase {
* @param {*} [$event]
* @memberof
*/
public
toolbar_
tbitem3
_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
public
toolbar_
deuiaction1
_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
...
...
@@ -345,90 +335,6 @@ export class CampaignListGridViewBase extends GridViewBase {
this
.
Edit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"CampaignList"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem6_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
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"CampaignList"
);
}
/**
* 逻辑事件
*
* @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
,
"CampaignList"
);
}
/**
* 逻辑事件
*
* @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
,
"CampaignList"
);
}
/**
* 逻辑事件
*
...
...
@@ -677,74 +583,6 @@ export class CampaignListGridViewBase extends GridViewBase {
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'opendata 视图处理逻辑不存在,请添加!'
});
}
}
/**
* 拷贝
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof CampaignListGridViewBase
*/
public
Copy
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
return
;
}
const
_this
:
any
=
this
;
if
(
_this
.
newdata
&&
_this
.
newdata
instanceof
Function
)
{
const
data
:
any
=
{};
if
(
args
.
length
>
0
)
{
Object
.
assign
(
data
,
{
srfsourcekey
:
args
[
0
].
srfkey
})
actionContext
.
$store
.
commit
(
'addCopyData'
,
{
srfkey
:
args
[
0
].
srfkey
,
copyData
:
args
[
0
]
});
}
_this
.
newdata
([{
...
data
}],[{
...
data
}],
params
,
$event
,
xData
);
}
else
if
(
xData
&&
xData
.
copy
instanceof
Function
)
{
if
(
args
.
length
>
0
)
{
actionContext
.
$store
.
commit
(
'addCopyData'
,
{
srfkey
:
args
[
0
].
srfkey
,
copyData
:
args
[
0
]
});
}
xData
.
copy
(
args
[
0
].
srfkey
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'opendata 视图处理逻辑不存在,请添加!'
});
}
}
/**
* 行编辑
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof CampaignListGridViewBase
*/
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 CampaignListGridViewBase
*/
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
.
hasOwnProperty
(
'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_BusinessCentral/src/pages/sales/competitor-edit-view/competitor-edit-view.html
浏览文件 @
7cb0d8a6
<studio-view-style2
viewName=
"competitoreditview"
viewTitle=
"竞争对手编辑视图"
class=
'deeditview competitor-edit-view'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{$t(model.srfTitle)}}
</span>
</template>
<template
slot=
"toolbar"
>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click($event)"
/>
</template>
<view
_form
...
...
app_BusinessCentral/src/pages/sales/lead-excluded-grid-view/lead-excluded-grid-view-base.tsx
浏览文件 @
7cb0d8a6
...
...
@@ -117,6 +117,9 @@ export class LeadExcludedGridViewBase extends GridViewBase {
tbitem13
:
{
name
:
'tbitem13'
,
caption
:
'导出'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'导出'
,
iconcls
:
'fa fa-file-excel-o'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'ExportExcel'
,
target
:
''
},
MaxRowCount
:
1000
,
class
:
''
},
tbitem10
:
{
name
:
'tbitem10'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem14_active
:
{
name
:
'tbitem14_active'
,
caption
:
'重新激活'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'重新激活'
,
iconcls
:
'fa fa-play-circle-o'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Active'
,
target
:
'SINGLEKEY'
,
class
:
''
}
},
tbitem15
:
{
name
:
'tbitem15'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem19
:
{
name
:
'tbitem19'
,
caption
:
'过滤'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'过滤'
,
iconcls
:
'fa fa-filter'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'ToggleFilter'
,
target
:
''
,
class
:
''
}
},
};
...
...
@@ -191,6 +194,9 @@ export class LeadExcludedGridViewBase extends GridViewBase {
if
(
Object
.
is
(
$event
.
tag
,
'tbitem11'
))
{
this
.
toolbar_tbitem11_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem14_active'
))
{
this
.
toolbar_tbitem14_active_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem19'
))
{
this
.
toolbar_tbitem19_click
(
null
,
''
,
$event2
);
}
...
...
@@ -453,6 +459,35 @@ export class LeadExcludedGridViewBase extends GridViewBase {
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Lead"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem14_active_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
:
LeadUIService
=
new
LeadUIService
();
curUIService
.
Lead_Active
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Lead"
);
}
/**
* 逻辑事件
*
...
...
app_BusinessCentral/src/pages/sales/quote-edit-view/quote-edit-view.html
浏览文件 @
7cb0d8a6
<studio-view-style2
viewName=
"quoteeditview"
viewTitle=
"报价单编辑视图"
class=
'deeditview quote-edit-view'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{$t(model.srfTitle)}}
</span>
</template>
<template
slot=
"toolbar"
>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click($event)"
/>
</template>
<view
_form
...
...
app_BusinessCentral/src/pages/sales/sales-order-edit-view/sales-order-edit-view.html
浏览文件 @
7cb0d8a6
<studio-view-style2
viewName=
"salesordereditview"
viewTitle=
"订单编辑视图"
class=
'deeditview sales-order-edit-view'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{$t(model.srfTitle)}}
</span>
</template>
<template
slot=
"toolbar"
>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click($event)"
/>
</template>
<view
_form
...
...
app_BusinessCentral/src/service/account/account-service-base.ts
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
app_BusinessCentral/src/service/campaign/campaign-service-base.ts
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
app_BusinessCentral/src/service/competitor/competitor-service-base.ts
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
app_BusinessCentral/src/service/contact/contact-service-base.ts
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
app_BusinessCentral/src/service/ibiz-list/ibiz-list-service-base.ts
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
app_BusinessCentral/src/service/lead/lead-service-base.ts
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
app_BusinessCentral/src/service/opportunity/opportunity-service-base.ts
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
app_BusinessCentral/src/service/product/product-service-base.ts
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
app_BusinessCentral/src/service/sales-literature/sales-literature-service-base.ts
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
app_BusinessCentral/src/service/sales-order/sales-order-service-base.ts
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
app_BusinessCentral/src/store/modules/view-action/state.ts
浏览文件 @
7cb0d8a6
...
...
@@ -236,15 +236,6 @@ export const viewstate: any = {
'f440f1d3b950a89e6cb72cadea120b74'
,
],
},
{
viewtag
:
'0a46285598cda63074349563918d7ac5'
,
viewmodule
:
'Service'
,
viewname
:
'IncidentCustomerEditView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'0ab0bd0aaadd588905a82de62c80ff07'
,
viewmodule
:
'Marketing'
,
...
...
@@ -1833,15 +1824,6 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'86f2bf7bc2faf3dfd21f80626ab71a6b'
,
viewmodule
:
'Service'
,
viewname
:
'IncidentCustomerIndexPickupDataView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'8764cc6860a8981a549fcf693bbc44f6'
,
viewmodule
:
'Base'
,
...
...
@@ -1899,32 +1881,31 @@ export const viewstate: any = {
viewdatachange
:
false
,
refviews
:
[
'0e4d8b949764a2c40c2b93261aed6fd8'
,
'00e8e9d547a2367a0e13e232ea85b920'
,
'ef8908af79e7631a6292209fa498a899'
,
'bd2a4adb1377cac6ebbbc883699f28d9'
,
'25bf5f8c2ebd1ce2be6d06717ed08a96'
,
'72a6c4ef002175090488d6f819020395'
,
'98a1ae9b4e6bf9282450b169a0c3ad9a'
,
'3202f3f503424c7a2c549b2c5186dc36'
,
'd6dde8e6dd703de9b544d3e5d9f07579'
,
'efe82dc0a6991dd88da8c33cee6bf451'
,
'8895fef7ce4f5bdd1cd8f950bd1f8bcc'
,
'2f0540af5db76052cee0e8e91f0204c4'
,
'02131b45343ed8c70e500cd8ac520361'
,
'02a20de31897da1246080987e9491e06'
,
'90b48a107932f432e0dde42791a51887'
,
'
224e212f2d5e9c0a6a07b3c650f9b30c
'
,
'
02a20de31897da1246080987e9491e06
'
,
'c67b638daa17df2f9ecf99fc1c396e2f'
,
'224e212f2d5e9c0a6a07b3c650f9b30c'
,
'02653a27f371622ac0a726752936646c'
,
'9af073dea1ea05903d52e8bdc5a03dd5'
,
'7FCD2E75-E34A-493C-922E-8AE47BCE08CA'
,
'3cac572b3a6905293a0e22e3f3fa3c04'
,
'9AE386A9-53DE-4F99-BCCA-747AEFE666A4'
,
'00367e275947880480763049e5c495be'
,
'00e8e9d547a2367a0e13e232ea85b920'
,
'bd2a4adb1377cac6ebbbc883699f28d9'
,
'3202f3f503424c7a2c549b2c5186dc36'
,
'd6dde8e6dd703de9b544d3e5d9f07579'
,
'efe82dc0a6991dd88da8c33cee6bf451'
,
'2f0540af5db76052cee0e8e91f0204c4'
,
'45fdc8ee4d1401d2d625e80177395ddc'
,
'92ca46ad4e3db8239701e2a136642d98'
,
'9AE386A9-53DE-4F99-BCCA-747AEFE666A4'
,
'3cac572b3a6905293a0e22e3f3fa3c04'
,
'7FCD2E75-E34A-493C-922E-8AE47BCE08CA'
,
'd1c35f3c52010e1428d7dc1a6bc82f63'
,
'4c14fc25c4155348b60b75f4763c0bec'
,
'00367e275947880480763049e5c495be'
,
],
},
{
...
...
@@ -2043,19 +2024,6 @@ export const viewstate: any = {
'7cd4753a46e288fc3bac3a4d6b08c8d1'
,
],
},
{
viewtag
:
'92ca46ad4e3db8239701e2a136642d98'
,
viewmodule
:
'Service'
,
viewname
:
'IncidentCustomerGridView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'd9fbe2e55e5592857cf43ed5c37e00da'
,
'0a46285598cda63074349563918d7ac5'
,
'9a96ebf2e57358b3590b9d4479edb77a'
,
'6e18ac74e5685439110f9b4e534ee005'
,
],
},
{
viewtag
:
'9433b49c4e43a15dfc8bbd91bdd4c27f'
,
viewmodule
:
'Base'
,
...
...
@@ -2931,16 +2899,6 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'd9fbe2e55e5592857cf43ed5c37e00da'
,
viewmodule
:
'Service'
,
viewname
:
'IncidentCustomerIndexPickupView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'86f2bf7bc2faf3dfd21f80626ab71a6b'
,
],
},
{
viewtag
:
'da3f8c1f20f440f3df54d6c13a8de586'
,
viewmodule
:
'Base'
,
...
...
app_BusinessCentral/src/uiservice/knowledge-article/knowledge-article-ui-service-base.ts
浏览文件 @
7cb0d8a6
...
...
@@ -148,14 +148,29 @@ export default class KnowledgeArticleUIServiceBase extends UIService {
let
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'knowledgearticles'
,
parameterName
:
'knowledgearticle'
},
{
pathName
:
'quickcreateview'
,
parameterName
:
'quickcreateview'
},
];
const
openIndexViewTab
=
(
data
:
any
)
=>
{
const
routePath
=
actionContext
.
$viewTool
.
buildUpRoutePath
(
actionContext
.
$route
,
context
,
deResParameters
,
parameters
,
_args
,
data
);
actionContext
.
$router
.
push
(
routePath
);
return
null
;
}
openIndexViewTab
(
data
);
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
:
'knowledge-article-quick-create-view'
,
height
:
0
,
width
:
0
,
title
:
actionContext
.
$t
(
'entities.knowledgearticle.views.quickcreateview.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
/**
...
...
app_BusinessCentral/src/widgets/app/central-appmenu/central-appmenu-base.tsx
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/app/central-appmenu/central-appmenu-model.ts
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/campaign-activity/main-grid/main-grid-base.tsx
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/campaign-activity/main-grid/main-grid-model.ts
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/campaign-activity/main-grid/main-grid.html
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/campaign-list/main-grid/main-grid-base.tsx
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/campaign-list/main-grid/main-grid-model.ts
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/campaign-list/main-grid/main-grid.html
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/campaign-response/main-grid/main-grid-base.tsx
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/campaign-response/main-grid/main-grid-model.ts
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/campaign-response/main-grid/main-grid.html
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/campaign/infotabexppanel-tabexppanel/infotabexppanel-tabexppanel.html
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/price-level/main-form/main-form-base.tsx
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/price-level/main-form/main-form-model.ts
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/price-level/main-form/main-form.html
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/price-level/main-grid/main-grid-base.tsx
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/price-level/main-grid/main-grid-model.ts
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/price-level/main-grid/main-grid.html
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/quote/infotabexppanel-tabexppanel/infotabexppanel-tabexppanel.html
浏览文件 @
7cb0d8a6
...
...
@@ -63,6 +63,12 @@
<tab-pane
:index=
"2"
name=
'tabviewpanel3'
tab=
'infotabexppanel'
class=
''
:label=
"(h) =>{
return h('div', [
h('i',{
class:'fa fa-file-text-o',
style:{
'margin-right' : '2px'
}
}),
h('span', '订单'),
h('Badge', {
props: {
...
...
app_BusinessCentral/src/widgets/sales-order/infotabexppanel-tabexppanel/infotabexppanel-tabexppanel.html
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
businesscentral-app/businesscentral-app-businesscentral/src/main/docker/Dockerfile
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
businesscentral-app/businesscentral-app-businesscentral/src/main/docker/businesscentral-app-businesscentral.yaml
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
businesscentral-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
businesscentral-core/src/main/resources/permission/systemResource.json
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
businesscentral-provider/businesscentral-provider-centralapi/src/main/docker/Dockerfile
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
businesscentral-provider/businesscentral-provider-centralapi/src/main/docker/businesscentral-provider-centralapi.yaml
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
config.xml
浏览文件 @
7cb0d8a6
此差异已折叠。
点击以展开。
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录