Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
f20a6d3b
提交
f20a6d3b
编写于
7月 07, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
deb96ce4
变更
17
展开全部
显示空白字符变更
内嵌
并排
正在显示
17 个修改的文件
包含
1627 行增加
和
2 行删除
+1627
-2
view-config.json
app_CRM/public/assets/json/view-config.json
+10
-0
account_en_US.ts
app_CRM/src/locale/lanres/entities/account/account_en_US.ts
+6
-0
account_zh_CN.ts
app_CRM/src/locale/lanres/entities/account/account_zh_CN.ts
+13
-0
viewconfig.ts
app_CRM/src/mock/viewconfig/viewconfig.ts
+8
-0
account-tree-grid-ex-view-base.tsx
...ount-tree-grid-ex-view/account-tree-grid-ex-view-base.tsx
+89
-0
account-tree-grid-ex-view.html
.../account-tree-grid-ex-view/account-tree-grid-ex-view.html
+16
-0
account-tree-grid-ex-view.vue
...e/account-tree-grid-ex-view/account-tree-grid-ex-view.vue
+22
-0
page-register.ts
app_CRM/src/pages/ungroup/central/page-register.ts
+1
-0
router.ts
app_CRM/src/pages/ungroup/central/router.ts
+14
-0
state.ts
app_CRM/src/store/modules/view-action/state.ts
+11
-1
account-ui-service-base.ts
app_CRM/src/uiservice/account/account-ui-service-base.ts
+1
-0
gradation-treegridex-base.tsx
...ccount/gradation-treegridex/gradation-treegridex-base.tsx
+529
-0
gradation-treegridex-model.ts
...ccount/gradation-treegridex/gradation-treegridex-model.ts
+69
-0
gradation-treegridex-service.ts
...ount/gradation-treegridex/gradation-treegridex-service.ts
+802
-0
gradation-treegridex.html
...ts/account/gradation-treegridex/gradation-treegridex.html
+13
-0
gradation-treegridex.vue
...ets/account/gradation-treegridex/gradation-treegridex.vue
+22
-0
status-tab-viewtabviewpanel-tabviewpanel.html
...abviewpanel/status-tab-viewtabviewpanel-tabviewpanel.html
+1
-1
未找到文件。
app_CRM/public/assets/json/view-config.json
浏览文件 @
f20a6d3b
...
...
@@ -1249,6 +1249,16 @@
"viewtag"
:
"7FCD2E75-E34A-493C-922E-8AE47BCE08CA"
,
"memo"
:
""
},
"accounttreegridexview"
:
{
"title"
:
"客户树表格视图"
,
"caption"
:
"客户"
,
"viewtype"
:
"DETREEGRIDEXVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"AccountTreeGridExView"
,
"viewfilename"
:
"account-tree-grid-ex-view"
,
"viewtag"
:
"8199e26c05058f9a505c39d85fcf1d46"
,
"memo"
:
""
},
"campaignquickcreateview"
:
{
"title"
:
"快速新建"
,
"caption"
:
"市场活动"
,
...
...
app_CRM/src/locale/lanres/entities/account/account_en_US.ts
浏览文件 @
f20a6d3b
...
...
@@ -222,6 +222,10 @@ export default {
caption
:
"客户"
,
title
:
"客户编辑视图"
,
},
treegridexview
:
{
caption
:
"客户"
,
title
:
"客户树表格视图"
,
},
edit_introduction
:
{
caption
:
"简介信息"
,
title
:
"简介信息"
,
...
...
@@ -730,6 +734,8 @@ export default {
tip
:
"关闭"
,
},
},
treegridexviewtoolbar_toolbar
:
{
},
usablegridviewtoolbar_toolbar
:
{
tbitem1_openquickcreateview
:
{
caption
:
"新建"
,
...
...
app_CRM/src/locale/lanres/entities/account/account_zh_CN.ts
浏览文件 @
f20a6d3b
...
...
@@ -221,6 +221,10 @@ export default {
caption
:
"客户"
,
title
:
"客户编辑视图"
,
},
treegridexview
:
{
caption
:
"客户"
,
title
:
"客户树表格视图"
,
},
edit_introduction
:
{
caption
:
"简介信息"
,
title
:
"简介信息"
,
...
...
@@ -729,6 +733,8 @@ export default {
tip
:
"关闭"
,
},
},
treegridexviewtoolbar_toolbar
:
{
},
usablegridviewtoolbar_toolbar
:
{
tbitem1_openquickcreateview
:
{
caption
:
"新建"
,
...
...
@@ -839,4 +845,11 @@ export default {
account_remove
:
"删除"
,
},
},
gradation_treegridex
:
{
uiactions
:
{
account_openmaineditview
:
"编辑"
,
account_inactive
:
"停用"
,
account_remove
:
"删除"
,
},
},
};
\ No newline at end of file
app_CRM/src/mock/viewconfig/viewconfig.ts
浏览文件 @
f20a6d3b
...
...
@@ -1007,6 +1007,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"CenteralPortal"
,
"viewtag"
:
"7FCD2E75-E34A-493C-922E-8AE47BCE08CA"
},
"accounttreegridexview"
:
{
"title"
:
"客户树表格视图"
,
"caption"
:
"客户"
,
"viewtype"
:
"DETREEGRIDEXVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"AccountTreeGridExView"
,
"viewtag"
:
"8199e26c05058f9a505c39d85fcf1d46"
},
"campaignquickcreateview"
:
{
"title"
:
"快速新建"
,
"caption"
:
"市场活动"
,
...
...
app_CRM/src/pages/base/account-tree-grid-ex-view/account-tree-grid-ex-view-base.tsx
0 → 100644
浏览文件 @
f20a6d3b
import
{
Subject
}
from
'rxjs'
;
import
{
TreeGridExViewBase
}
from
'@/studio-core'
;
import
AccountService
from
'@/service/account/account-service'
;
/**
* 客户树表格视图视图基类
*
* @export
* @class AccountTreeGridExViewBase
* @extends {TreeGridExViewBase}
*/
export
class
AccountTreeGridExViewBase
extends
TreeGridExViewBase
{
/**
* 实体服务对象
*
* @type {AccountService}
* @memberof AccountTreeGridExViewBase
*/
protected
appEntityService
:
AccountService
=
new
AccountService
;
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof AccountTreeGridExViewBase
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof AccountTreeGridExViewBase
*/
protected
model
:
any
=
{
srfCaption
:
'entities.account.views.treegridexview.caption'
,
srfTitle
:
'entities.account.views.treegridexview.title'
,
srfSubTitle
:
'entities.account.views.treegridexview.subtitle'
,
dataInfo
:
''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof AccountTreeGridExViewBase
*/
protected
containerModel
:
any
=
{
view_toolbar
:
{
name
:
'toolbar'
,
type
:
'TOOLBAR'
},
view_treegridex
:
{
name
:
'treegridex'
,
type
:
'TREEGRIDEX'
},
};
/**
* 工具栏模型
*
* @type {*}
* @memberof AccountTreeGridExView
*/
public
toolBarModels
:
any
=
{
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected
viewtag
:
string
=
'8199e26c05058f9a505c39d85fcf1d46'
;
/**
* 引擎初始化
*
* @public
* @memberof AccountTreeGridExViewBase
*/
public
engineInit
():
void
{
}
}
\ No newline at end of file
app_CRM/src/pages/base/account-tree-grid-ex-view/account-tree-grid-ex-view.html
0 → 100644
浏览文件 @
f20a6d3b
<studio-view-style2
viewName=
"accounttreegridexview"
viewTitle=
"客户树表格视图"
class=
'detreegridexview account-tree-grid-ex-view'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{$t(model.srfTitle)}}
</span>
</template>
<template
slot=
"toolbar"
>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click($event)"
/>
</template>
<view
_treegridex
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:showBusyIndicator=
"true"
name=
"treegridex"
ref=
'treegridex'
@
closeview=
"closeView($event)"
>
</view
_treegridex
>
</studio-view-style2>
\ No newline at end of file
app_CRM/src/pages/base/account-tree-grid-ex-view/account-tree-grid-ex-view.vue
0 → 100644
浏览文件 @
f20a6d3b
<
template
src=
"./account-tree-grid-ex-view.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { AccountTreeGridExViewBase } from './account-tree-grid-ex-view-base';
import view_treegridex from '@widgets/account/gradation-treegridex/gradation-treegridex.vue';
/**
* 客户树表格视图视图
*
* @export
* @class AccountTreeGridExView
* @extends {AccountTreeGridExViewBase}
*/
@Component({
components: {
view_treegridex,
}
})
@VueLifeCycleProcessing()
export default class AccountTreeGridExView extends AccountTreeGridExViewBase { }
</script>
app_CRM/src/pages/ungroup/central/page-register.ts
浏览文件 @
f20a6d3b
...
...
@@ -152,6 +152,7 @@ export const PageComponents = {
Vue
.
component
(
'sales-order-detail-soproduct-grid-view'
,
()
=>
import
(
'@pages/sales/sales-order-detail-soproduct-grid-view/sales-order-detail-soproduct-grid-view.vue'
));
Vue
.
component
(
'account-info-all'
,
()
=>
import
(
'@pages/base/account-info-all/account-info-all.vue'
));
Vue
.
component
(
'opportunity-competitor-edit-view'
,
()
=>
import
(
'@pages/sales/opportunity-competitor-edit-view/opportunity-competitor-edit-view.vue'
));
Vue
.
component
(
'account-tree-grid-ex-view'
,
()
=>
import
(
'@pages/base/account-tree-grid-ex-view/account-tree-grid-ex-view.vue'
));
Vue
.
component
(
'incident-info-incident-view'
,
()
=>
import
(
'@pages/service/incident-info-incident-view/incident-info-incident-view.vue'
));
Vue
.
component
(
'contact-stop-grid-view'
,
()
=>
import
(
'@pages/base/contact-stop-grid-view/contact-stop-grid-view.vue'
));
Vue
.
component
(
'competitor-sales-literature-sal-lit-comp-edit-view'
,
()
=>
import
(
'@pages/sales/competitor-sales-literature-sal-lit-comp-edit-view/competitor-sales-literature-sal-lit-comp-edit-view.vue'
));
...
...
app_CRM/src/pages/ungroup/central/router.ts
浏览文件 @
f20a6d3b
...
...
@@ -4469,6 +4469,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sales/opportunity-competitor-edit-view/opportunity-competitor-edit-view.vue'
),
},
{
path
:
'accounts/:account?/treegridexview/:treegridexview?'
,
meta
:
{
caption
:
'entities.account.views.treegridexview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'treegridexview'
,
parameterName
:
'treegridexview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/account-tree-grid-ex-view/account-tree-grid-ex-view.vue'
),
},
{
path
:
'incidents/:incident?/info_incidentview/:info_incidentview?'
,
meta
:
{
...
...
app_CRM/src/store/modules/view-action/state.ts
浏览文件 @
f20a6d3b
...
...
@@ -331,7 +331,7 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'
5c7e90ccfaeb49b5bd84ae6c17b479e3
'
,
'
8199e26c05058f9a505c39d85fcf1d46
'
,
'6d920bddee09ffdf2e18a0701ab9e9e7'
,
'9433b49c4e43a15dfc8bbd91bdd4c27f'
,
],
...
...
@@ -1092,6 +1092,16 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'8199e26c05058f9a505c39d85fcf1d46'
,
viewmodule
:
'Base'
,
viewname
:
'AccountTreeGridExView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'6e18ac74e5685439110f9b4e534ee005'
,
],
},
{
viewtag
:
'8206069d9567cbc0a06e441869343819'
,
viewmodule
:
'Marketing'
,
...
...
app_CRM/src/uiservice/account/account-ui-service-base.ts
浏览文件 @
f20a6d3b
...
...
@@ -93,6 +93,7 @@ export default class AccountUIServiceBase extends UIService {
this
.
allViewMap
.
set
(
'EDITVIEW:'
,{
viewname
:
'editview'
,
srfappde
:
'accounts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'innerpickupgridview'
,
srfappde
:
'accounts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'info_introduction'
,
srfappde
:
'accounts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'treegridexview'
,
srfappde
:
'accounts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'edit_introduction'
,
srfappde
:
'accounts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'info_address'
,
srfappde
:
'accounts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'stopgridview'
,
srfappde
:
'accounts'
});
...
...
app_CRM/src/widgets/account/gradation-treegridex/gradation-treegridex-base.tsx
0 → 100644
浏览文件 @
f20a6d3b
此差异已折叠。
点击以展开。
app_CRM/src/widgets/account/gradation-treegridex/gradation-treegridex-model.ts
0 → 100644
浏览文件 @
f20a6d3b
/**
* Gradation 部件模型
*
* @export
* @class GradationModel
*/
export
default
class
GradationModel
{
/**
* 日历项类型
*
* @returns {any[]}
* @memberof GradationTreegridexMode
*/
public
itemType
:
string
=
""
;
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof GradationTreegridexMode
*/
public
getDataItems
():
any
[]
{
let
dataItems
:
any
=
[
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name
:
'srffrontuf'
,
prop
:
'srffrontuf'
,
dataType
:
'TEXT'
,
},
{
name
:
'style'
,
},
{
name
:
'textColor'
,
},
{
name
:
'itemType'
,
},
{
name
:
'parentId'
},
{
name
:
'query'
,
prop
:
'query'
,
},
];
switch
(
this
.
itemType
){
case
"RootAccount"
:
dataItems
=
[...
dataItems
,
{
name
:
'id'
,
prop
:
'accountid'
},
];
break
;
case
"ChildAccount"
:
dataItems
=
[...
dataItems
,
{
name
:
'id'
,
prop
:
'accountid'
},
];
break
;
}
return
dataItems
;
}
}
\ No newline at end of file
app_CRM/src/widgets/account/gradation-treegridex/gradation-treegridex-service.ts
0 → 100644
浏览文件 @
f20a6d3b
此差异已折叠。
点击以展开。
app_CRM/src/widgets/account/gradation-treegridex/gradation-treegridex.html
0 → 100644
浏览文件 @
f20a6d3b
<el-table
ref=
"treegridex"
:data=
"items"
row-key=
"id"
border
lazy
height=
"100%"
:row-class-name=
"setRowClass"
:load=
"loadTreeNode.bind(_self)"
:tree-props=
"{ children: 'children', hasChildren: 'leaf' }"
:select-on-indeterminate=
"isSingleSelect"
@
current-change=
"select.apply(_self, arguments)"
>
</el-table>
\ No newline at end of file
app_CRM/src/widgets/account/gradation-treegridex/gradation-treegridex.vue
0 → 100644
浏览文件 @
f20a6d3b
<
template
src=
"./gradation-treegridex.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { GradationTreegridexBase } from './gradation-treegridex-base';
/**
* treegridex部件
*
* @export
* @class GradationTreegridex
* @extends {GradationTreegridexBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class GradationTreegridex extends GradationTreegridexBase { }
</script>
app_CRM/src/widgets/account/status-tab-viewtabviewpanel-tabviewpanel/status-tab-viewtabviewpanel-tabviewpanel.html
浏览文件 @
f20a6d3b
<div
class=
'tabviewpanel'
v-if=
'isActivied'
>
<account-
grid
-view
<account-
tree-grid-ex
-view
class=
'viewcontainer2'
:viewdata=
"viewdata"
:viewparam=
"viewparam"
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录