Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
081f356c
提交
081f356c
编写于
6月 19, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
0e0fd549
变更
36
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
36 个修改的文件
包含
3464 行增加
和
565 行删除
+3464
-565
data-dictionary.json
app_BusinessCentral/public/assets/json/data-dictionary.json
+37
-0
view-config.json
app_BusinessCentral/public/assets/json/view-config.json
+10
-0
codelist_en_US.ts
...inessCentral/src/locale/lanres/codelist/codelist_en_US.ts
+6
-0
codelist_zh_CN.ts
...inessCentral/src/locale/lanres/codelist/codelist_zh_CN.ts
+6
-0
ibiz-list_en_US.ts
...l/src/locale/lanres/entities/ibiz-list/ibiz-list_en_US.ts
+7
-1
ibiz-list_zh_CN.ts
...l/src/locale/lanres/entities/ibiz-list/ibiz-list_zh_CN.ts
+7
-1
list-account_en_US.ts
...locale/lanres/entities/list-account/list-account_en_US.ts
+24
-24
list-account_zh_CN.ts
...locale/lanres/entities/list-account/list-account_zh_CN.ts
+24
-24
list-contact_en_US.ts
...locale/lanres/entities/list-contact/list-contact_en_US.ts
+35
-18
list-contact_zh_CN.ts
...locale/lanres/entities/list-contact/list-contact_zh_CN.ts
+35
-18
list-lead_en_US.ts
...l/src/locale/lanres/entities/list-lead/list-lead_en_US.ts
+0
-16
list-lead_zh_CN.ts
...l/src/locale/lanres/entities/list-lead/list-lead_zh_CN.ts
+0
-16
codelist.ts
app_BusinessCentral/src/mock/codelist/codelist.ts
+37
-0
viewconfig.ts
app_BusinessCentral/src/mock/viewconfig/viewconfig.ts
+8
-0
list-account-edit-view-base.vue
...ng/list-account-edit-view/list-account-edit-view-base.vue
+31
-366
list-account-inner-base.vue
.../marketing/list-account-inner/list-account-inner-base.vue
+380
-0
list-account-inner.less
...ages/marketing/list-account-inner/list-account-inner.less
+6
-0
list-account-inner.vue
...pages/marketing/list-account-inner/list-account-inner.vue
+19
-0
list-contact-inner-base.vue
.../marketing/list-contact-inner/list-contact-inner-base.vue
+389
-0
list-contact-inner.less
...ages/marketing/list-contact-inner/list-contact-inner.less
+8
-0
list-contact-inner.vue
...pages/marketing/list-contact-inner/list-contact-inner.vue
+19
-0
list-lead-by-list-base.vue
...es/marketing/list-lead-by-list/list-lead-by-list-base.vue
+1
-57
list-lead-by-list.vue
...c/pages/marketing/list-lead-by-list/list-lead-by-list.vue
+0
-2
page-register.ts
...usinessCentral/src/pages/ungroup/central/page-register.ts
+3
-0
router.ts
app_BusinessCentral/src/pages/ungroup/central/router.ts
+286
-0
state.ts
app_BusinessCentral/src/store/modules/view-action/state.ts
+32
-0
list-contact-ui-service-base.ts
...rc/uiservice/list-contact/list-contact-ui-service-base.ts
+1
-0
abstract-edit-form-base.vue
.../ibiz-list/abstract-edit-form/abstract-edit-form-base.vue
+4
-4
abstract-info-form-base.vue
.../ibiz-list/abstract-info-form/abstract-info-form-base.vue
+152
-8
quick-create-form-base.vue
...ts/ibiz-list/quick-create-form/quick-create-form-base.vue
+4
-4
inner-grid-base.vue
...l/src/widgets/list-contact/inner-grid/inner-grid-base.vue
+1444
-0
inner-grid-model.ts
...l/src/widgets/list-contact/inner-grid/inner-grid-model.ts
+113
-0
inner-grid-service.ts
...src/widgets/list-contact/inner-grid/inner-grid-service.ts
+318
-0
inner-grid.less
...ntral/src/widgets/list-contact/inner-grid/inner-grid.less
+4
-0
inner-grid.vue
...entral/src/widgets/list-contact/inner-grid/inner-grid.vue
+14
-0
main-grid-model.ts
...entral/src/widgets/list-lead/main-grid/main-grid-model.ts
+0
-6
未找到文件。
app_BusinessCentral/public/assets/json/data-dictionary.json
浏览文件 @
081f356c
...
...
@@ -160,6 +160,43 @@
}
]
},
{
"srfkey"
:
"List__MemberType"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"Account"
,
"label"
:
"客户"
,
"text"
:
"客户"
,
"data"
:
""
,
"codename"
:
"Account"
,
"value"
:
"Account"
,
"disabled"
:
false
}
,
{
"id"
:
"Lead"
,
"label"
:
"潜在客户"
,
"text"
:
"潜在客户"
,
"data"
:
""
,
"codename"
:
"Lead"
,
"value"
:
"Lead"
,
"disabled"
:
false
}
,
{
"id"
:
"Contact"
,
"label"
:
"联系人"
,
"text"
:
"联系人"
,
"data"
:
""
,
"codename"
:
"Contact"
,
"value"
:
"Contact"
,
"disabled"
:
false
}
]
},
{
"srfkey"
:
"Lead__IndustryCode"
,
"emptytext"
:
"未定义"
,
...
...
app_BusinessCentral/public/assets/json/view-config.json
浏览文件 @
081f356c
...
...
@@ -919,6 +919,16 @@
"viewtag"
:
"aa79d35850f36fbc1a5085353ecd5af5"
,
"memo"
:
""
},
"listcontactinner"
:
{
"title"
:
"营销列表-联系人表格视图"
,
"caption"
:
"联系人"
,
"viewtype"
:
"DEGRIDVIEW9"
,
"viewmodule"
:
"Marketing"
,
"viewname"
:
"ListContactInner"
,
"viewfilename"
:
"list-contact-inner"
,
"viewtag"
:
"aaa875342bd9286a39c2d193a150afc4"
,
"memo"
:
""
},
"quoteeditview"
:
{
"title"
:
"报价单编辑视图"
,
"caption"
:
"报价单"
,
...
...
app_BusinessCentral/src/locale/lanres/codelist/codelist_en_US.ts
浏览文件 @
081f356c
...
...
@@ -22,6 +22,12 @@ export default {
'2'
:
"Inactive"
,
empty
:
""
,
},
List__MemberType
:
{
'Account'
:
"客户"
,
'Lead'
:
"潜在客户"
,
'Contact'
:
"联系人"
,
empty
:
""
,
},
Lead__IndustryCode
:
{
'1'
:
"Accounting"
,
'2'
:
"Agriculture and Non-petrol Natural Resource Extraction"
,
...
...
app_BusinessCentral/src/locale/lanres/codelist/codelist_zh_CN.ts
浏览文件 @
081f356c
...
...
@@ -22,6 +22,12 @@ export default {
'2'
:
"Inactive"
,
empty
:
""
,
},
List__MemberType
:
{
'Account'
:
"客户"
,
'Lead'
:
"潜在客户"
,
'Contact'
:
"联系人"
,
empty
:
""
,
},
Lead__IndustryCode
:
{
'1'
:
"Accounting"
,
'2'
:
"Agriculture and Non-petrol Natural Resource Extraction"
,
...
...
app_BusinessCentral/src/locale/lanres/entities/ibiz-list/ibiz-list_en_US.ts
浏览文件 @
081f356c
...
...
@@ -134,7 +134,13 @@ export default {
},
abstractinfo_form
:
{
details
:
{
group1
:
"市场营销列表基本信息"
,
group1
:
"列表信息"
,
druipart1
:
""
,
grouppanel1
:
"成员"
,
druipart2
:
""
,
grouppanel2
:
"成员"
,
druipart3
:
""
,
grouppanel3
:
"成员"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
...
...
app_BusinessCentral/src/locale/lanres/entities/ibiz-list/ibiz-list_zh_CN.ts
浏览文件 @
081f356c
...
...
@@ -133,7 +133,13 @@ export default {
},
abstractinfo_form
:
{
details
:
{
group1
:
'市场营销列表基本信息'
,
group1
:
'列表信息'
,
druipart1
:
''
,
grouppanel1
:
'成员'
,
druipart2
:
''
,
grouppanel2
:
'成员'
,
druipart3
:
''
,
grouppanel3
:
'成员'
,
formpage1
:
'基本信息'
,
srfupdatedate
:
'更新时间'
,
srforikey
:
''
,
...
...
app_BusinessCentral/src/locale/lanres/entities/list-account/list-account_en_US.ts
浏览文件 @
081f356c
...
...
@@ -35,10 +35,12 @@ export default {
title
:
'查找客户'
,
},
},
quickcreatebylist
_form
:
{
main
_form
:
{
details
:
{
group1
:
"营销列表-账户基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"关系标识"
,
...
...
@@ -47,19 +49,15 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
entity2name
:
"选择客户:"
,
entity2id
:
"客户"
,
relationshipsid
:
"关系标识"
,
},
uiactions
:
{
},
},
main
_form
:
{
quickcreatebylist
_form
:
{
details
:
{
group1
:
"营销列表-账户基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"关系标识"
,
...
...
@@ -68,6 +66,8 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
entity2name
:
"选择客户:"
,
entity2id
:
"客户"
,
relationshipsid
:
"关系标识"
,
},
uiactions
:
{
...
...
@@ -90,6 +90,24 @@ export default {
uiactions
:
{
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"Save"
,
tip
:
"Save"
,
},
tbitem5
:
{
caption
:
"Save And Close"
,
tip
:
"Save And Close Window"
,
},
tbitem6
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem12
:
{
caption
:
"关闭"
,
tip
:
"关闭"
,
},
},
bylisttoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"New"
,
...
...
@@ -128,22 +146,4 @@ export default {
tip
:
"Filter"
,
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"Save"
,
tip
:
"Save"
,
},
tbitem5
:
{
caption
:
"Save And Close"
,
tip
:
"Save And Close Window"
,
},
tbitem6
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem12
:
{
caption
:
"关闭"
,
tip
:
"关闭"
,
},
},
};
\ No newline at end of file
app_BusinessCentral/src/locale/lanres/entities/list-account/list-account_zh_CN.ts
浏览文件 @
081f356c
...
...
@@ -34,10 +34,12 @@ export default {
title
:
'查找客户'
,
},
},
quickcreatebylist
_form
:
{
main
_form
:
{
details
:
{
group1
:
'营销列表-账户基本信息'
,
formpage1
:
'基本信息'
,
group2
:
'操作信息'
,
formpage2
:
'其它'
,
srfupdatedate
:
'更新时间'
,
srforikey
:
''
,
srfkey
:
'关系标识'
,
...
...
@@ -46,19 +48,15 @@ export default {
srfuf
:
''
,
srfdeid
:
''
,
srfsourcekey
:
''
,
entity2name
:
'选择客户:'
,
entity2id
:
'客户'
,
relationshipsid
:
'关系标识'
,
},
uiactions
:
{
},
},
main
_form
:
{
quickcreatebylist
_form
:
{
details
:
{
group1
:
'营销列表-账户基本信息'
,
formpage1
:
'基本信息'
,
group2
:
'操作信息'
,
formpage2
:
'其它'
,
srfupdatedate
:
'更新时间'
,
srforikey
:
''
,
srfkey
:
'关系标识'
,
...
...
@@ -67,6 +65,8 @@ export default {
srfuf
:
''
,
srfdeid
:
''
,
srfsourcekey
:
''
,
entity2name
:
'选择客户:'
,
entity2id
:
'客户'
,
relationshipsid
:
'关系标识'
,
},
uiactions
:
{
...
...
@@ -89,6 +89,24 @@ export default {
uiactions
:
{
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
'保存'
,
tip
:
'保存'
,
},
tbitem5
:
{
caption
:
'保存并关闭'
,
tip
:
'保存并关闭'
,
},
tbitem6
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem12
:
{
caption
:
'关闭'
,
tip
:
'关闭'
,
},
},
bylisttoolbar_toolbar
:
{
tbitem3
:
{
caption
:
'新建'
,
...
...
@@ -127,22 +145,4 @@ export default {
tip
:
'过滤'
,
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
'保存'
,
tip
:
'保存'
,
},
tbitem5
:
{
caption
:
'保存并关闭'
,
tip
:
'保存并关闭'
,
},
tbitem6
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem12
:
{
caption
:
'关闭'
,
tip
:
'关闭'
,
},
},
};
\ No newline at end of file
app_BusinessCentral/src/locale/lanres/entities/list-contact/list-contact_en_US.ts
浏览文件 @
081f356c
...
...
@@ -20,6 +20,10 @@ export default {
views
:
{
gridview
:
{
caption
:
"营销列表-联系人"
,
title
:
'营销列表-联系人表格视图'
,
},
inner
:
{
caption
:
"联系人"
,
title
:
'营销列表-联系人表格视图'
,
},
editview
:
{
...
...
@@ -46,6 +50,17 @@ export default {
uiactions
:
{
},
},
inner_grid
:
{
columns
:
{
entity2name
:
"联系人"
,
emailaddress1
:
"电子邮件"
,
parentcustomerid
:
"公司名称"
,
telephone1
:
"商务电话"
,
statecode
:
"状态"
,
},
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
entity2name
:
"联系人"
,
...
...
@@ -64,6 +79,26 @@ export default {
uiactions
:
{
},
},
innertoolbar_toolbar
:
{
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"Save"
,
tip
:
"Save"
,
},
tbitem5
:
{
caption
:
"Save And Close"
,
tip
:
"Save And Close Window"
,
},
tbitem6
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem12
:
{
caption
:
"关闭"
,
tip
:
"关闭"
,
},
},
gridviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"New"
,
...
...
@@ -102,22 +137,4 @@ export default {
tip
:
"Filter"
,
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"Save"
,
tip
:
"Save"
,
},
tbitem5
:
{
caption
:
"Save And Close"
,
tip
:
"Save And Close Window"
,
},
tbitem6
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem12
:
{
caption
:
"关闭"
,
tip
:
"关闭"
,
},
},
};
\ No newline at end of file
app_BusinessCentral/src/locale/lanres/entities/list-contact/list-contact_zh_CN.ts
浏览文件 @
081f356c
...
...
@@ -19,6 +19,10 @@ export default {
views
:
{
gridview
:
{
caption
:
'营销列表-联系人'
,
title
:
'营销列表-联系人表格视图'
,
},
inner
:
{
caption
:
'联系人'
,
title
:
'营销列表-联系人表格视图'
,
},
editview
:
{
...
...
@@ -45,6 +49,17 @@ export default {
uiactions
:
{
},
},
inner_grid
:
{
columns
:
{
entity2name
:
'联系人'
,
emailaddress1
:
'电子邮件'
,
parentcustomerid
:
'公司名称'
,
telephone1
:
'商务电话'
,
statecode
:
'状态'
,
},
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
entity2name
:
'联系人'
,
...
...
@@ -63,6 +78,26 @@ export default {
uiactions
:
{
},
},
innertoolbar_toolbar
:
{
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
'保存'
,
tip
:
'保存'
,
},
tbitem5
:
{
caption
:
'保存并关闭'
,
tip
:
'保存并关闭'
,
},
tbitem6
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem12
:
{
caption
:
'关闭'
,
tip
:
'关闭'
,
},
},
gridviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
'新建'
,
...
...
@@ -101,22 +136,4 @@ export default {
tip
:
'过滤'
,
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
'保存'
,
tip
:
'保存'
,
},
tbitem5
:
{
caption
:
'保存并关闭'
,
tip
:
'保存并关闭'
,
},
tbitem6
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem12
:
{
caption
:
'关闭'
,
tip
:
'关闭'
,
},
},
};
\ No newline at end of file
app_BusinessCentral/src/locale/lanres/entities/list-lead/list-lead_en_US.ts
浏览文件 @
081f356c
...
...
@@ -56,14 +56,6 @@ export default {
uiactions
:
{
},
},
default_searchform
:
{
details
:
{
formpage1
:
"常规条件"
,
n_entity2name_like
:
"潜在顾客(%)"
,
},
uiactions
:
{
},
},
bylisttoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"New"
,
...
...
@@ -93,13 +85,5 @@ export default {
caption
:
"Export"
,
tip
:
"Export {0} Data To Excel"
,
},
tbitem10
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem19
:
{
caption
:
"Filter"
,
tip
:
"Filter"
,
},
},
};
\ No newline at end of file
app_BusinessCentral/src/locale/lanres/entities/list-lead/list-lead_zh_CN.ts
浏览文件 @
081f356c
...
...
@@ -55,14 +55,6 @@ export default {
uiactions
:
{
},
},
default_searchform
:
{
details
:
{
formpage1
:
'常规条件'
,
n_entity2name_like
:
'潜在顾客(%)'
,
},
uiactions
:
{
},
},
bylisttoolbar_toolbar
:
{
tbitem3
:
{
caption
:
'新建'
,
...
...
@@ -92,13 +84,5 @@ export default {
caption
:
'导出'
,
tip
:
'导出'
,
},
tbitem10
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem19
:
{
caption
:
'过滤'
,
tip
:
'过滤'
,
},
},
};
\ No newline at end of file
app_BusinessCentral/src/mock/codelist/codelist.ts
浏览文件 @
081f356c
...
...
@@ -168,6 +168,43 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey
:
'List__MemberType'
,
emptytext
:
'未定义'
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
'Account'
,
label
:
"客户"
,
text
:
"客户"
,
"data"
:
""
,
"codename"
:
"Account"
,
value
:
'Account'
,
disabled
:
false
,
},
{
id
:
'Lead'
,
label
:
"潜在客户"
,
text
:
"潜在客户"
,
"data"
:
""
,
"codename"
:
"Lead"
,
value
:
'Lead'
,
disabled
:
false
,
},
{
id
:
'Contact'
,
label
:
"联系人"
,
text
:
"联系人"
,
"data"
:
""
,
"codename"
:
"Contact"
,
value
:
'Contact'
,
disabled
:
false
,
},
]
},
{
srfkey
:
'Lead__IndustryCode'
,
emptytext
:
'未定义'
,
...
...
app_BusinessCentral/src/mock/viewconfig/viewconfig.ts
浏览文件 @
081f356c
...
...
@@ -743,6 +743,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"AppointmentQuickCreate"
,
"viewtag"
:
"aa79d35850f36fbc1a5085353ecd5af5"
},
"listcontactinner"
:
{
"title"
:
"营销列表-联系人表格视图"
,
"caption"
:
"联系人"
,
"viewtype"
:
"DEGRIDVIEW9"
,
"viewmodule"
:
"Marketing"
,
"viewname"
:
"ListContactInner"
,
"viewtag"
:
"aaa875342bd9286a39c2d193a150afc4"
},
"quoteeditview"
:
{
"title"
:
"报价单编辑视图"
,
"caption"
:
"报价单"
,
...
...
app_BusinessCentral/src/pages/marketing/list-account-edit-view/list-account-edit-view-base.vue
浏览文件 @
081f356c
此差异已折叠。
点击以展开。
app_BusinessCentral/src/pages/marketing/list-account-inner/list-account-inner-base.vue
0 → 100644
浏览文件 @
081f356c
<
template
>
<studio-embed-view-style2
viewName=
"listaccountinner"
viewTitle=
"营销列表-账户表格视图"
class=
'degridview9 list-account-inner'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{
$t
(
model
.
srfTitle
)
}}
</span>
</
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-embed-view-style2>
</template>
<
script
lang=
'tsx'
>
import
{
Component
,
Prop
,
Provide
,
Emit
,
Watch
}
from
'vue-property-decorator'
;
import
{
Subject
}
from
'rxjs'
;
import
{
UIActionTool
,
Util
}
from
'@/utils'
;
import
{
VueLifeCycleProcessing
,
GridView9Base
}
from
'@/studio-core'
;
import
ListAccountService
from
'@/service/list-account/list-account-service'
;
import
GridView9Engine
from
'@engine/view/grid-view9-engine'
;
import
CodeListService
from
"@service/app/codelist-service"
;
/**
* 营销列表-账户表格视图视图基类
*
* @export
* @class ListAccountInnerBase
* @extends {GridView9Base}
*/
@
Component
({})
@
VueLifeCycleProcessing
()
export
default
class
ListAccountInnerBase
extends
GridView9Base
{
/**
* 实体服务对象
*
* @type {ListAccountService}
* @memberof ListAccountInnerBase
*/
protected
appEntityService
:
ListAccountService
=
new
ListAccountService
;
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof ListAccountInnerBase
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 自定义视图导航上下文集合
*
* @protected
* @type {*}
* @memberof ListAccountInnerBase
*/
protected
customViewNavContexts
:
any
=
{
};
/**
* 自定义视图导航参数集合
*
* @protected
* @type {*}
* @memberof ListAccountInnerBase
*/
protected
customViewParams
:
any
=
{
};
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof ListAccountInnerBase
*/
protected
model
:
any
=
{
srfCaption
:
'entities.listaccount.views.inner.caption'
,
srfTitle
:
'entities.listaccount.views.inner.title'
,
srfSubTitle
:
'entities.listaccount.views.inner.subtitle'
,
dataInfo
:
''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof ListAccountInnerBase
*/
protected
containerModel
:
any
=
{
view_grid
:
{
name
:
'grid'
,
type
:
'GRID'
},
};
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof ListAccountInnerBase
*/
public
engine
:
GridView9Engine
=
new
GridView9Engine
();
/**
* 引擎初始化
*
* @public
* @memberof ListAccountInnerBase
*/
public
engineInit
():
void
{
this
.
engine
.
init
({
view
:
this
,
opendata
:
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
=>
{
this
.
opendata
(
args
,
fullargs
,
params
,
$event
,
xData
);
},
newdata
:
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
=>
{
this
.
newdata
(
args
,
fullargs
,
params
,
$event
,
xData
);
},
grid
:
this
.
$refs
.
grid
,
keyPSDEField
:
'listaccount'
,
majorPSDEField
:
'relationshipsname'
,
isLoadDefault
:
true
,
});
}
/**
* grid 部件 selectionchange 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof ListAccountInnerBase
*/
public
grid_selectionchange
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'selectionchange'
,
$event
);
}
/**
* grid 部件 beforeload 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof ListAccountInnerBase
*/
public
grid_beforeload
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'beforeload'
,
$event
);
}
/**
* grid 部件 rowdblclick 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof ListAccountInnerBase
*/
public
grid_rowdblclick
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'rowdblclick'
,
$event
);
}
/**
* grid 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof ListAccountInnerBase
*/
public
grid_remove
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'remove'
,
$event
);
}
/**
* grid 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof ListAccountInnerBase
*/
public
grid_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'load'
,
$event
);
}
/**
* 打开新建数据视图
*
* @param {any[]} args
* @param {*} [params]
* @param {*} [fullargs]
* @param {*} [$event]
* @param {*} [xData]
* @memberof ListAccountInner
*/
public
newdata
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
{
let
localContext
:
any
=
null
;
let
localViewParam
:
any
=
null
;
}
/**
* 打开编辑数据视图
*
* @param {any[]} args
* @param {*} [params]
* @param {*} [fullargs]
* @param {*} [$event]
* @param {*} [xData]
* @memberof ListAccountInner
*/
public
opendata
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
{
let
localContext
:
any
=
null
;
let
localViewParam
:
any
=
null
;
const
data
:
any
=
{};
let
tempContext
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
if
(
args
.
length
>
0
){
Object
.
assign
(
tempContext
,
args
[
0
]);
}
let
deResParameters
:
any
[]
=
[];
if
(
tempContext
.
account
&&
true
){
deResParameters
=
[
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
]
}
const
parameters
:
any
[]
=
[
{
pathName
:
'listaccounts'
,
parameterName
:
'listaccount'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
];
const
_this
:
any
=
this
;
const
openIndexViewTab
=
(
data
:
any
)
=>
{
const
routePath
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
tempContext
,
deResParameters
,
parameters
,
args
,
data
);
this
.
$router
.
push
(
routePath
);
}
openIndexViewTab
(
data
);
}
/**
* 是否单选
*
* @type {boolean}
* @memberof ListAccountInnerBase
*/
public
isSingleSelect
:
boolean
=
false
;
/**
* 是否嵌入关系界面
*
* @type {boolean}
* @memberof ListAccountInnerBase
*/
@
Prop
({
default
:
false
})
public
isformDruipart
?:
boolean
;
/**
* 界面关系通讯对象
*
* @type {Subject<ViewState>}
* @memberof ListAccountInnerBase
*/
@
Prop
()
public
formDruipart
?:
Subject
<
ViewState
>
;
/**
* 搜索值
*
* @type {string}
* @memberof ListAccountInnerBase
*/
public
query
:
string
=
''
;
/**
* 是否展开搜索表单
*
* @type {boolean}
* @memberof ListAccountInnerBase
*/
public
isExpandSearchForm
:
boolean
=
false
;
/**
* 表格行数据默认激活模式
* 0 不激活
* 1 单击激活
* 2 双击激活
*
* @type {(number | 0 | 1 | 2)}
* @memberof ListAccountInnerBase
*/
public
gridRowActiveMode
:
number
|
0
|
1
|
2
=
2
;
/**
* 快速搜索
*
* @param {*} $event
* @memberof ListAccountInnerBase
*/
public
onSearch
(
$event
:
any
):
void
{
const
grid
:
any
=
this
.
$refs
.
grid
;
if
(
grid
)
{
grid
.
load
(
this
.
context
,
true
);
}
}
/**
* grid 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof ENTITYTEST1Usr2GridViewBase
*/
public
onSave
(
$event
:
any
)
{
this
.
$emit
(
'drdatasaved'
,
$event
);
}
/**
* 刷新数据
*
* @readonly
* @type {(number | null)}
* @memberof ListAccountInnerBase
*/
get
refreshdata
():
number
|
null
{
return
this
.
$store
.
getters
[
'viewaction/getRefreshData'
](
this
.
viewtag
);
}
/**
* 监控数据变化
*
* @param {*} newVal
* @param {*} oldVal
* @returns
* @memberof ListAccountInnerBase
*/
@
Watch
(
'refreshdata'
)
onRefreshData
(
newVal
:
any
,
oldVal
:
any
)
{
if
(
newVal
===
null
||
newVal
===
undefined
)
{
return
;
}
if
(
newVal
===
0
)
{
return
;
}
const
grid
:
any
=
this
.
$refs
.
grid
;
if
(
grid
)
{
grid
.
load
({});
}
}
}
</
script
>
<
style
lang=
'less'
>
@import './list-account-inner.less';
</
style
>
\ No newline at end of file
app_BusinessCentral/src/pages/marketing/list-account-inner/list-account-inner.less
0 → 100644
浏览文件 @
081f356c
// 避免空文件,后台不让空文件过
.list-account-inner {
--list-account-inner: 0;
}
app_BusinessCentral/src/pages/marketing/list-account-inner/list-account-inner.vue
0 → 100644
浏览文件 @
081f356c
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
ListAccountInnerBase
from
'./list-account-inner-base.vue'
;
import
view_grid
from
'@widgets/list-account/main-grid/main-grid.vue'
;
@
Component
({
components
:
{
view_grid
,
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
route
:
to
,
viewtag
:
vm
.
viewtag
});
});
},
})
export
default
class
ListAccountInner
extends
ListAccountInnerBase
{
}
</
script
>
\ No newline at end of file
app_BusinessCentral/src/pages/marketing/list-contact-inner/list-contact-inner-base.vue
0 → 100644
浏览文件 @
081f356c
<
template
>
<studio-embed-view-style2
viewName=
"listcontactinner"
viewTitle=
"营销列表-联系人表格视图"
class=
'degridview9 list-contact-inner'
>
<template
slot=
"toolbar"
>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click"
/>
</
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-embed-view-style2>
</template>
<
script
lang=
'tsx'
>
import
{
Component
,
Prop
,
Provide
,
Emit
,
Watch
}
from
'vue-property-decorator'
;
import
{
Subject
}
from
'rxjs'
;
import
{
UIActionTool
,
Util
}
from
'@/utils'
;
import
{
VueLifeCycleProcessing
,
GridView9Base
}
from
'@/studio-core'
;
import
ListContactService
from
'@/service/list-contact/list-contact-service'
;
import
GridView9Engine
from
'@engine/view/grid-view9-engine'
;
import
CodeListService
from
"@service/app/codelist-service"
;
/**
* 营销列表-联系人表格视图视图基类
*
* @export
* @class ListContactInnerBase
* @extends {GridView9Base}
*/
@
Component
({})
@
VueLifeCycleProcessing
()
export
default
class
ListContactInnerBase
extends
GridView9Base
{
/**
* 实体服务对象
*
* @type {ListContactService}
* @memberof ListContactInnerBase
*/
protected
appEntityService
:
ListContactService
=
new
ListContactService
;
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof ListContactInnerBase
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 自定义视图导航上下文集合
*
* @protected
* @type {*}
* @memberof ListContactInnerBase
*/
protected
customViewNavContexts
:
any
=
{
};
/**
* 自定义视图导航参数集合
*
* @protected
* @type {*}
* @memberof ListContactInnerBase
*/
protected
customViewParams
:
any
=
{
};
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof ListContactInnerBase
*/
protected
model
:
any
=
{
srfCaption
:
'entities.listcontact.views.inner.caption'
,
srfTitle
:
'entities.listcontact.views.inner.title'
,
srfSubTitle
:
'entities.listcontact.views.inner.subtitle'
,
dataInfo
:
''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof ListContactInnerBase
*/
protected
containerModel
:
any
=
{
view_toolbar
:
{
name
:
'toolbar'
,
type
:
'TOOLBAR'
},
view_grid
:
{
name
:
'grid'
,
type
:
'GRID'
},
};
/**
* 工具栏模型
*
* @type {*}
* @memberof ListContactInner
*/
public
toolBarModels
:
any
=
{
};
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof ListContactInnerBase
*/
public
engine
:
GridView9Engine
=
new
GridView9Engine
();
/**
* 引擎初始化
*
* @public
* @memberof ListContactInnerBase
*/
public
engineInit
():
void
{
this
.
engine
.
init
({
view
:
this
,
opendata
:
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
=>
{
this
.
opendata
(
args
,
fullargs
,
params
,
$event
,
xData
);
},
newdata
:
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
=>
{
this
.
newdata
(
args
,
fullargs
,
params
,
$event
,
xData
);
},
grid
:
this
.
$refs
.
grid
,
keyPSDEField
:
'listcontact'
,
majorPSDEField
:
'relationshipsname'
,
isLoadDefault
:
true
,
});
}
/**
* grid 部件 selectionchange 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof ListContactInnerBase
*/
public
grid_selectionchange
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'selectionchange'
,
$event
);
}
/**
* grid 部件 beforeload 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof ListContactInnerBase
*/
public
grid_beforeload
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'beforeload'
,
$event
);
}
/**
* grid 部件 rowdblclick 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof ListContactInnerBase
*/
public
grid_rowdblclick
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'rowdblclick'
,
$event
);
}
/**
* grid 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof ListContactInnerBase
*/
public
grid_remove
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'remove'
,
$event
);
}
/**
* grid 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof ListContactInnerBase
*/
public
grid_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'load'
,
$event
);
}
/**
* 打开新建数据视图
*
* @param {any[]} args
* @param {*} [params]
* @param {*} [fullargs]
* @param {*} [$event]
* @param {*} [xData]
* @memberof ListContactInner
*/
public
newdata
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
{
let
localContext
:
any
=
null
;
let
localViewParam
:
any
=
null
;
}
/**
* 打开编辑数据视图
*
* @param {any[]} args
* @param {*} [params]
* @param {*} [fullargs]
* @param {*} [$event]
* @param {*} [xData]
* @memberof ListContactInner
*/
public
opendata
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
{
let
localContext
:
any
=
null
;
let
localViewParam
:
any
=
null
;
const
data
:
any
=
{};
let
tempContext
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
if
(
args
.
length
>
0
){
Object
.
assign
(
tempContext
,
args
[
0
]);
}
let
deResParameters
:
any
[]
=
[];
if
(
tempContext
.
contact
&&
true
){
deResParameters
=
[
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
]
}
const
parameters
:
any
[]
=
[
{
pathName
:
'listcontacts'
,
parameterName
:
'listcontact'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
];
const
_this
:
any
=
this
;
const
openIndexViewTab
=
(
data
:
any
)
=>
{
const
routePath
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
tempContext
,
deResParameters
,
parameters
,
args
,
data
);
this
.
$router
.
push
(
routePath
);
}
openIndexViewTab
(
data
);
}
/**
* 是否单选
*
* @type {boolean}
* @memberof ListContactInnerBase
*/
public
isSingleSelect
:
boolean
=
false
;
/**
* 是否嵌入关系界面
*
* @type {boolean}
* @memberof ListContactInnerBase
*/
@
Prop
({
default
:
false
})
public
isformDruipart
?:
boolean
;
/**
* 界面关系通讯对象
*
* @type {Subject<ViewState>}
* @memberof ListContactInnerBase
*/
@
Prop
()
public
formDruipart
?:
Subject
<
ViewState
>
;
/**
* 搜索值
*
* @type {string}
* @memberof ListContactInnerBase
*/
public
query
:
string
=
''
;
/**
* 是否展开搜索表单
*
* @type {boolean}
* @memberof ListContactInnerBase
*/
public
isExpandSearchForm
:
boolean
=
false
;
/**
* 表格行数据默认激活模式
* 0 不激活
* 1 单击激活
* 2 双击激活
*
* @type {(number | 0 | 1 | 2)}
* @memberof ListContactInnerBase
*/
public
gridRowActiveMode
:
number
|
0
|
1
|
2
=
2
;
/**
* 快速搜索
*
* @param {*} $event
* @memberof ListContactInnerBase
*/
public
onSearch
(
$event
:
any
):
void
{
const
grid
:
any
=
this
.
$refs
.
grid
;
if
(
grid
)
{
grid
.
load
(
this
.
context
,
true
);
}
}
/**
* grid 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof ENTITYTEST1Usr2GridViewBase
*/
public
onSave
(
$event
:
any
)
{
this
.
$emit
(
'drdatasaved'
,
$event
);
}
/**
* 刷新数据
*
* @readonly
* @type {(number | null)}
* @memberof ListContactInnerBase
*/
get
refreshdata
():
number
|
null
{
return
this
.
$store
.
getters
[
'viewaction/getRefreshData'
](
this
.
viewtag
);
}
/**
* 监控数据变化
*
* @param {*} newVal
* @param {*} oldVal
* @returns
* @memberof ListContactInnerBase
*/
@
Watch
(
'refreshdata'
)
onRefreshData
(
newVal
:
any
,
oldVal
:
any
)
{
if
(
newVal
===
null
||
newVal
===
undefined
)
{
return
;
}
if
(
newVal
===
0
)
{
return
;
}
const
grid
:
any
=
this
.
$refs
.
grid
;
if
(
grid
)
{
grid
.
load
({});
}
}
}
</
script
>
<
style
lang=
'less'
>
@import './list-contact-inner.less';
</
style
>
\ No newline at end of file
app_BusinessCentral/src/pages/marketing/list-contact-inner/list-contact-inner.less
0 → 100644
浏览文件 @
081f356c
// 避免空文件,后台不让空文件过
.list-contact-inner {
--list-contact-inner: 0;
}
// 视图样式
// this is less
app_BusinessCentral/src/pages/marketing/list-contact-inner/list-contact-inner.vue
0 → 100644
浏览文件 @
081f356c
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
ListContactInnerBase
from
'./list-contact-inner-base.vue'
;
import
view_grid
from
'@widgets/list-contact/inner-grid/inner-grid.vue'
;
@
Component
({
components
:
{
view_grid
,
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
route
:
to
,
viewtag
:
vm
.
viewtag
});
});
},
})
export
default
class
ListContactInner
extends
ListContactInnerBase
{
}
</
script
>
\ No newline at end of file
app_BusinessCentral/src/pages/marketing/list-lead-by-list/list-lead-by-list-base.vue
浏览文件 @
081f356c
<
template
>
<studio-view-style2
viewName=
"listleadbylist"
viewTitle=
"营销列表-潜在客户(根据营销列表)"
class=
'degridview list-lead-by-list'
>
<i-input
slot=
"quickSearch"
v-
show=
"!isExpandSearchForm"
v-
model=
"query"
search
@
on-search=
"onSearch($event)"
/>
<i-input
slot=
"quickSearch"
v-model=
"query"
search
@
on-search=
"onSearch($event)"
/>
<template
slot=
"toolbar"
>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click"
/>
</
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"
...
...
@@ -136,7 +118,6 @@ export default class ListLeadByListBase extends GridViewBase {
protected
containerModel
:
any
=
{
view_toolbar
:
{
name
:
'toolbar'
,
type
:
'TOOLBAR'
},
view_grid
:
{
name
:
'grid'
,
type
:
'GRID'
},
view_searchform
:
{
name
:
'searchform'
,
type
:
'SEARCHFORM'
},
};
/**
...
...
@@ -158,9 +139,6 @@ export default class ListLeadByListBase extends GridViewBase {
tbitem9
:
{
name
:
'tbitem9'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem13
:
{
name
:
'tbitem13'
,
caption
:
'导出'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'导出'
,
iconcls
:
'fa fa-file-excel-o'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'ExportExcel'
,
target
:
''
},
MaxRowCount
:
1000
,
class
:
''
},
tbitem10
:
{
name
:
'tbitem10'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem19
:
{
name
:
'tbitem19'
,
caption
:
'过滤'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'过滤'
,
iconcls
:
'fa fa-filter'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'ToggleFilter'
,
target
:
''
},
class
:
''
},
};
...
...
@@ -192,7 +170,6 @@ export default class ListLeadByListBase extends GridViewBase {
this
.
newdata
(
args
,
fullargs
,
params
,
$event
,
xData
);
},
grid
:
this
.
$refs
.
grid
,
searchform
:
this
.
$refs
.
searchform
,
keyPSDEField
:
'listlead'
,
majorPSDEField
:
'relationshipsname'
,
isLoadDefault
:
true
,
...
...
@@ -291,39 +268,6 @@ export default class ListLeadByListBase extends GridViewBase {
this
.
engine
.
onCtrlEvent
(
'grid'
,
'load'
,
$event
);
}
/**
* searchform 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof ListLeadByListBase
*/
public
searchform_save
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'searchform'
,
'save'
,
$event
);
}
/**
* searchform 部件 search 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof ListLeadByListBase
*/
public
searchform_search
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'searchform'
,
'search'
,
$event
);
}
/**
* searchform 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof ListLeadByListBase
*/
public
searchform_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'searchform'
,
'load'
,
$event
);
}
/**
* 逻辑事件
*
...
...
app_BusinessCentral/src/pages/marketing/list-lead-by-list/list-lead-by-list.vue
浏览文件 @
081f356c
...
...
@@ -3,11 +3,9 @@ import { Component } from 'vue-property-decorator';
import
ListLeadByListBase
from
'./list-lead-by-list-base.vue'
;
import
view_grid
from
'@widgets/list-lead/main-grid/main-grid.vue'
;
import
view_searchform
from
'@widgets/list-lead/default-searchform/default-searchform.vue'
;
@
Component
({
components
:
{
view_grid
,
view_searchform
,
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
...
...
app_BusinessCentral/src/pages/ungroup/central/page-register.ts
浏览文件 @
081f356c
...
...
@@ -61,9 +61,11 @@ export const PageComponents = {
Vue
.
component
(
'quote-grid-view'
,
()
=>
import
(
'@pages/sales/quote-grid-view/quote-grid-view.vue'
));
Vue
.
component
(
'invoice-edit-view'
,
()
=>
import
(
'@pages/finance/invoice-edit-view/invoice-edit-view.vue'
));
Vue
.
component
(
'campaign-edit-view'
,
()
=>
import
(
'@pages/marketing/campaign-edit-view/campaign-edit-view.vue'
));
Vue
.
component
(
'list-contact-inner'
,
()
=>
import
(
'@pages/marketing/list-contact-inner/list-contact-inner.vue'
));
Vue
.
component
(
'campaign-info-campagin'
,
()
=>
import
(
'@pages/marketing/campaign-info-campagin/campaign-info-campagin.vue'
));
Vue
.
component
(
'appointment-edit-view'
,
()
=>
import
(
'@pages/base/appointment-edit-view/appointment-edit-view.vue'
));
Vue
.
component
(
'contact-tab-exp-view'
,
()
=>
import
(
'@pages/base/contact-tab-exp-view/contact-tab-exp-view.vue'
));
Vue
.
component
(
'list-account-edit-view'
,
()
=>
import
(
'@pages/marketing/list-account-edit-view/list-account-edit-view.vue'
));
Vue
.
component
(
'service-appointment-edit-view'
,
()
=>
import
(
'@pages/service/service-appointment-edit-view/service-appointment-edit-view.vue'
));
Vue
.
component
(
'contact-grid-view'
,
()
=>
import
(
'@pages/base/contact-grid-view/contact-grid-view.vue'
));
Vue
.
component
(
'transaction-currency-pickup-grid-view'
,
()
=>
import
(
'@pages/base/transaction-currency-pickup-grid-view/transaction-currency-pickup-grid-view.vue'
));
...
...
@@ -85,6 +87,7 @@ export const PageComponents = {
Vue
.
component
(
'account-info-all'
,
()
=>
import
(
'@pages/base/account-info-all/account-info-all.vue'
));
Vue
.
component
(
'activity-pointer-by-parent-key'
,
()
=>
import
(
'@pages/base/activity-pointer-by-parent-key/activity-pointer-by-parent-key.vue'
));
Vue
.
component
(
'contact-edit-abstract'
,
()
=>
import
(
'@pages/base/contact-edit-abstract/contact-edit-abstract.vue'
));
Vue
.
component
(
'list-account-inner'
,
()
=>
import
(
'@pages/marketing/list-account-inner/list-account-inner.vue'
));
Vue
.
component
(
'contact-dashboard-view'
,
()
=>
import
(
'@pages/base/contact-dashboard-view/contact-dashboard-view.vue'
));
Vue
.
component
(
'task-edit-view'
,
()
=>
import
(
'@pages/base/task-edit-view/task-edit-view.vue'
));
Vue
.
component
(
'contact-info-market'
,
()
=>
import
(
'@pages/base/contact-info-market/contact-info-market.vue'
));
...
...
app_BusinessCentral/src/pages/ungroup/central/router.ts
浏览文件 @
081f356c
此差异已折叠。
点击以展开。
app_BusinessCentral/src/store/modules/view-action/state.ts
浏览文件 @
081f356c
...
...
@@ -251,6 +251,9 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'2c6be792e84450585986e22f75dffa52'
,
'aaa875342bd9286a39c2d193a150afc4'
,
'44a690a1d62a390708480cb43f67d98b'
,
],
},
{
...
...
@@ -344,6 +347,16 @@ export const viewstate: any = {
'da3f8c1f20f440f3df54d6c13a8de586'
,
],
},
{
viewtag
:
'44a690a1d62a390708480cb43f67d98b'
,
viewmodule
:
'Marketing'
,
viewname
:
'ListAccountInner'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'49dc1a714631338858cd0441f6c720ca'
,
],
},
{
viewtag
:
'45fdc8ee4d1401d2d625e80177395ddc'
,
viewmodule
:
'Base'
,
...
...
@@ -381,6 +394,15 @@ export const viewstate: any = {
'a1b44c891ef0bbc073c82693d8489de6'
,
],
},
{
viewtag
:
'49dc1a714631338858cd0441f6c720ca'
,
viewmodule
:
'Marketing'
,
viewname
:
'ListAccountEditView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'49e5e89fb51fa9929925b532841b2549'
,
viewmodule
:
'Sales'
,
...
...
@@ -826,6 +848,16 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'aaa875342bd9286a39c2d193a150afc4'
,
viewmodule
:
'Marketing'
,
viewname
:
'ListContactInner'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'c7d0ca0f6fa1b27bbd1b5c422d1a108d'
,
],
},
{
viewtag
:
'ad6abf83dc1bc466b988194cd868d98a'
,
viewmodule
:
'Sales'
,
...
...
app_BusinessCentral/src/uiservice/list-contact/list-contact-ui-service-base.ts
浏览文件 @
081f356c
...
...
@@ -80,6 +80,7 @@ export default class ListContactUIServiceBase extends UIService {
*/
public
initViewMap
(){
this
.
allViewMap
.
set
(
'MDATAVIEW:'
,{
viewname
:
'gridview'
,
srfappde
:
'listcontacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'inner'
,
srfappde
:
'listcontacts'
});
this
.
allViewMap
.
set
(
'EDITVIEW:'
,{
viewname
:
'editview'
,
srfappde
:
'listcontacts'
});
}
...
...
app_BusinessCentral/src/widgets/ibiz-list/abstract-edit-form/abstract-edit-form-base.vue
浏览文件 @
081f356c
...
...
@@ -525,10 +525,10 @@ export default class AbstractEditBase extends Vue implements ControlInterface {
{
required
:
false
,
type
:
'string'
,
message
:
'用途 值不能为空'
,
trigger
:
'blur'
},
],
membertype
:
[
{
type
:
'
number'
,
message
:
'目标对象 值必须为数值
类型'
,
trigger
:
'change'
},
{
type
:
'
number'
,
message
:
'目标对象 值必须为数值
类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'
number
'
,
message
:
'目标对象 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'
number
'
,
message
:
'目标对象 值不能为空'
,
trigger
:
'blur'
},
{
type
:
'
string'
,
message
:
'目标对象 值必须为字符串
类型'
,
trigger
:
'change'
},
{
type
:
'
string'
,
message
:
'目标对象 值必须为字符串
类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'
string
'
,
message
:
'目标对象 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'
string
'
,
message
:
'目标对象 值不能为空'
,
trigger
:
'blur'
},
],
source
:
[
{
type
:
'string'
,
message
:
'来源 值必须为字符串类型'
,
trigger
:
'change'
},
...
...
app_BusinessCentral/src/widgets/ibiz-list/abstract-info-form/abstract-info-form-base.vue
浏览文件 @
081f356c
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/ibiz-list/quick-create-form/quick-create-form-base.vue
浏览文件 @
081f356c
...
...
@@ -618,10 +618,10 @@ export default class QuickCreateBase extends Vue implements ControlInterface {
{
required
:
true
,
type
:
'string'
,
message
:
'名称 值不能为空'
,
trigger
:
'blur'
},
],
membertype
:
[
{
type
:
'
number'
,
message
:
'目标对象 值必须为数值
类型'
,
trigger
:
'change'
},
{
type
:
'
number'
,
message
:
'目标对象 值必须为数值
类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'
number
'
,
message
:
'目标对象 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'
number
'
,
message
:
'目标对象 值不能为空'
,
trigger
:
'blur'
},
{
type
:
'
string'
,
message
:
'目标对象 值必须为字符串
类型'
,
trigger
:
'change'
},
{
type
:
'
string'
,
message
:
'目标对象 值必须为字符串
类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'
string
'
,
message
:
'目标对象 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'
string
'
,
message
:
'目标对象 值不能为空'
,
trigger
:
'blur'
},
],
type
:
[
{
type
:
'number'
,
message
:
'类型 值必须为数值类型'
,
trigger
:
'change'
},
...
...
app_BusinessCentral/src/widgets/list-contact/inner-grid/inner-grid-base.vue
0 → 100644
浏览文件 @
081f356c
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/list-contact/inner-grid/inner-grid-model.ts
0 → 100644
浏览文件 @
081f356c
/**
* Inner 部件模型
*
* @export
* @class InnerModel
*/
export
default
class
InnerModel
{
/**
* 是否是实体数据导出
*
* @returns {any[]}
* @memberof InnerGridMode
*/
public
isDEExport
:
boolean
=
false
;
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof InnerGridMode
*/
public
getDataItems
():
any
[]
{
if
(
this
.
isDEExport
){
return
[
]
}
else
{
return
[
{
name
:
'telephone1'
,
prop
:
'telephone1'
,
dataType
:
'PICKUPDATA'
,
},
{
name
:
'entity2id'
,
prop
:
'entity2id'
,
dataType
:
'PICKUP'
,
},
{
name
:
'statecode'
,
prop
:
'statecode'
,
dataType
:
'PICKUPDATA'
,
},
{
name
:
'emailaddress1'
,
prop
:
'emailaddress1'
,
dataType
:
'PICKUPDATA'
,
},
{
name
:
'entityid'
,
prop
:
'entityid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'parentcustomerid'
,
prop
:
'parentcustomerid'
,
dataType
:
'PICKUPDATA'
,
},
{
name
:
'srfmajortext'
,
prop
:
'relationshipsname'
,
dataType
:
'TEXT'
,
},
{
name
:
'srfdataaccaction'
,
prop
:
'relationshipsid'
,
dataType
:
'GUID'
,
},
{
name
:
'srfkey'
,
prop
:
'relationshipsid'
,
dataType
:
'GUID'
,
},
{
name
:
'entity2name'
,
prop
:
'entity2name'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'listcontact'
,
prop
:
'relationshipsid'
,
},
{
name
:
'size'
,
prop
:
'size'
},
{
name
:
'query'
,
prop
:
'query'
},
{
name
:
'page'
,
prop
:
'page'
},
{
name
:
'sort'
,
prop
:
'sort'
},
{
name
:
'srfparentdata'
,
prop
:
'srfparentdata'
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name
:
'srffrontuf'
,
prop
:
'srffrontuf'
,
dataType
:
'TEXT'
,
},
]
}
}
}
\ No newline at end of file
app_BusinessCentral/src/widgets/list-contact/inner-grid/inner-grid-service.ts
0 → 100644
浏览文件 @
081f356c
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/list-contact/inner-grid/inner-grid.less
0 → 100644
浏览文件 @
081f356c
.grid {
--grid: 0;
}
// this is less
app_BusinessCentral/src/widgets/list-contact/inner-grid/inner-grid.vue
0 → 100644
浏览文件 @
081f356c
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
InnerBase
from
'./inner-grid-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
Inner
extends
InnerBase
{
}
</
script
>
\ No newline at end of file
app_BusinessCentral/src/widgets/list-lead/main-grid/main-grid-model.ts
浏览文件 @
081f356c
...
...
@@ -75,12 +75,6 @@ export default class MainModel {
name
:
'listlead'
,
prop
:
'relationshipsid'
,
},
{
name
:
'n_entity2name_like'
,
prop
:
'n_entity2name_like'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'size'
,
prop
:
'size'
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录