Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
39d4e1bd
提交
39d4e1bd
编写于
6月 18, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
0bbf0531
变更
15
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
15 个修改的文件
包含
4069 行增加
和
7 行删除
+4069
-7
list-account-by-list-base.vue
...keting/list-account-by-list/list-account-by-list-base.vue
+1338
-0
list-account-by-list.less
.../marketing/list-account-by-list/list-account-by-list.less
+8
-0
list-account-by-list.vue
...s/marketing/list-account-by-list/list-account-by-list.vue
+21
-0
list-account-quick-create-by-list-base.vue
...create-by-list/list-account-quick-create-by-list-base.vue
+554
-0
list-account-quick-create-by-list.less
...ick-create-by-list/list-account-quick-create-by-list.less
+9
-0
list-account-quick-create-by-list.vue
...uick-create-by-list/list-account-quick-create-by-list.vue
+19
-0
router.ts
app_BusinessCentral/src/pages/ungroup/central/router.ts
+82
-0
state.ts
app_BusinessCentral/src/store/modules/view-action/state.ts
+19
-0
default-searchform-base.vue
...st-account/default-searchform/default-searchform-base.vue
+2
-2
main-grid-base.vue
...ral/src/widgets/list-account/main-grid/main-grid-base.vue
+5
-5
quick-create-by-list-form-base.vue
...ck-create-by-list-form/quick-create-by-list-form-base.vue
+1547
-0
quick-create-by-list-form-model.ts
...ck-create-by-list-form/quick-create-by-list-form-model.ts
+76
-0
quick-create-by-list-form-service.ts
...-create-by-list-form/quick-create-by-list-form-service.ts
+371
-0
quick-create-by-list-form.less
.../quick-create-by-list-form/quick-create-by-list-form.less
+4
-0
quick-create-by-list-form.vue
...t/quick-create-by-list-form/quick-create-by-list-form.vue
+14
-0
未找到文件。
app_BusinessCentral/src/pages/marketing/list-account-by-list/list-account-by-list-base.vue
0 → 100644
浏览文件 @
39d4e1bd
此差异已折叠。
点击以展开。
app_BusinessCentral/src/pages/marketing/list-account-by-list/list-account-by-list.less
0 → 100644
浏览文件 @
39d4e1bd
// 避免空文件,后台不让空文件过
.list-account-by-list {
--list-account-by-list: 0;
}
// 视图样式
// this is less
app_BusinessCentral/src/pages/marketing/list-account-by-list/list-account-by-list.vue
0 → 100644
浏览文件 @
39d4e1bd
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
ListAccountByListBase
from
'./list-account-by-list-base.vue'
;
import
view_grid
from
'@widgets/list-account/main-grid/main-grid.vue'
;
import
view_searchform
from
'@widgets/list-account/default-searchform/default-searchform.vue'
;
@
Component
({
components
:
{
view_grid
,
view_searchform
,
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
route
:
to
,
viewtag
:
vm
.
viewtag
});
});
},
})
export
default
class
ListAccountByList
extends
ListAccountByListBase
{
}
</
script
>
\ No newline at end of file
app_BusinessCentral/src/pages/marketing/list-account-quick-create-by-list/list-account-quick-create-by-list-base.vue
0 → 100644
浏览文件 @
39d4e1bd
此差异已折叠。
点击以展开。
app_BusinessCentral/src/pages/marketing/list-account-quick-create-by-list/list-account-quick-create-by-list.less
0 → 100644
浏览文件 @
39d4e1bd
.option-view {
--option-view: 0;
}
// 避免空文件,后台不让空文件过
.list-account-quick-create-by-list {
--list-account-quick-create-by-list: 0;
}
app_BusinessCentral/src/pages/marketing/list-account-quick-create-by-list/list-account-quick-create-by-list.vue
0 → 100644
浏览文件 @
39d4e1bd
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
ListAccountQuickCreateByListBase
from
'./list-account-quick-create-by-list-base.vue'
;
import
view_form
from
'@widgets/list-account/quick-create-by-list-form/quick-create-by-list-form.vue'
;
@
Component
({
components
:
{
view_form
,
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
route
:
to
,
viewtag
:
vm
.
viewtag
});
});
},
})
export
default
class
ListAccountQuickCreateByList
extends
ListAccountQuickCreateByListBase
{
}
</
script
>
\ No newline at end of file
app_BusinessCentral/src/pages/ungroup/central/router.ts
浏览文件 @
39d4e1bd
...
...
@@ -2382,6 +2382,47 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sales/lead-quick-create/lead-quick-create.vue'
),
},
{
path
:
'/ibizlists/:ibizlist?/listaccounts/:listaccount?/bylist/:bylist?'
,
meta
:
{
caption
:
'entities.listaccount.views.bylist.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizlists'
,
parameterName
:
'ibizlist'
},
{
pathName
:
'listaccounts'
,
parameterName
:
'listaccount'
},
{
pathName
:
'bylist'
,
parameterName
:
'bylist'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/marketing/list-account-by-list/list-account-by-list.vue'
),
},
{
path
:
'/accounts/:account?/listaccounts/:listaccount?/bylist/:bylist?'
,
meta
:
{
caption
:
'entities.listaccount.views.bylist.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'listaccounts'
,
parameterName
:
'listaccount'
},
{
pathName
:
'bylist'
,
parameterName
:
'bylist'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/marketing/list-account-by-list/list-account-by-list.vue'
),
},
{
path
:
'/listaccounts/:listaccount?/bylist/:bylist?'
,
meta
:
{
caption
:
'entities.listaccount.views.bylist.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'listaccounts'
,
parameterName
:
'listaccount'
},
{
pathName
:
'bylist'
,
parameterName
:
'bylist'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/marketing/list-account-by-list/list-account-by-list.vue'
),
},
{
path
:
'/campaigns/:campaign?/summary_head/:summary_head?'
,
meta
:
{
...
...
@@ -2967,6 +3008,47 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/marketing/ibiz-list-summary/ibiz-list-summary.vue'
),
},
{
path
:
'/ibizlists/:ibizlist?/listaccounts/:listaccount?/quickcreatebylist/:quickcreatebylist?'
,
meta
:
{
caption
:
'entities.listaccount.views.quickcreatebylist.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizlists'
,
parameterName
:
'ibizlist'
},
{
pathName
:
'listaccounts'
,
parameterName
:
'listaccount'
},
{
pathName
:
'quickcreatebylist'
,
parameterName
:
'quickcreatebylist'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/marketing/list-account-quick-create-by-list/list-account-quick-create-by-list.vue'
),
},
{
path
:
'/accounts/:account?/listaccounts/:listaccount?/quickcreatebylist/:quickcreatebylist?'
,
meta
:
{
caption
:
'entities.listaccount.views.quickcreatebylist.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'listaccounts'
,
parameterName
:
'listaccount'
},
{
pathName
:
'quickcreatebylist'
,
parameterName
:
'quickcreatebylist'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/marketing/list-account-quick-create-by-list/list-account-quick-create-by-list.vue'
),
},
{
path
:
'/listaccounts/:listaccount?/quickcreatebylist/:quickcreatebylist?'
,
meta
:
{
caption
:
'entities.listaccount.views.quickcreatebylist.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'listaccounts'
,
parameterName
:
'listaccount'
},
{
pathName
:
'quickcreatebylist'
,
parameterName
:
'quickcreatebylist'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/marketing/list-account-quick-create-by-list/list-account-quick-create-by-list.vue'
),
},
{
path
:
'/appointments/:appointment?/editview/:editview?'
,
meta
:
{
...
...
app_BusinessCentral/src/store/modules/view-action/state.ts
浏览文件 @
39d4e1bd
...
...
@@ -321,6 +321,16 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'4799b0e7139b537ebe9313a004daa0ac'
,
viewmodule
:
'Marketing'
,
viewname
:
'ListAccountByList'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'a1b44c891ef0bbc073c82693d8489de6'
,
],
},
{
viewtag
:
'51785f69973d8e6b0b1e002a03626fc7'
,
viewmodule
:
'Marketing'
,
...
...
@@ -659,6 +669,15 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'a1b44c891ef0bbc073c82693d8489de6'
,
viewmodule
:
'Marketing'
,
viewname
:
'ListAccountQuickCreateByList'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'a50134133db91e46c8434ad0ebff22c7'
,
viewmodule
:
'Base'
,
...
...
app_BusinessCentral/src/widgets/list-account/default-searchform/default-searchform-base.vue
浏览文件 @
39d4e1bd
...
...
@@ -561,7 +561,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'ListAccount
GridView
视图搜索表单loadAction参数未配置'
});
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'ListAccount
ByList
视图搜索表单loadAction参数未配置'
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -598,7 +598,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'ListAccount
GridView
视图搜索表单loaddraftAction参数未配置'
});
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'ListAccount
ByList
视图搜索表单loaddraftAction参数未配置'
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_BusinessCentral/src/widgets/list-account/main-grid/main-grid-base.vue
浏览文件 @
39d4e1bd
...
...
@@ -665,7 +665,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{},
pageReset
:
boolean
=
false
):
void
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'ListAccount
GridView
视图表格fetchAction参数未配置'
});
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'ListAccount
ByList
视图表格fetchAction参数未配置'
});
return
;
}
if
(
pageReset
){
...
...
@@ -742,7 +742,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'ListAccount
GridView
视图表格removeAction参数未配置'
});
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'ListAccount
ByList
视图表格removeAction参数未配置'
});
return
;
}
let
_datas
:
any
[]
=
[];
...
...
@@ -848,7 +848,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
addBatch
(
arg
:
any
=
{}):
void
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'ListAccount
GridView
视图表格fetchAction参数未配置'
});
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'ListAccount
ByList
视图表格fetchAction参数未配置'
});
return
;
}
if
(
!
arg
){
...
...
@@ -1394,7 +1394,7 @@ export default class MainBase extends Vue implements ControlInterface {
try
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
)){
if
(
!
this
.
createAction
){
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'ListAccount
GridView
视图表格createAction参数未配置'
});
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'ListAccount
ByList
视图表格createAction参数未配置'
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
let
response
=
await
this
.
service
.
add
(
this
.
createAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
item
,
this
.
showBusyIndicator
);
...
...
@@ -1402,7 +1402,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
){
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'ListAccount
GridView
视图表格updateAction参数未配置'
});
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'ListAccount
ByList
视图表格updateAction参数未配置'
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
listaccount
){
...
...
app_BusinessCentral/src/widgets/list-account/quick-create-by-list-form/quick-create-by-list-form-base.vue
0 → 100644
浏览文件 @
39d4e1bd
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/list-account/quick-create-by-list-form/quick-create-by-list-form-model.ts
0 → 100644
浏览文件 @
39d4e1bd
/**
* QuickCreateByList 部件模型
*
* @export
* @class QuickCreateByListModel
*/
export
default
class
QuickCreateByListModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof QuickCreateByListModel
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'srfwfmemo'
,
prop
:
'srfwfmemo'
,
dataType
:
'TEXT'
,
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name
:
'srffrontuf'
,
prop
:
'srffrontuf'
,
dataType
:
'TEXT'
,
},
{
name
:
'srfupdatedate'
,
prop
:
'updatedate'
,
dataType
:
'DATETIME'
,
},
{
name
:
'srforikey'
,
},
{
name
:
'srfkey'
,
prop
:
'relationshipsid'
,
dataType
:
'GUID'
,
},
{
name
:
'srfmajortext'
,
prop
:
'relationshipsname'
,
dataType
:
'TEXT'
,
},
{
name
:
'srftempmode'
,
},
{
name
:
'srfuf'
,
},
{
name
:
'srfdeid'
,
},
{
name
:
'srfsourcekey'
,
},
{
name
:
'entity2name'
,
prop
:
'entity2name'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'relationshipsid'
,
prop
:
'relationshipsid'
,
dataType
:
'GUID'
,
},
{
name
:
'listaccount'
,
prop
:
'relationshipsid'
,
dataType
:
'FONTKEY'
,
},
]
}
}
\ No newline at end of file
app_BusinessCentral/src/widgets/list-account/quick-create-by-list-form/quick-create-by-list-form-service.ts
0 → 100644
浏览文件 @
39d4e1bd
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/list-account/quick-create-by-list-form/quick-create-by-list-form.less
0 → 100644
浏览文件 @
39d4e1bd
.form {
--form: 0px;
}
// this is less
app_BusinessCentral/src/widgets/list-account/quick-create-by-list-form/quick-create-by-list-form.vue
0 → 100644
浏览文件 @
39d4e1bd
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
QuickCreateByListBase
from
'./quick-create-by-list-form-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
QuickCreateByList
extends
QuickCreateByListBase
{
}
</
script
>
\ No newline at end of file
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录