Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
f8337624
提交
f8337624
编写于
6月 30, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
057f18e8
变更
8
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
845 行增加
和
92 行删除
+845
-92
opportunity-grid-view-base.tsx
...ales/opportunity-grid-view/opportunity-grid-view-base.tsx
+671
-0
opportunity-grid-view.html
...es/sales/opportunity-grid-view/opportunity-grid-view.html
+52
-0
opportunity-grid-view.vue
...ges/sales/opportunity-grid-view/opportunity-grid-view.vue
+29
-0
page-register.ts
app_CRM/src/pages/ungroup/central/page-register.ts
+2
-2
router.ts
app_CRM/src/pages/ungroup/central/router.ts
+74
-74
state.ts
app_CRM/src/store/modules/view-action/state.ts
+12
-11
central-appmenu-base.tsx
.../src/widgets/app/central-appmenu/central-appmenu-base.tsx
+1
-1
central-appmenu-model.ts
.../src/widgets/app/central-appmenu/central-appmenu-model.ts
+4
-4
未找到文件。
app_CRM/src/pages/sales/opportunity-grid-view/opportunity-grid-view-base.tsx
0 → 100644
浏览文件 @
f8337624
此差异已折叠。
点击以展开。
app_CRM/src/pages/sales/opportunity-grid-view/opportunity-grid-view.html
0 → 100644
浏览文件 @
f8337624
<studio-view-style2
viewName=
"opportunitygridview"
viewTitle=
"商机表格视图"
class=
'degridview opportunity-grid-view'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{$t(model.srfTitle)}}
</span>
</template>
<i-input
slot=
"quickSearch"
v-show=
"!isExpandSearchForm"
v-model=
"query"
search
@
on-search=
"onSearch($event)"
/>
<template
slot=
"toolbar"
>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click($event)"
/>
</template>
<template
slot=
"searchForm"
>
<view
_searchform
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:showBusyIndicator=
"true"
v-show=
"isExpandSearchForm"
loaddraftAction=
"FilterGetDraft"
loadAction=
"FilterGet"
name=
"searchform"
ref=
'searchform'
@
save=
"searchform_save($event)"
@
search=
"searchform_search($event)"
@
load=
"searchform_load($event)"
@
closeview=
"closeView($event)"
>
</view
_searchform
>
</template>
<view
_grid
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:isSingleSelect=
"isSingleSelect"
:showBusyIndicator=
"true"
:isOpenEdit=
"false"
:gridRowActiveMode=
"gridRowActiveMode"
@
save=
"onSave"
updateAction=
""
removeAction=
"Remove"
loaddraftAction=
""
loadAction=
""
createAction=
""
fetchAction=
"FetchDefault"
:newdata=
"newdata"
:opendata=
"opendata"
name=
"grid"
ref=
'grid'
@
selectionchange=
"grid_selectionchange($event)"
@
beforeload=
"grid_beforeload($event)"
@
rowdblclick=
"grid_rowdblclick($event)"
@
remove=
"grid_remove($event)"
@
load=
"grid_load($event)"
@
closeview=
"closeView($event)"
>
</view
_grid
>
</studio-view-style2>
\ No newline at end of file
app_CRM/src/pages/sales/opportunity-grid-view/opportunity-grid-view.vue
0 → 100644
浏览文件 @
f8337624
<
template
src=
"./opportunity-grid-view.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { OpportunityGridViewBase } from './opportunity-grid-view-base';
import view_grid from '@widgets/opportunity/main-grid/main-grid.vue';
import view_searchform from '@widgets/opportunity/default-searchform/default-searchform.vue';
/**
* 商机表格视图视图
*
* @export
* @class OpportunityGridView
* @extends {OpportunityGridViewBase}
*/
@Component({
components: {
view_grid,
view_searchform,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$store.commit('addCurPageViewtag', { route: to, viewtag: vm.viewtag });
});
}
})
@VueLifeCycleProcessing()
export default class OpportunityGridView extends OpportunityGridViewBase { }
</script>
app_CRM/src/pages/ungroup/central/page-register.ts
浏览文件 @
f8337624
...
...
@@ -16,13 +16,14 @@ export const PageComponents = {
Vue
.
component
(
'task-quick-create'
,
()
=>
import
(
'@pages/base/task-quick-create/task-quick-create.vue'
));
Vue
.
component
(
'opportunity-quick-create'
,
()
=>
import
(
'@pages/sales/opportunity-quick-create/opportunity-quick-create.vue'
));
Vue
.
component
(
'opportunity-info-product'
,
()
=>
import
(
'@pages/sales/opportunity-info-product/opportunity-info-product.vue'
));
Vue
.
component
(
'contact-info-person'
,
()
=>
import
(
'@pages/base/contact-info-person/contact-info-person.vue'
));
Vue
.
component
(
'invoice-quick-create-view'
,
()
=>
import
(
'@pages/finance/invoice-quick-create-view/invoice-quick-create-view.vue'
));
Vue
.
component
(
'opportunity-competitor-opp-comp-grid-view'
,
()
=>
import
(
'@pages/sales/opportunity-competitor-opp-comp-grid-view/opportunity-competitor-opp-comp-grid-view.vue'
));
Vue
.
component
(
'contact-info-person'
,
()
=>
import
(
'@pages/base/contact-info-person/contact-info-person.vue'
));
Vue
.
component
(
'campaign-info-schedule'
,
()
=>
import
(
'@pages/marketing/campaign-info-schedule/campaign-info-schedule.vue'
));
Vue
.
component
(
'lead-con-lead-grid-view'
,
()
=>
import
(
'@pages/sales/lead-con-lead-grid-view/lead-con-lead-grid-view.vue'
));
Vue
.
component
(
'sales-order-info-view'
,
()
=>
import
(
'@pages/sales/sales-order-info-view/sales-order-info-view.vue'
));
Vue
.
component
(
'sales-order-detail-edit-view'
,
()
=>
import
(
'@pages/sales/sales-order-detail-edit-view/sales-order-detail-edit-view.vue'
));
Vue
.
component
(
'opportunity-grid-view'
,
()
=>
import
(
'@pages/sales/opportunity-grid-view/opportunity-grid-view.vue'
));
Vue
.
component
(
'letter-edit-view'
,
()
=>
import
(
'@pages/base/letter-edit-view/letter-edit-view.vue'
));
Vue
.
component
(
'goal-edit-view'
,
()
=>
import
(
'@pages/sales/goal-edit-view/goal-edit-view.vue'
));
Vue
.
component
(
'transaction-currency-pickup-view'
,
()
=>
import
(
'@pages/base/transaction-currency-pickup-view/transaction-currency-pickup-view.vue'
));
...
...
@@ -106,7 +107,6 @@ export const PageComponents = {
Vue
.
component
(
'quote-opp-qua-grid-view'
,
()
=>
import
(
'@pages/sales/quote-opp-qua-grid-view/quote-opp-qua-grid-view.vue'
));
Vue
.
component
(
'invoice-info-view'
,
()
=>
import
(
'@pages/finance/invoice-info-view/invoice-info-view.vue'
));
Vue
.
component
(
'contact-by-account'
,
()
=>
import
(
'@pages/base/contact-by-account/contact-by-account.vue'
));
Vue
.
component
(
'opportunity-list-exp-view'
,
()
=>
import
(
'@pages/sales/opportunity-list-exp-view/opportunity-list-exp-view.vue'
));
Vue
.
component
(
'opportunity-opp-pro-dashboard-view'
,
()
=>
import
(
'@pages/sales/opportunity-opp-pro-dashboard-view/opportunity-opp-pro-dashboard-view.vue'
));
Vue
.
component
(
'sales-literature-edit-view'
,
()
=>
import
(
'@pages/sales/sales-literature-edit-view/sales-literature-edit-view.vue'
));
Vue
.
component
(
'ibiz-list-summary'
,
()
=>
import
(
'@pages/marketing/ibiz-list-summary/ibiz-list-summary.vue'
));
...
...
app_CRM/src/pages/ungroup/central/router.ts
浏览文件 @
f8337624
...
...
@@ -459,6 +459,35 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sales/opportunity-info-product/opportunity-info-product.vue'
),
},
{
path
:
'accounts/:account?/contacts/:contact?/info_person/:info_person?'
,
meta
:
{
caption
:
'entities.contact.views.info_person.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'info_person'
,
parameterName
:
'info_person'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-info-person/contact-info-person.vue'
),
},
{
path
:
'contacts/:contact?/info_person/:info_person?'
,
meta
:
{
caption
:
'entities.contact.views.info_person.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'info_person'
,
parameterName
:
'info_person'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-info-person/contact-info-person.vue'
),
},
{
path
:
'invoices/:invoice?/quickcreateview/:quickcreateview?'
,
meta
:
{
...
...
@@ -550,35 +579,6 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sales/opportunity-competitor-opp-comp-grid-view/opportunity-competitor-opp-comp-grid-view.vue'
),
},
{
path
:
'accounts/:account?/contacts/:contact?/info_person/:info_person?'
,
meta
:
{
caption
:
'entities.contact.views.info_person.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'info_person'
,
parameterName
:
'info_person'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-info-person/contact-info-person.vue'
),
},
{
path
:
'contacts/:contact?/info_person/:info_person?'
,
meta
:
{
caption
:
'entities.contact.views.info_person.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'info_person'
,
parameterName
:
'info_person'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-info-person/contact-info-person.vue'
),
},
{
path
:
'campaigns/:campaign?/info_schedule/:info_schedule?'
,
meta
:
{
...
...
@@ -696,6 +696,51 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sales/sales-order-detail-edit-view/sales-order-detail-edit-view.vue'
),
},
{
path
:
'accounts/:account?/contacts/:contact?/opportunities/:opportunity?/gridview/:gridview?'
,
meta
:
{
caption
:
'entities.opportunity.views.gridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'opportunities'
,
parameterName
:
'opportunity'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sales/opportunity-grid-view/opportunity-grid-view.vue'
),
},
{
path
:
'contacts/:contact?/opportunities/:opportunity?/gridview/:gridview?'
,
meta
:
{
caption
:
'entities.opportunity.views.gridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'opportunities'
,
parameterName
:
'opportunity'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sales/opportunity-grid-view/opportunity-grid-view.vue'
),
},
{
path
:
'opportunities/:opportunity?/gridview/:gridview?'
,
meta
:
{
caption
:
'entities.opportunity.views.gridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'opportunities'
,
parameterName
:
'opportunity'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sales/opportunity-grid-view/opportunity-grid-view.vue'
),
},
{
path
:
'letters/:letter?/editview/:editview?'
,
meta
:
{
...
...
@@ -3204,51 +3249,6 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/base/contact-by-account/contact-by-account.vue'
),
},
{
path
:
'accounts/:account?/contacts/:contact?/opportunities/:opportunity?/listexpview/:listexpview?'
,
meta
:
{
caption
:
'entities.opportunity.views.listexpview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'opportunities'
,
parameterName
:
'opportunity'
},
{
pathName
:
'listexpview'
,
parameterName
:
'listexpview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sales/opportunity-list-exp-view/opportunity-list-exp-view.vue'
),
},
{
path
:
'contacts/:contact?/opportunities/:opportunity?/listexpview/:listexpview?'
,
meta
:
{
caption
:
'entities.opportunity.views.listexpview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'opportunities'
,
parameterName
:
'opportunity'
},
{
pathName
:
'listexpview'
,
parameterName
:
'listexpview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sales/opportunity-list-exp-view/opportunity-list-exp-view.vue'
),
},
{
path
:
'opportunities/:opportunity?/listexpview/:listexpview?'
,
meta
:
{
caption
:
'entities.opportunity.views.listexpview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'opportunities'
,
parameterName
:
'opportunity'
},
{
pathName
:
'listexpview'
,
parameterName
:
'listexpview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sales/opportunity-list-exp-view/opportunity-list-exp-view.vue'
),
},
{
path
:
'accounts/:account?/contacts/:contact?/opportunities/:opportunity?/oppprodashboardview/:oppprodashboardview?'
,
meta
:
{
...
...
app_CRM/src/store/modules/view-action/state.ts
浏览文件 @
f8337624
...
...
@@ -611,6 +611,17 @@ export const viewstate: any = {
'c420212fae385872d6ae89e3d237350a'
,
],
},
{
viewtag
:
'5f8f689d5dccc3db6d2b74a24a8b24ef'
,
viewmodule
:
'Sales'
,
viewname
:
'OpportunityGridView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'8bfcd7acdd1f36afc1714f1071671f2c'
,
'a243cd62accb02ceba4fb128703128f0'
,
],
},
{
viewtag
:
'615ceb2945e3cfe7404850aeadae188d'
,
viewmodule
:
'Base'
,
...
...
@@ -902,8 +913,8 @@ export const viewstate: any = {
'07c5035fbb847e889f3dbb9657723f30'
,
'24a93674ec4c976c08902a3e95421ca6'
,
'6978259896338a7ace85a9fbc5d70395'
,
'9f92696f8eeec188f5ea674b925df275'
,
'b38bc0256ecd5be1a58a3c2210a98d05'
,
'5f8f689d5dccc3db6d2b74a24a8b24ef'
,
'dfc0051ae4813115e03f3d095f8cd7d3'
,
'631a4276161c551802f3aaf4bd7e607c'
,
'15d12c1173fcb6e742b6a6d92cbc53ed'
,
...
...
@@ -1067,16 +1078,6 @@ export const viewstate: any = {
'a5213905238dbc5d8e1a505029105cc9'
,
],
},
{
viewtag
:
'9f92696f8eeec188f5ea674b925df275'
,
viewmodule
:
'Sales'
,
viewname
:
'OpportunityListExpView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'8bfcd7acdd1f36afc1714f1071671f2c'
,
],
},
{
viewtag
:
'a0baf844a4d48914ee2623448b1a73fb'
,
viewmodule
:
'Marketing'
,
...
...
app_CRM/src/widgets/app/central-appmenu/central-appmenu-base.tsx
浏览文件 @
f8337624
...
...
@@ -261,7 +261,7 @@ export class CentralBase extends Vue {
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'opportunities'
,
parameterName
:
'opportunity'
},
{
pathName
:
'
listexpview'
,
parameterName
:
'listexp
view'
},
{
pathName
:
'
gridview'
,
parameterName
:
'grid
view'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
this
.
$router
.
push
(
path
);
...
...
app_CRM/src/widgets/app/central-appmenu/central-appmenu-model.ts
浏览文件 @
f8337624
...
...
@@ -349,7 +349,7 @@ export default class CentralModel {
textcls
:
''
,
appfunctag
:
'Auto10'
,
appfuncyype
:
'APPVIEW'
,
viewname
:
'opportunity-
list-exp
-view'
,
viewname
:
'opportunity-
grid
-view'
,
resourcetag
:
''
,
}
,
...
...
@@ -901,12 +901,12 @@ export default class CentralModel {
appfunctag
:
'Auto10'
,
appfuncyype
:
'APPVIEW'
,
openmode
:
''
,
codename
:
'opportunity
listexp
view'
,
codename
:
'opportunity
grid
view'
,
deResParameters
:
[],
routepath
:
'/central/:central?/opportunities/:opportunity?/
listexpview/:listexp
view?'
,
routepath
:
'/central/:central?/opportunities/:opportunity?/
gridview/:grid
view?'
,
parameters
:
[
{
pathName
:
'opportunities'
,
parameterName
:
'opportunity'
},
{
pathName
:
'
listexpview'
,
parameterName
:
'listexp
view'
},
{
pathName
:
'
gridview'
,
parameterName
:
'grid
view'
},
],
},
{
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录