Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
67986e09
提交
67986e09
编写于
7月 07, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lab_gzf 发布系统代码
上级
3b45134a
变更
20
隐藏空白字符变更
内嵌
并排
正在显示
20 个修改的文件
包含
46 行增加
和
58 行删除
+46
-58
view-config.json
app_CRM/public/assets/json/view-config.json
+1
-1
contact_en_US.ts
app_CRM/src/locale/lanres/entities/contact/contact_en_US.ts
+8
-8
contact_zh_CN.ts
app_CRM/src/locale/lanres/entities/contact/contact_zh_CN.ts
+8
-8
opportunity_en_US.ts
...c/locale/lanres/entities/opportunity/opportunity_en_US.ts
+1
-1
opportunity_zh_CN.ts
...c/locale/lanres/entities/opportunity/opportunity_zh_CN.ts
+1
-1
viewconfig.ts
app_CRM/src/mock/viewconfig/viewconfig.ts
+1
-1
opportunity-grid-view-base.tsx
...ales/opportunity-grid-view/opportunity-grid-view-base.tsx
+1
-1
opportunity-grid-view.html
...es/sales/opportunity-grid-view/opportunity-grid-view.html
+1
-1
opportunity-grid-view.vue
...ges/sales/opportunity-grid-view/opportunity-grid-view.vue
+1
-1
tab-exp-viewtabexppanel-tabexppanel-base.tsx
...-tabexppanel/tab-exp-viewtabexppanel-tabexppanel-base.tsx
+1
-1
tab-exp-viewtabexppanel-tabexppanel.html
...anel-tabexppanel/tab-exp-viewtabexppanel-tabexppanel.html
+16
-16
tab-exp-viewtabexppanel-tabexppanel.vue
...panel-tabexppanel/tab-exp-viewtabexppanel-tabexppanel.vue
+2
-2
edit-child-incident-form-service.ts
...t-child-incident-form/edit-child-incident-form-service.ts
+0
-3
edit-child-incident-form.html
...nt/edit-child-incident-form/edit-child-incident-form.html
+1
-1
qualification-form-service.ts
...ets/lead/qualification-form/qualification-form-service.ts
+0
-3
qualification-form.html
...c/widgets/lead/qualification-form/qualification-form.html
+1
-1
main-form-service.ts
...RM/src/widgets/opportunity/main-form/main-form-service.ts
+0
-3
main-form.html
app_CRM/src/widgets/opportunity/main-form/main-form.html
+1
-1
quick-create-form-service.ts
...pportunity/quick-create-form/quick-create-form-service.ts
+0
-3
quick-create-form.html
...gets/opportunity/quick-create-form/quick-create-form.html
+1
-1
未找到文件。
app_CRM/public/assets/json/view-config.json
浏览文件 @
67986e09
...
@@ -900,7 +900,7 @@
...
@@ -900,7 +900,7 @@
"memo"
:
"系统自动添加"
"memo"
:
"系统自动添加"
},
},
"opportunitygridview"
:
{
"opportunitygridview"
:
{
"title"
:
"商机
表格视图
"
,
"title"
:
"商机
信息
"
,
"caption"
:
"商机信息"
,
"caption"
:
"商机信息"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"Sales"
,
"viewmodule"
:
"Sales"
,
...
...
app_CRM/src/locale/lanres/entities/contact/contact_en_US.ts
浏览文件 @
67986e09
...
@@ -711,7 +711,7 @@ export default {
...
@@ -711,7 +711,7 @@ export default {
tip
:
"Filter"
,
tip
:
"Filter"
,
},
},
},
},
stop
gridviewtoolbar_toolbar
:
{
usable
gridviewtoolbar_toolbar
:
{
tbitem1_openquickcreateview
:
{
tbitem1_openquickcreateview
:
{
caption
:
"新建"
,
caption
:
"新建"
,
tip
:
"新建"
,
tip
:
"新建"
,
...
@@ -748,9 +748,9 @@ export default {
...
@@ -748,9 +748,9 @@ export default {
caption
:
"-"
,
caption
:
"-"
,
tip
:
""
,
tip
:
""
,
},
},
tbitem14_active
:
{
tbitem14_
in
active
:
{
caption
:
"
激活
"
,
caption
:
"
停用
"
,
tip
:
"
激活
"
,
tip
:
"
停用
"
,
},
},
tbitem15
:
{
tbitem15
:
{
caption
:
"-"
,
caption
:
"-"
,
...
@@ -761,7 +761,7 @@ export default {
...
@@ -761,7 +761,7 @@ export default {
tip
:
"Filter"
,
tip
:
"Filter"
,
},
},
},
},
usable
gridviewtoolbar_toolbar
:
{
stop
gridviewtoolbar_toolbar
:
{
tbitem1_openquickcreateview
:
{
tbitem1_openquickcreateview
:
{
caption
:
"新建"
,
caption
:
"新建"
,
tip
:
"新建"
,
tip
:
"新建"
,
...
@@ -798,9 +798,9 @@ export default {
...
@@ -798,9 +798,9 @@ export default {
caption
:
"-"
,
caption
:
"-"
,
tip
:
""
,
tip
:
""
,
},
},
tbitem14_
in
active
:
{
tbitem14_active
:
{
caption
:
"
停用
"
,
caption
:
"
激活
"
,
tip
:
"
停用
"
,
tip
:
"
激活
"
,
},
},
tbitem15
:
{
tbitem15
:
{
caption
:
"-"
,
caption
:
"-"
,
...
...
app_CRM/src/locale/lanres/entities/contact/contact_zh_CN.ts
浏览文件 @
67986e09
...
@@ -710,7 +710,7 @@ export default {
...
@@ -710,7 +710,7 @@ export default {
tip
:
"过滤"
,
tip
:
"过滤"
,
},
},
},
},
stop
gridviewtoolbar_toolbar
:
{
usable
gridviewtoolbar_toolbar
:
{
tbitem1_openquickcreateview
:
{
tbitem1_openquickcreateview
:
{
caption
:
"新建"
,
caption
:
"新建"
,
tip
:
"新建"
,
tip
:
"新建"
,
...
@@ -747,9 +747,9 @@ export default {
...
@@ -747,9 +747,9 @@ export default {
caption
:
"-"
,
caption
:
"-"
,
tip
:
""
,
tip
:
""
,
},
},
tbitem14_active
:
{
tbitem14_
in
active
:
{
caption
:
"
激活
"
,
caption
:
"
停用
"
,
tip
:
"
激活
"
,
tip
:
"
停用
"
,
},
},
tbitem15
:
{
tbitem15
:
{
caption
:
"-"
,
caption
:
"-"
,
...
@@ -760,7 +760,7 @@ export default {
...
@@ -760,7 +760,7 @@ export default {
tip
:
"过滤"
,
tip
:
"过滤"
,
},
},
},
},
usable
gridviewtoolbar_toolbar
:
{
stop
gridviewtoolbar_toolbar
:
{
tbitem1_openquickcreateview
:
{
tbitem1_openquickcreateview
:
{
caption
:
"新建"
,
caption
:
"新建"
,
tip
:
"新建"
,
tip
:
"新建"
,
...
@@ -797,9 +797,9 @@ export default {
...
@@ -797,9 +797,9 @@ export default {
caption
:
"-"
,
caption
:
"-"
,
tip
:
""
,
tip
:
""
,
},
},
tbitem14_
in
active
:
{
tbitem14_active
:
{
caption
:
"
停用
"
,
caption
:
"
激活
"
,
tip
:
"
停用
"
,
tip
:
"
激活
"
,
},
},
tbitem15
:
{
tbitem15
:
{
caption
:
"-"
,
caption
:
"-"
,
...
...
app_CRM/src/locale/lanres/entities/opportunity/opportunity_en_US.ts
浏览文件 @
67986e09
...
@@ -124,7 +124,7 @@ export default {
...
@@ -124,7 +124,7 @@ export default {
},
},
gridview
:
{
gridview
:
{
caption
:
"商机信息"
,
caption
:
"商机信息"
,
title
:
"商机
表格视图
"
,
title
:
"商机
信息
"
,
},
},
info_abstract
:
{
info_abstract
:
{
caption
:
"商机"
,
caption
:
"商机"
,
...
...
app_CRM/src/locale/lanres/entities/opportunity/opportunity_zh_CN.ts
浏览文件 @
67986e09
...
@@ -123,7 +123,7 @@ export default {
...
@@ -123,7 +123,7 @@ export default {
},
},
gridview
:
{
gridview
:
{
caption
:
"商机信息"
,
caption
:
"商机信息"
,
title
:
"商机
表格视图
"
,
title
:
"商机
信息
"
,
},
},
info_abstract
:
{
info_abstract
:
{
caption
:
"商机"
,
caption
:
"商机"
,
...
...
app_CRM/src/mock/viewconfig/viewconfig.ts
浏览文件 @
67986e09
...
@@ -728,7 +728,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
...
@@ -728,7 +728,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewtag"
:
"5de2a290b5d079445ad825f6d6418dd6"
"viewtag"
:
"5de2a290b5d079445ad825f6d6418dd6"
},
},
"opportunitygridview"
:
{
"opportunitygridview"
:
{
"title"
:
"商机
表格视图
"
,
"title"
:
"商机
信息
"
,
"caption"
:
"商机信息"
,
"caption"
:
"商机信息"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"Sales"
,
"viewmodule"
:
"Sales"
,
...
...
app_CRM/src/pages/sales/opportunity-grid-view/opportunity-grid-view-base.tsx
浏览文件 @
67986e09
...
@@ -8,7 +8,7 @@ import CodeListService from "@service/app/codelist-service";
...
@@ -8,7 +8,7 @@ import CodeListService from "@service/app/codelist-service";
/**
/**
* 商机
表格视图
视图基类
* 商机
信息
视图基类
*
*
* @export
* @export
* @class OpportunityGridViewBase
* @class OpportunityGridViewBase
...
...
app_CRM/src/pages/sales/opportunity-grid-view/opportunity-grid-view.html
浏览文件 @
67986e09
<studio-view-style2
viewName=
"opportunitygridview"
viewTitle=
"商机
表格视图
"
class=
'degridview opportunity-grid-view'
>
<studio-view-style2
viewName=
"opportunitygridview"
viewTitle=
"商机
信息
"
class=
'degridview opportunity-grid-view'
>
<template
slot=
'title'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{$t(model.srfTitle)}}
</span>
<span
class=
'caption-info'
>
{{$t(model.srfTitle)}}
</span>
</template>
</template>
...
...
app_CRM/src/pages/sales/opportunity-grid-view/opportunity-grid-view.vue
浏览文件 @
67986e09
...
@@ -7,7 +7,7 @@ import view_grid from '@widgets/opportunity/main-grid/main-grid.vue';
...
@@ -7,7 +7,7 @@ import view_grid from '@widgets/opportunity/main-grid/main-grid.vue';
import view_searchform from '@widgets/opportunity/default-searchform/default-searchform.vue';
import view_searchform from '@widgets/opportunity/default-searchform/default-searchform.vue';
/**
/**
* 商机
表格视图
视图
* 商机
信息
视图
*
*
* @export
* @export
* @class OpportunityGridView
* @class OpportunityGridView
...
...
app_CRM/src/widgets/contact/tab-exp-viewtabexppanel-tabexppanel/tab-exp-viewtabexppanel-tabexppanel-base.tsx
浏览文件 @
67986e09
...
@@ -47,8 +47,8 @@ export class TabExpViewtabexppanelTabexppanelBase extends TabExpPanelControlBase
...
@@ -47,8 +47,8 @@ export class TabExpViewtabexppanelTabexppanelBase extends TabExpPanelControlBase
*/
*/
protected
isInit
:
any
=
{
protected
isInit
:
any
=
{
tabviewpanel
:
true
,
tabviewpanel
:
true
,
tabviewpanel3
:
false
,
tabviewpanel2
:
false
,
tabviewpanel2
:
false
,
tabviewpanel3
:
false
,
}
}
/**
/**
...
...
app_CRM/src/widgets/contact/tab-exp-viewtabexppanel-tabexppanel/tab-exp-viewtabexppanel-tabexppanel.html
浏览文件 @
67986e09
...
@@ -24,10 +24,10 @@
...
@@ -24,10 +24,10 @@
@
closeview=
"closeView($event)"
>
@
closeview=
"closeView($event)"
>
</view
_tabviewpanel
>
</view
_tabviewpanel
>
</tab-pane>
</tab-pane>
<tab-pane
:index=
"1"
name=
'tabviewpanel
3
'
tab=
'tabexpviewtabexppanel'
class=
''
<tab-pane
:index=
"1"
name=
'tabviewpanel
2
'
tab=
'tabexpviewtabexppanel'
class=
''
:label=
"(h) =>{
:label=
"(h) =>{
return h('div', [
return h('div', [
h('span', '
停
用联系人'),
h('span', '
可
用联系人'),
h('Badge', {
h('Badge', {
props: {
props: {
count: undefined,
count: undefined,
...
@@ -36,22 +36,22 @@
...
@@ -36,22 +36,22 @@
})
})
])
])
}"
>
}"
>
<view
_tabviewpanel
3
<view
_tabviewpanel
2
:viewState=
"viewState"
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
:context=
"JSON.parse(JSON.stringify(context))"
v-if=
"isInit.tabviewpanel
3
"
v-if=
"isInit.tabviewpanel
2
"
name=
"tabviewpanel
3
"
name=
"tabviewpanel
2
"
ref=
'tabviewpanel
3
'
ref=
'tabviewpanel
2
'
:expActive=
"activatedTabViewPanel === 'tabviewpanel
3
'"
:expActive=
"activatedTabViewPanel === 'tabviewpanel
2
'"
@
viewpanelDatasChange =
"tabViewPanelDatasChange"
@
viewpanelDatasChange =
"tabViewPanelDatasChange"
@
closeview=
"closeView($event)"
>
@
closeview=
"closeView($event)"
>
</view
_tabviewpanel
3
>
</view
_tabviewpanel
2
>
</tab-pane>
</tab-pane>
<tab-pane
:index=
"2"
name=
'tabviewpanel
2
'
tab=
'tabexpviewtabexppanel'
class=
''
<tab-pane
:index=
"2"
name=
'tabviewpanel
3
'
tab=
'tabexpviewtabexppanel'
class=
''
:label=
"(h) =>{
:label=
"(h) =>{
return h('div', [
return h('div', [
h('span', '
可
用联系人'),
h('span', '
停
用联系人'),
h('Badge', {
h('Badge', {
props: {
props: {
count: undefined,
count: undefined,
...
@@ -60,17 +60,17 @@
...
@@ -60,17 +60,17 @@
})
})
])
])
}"
>
}"
>
<view
_tabviewpanel
2
<view
_tabviewpanel
3
:viewState=
"viewState"
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
:context=
"JSON.parse(JSON.stringify(context))"
v-if=
"isInit.tabviewpanel
2
"
v-if=
"isInit.tabviewpanel
3
"
name=
"tabviewpanel
2
"
name=
"tabviewpanel
3
"
ref=
'tabviewpanel
2
'
ref=
'tabviewpanel
3
'
:expActive=
"activatedTabViewPanel === 'tabviewpanel
2
'"
:expActive=
"activatedTabViewPanel === 'tabviewpanel
3
'"
@
viewpanelDatasChange =
"tabViewPanelDatasChange"
@
viewpanelDatasChange =
"tabViewPanelDatasChange"
@
closeview=
"closeView($event)"
>
@
closeview=
"closeView($event)"
>
</view
_tabviewpanel
2
>
</view
_tabviewpanel
3
>
</tab-pane>
</tab-pane>
</tabs>
</tabs>
</div>
</div>
\ No newline at end of file
app_CRM/src/widgets/contact/tab-exp-viewtabexppanel-tabexppanel/tab-exp-viewtabexppanel-tabexppanel.vue
浏览文件 @
67986e09
...
@@ -4,8 +4,8 @@ import { Component } from 'vue-property-decorator';
...
@@ -4,8 +4,8 @@ import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { VueLifeCycleProcessing } from '@/studio-core';
import { TabExpViewtabexppanelTabexppanelBase } from './tab-exp-viewtabexppanel-tabexppanel-base';
import { TabExpViewtabexppanelTabexppanelBase } from './tab-exp-viewtabexppanel-tabexppanel-base';
import view_tabviewpanel from '@widgets/contact/tab-exp-viewtabviewpanel-tabviewpanel/tab-exp-viewtabviewpanel-tabviewpanel.vue';
import view_tabviewpanel from '@widgets/contact/tab-exp-viewtabviewpanel-tabviewpanel/tab-exp-viewtabviewpanel-tabviewpanel.vue';
import view_tabviewpanel3 from '@widgets/contact/tab-exp-viewtabviewpanel3-tabviewpanel/tab-exp-viewtabviewpanel3-tabviewpanel.vue';
import view_tabviewpanel2 from '@widgets/contact/tab-exp-viewtabviewpanel2-tabviewpanel/tab-exp-viewtabviewpanel2-tabviewpanel.vue';
import view_tabviewpanel2 from '@widgets/contact/tab-exp-viewtabviewpanel2-tabviewpanel/tab-exp-viewtabviewpanel2-tabviewpanel.vue';
import view_tabviewpanel3 from '@widgets/contact/tab-exp-viewtabviewpanel3-tabviewpanel/tab-exp-viewtabviewpanel3-tabviewpanel.vue';
/**
/**
...
@@ -18,8 +18,8 @@ import view_tabviewpanel2 from '@widgets/contact/tab-exp-viewtabviewpanel2-tabvi
...
@@ -18,8 +18,8 @@ import view_tabviewpanel2 from '@widgets/contact/tab-exp-viewtabviewpanel2-tabvi
@Component({
@Component({
components: {
components: {
view_tabviewpanel,
view_tabviewpanel,
view_tabviewpanel3,
view_tabviewpanel2,
view_tabviewpanel2,
view_tabviewpanel3,
}
}
})
})
...
...
app_CRM/src/widgets/incident/edit-child-incident-form/edit-child-incident-form-service.ts
浏览文件 @
67986e09
...
@@ -119,9 +119,6 @@ export default class Edit_ChildIncidentService extends ControlService {
...
@@ -119,9 +119,6 @@ export default class Edit_ChildIncidentService extends ControlService {
if
(
Object
.
is
(
serviceName
,
'SubjectService'
)
&&
Object
.
is
(
interfaceName
,
'FetchDefault'
))
{
if
(
Object
.
is
(
serviceName
,
'SubjectService'
)
&&
Object
.
is
(
interfaceName
,
'FetchDefault'
))
{
return
this
.
doItems
(
this
.
subjectService
.
FetchDefault
(
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
,
isloading
),
'subjectid'
,
'subject'
);
return
this
.
doItems
(
this
.
subjectService
.
FetchDefault
(
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
,
isloading
),
'subjectid'
,
'subject'
);
}
}
if
(
Object
.
is
(
serviceName
,
'ContactService'
)
&&
Object
.
is
(
interfaceName
,
'FetchDefault'
))
{
return
this
.
doItems
(
this
.
contactService
.
FetchDefault
(
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
,
isloading
),
'contactid'
,
'contact'
);
}
if
(
Object
.
is
(
serviceName
,
'ProductService'
)
&&
Object
.
is
(
interfaceName
,
'FetchDefault'
))
{
if
(
Object
.
is
(
serviceName
,
'ProductService'
)
&&
Object
.
is
(
interfaceName
,
'FetchDefault'
))
{
return
this
.
doItems
(
this
.
productService
.
FetchDefault
(
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
,
isloading
),
'productid'
,
'product'
);
return
this
.
doItems
(
this
.
productService
.
FetchDefault
(
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
,
isloading
),
'productid'
,
'product'
);
}
}
...
...
app_CRM/src/widgets/incident/edit-child-incident-form/edit-child-incident-form.html
浏览文件 @
67986e09
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
deMajorField=
'fullname'
deMajorField=
'fullname'
deKeyField=
'contact'
deKeyField=
'contact'
:service=
"service"
:service=
"service"
:acParams=
"{
serviceName: 'ContactService', interfaceName: 'FetchDefault'
}"
:acParams=
"{ }"
valueitem=
'primarycontactid'
valueitem=
'primarycontactid'
:value=
"data.primarycontactname"
:value=
"data.primarycontactname"
editortype=
""
editortype=
""
...
...
app_CRM/src/widgets/lead/qualification-form/qualification-form-service.ts
浏览文件 @
67986e09
...
@@ -98,9 +98,6 @@ export default class QualificationService extends ControlService {
...
@@ -98,9 +98,6 @@ export default class QualificationService extends ControlService {
*/
*/
@
Errorlog
@
Errorlog
public
getItems
(
serviceName
:
string
,
interfaceName
:
string
,
context
:
any
=
{},
data
:
any
,
isloading
?:
boolean
):
Promise
<
any
[]
>
{
public
getItems
(
serviceName
:
string
,
interfaceName
:
string
,
context
:
any
=
{},
data
:
any
,
isloading
?:
boolean
):
Promise
<
any
[]
>
{
if
(
Object
.
is
(
serviceName
,
'ContactService'
)
&&
Object
.
is
(
interfaceName
,
'FetchDefault'
))
{
return
this
.
doItems
(
this
.
contactService
.
FetchDefault
(
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
,
isloading
),
'contactid'
,
'contact'
);
}
if
(
Object
.
is
(
serviceName
,
'AccountService'
)
&&
Object
.
is
(
interfaceName
,
'FetchDefault'
))
{
if
(
Object
.
is
(
serviceName
,
'AccountService'
)
&&
Object
.
is
(
interfaceName
,
'FetchDefault'
))
{
return
this
.
doItems
(
this
.
accountService
.
FetchDefault
(
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
,
isloading
),
'accountid'
,
'account'
);
return
this
.
doItems
(
this
.
accountService
.
FetchDefault
(
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
,
isloading
),
'accountid'
,
'account'
);
}
}
...
...
app_CRM/src/widgets/lead/qualification-form/qualification-form.html
浏览文件 @
67986e09
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
deMajorField=
'fullname'
deMajorField=
'fullname'
deKeyField=
'contact'
deKeyField=
'contact'
:service=
"service"
:service=
"service"
:acParams=
"{
serviceName: 'ContactService', interfaceName: 'FetchDefault'
}"
:acParams=
"{ }"
valueitem=
'parentcontactid'
valueitem=
'parentcontactid'
:value=
"data.parentcontactname"
:value=
"data.parentcontactname"
editortype=
""
editortype=
""
...
...
app_CRM/src/widgets/opportunity/main-form/main-form-service.ts
浏览文件 @
67986e09
...
@@ -116,9 +116,6 @@ export default class MainService extends ControlService {
...
@@ -116,9 +116,6 @@ export default class MainService extends ControlService {
*/
*/
@
Errorlog
@
Errorlog
public
getItems
(
serviceName
:
string
,
interfaceName
:
string
,
context
:
any
=
{},
data
:
any
,
isloading
?:
boolean
):
Promise
<
any
[]
>
{
public
getItems
(
serviceName
:
string
,
interfaceName
:
string
,
context
:
any
=
{},
data
:
any
,
isloading
?:
boolean
):
Promise
<
any
[]
>
{
if
(
Object
.
is
(
serviceName
,
'ContactService'
)
&&
Object
.
is
(
interfaceName
,
'FetchDefault'
))
{
return
this
.
doItems
(
this
.
contactService
.
FetchDefault
(
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
,
isloading
),
'contactid'
,
'contact'
);
}
if
(
Object
.
is
(
serviceName
,
'AccountService'
)
&&
Object
.
is
(
interfaceName
,
'FetchDefault'
))
{
if
(
Object
.
is
(
serviceName
,
'AccountService'
)
&&
Object
.
is
(
interfaceName
,
'FetchDefault'
))
{
return
this
.
doItems
(
this
.
accountService
.
FetchDefault
(
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
,
isloading
),
'accountid'
,
'account'
);
return
this
.
doItems
(
this
.
accountService
.
FetchDefault
(
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
,
isloading
),
'accountid'
,
'account'
);
}
}
...
...
app_CRM/src/widgets/opportunity/main-form/main-form.html
浏览文件 @
67986e09
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
deMajorField=
'fullname'
deMajorField=
'fullname'
deKeyField=
'contact'
deKeyField=
'contact'
:service=
"service"
:service=
"service"
:acParams=
"{
serviceName: 'ContactService', interfaceName: 'FetchDefault'
}"
:acParams=
"{ }"
valueitem=
'parentcontactid'
valueitem=
'parentcontactid'
:value=
"data.parentcontactname"
:value=
"data.parentcontactname"
editortype=
""
editortype=
""
...
...
app_CRM/src/widgets/opportunity/quick-create-form/quick-create-form-service.ts
浏览文件 @
67986e09
...
@@ -107,9 +107,6 @@ export default class QuickCreateService extends ControlService {
...
@@ -107,9 +107,6 @@ export default class QuickCreateService extends ControlService {
*/
*/
@
Errorlog
@
Errorlog
public
getItems
(
serviceName
:
string
,
interfaceName
:
string
,
context
:
any
=
{},
data
:
any
,
isloading
?:
boolean
):
Promise
<
any
[]
>
{
public
getItems
(
serviceName
:
string
,
interfaceName
:
string
,
context
:
any
=
{},
data
:
any
,
isloading
?:
boolean
):
Promise
<
any
[]
>
{
if
(
Object
.
is
(
serviceName
,
'ContactService'
)
&&
Object
.
is
(
interfaceName
,
'FetchDefault'
))
{
return
this
.
doItems
(
this
.
contactService
.
FetchDefault
(
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
,
isloading
),
'contactid'
,
'contact'
);
}
if
(
Object
.
is
(
serviceName
,
'AccountService'
)
&&
Object
.
is
(
interfaceName
,
'FetchDefault'
))
{
if
(
Object
.
is
(
serviceName
,
'AccountService'
)
&&
Object
.
is
(
interfaceName
,
'FetchDefault'
))
{
return
this
.
doItems
(
this
.
accountService
.
FetchDefault
(
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
,
isloading
),
'accountid'
,
'account'
);
return
this
.
doItems
(
this
.
accountService
.
FetchDefault
(
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
,
isloading
),
'accountid'
,
'account'
);
}
}
...
...
app_CRM/src/widgets/opportunity/quick-create-form/quick-create-form.html
浏览文件 @
67986e09
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
deMajorField=
'fullname'
deMajorField=
'fullname'
deKeyField=
'contact'
deKeyField=
'contact'
:service=
"service"
:service=
"service"
:acParams=
"{
serviceName: 'ContactService', interfaceName: 'FetchDefault'
}"
:acParams=
"{ }"
valueitem=
'parentcontactid'
valueitem=
'parentcontactid'
:value=
"data.parentcontactname"
:value=
"data.parentcontactname"
editortype=
""
editortype=
""
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录