Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
e60838db
提交
e60838db
编写于
7月 08, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
48d3d6bf
变更
16
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
16 个修改的文件
包含
990 行增加
和
66 行删除
+990
-66
account_en_US.ts
app_CRM/src/locale/lanres/entities/account/account_en_US.ts
+23
-23
account_zh_CN.ts
app_CRM/src/locale/lanres/entities/account/account_zh_CN.ts
+23
-23
account-edit-data-panel-base.tsx
.../account-edit-data-panel/account-edit-data-panel-base.tsx
+155
-0
account-edit-data-panel.html
...base/account-edit-data-panel/account-edit-data-panel.html
+24
-0
account-edit-data-panel.vue
.../base/account-edit-data-panel/account-edit-data-panel.vue
+22
-0
page-register.ts
app_CRM/src/pages/ungroup/central/page-register.ts
+1
-1
router.ts
app_CRM/src/pages/ungroup/central/router.ts
+14
-14
state.ts
app_CRM/src/store/modules/view-action/state.ts
+10
-1
account-ui-service-base.ts
app_CRM/src/uiservice/account/account-ui-service-base.ts
+4
-4
edit-data-panel-form-base.tsx
...ccount/edit-data-panel-form/edit-data-panel-form-base.tsx
+132
-0
edit-data-panel-form-model.ts
...ccount/edit-data-panel-form/edit-data-panel-form-model.ts
+101
-0
edit-data-panel-form-service.ts
...ount/edit-data-panel-form/edit-data-panel-form-service.ts
+371
-0
edit-data-panel-form.html
...ts/account/edit-data-panel-form/edit-data-panel-form.html
+76
-0
edit-data-panel-form.less
...ts/account/edit-data-panel-form/edit-data-panel-form.less
+8
-0
edit-data-panel-form.vue
...ets/account/edit-data-panel-form/edit-data-panel-form.vue
+25
-0
OpportunityMapper.xml
.../resources/mapper/sales/opportunity/OpportunityMapper.xml
+1
-0
未找到文件。
app_CRM/src/locale/lanres/entities/account/account_en_US.ts
浏览文件 @
e60838db
...
...
@@ -404,6 +404,29 @@ export default {
uiactions
:
{
},
},
edit_datapanel_form
:
{
details
:
{
group1
:
"客户基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"客户"
,
srfmajortext
:
"客户名称"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
industrycode
:
"行业"
,
telephone1
:
"主要电话"
,
revenue
:
"年收入"
,
numberofemployees
:
"员工人数"
,
statuscode
:
"状态描述"
,
owneridyominame
:
"负责人"
,
accountid
:
"客户"
,
},
uiactions
:
{
},
},
info_datapanel_form
:
{
details
:
{
button1
:
"头部信息编辑"
,
...
...
@@ -506,29 +529,6 @@ export default {
uiactions
:
{
},
},
edit_datapanel_form
:
{
details
:
{
group1
:
"客户基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"客户"
,
srfmajortext
:
"客户名称"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
industrycode
:
"行业"
,
telephone1
:
"主要电话"
,
revenue
:
"年收入"
,
numberofemployees
:
"员工人数"
,
statuscode
:
"状态描述"
,
owneridyominame
:
"负责人"
,
accountid
:
"客户"
,
},
uiactions
:
{
},
},
introduction_form
:
{
details
:
{
group1
:
"客户基本信息"
,
...
...
app_CRM/src/locale/lanres/entities/account/account_zh_CN.ts
浏览文件 @
e60838db
...
...
@@ -403,6 +403,29 @@ export default {
uiactions
:
{
},
},
edit_datapanel_form
:
{
details
:
{
group1
:
"客户基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"客户"
,
srfmajortext
:
"客户名称"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
industrycode
:
"行业"
,
telephone1
:
"主要电话"
,
revenue
:
"年收入"
,
numberofemployees
:
"员工人数"
,
statuscode
:
"状态描述"
,
owneridyominame
:
"负责人"
,
accountid
:
"客户"
,
},
uiactions
:
{
},
},
info_datapanel_form
:
{
details
:
{
button1
:
"头部信息编辑"
,
...
...
@@ -505,29 +528,6 @@ export default {
uiactions
:
{
},
},
edit_datapanel_form
:
{
details
:
{
group1
:
"客户基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"客户"
,
srfmajortext
:
"客户名称"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
industrycode
:
"行业"
,
telephone1
:
"主要电话"
,
revenue
:
"年收入"
,
numberofemployees
:
"员工人数"
,
statuscode
:
"状态描述"
,
owneridyominame
:
"负责人"
,
accountid
:
"客户"
,
},
uiactions
:
{
},
},
introduction_form
:
{
details
:
{
group1
:
"客户基本信息"
,
...
...
app_CRM/src/pages/base/account-edit-data-panel/account-edit-data-panel-base.tsx
0 → 100644
浏览文件 @
e60838db
import
{
Subject
}
from
'rxjs'
;
import
{
EditViewBase
}
from
'@/studio-core'
;
import
AccountService
from
'@/service/account/account-service'
;
import
EditViewEngine
from
'@engine/view/edit-view-engine'
;
/**
* 客户编辑视图视图基类
*
* @export
* @class AccountEdit_DataPanelBase
* @extends {EditViewBase}
*/
export
class
AccountEdit_DataPanelBase
extends
EditViewBase
{
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof AccountEdit_DataPanelBase
*/
protected
appDeName
:
string
=
'account'
;
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof AccountEdit_DataPanelBase
*/
protected
appDeKey
:
string
=
'accountid'
;
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof AccountEdit_DataPanelBase
*/
protected
appDeMajor
:
string
=
'accountname'
;
/**
* 实体服务对象
*
* @type {AccountService}
* @memberof AccountEdit_DataPanelBase
*/
protected
appEntityService
:
AccountService
=
new
AccountService
;
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof AccountEdit_DataPanelBase
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof AccountEdit_DataPanelBase
*/
protected
model
:
any
=
{
srfCaption
:
'entities.account.views.edit_datapanel.caption'
,
srfTitle
:
'entities.account.views.edit_datapanel.title'
,
srfSubTitle
:
'entities.account.views.edit_datapanel.subtitle'
,
dataInfo
:
''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof AccountEdit_DataPanelBase
*/
protected
containerModel
:
any
=
{
view_form
:
{
name
:
'form'
,
type
:
'FORM'
},
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected
viewtag
:
string
=
'6ab7d7604dbd53cc5b469aa9176dcb2f'
;
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof AccountEdit_DataPanelBase
*/
public
engine
:
EditViewEngine
=
new
EditViewEngine
();
/**
* 引擎初始化
*
* @public
* @memberof AccountEdit_DataPanelBase
*/
public
engineInit
():
void
{
this
.
engine
.
init
({
view
:
this
,
form
:
this
.
$refs
.
form
,
p2k
:
'0'
,
keyPSDEField
:
'account'
,
majorPSDEField
:
'accountname'
,
isLoadDefault
:
true
,
});
}
/**
* form 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof AccountEdit_DataPanelBase
*/
public
form_save
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'save'
,
$event
);
}
/**
* form 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof AccountEdit_DataPanelBase
*/
public
form_remove
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'remove'
,
$event
);
}
/**
* form 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof AccountEdit_DataPanelBase
*/
public
form_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'load'
,
$event
);
}
}
\ No newline at end of file
app_CRM/src/pages/base/account-edit-data-panel/account-edit-data-panel.html
0 → 100644
浏览文件 @
e60838db
<studio-view-style2
viewName=
"accountedit_datapanel"
viewTitle=
"客户编辑视图"
class=
'deeditview account-edit-data-panel'
>
<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/base/account-edit-data-panel/account-edit-data-panel.vue
0 → 100644
浏览文件 @
e60838db
<
template
src=
"./account-edit-data-panel.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { AccountEdit_DataPanelBase } from './account-edit-data-panel-base';
import view_form from '@widgets/account/edit-data-panel-form/edit-data-panel-form.vue';
/**
* 客户编辑视图视图
*
* @export
* @class AccountEdit_DataPanel
* @extends {AccountEdit_DataPanelBase}
*/
@Component({
components: {
view_form,
}
})
@VueLifeCycleProcessing()
export default class AccountEdit_DataPanel extends AccountEdit_DataPanelBase { }
</script>
app_CRM/src/pages/ungroup/central/page-register.ts
浏览文件 @
e60838db
...
...
@@ -73,7 +73,6 @@ export const PageComponents = {
Vue
.
component
(
'transaction-currency-pickup-grid-view'
,
()
=>
import
(
'@pages/base/transaction-currency-pickup-grid-view/transaction-currency-pickup-grid-view.vue'
));
Vue
.
component
(
'product-substitute-edit-view'
,
()
=>
import
(
'@pages/product/product-substitute-edit-view/product-substitute-edit-view.vue'
));
Vue
.
component
(
'activity-pointer-grid-view'
,
()
=>
import
(
'@pages/base/activity-pointer-grid-view/activity-pointer-grid-view.vue'
));
Vue
.
component
(
'campaign-edit-head'
,
()
=>
import
(
'@pages/marketing/campaign-edit-head/campaign-edit-head.vue'
));
Vue
.
component
(
'account-pickup-view'
,
()
=>
import
(
'@pages/base/account-pickup-view/account-pickup-view.vue'
));
Vue
.
component
(
'uom-pickup-grid-view'
,
()
=>
import
(
'@pages/base/uom-pickup-grid-view/uom-pickup-grid-view.vue'
));
Vue
.
component
(
'invoice-info-view'
,
()
=>
import
(
'@pages/finance/invoice-info-view/invoice-info-view.vue'
));
...
...
@@ -126,6 +125,7 @@ export const PageComponents = {
Vue
.
component
(
'lead-pickup-grid-view'
,
()
=>
import
(
'@pages/sales/lead-pickup-grid-view/lead-pickup-grid-view.vue'
));
Vue
.
component
(
'opportunity-pickup-view'
,
()
=>
import
(
'@pages/sales/opportunity-pickup-view/opportunity-pickup-view.vue'
));
Vue
.
component
(
'ibiz-list-option-view'
,
()
=>
import
(
'@pages/marketing/ibiz-list-option-view/ibiz-list-option-view.vue'
));
Vue
.
component
(
'account-edit-data-panel'
,
()
=>
import
(
'@pages/base/account-edit-data-panel/account-edit-data-panel.vue'
));
Vue
.
component
(
'contact-info-abstract'
,
()
=>
import
(
'@pages/base/contact-info-abstract/contact-info-abstract.vue'
));
Vue
.
component
(
'invoice-detail-edit-view'
,
()
=>
import
(
'@pages/finance/invoice-detail-edit-view/invoice-detail-edit-view.vue'
));
Vue
.
component
(
'product-association-edit-view'
,
()
=>
import
(
'@pages/product/product-association-edit-view/product-association-edit-view.vue'
));
...
...
app_CRM/src/pages/ungroup/central/router.ts
浏览文件 @
e60838db
...
...
@@ -2269,20 +2269,6 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/base/activity-pointer-grid-view/activity-pointer-grid-view.vue'
),
},
{
path
:
'campaigns/:campaign?/edit_head/:edit_head?'
,
meta
:
{
caption
:
'entities.campaign.views.edit_head.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'campaigns'
,
parameterName
:
'campaign'
},
{
pathName
:
'edit_head'
,
parameterName
:
'edit_head'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/marketing/campaign-edit-head/campaign-edit-head.vue'
),
},
{
path
:
'accounts/:account?/pickupview/:pickupview?'
,
meta
:
{
...
...
@@ -3964,6 +3950,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/marketing/ibiz-list-option-view/ibiz-list-option-view.vue'
),
},
{
path
:
'accounts/:account?/edit_datapanel/:edit_datapanel?'
,
meta
:
{
caption
:
'entities.account.views.edit_datapanel.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'edit_datapanel'
,
parameterName
:
'edit_datapanel'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/account-edit-data-panel/account-edit-data-panel.vue'
),
},
{
path
:
'accounts/:account?/contacts/:contact?/info_abstract/:info_abstract?'
,
meta
:
{
...
...
app_CRM/src/store/modules/view-action/state.ts
浏览文件 @
e60838db
...
...
@@ -489,7 +489,7 @@ export const viewstate: any = {
'5f8f689d5dccc3db6d2b74a24a8b24ef'
,
'7b8b062c86b8e62d907ccbd467bb7ac6'
,
'bae77557d2f7a7852b634dc5d5a93435'
,
'
546a88448f9751bcbfb37734514ef2d8
'
,
'
6ab7d7604dbd53cc5b469aa9176dcb2f
'
,
'016e75bb460270519a0ee9dda57b2c90'
,
],
},
...
...
@@ -980,6 +980,15 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'6ab7d7604dbd53cc5b469aa9176dcb2f'
,
viewmodule
:
'Base'
,
viewname
:
'AccountEdit_DataPanel'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'6c17740cc21fd25906f3feeec10a454a'
,
viewmodule
:
'Service'
,
...
...
app_CRM/src/uiservice/account/account-ui-service-base.ts
浏览文件 @
e60838db
...
...
@@ -353,7 +353,7 @@ export default class AccountUIServiceBase extends UIService {
Object
.
assign
(
context
,
parentObj
);
let
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'
campaigns'
,
parameterName
:
'campaign
'
},
{
pathName
:
'
accounts'
,
parameterName
:
'account
'
},
];
const
openPopOver
=
(
view
:
any
,
data
:
any
)
=>
{
let
container
:
Subject
<
any
>
=
actionContext
.
$apppopover
.
openPop
(
$event
,
view
,
context
,
data
);
...
...
@@ -373,10 +373,10 @@ export default class AccountUIServiceBase extends UIService {
});
}
const
view
:
any
=
{
viewname
:
'
campaign-edit-head
'
,
height
:
20
0
,
viewname
:
'
account-edit-data-panel
'
,
height
:
0
,
width
:
300
,
title
:
actionContext
.
$t
(
'entities.
campaign.views.edit_head
.title'
),
title
:
actionContext
.
$t
(
'entities.
account.views.edit_datapanel
.title'
),
placement
:
'POPOVER'
,
};
openPopOver
(
view
,
data
);
...
...
app_CRM/src/widgets/account/edit-data-panel-form/edit-data-panel-form-base.tsx
0 → 100644
浏览文件 @
e60838db
import
{
Prop
,
Provide
,
Emit
,
Model
}
from
'vue-property-decorator'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
Watch
,
EditFormControlBase
}
from
'@/studio-core'
;
import
AccountService
from
'@/service/account/account-service'
;
import
Edit_DataPanelService
from
'./edit-data-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_DataPanelEditFormBase}
*/
export
class
Edit_DataPanelEditFormBase
extends
EditFormControlBase
{
/**
* 获取部件类型
*
* @protected
* @type {string}
* @memberof Edit_DataPanelEditFormBase
*/
protected
controlType
:
string
=
'FORM'
;
/**
* 建构部件服务对象
*
* @type {Edit_DataPanelService}
* @memberof Edit_DataPanelEditFormBase
*/
public
service
:
Edit_DataPanelService
=
new
Edit_DataPanelService
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {AccountService}
* @memberof Edit_DataPanelEditFormBase
*/
public
appEntityService
:
AccountService
=
new
AccountService
({
$store
:
this
.
$store
});
/**
* 应用实体名称
*
* @protected
* @type {string}
* @memberof Edit_DataPanelEditFormBase
*/
protected
appDeName
:
string
=
'account'
;
/**
* 表单数据对象
*
* @type {*}
* @memberof Edit_DataPanelEditFormBase
*/
public
data
:
any
=
{
srfupdatedate
:
null
,
srforikey
:
null
,
srfkey
:
null
,
srfmajortext
:
null
,
srftempmode
:
null
,
srfuf
:
null
,
srfdeid
:
null
,
srfsourcekey
:
null
,
industrycode
:
null
,
telephone1
:
null
,
revenue
:
null
,
numberofemployees
:
null
,
statuscode
:
null
,
owneridyominame
:
null
,
accountid
:
null
,
account
:
null
,
};
/**
* 属性值规则
*
* @type {*}
* @memberof Edit_DataPanelEditFormBase
*/
public
rules
:
any
=
{
owneridyominame
:
[
{
required
:
true
,
type
:
'string'
,
message
:
'负责人 值不能为空'
,
trigger
:
'change'
},
{
required
:
true
,
type
:
'string'
,
message
:
'负责人 值不能为空'
,
trigger
:
'blur'
},
],
}
/**
* 详情模型集合
*
* @type {*}
* @memberof Edit_DataPanelEditFormBase
*/
public
detailsModel
:
any
=
{
group1
:
new
FormGroupPanelModel
({
caption
:
'客户基本信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group1'
,
visible
:
true
,
isShowCaption
:
false
,
form
:
this
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.account.edit_datapanel_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
}),
industrycode
:
new
FormItemModel
({
caption
:
'行业'
,
detailType
:
'FORMITEM'
,
name
:
'industrycode'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
telephone1
:
new
FormItemModel
({
caption
:
'主要电话'
,
detailType
:
'FORMITEM'
,
name
:
'telephone1'
,
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
}),
accountid
:
new
FormItemModel
({
caption
:
'客户'
,
detailType
:
'FORMITEM'
,
name
:
'accountid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
};
}
\ No newline at end of file
app_CRM/src/widgets/account/edit-data-panel-form/edit-data-panel-form-model.ts
0 → 100644
浏览文件 @
e60838db
/**
* Edit_DataPanel 部件模型
*
* @export
* @class Edit_DataPanelModel
*/
export
default
class
Edit_DataPanelModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof Edit_DataPanelModel
*/
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
:
'accountid'
,
dataType
:
'GUID'
,
},
{
name
:
'srfmajortext'
,
prop
:
'accountname'
,
dataType
:
'TEXT'
,
},
{
name
:
'srftempmode'
,
},
{
name
:
'srfuf'
,
},
{
name
:
'srfdeid'
,
},
{
name
:
'srfsourcekey'
,
},
{
name
:
'industrycode'
,
prop
:
'industrycode'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'telephone1'
,
prop
:
'telephone1'
,
dataType
:
'TEXT'
,
},
{
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
:
'accountid'
,
prop
:
'accountid'
,
dataType
:
'GUID'
,
},
{
name
:
'account'
,
prop
:
'accountid'
,
dataType
:
'FONTKEY'
,
},
]
}
}
\ No newline at end of file
app_CRM/src/widgets/account/edit-data-panel-form/edit-data-panel-form-service.ts
0 → 100644
浏览文件 @
e60838db
此差异已折叠。
点击以展开。
app_CRM/src/widgets/account/edit-data-panel-form/edit-data-panel-form.html
0 → 100644
浏览文件 @
e60838db
<i-form
:model=
"this.data"
class=
'app-form'
ref=
'form'
id=
'account_edit_datapanel'
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.account.edit_datapanel_form.details.group1')"
:isShowCaption=
"false"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<row>
<i-col
v-show=
"detailsModel.industrycode.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'industrycode'
:itemRules=
"this.rules.industrycode"
class=
'datapanel-style'
labelStyle=
"datapanel-label-style"
:caption=
"$t('entities.account.edit_datapanel_form.details.industrycode')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.industrycode.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<dropdown-list
v-model=
"data.industrycode"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.industrycode.disabled"
tag=
'Account__IndustryCode'
codelistType=
'STATIC'
placeholder=
'请选择...'
style=
""
>
</dropdown-list>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.telephone1.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'telephone1'
:itemRules=
"this.rules.telephone1"
class=
'datapanel-style'
labelStyle=
"datapanel-label-style"
:caption=
"$t('entities.account.edit_datapanel_form.details.telephone1')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.telephone1.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.telephone1"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.telephone1.disabled"
type=
'text'
style=
""
></input-box>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.revenue.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'revenue'
:itemRules=
"this.rules.revenue"
class=
'datapanel-style'
labelStyle=
"datapanel-label-style"
:caption=
"$t('entities.account.edit_datapanel_form.details.revenue')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.revenue.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.revenue"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.revenue.disabled"
type=
'number'
style=
""
></input-box>
</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=
'datapanel-style'
labelStyle=
"datapanel-label-style"
:caption=
"$t('entities.account.edit_datapanel_form.details.numberofemployees')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.numberofemployees.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.numberofemployees"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.numberofemployees.disabled"
type=
'number'
style=
""
></input-box>
</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=
'datapanel-style'
labelStyle=
"datapanel-label-style"
:caption=
"$t('entities.account.edit_datapanel_form.details.statuscode')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.statuscode.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<dropdown-list
v-model=
"data.statuscode"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.statuscode.disabled"
tag=
'Account__StatusCode'
codelistType=
'STATIC'
placeholder=
'请选择...'
style=
""
>
</dropdown-list>
</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=
'datapanel-style'
labelStyle=
"datapanel-label-style"
:caption=
"$t('entities.account.edit_datapanel_form.details.owneridyominame')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.owneridyominame.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.owneridyominame"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.owneridyominame.disabled"
type=
'text'
style=
""
></input-box>
</app-form-item>
</i-col>
</row>
</app-form-group>
</i-col>
</row>
</i-form>
\ No newline at end of file
app_CRM/src/widgets/account/edit-data-panel-form/edit-data-panel-form.less
0 → 100644
浏览文件 @
e60838db
.datapanel-style {
color:rgba(209, 196, 233, 1);font-size:20px;font-weight:bold;margin:0px 10px 0px 0px;text-align:left
}
.datapanel-label-style {
color:rgba(245, 244, 244, 1);font-size:12px;margin:0px 0px 0px 0px
}
app_CRM/src/widgets/account/edit-data-panel-form/edit-data-panel-form.vue
0 → 100644
浏览文件 @
e60838db
<
template
src=
"./edit-data-panel-form.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { Edit_DataPanelEditFormBase } from './edit-data-panel-form-base';
/**
* form部件
*
* @export
* @class Edit_DataPanelEditForm
* @extends {Edit_DataPanelEditFormBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class Edit_DataPanelEditForm extends Edit_DataPanelEditFormBase { }
</script>
<style
lang=
'less'
>
@import
'./edit-data-panel-form.less'
;
</style>
businesscentral-core/src/main/resources/mapper/sales/opportunity/OpportunityMapper.xml
浏览文件 @
e60838db
...
...
@@ -135,6 +135,7 @@
<!--数据查询[Win]-->
<sql
id=
"Win"
databaseId=
"mysql"
>
<![CDATA[ SELECT t1.`ACCOUNTIDYOMINAME`, t1.`ACTUALCLOSEDATE`, t1.`ACTUALVALUE`, t1.`ACTUALVALUE_BASE`, t1.`BUDGETAMOUNT`, t1.`BUDGETAMOUNT_BASE`, t1.`BUDGETSTATUS`, t1.`CAMPAIGNID`, t1.`CAMPAIGNNAME`, t1.`CAPTUREPROPOSALFEEDBACK`, t1.`CLOSEPROBABILITY`, t1.`COMPLETEFINALPROPOSAL`, t1.`COMPLETEINTERNALREVIEW`, t1.`CONFIRMINTEREST`, t1.`CONTACTIDYOMINAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CURRENTSITUATION`, t1.`CUSTOMERID`, t1.`CUSTOMERIDTYPE`, t1.`CUSTOMERIDYOMINAME`, t1.`CUSTOMERNEED`, t1.`CUSTOMERPAINPOINTS`, t1.`DECISIONMAKER`, t1.`DESCRIPTION`, t1.`DEVELOPPROPOSAL`, t1.`DISCOUNTAMOUNT`, t1.`DISCOUNTAMOUNT_BASE`, t1.`DISCOUNTPERCENTAGE`, t1.`EMAILADDRESS`, t1.`ESTIMATEDCLOSEDATE`, t1.`ESTIMATEDVALUE`, t1.`ESTIMATEDVALUE_BASE`, t1.`EVALUATEFIT`, t1.`EXCHANGERATE`, t1.`FILEDEBRIEF`, t1.`FINALDECISIONDATE`, t1.`FREIGHTAMOUNT`, t1.`FREIGHTAMOUNT_BASE`, t1.`IDENTIFYCOMPETITORS`, t1.`IDENTIFYCUSTOMERCONTACTS`, t1.`IDENTIFYPURSUITTEAM`, t1.`IMPORTSEQUENCENUMBER`, t1.`INITIALCOMMUNICATION`, t1.`LASTONHOLDTIME`, t1.`NEED`, t1.`ONHOLDTIME`, t1.`OPPORTUNITYID`, t1.`OPPORTUNITYNAME`, t1.`OPPORTUNITYRATINGCODE`, t1.`ORIGINATINGLEADID`, t1.`ORIGINATINGLEADNAME`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERIDYOMINAME`, t1.`PARENTACCOUNTID`, t1.`PARENTACCOUNTNAME`, t1.`PARENTCONTACTID`, t1.`PARENTCONTACTNAME`, t1.`PARTICIPATESINWORKFLOW`, t1.`PRESENTFINALPROPOSAL`, t1.`PRESENTPROPOSAL`, t1.`PRICELEVELID`, t1.`PRICELEVELNAME`, t1.`PRICINGERRORCODE`, t1.`PRIORITYCODE`, t1.`PRIVATE`, t1.`PROCESSID`, t1.`PROPOSEDSOLUTION`, t1.`PURCHASEPROCESS`, t1.`PURCHASETIMEFRAME`, t1.`PURSUITDECISION`, t1.`QUALIFICATIONCOMMENTS`, t1.`QUOTECOMMENTS`, t1.`RESOLVEFEEDBACK`, t1.`REVENUESYSTEMCALCULATED`, t1.`SALESSTAGE`, t1.`SALESSTAGECODE`, t1.`SCHEDULEFOLLOWUP_PROSPECT`, t1.`SCHEDULEFOLLOWUP_QUALIFY`, t1.`SCHEDULEPROPOSALMEETING`, t1.`SENDTHANKYOUNOTE`, t1.`SLAID`, t1.`SLANAME`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`STEPID`, t1.`STEPNAME`, t1.`TEAMSFOLLOWED`, t1.`TIMELINE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TOTALAMOUNT`, t1.`TOTALAMOUNTLESSFREIGHT`, t1.`TOTALAMOUNTLESSFREIGHT_BASE`, t1.`TOTALAMOUNT_BASE`, t1.`TOTALDISCOUNTAMOUNT`, t1.`TOTALDISCOUNTAMOUNT_BASE`, t1.`TOTALLINEITEMAMOUNT`, t1.`TOTALLINEITEMAMOUNT_BASE`, t1.`TOTALLINEITEMDISCOUNTAMOUNT`, t1.`TOTALTAX`, t1.`TOTALTAX_BASE`, t1.`TRANSACTIONCURRENCYID`, t1.`TRANSACTIONCURRENCYNAME`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `OPPORTUNITY` t1
WHERE ( t1.`STATECODE` = 1 )
]]>
</sql>
</mapper>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录