Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
9ccedf09
提交
9ccedf09
编写于
7月 09, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lab_gzf 发布系统代码
上级
c3437283
变更
31
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
31 个修改的文件
包含
2214 行增加
和
1087 行删除
+2214
-1087
view-config.json
app_CRM/public/assets/json/view-config.json
+10
-0
lead_en_US.ts
app_CRM/src/locale/lanres/entities/lead/lead_en_US.ts
+28
-0
lead_zh_CN.ts
app_CRM/src/locale/lanres/entities/lead/lead_zh_CN.ts
+28
-0
viewconfig.ts
app_CRM/src/mock/viewconfig/viewconfig.ts
+8
-0
account-info-base.tsx
app_CRM/src/pages/base/account-info/account-info-base.tsx
+6
-6
contact-info-base.tsx
app_CRM/src/pages/base/contact-info/contact-info-base.tsx
+6
-6
lead-edit-data-panel-view-base.tsx
...d-edit-data-panel-view/lead-edit-data-panel-view-base.tsx
+155
-0
lead-edit-data-panel-view.html
.../lead-edit-data-panel-view/lead-edit-data-panel-view.html
+27
-0
lead-edit-data-panel-view.vue
...s/lead-edit-data-panel-view/lead-edit-data-panel-view.vue
+22
-0
lead-info-base.tsx
app_CRM/src/pages/sales/lead-info/lead-info-base.tsx
+6
-6
opportunity-info-base.tsx
...rc/pages/sales/opportunity-info/opportunity-info-base.tsx
+6
-6
page-register.ts
app_CRM/src/pages/ungroup/central/page-register.ts
+1
-0
router.ts
app_CRM/src/pages/ungroup/central/router.ts
+75
-0
account-service-base.ts
app_CRM/src/service/account/account-service-base.ts
+50
-50
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
+131
-131
ibiz-list-service-base.ts
app_CRM/src/service/ibiz-list/ibiz-list-service-base.ts
+50
-50
lead-service-base.ts
app_CRM/src/service/lead/lead-service-base.ts
+369
-369
opportunity-service-base.ts
app_CRM/src/service/opportunity/opportunity-service-base.ts
+304
-304
product-service-base.ts
app_CRM/src/service/product/product-service-base.ts
+52
-52
sales-literature-service-base.ts
...service/sales-literature/sales-literature-service-base.ts
+41
-41
state.ts
app_CRM/src/store/modules/view-action/state.ts
+10
-0
lead-ui-service-base.ts
app_CRM/src/uiservice/lead/lead-ui-service-base.ts
+54
-0
data-panel-form-base.tsx
...src/widgets/lead/data-panel-form/data-panel-form-base.tsx
+43
-0
data-panel-form.html
...CRM/src/widgets/lead/data-panel-form/data-panel-form.html
+16
-0
edit-date-panel-form-base.tsx
...s/lead/edit-date-panel-form/edit-date-panel-form-base.tsx
+122
-0
edit-date-panel-form-model.ts
...s/lead/edit-date-panel-form/edit-date-panel-form-model.ts
+91
-0
edit-date-panel-form-service.ts
...lead/edit-date-panel-form/edit-date-panel-form-service.ts
+371
-0
edit-date-panel-form.html
...dgets/lead/edit-date-panel-form/edit-date-panel-form.html
+44
-0
edit-date-panel-form.vue
...idgets/lead/edit-date-panel-form/edit-date-panel-form.vue
+22
-0
h2_table.xml
...esscentral-core/src/main/resources/liquibase/h2_table.xml
+19
-19
未找到文件。
app_CRM/public/assets/json/view-config.json
浏览文件 @
9ccedf09
...
...
@@ -889,6 +889,16 @@
"viewtag"
:
"50138c2b066081ec8b6fe67c88af5371"
,
"memo"
:
"系统自动添加"
},
"leadedit_datapanelview"
:
{
"title"
:
"头部信息编辑"
,
"caption"
:
"潜在顾客"
,
"viewtype"
:
"DEEDITVIEW"
,
"viewmodule"
:
"Sales"
,
"viewname"
:
"LeadEdit_DataPanelView"
,
"viewfilename"
:
"lead-edit-data-panel-view"
,
"viewtag"
:
"50fa6dc3108b1959155c8092331dd8a7"
,
"memo"
:
""
},
"campaignsummary_head"
:
{
"title"
:
"市场活动概览"
,
"caption"
:
"市场活动概览"
,
...
...
app_CRM/src/locale/lanres/entities/lead/lead_en_US.ts
浏览文件 @
9ccedf09
...
...
@@ -190,6 +190,10 @@ export default {
caption
:
"潜在顾客信息"
,
title
:
"潜在顾客信息"
,
},
edit_datapanelview
:
{
caption
:
"潜在顾客"
,
title
:
"头部信息编辑"
,
},
conleadgridview
:
{
caption
:
"潜在顾客信息"
,
title
:
"潜在顾客信息"
,
...
...
@@ -289,8 +293,31 @@ export default {
uiactions
:
{
},
},
edit_datepanel_form
:
{
details
:
{
group1
:
"潜在顾客基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"潜在顾客"
,
srfmajortext
:
"姓名"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
revenue
:
"年收入"
,
numberofemployees
:
"员工数"
,
statuscode
:
"状态"
,
owneridyominame
:
"负责人"
,
leadid
:
"潜在顾客"
,
},
uiactions
:
{
},
},
datapanel_form
:
{
details
:
{
button1
:
"头信息编辑"
,
grouppanel1
:
"分组面板"
,
group1
:
"潜在顾客基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
...
...
@@ -308,6 +335,7 @@ export default {
leadid
:
"潜在顾客"
,
},
uiactions
:
{
lead_openedit_datapanelview
:
"头信息编辑"
,
},
},
qualification_form
:
{
...
...
app_CRM/src/locale/lanres/entities/lead/lead_zh_CN.ts
浏览文件 @
9ccedf09
...
...
@@ -189,6 +189,10 @@ export default {
caption
:
"潜在顾客信息"
,
title
:
"潜在顾客信息"
,
},
edit_datapanelview
:
{
caption
:
"潜在顾客"
,
title
:
"头部信息编辑"
,
},
conleadgridview
:
{
caption
:
"潜在顾客信息"
,
title
:
"潜在顾客信息"
,
...
...
@@ -288,8 +292,31 @@ export default {
uiactions
:
{
},
},
edit_datepanel_form
:
{
details
:
{
group1
:
"潜在顾客基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"潜在顾客"
,
srfmajortext
:
"姓名"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
revenue
:
"年收入"
,
numberofemployees
:
"员工数"
,
statuscode
:
"状态"
,
owneridyominame
:
"负责人"
,
leadid
:
"潜在顾客"
,
},
uiactions
:
{
},
},
datapanel_form
:
{
details
:
{
button1
:
"头信息编辑"
,
grouppanel1
:
"分组面板"
,
group1
:
"潜在顾客基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
...
...
@@ -307,6 +334,7 @@ export default {
leadid
:
"潜在顾客"
,
},
uiactions
:
{
lead_openedit_datapanelview
:
"头信息编辑"
,
},
},
qualification_form
:
{
...
...
app_CRM/src/mock/viewconfig/viewconfig.ts
浏览文件 @
9ccedf09
...
...
@@ -719,6 +719,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"OpportunityConOppGridView"
,
"viewtag"
:
"50138c2b066081ec8b6fe67c88af5371"
},
"leadedit_datapanelview"
:
{
"title"
:
"头部信息编辑"
,
"caption"
:
"潜在顾客"
,
"viewtype"
:
"DEEDITVIEW"
,
"viewmodule"
:
"Sales"
,
"viewname"
:
"LeadEdit_DataPanelView"
,
"viewtag"
:
"50fa6dc3108b1959155c8092331dd8a7"
},
"campaignsummary_head"
:
{
"title"
:
"市场活动概览"
,
"caption"
:
"市场活动概览"
,
...
...
app_CRM/src/pages/base/account-info/account-info-base.tsx
浏览文件 @
9ccedf09
import
{
Subject
}
from
'rxjs'
;
import
{
TabExpViewBase
}
from
'@/studio-core'
;
import
AccountService
from
'@/service/account/account-service'
;
import
DataPanelEngine
from
'@engine/ctrl/data-panel-engine'
;
import
TabExpViewEngine
from
'@engine/view/tab-exp-view-engine'
;
import
DataPanelEngine
from
'@engine/ctrl/data-panel-engine'
;
import
AccountUIService
from
'@/uiservice/account/account-ui-service'
;
/**
...
...
@@ -133,7 +133,7 @@ export class AccountInfoBase extends TabExpViewBase {
* @type {Engine}
* @memberof AccountInfoBase
*/
public
datapanel
:
DataPanelEngine
=
new
DataPanel
Engine
();
public
engine
:
TabExpViewEngine
=
new
TabExpView
Engine
();
/**
* 视图引擎
...
...
@@ -142,7 +142,7 @@ export class AccountInfoBase extends TabExpViewBase {
* @type {Engine}
* @memberof AccountInfoBase
*/
public
engine
:
TabExpViewEngine
=
new
TabExpView
Engine
();
public
datapanel
:
DataPanelEngine
=
new
DataPanel
Engine
();
/**
* 引擎初始化
...
...
@@ -151,15 +151,15 @@ export class AccountInfoBase extends TabExpViewBase {
* @memberof AccountInfoBase
*/
public
engineInit
():
void
{
this
.
datapanel
.
init
({
this
.
engine
.
init
({
view
:
this
,
datapanel
:
this
.
$refs
.
datapanel
,
keyPSDEField
:
'account'
,
majorPSDEField
:
'accountname'
,
isLoadDefault
:
true
,
});
this
.
engine
.
init
({
this
.
datapanel
.
init
({
view
:
this
,
datapanel
:
this
.
$refs
.
datapanel
,
keyPSDEField
:
'account'
,
majorPSDEField
:
'accountname'
,
isLoadDefault
:
true
,
...
...
app_CRM/src/pages/base/contact-info/contact-info-base.tsx
浏览文件 @
9ccedf09
import
{
Subject
}
from
'rxjs'
;
import
{
TabExpViewBase
}
from
'@/studio-core'
;
import
ContactService
from
'@/service/contact/contact-service'
;
import
DataPanelEngine
from
'@engine/ctrl/data-panel-engine'
;
import
TabExpViewEngine
from
'@engine/view/tab-exp-view-engine'
;
import
DataPanelEngine
from
'@engine/ctrl/data-panel-engine'
;
import
ContactUIService
from
'@/uiservice/contact/contact-ui-service'
;
/**
...
...
@@ -133,7 +133,7 @@ export class ContactInfoBase extends TabExpViewBase {
* @type {Engine}
* @memberof ContactInfoBase
*/
public
datapanel
:
DataPanelEngine
=
new
DataPanel
Engine
();
public
engine
:
TabExpViewEngine
=
new
TabExpView
Engine
();
/**
* 视图引擎
...
...
@@ -142,7 +142,7 @@ export class ContactInfoBase extends TabExpViewBase {
* @type {Engine}
* @memberof ContactInfoBase
*/
public
engine
:
TabExpViewEngine
=
new
TabExpView
Engine
();
public
datapanel
:
DataPanelEngine
=
new
DataPanel
Engine
();
/**
* 引擎初始化
...
...
@@ -151,15 +151,15 @@ export class ContactInfoBase extends TabExpViewBase {
* @memberof ContactInfoBase
*/
public
engineInit
():
void
{
this
.
datapanel
.
init
({
this
.
engine
.
init
({
view
:
this
,
datapanel
:
this
.
$refs
.
datapanel
,
keyPSDEField
:
'contact'
,
majorPSDEField
:
'fullname'
,
isLoadDefault
:
true
,
});
this
.
engine
.
init
({
this
.
datapanel
.
init
({
view
:
this
,
datapanel
:
this
.
$refs
.
datapanel
,
keyPSDEField
:
'contact'
,
majorPSDEField
:
'fullname'
,
isLoadDefault
:
true
,
...
...
app_CRM/src/pages/sales/lead-edit-data-panel-view/lead-edit-data-panel-view-base.tsx
0 → 100644
浏览文件 @
9ccedf09
import
{
Subject
}
from
'rxjs'
;
import
{
EditViewBase
}
from
'@/studio-core'
;
import
LeadService
from
'@/service/lead/lead-service'
;
import
EditViewEngine
from
'@engine/view/edit-view-engine'
;
/**
* 头部信息编辑视图基类
*
* @export
* @class LeadEdit_DataPanelViewBase
* @extends {EditViewBase}
*/
export
class
LeadEdit_DataPanelViewBase
extends
EditViewBase
{
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof LeadEdit_DataPanelViewBase
*/
protected
appDeName
:
string
=
'lead'
;
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof LeadEdit_DataPanelViewBase
*/
protected
appDeKey
:
string
=
'leadid'
;
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof LeadEdit_DataPanelViewBase
*/
protected
appDeMajor
:
string
=
'fullname'
;
/**
* 实体服务对象
*
* @type {LeadService}
* @memberof LeadEdit_DataPanelViewBase
*/
protected
appEntityService
:
LeadService
=
new
LeadService
;
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof LeadEdit_DataPanelViewBase
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof LeadEdit_DataPanelViewBase
*/
protected
model
:
any
=
{
srfCaption
:
'entities.lead.views.edit_datapanelview.caption'
,
srfTitle
:
'entities.lead.views.edit_datapanelview.title'
,
srfSubTitle
:
'entities.lead.views.edit_datapanelview.subtitle'
,
dataInfo
:
''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof LeadEdit_DataPanelViewBase
*/
protected
containerModel
:
any
=
{
view_form
:
{
name
:
'form'
,
type
:
'FORM'
},
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected
viewtag
:
string
=
'50fa6dc3108b1959155c8092331dd8a7'
;
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof LeadEdit_DataPanelViewBase
*/
public
engine
:
EditViewEngine
=
new
EditViewEngine
();
/**
* 引擎初始化
*
* @public
* @memberof LeadEdit_DataPanelViewBase
*/
public
engineInit
():
void
{
this
.
engine
.
init
({
view
:
this
,
form
:
this
.
$refs
.
form
,
p2k
:
'0'
,
keyPSDEField
:
'lead'
,
majorPSDEField
:
'fullname'
,
isLoadDefault
:
true
,
});
}
/**
* form 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof LeadEdit_DataPanelViewBase
*/
public
form_save
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'save'
,
$event
);
}
/**
* form 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof LeadEdit_DataPanelViewBase
*/
public
form_remove
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'remove'
,
$event
);
}
/**
* form 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof LeadEdit_DataPanelViewBase
*/
public
form_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'load'
,
$event
);
}
}
\ No newline at end of file
app_CRM/src/pages/sales/lead-edit-data-panel-view/lead-edit-data-panel-view.html
0 → 100644
浏览文件 @
9ccedf09
<studio-view-style2
viewName=
"leadedit_datapanelview"
viewTitle=
"头部信息编辑"
class=
'deeditview lead-edit-data-panel-view'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{$t(model.srfTitle)}}
</span>
</template>
<view
_form
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:autosave=
"true"
: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
>
</studio-view-style2>
\ No newline at end of file
app_CRM/src/pages/sales/lead-edit-data-panel-view/lead-edit-data-panel-view.vue
0 → 100644
浏览文件 @
9ccedf09
<
template
src=
"./lead-edit-data-panel-view.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { LeadEdit_DataPanelViewBase } from './lead-edit-data-panel-view-base';
import view_form from '@widgets/lead/edit-date-panel-form/edit-date-panel-form.vue';
/**
* 头部信息编辑视图
*
* @export
* @class LeadEdit_DataPanelView
* @extends {LeadEdit_DataPanelViewBase}
*/
@Component({
components: {
view_form,
}
})
@VueLifeCycleProcessing()
export default class LeadEdit_DataPanelView extends LeadEdit_DataPanelViewBase { }
</script>
app_CRM/src/pages/sales/lead-info/lead-info-base.tsx
浏览文件 @
9ccedf09
import
{
Subject
}
from
'rxjs'
;
import
{
TabExpViewBase
}
from
'@/studio-core'
;
import
LeadService
from
'@/service/lead/lead-service'
;
import
DataPanelEngine
from
'@engine/ctrl/data-panel-engine'
;
import
TabExpViewEngine
from
'@engine/view/tab-exp-view-engine'
;
import
DataPanelEngine
from
'@engine/ctrl/data-panel-engine'
;
import
LeadUIService
from
'@/uiservice/lead/lead-ui-service'
;
/**
...
...
@@ -147,7 +147,7 @@ export class LeadInfoBase extends TabExpViewBase {
* @type {Engine}
* @memberof LeadInfoBase
*/
public
datapanel
:
DataPanelEngine
=
new
DataPanel
Engine
();
public
engine
:
TabExpViewEngine
=
new
TabExpView
Engine
();
/**
* 视图引擎
...
...
@@ -156,7 +156,7 @@ export class LeadInfoBase extends TabExpViewBase {
* @type {Engine}
* @memberof LeadInfoBase
*/
public
engine
:
TabExpViewEngine
=
new
TabExpView
Engine
();
public
datapanel
:
DataPanelEngine
=
new
DataPanel
Engine
();
/**
* 引擎初始化
...
...
@@ -165,15 +165,15 @@ export class LeadInfoBase extends TabExpViewBase {
* @memberof LeadInfoBase
*/
public
engineInit
():
void
{
this
.
datapanel
.
init
({
this
.
engine
.
init
({
view
:
this
,
datapanel
:
this
.
$refs
.
datapanel
,
keyPSDEField
:
'lead'
,
majorPSDEField
:
'fullname'
,
isLoadDefault
:
true
,
});
this
.
engine
.
init
({
this
.
datapanel
.
init
({
view
:
this
,
datapanel
:
this
.
$refs
.
datapanel
,
keyPSDEField
:
'lead'
,
majorPSDEField
:
'fullname'
,
isLoadDefault
:
true
,
...
...
app_CRM/src/pages/sales/opportunity-info/opportunity-info-base.tsx
浏览文件 @
9ccedf09
import
{
Subject
}
from
'rxjs'
;
import
{
TabExpViewBase
}
from
'@/studio-core'
;
import
OpportunityService
from
'@/service/opportunity/opportunity-service'
;
import
DataPanelEngine
from
'@engine/ctrl/data-panel-engine'
;
import
TabExpViewEngine
from
'@engine/view/tab-exp-view-engine'
;
import
DataPanelEngine
from
'@engine/ctrl/data-panel-engine'
;
import
OpportunityUIService
from
'@/uiservice/opportunity/opportunity-ui-service'
;
/**
...
...
@@ -136,7 +136,7 @@ export class OpportunityInfoBase extends TabExpViewBase {
* @type {Engine}
* @memberof OpportunityInfoBase
*/
public
datapanel
:
DataPanelEngine
=
new
DataPanel
Engine
();
public
engine
:
TabExpViewEngine
=
new
TabExpView
Engine
();
/**
* 视图引擎
...
...
@@ -145,7 +145,7 @@ export class OpportunityInfoBase extends TabExpViewBase {
* @type {Engine}
* @memberof OpportunityInfoBase
*/
public
engine
:
TabExpViewEngine
=
new
TabExpView
Engine
();
public
datapanel
:
DataPanelEngine
=
new
DataPanel
Engine
();
/**
* 引擎初始化
...
...
@@ -154,15 +154,15 @@ export class OpportunityInfoBase extends TabExpViewBase {
* @memberof OpportunityInfoBase
*/
public
engineInit
():
void
{
this
.
datapanel
.
init
({
this
.
engine
.
init
({
view
:
this
,
datapanel
:
this
.
$refs
.
datapanel
,
keyPSDEField
:
'opportunity'
,
majorPSDEField
:
'opportunityname'
,
isLoadDefault
:
true
,
});
this
.
engine
.
init
({
this
.
datapanel
.
init
({
view
:
this
,
datapanel
:
this
.
$refs
.
datapanel
,
keyPSDEField
:
'opportunity'
,
majorPSDEField
:
'opportunityname'
,
isLoadDefault
:
true
,
...
...
app_CRM/src/pages/ungroup/central/page-register.ts
浏览文件 @
9ccedf09
...
...
@@ -107,6 +107,7 @@ export const PageComponents = {
Vue
.
component
(
'product-info-pro-info'
,
()
=>
import
(
'@pages/product/product-info-pro-info/product-info-pro-info.vue'
));
Vue
.
component
(
'sales-literature-summary-view'
,
()
=>
import
(
'@pages/sales/sales-literature-summary-view/sales-literature-summary-view.vue'
));
Vue
.
component
(
'lead-pickup-view'
,
()
=>
import
(
'@pages/sales/lead-pickup-view/lead-pickup-view.vue'
));
Vue
.
component
(
'lead-edit-data-panel-view'
,
()
=>
import
(
'@pages/sales/lead-edit-data-panel-view/lead-edit-data-panel-view.vue'
));
Vue
.
component
(
'setting'
,
()
=>
import
(
'@pages/ungroup/setting/setting.vue'
));
Vue
.
component
(
'invoice-quick-create-view'
,
()
=>
import
(
'@pages/finance/invoice-quick-create-view/invoice-quick-create-view.vue'
));
Vue
.
component
(
'campaign-info-schedule'
,
()
=>
import
(
'@pages/marketing/campaign-info-schedule/campaign-info-schedule.vue'
));
...
...
app_CRM/src/pages/ungroup/central/router.ts
浏览文件 @
9ccedf09
...
...
@@ -3654,6 +3654,81 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sales/lead-pickup-view/lead-pickup-view.vue'
),
},
{
path
:
'accounts/:account?/contacts/:contact?/leads/:lead?/edit_datapanelview/:edit_datapanelview?'
,
meta
:
{
caption
:
'entities.lead.views.edit_datapanelview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'leads'
,
parameterName
:
'lead'
},
{
pathName
:
'edit_datapanelview'
,
parameterName
:
'edit_datapanelview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sales/lead-edit-data-panel-view/lead-edit-data-panel-view.vue'
),
},
{
path
:
'contacts/:contact?/leads/:lead?/edit_datapanelview/:edit_datapanelview?'
,
meta
:
{
caption
:
'entities.lead.views.edit_datapanelview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'leads'
,
parameterName
:
'lead'
},
{
pathName
:
'edit_datapanelview'
,
parameterName
:
'edit_datapanelview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sales/lead-edit-data-panel-view/lead-edit-data-panel-view.vue'
),
},
{
path
:
'campaigns/:campaign?/leads/:lead?/edit_datapanelview/:edit_datapanelview?'
,
meta
:
{
caption
:
'entities.lead.views.edit_datapanelview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'campaigns'
,
parameterName
:
'campaign'
},
{
pathName
:
'leads'
,
parameterName
:
'lead'
},
{
pathName
:
'edit_datapanelview'
,
parameterName
:
'edit_datapanelview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sales/lead-edit-data-panel-view/lead-edit-data-panel-view.vue'
),
},
{
path
:
'accounts/:account?/leads/:lead?/edit_datapanelview/:edit_datapanelview?'
,
meta
:
{
caption
:
'entities.lead.views.edit_datapanelview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'leads'
,
parameterName
:
'lead'
},
{
pathName
:
'edit_datapanelview'
,
parameterName
:
'edit_datapanelview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sales/lead-edit-data-panel-view/lead-edit-data-panel-view.vue'
),
},
{
path
:
'leads/:lead?/edit_datapanelview/:edit_datapanelview?'
,
meta
:
{
caption
:
'entities.lead.views.edit_datapanelview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'leads'
,
parameterName
:
'lead'
},
{
pathName
:
'edit_datapanelview'
,
parameterName
:
'edit_datapanelview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sales/lead-edit-data-panel-view/lead-edit-data-panel-view.vue'
),
},
{
path
:
'setting/:setting?'
,
meta
:
{
...
...
app_CRM/src/service/account/account-service-base.ts
浏览文件 @
9ccedf09
此差异已折叠。
点击以展开。
app_CRM/src/service/campaign/campaign-service-base.ts
浏览文件 @
9ccedf09
此差异已折叠。
点击以展开。
app_CRM/src/service/contact/contact-service-base.ts
浏览文件 @
9ccedf09
此差异已折叠。
点击以展开。
app_CRM/src/service/ibiz-list/ibiz-list-service-base.ts
浏览文件 @
9ccedf09
此差异已折叠。
点击以展开。
app_CRM/src/service/lead/lead-service-base.ts
浏览文件 @
9ccedf09
此差异已折叠。
点击以展开。
app_CRM/src/service/opportunity/opportunity-service-base.ts
浏览文件 @
9ccedf09
此差异已折叠。
点击以展开。
app_CRM/src/service/product/product-service-base.ts
浏览文件 @
9ccedf09
此差异已折叠。
点击以展开。
app_CRM/src/service/sales-literature/sales-literature-service-base.ts
浏览文件 @
9ccedf09
此差异已折叠。
点击以展开。
app_CRM/src/store/modules/view-action/state.ts
浏览文件 @
9ccedf09
...
...
@@ -569,6 +569,7 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'50fa6dc3108b1959155c8092331dd8a7'
,
'e0705f7fd9afd10e3f38b1ff03edba8b'
,
'bae77557d2f7a7852b634dc5d5a93435'
,
'd5bc3dd94496dbc1549773a1647ca64d'
,
...
...
@@ -815,6 +816,15 @@ export const viewstate: any = {
'a243cd62accb02ceba4fb128703128f0'
,
],
},
{
viewtag
:
'50fa6dc3108b1959155c8092331dd8a7'
,
viewmodule
:
'Sales'
,
viewname
:
'LeadEdit_DataPanelView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'51785f69973d8e6b0b1e002a03626fc7'
,
viewmodule
:
'Marketing'
,
...
...
app_CRM/src/uiservice/lead/lead-ui-service-base.ts
浏览文件 @
9ccedf09
...
...
@@ -87,6 +87,7 @@ export default class LeadUIServiceBase extends UIService {
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'quickcreate'
,
srfappde
:
'leads'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'info_market'
,
srfappde
:
'leads'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'ongridview'
,
srfappde
:
'leads'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'edit_datapanelview'
,
srfappde
:
'leads'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'conleadgridview'
,
srfappde
:
'leads'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'info_contact'
,
srfappde
:
'leads'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'pickupgridview'
,
srfappde
:
'leads'
});
...
...
@@ -245,6 +246,59 @@ export default class LeadUIServiceBase extends UIService {
openDrawer
(
view
,
data
);
}
/**
* 头信息编辑
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
*/
public
async
Lead_OpenEdit_DataPanelView
(
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
=
'SINGLEKEY'
;
Object
.
assign
(
context
,
{
lead
:
'%lead%'
});
Object
.
assign
(
params
,
{
leadid
:
'%lead%'
});
Object
.
assign
(
params
,
{
fullname
:
'%fullname%'
});
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
[]
=
[];
if
(
context
.
account
&&
true
){
deResParameters
=
[
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
]
}
const
parameters
:
any
[]
=
[
{
pathName
:
'leads'
,
parameterName
:
'lead'
},
{
pathName
:
'edit_datapanelview'
,
parameterName
:
'edit_datapanelview'
},
];
const
openIndexViewTab
=
(
data
:
any
)
=>
{
const
routePath
=
actionContext
.
$viewTool
.
buildUpRoutePath
(
actionContext
.
$route
,
context
,
deResParameters
,
parameters
,
_args
,
data
);
actionContext
.
$router
.
push
(
routePath
);
return
null
;
}
openIndexViewTab
(
data
);
}
/**
* 重新激活
*
...
...
app_CRM/src/widgets/lead/data-panel-form/data-panel-form-base.tsx
浏览文件 @
9ccedf09
...
...
@@ -3,6 +3,7 @@ import { Subject, Subscription } from 'rxjs';
import
{
Watch
,
EditFormControlBase
}
from
'@/studio-core'
;
import
LeadService
from
'@/service/lead/lead-service'
;
import
DataPanelService
from
'./data-panel-form-service'
;
import
LeadUIService
from
'@/uiservice/lead/lead-ui-service'
;
import
{
FormButtonModel
,
FormPageModel
,
FormItemModel
,
FormDRUIPartModel
,
FormPartModel
,
FormGroupPanelModel
,
FormIFrameModel
,
FormRowItemModel
,
FormTabPageModel
,
FormTabPanelModel
,
FormUserControlModel
}
from
'@/model/form-detail'
;
...
...
@@ -49,6 +50,34 @@ export class DataPanelEditFormBase extends EditFormControlBase {
*/
protected
appDeName
:
string
=
'lead'
;
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
datapanel_button1_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
;
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
const
curUIService
:
LeadUIService
=
new
LeadUIService
();
curUIService
.
Lead_OpenEdit_DataPanelView
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Lead"
);
}
/**
* 表单数据对象
*
...
...
@@ -88,6 +117,10 @@ export class DataPanelEditFormBase extends EditFormControlBase {
* @memberof DataPanelEditFormBase
*/
public
detailsModel
:
any
=
{
button1
:
new
FormButtonModel
({
caption
:
'头信息编辑'
,
detailType
:
'BUTTON'
,
name
:
'button1'
,
visible
:
true
,
isShowCaption
:
false
,
form
:
this
,
uiaction
:
{
type
:
'DEUIACTION'
,
tag
:
'OpenEdit_DataPanelView'
,
actiontarget
:
'SINGLEKEY'
}
}),
grouppanel1
:
new
FormGroupPanelModel
({
caption
:
'分组面板'
,
detailType
:
'GROUPPANEL'
,
name
:
'grouppanel1'
,
visible
:
true
,
isShowCaption
:
false
,
form
:
this
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.lead.datapanel_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
}),
group1
:
new
FormGroupPanelModel
({
caption
:
'潜在顾客基本信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group1'
,
visible
:
true
,
isShowCaption
:
false
,
form
:
this
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.lead.datapanel_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
}),
formpage1
:
new
FormPageModel
({
caption
:
'基本信息'
,
detailType
:
'FORMPAGE'
,
name
:
'formpage1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
}),
...
...
@@ -119,4 +152,14 @@ export class DataPanelEditFormBase extends EditFormControlBase {
leadid
:
new
FormItemModel
({
caption
:
'潜在顾客'
,
detailType
:
'FORMITEM'
,
name
:
'leadid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
};
/**
* 表单 头信息编辑 事件
*
* @memberof @memberof DataPanelEditFormBase
*/
public
button1_click
(
$event
:
any
):
void
{
this
.
datapanel_button1_click
(
null
,
null
,
$event
);
}
}
\ No newline at end of file
app_CRM/src/widgets/lead/data-panel-form/data-panel-form.html
浏览文件 @
9ccedf09
...
...
@@ -32,6 +32,22 @@
<app-span
name=
'owneridyominame'
:value=
"data.owneridyominame"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
></app-span>
</app-form-item>
</div>
<div
v-show=
"detailsModel.grouppanel1.visible"
:style=
"{}"
>
<app-form-group
layoutType=
"FLEX"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.grouppanel1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.lead.datapanel_form.details.grouppanel1')"
:isShowCaption=
"false"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"true"
>
<div
style=
"height: 100%;display: flex;"
>
<div
v-show=
"detailsModel.button1.visible"
:style=
"{}"
>
<i-button
type=
"primary"
@
click=
"button1_click($event)"
style=
""
>
</i-button>
</div>
</div>
</app-form-group>
</div>
</div>
...
...
app_CRM/src/widgets/lead/edit-date-panel-form/edit-date-panel-form-base.tsx
0 → 100644
浏览文件 @
9ccedf09
import
{
Prop
,
Provide
,
Emit
,
Model
}
from
'vue-property-decorator'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
Watch
,
EditFormControlBase
}
from
'@/studio-core'
;
import
LeadService
from
'@/service/lead/lead-service'
;
import
Edit_DatePanelService
from
'./edit-date-panel-form-service'
;
import
{
FormButtonModel
,
FormPageModel
,
FormItemModel
,
FormDRUIPartModel
,
FormPartModel
,
FormGroupPanelModel
,
FormIFrameModel
,
FormRowItemModel
,
FormTabPageModel
,
FormTabPanelModel
,
FormUserControlModel
}
from
'@/model/form-detail'
;
/**
* form部件基类
*
* @export
* @class EditFormControlBase
* @extends {Edit_DatePanelEditFormBase}
*/
export
class
Edit_DatePanelEditFormBase
extends
EditFormControlBase
{
/**
* 获取部件类型
*
* @protected
* @type {string}
* @memberof Edit_DatePanelEditFormBase
*/
protected
controlType
:
string
=
'FORM'
;
/**
* 建构部件服务对象
*
* @type {Edit_DatePanelService}
* @memberof Edit_DatePanelEditFormBase
*/
public
service
:
Edit_DatePanelService
=
new
Edit_DatePanelService
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {LeadService}
* @memberof Edit_DatePanelEditFormBase
*/
public
appEntityService
:
LeadService
=
new
LeadService
({
$store
:
this
.
$store
});
/**
* 应用实体名称
*
* @protected
* @type {string}
* @memberof Edit_DatePanelEditFormBase
*/
protected
appDeName
:
string
=
'lead'
;
/**
* 表单数据对象
*
* @type {*}
* @memberof Edit_DatePanelEditFormBase
*/
public
data
:
any
=
{
srfupdatedate
:
null
,
srforikey
:
null
,
srfkey
:
null
,
srfmajortext
:
null
,
srftempmode
:
null
,
srfuf
:
null
,
srfdeid
:
null
,
srfsourcekey
:
null
,
revenue
:
null
,
numberofemployees
:
null
,
statuscode
:
null
,
owneridyominame
:
null
,
leadid
:
null
,
lead
:
null
,
};
/**
* 属性值规则
*
* @type {*}
* @memberof Edit_DatePanelEditFormBase
*/
public
rules
:
any
=
{
}
/**
* 详情模型集合
*
* @type {*}
* @memberof Edit_DatePanelEditFormBase
*/
public
detailsModel
:
any
=
{
group1
:
new
FormGroupPanelModel
({
caption
:
'潜在顾客基本信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group1'
,
visible
:
true
,
isShowCaption
:
false
,
form
:
this
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.lead.edit_datepanel_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
:
3
}),
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
}),
revenue
:
new
FormItemModel
({
caption
:
'年收入'
,
detailType
:
'FORMITEM'
,
name
:
'revenue'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
numberofemployees
:
new
FormItemModel
({
caption
:
'员工数'
,
detailType
:
'FORMITEM'
,
name
:
'numberofemployees'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
statuscode
:
new
FormItemModel
({
caption
:
'状态'
,
detailType
:
'FORMITEM'
,
name
:
'statuscode'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
owneridyominame
:
new
FormItemModel
({
caption
:
'负责人'
,
detailType
:
'FORMITEM'
,
name
:
'owneridyominame'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
leadid
:
new
FormItemModel
({
caption
:
'潜在顾客'
,
detailType
:
'FORMITEM'
,
name
:
'leadid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
};
}
\ No newline at end of file
app_CRM/src/widgets/lead/edit-date-panel-form/edit-date-panel-form-model.ts
0 → 100644
浏览文件 @
9ccedf09
/**
* Edit_DatePanel 部件模型
*
* @export
* @class Edit_DatePanelModel
*/
export
default
class
Edit_DatePanelModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof Edit_DatePanelModel
*/
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
:
'leadid'
,
dataType
:
'GUID'
,
},
{
name
:
'srfmajortext'
,
prop
:
'fullname'
,
dataType
:
'TEXT'
,
},
{
name
:
'srftempmode'
,
},
{
name
:
'srfuf'
,
},
{
name
:
'srfdeid'
,
},
{
name
:
'srfsourcekey'
,
},
{
name
:
'revenue'
,
prop
:
'revenue'
,
dataType
:
'BIGDECIMAL'
,
},
{
name
:
'numberofemployees'
,
prop
:
'numberofemployees'
,
dataType
:
'INT'
,
},
{
name
:
'statuscode'
,
prop
:
'statuscode'
,
dataType
:
'NSCODELIST'
,
},
{
name
:
'owneridyominame'
,
prop
:
'owneridyominame'
,
dataType
:
'TEXT'
,
},
{
name
:
'leadid'
,
prop
:
'leadid'
,
dataType
:
'GUID'
,
},
{
name
:
'lead'
,
prop
:
'leadid'
,
dataType
:
'FONTKEY'
,
},
]
}
}
\ No newline at end of file
app_CRM/src/widgets/lead/edit-date-panel-form/edit-date-panel-form-service.ts
0 → 100644
浏览文件 @
9ccedf09
此差异已折叠。
点击以展开。
app_CRM/src/widgets/lead/edit-date-panel-form/edit-date-panel-form.html
0 → 100644
浏览文件 @
9ccedf09
<i-form
:model=
"this.data"
class=
'app-form info-form-mode'
ref=
'form'
id=
'lead_edit_datepanel'
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.lead.edit_datepanel_form.details.group1')"
:isShowCaption=
"false"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"true"
>
<row>
<i-col
v-show=
"detailsModel.revenue.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'revenue'
:itemRules=
"this.rules.revenue"
class=
''
:caption=
"$t('entities.lead.edit_datepanel_form.details.revenue')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.revenue.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'revenue'
:value=
"data.revenue"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
></app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.numberofemployees.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'numberofemployees'
:itemRules=
"this.rules.numberofemployees"
class=
''
:caption=
"$t('entities.lead.edit_datepanel_form.details.numberofemployees')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.numberofemployees.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'numberofemployees'
:value=
"data.numberofemployees"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
></app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.statuscode.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'statuscode'
:itemRules=
"this.rules.statuscode"
class=
''
:caption=
"$t('entities.lead.edit_datepanel_form.details.statuscode')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.statuscode.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'statuscode'
:value=
"data.statuscode"
tag=
'Lead__StatusCode'
codelistType=
'STATIC'
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
></app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.owneridyominame.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'owneridyominame'
:itemRules=
"this.rules.owneridyominame"
class=
''
:caption=
"$t('entities.lead.edit_datepanel_form.details.owneridyominame')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.owneridyominame.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'owneridyominame'
:value=
"data.owneridyominame"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
></app-span>
</app-form-item>
</i-col>
</row>
</app-form-group>
</i-col>
</row>
</i-form>
\ No newline at end of file
app_CRM/src/widgets/lead/edit-date-panel-form/edit-date-panel-form.vue
0 → 100644
浏览文件 @
9ccedf09
<
template
src=
"./edit-date-panel-form.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { Edit_DatePanelEditFormBase } from './edit-date-panel-form-base';
/**
* form部件
*
* @export
* @class Edit_DatePanelEditForm
* @extends {Edit_DatePanelEditFormBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class Edit_DatePanelEditForm extends Edit_DatePanelEditFormBase { }
</script>
businesscentral-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
9ccedf09
...
...
@@ -4,7 +4,7 @@
<!--输出实体[ACCOUNT]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-account-57
4
-1"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-account-57
9
-1"
>
<createTable
tableName=
"ACCOUNT"
>
<column
name=
"ADDRESS1_PRIMARYCONTACTNAME"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
...
...
@@ -5818,7 +5818,7 @@
<!--输出实体[LEAD]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-lead-2
06
-68"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-lead-2
13
-68"
>
<createTable
tableName=
"LEAD"
>
<column
name=
"ADDRESS1_FAX"
remarks=
""
type=
"VARCHAR(50)"
>
</column>
...
...
@@ -10986,31 +10986,31 @@
</changeSet>
<!--输出实体[ACCOUNT]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-57
4
-132"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-57
9
-132"
>
<addForeignKeyConstraint
baseColumnNames=
"PARENTACCOUNTID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__ACCOUNT__PARENT"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"ACCOUNTID"
referencedTableName=
"ACCOUNT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-57
4
-133"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-57
9
-133"
>
<addForeignKeyConstraint
baseColumnNames=
"PRIMARYCONTACTID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__CONTACT__PRIMAR"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"CONTACTID"
referencedTableName=
"CONTACT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-57
4
-134"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-57
9
-134"
>
<addForeignKeyConstraint
baseColumnNames=
"PREFERREDEQUIPMENTID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__EQUIPMENT__PREF"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"EQUIPMENTID"
referencedTableName=
"EQUIPMENT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-57
4
-135"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-57
9
-135"
>
<addForeignKeyConstraint
baseColumnNames=
"ORIGINATINGLEADID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__LEAD__ORIGINATI"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"LEADID"
referencedTableName=
"LEAD"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-57
4
-136"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-57
9
-136"
>
<addForeignKeyConstraint
baseColumnNames=
"DEFAULTPRICELEVELID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__PRICELEVEL__DEF"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"PRICELEVELID"
referencedTableName=
"PRICELEVEL"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-57
4
-137"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-57
9
-137"
>
<addForeignKeyConstraint
baseColumnNames=
"PREFERREDSERVICEID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__SERVICE__PREFER"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SERVICEID"
referencedTableName=
"SERVICE"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-57
4
-138"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-57
9
-138"
>
<addForeignKeyConstraint
baseColumnNames=
"SLAID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__SLA__SLAID"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SLAID"
referencedTableName=
"SLA"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-57
4
-139"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-57
9
-139"
>
<addForeignKeyConstraint
baseColumnNames=
"TERRITORYID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__TERRITORY__TERR"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TERRITORYID"
referencedTableName=
"TERRITORY"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-57
4
-140"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-57
9
-140"
>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__TRANSACTIONCURR"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
<!--输出实体[ACTIVITYMIMEATTACHMENT]外键关系 -->
...
...
@@ -11470,28 +11470,28 @@
</changeSet>
<!--输出实体[LANGUAGELOCALE]外键关系 -->
<!--输出实体[LEAD]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-lead-2
06
-296"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-lead-2
13
-296"
>
<addForeignKeyConstraint
baseColumnNames=
"PARENTACCOUNTID"
baseTableName=
"LEAD"
constraintName=
"DER1N_LEAD__ACCOUNT__PARENTACC"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"ACCOUNTID"
referencedTableName=
"ACCOUNT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-lead-2
06
-297"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-lead-2
13
-297"
>
<addForeignKeyConstraint
baseColumnNames=
"RELATEDOBJECTID"
baseTableName=
"LEAD"
constraintName=
"DER1N_LEAD__CAMPAIGNRESPONSE__"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"ACTIVITYID"
referencedTableName=
"CAMPAIGNRESPONSE"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-lead-2
06
-298"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-lead-2
13
-298"
>
<addForeignKeyConstraint
baseColumnNames=
"CAMPAIGNID"
baseTableName=
"LEAD"
constraintName=
"DER1N_LEAD__CAMPAIGN__CAMPAIGN"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"CAMPAIGNID"
referencedTableName=
"CAMPAIGN"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-lead-2
06
-299"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-lead-2
13
-299"
>
<addForeignKeyConstraint
baseColumnNames=
"PARENTCONTACTID"
baseTableName=
"LEAD"
constraintName=
"DER1N_LEAD__CONTACT__PARENTCON"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"CONTACTID"
referencedTableName=
"CONTACT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-lead-2
06
-300"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-lead-2
13
-300"
>
<addForeignKeyConstraint
baseColumnNames=
"ORIGINATINGCASEID"
baseTableName=
"LEAD"
constraintName=
"DER1N_LEAD__INCIDENT__ORIGINAT"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"INCIDENTID"
referencedTableName=
"INCIDENT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-lead-2
06
-301"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-lead-2
13
-301"
>
<addForeignKeyConstraint
baseColumnNames=
"QUALIFYINGOPPORTUNITYID"
baseTableName=
"LEAD"
constraintName=
"DER1N_LEAD__OPPORTUNITY__QUALI"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"OPPORTUNITYID"
referencedTableName=
"OPPORTUNITY"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-lead-2
06
-302"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-lead-2
13
-302"
>
<addForeignKeyConstraint
baseColumnNames=
"SLAID"
baseTableName=
"LEAD"
constraintName=
"DER1N_LEAD__SLA__SLAID"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SLAID"
referencedTableName=
"SLA"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-lead-2
06
-303"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-lead-2
13
-303"
>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"LEAD"
constraintName=
"DER1N_LEAD__TRANSACTIONCURRENC"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
<!--输出实体[LEADADDRESS]外键关系 -->
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录