Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
4954f2fd
提交
4954f2fd
编写于
6月 18, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
fda5856e
变更
17
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
17 个修改的文件
包含
1130 行增加
和
232 行删除
+1130
-232
activity-pointer_en_US.ts
...anres/entities/activity-pointer/activity-pointer_en_US.ts
+38
-38
activity-pointer_zh_CN.ts
...anres/entities/activity-pointer/activity-pointer_zh_CN.ts
+38
-38
campaign-response_en_US.ts
...res/entities/campaign-response/campaign-response_en_US.ts
+47
-47
campaign-response_zh_CN.ts
...res/entities/campaign-response/campaign-response_zh_CN.ts
+47
-47
list-account_en_US.ts
...locale/lanres/entities/list-account/list-account_en_US.ts
+0
-1
list-account_zh_CN.ts
...locale/lanres/entities/list-account/list-account_zh_CN.ts
+0
-1
state.ts
app_BusinessCentral/src/store/modules/view-action/state.ts
+1
-1
tab-exp-viewtabexppanel-tabexppanel-base.vue
...-tabexppanel/tab-exp-viewtabexppanel-tabexppanel-base.vue
+26
-2
tab-exp-viewtabexppanel-tabexppanel.vue
...panel-tabexppanel/tab-exp-viewtabexppanel-tabexppanel.vue
+2
-0
tab-exp-viewtabviewpanel4-tabviewpanel-base.vue
...viewpanel/tab-exp-viewtabviewpanel4-tabviewpanel-base.vue
+283
-0
tab-exp-viewtabviewpanel4-tabviewpanel-model.ts
...viewpanel/tab-exp-viewtabviewpanel4-tabviewpanel-model.ts
+622
-0
tab-exp-viewtabviewpanel4-tabviewpanel-service.ts
...ewpanel/tab-exp-viewtabviewpanel4-tabviewpanel-service.ts
+11
-0
tab-exp-viewtabviewpanel4-tabviewpanel.less
...-tabviewpanel/tab-exp-viewtabviewpanel4-tabviewpanel.less
+1
-0
tab-exp-viewtabviewpanel4-tabviewpanel.vue
...4-tabviewpanel/tab-exp-viewtabviewpanel4-tabviewpanel.vue
+14
-0
quick-create-by-list-form-base.vue
...ck-create-by-list-form/quick-create-by-list-form-base.vue
+0
-40
quick-create-by-list-form-model.ts
...ck-create-by-list-form/quick-create-by-list-form-model.ts
+0
-5
quick-create-by-list-form-service.ts
...-create-by-list-form/quick-create-by-list-form-service.ts
+0
-12
未找到文件。
app_BusinessCentral/src/locale/lanres/entities/activity-pointer/activity-pointer_en_US.ts
浏览文件 @
4954f2fd
...
...
@@ -113,44 +113,6 @@ export default {
uiactions
:
{
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"Save"
,
tip
:
"Save"
,
},
tbitem4
:
{
caption
:
"Save And New"
,
tip
:
"Save And New"
,
},
tbitem5
:
{
caption
:
"Save And Close"
,
tip
:
"Save And Close Window"
,
},
tbitem6
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem7
:
{
caption
:
"Remove And Close"
,
tip
:
"Remove And Close Window"
,
},
tbitem8
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem12
:
{
caption
:
"New"
,
tip
:
"New"
,
},
tbitem13
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem14
:
{
caption
:
"Copy"
,
tip
:
"Copy {0}"
,
},
},
byparentkeytoolbar_toolbar
:
{
items1
:
{
caption
:
"新建"
,
...
...
@@ -189,4 +151,42 @@ export default {
tip
:
"Remove {0}"
,
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"Save"
,
tip
:
"Save"
,
},
tbitem4
:
{
caption
:
"Save And New"
,
tip
:
"Save And New"
,
},
tbitem5
:
{
caption
:
"Save And Close"
,
tip
:
"Save And Close Window"
,
},
tbitem6
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem7
:
{
caption
:
"Remove And Close"
,
tip
:
"Remove And Close Window"
,
},
tbitem8
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem12
:
{
caption
:
"New"
,
tip
:
"New"
,
},
tbitem13
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem14
:
{
caption
:
"Copy"
,
tip
:
"Copy {0}"
,
},
},
};
\ No newline at end of file
app_BusinessCentral/src/locale/lanres/entities/activity-pointer/activity-pointer_zh_CN.ts
浏览文件 @
4954f2fd
...
...
@@ -112,44 +112,6 @@ export default {
uiactions
:
{
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
'保存'
,
tip
:
'保存'
,
},
tbitem4
:
{
caption
:
'保存并新建'
,
tip
:
'保存并新建'
,
},
tbitem5
:
{
caption
:
'保存并关闭'
,
tip
:
'保存并关闭'
,
},
tbitem6
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem7
:
{
caption
:
'删除并关闭'
,
tip
:
'删除并关闭'
,
},
tbitem8
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem12
:
{
caption
:
'新建'
,
tip
:
'新建'
,
},
tbitem13
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem14
:
{
caption
:
'拷贝'
,
tip
:
'拷贝'
,
},
},
byparentkeytoolbar_toolbar
:
{
items1
:
{
caption
:
'新建'
,
...
...
@@ -188,4 +150,42 @@ export default {
tip
:
'删除'
,
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
'保存'
,
tip
:
'保存'
,
},
tbitem4
:
{
caption
:
'保存并新建'
,
tip
:
'保存并新建'
,
},
tbitem5
:
{
caption
:
'保存并关闭'
,
tip
:
'保存并关闭'
,
},
tbitem6
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem7
:
{
caption
:
'删除并关闭'
,
tip
:
'删除并关闭'
,
},
tbitem8
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem12
:
{
caption
:
'新建'
,
tip
:
'新建'
,
},
tbitem13
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem14
:
{
caption
:
'拷贝'
,
tip
:
'拷贝'
,
},
},
};
\ No newline at end of file
app_BusinessCentral/src/locale/lanres/entities/campaign-response/campaign-response_en_US.ts
浏览文件 @
4954f2fd
...
...
@@ -100,10 +100,12 @@ export default {
title
:
'campaignresponse编辑视图'
,
},
},
quickcreate
_form
:
{
main
_form
:
{
details
:
{
group1
:
"campaignresponse基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"市场活动响应"
,
...
...
@@ -113,18 +115,19 @@ export default {
srfdeid
:
""
,
srfsourcekey
:
""
,
subject
:
"主题"
,
regardingobjectid
:
"关于"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
activityid
:
"市场活动响应"
,
},
uiactions
:
{
},
},
main
_form
:
{
quickcreate
_form
:
{
details
:
{
group1
:
"campaignresponse基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"市场活动响应"
,
...
...
@@ -134,10 +137,7 @@ export default {
srfdeid
:
""
,
srfsourcekey
:
""
,
subject
:
"主题"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
regardingobjectid
:
"关于"
,
activityid
:
"市场活动响应"
,
},
uiactions
:
{
...
...
@@ -159,44 +159,6 @@ export default {
uiactions
:
{
},
},
byparentkeytoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"New"
,
tip
:
"New"
,
},
tbitem4
:
{
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
},
tbitem6
:
{
caption
:
"Copy"
,
tip
:
"Copy {0}"
,
},
tbitem7
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem8
:
{
caption
:
"Remove"
,
tip
:
"Remove {0}"
,
},
tbitem9
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem13
:
{
caption
:
"Export"
,
tip
:
"Export {0} Data To Excel"
,
},
tbitem10
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem19
:
{
caption
:
"Filter"
,
tip
:
"Filter"
,
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"Save"
,
...
...
@@ -235,4 +197,42 @@ export default {
tip
:
"Copy {0}"
,
},
},
byparentkeytoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"New"
,
tip
:
"New"
,
},
tbitem4
:
{
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
},
tbitem6
:
{
caption
:
"Copy"
,
tip
:
"Copy {0}"
,
},
tbitem7
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem8
:
{
caption
:
"Remove"
,
tip
:
"Remove {0}"
,
},
tbitem9
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem13
:
{
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/campaign-response/campaign-response_zh_CN.ts
浏览文件 @
4954f2fd
...
...
@@ -99,10 +99,12 @@ export default {
title
:
'campaignresponse编辑视图'
,
},
},
quickcreate
_form
:
{
main
_form
:
{
details
:
{
group1
:
'campaignresponse基本信息'
,
formpage1
:
'基本信息'
,
group2
:
'操作信息'
,
formpage2
:
'其它'
,
srfupdatedate
:
'更新时间'
,
srforikey
:
''
,
srfkey
:
'市场活动响应'
,
...
...
@@ -112,18 +114,19 @@ export default {
srfdeid
:
''
,
srfsourcekey
:
''
,
subject
:
'主题'
,
regardingobjectid
:
'关于'
,
createman
:
'建立人'
,
createdate
:
'建立时间'
,
updateman
:
'更新人'
,
updatedate
:
'更新时间'
,
activityid
:
'市场活动响应'
,
},
uiactions
:
{
},
},
main
_form
:
{
quickcreate
_form
:
{
details
:
{
group1
:
'campaignresponse基本信息'
,
formpage1
:
'基本信息'
,
group2
:
'操作信息'
,
formpage2
:
'其它'
,
srfupdatedate
:
'更新时间'
,
srforikey
:
''
,
srfkey
:
'市场活动响应'
,
...
...
@@ -133,10 +136,7 @@ export default {
srfdeid
:
''
,
srfsourcekey
:
''
,
subject
:
'主题'
,
createman
:
'建立人'
,
createdate
:
'建立时间'
,
updateman
:
'更新人'
,
updatedate
:
'更新时间'
,
regardingobjectid
:
'关于'
,
activityid
:
'市场活动响应'
,
},
uiactions
:
{
...
...
@@ -158,44 +158,6 @@ export default {
uiactions
:
{
},
},
byparentkeytoolbar_toolbar
:
{
tbitem3
:
{
caption
:
'新建'
,
tip
:
'新建'
,
},
tbitem4
:
{
caption
:
'编辑'
,
tip
:
'编辑'
,
},
tbitem6
:
{
caption
:
'拷贝'
,
tip
:
'拷贝'
,
},
tbitem7
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem8
:
{
caption
:
'删除'
,
tip
:
'删除'
,
},
tbitem9
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem13
:
{
caption
:
'导出'
,
tip
:
'导出'
,
},
tbitem10
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem19
:
{
caption
:
'过滤'
,
tip
:
'过滤'
,
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
'保存'
,
...
...
@@ -234,4 +196,42 @@ export default {
tip
:
'拷贝'
,
},
},
byparentkeytoolbar_toolbar
:
{
tbitem3
:
{
caption
:
'新建'
,
tip
:
'新建'
,
},
tbitem4
:
{
caption
:
'编辑'
,
tip
:
'编辑'
,
},
tbitem6
:
{
caption
:
'拷贝'
,
tip
:
'拷贝'
,
},
tbitem7
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem8
:
{
caption
:
'删除'
,
tip
:
'删除'
,
},
tbitem9
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem13
:
{
caption
:
'导出'
,
tip
:
'导出'
,
},
tbitem10
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem19
:
{
caption
:
'过滤'
,
tip
:
'过滤'
,
},
},
};
\ No newline at end of file
app_BusinessCentral/src/locale/lanres/entities/list-account/list-account_en_US.ts
浏览文件 @
4954f2fd
...
...
@@ -40,7 +40,6 @@ export default {
srfdeid
:
""
,
srfsourcekey
:
""
,
entity2name
:
"客户"
,
entity2id
:
"客户"
,
relationshipsid
:
"关系标识"
,
},
uiactions
:
{
...
...
app_BusinessCentral/src/locale/lanres/entities/list-account/list-account_zh_CN.ts
浏览文件 @
4954f2fd
...
...
@@ -39,7 +39,6 @@ export default {
srfdeid
:
''
,
srfsourcekey
:
''
,
entity2name
:
'客户'
,
entity2id
:
'客户'
,
relationshipsid
:
'关系标识'
,
},
uiactions
:
{
...
...
app_BusinessCentral/src/store/modules/view-action/state.ts
浏览文件 @
4954f2fd
...
...
@@ -676,7 +676,6 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'29bfcd628ab25e297248ff0524d12908'
,
],
},
{
...
...
@@ -987,6 +986,7 @@ export const viewstate: any = {
refviews
:
[
'15d12c1173fcb6e742b6a6d92cbc53ed'
,
'5f8f689d5dccc3db6d2b74a24a8b24ef'
,
'bae77557d2f7a7852b634dc5d5a93435'
,
'6168a7e787ead13b1e0f9a55007bc68c'
,
],
},
...
...
app_BusinessCentral/src/widgets/contact/tab-exp-viewtabexppanel-tabexppanel/tab-exp-viewtabexppanel-tabexppanel-base.vue
浏览文件 @
4954f2fd
...
...
@@ -30,7 +30,30 @@
@
closeview=
"closeView($event)"
>
</view
_tabviewpanel
>
</tab-pane>
<tab-pane
:index=
"1"
name=
'tabviewpanel2'
tab=
'tabexpviewtabexppanel'
class=
''
<tab-pane
:index=
"1"
name=
'tabviewpanel4'
tab=
'tabexpviewtabexppanel'
class=
''
:label=
"(h) =>
{
return h('div', [
h('span', '活动'),
h('Badge', {
props: {
count: undefined,
type: 'primary'
}
})
])
}" >
<view
_tabviewpanel4
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
v-if=
"isInit.tabviewpanel4"
name=
"tabviewpanel4"
ref=
'tabviewpanel4'
@
viewpanelDatasChange =
"tabViewPanelDatasChange"
@
closeview=
"closeView($event)"
>
</view
_tabviewpanel4
>
</tab-pane>
<tab-pane
:index=
"2"
name=
'tabviewpanel2'
tab=
'tabexpviewtabexppanel'
class=
''
:label=
"(h) =>
{
return h('div', [
h('i',{
...
...
@@ -59,7 +82,7 @@
@
closeview=
"closeView($event)"
>
</view
_tabviewpanel2
>
</tab-pane>
<tab-pane
:index=
"
2
"
name=
'tabviewpanel3'
tab=
'tabexpviewtabexppanel'
class=
''
<tab-pane
:index=
"
3
"
name=
'tabviewpanel3'
tab=
'tabexpviewtabexppanel'
class=
''
:label=
"(h) =>
{
return h('div', [
h('span', '商机'),
...
...
@@ -217,6 +240,7 @@ export default class TabExpViewtabexppanelBase extends Vue implements ControlInt
*/
public
isInit
:
any
=
{
tabviewpanel
:
true
,
tabviewpanel4
:
false
,
tabviewpanel2
:
false
,
tabviewpanel3
:
false
,
}
...
...
app_BusinessCentral/src/widgets/contact/tab-exp-viewtabexppanel-tabexppanel/tab-exp-viewtabexppanel-tabexppanel.vue
浏览文件 @
4954f2fd
...
...
@@ -2,6 +2,7 @@
import
{
Component
}
from
'vue-property-decorator'
;
import
TabExpViewtabexppanelBase
from
'./tab-exp-viewtabexppanel-tabexppanel-base.vue'
;
import
view_tabviewpanel
from
'@widgets/contact/tab-exp-viewtabviewpanel-tabviewpanel/tab-exp-viewtabviewpanel-tabviewpanel.vue'
;
import
view_tabviewpanel4
from
'@widgets/contact/tab-exp-viewtabviewpanel4-tabviewpanel/tab-exp-viewtabviewpanel4-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'
;
...
...
@@ -9,6 +10,7 @@ import view_tabviewpanel3 from '@widgets/contact/tab-exp-viewtabviewpanel3-tabvi
@
Component
({
components
:
{
view_tabviewpanel
,
view_tabviewpanel4
,
view_tabviewpanel2
,
view_tabviewpanel3
,
...
...
app_BusinessCentral/src/widgets/contact/tab-exp-viewtabviewpanel4-tabviewpanel/tab-exp-viewtabviewpanel4-tabviewpanel-base.vue
0 → 100644
浏览文件 @
4954f2fd
<
template
>
<div
class=
'tabviewpanel'
style=
"height:100%;"
v-if =
'isActivied'
>
<activity-pointer-by-parent-key
class=
'viewcontainer2'
:viewdata=
"viewdata"
:viewparam=
"viewparam"
@
viewload=
"viewDatasChange($event)"
:viewDefaultUsage=
"false"
>
</activity-pointer-by-parent-key>
</div>
</
template
>
<
script
lang=
'tsx'
>
import
{
Vue
,
Component
,
Prop
,
Provide
,
Emit
,
Watch
,
Model
}
from
'vue-property-decorator'
;
import
{
CreateElement
}
from
'vue'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
ControlInterface
}
from
'@/interface/control'
;
import
{
UIActionTool
,
Util
}
from
'@/utils'
;
import
ContactService
from
'@/service/contact/contact-service'
;
import
TabExpViewtabviewpanel4Service
from
'./tab-exp-viewtabviewpanel4-tabviewpanel-service'
;
@
Component
({
components
:
{
}
})
export
default
class
TabExpViewtabviewpanel4Base
extends
Vue
implements
ControlInterface
{
/**
* 名称
*
* @type {string}
* @memberof TabExpViewtabviewpanel4
*/
@
Prop
()
public
name
?:
string
;
/**
* 视图通讯对象
*
* @type {Subject<ViewState>}
* @memberof TabExpViewtabviewpanel4
*/
@
Prop
()
public
viewState
!
:
Subject
<
ViewState
>
;
/**
* 应用上下文
*
* @type {*}
* @memberof TabExpViewtabviewpanel4
*/
@
Prop
()
public
context
:
any
;
/**
* 视图参数
*
* @type {*}
* @memberof TabExpViewtabviewpanel4
*/
@
Prop
()
public
viewparams
:
any
;
/**
* 视图状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof TabExpViewtabviewpanel4
*/
public
viewStateEvent
:
Subscription
|
undefined
;
/**
* 获取部件类型
*
* @returns {string}
* @memberof TabExpViewtabviewpanel4
*/
public
getControlType
():
string
{
return
'TABVIEWPANEL'
}
/**
* 建构部件服务对象
*
* @type {TabExpViewtabviewpanel4Service}
* @memberof TabExpViewtabviewpanel4
*/
public
service
:
TabExpViewtabviewpanel4Service
=
new
TabExpViewtabviewpanel4Service
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {ContactService}
* @memberof TabExpViewtabviewpanel4
*/
public
appEntityService
:
ContactService
=
new
ContactService
({
$store
:
this
.
$store
});
/**
* 关闭视图
*
* @param {any} args
* @memberof TabExpViewtabviewpanel4
*/
public
closeView
(
args
:
any
):
void
{
let
_this
:
any
=
this
;
_this
.
$emit
(
'closeview'
,
[
args
]);
}
/**
* 计数器刷新
*
* @memberof TabExpViewtabviewpanel4
*/
public
counterRefresh
(){
const
_this
:
any
=
this
;
if
(
_this
.
counterServiceArray
&&
_this
.
counterServiceArray
.
length
>
0
){
_this
.
counterServiceArray
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
refreshData
&&
item
.
refreshData
instanceof
Function
){
item
.
refreshData
();
}
})
}
}
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof TabExpViewtabviewpanel4
*/
public
getDatas
():
any
[]
{
return
[];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof TabExpViewtabviewpanel4
*/
public
getData
():
any
{
return
null
;
}
/**
* 是否被激活
*
* @type {boolean}
* @memberof TabExpViewtabviewpanel4
*/
public
isActivied
:
boolean
=
true
;
/**
* 局部上下文
*
* @type {*}
* @memberof TabExpViewtabviewpanel4
*/
public
localContext
:
any
=
null
;
/**
* 局部视图参数
*
* @type {*}
* @memberof TabExpViewtabviewpanel4
*/
public
localViewParam
:
any
=
null
;
/**
* 传入上下文
*
* @type {string}
* @memberof TabExpViewtabviewpanel
*/
public
viewdata
:
string
=
JSON
.
stringify
(
this
.
context
);
/**
* 传入视图参数
*
* @type {string}
* @memberof PickupViewpickupviewpanel
*/
public
viewparam
:
string
=
JSON
.
stringify
(
this
.
viewparams
);
/**
* 视图面板过滤项
*
* @type {string}
* @memberof TabExpViewtabviewpanel4
*/
public
navfilter
:
string
=
""
;
/**
* vue 生命周期
*
* @returns
* @memberof TabExpViewtabviewpanel4
*/
public
created
()
{
this
.
afterCreated
();
}
/**
* 执行created后的逻辑
*
* @memberof TabExpViewtabviewpanel4
*/
public
afterCreated
(){
this
.
initNavParam
();
if
(
this
.
viewState
)
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
if
(
!
Object
.
is
(
tag
,
this
.
name
))
{
return
;
}
this
.
$forceUpdate
();
this
.
initNavParam
();
});
}
}
/**
* 初始化导航参数
*
* @memberof TabExpViewtabviewpanel4
*/
public
initNavParam
(){
if
(
!
Object
.
is
(
this
.
navfilter
,
""
)){
Object
.
assign
(
this
.
viewparams
,{[
this
.
navfilter
]:
this
.
context
[
'majorentity'
]})
}
if
(
this
.
localContext
&&
Object
.
keys
(
this
.
localContext
).
length
>
0
){
let
_context
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localContext
);
Object
.
assign
(
this
.
context
,
_context
);
}
if
(
this
.
localViewParam
&&
Object
.
keys
(
this
.
localViewParam
).
length
>
0
){
let
_param
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localViewParam
);
Object
.
assign
(
this
.
viewparams
,
_param
);
}
this
.
viewdata
=
JSON
.
stringify
(
this
.
context
);
this
.
viewparam
=
JSON
.
stringify
(
this
.
viewparams
);
}
/**
* 视图数据变化
*
* @memberof TabExpViewtabviewpanel4
*/
public
viewDatasChange
(
$event
:
any
){
this
.
$emit
(
'viewpanelDatasChange'
,
$event
);
}
/**
* vue 生命周期
*
* @memberof TabExpViewtabviewpanel4
*/
public
destroyed
()
{
this
.
afterDestroy
();
}
/**
* 执行destroyed后的逻辑
*
* @memberof TabExpViewtabviewpanel4
*/
public
afterDestroy
()
{
if
(
this
.
viewStateEvent
)
{
this
.
viewStateEvent
.
unsubscribe
();
}
}
}
</
script
>
<
style
lang=
'less'
>
@import './tab-exp-viewtabviewpanel4-tabviewpanel.less';
</
style
>
\ No newline at end of file
app_BusinessCentral/src/widgets/contact/tab-exp-viewtabviewpanel4-tabviewpanel/tab-exp-viewtabviewpanel4-tabviewpanel-model.ts
0 → 100644
浏览文件 @
4954f2fd
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/contact/tab-exp-viewtabviewpanel4-tabviewpanel/tab-exp-viewtabviewpanel4-tabviewpanel-service.ts
0 → 100644
浏览文件 @
4954f2fd
import
{
Http
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
/**
* TabExpViewtabviewpanel4 部件服务对象
*
* @export
* @class TabExpViewtabviewpanel4Service
*/
export
default
class
TabExpViewtabviewpanel4Service
extends
ControlService
{
}
\ No newline at end of file
app_BusinessCentral/src/widgets/contact/tab-exp-viewtabviewpanel4-tabviewpanel/tab-exp-viewtabviewpanel4-tabviewpanel.less
0 → 100644
浏览文件 @
4954f2fd
// this is less
app_BusinessCentral/src/widgets/contact/tab-exp-viewtabviewpanel4-tabviewpanel/tab-exp-viewtabviewpanel4-tabviewpanel.vue
0 → 100644
浏览文件 @
4954f2fd
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
TabExpViewtabviewpanel4Base
from
'./tab-exp-viewtabviewpanel4-tabviewpanel-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
TabExpViewtabviewpanel4
extends
TabExpViewtabviewpanel4Base
{
}
</
script
>
\ No newline at end of file
app_BusinessCentral/src/widgets/list-account/quick-create-by-list-form/quick-create-by-list-form-base.vue
浏览文件 @
4954f2fd
...
...
@@ -9,24 +9,6 @@
<i-col
v-show=
"detailsModel.entity2name.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'entity2name'
:itemRules=
"this.rules.entity2name"
class=
''
:caption=
"$t('entities.listaccount.quickcreatebylist_form.details.entity2name')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.entity2name.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-picker-select-view
:formState=
"formState"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }'
:localParam ='{ }'
:disabled="detailsModel.entity2name.disabled"
name='entity2name'
deMajorField='accountname'
deKeyField='account'
:service="service"
valueitem='entity2id'
:value="data.entity2name"
:pickupView="{ viewname: 'account-pickup-view', title: $t('entities.account.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'accounts', parameterName: 'account' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
style=""
@formitemvaluechange="onFormItemValueChange">
</app-picker-select-view>
</app-form-item>
...
...
@@ -343,7 +325,6 @@ export default class QuickCreateByListBase extends Vue implements ControlInterfa
srfdeid
:
null
,
srfsourcekey
:
null
,
entity2name
:
null
,
entity2id
:
null
,
relationshipsid
:
null
,
listaccount
:
null
,
};
...
...
@@ -441,12 +422,6 @@ export default class QuickCreateByListBase extends Vue implements ControlInterfa
{
required
:
false
,
type
:
'string'
,
message
:
'客户 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
'客户 值不能为空'
,
trigger
:
'blur'
},
],
entity2id
:
[
{
type
:
'string'
,
message
:
'客户 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'客户 值必须为字符串类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'string'
,
message
:
'客户 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
'客户 值不能为空'
,
trigger
:
'blur'
},
],
relationshipsid
:
[
{
type
:
'string'
,
message
:
'关系标识 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'关系标识 值必须为字符串类型'
,
trigger
:
'blur'
},
...
...
@@ -483,8 +458,6 @@ export default class QuickCreateByListBase extends Vue implements ControlInterfa
srfsourcekey
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfsourcekey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
entity2name
:
new
FormItemModel
({
caption
:
'客户'
,
detailType
:
'FORMITEM'
,
name
:
'entity2name'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
entity2id
:
new
FormItemModel
({
caption
:
'客户'
,
detailType
:
'FORMITEM'
,
name
:
'entity2id'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
relationshipsid
:
new
FormItemModel
({
caption
:
'关系标识'
,
detailType
:
'FORMITEM'
,
name
:
'relationshipsid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
...
...
@@ -598,18 +571,6 @@ export default class QuickCreateByListBase extends Vue implements ControlInterfa
this
.
formDataChange
({
name
:
'entity2name'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 entity2id 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof QuickCreateByList
*/
@
Watch
(
'data.entity2id'
)
onEntity2idChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'entity2id'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 relationshipsid 值
*
...
...
@@ -670,7 +631,6 @@ export default class QuickCreateByListBase extends Vue implements ControlInterfa
}
/**
...
...
app_BusinessCentral/src/widgets/list-account/quick-create-by-list-form/quick-create-by-list-form-model.ts
浏览文件 @
4954f2fd
...
...
@@ -60,11 +60,6 @@ export default class QuickCreateByListModel {
prop
:
'entity2name'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'entity2id'
,
prop
:
'entity2id'
,
dataType
:
'PICKUP'
,
},
{
name
:
'relationshipsid'
,
prop
:
'relationshipsid'
,
...
...
app_BusinessCentral/src/widgets/list-account/quick-create-by-list-form/quick-create-by-list-form-service.ts
浏览文件 @
4954f2fd
...
...
@@ -2,7 +2,6 @@ import { Http,Util,Errorlog } from '@/utils';
import
ControlService
from
'@/widgets/control-service'
;
import
ListAccountService
from
'@/service/list-account/list-account-service'
;
import
QuickCreateByListModel
from
'./quick-create-by-list-form-model'
;
import
AccountService
from
'@/service/account/account-service'
;
/**
...
...
@@ -42,14 +41,6 @@ export default class QuickCreateByListService extends ControlService {
this
.
model
=
new
QuickCreateByListModel
();
}
/**
* 客户服务对象
*
* @type {AccountService}
* @memberof QuickCreateByListService
*/
public
accountService
:
AccountService
=
new
AccountService
();
/**
* 处理数据
*
...
...
@@ -89,9 +80,6 @@ export default class QuickCreateByListService extends ControlService {
*/
@
Errorlog
public
getItems
(
serviceName
:
string
,
interfaceName
:
string
,
context
:
any
=
{},
data
:
any
,
isloading
?:
boolean
):
Promise
<
any
[]
>
{
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
Promise
.
reject
([])
}
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录