Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
e3b878d0
提交
e3b878d0
编写于
6月 18, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
deae8148
变更
24
隐藏空白字符变更
内嵌
并排
正在显示
24 个修改的文件
包含
698 行增加
和
132 行删除
+698
-132
view-config.json
app_BusinessCentral/public/assets/json/view-config.json
+10
-10
contact_en_US.ts
...ntral/src/locale/lanres/entities/contact/contact_en_US.ts
+4
-4
contact_zh_CN.ts
...ntral/src/locale/lanres/entities/contact/contact_zh_CN.ts
+4
-4
viewconfig.ts
app_BusinessCentral/src/mock/viewconfig/viewconfig.ts
+8
-8
contact-dashboard-view-base.vue
...se/contact-dashboard-view/contact-dashboard-view-base.vue
+482
-0
contact-dashboard-view.less
...s/base/contact-dashboard-view/contact-dashboard-view.less
+6
-0
contact-dashboard-view.vue
...es/base/contact-dashboard-view/contact-dashboard-view.vue
+19
-0
page-register.ts
...usinessCentral/src/pages/ungroup/central/page-register.ts
+1
-1
router.ts
app_BusinessCentral/src/pages/ungroup/central/router.ts
+27
-27
state.ts
app_BusinessCentral/src/store/modules/view-action/state.ts
+15
-11
contact-ui-service-base.ts
...sCentral/src/uiservice/contact/contact-ui-service-base.ts
+1
-1
by-parent-key-list-base.vue
...ty-pointer/by-parent-key-list/by-parent-key-list-base.vue
+3
-3
by-parent-key-list-model.ts
...ty-pointer/by-parent-key-list/by-parent-key-list-model.ts
+1
-1
by-parent-key-list.vue
...ctivity-pointer/by-parent-key-list/by-parent-key-list.vue
+2
-2
list-by-parent-key-portlet-base.vue
...by-parent-key-portlet/list-by-parent-key-portlet-base.vue
+13
-13
list-by-parent-key-portlet.vue
...list-by-parent-key-portlet/list-by-parent-key-portlet.vue
+2
-2
summary-dashboard-base.vue
...ets/campaign/summary-dashboard/summary-dashboard-base.vue
+76
-35
summary-dashboard.vue
.../widgets/campaign/summary-dashboard/summary-dashboard.vue
+2
-0
summarydashboard-container2-portlet.less
...ntainer2-portlet/summarydashboard-container2-portlet.less
+4
-0
summarydashboard-container3-portlet.less
...ntainer3-portlet/summarydashboard-container3-portlet.less
+4
-0
con-abs-dashboard-base.vue
...gets/contact/con-abs-dashboard/con-abs-dashboard-base.vue
+1
-1
dashboard-viewdashboard-container1-portlet.less
...1-portlet/dashboard-viewdashboard-container1-portlet.less
+4
-0
tab-exp-viewtabviewpanel-tabviewpanel-base.vue
...bviewpanel/tab-exp-viewtabviewpanel-tabviewpanel-base.vue
+2
-2
h2_table.xml
...esscentral-core/src/main/resources/liquibase/h2_table.xml
+7
-7
未找到文件。
app_BusinessCentral/public/assets/json/view-config.json
浏览文件 @
e3b878d0
...
...
@@ -369,16 +369,6 @@
"viewtag"
:
"5c7e90ccfaeb49b5bd84ae6c17b479e3"
,
"memo"
:
""
},
"contactdashboardview9"
:
{
"title"
:
"联系人数据看板视图"
,
"caption"
:
"联系人"
,
"viewtype"
:
"DEPORTALVIEW9"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"ContactDashboardView9"
,
"viewfilename"
:
"contact-dashboard-view9"
,
"viewtag"
:
"5f858bcdc7f62dbe7c0b05a5e3924240"
,
"memo"
:
""
},
"opportunitygridview"
:
{
"title"
:
"opportunity表格视图"
,
"caption"
:
"商机"
,
...
...
@@ -399,6 +389,16 @@
"viewtag"
:
"60093dd36f07238d7a7e72e9ed372942"
,
"memo"
:
""
},
"contactdashboardview"
:
{
"title"
:
"联系人数据看板视图"
,
"caption"
:
"联系人"
,
"viewtype"
:
"DEPORTALVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"ContactDashboardView"
,
"viewfilename"
:
"contact-dashboard-view"
,
"viewtag"
:
"6168a7e787ead13b1e0f9a55007bc68c"
,
"memo"
:
""
},
"goalgridview"
:
{
"title"
:
"goal表格视图"
,
"caption"
:
"目标"
,
...
...
app_BusinessCentral/src/locale/lanres/entities/contact/contact_en_US.ts
浏览文件 @
e3b878d0
...
...
@@ -210,14 +210,14 @@ export default {
info_abstract
:
{
caption
:
"联系人"
,
title
:
'联系人编辑视图'
,
},
dashboardview9
:
{
caption
:
"联系人"
,
title
:
'联系人数据看板视图'
,
},
info_detail
:
{
caption
:
"联系人"
,
title
:
'联系人编辑视图'
,
},
dashboardview
:
{
caption
:
"联系人"
,
title
:
'联系人数据看板视图'
,
},
pickupgridview
:
{
caption
:
"联系人"
,
...
...
app_BusinessCentral/src/locale/lanres/entities/contact/contact_zh_CN.ts
浏览文件 @
e3b878d0
...
...
@@ -209,14 +209,14 @@ export default {
info_abstract
:
{
caption
:
'联系人'
,
title
:
'联系人编辑视图'
,
},
dashboardview9
:
{
caption
:
'联系人'
,
title
:
'联系人数据看板视图'
,
},
info_detail
:
{
caption
:
'联系人'
,
title
:
'联系人编辑视图'
,
},
dashboardview
:
{
caption
:
'联系人'
,
title
:
'联系人数据看板视图'
,
},
pickupgridview
:
{
caption
:
'联系人'
,
...
...
app_BusinessCentral/src/mock/viewconfig/viewconfig.ts
浏览文件 @
e3b878d0
...
...
@@ -303,14 +303,6 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"AccountGridView"
,
"viewtag"
:
"5c7e90ccfaeb49b5bd84ae6c17b479e3"
},
"contactdashboardview9"
:
{
"title"
:
"联系人数据看板视图"
,
"caption"
:
"联系人"
,
"viewtype"
:
"DEPORTALVIEW9"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"ContactDashboardView9"
,
"viewtag"
:
"5f858bcdc7f62dbe7c0b05a5e3924240"
},
"opportunitygridview"
:
{
"title"
:
"opportunity表格视图"
,
"caption"
:
"商机"
,
...
...
@@ -327,6 +319,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"ContactInfo_Detail"
,
"viewtag"
:
"60093dd36f07238d7a7e72e9ed372942"
},
"contactdashboardview"
:
{
"title"
:
"联系人数据看板视图"
,
"caption"
:
"联系人"
,
"viewtype"
:
"DEPORTALVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"ContactDashboardView"
,
"viewtag"
:
"6168a7e787ead13b1e0f9a55007bc68c"
},
"goalgridview"
:
{
"title"
:
"goal表格视图"
,
"caption"
:
"目标"
,
...
...
app_BusinessCentral/src/pages/base/contact-dashboard-view/contact-dashboard-view-base.vue
0 → 100644
浏览文件 @
e3b878d0
<
template
>
<studio-view
viewName=
"contactdashboardview"
viewTitle=
"联系人数据看板视图"
class=
'deportalview contact-dashboard-view'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{
$t
(
model
.
srfTitle
)
}}
</span>
</
template
>
<view
_dashboard
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"JSON.parse(JSON.stringify(context))"
:isEnableCustomized =
"false"
name=
"dashboard"
ref=
'dashboard'
@
load=
"dashboard_load($event)"
@
closeview=
"closeView($event)"
>
</view
_dashboard
>
</studio-view>
</template>
<
script
lang=
'tsx'
>
import
{
Vue
,
Component
,
Prop
,
Provide
,
Emit
,
Watch
}
from
'vue-property-decorator'
;
import
{
UIActionTool
,
Util
}
from
'@/utils'
;
import
{
Subject
}
from
'rxjs'
;
import
ContactService
from
'@/service/contact/contact-service'
;
import
PortalViewEngine
from
'@engine/view/portal-view-engine'
;
@
Component
({
components
:
{
},
})
export
default
class
ContactDashboardViewBase
extends
Vue
{
/**
* 实体服务对象
*
* @type {ContactService}
* @memberof ContactDashboardViewBase
*/
public
appEntityService
:
ContactService
=
new
ContactService
;
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof ContactDashboardViewBase
*/
public
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 数据变化
*
* @param {*} val
* @returns {*}
* @memberof ContactDashboardViewBase
*/
@
Emit
()
public
viewDatasChange
(
val
:
any
):
any
{
return
val
;
}
/**
* 传入视图上下文
*
* @type {string}
* @memberof ContactDashboardViewBase
*/
@
Prop
()
public
viewdata
!
:
string
;
/**
* 传入视图参数
*
* @type {string}
* @memberof ContactDashboardViewBase
*/
@
Prop
()
public
viewparam
!
:
string
;
/**
* 视图默认使用
*
* @type {boolean}
* @memberof ContactDashboardViewBase
*/
@
Prop
({
default
:
true
})
public
viewDefaultUsage
!
:
boolean
;
/**
* 视图标识
*
* @type {string}
* @memberof ContactDashboardViewBase
*/
public
viewtag
:
string
=
'6168a7e787ead13b1e0f9a55007bc68c'
;
/**
* 自定义视图导航上下文集合
*
* @type {*}
* @memberof ContactDashboardViewBase
*/
public
customViewNavContexts
:
any
=
{
};
/**
* 自定义视图导航参数集合
*
* @type {*}
* @memberof ContactDashboardViewBase
*/
public
customViewParams
:
any
=
{
};
/**
* 视图模型数据
*
* @type {*}
* @memberof ContactDashboardViewBase
*/
public
model
:
any
=
{
srfCaption
:
'entities.contact.views.dashboardview.caption'
,
srfTitle
:
'entities.contact.views.dashboardview.title'
,
srfSubTitle
:
'entities.contact.views.dashboardview.subtitle'
,
dataInfo
:
''
}
/**
* 视图参数变化
*
* @param {*} newVal
* @param {*} oldVal
* @memberof ContactDashboardViewBase
*/
@
Watch
(
'viewparam'
,{
immediate
:
true
,
deep
:
true
})
onParamData
(
newVal
:
any
,
oldVal
:
any
)
{
if
(
newVal
){
for
(
let
key
in
this
.
viewparams
){
delete
this
.
viewparams
[
key
];
}
Object
.
assign
(
this
.
viewparams
,
JSON
.
parse
(
this
.
viewparam
));
}
}
/**
* 处理应用上下文变化
*
* @param {*} newVal
* @param {*} oldVal
* @memberof ContactDashboardViewBase
*/
@
Watch
(
'viewdata'
)
onViewData
(
newVal
:
any
,
oldVal
:
any
)
{
const
_this
:
any
=
this
;
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
engine
)
{
this
.
$nextTick
(()
=>
{
_this
.
parseViewParam
();
_this
.
engine
.
load
();
});
}
}
/**
* 容器模型
*
* @type {*}
* @memberof ContactDashboardViewBase
*/
public
containerModel
:
any
=
{
view_dashboard
:
{
name
:
'dashboard'
,
type
:
'DASHBOARD'
},
};
/**
* 计数器刷新
*
* @memberof ContactDashboardViewBase
*/
public
counterRefresh
(){
const
_this
:
any
=
this
;
if
(
_this
.
counterServiceArray
&&
_this
.
counterServiceArray
.
length
>
0
){
_this
.
counterServiceArray
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
refreshData
&&
item
.
refreshData
instanceof
Function
){
item
.
refreshData
();
}
})
}
}
/**
* 视图状态订阅对象
*
* @public
* @type {Subject<{action: string, data: any}>}
* @memberof ContactDashboardViewBase
*/
public
viewState
:
Subject
<
ViewState
>
=
new
Subject
();
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof ContactDashboardViewBase
*/
public
engine
:
PortalViewEngine
=
new
PortalViewEngine
();
/**
* 引擎初始化
*
* @public
* @memberof ContactDashboardViewBase
*/
public
engineInit
():
void
{
this
.
engine
.
init
({
view
:
this
,
dashboard
:
this
.
$refs
.
dashboard
,
keyPSDEField
:
'contact'
,
majorPSDEField
:
'fullname'
,
isLoadDefault
:
true
,
});
}
/**
* 应用上下文
*
* @type {*}
* @memberof ContactDashboardViewBase
*/
public
context
:
any
=
{};
/**
* 视图参数
*
* @type {*}
* @memberof ContactDashboardViewBase
*/
public
viewparams
:
any
=
{};
/**
* 解析视图参数
*
* @public
* @memberof ContactDashboardViewBase
*/
public
parseViewParam
():
void
{
for
(
let
key
in
this
.
context
){
delete
this
.
context
[
key
];
}
if
(
!
this
.
viewDefaultUsage
&&
this
.
viewdata
&&
!
Object
.
is
(
this
.
viewdata
,
''
))
{
Object
.
assign
(
this
.
context
,
JSON
.
parse
(
this
.
viewdata
));
if
(
this
.
context
&&
this
.
context
.
srfparentdename
){
Object
.
assign
(
this
.
viewparams
,{
srfparentdename
:
this
.
context
.
srfparentdename
});
}
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
$forceUpdate
();
return
;
}
const
path
=
(
this
.
$route
.
matched
[
this
.
$route
.
matched
.
length
-
1
]).
path
;
const
keys
:
Array
<
any
>
=
[];
const
curReg
=
this
.
$pathToRegExp
.
pathToRegexp
(
path
,
keys
);
const
matchArray
=
curReg
.
exec
(
this
.
$route
.
path
);
let
tempValue
:
Object
=
{};
keys
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
Object
.
defineProperty
(
tempValue
,
item
.
name
,
{
enumerable
:
true
,
value
:
matchArray
[
index
+
1
]
});
});
this
.
$viewTool
.
formatRouteParams
(
tempValue
,
this
.
$route
,
this
.
context
,
this
.
viewparams
);
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
//初始化视图唯一标识
Object
.
assign
(
this
.
context
,{
srfsessionid
:
this
.
$util
.
createUUID
()});
this
.
handleCustomViewData
();
}
/**
* 处理自定义视图数据
*
* @memberof ContactDashboardViewBase
*/
public
handleCustomViewData
(){
if
(
Object
.
keys
(
this
.
customViewNavContexts
).
length
>
0
){
Object
.
keys
(
this
.
customViewNavContexts
).
forEach
((
item
:
any
)
=>
{
let
tempContext
:
any
=
{};
let
curNavContext
:
any
=
this
.
customViewNavContexts
[
item
];
this
.
handleCustomDataLogic
(
curNavContext
,
tempContext
,
item
);
Object
.
assign
(
this
.
context
,
tempContext
);
})
}
if
(
Object
.
keys
(
this
.
customViewParams
).
length
>
0
){
Object
.
keys
(
this
.
customViewParams
).
forEach
((
item
:
any
)
=>
{
let
tempParam
:
any
=
{};
let
curNavParam
:
any
=
this
.
customViewParams
[
item
];
this
.
handleCustomDataLogic
(
curNavParam
,
tempParam
,
item
);
Object
.
assign
(
this
.
viewparams
,
tempParam
);
})
}
}
/**
* 处理自定义视图数据逻辑
*
* @memberof ContactDashboardViewBase
*/
public
handleCustomDataLogic
(
curNavData
:
any
,
tempData
:
any
,
item
:
string
){
// 直接值直接赋值
if
(
curNavData
.
isRawValue
){
if
(
Object
.
is
(
curNavData
.
value
,
"null"
)
||
Object
.
is
(
curNavData
.
value
,
""
)){
Object
.
defineProperty
(
tempData
,
item
.
toLowerCase
(),
{
value
:
null
,
writable
:
true
,
enumerable
:
true
,
configurable
:
true
});
}
else
{
Object
.
defineProperty
(
tempData
,
item
.
toLowerCase
(),
{
value
:
curNavData
.
value
,
writable
:
true
,
enumerable
:
true
,
configurable
:
true
});
}
}
else
{
// 先从导航上下文取数,没有再从导航参数(URL)取数,如果导航上下文和导航参数都没有则为null
if
(
this
.
context
[(
curNavData
.
value
).
toLowerCase
()]){
Object
.
defineProperty
(
tempData
,
item
.
toLowerCase
(),
{
value
:
this
.
context
[(
curNavData
.
value
).
toLowerCase
()],
writable
:
true
,
enumerable
:
true
,
configurable
:
true
});
}
else
{
if
(
this
.
viewparams
[(
curNavData
.
value
).
toLowerCase
()]){
Object
.
defineProperty
(
tempData
,
item
.
toLowerCase
(),
{
value
:
this
.
viewparams
[(
curNavData
.
value
).
toLowerCase
()],
writable
:
true
,
enumerable
:
true
,
configurable
:
true
});
}
else
{
Object
.
defineProperty
(
tempData
,
item
.
toLowerCase
(),
{
value
:
null
,
writable
:
true
,
enumerable
:
true
,
configurable
:
true
});
}
}
}
}
/**
* Vue声明周期
*
* @memberof ContactDashboardViewBase
*/
public
created
()
{
this
.
afterCreated
();
}
/**
* 执行created后的逻辑
*
* @memberof ContactDashboardViewBase
*/
public
afterCreated
(){
const
secondtag
=
this
.
$util
.
createUUID
();
this
.
$store
.
commit
(
'viewaction/createdView'
,
{
viewtag
:
this
.
viewtag
,
secondtag
:
secondtag
});
this
.
viewtag
=
secondtag
;
this
.
parseViewParam
();
}
/**
* 销毁之前
*
* @memberof ContactDashboardViewBase
*/
public
beforeDestroy
()
{
this
.
$store
.
commit
(
'viewaction/removeView'
,
this
.
viewtag
);
}
/**
* Vue声明周期(组件初始化完毕)
*
* @memberof ContactDashboardViewBase
*/
public
mounted
()
{
this
.
afterMounted
();
}
/**
* 执行mounted后的逻辑
*
* @memberof ContactDashboardViewBase
*/
public
afterMounted
(){
const
_this
:
any
=
this
;
_this
.
engineInit
();
if
(
_this
.
loadModel
&&
_this
.
loadModel
instanceof
Function
)
{
_this
.
loadModel
();
}
}
/**
* dashboard 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof ContactDashboardViewBase
*/
public
dashboard_load
(
$event
:
any
,
$event2
?:
any
)
{
this
.
engine
.
onCtrlEvent
(
'dashboard'
,
'load'
,
$event
);
}
/**
* 关闭视图
*
* @param {any[]} args
* @memberof ContactDashboardViewBase
*/
public
closeView
(
args
:
any
[]):
void
{
let
_view
:
any
=
this
;
if
(
_view
.
viewdata
)
{
_view
.
$emit
(
'viewdataschange'
,
[
args
]);
_view
.
$emit
(
'close'
,
[
args
]);
}
else
if
(
_view
.
$tabPageExp
)
{
_view
.
$tabPageExp
.
onClose
(
_view
.
$route
.
fullPath
);
}
}
/**
* 销毁视图回调
*
* @memberof ContactDashboardViewBase
*/
public
destroyed
(){
this
.
afterDestroyed
();
}
/**
* 执行destroyed后的逻辑
*
* @memberof ContactDashboardViewBase
*/
public
afterDestroyed
(){
if
(
this
.
viewDefaultUsage
){
let
localStoreLength
=
Object
.
keys
(
localStorage
);
if
(
localStoreLength
.
length
>
0
){
localStoreLength
.
forEach
((
item
:
string
)
=>
{
if
(
item
.
startsWith
(
this
.
context
.
srfsessionid
)){
localStorage
.
removeItem
(
item
);
}
})
}
}
}
}
</
script
>
<
style
lang=
'less'
>
@import './contact-dashboard-view.less';
</
style
>
\ No newline at end of file
app_BusinessCentral/src/pages/base/contact-dashboard-view/contact-dashboard-view.less
0 → 100644
浏览文件 @
e3b878d0
// 避免空文件,后台不让空文件过
.contact-dashboard-view {
--contact-dashboard-view: 0;
}
app_BusinessCentral/src/pages/base/contact-dashboard-view/contact-dashboard-view.vue
0 → 100644
浏览文件 @
e3b878d0
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
ContactDashboardViewBase
from
'./contact-dashboard-view-base.vue'
;
import
view_dashboard
from
'@widgets/contact/con-abs-dashboard/con-abs-dashboard.vue'
;
@
Component
({
components
:
{
view_dashboard
,
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
route
:
to
,
viewtag
:
vm
.
viewtag
});
});
},
})
export
default
class
ContactDashboardView
extends
ContactDashboardViewBase
{
}
</
script
>
\ No newline at end of file
app_BusinessCentral/src/pages/ungroup/central/page-register.ts
浏览文件 @
e3b878d0
...
...
@@ -23,7 +23,6 @@ export const PageComponents = {
Vue
.
component
(
'quote-grid-view'
,
()
=>
import
(
'@pages/sales/quote-grid-view/quote-grid-view.vue'
));
Vue
.
component
(
'account-info-account'
,
()
=>
import
(
'@pages/base/account-info-account/account-info-account.vue'
));
Vue
.
component
(
'invoice-edit-view'
,
()
=>
import
(
'@pages/finance/invoice-edit-view/invoice-edit-view.vue'
));
Vue
.
component
(
'contact-dashboard-view9'
,
()
=>
import
(
'@pages/base/contact-dashboard-view9/contact-dashboard-view9.vue'
));
Vue
.
component
(
'campaign-info-schedule'
,
()
=>
import
(
'@pages/marketing/campaign-info-schedule/campaign-info-schedule.vue'
));
Vue
.
component
(
'account-info-contact-setting'
,
()
=>
import
(
'@pages/base/account-info-contact-setting/account-info-contact-setting.vue'
));
Vue
.
component
(
'campaign-edit-view'
,
()
=>
import
(
'@pages/marketing/campaign-edit-view/campaign-edit-view.vue'
));
...
...
@@ -71,6 +70,7 @@ export const PageComponents = {
Vue
.
component
(
'list-lead-grid-view'
,
()
=>
import
(
'@pages/marketing/list-lead-grid-view/list-lead-grid-view.vue'
));
Vue
.
component
(
'lead-edit-view'
,
()
=>
import
(
'@pages/sales/lead-edit-view/lead-edit-view.vue'
));
Vue
.
component
(
'phone-call-edit-view'
,
()
=>
import
(
'@pages/base/phone-call-edit-view/phone-call-edit-view.vue'
));
Vue
.
component
(
'contact-dashboard-view'
,
()
=>
import
(
'@pages/base/contact-dashboard-view/contact-dashboard-view.vue'
));
Vue
.
component
(
'task-edit-view'
,
()
=>
import
(
'@pages/base/task-edit-view/task-edit-view.vue'
));
Vue
.
component
(
'lead-quick-create'
,
()
=>
import
(
'@pages/sales/lead-quick-create/lead-quick-create.vue'
));
Vue
.
component
(
'price-level-pickup-view'
,
()
=>
import
(
'@pages/product/price-level-pickup-view/price-level-pickup-view.vue'
));
...
...
app_BusinessCentral/src/pages/ungroup/central/router.ts
浏览文件 @
e3b878d0
...
...
@@ -445,20 +445,6 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/finance/invoice-edit-view/invoice-edit-view.vue'
),
},
{
path
:
'contacts/:contact?/dashboardview9/:dashboardview9?'
,
meta
:
{
caption
:
'entities.contact.views.dashboardview9.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'dashboardview9'
,
parameterName
:
'dashboardview9'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-dashboard-view9/contact-dashboard-view9.vue'
),
},
{
path
:
'campaigns/:campaign?/info_schedule/:info_schedule?'
,
meta
:
{
...
...
@@ -1386,6 +1372,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/base/phone-call-edit-view/phone-call-edit-view.vue'
),
},
{
path
:
'contacts/:contact?/dashboardview/:dashboardview?'
,
meta
:
{
caption
:
'entities.contact.views.dashboardview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'dashboardview'
,
parameterName
:
'dashboardview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-dashboard-view/contact-dashboard-view.vue'
),
},
{
path
:
'tasks/:task?/editview/:editview?'
,
meta
:
{
...
...
@@ -2127,19 +2127,6 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/base/account-grid-view/account-grid-view.vue'
),
},
{
path
:
'/contacts/:contact?/dashboardview9/:dashboardview9?'
,
meta
:
{
caption
:
'entities.contact.views.dashboardview9.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'dashboardview9'
,
parameterName
:
'dashboardview9'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-dashboard-view9/contact-dashboard-view9.vue'
),
},
{
path
:
'/opportunities/:opportunity?/gridview/:gridview?'
,
meta
:
{
...
...
@@ -2166,6 +2153,19 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/base/contact-info-detail/contact-info-detail.vue'
),
},
{
path
:
'/contacts/:contact?/dashboardview/:dashboardview?'
,
meta
:
{
caption
:
'entities.contact.views.dashboardview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'dashboardview'
,
parameterName
:
'dashboardview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-dashboard-view/contact-dashboard-view.vue'
),
},
{
path
:
'/goals/:goal?/gridview/:gridview?'
,
meta
:
{
...
...
app_BusinessCentral/src/store/modules/view-action/state.ts
浏览文件 @
e3b878d0
...
...
@@ -353,16 +353,6 @@ export const viewstate: any = {
'6e18ac74e5685439110f9b4e534ee005'
,
],
},
{
viewtag
:
'5f858bcdc7f62dbe7c0b05a5e3924240'
,
viewmodule
:
'Base'
,
viewname
:
'ContactDashboardView9'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'3cf1d1097fdbdea6d7fb32cf7ff09d04'
,
],
},
{
viewtag
:
'5f8f689d5dccc3db6d2b74a24a8b24ef'
,
viewmodule
:
'Sales'
,
...
...
@@ -382,6 +372,16 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'6168a7e787ead13b1e0f9a55007bc68c'
,
viewmodule
:
'Base'
,
viewname
:
'ContactDashboardView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'3cf1d1097fdbdea6d7fb32cf7ff09d04'
,
],
},
{
viewtag
:
'631a4276161c551802f3aaf4bd7e607c'
,
viewmodule
:
'Sales'
,
...
...
@@ -733,8 +733,12 @@ export const viewstate: any = {
viewdatachange
:
false
,
refviews
:
[
'f63525be2835a01da997d7f059efb09f'
,
'aa79d35850f36fbc1a5085353ecd5af5'
,
'697373026d90700244354625e1d01cc2'
,
'144fa4796e1efccbfeb7f373d4c0bebb'
,
'a95d7d9111bc13a8b73a11ee1e4ff92a'
,
'893e62d6fbdc4580de7e3e802aec9108'
,
'a5213905238dbc5d8e1a505029105cc9'
,
],
},
{
...
...
@@ -929,7 +933,7 @@ export const viewstate: any = {
viewdatachange
:
false
,
refviews
:
[
'60093dd36f07238d7a7e72e9ed372942'
,
'
5f858bcdc7f62dbe7c0b05a5e3924240
'
,
'
6168a7e787ead13b1e0f9a55007bc68c
'
,
],
},
],
...
...
app_BusinessCentral/src/uiservice/contact/contact-ui-service-base.ts
浏览文件 @
e3b878d0
...
...
@@ -81,8 +81,8 @@ export default class ContactUIServiceBase extends UIService {
public
initViewMap
(){
this
.
allViewMap
.
set
(
'MDATAVIEW:'
,{
viewname
:
'gridview'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'info_abstract'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'dashboardview9'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'info_detail'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'dashboardview'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'pickupgridview'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'byaccount'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'info_address'
,
srfappde
:
'contacts'
});
...
...
app_BusinessCentral/src/widgets/activity-pointer/by-parent-key-list/by-parent-key-list-base.vue
浏览文件 @
e3b878d0
...
...
@@ -2,7 +2,7 @@
<div
:class=
"['app-list', this.items.length > 0 ? '' : 'app-list-empty' ]"
>
<div
v-if=
"items.length > 0"
style=
"height:100%;"
>
<div
v-for =
"item in items"
:key=
"item.srfmajortext"
:class=
"['app-list-item',
{'isSelect': item.isselected === true ? true : false}]" @click="handleClick(item)" @dblclick="handleDblClick(item)">
<layout
_dashboard_sysportlet
8_list_itempanel
name=
'dashboard_sysportlet8_list_itempanel'
:inputData=
"item"
:parentRef=
"thisRef"
></layout
_dashboard_sysportlet8
_list_itempanel
>
<layout
_dashboard_sysportlet
4_list_itempanel
name=
'dashboard_sysportlet4_list_itempanel'
:inputData=
"item"
:parentRef=
"thisRef"
></layout
_dashboard_sysportlet4
_list_itempanel
>
</div>
</div>
<div
v-else
>
...
...
@@ -388,7 +388,7 @@ export default class ByParentKeyBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'
Account
Summary视图列表fetchAction参数未配置'
});
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'
Campaign
Summary视图列表fetchAction参数未配置'
});
return
;
}
const
arg
:
any
=
{...
opt
};
...
...
@@ -452,7 +452,7 @@ export default class ByParentKeyBase extends Vue implements ControlInterface {
*/
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'
Account
Summary视图表格removeAction参数未配置'
});
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'
Campaign
Summary视图表格removeAction参数未配置'
});
return
;
}
if
(
datas
.
length
===
0
)
{
...
...
app_BusinessCentral/src/widgets/activity-pointer/by-parent-key-list/by-parent-key-list-model.ts
浏览文件 @
e3b878d0
...
...
@@ -10,7 +10,7 @@ export default class ByParentKeyModel {
* 获取数据项集合
*
* @returns {any[]}
* @memberof ByParentKeyDashboard_sysportlet
8
_listMode
* @memberof ByParentKeyDashboard_sysportlet
4
_listMode
*/
public
getDataItems
():
any
[]
{
return
[
...
...
app_BusinessCentral/src/widgets/activity-pointer/by-parent-key-list/by-parent-key-list.vue
浏览文件 @
e3b878d0
...
...
@@ -2,11 +2,11 @@
import
{
Component
}
from
'vue-property-decorator'
;
import
ByParentKeyBase
from
'./by-parent-key-list-base.vue'
;
import
layout_dashboard_sysportlet
8
_list_itempanel
from
'@widgets/activity-pointer/by-regarding-object-id-panel/by-regarding-object-id-panel.vue'
;
import
layout_dashboard_sysportlet
4
_list_itempanel
from
'@widgets/activity-pointer/by-regarding-object-id-panel/by-regarding-object-id-panel.vue'
;
@
Component
({
components
:
{
layout_dashboard_sysportlet
8
_list_itempanel
,
layout_dashboard_sysportlet
4
_list_itempanel
,
}
})
...
...
app_BusinessCentral/src/widgets/activity-pointer/list-by-parent-key-portlet/list-by-parent-key-portlet-base.vue
浏览文件 @
e3b878d0
...
...
@@ -3,7 +3,7 @@
<p
class=
'portlet-title'
>
<span>
日程安排
活动
</span>
<span
class=
"portlet-action"
>
<a
@
click=
"uiAction('u222531e', $event)"
>
...
...
@@ -26,7 +26,7 @@
</p>
<div
class=
"portlet-with-title"
>
<!-- 测试 -->
<view
_dashboard_sysportlet
8
_list
<view
_dashboard_sysportlet
4
_list
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
...
...
@@ -35,10 +35,10 @@
updateAction=
"Update"
fetchAction=
"FetchByParentKey"
:showBusyIndicator=
"true"
name=
"dashboard_sysportlet
8
_list"
ref=
'dashboard_sysportlet
8
_list'
name=
"dashboard_sysportlet
4
_list"
ref=
'dashboard_sysportlet
4
_list'
@
closeview=
"closeView($event)"
>
</view
_dashboard_sysportlet
8
_list
>
</view
_dashboard_sysportlet
4
_list
>
</div>
</div>
</
template
>
...
...
@@ -151,7 +151,7 @@ export default class ActivityPointerList_ByParentKeyBase extends Vue implements
* @param {*} [$event]
* @memberof
*/
public
dashboard_sysportlet
8
_u222531e_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
public
dashboard_sysportlet
4
_u222531e_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
...
...
@@ -179,7 +179,7 @@ export default class ActivityPointerList_ByParentKeyBase extends Vue implements
* @param {*} [$event]
* @memberof
*/
public
dashboard_sysportlet
8
_ue577d64_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
public
dashboard_sysportlet
4
_ue577d64_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
...
...
@@ -207,7 +207,7 @@ export default class ActivityPointerList_ByParentKeyBase extends Vue implements
* @param {*} [$event]
* @memberof
*/
public
dashboard_sysportlet
8
_u654c060_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
public
dashboard_sysportlet
4
_u654c060_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
...
...
@@ -235,7 +235,7 @@ export default class ActivityPointerList_ByParentKeyBase extends Vue implements
* @param {*} [$event]
* @memberof
*/
public
dashboard_sysportlet
8
_u7019ad0_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
public
dashboard_sysportlet
4
_u7019ad0_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
...
...
@@ -385,16 +385,16 @@ export default class ActivityPointerList_ByParentKeyBase extends Vue implements
*/
public
uiAction
(
tag
:
string
,
event
:
any
){
if
(
Object
.
is
(
tag
,
'u222531e'
)){
this
.
dashboard_sysportlet
8
_u222531e_click
(
null
,
tag
,
event
);
this
.
dashboard_sysportlet
4
_u222531e_click
(
null
,
tag
,
event
);
}
if
(
Object
.
is
(
tag
,
'ue577d64'
)){
this
.
dashboard_sysportlet
8
_ue577d64_click
(
null
,
tag
,
event
);
this
.
dashboard_sysportlet
4
_ue577d64_click
(
null
,
tag
,
event
);
}
if
(
Object
.
is
(
tag
,
'u654c060'
)){
this
.
dashboard_sysportlet
8
_u654c060_click
(
null
,
tag
,
event
);
this
.
dashboard_sysportlet
4
_u654c060_click
(
null
,
tag
,
event
);
}
if
(
Object
.
is
(
tag
,
'u7019ad0'
)){
this
.
dashboard_sysportlet
8
_u7019ad0_click
(
null
,
tag
,
event
);
this
.
dashboard_sysportlet
4
_u7019ad0_click
(
null
,
tag
,
event
);
}
}
...
...
app_BusinessCentral/src/widgets/activity-pointer/list-by-parent-key-portlet/list-by-parent-key-portlet.vue
浏览文件 @
e3b878d0
...
...
@@ -2,12 +2,12 @@
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
ActivityPointerList_ByParentKeyBase
from
'./list-by-parent-key-portlet-base.vue'
;
import
view_dashboard_sysportlet
8
_list
from
'@widgets/activity-pointer/by-parent-key-list/by-parent-key-list.vue'
;
import
view_dashboard_sysportlet
4
_list
from
'@widgets/activity-pointer/by-parent-key-list/by-parent-key-list.vue'
;
@
Component
({
components
:
{
view_dashboard_sysportlet
8
_list
,
view_dashboard_sysportlet
4
_list
,
}
})
...
...
app_BusinessCentral/src/widgets/campaign/summary-dashboard/summary-dashboard-base.vue
浏览文件 @
e3b878d0
...
...
@@ -7,52 +7,93 @@
<i-col
:md=
"
{ span: 24, offset: 0 }">
<card
class=
"portlet-card"
:bordered=
"false"
dis-hover
:padding=
"0"
>
<span>
<div
class=
'portlet-container summarydashboard-container
1
'
:style=
"
{}">
<div
class=
'portlet-container summarydashboard-container
2
'
:style=
"
{}">
<row>
<i-col
:
md=
"
{ span: 24
, offset: 0 }">
<i-col
:
sm=
"
{ span: 18, offset: 0 }" :md="{ span: 18, offset: 0 }" :lg="{ span: 18
, offset: 0 }">
<div
class=
"portlet-without-title"
>
<card
class=
"portlet-card"
:bordered=
"false"
dis-hover
:padding=
"0"
>
<span>
<view
_dashboard_sysportlet1
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
name=
"dashboard_sysportlet1"
ref=
'dashboard_sysportlet1'
@
closeview=
"closeView($event)"
>
</view
_dashboard_sysportlet1
>
<div
class=
'portlet-container summarydashboard-container1 '
:style=
"
{}">
<row>
<i-col
:md=
"
{ span: 24, offset: 0 }">
<div
class=
"portlet-without-title"
>
<card
class=
"portlet-card"
:bordered=
"false"
dis-hover
:padding=
"0"
>
<span>
<view
_dashboard_sysportlet1
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
name=
"dashboard_sysportlet1"
ref=
'dashboard_sysportlet1'
@
closeview=
"closeView($event)"
>
</view
_dashboard_sysportlet1
>
</span>
</card>
</div>
</i-col>
<i-col
:md=
"
{ span: 24, offset: 0 }">
<div
class=
"portlet-without-title"
>
<card
class=
"portlet-card"
:bordered=
"false"
dis-hover
:padding=
"0"
>
<span>
<view
_dashboard_sysportlet2
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
name=
"dashboard_sysportlet2"
ref=
'dashboard_sysportlet2'
@
closeview=
"closeView($event)"
>
</view
_dashboard_sysportlet2
>
</span>
</card>
</div>
</i-col>
<i-col
:md=
"
{ span: 24, offset: 0 }">
<div
class=
"portlet-without-title"
>
<card
class=
"portlet-card"
:bordered=
"false"
dis-hover
:padding=
"0"
>
<span>
<view
_dashboard_sysportlet3
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
name=
"dashboard_sysportlet3"
ref=
'dashboard_sysportlet3'
@
closeview=
"closeView($event)"
>
</view
_dashboard_sysportlet3
>
</span>
</card>
</div>
</i-col>
</row>
</div>
</span>
</card>
</div>
</i-col>
<i-col
:
md=
"
{ span: 24
, offset: 0 }">
<i-col
:
sm=
"
{ span: 6, offset: 0 }" :md="{ span: 6, offset: 0 }" :lg="{ span: 6
, offset: 0 }">
<div
class=
"portlet-without-title"
>
<card
class=
"portlet-card"
:bordered=
"false"
dis-hover
:padding=
"0"
>
<span>
<view
_dashboard_sysportlet2
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
name=
"dashboard_sysportlet2"
ref=
'dashboard_sysportlet2'
@
closeview=
"closeView($event)"
>
</view
_dashboard_sysportlet2
>
</span>
</card>
</div>
</i-col>
<i-col
:md=
"
{ span: 24, offset: 0 }">
<div
class=
"portlet-without-title"
>
<card
class=
"portlet-card"
:bordered=
"false"
dis-hover
:padding=
"0"
>
<span>
<view
_dashboard_sysportlet3
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
name=
"dashboard_sysportlet3"
ref=
'dashboard_sysportlet3'
@
closeview=
"closeView($event)"
>
</view
_dashboard_sysportlet3
>
<div
class=
'portlet-container summarydashboard-container3 '
:style=
"
{}">
<row>
<i-col
:md=
"
{ span: 24, offset: 0 }">
<div
class=
"portlet-without-title"
>
<card
class=
"portlet-card"
:bordered=
"false"
dis-hover
:padding=
"0"
>
<span>
<view
_dashboard_sysportlet4
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:height=
"300"
name=
"dashboard_sysportlet4"
ref=
'dashboard_sysportlet4'
@
closeview=
"closeView($event)"
>
</view
_dashboard_sysportlet4
>
</span>
</card>
</div>
</i-col>
</row>
</div>
</span>
</card>
</div>
...
...
app_BusinessCentral/src/widgets/campaign/summary-dashboard/summary-dashboard.vue
浏览文件 @
e3b878d0
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
SummaryBase
from
'./summary-dashboard-base.vue'
;
import
view_dashboard_sysportlet4
from
'@widgets/activity-pointer/list-by-parent-key-portlet/list-by-parent-key-portlet.vue'
;
import
view_dashboard_sysportlet2
from
'@widgets/campaign/view-schedule-portlet/view-schedule-portlet.vue'
;
import
view_dashboard_sysportlet3
from
'@widgets/campaign/view-manager-portlet/view-manager-portlet.vue'
;
import
view_dashboard_sysportlet1
from
'@widgets/campaign/view-campagin-portlet/view-campagin-portlet.vue'
;
...
...
@@ -8,6 +9,7 @@ import view_dashboard_sysportlet1 from '@widgets/campaign/view-campagin-portlet/
@
Component
({
components
:
{
view_dashboard_sysportlet4
,
view_dashboard_sysportlet2
,
view_dashboard_sysportlet3
,
view_dashboard_sysportlet1
,
...
...
app_BusinessCentral/src/widgets/campaign/summarydashboard-container2-portlet/summarydashboard-container2-portlet.less
0 → 100644
浏览文件 @
e3b878d0
.portlet {
--portlet: 0px;
}
// this is less
app_BusinessCentral/src/widgets/campaign/summarydashboard-container3-portlet/summarydashboard-container3-portlet.less
0 → 100644
浏览文件 @
e3b878d0
.portlet {
--portlet: 0px;
}
// this is less
app_BusinessCentral/src/widgets/contact/con-abs-dashboard/con-abs-dashboard-base.vue
浏览文件 @
e3b878d0
...
...
@@ -7,7 +7,7 @@
<i-col
:md=
"
{ span: 24, offset: 0 }">
<card
class=
"portlet-card"
:bordered=
"false"
dis-hover
:padding=
"0"
>
<span>
<div
class=
'portlet-container dashboard-view
9
dashboard-container1 '
:style=
"
{}">
<div
class=
'portlet-container dashboard-viewdashboard-container1 '
:style=
"
{}">
<row>
<i-col
:md=
"
{ span: 24, offset: 0 }">
<div
class=
"portlet-without-title"
>
...
...
app_BusinessCentral/src/widgets/contact/dashboard-viewdashboard-container1-portlet/dashboard-viewdashboard-container1-portlet.less
0 → 100644
浏览文件 @
e3b878d0
.portlet {
--portlet: 0px;
}
// this is less
app_BusinessCentral/src/widgets/contact/tab-exp-viewtabviewpanel-tabviewpanel/tab-exp-viewtabviewpanel-tabviewpanel-base.vue
浏览文件 @
e3b878d0
<
template
>
<div
class=
'tabviewpanel'
style=
"height:100%;"
v-if =
'isActivied'
>
<contact-dashboard-view
9
<contact-dashboard-view
class=
'viewcontainer2'
:viewdata=
"viewdata"
:viewparam=
"viewparam"
@
viewload=
"viewDatasChange($event)"
:viewDefaultUsage=
"false"
>
</contact-dashboard-view
9
>
</contact-dashboard-view>
</div>
</
template
>
<
script
lang=
'tsx'
>
...
...
businesscentral-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
e3b878d0
...
...
@@ -3182,7 +3182,7 @@
<!--输出实体[CONTACT]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-contact-
97
-43"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-contact-
102
-43"
>
<createTable
tableName=
"CONTACT"
>
<column
name=
"ADDRESS1_FREIGHTTERMSCODE"
remarks=
""
type=
"VARCHAR(30)"
>
</column>
...
...
@@ -11021,22 +11021,22 @@
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"MONTHLYFISCALCALENDAR"
constraintName=
"DER1N_MONTHLYFISCALCALENDAR__T"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
<!--输出实体[CONTACT]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
97
-212"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
102
-212"
>
<addForeignKeyConstraint
baseColumnNames=
"PREFERREDEQUIPMENTID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__EQUIPMENT__PREF"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"EQUIPMENTID"
referencedTableName=
"EQUIPMENT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
97
-213"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
102
-213"
>
<addForeignKeyConstraint
baseColumnNames=
"ORIGINATINGLEADID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__LEAD__ORIGINATI"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"LEADID"
referencedTableName=
"LEAD"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
97
-214"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
102
-214"
>
<addForeignKeyConstraint
baseColumnNames=
"DEFAULTPRICELEVELID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__PRICELEVEL__DEF"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"PRICELEVELID"
referencedTableName=
"PRICELEVEL"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
97
-215"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
102
-215"
>
<addForeignKeyConstraint
baseColumnNames=
"PREFERREDSERVICEID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__SERVICE__PREFER"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SERVICEID"
referencedTableName=
"SERVICE"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
97
-216"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
102
-216"
>
<addForeignKeyConstraint
baseColumnNames=
"SLAID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__SLA__SLAID"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SLAID"
referencedTableName=
"SLA"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
97
-217"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
102
-217"
>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__TRANSACTIONCURR"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
<!--输出实体[TEAM]外键关系 -->
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录