Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
00cc1aa4
提交
00cc1aa4
编写于
7月 08, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chitanda 发布系统代码
上级
be40cf38
变更
18
隐藏空白字符变更
内嵌
并排
正在显示
18 个修改的文件
包含
0 行增加
和
486 行删除
+0
-486
account-info-base.tsx
app_CRM/src/pages/base/account-info/account-info-base.tsx
+0
-27
account-status-tab-view-base.tsx
.../account-status-tab-view/account-status-tab-view-base.tsx
+0
-27
contact-info-base.tsx
app_CRM/src/pages/base/contact-info/contact-info-base.tsx
+0
-27
contact-tab-exp-view-base.tsx
...s/base/contact-tab-exp-view/contact-tab-exp-view-base.tsx
+0
-27
knowledge-article-info-view-base.tsx
...ge-article-info-view/knowledge-article-info-view-base.tsx
+0
-27
invoice-info-view-base.tsx
...ages/finance/invoice-info-view/invoice-info-view-base.tsx
+0
-27
campaign-info-base.tsx
.../src/pages/marketing/campaign-info/campaign-info-base.tsx
+0
-27
ibiz-list-info-base.tsx
...rc/pages/marketing/ibiz-list-info/ibiz-list-info-base.tsx
+0
-27
product-info-view-base.tsx
...ages/product/product-info-view/product-info-view-base.tsx
+0
-27
competitor-info-base.tsx
.../src/pages/sales/competitor-info/competitor-info-base.tsx
+0
-27
goal-info-view-base.tsx
...RM/src/pages/sales/goal-info-view/goal-info-view-base.tsx
+0
-27
lead-info-base.tsx
app_CRM/src/pages/sales/lead-info/lead-info-base.tsx
+0
-27
lead-status-tab-view-base.tsx
.../sales/lead-status-tab-view/lead-status-tab-view-base.tsx
+0
-27
opportunity-info-base.tsx
...rc/pages/sales/opportunity-info/opportunity-info-base.tsx
+0
-27
quote-info-base.tsx
app_CRM/src/pages/sales/quote-info/quote-info-base.tsx
+0
-27
sales-literature-info-view-base.tsx
...-literature-info-view/sales-literature-info-view-base.tsx
+0
-27
sales-order-info-view-base.tsx
...ales/sales-order-info-view/sales-order-info-view-base.tsx
+0
-27
incident-info-view-base.tsx
...es/service/incident-info-view/incident-info-view-base.tsx
+0
-27
未找到文件。
app_CRM/src/pages/base/account-info/account-info-base.tsx
浏览文件 @
00cc1aa4
...
...
@@ -487,31 +487,4 @@ export class AccountInfoBase extends TabExpViewBase {
}
/**
* 加载模型
*
* @protected
* @memberof AccountInfoBase
*/
protected
async
loadModel
():
Promise
<
any
>
{
if
(
this
.
context
[
this
.
appDeName
]){
this
.
appEntityService
.
getDataInfo
(
this
.
context
),{},
false
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
const
{
data
}
=
response
;
if
(
data
.
accountname
)
{
Object
.
assign
(
this
.
model
,
{
dataInfo
:
data
.
accountname
});
if
(
this
.
$route
){
this
.
$route
.
meta
.
info
=
this
.
model
.
dataInfo
;
}
Object
.
assign
(
this
.
model
,
{
srfTitle
:
`
${
this
.
$t
(
this
.
model
.
srfTitle
)}
-
${
this
.
model
.
dataInfo
}
`
});
this
.
$appService
.
navHistory
.
setCaption
({
tag
:
this
.
viewtag
,
info
:
this
.
model
.
dataInfo
});
}
})
}
}
}
\ No newline at end of file
app_CRM/src/pages/base/account-status-tab-view/account-status-tab-view-base.tsx
浏览文件 @
00cc1aa4
...
...
@@ -117,31 +117,4 @@ export class AccountStatusTabViewBase extends TabExpViewBase {
}
/**
* 加载模型
*
* @protected
* @memberof AccountStatusTabViewBase
*/
protected
async
loadModel
():
Promise
<
any
>
{
if
(
this
.
context
[
this
.
appDeName
]){
this
.
appEntityService
.
getDataInfo
(
this
.
context
),{},
false
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
const
{
data
}
=
response
;
if
(
data
.
accountname
)
{
Object
.
assign
(
this
.
model
,
{
dataInfo
:
data
.
accountname
});
if
(
this
.
$route
){
this
.
$route
.
meta
.
info
=
this
.
model
.
dataInfo
;
}
Object
.
assign
(
this
.
model
,
{
srfTitle
:
`
${
this
.
$t
(
this
.
model
.
srfTitle
)}
-
${
this
.
model
.
dataInfo
}
`
});
this
.
$appService
.
navHistory
.
setCaption
({
tag
:
this
.
viewtag
,
info
:
this
.
model
.
dataInfo
});
}
})
}
}
}
\ No newline at end of file
app_CRM/src/pages/base/contact-info/contact-info-base.tsx
浏览文件 @
00cc1aa4
...
...
@@ -468,31 +468,4 @@ export class ContactInfoBase extends TabExpViewBase {
}
/**
* 加载模型
*
* @protected
* @memberof ContactInfoBase
*/
protected
async
loadModel
():
Promise
<
any
>
{
if
(
this
.
context
[
this
.
appDeName
]){
this
.
appEntityService
.
getDataInfo
(
this
.
context
),{},
false
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
const
{
data
}
=
response
;
if
(
data
.
fullname
)
{
Object
.
assign
(
this
.
model
,
{
dataInfo
:
data
.
fullname
});
if
(
this
.
$route
){
this
.
$route
.
meta
.
info
=
this
.
model
.
dataInfo
;
}
Object
.
assign
(
this
.
model
,
{
srfTitle
:
`
${
this
.
$t
(
this
.
model
.
srfTitle
)}
-
${
this
.
model
.
dataInfo
}
`
});
this
.
$appService
.
navHistory
.
setCaption
({
tag
:
this
.
viewtag
,
info
:
this
.
model
.
dataInfo
});
}
})
}
}
}
\ No newline at end of file
app_CRM/src/pages/base/contact-tab-exp-view/contact-tab-exp-view-base.tsx
浏览文件 @
00cc1aa4
...
...
@@ -117,31 +117,4 @@ export class ContactTabExpViewBase extends TabExpViewBase {
}
/**
* 加载模型
*
* @protected
* @memberof ContactTabExpViewBase
*/
protected
async
loadModel
():
Promise
<
any
>
{
if
(
this
.
context
[
this
.
appDeName
]){
this
.
appEntityService
.
getDataInfo
(
this
.
context
),{},
false
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
const
{
data
}
=
response
;
if
(
data
.
fullname
)
{
Object
.
assign
(
this
.
model
,
{
dataInfo
:
data
.
fullname
});
if
(
this
.
$route
){
this
.
$route
.
meta
.
info
=
this
.
model
.
dataInfo
;
}
Object
.
assign
(
this
.
model
,
{
srfTitle
:
`
${
this
.
$t
(
this
.
model
.
srfTitle
)}
-
${
this
.
model
.
dataInfo
}
`
});
this
.
$appService
.
navHistory
.
setCaption
({
tag
:
this
.
viewtag
,
info
:
this
.
model
.
dataInfo
});
}
})
}
}
}
\ No newline at end of file
app_CRM/src/pages/base/knowledge-article-info-view/knowledge-article-info-view-base.tsx
浏览文件 @
00cc1aa4
...
...
@@ -117,31 +117,4 @@ export class KnowledgeArticleInfoViewBase extends TabExpViewBase {
}
/**
* 加载模型
*
* @protected
* @memberof KnowledgeArticleInfoViewBase
*/
protected
async
loadModel
():
Promise
<
any
>
{
if
(
this
.
context
[
this
.
appDeName
]){
this
.
appEntityService
.
getDataInfo
(
this
.
context
),{},
false
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
const
{
data
}
=
response
;
if
(
data
.
title
)
{
Object
.
assign
(
this
.
model
,
{
dataInfo
:
data
.
title
});
if
(
this
.
$route
){
this
.
$route
.
meta
.
info
=
this
.
model
.
dataInfo
;
}
Object
.
assign
(
this
.
model
,
{
srfTitle
:
`
${
this
.
$t
(
this
.
model
.
srfTitle
)}
-
${
this
.
model
.
dataInfo
}
`
});
this
.
$appService
.
navHistory
.
setCaption
({
tag
:
this
.
viewtag
,
info
:
this
.
model
.
dataInfo
});
}
})
}
}
}
\ No newline at end of file
app_CRM/src/pages/finance/invoice-info-view/invoice-info-view-base.tsx
浏览文件 @
00cc1aa4
...
...
@@ -468,31 +468,4 @@ export class InvoiceInfoViewBase extends TabExpViewBase {
}
/**
* 加载模型
*
* @protected
* @memberof InvoiceInfoViewBase
*/
protected
async
loadModel
():
Promise
<
any
>
{
if
(
this
.
context
[
this
.
appDeName
]){
this
.
appEntityService
.
getDataInfo
(
this
.
context
),{},
false
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
const
{
data
}
=
response
;
if
(
data
.
invoicename
)
{
Object
.
assign
(
this
.
model
,
{
dataInfo
:
data
.
invoicename
});
if
(
this
.
$route
){
this
.
$route
.
meta
.
info
=
this
.
model
.
dataInfo
;
}
Object
.
assign
(
this
.
model
,
{
srfTitle
:
`
${
this
.
$t
(
this
.
model
.
srfTitle
)}
-
${
this
.
model
.
dataInfo
}
`
});
this
.
$appService
.
navHistory
.
setCaption
({
tag
:
this
.
viewtag
,
info
:
this
.
model
.
dataInfo
});
}
})
}
}
}
\ No newline at end of file
app_CRM/src/pages/marketing/campaign-info/campaign-info-base.tsx
浏览文件 @
00cc1aa4
...
...
@@ -365,31 +365,4 @@ export class CampaignInfoBase extends TabExpViewBase {
}
/**
* 加载模型
*
* @protected
* @memberof CampaignInfoBase
*/
protected
async
loadModel
():
Promise
<
any
>
{
if
(
this
.
context
[
this
.
appDeName
]){
this
.
appEntityService
.
getDataInfo
(
this
.
context
),{},
false
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
const
{
data
}
=
response
;
if
(
data
.
campaignname
)
{
Object
.
assign
(
this
.
model
,
{
dataInfo
:
data
.
campaignname
});
if
(
this
.
$route
){
this
.
$route
.
meta
.
info
=
this
.
model
.
dataInfo
;
}
Object
.
assign
(
this
.
model
,
{
srfTitle
:
`
${
this
.
$t
(
this
.
model
.
srfTitle
)}
-
${
this
.
model
.
dataInfo
}
`
});
this
.
$appService
.
navHistory
.
setCaption
({
tag
:
this
.
viewtag
,
info
:
this
.
model
.
dataInfo
});
}
})
}
}
}
\ No newline at end of file
app_CRM/src/pages/marketing/ibiz-list-info/ibiz-list-info-base.tsx
浏览文件 @
00cc1aa4
...
...
@@ -117,31 +117,4 @@ export class IBizListInfoBase extends TabExpViewBase {
}
/**
* 加载模型
*
* @protected
* @memberof IBizListInfoBase
*/
protected
async
loadModel
():
Promise
<
any
>
{
if
(
this
.
context
[
this
.
appDeName
]){
this
.
appEntityService
.
getDataInfo
(
this
.
context
),{},
false
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
const
{
data
}
=
response
;
if
(
data
.
listname
)
{
Object
.
assign
(
this
.
model
,
{
dataInfo
:
data
.
listname
});
if
(
this
.
$route
){
this
.
$route
.
meta
.
info
=
this
.
model
.
dataInfo
;
}
Object
.
assign
(
this
.
model
,
{
srfTitle
:
`
${
this
.
$t
(
this
.
model
.
srfTitle
)}
-
${
this
.
model
.
dataInfo
}
`
});
this
.
$appService
.
navHistory
.
setCaption
({
tag
:
this
.
viewtag
,
info
:
this
.
model
.
dataInfo
});
}
})
}
}
}
\ No newline at end of file
app_CRM/src/pages/product/product-info-view/product-info-view-base.tsx
浏览文件 @
00cc1aa4
...
...
@@ -365,31 +365,4 @@ export class ProductInfoViewBase extends TabExpViewBase {
}
/**
* 加载模型
*
* @protected
* @memberof ProductInfoViewBase
*/
protected
async
loadModel
():
Promise
<
any
>
{
if
(
this
.
context
[
this
.
appDeName
]){
this
.
appEntityService
.
getDataInfo
(
this
.
context
),{},
false
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
const
{
data
}
=
response
;
if
(
data
.
productname
)
{
Object
.
assign
(
this
.
model
,
{
dataInfo
:
data
.
productname
});
if
(
this
.
$route
){
this
.
$route
.
meta
.
info
=
this
.
model
.
dataInfo
;
}
Object
.
assign
(
this
.
model
,
{
srfTitle
:
`
${
this
.
$t
(
this
.
model
.
srfTitle
)}
-
${
this
.
model
.
dataInfo
}
`
});
this
.
$appService
.
navHistory
.
setCaption
({
tag
:
this
.
viewtag
,
info
:
this
.
model
.
dataInfo
});
}
})
}
}
}
\ No newline at end of file
app_CRM/src/pages/sales/competitor-info/competitor-info-base.tsx
浏览文件 @
00cc1aa4
...
...
@@ -365,31 +365,4 @@ export class CompetitorInfoBase extends TabExpViewBase {
}
/**
* 加载模型
*
* @protected
* @memberof CompetitorInfoBase
*/
protected
async
loadModel
():
Promise
<
any
>
{
if
(
this
.
context
[
this
.
appDeName
]){
this
.
appEntityService
.
getDataInfo
(
this
.
context
),{},
false
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
const
{
data
}
=
response
;
if
(
data
.
competitorname
)
{
Object
.
assign
(
this
.
model
,
{
dataInfo
:
data
.
competitorname
});
if
(
this
.
$route
){
this
.
$route
.
meta
.
info
=
this
.
model
.
dataInfo
;
}
Object
.
assign
(
this
.
model
,
{
srfTitle
:
`
${
this
.
$t
(
this
.
model
.
srfTitle
)}
-
${
this
.
model
.
dataInfo
}
`
});
this
.
$appService
.
navHistory
.
setCaption
({
tag
:
this
.
viewtag
,
info
:
this
.
model
.
dataInfo
});
}
})
}
}
}
\ No newline at end of file
app_CRM/src/pages/sales/goal-info-view/goal-info-view-base.tsx
浏览文件 @
00cc1aa4
...
...
@@ -117,31 +117,4 @@ export class GoalInfoViewBase extends TabExpViewBase {
}
/**
* 加载模型
*
* @protected
* @memberof GoalInfoViewBase
*/
protected
async
loadModel
():
Promise
<
any
>
{
if
(
this
.
context
[
this
.
appDeName
]){
this
.
appEntityService
.
getDataInfo
(
this
.
context
),{},
false
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
const
{
data
}
=
response
;
if
(
data
.
title
)
{
Object
.
assign
(
this
.
model
,
{
dataInfo
:
data
.
title
});
if
(
this
.
$route
){
this
.
$route
.
meta
.
info
=
this
.
model
.
dataInfo
;
}
Object
.
assign
(
this
.
model
,
{
srfTitle
:
`
${
this
.
$t
(
this
.
model
.
srfTitle
)}
-
${
this
.
model
.
dataInfo
}
`
});
this
.
$appService
.
navHistory
.
setCaption
({
tag
:
this
.
viewtag
,
info
:
this
.
model
.
dataInfo
});
}
})
}
}
}
\ No newline at end of file
app_CRM/src/pages/sales/lead-info/lead-info-base.tsx
浏览文件 @
00cc1aa4
...
...
@@ -502,31 +502,4 @@ export class LeadInfoBase extends TabExpViewBase {
}
/**
* 加载模型
*
* @protected
* @memberof LeadInfoBase
*/
protected
async
loadModel
():
Promise
<
any
>
{
if
(
this
.
context
[
this
.
appDeName
]){
this
.
appEntityService
.
getDataInfo
(
this
.
context
),{},
false
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
const
{
data
}
=
response
;
if
(
data
.
fullname
)
{
Object
.
assign
(
this
.
model
,
{
dataInfo
:
data
.
fullname
});
if
(
this
.
$route
){
this
.
$route
.
meta
.
info
=
this
.
model
.
dataInfo
;
}
Object
.
assign
(
this
.
model
,
{
srfTitle
:
`
${
this
.
$t
(
this
.
model
.
srfTitle
)}
-
${
this
.
model
.
dataInfo
}
`
});
this
.
$appService
.
navHistory
.
setCaption
({
tag
:
this
.
viewtag
,
info
:
this
.
model
.
dataInfo
});
}
})
}
}
}
\ No newline at end of file
app_CRM/src/pages/sales/lead-status-tab-view/lead-status-tab-view-base.tsx
浏览文件 @
00cc1aa4
...
...
@@ -117,31 +117,4 @@ export class LeadStatusTabViewBase extends TabExpViewBase {
}
/**
* 加载模型
*
* @protected
* @memberof LeadStatusTabViewBase
*/
protected
async
loadModel
():
Promise
<
any
>
{
if
(
this
.
context
[
this
.
appDeName
]){
this
.
appEntityService
.
getDataInfo
(
this
.
context
),{},
false
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
const
{
data
}
=
response
;
if
(
data
.
fullname
)
{
Object
.
assign
(
this
.
model
,
{
dataInfo
:
data
.
fullname
});
if
(
this
.
$route
){
this
.
$route
.
meta
.
info
=
this
.
model
.
dataInfo
;
}
Object
.
assign
(
this
.
model
,
{
srfTitle
:
`
${
this
.
$t
(
this
.
model
.
srfTitle
)}
-
${
this
.
model
.
dataInfo
}
`
});
this
.
$appService
.
navHistory
.
setCaption
({
tag
:
this
.
viewtag
,
info
:
this
.
model
.
dataInfo
});
}
})
}
}
}
\ No newline at end of file
app_CRM/src/pages/sales/opportunity-info/opportunity-info-base.tsx
浏览文件 @
00cc1aa4
...
...
@@ -502,31 +502,4 @@ export class OpportunityInfoBase extends TabExpViewBase {
}
/**
* 加载模型
*
* @protected
* @memberof OpportunityInfoBase
*/
protected
async
loadModel
():
Promise
<
any
>
{
if
(
this
.
context
[
this
.
appDeName
]){
this
.
appEntityService
.
getDataInfo
(
this
.
context
),{},
false
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
const
{
data
}
=
response
;
if
(
data
.
opportunityname
)
{
Object
.
assign
(
this
.
model
,
{
dataInfo
:
data
.
opportunityname
});
if
(
this
.
$route
){
this
.
$route
.
meta
.
info
=
this
.
model
.
dataInfo
;
}
Object
.
assign
(
this
.
model
,
{
srfTitle
:
`
${
this
.
$t
(
this
.
model
.
srfTitle
)}
-
${
this
.
model
.
dataInfo
}
`
});
this
.
$appService
.
navHistory
.
setCaption
({
tag
:
this
.
viewtag
,
info
:
this
.
model
.
dataInfo
});
}
})
}
}
}
\ No newline at end of file
app_CRM/src/pages/sales/quote-info/quote-info-base.tsx
浏览文件 @
00cc1aa4
...
...
@@ -468,31 +468,4 @@ export class QuoteInfoBase extends TabExpViewBase {
}
/**
* 加载模型
*
* @protected
* @memberof QuoteInfoBase
*/
protected
async
loadModel
():
Promise
<
any
>
{
if
(
this
.
context
[
this
.
appDeName
]){
this
.
appEntityService
.
getDataInfo
(
this
.
context
),{},
false
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
const
{
data
}
=
response
;
if
(
data
.
quotename
)
{
Object
.
assign
(
this
.
model
,
{
dataInfo
:
data
.
quotename
});
if
(
this
.
$route
){
this
.
$route
.
meta
.
info
=
this
.
model
.
dataInfo
;
}
Object
.
assign
(
this
.
model
,
{
srfTitle
:
`
${
this
.
$t
(
this
.
model
.
srfTitle
)}
-
${
this
.
model
.
dataInfo
}
`
});
this
.
$appService
.
navHistory
.
setCaption
({
tag
:
this
.
viewtag
,
info
:
this
.
model
.
dataInfo
});
}
})
}
}
}
\ No newline at end of file
app_CRM/src/pages/sales/sales-literature-info-view/sales-literature-info-view-base.tsx
浏览文件 @
00cc1aa4
...
...
@@ -365,31 +365,4 @@ export class SalesLiteratureInfoViewBase extends TabExpViewBase {
}
/**
* 加载模型
*
* @protected
* @memberof SalesLiteratureInfoViewBase
*/
protected
async
loadModel
():
Promise
<
any
>
{
if
(
this
.
context
[
this
.
appDeName
]){
this
.
appEntityService
.
getDataInfo
(
this
.
context
),{},
false
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
const
{
data
}
=
response
;
if
(
data
.
salesliteraturename
)
{
Object
.
assign
(
this
.
model
,
{
dataInfo
:
data
.
salesliteraturename
});
if
(
this
.
$route
){
this
.
$route
.
meta
.
info
=
this
.
model
.
dataInfo
;
}
Object
.
assign
(
this
.
model
,
{
srfTitle
:
`
${
this
.
$t
(
this
.
model
.
srfTitle
)}
-
${
this
.
model
.
dataInfo
}
`
});
this
.
$appService
.
navHistory
.
setCaption
({
tag
:
this
.
viewtag
,
info
:
this
.
model
.
dataInfo
});
}
})
}
}
}
\ No newline at end of file
app_CRM/src/pages/sales/sales-order-info-view/sales-order-info-view-base.tsx
浏览文件 @
00cc1aa4
...
...
@@ -468,31 +468,4 @@ export class SalesOrderInfoViewBase extends TabExpViewBase {
}
/**
* 加载模型
*
* @protected
* @memberof SalesOrderInfoViewBase
*/
protected
async
loadModel
():
Promise
<
any
>
{
if
(
this
.
context
[
this
.
appDeName
]){
this
.
appEntityService
.
getDataInfo
(
this
.
context
),{},
false
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
const
{
data
}
=
response
;
if
(
data
.
salesordername
)
{
Object
.
assign
(
this
.
model
,
{
dataInfo
:
data
.
salesordername
});
if
(
this
.
$route
){
this
.
$route
.
meta
.
info
=
this
.
model
.
dataInfo
;
}
Object
.
assign
(
this
.
model
,
{
srfTitle
:
`
${
this
.
$t
(
this
.
model
.
srfTitle
)}
-
${
this
.
model
.
dataInfo
}
`
});
this
.
$appService
.
navHistory
.
setCaption
({
tag
:
this
.
viewtag
,
info
:
this
.
model
.
dataInfo
});
}
})
}
}
}
\ No newline at end of file
app_CRM/src/pages/service/incident-info-view/incident-info-view-base.tsx
浏览文件 @
00cc1aa4
...
...
@@ -117,31 +117,4 @@ export class IncidentInfoViewBase extends TabExpViewBase {
}
/**
* 加载模型
*
* @protected
* @memberof IncidentInfoViewBase
*/
protected
async
loadModel
():
Promise
<
any
>
{
if
(
this
.
context
[
this
.
appDeName
]){
this
.
appEntityService
.
getDataInfo
(
this
.
context
),{},
false
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
const
{
data
}
=
response
;
if
(
data
.
title
)
{
Object
.
assign
(
this
.
model
,
{
dataInfo
:
data
.
title
});
if
(
this
.
$route
){
this
.
$route
.
meta
.
info
=
this
.
model
.
dataInfo
;
}
Object
.
assign
(
this
.
model
,
{
srfTitle
:
`
${
this
.
$t
(
this
.
model
.
srfTitle
)}
-
${
this
.
model
.
dataInfo
}
`
});
this
.
$appService
.
navHistory
.
setCaption
({
tag
:
this
.
viewtag
,
info
:
this
.
model
.
dataInfo
});
}
})
}
}
}
\ No newline at end of file
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录