Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
91a54ee8
提交
91a54ee8
编写于
6月 16, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lab_gzf 发布系统代码
上级
3319bc12
变更
7
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
113 行增加
和
51 行删除
+113
-51
opportunity_en_US.ts
...c/locale/lanres/entities/opportunity/opportunity_en_US.ts
+5
-2
opportunity_zh_CN.ts
...c/locale/lanres/entities/opportunity/opportunity_zh_CN.ts
+5
-2
contact-pickup-grid-view-base.vue
...ontact-pickup-grid-view/contact-pickup-grid-view-base.vue
+0
-3
opportunity-grid-view-base.vue
...ales/opportunity-grid-view/opportunity-grid-view-base.vue
+0
-3
main-grid-base.vue
...sCentral/src/widgets/contact/main-grid/main-grid-base.vue
+4
-4
main-grid-base.vue
...tral/src/widgets/opportunity/main-grid/main-grid-base.vue
+71
-24
main-grid-model.ts
...tral/src/widgets/opportunity/main-grid/main-grid-model.ts
+28
-13
未找到文件。
app_BusinessCentral/src/locale/lanres/entities/opportunity/opportunity_en_US.ts
浏览文件 @
91a54ee8
...
@@ -150,8 +150,11 @@ export default {
...
@@ -150,8 +150,11 @@ export default {
main_grid
:
{
main_grid
:
{
columns
:
{
columns
:
{
opportunityname
:
"商机名称"
,
opportunityname
:
"商机名称"
,
updateman
:
"更新人"
,
parentaccountname
:
"帐户"
,
updatedate
:
"更新时间"
,
parentcontactname
:
"联系人"
,
estimatedclosedate
:
"预计结束日期"
,
closeprobability
:
"可能性"
,
estimatedvalue
:
"预计收入"
,
},
},
uiactions
:
{
uiactions
:
{
},
},
...
...
app_BusinessCentral/src/locale/lanres/entities/opportunity/opportunity_zh_CN.ts
浏览文件 @
91a54ee8
...
@@ -149,8 +149,11 @@ export default {
...
@@ -149,8 +149,11 @@ export default {
main_grid
:
{
main_grid
:
{
columns
:
{
columns
:
{
opportunityname
:
'商机名称'
,
opportunityname
:
'商机名称'
,
updateman
:
'更新人'
,
parentaccountname
:
'帐户'
,
updatedate
:
'更新时间'
,
parentcontactname
:
'联系人'
,
estimatedclosedate
:
'预计结束日期'
,
closeprobability
:
'可能性'
,
estimatedvalue
:
'预计收入'
,
},
},
uiactions
:
{
uiactions
:
{
},
},
...
...
app_BusinessCentral/src/pages/base/contact-pickup-grid-view/contact-pickup-grid-view-base.vue
浏览文件 @
91a54ee8
<
template
>
<
template
>
<studio-view
viewName=
"contactpickupgridview"
viewTitle=
"contact选择表格视图"
class=
'depickupgridview contact-pickup-grid-view'
>
<studio-view
viewName=
"contactpickupgridview"
viewTitle=
"contact选择表格视图"
class=
'depickupgridview contact-pickup-grid-view'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{
$t
(
model
.
srfTitle
)
}}
</span>
</
template
>
<template
slot=
"searchForm"
>
<template
slot=
"searchForm"
>
<view
_searchform
<view
_searchform
:viewState=
"viewState"
:viewState=
"viewState"
...
...
app_BusinessCentral/src/pages/sales/opportunity-grid-view/opportunity-grid-view-base.vue
浏览文件 @
91a54ee8
<
template
>
<
template
>
<studio-view
viewName=
"opportunitygridview"
viewTitle=
"opportunity表格视图"
class=
'degridview opportunity-grid-view'
>
<studio-view
viewName=
"opportunitygridview"
viewTitle=
"opportunity表格视图"
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)"
/>
<i-input
slot=
"quickSearch"
v-show=
"!isExpandSearchForm"
v-model=
"query"
search
@
on-search=
"onSearch($event)"
/>
<template
slot=
"toolbar"
>
<template
slot=
"toolbar"
>
<div
class=
'toolbar-container'
>
<div
class=
'toolbar-container'
>
...
...
app_BusinessCentral/src/widgets/contact/main-grid/main-grid-base.vue
浏览文件 @
91a54ee8
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
</el-table-column>
</el-table-column>
</template>
</template>
<
template
v-if=
"getColumnState('emailaddress1')"
>
<
template
v-if=
"getColumnState('emailaddress1')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'emailaddress1'"
:label=
"$t('entities.contact.main_grid.columns.emailaddress1')"
:width=
"1
0
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<el-table-column
show-overflow-tooltip
:prop=
"'emailaddress1'"
:label=
"$t('entities.contact.main_grid.columns.emailaddress1')"
:width=
"1
5
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"
{column}">
<template
v-slot:header=
"
{column}">
<span
class=
"column-header "
>
<span
class=
"column-header "
>
{{
$t
(
'entities.contact.main_grid.columns.emailaddress1'
)
}}
{{
$t
(
'entities.contact.main_grid.columns.emailaddress1'
)
}}
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
</el-table-column>
</el-table-column>
</template>
</template>
<
template
v-if=
"getColumnState('parentcustomerid')"
>
<
template
v-if=
"getColumnState('parentcustomerid')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'parentcustomerid'"
:label=
"$t('entities.contact.main_grid.columns.parentcustomerid')"
:width=
"100"
:align=
"'left'"
:sortable=
"'custom'"
>
<el-table-column
show-overflow-tooltip
:prop=
"'parentcustomerid'"
:label=
"$t('entities.contact.main_grid.columns.parentcustomerid')"
:
min-
width=
"100"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"
{column}">
<template
v-slot:header=
"
{column}">
<span
class=
"column-header "
>
<span
class=
"column-header "
>
{{
$t
(
'entities.contact.main_grid.columns.parentcustomerid'
)
}}
{{
$t
(
'entities.contact.main_grid.columns.parentcustomerid'
)
}}
...
@@ -60,7 +60,7 @@
...
@@ -60,7 +60,7 @@
</el-table-column>
</el-table-column>
</template>
</template>
<
template
v-if=
"getColumnState('telephone1')"
>
<
template
v-if=
"getColumnState('telephone1')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'telephone1'"
:label=
"$t('entities.contact.main_grid.columns.telephone1')"
:width=
"1
0
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<el-table-column
show-overflow-tooltip
:prop=
"'telephone1'"
:label=
"$t('entities.contact.main_grid.columns.telephone1')"
:width=
"1
2
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"
{column}">
<template
v-slot:header=
"
{column}">
<span
class=
"column-header "
>
<span
class=
"column-header "
>
{{
$t
(
'entities.contact.main_grid.columns.telephone1'
)
}}
{{
$t
(
'entities.contact.main_grid.columns.telephone1'
)
}}
...
@@ -553,7 +553,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -553,7 +553,7 @@ export default class MainBase extends Vue implements ControlInterface {
label
:
'公司名称'
,
label
:
'公司名称'
,
langtag
:
'entities.contact.main_grid.columns.parentcustomerid'
,
langtag
:
'entities.contact.main_grid.columns.parentcustomerid'
,
show
:
true
,
show
:
true
,
util
:
'
PX
'
util
:
'
STAR
'
},
},
{
{
name
:
'telephone1'
,
name
:
'telephone1'
,
...
...
app_BusinessCentral/src/widgets/opportunity/main-grid/main-grid-base.vue
浏览文件 @
91a54ee8
...
@@ -35,29 +35,63 @@
...
@@ -35,29 +35,63 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</template>
</template>
<
template
v-if=
"getColumnState('
updateman
')"
>
<
template
v-if=
"getColumnState('
parentaccountname
')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'
updateman'"
:label=
"$t('entities.opportunity.main_grid.columns.updateman')"
:width=
"15
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<el-table-column
show-overflow-tooltip
:prop=
"'
parentaccountname'"
:label=
"$t('entities.opportunity.main_grid.columns.parentaccountname')"
:width=
"10
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"
{column}">
<template
v-slot:header=
"
{column}">
<span
class=
"column-header "
>
<span
class=
"column-header "
>
{{
$t
(
'entities.opportunity.main_grid.columns.
updateman
'
)
}}
{{
$t
(
'entities.opportunity.main_grid.columns.
parentaccountname
'
)
}}
</span>
</span>
</
template
>
</
template
>
<
template
v-slot=
"{row,column,$index}"
>
<
template
v-slot=
"{row,column,$index}"
>
<template
>
<span>
{{
row
.
parentaccountname
}}
</span>
<codelist
:value=
"row.updateman"
tag=
'SysOperator'
codelistType=
'DYNAMIC'
></codelist>
</
template
>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</template>
</template>
<
template
v-if=
"getColumnState('
updatedat
e')"
>
<
template
v-if=
"getColumnState('
parentcontactnam
e')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'
updatedate'"
:label=
"$t('entities.opportunity.main_grid.columns.updatedate')"
:width=
"15
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<el-table-column
show-overflow-tooltip
:prop=
"'
parentcontactname'"
:label=
"$t('entities.opportunity.main_grid.columns.parentcontactname')"
:width=
"10
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"
{column}">
<template
v-slot:header=
"
{column}">
<span
class=
"column-header "
>
<span
class=
"column-header "
>
{{
$t
(
'entities.opportunity.main_grid.columns.
updatedat
e'
)
}}
{{
$t
(
'entities.opportunity.main_grid.columns.
parentcontactnam
e'
)
}}
</span>
</span>
</
template
>
</
template
>
<
template
v-slot=
"{row,column,$index}"
>
<
template
v-slot=
"{row,column,$index}"
>
<app-format-data
format=
"YYYY-MM-DD hh:mm:ss"
:data=
"row.updatedate"
></app-format-data>
<span>
{{
row
.
parentcontactname
}}
</span>
</
template
>
</el-table-column>
</template>
<
template
v-if=
"getColumnState('estimatedclosedate')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'estimatedclosedate'"
:label=
"$t('entities.opportunity.main_grid.columns.estimatedclosedate')"
:width=
"100"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"
{column}">
<span
class=
"column-header "
>
{{
$t
(
'entities.opportunity.main_grid.columns.estimatedclosedate'
)
}}
</span>
</
template
>
<
template
v-slot=
"{row,column,$index}"
>
<app-format-data
format=
"YYYY-MM-DD hh:mm:ss"
:data=
"row.estimatedclosedate"
></app-format-data>
</
template
>
</el-table-column>
</template>
<
template
v-if=
"getColumnState('closeprobability')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'closeprobability'"
:label=
"$t('entities.opportunity.main_grid.columns.closeprobability')"
:width=
"100"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"
{column}">
<span
class=
"column-header "
>
{{
$t
(
'entities.opportunity.main_grid.columns.closeprobability'
)
}}
</span>
</
template
>
<
template
v-slot=
"{row,column,$index}"
>
<span>
{{
row
.
closeprobability
}}
</span>
</
template
>
</el-table-column>
</template>
<
template
v-if=
"getColumnState('estimatedvalue')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'estimatedvalue'"
:label=
"$t('entities.opportunity.main_grid.columns.estimatedvalue')"
:width=
"100"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"
{column}">
<span
class=
"column-header "
>
{{
$t
(
'entities.opportunity.main_grid.columns.estimatedvalue'
)
}}
</span>
</
template
>
<
template
v-slot=
"{row,column,$index}"
>
<span>
{{
row
.
estimatedvalue
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</template>
</template>
...
@@ -546,16 +580,37 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -546,16 +580,37 @@ export default class MainBase extends Vue implements ControlInterface {
util
:
'PX'
util
:
'PX'
},
},
{
{
name
:
'updateman'
,
name
:
'parentaccountname'
,
label
:
'更新人'
,
label
:
'帐户'
,
langtag
:
'entities.opportunity.main_grid.columns.updateman'
,
langtag
:
'entities.opportunity.main_grid.columns.parentaccountname'
,
show
:
true
,
util
:
'PX'
},
{
name
:
'parentcontactname'
,
label
:
'联系人'
,
langtag
:
'entities.opportunity.main_grid.columns.parentcontactname'
,
show
:
true
,
util
:
'PX'
},
{
name
:
'estimatedclosedate'
,
label
:
'预计结束日期'
,
langtag
:
'entities.opportunity.main_grid.columns.estimatedclosedate'
,
show
:
true
,
util
:
'PX'
},
{
name
:
'closeprobability'
,
label
:
'可能性'
,
langtag
:
'entities.opportunity.main_grid.columns.closeprobability'
,
show
:
true
,
show
:
true
,
util
:
'PX'
util
:
'PX'
},
},
{
{
name
:
'
updatedat
e'
,
name
:
'
estimatedvalu
e'
,
label
:
'
更新时间
'
,
label
:
'
预计收入
'
,
langtag
:
'entities.opportunity.main_grid.columns.
updatedat
e'
,
langtag
:
'entities.opportunity.main_grid.columns.
estimatedvalu
e'
,
show
:
true
,
show
:
true
,
util
:
'PX'
util
:
'PX'
},
},
...
@@ -946,14 +1001,6 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -946,14 +1001,6 @@ export default class MainBase extends Vue implements ControlInterface {
*/
*/
public
async
formatExcelData
(
filterVal
:
any
,
jsonData
:
any
)
{
public
async
formatExcelData
(
filterVal
:
any
,
jsonData
:
any
)
{
let
codelistColumns
:
Array
<
any
>
=
[
let
codelistColumns
:
Array
<
any
>
=
[
{
name
:
'updateman'
,
srfkey
:
'SysOperator'
,
codelistType
:
'DYNAMIC'
,
renderMode
:
'other'
,
textSeparator
:
'、'
,
valueSeparator
:
','
,
},
];
];
let
_this
=
this
;
let
_this
=
this
;
for
(
const
codelist
of
codelistColumns
)
{
for
(
const
codelist
of
codelistColumns
)
{
...
...
app_BusinessCentral/src/widgets/opportunity/main-grid/main-grid-model.ts
浏览文件 @
91a54ee8
...
@@ -32,15 +32,20 @@ export default class MainModel {
...
@@ -32,15 +32,20 @@ export default class MainModel {
dataType
:
'PICKUP'
,
dataType
:
'PICKUP'
,
},
},
{
{
name
:
'
updateman
'
,
name
:
'
closeprobability
'
,
prop
:
'
updateman
'
,
prop
:
'
closeprobability
'
,
dataType
:
'
TEX
T'
,
dataType
:
'
IN
T'
,
},
},
{
{
name
:
'transactioncurrencyid'
,
name
:
'transactioncurrencyid'
,
prop
:
'transactioncurrencyid'
,
prop
:
'transactioncurrencyid'
,
dataType
:
'PICKUP'
,
dataType
:
'PICKUP'
,
},
},
{
name
:
'parentaccountname'
,
prop
:
'parentaccountname'
,
dataType
:
'PICKUPTEXT'
,
},
{
{
name
:
'slaid'
,
name
:
'slaid'
,
prop
:
'slaid'
,
prop
:
'slaid'
,
...
@@ -62,9 +67,14 @@ export default class MainModel {
...
@@ -62,9 +67,14 @@ export default class MainModel {
dataType
:
'GUID'
,
dataType
:
'GUID'
,
},
},
{
{
name
:
'parentaccountid'
,
name
:
'parentcontactname'
,
prop
:
'parentaccountid'
,
prop
:
'parentcontactname'
,
dataType
:
'PICKUP'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'estimatedvalue'
,
prop
:
'estimatedvalue'
,
dataType
:
'BIGDECIMAL'
,
},
},
{
{
name
:
'originatingleadid'
,
name
:
'originatingleadid'
,
...
@@ -72,8 +82,13 @@ export default class MainModel {
...
@@ -72,8 +82,13 @@ export default class MainModel {
dataType
:
'PICKUP'
,
dataType
:
'PICKUP'
,
},
},
{
{
name
:
'updatedate'
,
name
:
'parentaccountid'
,
prop
:
'updatedate'
,
prop
:
'parentaccountid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'estimatedclosedate'
,
prop
:
'estimatedclosedate'
,
dataType
:
'DATETIME'
,
dataType
:
'DATETIME'
,
},
},
{
{
...
@@ -81,16 +96,16 @@ export default class MainModel {
...
@@ -81,16 +96,16 @@ export default class MainModel {
prop
:
'campaignid'
,
prop
:
'campaignid'
,
dataType
:
'PICKUP'
,
dataType
:
'PICKUP'
,
},
},
{
name
:
'opportunityname'
,
prop
:
'opportunityname'
,
dataType
:
'TEXT'
,
},
{
{
name
:
'pricelevelid'
,
name
:
'pricelevelid'
,
prop
:
'pricelevelid'
,
prop
:
'pricelevelid'
,
dataType
:
'PICKUP'
,
dataType
:
'PICKUP'
,
},
},
{
name
:
'opportunityname'
,
prop
:
'opportunityname'
,
dataType
:
'TEXT'
,
},
{
{
name
:
'opportunity'
,
name
:
'opportunity'
,
prop
:
'opportunityid'
,
prop
:
'opportunityid'
,
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录