Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
32fc684a
提交
32fc684a
编写于
6月 28, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chitanda 发布系统代码
上级
8974f3bb
变更
32
隐藏空白字符变更
内嵌
并排
正在显示
32 个修改的文件
包含
446 行增加
和
48 行删除
+446
-48
edit-view-engine.ts
app_CRM/src/engine/view/edit-view-engine.ts
+7
-13
md-view-engine.ts
app_CRM/src/engine/view/md-view-engine.ts
+0
-9
account-info-base.tsx
app_CRM/src/pages/base/account-info/account-info-base.tsx
+1
-1
contact-info-base.tsx
app_CRM/src/pages/base/contact-info/contact-info-base.tsx
+1
-1
campaign-info-base.tsx
.../src/pages/marketing/campaign-info/campaign-info-base.tsx
+1
-1
ibiz-list-info-base.tsx
...rc/pages/marketing/ibiz-list-info/ibiz-list-info-base.tsx
+1
-1
competitor-info-base.tsx
.../src/pages/sales/competitor-info/competitor-info-base.tsx
+1
-1
lead-info-base.tsx
app_CRM/src/pages/sales/lead-info/lead-info-base.tsx
+1
-1
opportunity-info-base.tsx
...rc/pages/sales/opportunity-info/opportunity-info-base.tsx
+1
-1
quote-info-base.tsx
app_CRM/src/pages/sales/quote-info/quote-info-base.tsx
+1
-1
view-account-info-all-portlet-base.tsx
...t-info-all-portlet/view-account-info-all-portlet-base.tsx
+18
-0
by-regarding-object-id-panel.html
...garding-object-id-panel/by-regarding-object-id-panel.html
+30
-9
list-by-parent-key-portlet-base.tsx
...by-parent-key-portlet/list-by-parent-key-portlet-base.tsx
+18
-0
view-campagin-portlet-base.tsx
...aign/view-campagin-portlet/view-campagin-portlet-base.tsx
+18
-0
view-head-portlet-base.tsx
...ets/campaign/view-head-portlet/view-head-portlet-base.tsx
+18
-0
view-info-portlet-base.tsx
...ets/campaign/view-info-portlet/view-info-portlet-base.tsx
+18
-0
view-manager-portlet-base.tsx
...mpaign/view-manager-portlet/view-manager-portlet-base.tsx
+18
-0
view-schedule-portlet-base.tsx
...aign/view-schedule-portlet/view-schedule-portlet-base.tsx
+18
-0
view-comp-abstract-portlet-base.tsx
...comp-abstract-portlet/view-comp-abstract-portlet-base.tsx
+18
-0
view-con-abs-portlet-base.tsx
...ontact/view-con-abs-portlet/view-con-abs-portlet-base.tsx
+18
-0
view-con-add-portlet-base.tsx
...ontact/view-con-add-portlet/view-con-add-portlet-base.tsx
+18
-0
view-con-book-portlet-base.tsx
...tact/view-con-book-portlet/view-con-book-portlet-base.tsx
+18
-0
view-con-mar-portlet-base.tsx
...ontact/view-con-mar-portlet/view-con-mar-portlet-base.tsx
+18
-0
view-con-per-portlet-base.tsx
...ontact/view-con-per-portlet/view-con-per-portlet-base.tsx
+18
-0
view-list-abs-portlet-base.tsx
...list/view-list-abs-portlet/view-list-abs-portlet-base.tsx
+18
-0
view-lead-com-portlet-base.tsx
...lead/view-lead-com-portlet/view-lead-com-portlet-base.tsx
+18
-0
view-lead-con-portlet-base.tsx
...lead/view-lead-con-portlet/view-lead-con-portlet-base.tsx
+18
-0
view-lead-detail-portlet-base.tsx
...iew-lead-detail-portlet/view-lead-detail-portlet-base.tsx
+18
-0
view-lead-market-portlet-base.tsx
...iew-lead-market-portlet/view-lead-market-portlet-base.tsx
+18
-0
panel-panel.html
app_CRM/src/widgets/opportunity/panel-panel/panel-panel.html
+41
-9
view-opp-pro-portlet-base.tsx
...tunity/view-opp-pro-portlet/view-opp-pro-portlet-base.tsx
+18
-0
view-quo-abs-portlet-base.tsx
.../quote/view-quo-abs-portlet/view-quo-abs-portlet-base.tsx
+18
-0
未找到文件。
app_CRM/src/engine/view/edit-view-engine.ts
浏览文件 @
32fc684a
...
...
@@ -103,7 +103,7 @@ export default class EditViewEngine extends ViewEngine {
public
onFormLoad
(
arg
:
any
):
void
{
this
.
view
.
model
.
dataInfo
=
Object
.
is
(
arg
.
srfuf
,
'1'
)
?
(
this
.
majorPSDEField
?
arg
[
this
.
majorPSDEField
]:
arg
.
srfmajortext
)
:
this
.
view
.
$t
(
'app.local.new'
);
this
.
setTabCaption
(
this
.
view
.
model
.
dataInfo
,
Object
.
is
(
arg
.
srfuf
,
'0'
)
);
this
.
setTabCaption
(
this
.
view
.
model
.
dataInfo
);
const
newdata
:
boolean
=
!
Object
.
is
(
arg
.
srfuf
,
'1'
);
this
.
calcToolbarItemState
(
newdata
);
}
...
...
@@ -117,7 +117,7 @@ export default class EditViewEngine extends ViewEngine {
public
onFormSave
(
arg
:
any
):
void
{
this
.
view
.
model
.
dataInfo
=
Object
.
is
(
arg
.
srfuf
,
'1'
)
?
(
this
.
majorPSDEField
?
arg
[
this
.
majorPSDEField
]:
arg
.
srfmajortext
)
:
this
.
view
.
$t
(
'app.local.new'
);
this
.
setTabCaption
(
this
.
view
.
model
.
dataInfo
,
Object
.
is
(
arg
.
srfuf
,
'0'
)
);
this
.
setTabCaption
(
this
.
view
.
model
.
dataInfo
);
const
newdata
:
boolean
=
!
Object
.
is
(
arg
.
srfuf
,
'1'
);
this
.
calcToolbarItemState
(
newdata
);
this
.
view
.
$emit
(
'save'
,
arg
);
...
...
@@ -245,21 +245,15 @@ export default class EditViewEngine extends ViewEngine {
*
* @memberof EditViewEngine
*/
public
setTabCaption
(
info
:
string
,
isNew
:
boolean
):
void
{
public
setTabCaption
(
info
:
string
):
void
{
let
viewdata
:
any
=
this
.
view
.
model
;
let
index
:
number
=
viewdata
.
srfTitle
.
indexOf
(
"-"
);
if
(
viewdata
&&
info
&&
!
Object
.
is
(
info
,
''
))
{
if
(
index
!==
-
1
){
viewdata
.
srfTitle
=
viewdata
.
srfTitle
.
substr
(
0
,
index
);
}
if
(
this
.
view
.
$tabPageExp
){
this
.
view
.
$tabPageExp
.
setCurPageCaption
(
this
.
view
.
$t
(
viewdata
.
srfTitle
),
this
.
view
.
$t
(
viewdata
.
srfTitle
),
info
);
}
if
(
viewdata
&&
info
&&
!
Object
.
is
(
info
,
''
)
&&
this
.
view
.
$tabPageExp
&&
(
viewdata
.
srfTitle
.
indexOf
(
" - "
)
===
-
1
))
{
this
.
view
.
$tabPageExp
.
setCurPageCaption
(
viewdata
.
srfTitle
,
viewdata
.
srfTitle
,
info
);
if
(
this
.
view
.
$route
){
this
.
view
.
$route
.
meta
.
info
=
info
;
}
this
.
view
.
model
.
srfTitle
=
`
${
this
.
view
.
$t
(
viewdata
.
srfTitle
)}
-
${
viewdata
.
dataInfo
}
`
;
this
.
view
.
initNavDataWithRoute
(
null
,
isNew
);
this
.
view
.
model
.
srfTitle
=
`
${
this
.
view
.
$t
(
viewdata
.
srfTitle
)}
-
${
viewdata
.
dataInfo
}
`
;
this
.
view
.
$emit
(
'viewModelChange'
,
this
.
view
.
model
.
srfTitle
);
}
}
...
...
app_CRM/src/engine/view/md-view-engine.ts
浏览文件 @
32fc684a
...
...
@@ -367,15 +367,6 @@ export default class MDViewEngine extends ViewEngine {
* @memberof MDViewEngine
*/
public
MDCtrlLoad
(
args
:
any
[])
{
let
cacheArray
:
Array
<
any
>
=
[];
if
(
args
.
length
>
0
){
args
.
forEach
((
item
:
any
)
=>
{
cacheArray
.
push
({
srfkey
:
item
.
srfkey
,
srfmajortext
:
item
.
srfmajortext
});
})
}
this
.
view
.
viewCacheData
=
cacheArray
;
this
.
view
.
initNavDataWithRoute
(
cacheArray
);
this
.
view
.
initNavDataWithTab
(
cacheArray
,
false
);
if
(
this
.
view
)
{
this
.
view
.
$emit
(
'viewload'
,
args
);
}
...
...
app_CRM/src/pages/base/account-info/account-info-base.tsx
浏览文件 @
32fc684a
...
...
@@ -444,7 +444,7 @@ export class AccountInfoBase extends TabExpViewBase {
*
* @memberof AccountInfoBase
*/
public
loadModel
():
void
{
public
async
loadModel
():
Promise
<
void
>
{
if
(
this
.
context
.
account
){
this
.
appEntityService
.
getDataInfo
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),{},
false
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
...
...
app_CRM/src/pages/base/contact-info/contact-info-base.tsx
浏览文件 @
32fc684a
...
...
@@ -409,7 +409,7 @@ export class ContactInfoBase extends TabExpViewBase {
*
* @memberof ContactInfoBase
*/
public
loadModel
():
void
{
public
async
loadModel
():
Promise
<
void
>
{
if
(
this
.
context
.
contact
){
this
.
appEntityService
.
getDataInfo
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),{},
false
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
...
...
app_CRM/src/pages/marketing/campaign-info/campaign-info-base.tsx
浏览文件 @
32fc684a
...
...
@@ -409,7 +409,7 @@ export class CampaignInfoBase extends TabExpViewBase {
*
* @memberof CampaignInfoBase
*/
public
loadModel
():
void
{
public
async
loadModel
():
Promise
<
void
>
{
if
(
this
.
context
.
campaign
){
this
.
appEntityService
.
getDataInfo
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),{},
false
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
...
...
app_CRM/src/pages/marketing/ibiz-list-info/ibiz-list-info-base.tsx
浏览文件 @
32fc684a
...
...
@@ -97,7 +97,7 @@ export class IBizListInfoBase extends TabExpViewBase {
*
* @memberof IBizListInfoBase
*/
public
loadModel
():
void
{
public
async
loadModel
():
Promise
<
void
>
{
if
(
this
.
context
.
ibizlist
){
this
.
appEntityService
.
getDataInfo
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),{},
false
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
...
...
app_CRM/src/pages/sales/competitor-info/competitor-info-base.tsx
浏览文件 @
32fc684a
...
...
@@ -97,7 +97,7 @@ export class CompetitorInfoBase extends TabExpViewBase {
*
* @memberof CompetitorInfoBase
*/
public
loadModel
():
void
{
public
async
loadModel
():
Promise
<
void
>
{
if
(
this
.
context
.
competitor
){
this
.
appEntityService
.
getDataInfo
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),{},
false
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
...
...
app_CRM/src/pages/sales/lead-info/lead-info-base.tsx
浏览文件 @
32fc684a
...
...
@@ -613,7 +613,7 @@ export class LeadInfoBase extends TabExpViewBase {
*
* @memberof LeadInfoBase
*/
public
loadModel
():
void
{
public
async
loadModel
():
Promise
<
void
>
{
if
(
this
.
context
.
lead
){
this
.
appEntityService
.
getDataInfo
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),{},
false
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
...
...
app_CRM/src/pages/sales/opportunity-info/opportunity-info-base.tsx
浏览文件 @
32fc684a
...
...
@@ -511,7 +511,7 @@ export class OpportunityInfoBase extends TabExpViewBase {
*
* @memberof OpportunityInfoBase
*/
public
loadModel
():
void
{
public
async
loadModel
():
Promise
<
void
>
{
if
(
this
.
context
.
opportunity
){
this
.
appEntityService
.
getDataInfo
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),{},
false
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
...
...
app_CRM/src/pages/sales/quote-info/quote-info-base.tsx
浏览文件 @
32fc684a
...
...
@@ -97,7 +97,7 @@ export class QuoteInfoBase extends TabExpViewBase {
*
* @memberof QuoteInfoBase
*/
public
loadModel
():
void
{
public
async
loadModel
():
Promise
<
void
>
{
if
(
this
.
context
.
quote
){
this
.
appEntityService
.
getDataInfo
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),{},
false
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
...
...
app_CRM/src/widgets/account/view-account-info-all-portlet/view-account-info-all-portlet-base.tsx
浏览文件 @
32fc684a
...
...
@@ -86,6 +86,24 @@ export class View_AccountInfoAllPortletBase extends MainControlBase {
return
{};
}
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_AccountInfoAllBase
*/
get
getHeight
():
any
{
if
(
!
this
.
$util
.
isEmpty
(
this
.
height
)
&&
!
this
.
$util
.
isNumberNaN
(
this
.
height
)){
if
(
this
.
height
==
0
){
return
'auto'
;
}
else
{
return
this
.
height
+
'px'
;
}
}
else
{
return
'auto'
;
}
}
/**
* vue 生命周期
*
...
...
app_CRM/src/widgets/activity-pointer/by-regarding-object-id-panel/by-regarding-object-id-panel.html
浏览文件 @
32fc684a
<layout
_dashboard_sysportlet2_list_itempanel
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:inputData=
"item"
@
panelDataChange=
"($event)=>{onPanelDataChange(item,$event)}"
name=
"dashboard_sysportlet2_list_itempanel"
ref=
'dashboard_sysportlet2_list_itempanel'
>
</layout
_dashboard_sysportlet2_list_itempanel
>
\ No newline at end of file
<div
class=
'panel-container'
style=
""
>
<row
class=
"app-layoutpanel"
style=
"height:100%;"
>
<div
v-show=
"detailsModel.container1.visible"
class=
"app-layoutpanel-container"
style=
""
>
<div
style=
"height:100%;display: flex;"
>
<div
v-show=
"detailsModel.activitytypecode.visible"
style=
""
class=
"app-layoutpanel-field "
>
<div
class=
"item-field"
>
<div
class=
"item-field-content"
>
<span>
{{data.activitytypecode}}
</span>
</div>
</div>
</div>
<div
v-show=
"detailsModel.subject.visible"
style=
""
class=
"app-layoutpanel-field "
>
<div
class=
"item-field"
>
<div
class=
"item-field-content"
>
<span>
{{data.subject}}
</span>
</div>
</div>
</div>
</div>
</div>
</row>
</div>
\ No newline at end of file
app_CRM/src/widgets/activity-pointer/list-by-parent-key-portlet/list-by-parent-key-portlet-base.tsx
浏览文件 @
32fc684a
...
...
@@ -202,6 +202,24 @@ export class List_ByParentKeyPortletBase extends MainControlBase {
return
{};
}
/**
* 获取高度
*
* @returns {any[]}
* @memberof List_ByParentKeyBase
*/
get
getHeight
():
any
{
if
(
!
this
.
$util
.
isEmpty
(
this
.
height
)
&&
!
this
.
$util
.
isNumberNaN
(
this
.
height
)){
if
(
this
.
height
==
0
){
return
'auto'
;
}
else
{
return
this
.
height
+
'px'
;
}
}
else
{
return
'auto'
;
}
}
/**
* vue 生命周期
*
...
...
app_CRM/src/widgets/campaign/view-campagin-portlet/view-campagin-portlet-base.tsx
浏览文件 @
32fc684a
...
...
@@ -86,6 +86,24 @@ export class View_CampaginPortletBase extends MainControlBase {
return
{};
}
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_CampaginBase
*/
get
getHeight
():
any
{
if
(
!
this
.
$util
.
isEmpty
(
this
.
height
)
&&
!
this
.
$util
.
isNumberNaN
(
this
.
height
)){
if
(
this
.
height
==
0
){
return
'auto'
;
}
else
{
return
this
.
height
+
'px'
;
}
}
else
{
return
'auto'
;
}
}
/**
* vue 生命周期
*
...
...
app_CRM/src/widgets/campaign/view-head-portlet/view-head-portlet-base.tsx
浏览文件 @
32fc684a
...
...
@@ -86,6 +86,24 @@ export class View_HeadPortletBase extends MainControlBase {
return
{};
}
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_HeadBase
*/
get
getHeight
():
any
{
if
(
!
this
.
$util
.
isEmpty
(
this
.
height
)
&&
!
this
.
$util
.
isNumberNaN
(
this
.
height
)){
if
(
this
.
height
==
0
){
return
'auto'
;
}
else
{
return
this
.
height
+
'px'
;
}
}
else
{
return
'auto'
;
}
}
/**
* vue 生命周期
*
...
...
app_CRM/src/widgets/campaign/view-info-portlet/view-info-portlet-base.tsx
浏览文件 @
32fc684a
...
...
@@ -86,6 +86,24 @@ export class View_InfoPortletBase extends MainControlBase {
return
{};
}
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_InfoBase
*/
get
getHeight
():
any
{
if
(
!
this
.
$util
.
isEmpty
(
this
.
height
)
&&
!
this
.
$util
.
isNumberNaN
(
this
.
height
)){
if
(
this
.
height
==
0
){
return
'auto'
;
}
else
{
return
this
.
height
+
'px'
;
}
}
else
{
return
'auto'
;
}
}
/**
* vue 生命周期
*
...
...
app_CRM/src/widgets/campaign/view-manager-portlet/view-manager-portlet-base.tsx
浏览文件 @
32fc684a
...
...
@@ -86,6 +86,24 @@ export class View_ManagerPortletBase extends MainControlBase {
return
{};
}
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_ManagerBase
*/
get
getHeight
():
any
{
if
(
!
this
.
$util
.
isEmpty
(
this
.
height
)
&&
!
this
.
$util
.
isNumberNaN
(
this
.
height
)){
if
(
this
.
height
==
0
){
return
'auto'
;
}
else
{
return
this
.
height
+
'px'
;
}
}
else
{
return
'auto'
;
}
}
/**
* vue 生命周期
*
...
...
app_CRM/src/widgets/campaign/view-schedule-portlet/view-schedule-portlet-base.tsx
浏览文件 @
32fc684a
...
...
@@ -86,6 +86,24 @@ export class View_SchedulePortletBase extends MainControlBase {
return
{};
}
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_ScheduleBase
*/
get
getHeight
():
any
{
if
(
!
this
.
$util
.
isEmpty
(
this
.
height
)
&&
!
this
.
$util
.
isNumberNaN
(
this
.
height
)){
if
(
this
.
height
==
0
){
return
'auto'
;
}
else
{
return
this
.
height
+
'px'
;
}
}
else
{
return
'auto'
;
}
}
/**
* vue 生命周期
*
...
...
app_CRM/src/widgets/competitor/view-comp-abstract-portlet/view-comp-abstract-portlet-base.tsx
浏览文件 @
32fc684a
...
...
@@ -86,6 +86,24 @@ export class View_CompAbstractPortletBase extends MainControlBase {
return
{};
}
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_CompAbstractBase
*/
get
getHeight
():
any
{
if
(
!
this
.
$util
.
isEmpty
(
this
.
height
)
&&
!
this
.
$util
.
isNumberNaN
(
this
.
height
)){
if
(
this
.
height
==
0
){
return
'auto'
;
}
else
{
return
this
.
height
+
'px'
;
}
}
else
{
return
'auto'
;
}
}
/**
* vue 生命周期
*
...
...
app_CRM/src/widgets/contact/view-con-abs-portlet/view-con-abs-portlet-base.tsx
浏览文件 @
32fc684a
...
...
@@ -115,6 +115,24 @@ export class View_ConAbsPortletBase extends MainControlBase {
return
{};
}
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_ConAbsBase
*/
get
getHeight
():
any
{
if
(
!
this
.
$util
.
isEmpty
(
this
.
height
)
&&
!
this
.
$util
.
isNumberNaN
(
this
.
height
)){
if
(
this
.
height
==
0
){
return
'auto'
;
}
else
{
return
this
.
height
+
'px'
;
}
}
else
{
return
'auto'
;
}
}
/**
* vue 生命周期
*
...
...
app_CRM/src/widgets/contact/view-con-add-portlet/view-con-add-portlet-base.tsx
浏览文件 @
32fc684a
...
...
@@ -115,6 +115,24 @@ export class View_ConAddPortletBase extends MainControlBase {
return
{};
}
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_ConAddBase
*/
get
getHeight
():
any
{
if
(
!
this
.
$util
.
isEmpty
(
this
.
height
)
&&
!
this
.
$util
.
isNumberNaN
(
this
.
height
)){
if
(
this
.
height
==
0
){
return
'auto'
;
}
else
{
return
this
.
height
+
'px'
;
}
}
else
{
return
'auto'
;
}
}
/**
* vue 生命周期
*
...
...
app_CRM/src/widgets/contact/view-con-book-portlet/view-con-book-portlet-base.tsx
浏览文件 @
32fc684a
...
...
@@ -115,6 +115,24 @@ export class View_ConBookPortletBase extends MainControlBase {
return
{};
}
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_ConBookBase
*/
get
getHeight
():
any
{
if
(
!
this
.
$util
.
isEmpty
(
this
.
height
)
&&
!
this
.
$util
.
isNumberNaN
(
this
.
height
)){
if
(
this
.
height
==
0
){
return
'auto'
;
}
else
{
return
this
.
height
+
'px'
;
}
}
else
{
return
'auto'
;
}
}
/**
* vue 生命周期
*
...
...
app_CRM/src/widgets/contact/view-con-mar-portlet/view-con-mar-portlet-base.tsx
浏览文件 @
32fc684a
...
...
@@ -115,6 +115,24 @@ export class View_ConMarPortletBase extends MainControlBase {
return
{};
}
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_ConMarBase
*/
get
getHeight
():
any
{
if
(
!
this
.
$util
.
isEmpty
(
this
.
height
)
&&
!
this
.
$util
.
isNumberNaN
(
this
.
height
)){
if
(
this
.
height
==
0
){
return
'auto'
;
}
else
{
return
this
.
height
+
'px'
;
}
}
else
{
return
'auto'
;
}
}
/**
* vue 生命周期
*
...
...
app_CRM/src/widgets/contact/view-con-per-portlet/view-con-per-portlet-base.tsx
浏览文件 @
32fc684a
...
...
@@ -115,6 +115,24 @@ export class View_ConPerPortletBase extends MainControlBase {
return
{};
}
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_ConPerBase
*/
get
getHeight
():
any
{
if
(
!
this
.
$util
.
isEmpty
(
this
.
height
)
&&
!
this
.
$util
.
isNumberNaN
(
this
.
height
)){
if
(
this
.
height
==
0
){
return
'auto'
;
}
else
{
return
this
.
height
+
'px'
;
}
}
else
{
return
'auto'
;
}
}
/**
* vue 生命周期
*
...
...
app_CRM/src/widgets/ibiz-list/view-list-abs-portlet/view-list-abs-portlet-base.tsx
浏览文件 @
32fc684a
...
...
@@ -115,6 +115,24 @@ export class View_ListAbsPortletBase extends MainControlBase {
return
{};
}
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_ListAbsBase
*/
get
getHeight
():
any
{
if
(
!
this
.
$util
.
isEmpty
(
this
.
height
)
&&
!
this
.
$util
.
isNumberNaN
(
this
.
height
)){
if
(
this
.
height
==
0
){
return
'auto'
;
}
else
{
return
this
.
height
+
'px'
;
}
}
else
{
return
'300px'
;
}
}
/**
* vue 生命周期
*
...
...
app_CRM/src/widgets/lead/view-lead-com-portlet/view-lead-com-portlet-base.tsx
浏览文件 @
32fc684a
...
...
@@ -86,6 +86,24 @@ export class View_LeadComPortletBase extends MainControlBase {
return
{};
}
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_LeadComBase
*/
get
getHeight
():
any
{
if
(
!
this
.
$util
.
isEmpty
(
this
.
height
)
&&
!
this
.
$util
.
isNumberNaN
(
this
.
height
)){
if
(
this
.
height
==
0
){
return
'auto'
;
}
else
{
return
this
.
height
+
'px'
;
}
}
else
{
return
'auto'
;
}
}
/**
* vue 生命周期
*
...
...
app_CRM/src/widgets/lead/view-lead-con-portlet/view-lead-con-portlet-base.tsx
浏览文件 @
32fc684a
...
...
@@ -86,6 +86,24 @@ export class View_LeadConPortletBase extends MainControlBase {
return
{};
}
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_LeadConBase
*/
get
getHeight
():
any
{
if
(
!
this
.
$util
.
isEmpty
(
this
.
height
)
&&
!
this
.
$util
.
isNumberNaN
(
this
.
height
)){
if
(
this
.
height
==
0
){
return
'auto'
;
}
else
{
return
this
.
height
+
'px'
;
}
}
else
{
return
'auto'
;
}
}
/**
* vue 生命周期
*
...
...
app_CRM/src/widgets/lead/view-lead-detail-portlet/view-lead-detail-portlet-base.tsx
浏览文件 @
32fc684a
...
...
@@ -86,6 +86,24 @@ export class View_LeadDetailPortletBase extends MainControlBase {
return
{};
}
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_LeadDetailBase
*/
get
getHeight
():
any
{
if
(
!
this
.
$util
.
isEmpty
(
this
.
height
)
&&
!
this
.
$util
.
isNumberNaN
(
this
.
height
)){
if
(
this
.
height
==
0
){
return
'auto'
;
}
else
{
return
this
.
height
+
'px'
;
}
}
else
{
return
'auto'
;
}
}
/**
* vue 生命周期
*
...
...
app_CRM/src/widgets/lead/view-lead-market-portlet/view-lead-market-portlet-base.tsx
浏览文件 @
32fc684a
...
...
@@ -86,6 +86,24 @@ export class View_LeadMarketPortletBase extends MainControlBase {
return
{};
}
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_LeadMarketBase
*/
get
getHeight
():
any
{
if
(
!
this
.
$util
.
isEmpty
(
this
.
height
)
&&
!
this
.
$util
.
isNumberNaN
(
this
.
height
)){
if
(
this
.
height
==
0
){
return
'auto'
;
}
else
{
return
this
.
height
+
'px'
;
}
}
else
{
return
'auto'
;
}
}
/**
* vue 生命周期
*
...
...
app_CRM/src/widgets/opportunity/panel-panel/panel-panel.html
浏览文件 @
32fc684a
<layout
_listexpbar_list_itempanel
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:inputData=
"item"
@
panelDataChange=
"($event)=>{onPanelDataChange(item,$event)}"
name=
"listexpbar_list_itempanel"
ref=
'listexpbar_list_itempanel'
>
</layout
_listexpbar_list_itempanel
>
\ No newline at end of file
<div
class=
'panel-container'
style=
""
>
<row
class=
"app-layoutpanel"
style=
"height:100%;"
>
<i-col
v-show=
"detailsModel.container1.visible"
style=
""
class=
"app-layoutpanel-container"
>
<row
style=
"height:100%;"
>
<i-col
v-show=
"detailsModel.opportunityname.visible"
:md=
"{ span: 24, offset: 0 }"
style=
"font-size:20px;font-weight:bold"
class=
"app-layoutpanel-field list-title"
>
<div
class=
"item-field"
>
<div
class=
"item-field-content"
>
<span>
{{data.opportunityname}}
</span>
</div>
</div>
</i-col>
<i-col
v-show=
"detailsModel.parentaccountname.visible"
:md=
"{ span: 24, offset: 0 }"
style=
""
class=
"app-layoutpanel-field"
>
<div
class=
"item-field"
>
<div
class=
"item-field-content"
>
<span>
{{data.parentaccountname}}
</span>
</div>
</div>
</i-col>
<i-col
v-show=
"detailsModel.parentcontactname.visible"
:md=
"{ span: 24, offset: 0 }"
style=
""
class=
"app-layoutpanel-field"
>
<div
class=
"item-field"
>
<div
class=
"item-field-content"
>
<span>
{{data.parentcontactname}}
</span>
</div>
</div>
</i-col>
</row>
</i-col>
</row>
</div>
\ No newline at end of file
app_CRM/src/widgets/opportunity/view-opp-pro-portlet/view-opp-pro-portlet-base.tsx
浏览文件 @
32fc684a
...
...
@@ -86,6 +86,24 @@ export class View_OppProPortletBase extends MainControlBase {
return
{};
}
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_OppProBase
*/
get
getHeight
():
any
{
if
(
!
this
.
$util
.
isEmpty
(
this
.
height
)
&&
!
this
.
$util
.
isNumberNaN
(
this
.
height
)){
if
(
this
.
height
==
0
){
return
'auto'
;
}
else
{
return
this
.
height
+
'px'
;
}
}
else
{
return
'auto'
;
}
}
/**
* vue 生命周期
*
...
...
app_CRM/src/widgets/quote/view-quo-abs-portlet/view-quo-abs-portlet-base.tsx
浏览文件 @
32fc684a
...
...
@@ -86,6 +86,24 @@ export class View_QuoAbsPortletBase extends MainControlBase {
return
{};
}
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_QuoAbsBase
*/
get
getHeight
():
any
{
if
(
!
this
.
$util
.
isEmpty
(
this
.
height
)
&&
!
this
.
$util
.
isNumberNaN
(
this
.
height
)){
if
(
this
.
height
==
0
){
return
'auto'
;
}
else
{
return
this
.
height
+
'px'
;
}
}
else
{
return
'300px'
;
}
}
/**
* vue 生命周期
*
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录