Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
2763f456
提交
2763f456
编写于
7月 09, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
e308dddc
变更
27
展开全部
显示空白字符变更
内嵌
并排
正在显示
27 个修改的文件
包含
1397 行增加
和
526 行删除
+1397
-526
data-dictionary.json
app_CRM/public/assets/json/data-dictionary.json
+46
-0
view-config.json
app_CRM/public/assets/json/view-config.json
+10
-0
app-register.ts
app_CRM/src/app-register.ts
+2
-0
codelist_en_US.ts
app_CRM/src/locale/lanres/codelist/codelist_en_US.ts
+9
-0
codelist_zh_CN.ts
app_CRM/src/locale/lanres/codelist/codelist_zh_CN.ts
+9
-0
contact_en_US.ts
app_CRM/src/locale/lanres/entities/contact/contact_en_US.ts
+44
-0
contact_zh_CN.ts
app_CRM/src/locale/lanres/entities/contact/contact_zh_CN.ts
+44
-0
codelist.ts
app_CRM/src/mock/codelist/codelist.ts
+46
-0
viewconfig.ts
app_CRM/src/mock/viewconfig/viewconfig.ts
+8
-0
contact-info-base.tsx
app_CRM/src/pages/base/contact-info/contact-info-base.tsx
+1
-1
contact-info.html
app_CRM/src/pages/base/contact-info/contact-info.html
+19
-10
contact-info.vue
app_CRM/src/pages/base/contact-info/contact-info.vue
+2
-2
account-service-base.ts
app_CRM/src/service/account/account-service-base.ts
+50
-50
campaign-service-base.ts
app_CRM/src/service/campaign/campaign-service-base.ts
+52
-52
ibiz-list-service-base.ts
app_CRM/src/service/ibiz-list/ibiz-list-service-base.ts
+50
-50
opportunity-service-base.ts
app_CRM/src/service/opportunity/opportunity-service-base.ts
+223
-223
product-service-base.ts
app_CRM/src/service/product/product-service-base.ts
+47
-47
sales-literature-service-base.ts
...service/sales-literature/sales-literature-service-base.ts
+41
-41
contact-ui-service-base.ts
app_CRM/src/uiservice/contact/contact-ui-service-base.ts
+1
-0
date-panel-form-base.tsx
.../widgets/contact/date-panel-form/date-panel-form-base.tsx
+119
-0
date-panel-form-model.ts
.../widgets/contact/date-panel-form/date-panel-form-model.ts
+86
-0
date-panel-form-service.ts
...idgets/contact/date-panel-form/date-panel-form-service.ts
+371
-0
date-panel-form.html
.../src/widgets/contact/date-panel-form/date-panel-form.html
+37
-0
date-panel-form.less
.../src/widgets/contact/date-panel-form/date-panel-form.less
+8
-0
date-panel-form.vue
...M/src/widgets/contact/date-panel-form/date-panel-form.vue
+25
-0
quick-create-form.html
...src/widgets/task/quick-create-form/quick-create-form.html
+17
-20
h2_table.xml
...esscentral-core/src/main/resources/liquibase/h2_table.xml
+30
-30
未找到文件。
app_CRM/public/assets/json/data-dictionary.json
浏览文件 @
2763f456
...
...
@@ -2914,6 +2914,35 @@
}
]
},
{
"srfkey"
:
"Contact__StatusCode"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"2"
,
"label"
:
"停用"
,
"text"
:
"停用"
,
"data"
:
""
,
"codename"
:
"Item_2"
,
"color"
:
"rgba(255, 25, 0, 1)"
,
"value"
:
"2"
,
"disabled"
:
false
}
,
{
"id"
:
"1"
,
"label"
:
"可用"
,
"text"
:
"可用"
,
"data"
:
""
,
"codename"
:
"Item_1"
,
"color"
:
"rgba(0, 255, 72, 1)"
,
"value"
:
"1"
,
"disabled"
:
false
}
]
},
{
"srfkey"
:
"PickDataType"
,
"emptytext"
:
"未定义"
,
...
...
@@ -3451,6 +3480,23 @@
}
]
},
{
"srfkey"
:
"Contact__CustomerSizeCode"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"1"
,
"label"
:
"默认值"
,
"text"
:
"默认值"
,
"data"
:
""
,
"codename"
:
"Item_1"
,
"value"
:
"1"
,
"disabled"
:
false
}
]
},
{
"srfkey"
:
"Goal__FiscalYear"
,
"emptytext"
:
"未定义"
,
...
...
app_CRM/public/assets/json/view-config.json
浏览文件 @
2763f456
...
...
@@ -1289,6 +1289,16 @@
"viewtag"
:
"78862ad65295f145e7520291f1183604"
,
"memo"
:
"系统自动添加"
},
"contactedit_datapanelview"
:
{
"title"
:
"头部信息编辑"
,
"caption"
:
"联系人"
,
"viewtype"
:
"DEEDITVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"ContactEdit_DataPanelView"
,
"viewfilename"
:
"contact-edit-data-panel-view"
,
"viewtag"
:
"791f1cf310878383aaec921c83adb1d5"
,
"memo"
:
""
},
"leadinfo_contact"
:
{
"title"
:
"潜在顾客信息"
,
"caption"
:
"潜在顾客"
,
...
...
app_CRM/src/app-register.ts
浏览文件 @
2763f456
...
...
@@ -74,6 +74,7 @@ import ContextMenuDrag from './components/context-menu-drag/context-menu-drag.vu
import
AppOrgSelect
from
'./components/app-org-select/app-org-select.vue'
import
AppDepartmentSelect
from
'./components/app-department-select/app-department-select.vue'
import
AppGroupSelect
from
'./components/app-group-select/app-group-select.vue'
import
FilterTree
from
'./components/filter-tree/filter-tree.vue'
;
// 全局挂载UI实体服务注册中心
window
[
'uiServiceRegister'
]
=
uiServiceRegister
;
// 全局挂载功能服务注册中心
...
...
@@ -159,5 +160,6 @@ export const AppComponents = {
v
.
component
(
'app-wf-approval'
,
AppWFApproval
);
v
.
component
(
'app-transfer'
,
AppTransfer
);
v
.
component
(
'context-menu-drag'
,
ContextMenuDrag
);
v
.
component
(
'filter-tree'
,
FilterTree
);
},
};
\ No newline at end of file
app_CRM/src/locale/lanres/codelist/codelist_en_US.ts
浏览文件 @
2763f456
...
...
@@ -364,6 +364,11 @@ export default {
"2"
:
"送货地址"
,
"empty"
:
""
},
Contact__StatusCode
:
{
"2"
:
"停用"
,
"1"
:
"可用"
,
"empty"
:
""
},
PickDataType
:
{
"ACCOUNT"
:
"客户"
,
"CONTACT"
:
"联系人"
,
...
...
@@ -443,6 +448,10 @@ export default {
"5"
:
"已暂停"
,
"empty"
:
""
},
Contact__CustomerSizeCode
:
{
"1"
:
"默认值"
,
"empty"
:
""
},
Goal__FiscalYear
:
{
"1970"
:
"1970 财年"
,
"1971"
:
"1971 财年"
,
...
...
app_CRM/src/locale/lanres/codelist/codelist_zh_CN.ts
浏览文件 @
2763f456
...
...
@@ -364,6 +364,11 @@ export default {
"2"
:
"送货地址"
,
"empty"
:
""
,
},
Contact__StatusCode
:
{
"2"
:
"停用"
,
"1"
:
"可用"
,
"empty"
:
""
,
},
PickDataType
:
{
"ACCOUNT"
:
"客户"
,
"CONTACT"
:
"联系人"
,
...
...
@@ -443,6 +448,10 @@ export default {
"5"
:
"已暂停"
,
"empty"
:
""
,
},
Contact__CustomerSizeCode
:
{
"1"
:
"默认值"
,
"empty"
:
""
,
},
Goal__FiscalYear
:
{
"1970"
:
"1970 财年"
,
"1971"
:
"1971 财年"
,
...
...
app_CRM/src/locale/lanres/entities/contact/contact_en_US.ts
浏览文件 @
2763f456
...
...
@@ -249,6 +249,10 @@ export default {
caption
:
"地址信息"
,
title
:
"联系人选项操作视图"
,
},
edit_datapanelview
:
{
caption
:
"联系人"
,
title
:
"头部信息编辑"
,
},
pickupgridview
:
{
caption
:
"联系人"
,
title
:
"联系人选择表格视图"
,
...
...
@@ -387,6 +391,26 @@ export default {
uiactions
:
{
},
},
datepanel_form
:
{
details
:
{
group1
:
"联系人基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"联系人"
,
srfmajortext
:
"全名"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
customersizecode
:
"客户规模"
,
statuscode
:
"状态"
,
owneridyominame
:
"负责人"
,
contactid
:
"联系人"
,
},
uiactions
:
{
},
},
marketedit_form
:
{
details
:
{
group1
:
"联系人基本信息"
,
...
...
@@ -496,6 +520,26 @@ export default {
uiactions
:
{
},
},
edit_datapanel_form
:
{
details
:
{
group1
:
"联系人基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"联系人"
,
srfmajortext
:
"全名"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
customersizecode
:
"客户规模"
,
statuscode
:
"状态"
,
owneridyominame
:
"负责人"
,
contactid
:
"联系人"
,
},
uiactions
:
{
},
},
addressinfo_form
:
{
details
:
{
group1
:
"联系人基本信息"
,
...
...
app_CRM/src/locale/lanres/entities/contact/contact_zh_CN.ts
浏览文件 @
2763f456
...
...
@@ -248,6 +248,10 @@ export default {
caption
:
"地址信息"
,
title
:
"联系人选项操作视图"
,
},
edit_datapanelview
:
{
caption
:
"联系人"
,
title
:
"头部信息编辑"
,
},
pickupgridview
:
{
caption
:
"联系人"
,
title
:
"联系人选择表格视图"
,
...
...
@@ -386,6 +390,26 @@ export default {
uiactions
:
{
},
},
datepanel_form
:
{
details
:
{
group1
:
"联系人基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"联系人"
,
srfmajortext
:
"全名"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
customersizecode
:
"客户规模"
,
statuscode
:
"状态"
,
owneridyominame
:
"负责人"
,
contactid
:
"联系人"
,
},
uiactions
:
{
},
},
marketedit_form
:
{
details
:
{
group1
:
"联系人基本信息"
,
...
...
@@ -495,6 +519,26 @@ export default {
uiactions
:
{
},
},
edit_datapanel_form
:
{
details
:
{
group1
:
"联系人基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"联系人"
,
srfmajortext
:
"全名"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
customersizecode
:
"客户规模"
,
statuscode
:
"状态"
,
owneridyominame
:
"负责人"
,
contactid
:
"联系人"
,
},
uiactions
:
{
},
},
addressinfo_form
:
{
details
:
{
group1
:
"联系人基本信息"
,
...
...
app_CRM/src/mock/codelist/codelist.ts
浏览文件 @
2763f456
...
...
@@ -2922,6 +2922,35 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey
:
"Contact__StatusCode"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"2"
,
label
:
"停用"
,
text
:
"停用"
,
"data"
:
""
,
"codename"
:
"Item_2"
,
"color"
:
"rgba(255, 25, 0, 1)"
,
value
:
"2"
,
disabled
:
false
,
},
{
id
:
"1"
,
label
:
"可用"
,
text
:
"可用"
,
"data"
:
""
,
"codename"
:
"Item_1"
,
"color"
:
"rgba(0, 255, 72, 1)"
,
value
:
"1"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"PickDataType"
,
emptytext
:
"未定义"
,
...
...
@@ -3459,6 +3488,23 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey
:
"Contact__CustomerSizeCode"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"1"
,
label
:
"默认值"
,
text
:
"默认值"
,
"data"
:
""
,
"codename"
:
"Item_1"
,
value
:
"1"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"Goal__FiscalYear"
,
emptytext
:
"未定义"
,
...
...
app_CRM/src/mock/viewconfig/viewconfig.ts
浏览文件 @
2763f456
...
...
@@ -1039,6 +1039,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"QuoteOppQuaGridView"
,
"viewtag"
:
"78862ad65295f145e7520291f1183604"
},
"contactedit_datapanelview"
:
{
"title"
:
"头部信息编辑"
,
"caption"
:
"联系人"
,
"viewtype"
:
"DEEDITVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"ContactEdit_DataPanelView"
,
"viewtag"
:
"791f1cf310878383aaec921c83adb1d5"
},
"leadinfo_contact"
:
{
"title"
:
"潜在顾客信息"
,
"caption"
:
"潜在顾客"
,
...
...
app_CRM/src/pages/base/contact-info/contact-info-base.tsx
浏览文件 @
2763f456
...
...
@@ -80,7 +80,7 @@ export class ContactInfoBase extends TabExpViewBase {
* @memberof ContactInfoBase
*/
protected
containerModel
:
any
=
{
view_datapanel
:
{
name
:
'datapanel'
,
type
:
'
PANEL
'
},
view_datapanel
:
{
name
:
'datapanel'
,
type
:
'
FORM
'
},
view_toolbar
:
{
name
:
'toolbar'
,
type
:
'TOOLBAR'
},
view_tabexppanel
:
{
name
:
'tabexppanel'
,
type
:
'TABEXPPANEL'
},
};
...
...
app_CRM/src/pages/base/contact-info/contact-info.html
浏览文件 @
2763f456
...
...
@@ -3,16 +3,25 @@
<span
class=
'caption-info'
>
{{$t(model.srfTitle)}}
</span>
</template>
<template
slot=
"dataPanel"
>
<
layout
_datapanel
<
view
_datapanel
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:parentRef=
"thisRef"
:inputData=
"inputData"
@
panelDataChange=
"($event)=>{onPanelDataChange(item,$event)}"
:autosave=
"false"
:viewtag=
"viewtag"
:showBusyIndicator=
"true"
updateAction=
"Update"
removeAction=
"Remove"
loaddraftAction=
"GetDraft"
loadAction=
"Get"
createAction=
"Create"
WFSubmitAction=
""
WFStartAction=
""
style=
''
name=
"datapanel"
ref=
'datapanel'
>
</layout
_datapanel
>
ref=
'datapanel'
@
closeview=
"closeView($event)"
>
</view
_datapanel
>
</template>
<template
slot=
"toolbar"
>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click($event)"
/>
</template>
...
...
app_CRM/src/pages/base/contact-info/contact-info.vue
浏览文件 @
2763f456
...
...
@@ -3,7 +3,7 @@
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { ContactInfoBase } from './contact-info-base';
import
layout_datapanel from '@widgets/contact/data-panel-panel/data-panel-panel
.vue';
import
view_datapanel from '@widgets/contact/date-panel-form/date-panel-form
.vue';
import view_tabexppanel from '@widgets/contact/infotabexppanel-tabexppanel/infotabexppanel-tabexppanel.vue';
/**
...
...
@@ -15,7 +15,7 @@ import view_tabexppanel from '@widgets/contact/infotabexppanel-tabexppanel/infot
*/
@Component({
components: {
layout
_datapanel,
view
_datapanel,
view_tabexppanel,
}
})
...
...
app_CRM/src/service/account/account-service-base.ts
浏览文件 @
2763f456
此差异已折叠。
点击以展开。
app_CRM/src/service/campaign/campaign-service-base.ts
浏览文件 @
2763f456
此差异已折叠。
点击以展开。
app_CRM/src/service/ibiz-list/ibiz-list-service-base.ts
浏览文件 @
2763f456
此差异已折叠。
点击以展开。
app_CRM/src/service/opportunity/opportunity-service-base.ts
浏览文件 @
2763f456
此差异已折叠。
点击以展开。
app_CRM/src/service/product/product-service-base.ts
浏览文件 @
2763f456
此差异已折叠。
点击以展开。
app_CRM/src/service/sales-literature/sales-literature-service-base.ts
浏览文件 @
2763f456
此差异已折叠。
点击以展开。
app_CRM/src/uiservice/contact/contact-ui-service-base.ts
浏览文件 @
2763f456
...
...
@@ -90,6 +90,7 @@ export default class ContactUIServiceBase extends UIService {
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'summaryview'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'stopgridview'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'editaddress'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'edit_datapanelview'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'pickupgridview'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'byaccount'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'info_address'
,
srfappde
:
'contacts'
});
...
...
app_CRM/src/widgets/contact/date-panel-form/date-panel-form-base.tsx
0 → 100644
浏览文件 @
2763f456
import
{
Prop
,
Provide
,
Emit
,
Model
}
from
'vue-property-decorator'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
Watch
,
EditFormControlBase
}
from
'@/studio-core'
;
import
ContactService
from
'@/service/contact/contact-service'
;
import
DatePanelService
from
'./date-panel-form-service'
;
import
{
FormButtonModel
,
FormPageModel
,
FormItemModel
,
FormDRUIPartModel
,
FormPartModel
,
FormGroupPanelModel
,
FormIFrameModel
,
FormRowItemModel
,
FormTabPageModel
,
FormTabPanelModel
,
FormUserControlModel
}
from
'@/model/form-detail'
;
/**
* datapanel部件基类
*
* @export
* @class EditFormControlBase
* @extends {DatePanelEditFormBase}
*/
export
class
DatePanelEditFormBase
extends
EditFormControlBase
{
/**
* 获取部件类型
*
* @protected
* @type {string}
* @memberof DatePanelEditFormBase
*/
protected
controlType
:
string
=
'FORM'
;
/**
* 建构部件服务对象
*
* @type {DatePanelService}
* @memberof DatePanelEditFormBase
*/
public
service
:
DatePanelService
=
new
DatePanelService
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {ContactService}
* @memberof DatePanelEditFormBase
*/
public
appEntityService
:
ContactService
=
new
ContactService
({
$store
:
this
.
$store
});
/**
* 应用实体名称
*
* @protected
* @type {string}
* @memberof DatePanelEditFormBase
*/
protected
appDeName
:
string
=
'contact'
;
/**
* 表单数据对象
*
* @type {*}
* @memberof DatePanelEditFormBase
*/
public
data
:
any
=
{
srfupdatedate
:
null
,
srforikey
:
null
,
srfkey
:
null
,
srfmajortext
:
null
,
srftempmode
:
null
,
srfuf
:
null
,
srfdeid
:
null
,
srfsourcekey
:
null
,
customersizecode
:
null
,
statuscode
:
null
,
owneridyominame
:
null
,
contactid
:
null
,
contact
:
null
,
};
/**
* 属性值规则
*
* @type {*}
* @memberof DatePanelEditFormBase
*/
public
rules
:
any
=
{
}
/**
* 详情模型集合
*
* @type {*}
* @memberof DatePanelEditFormBase
*/
public
detailsModel
:
any
=
{
group1
:
new
FormGroupPanelModel
({
caption
:
'联系人基本信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group1'
,
visible
:
true
,
isShowCaption
:
false
,
form
:
this
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.contact.datepanel_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
}),
formpage1
:
new
FormPageModel
({
caption
:
'基本信息'
,
detailType
:
'FORMPAGE'
,
name
:
'formpage1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
}),
srfupdatedate
:
new
FormItemModel
({
caption
:
'更新时间'
,
detailType
:
'FORMITEM'
,
name
:
'srfupdatedate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
0
}),
srforikey
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srforikey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
srfkey
:
new
FormItemModel
({
caption
:
'联系人'
,
detailType
:
'FORMITEM'
,
name
:
'srfkey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
srfmajortext
:
new
FormItemModel
({
caption
:
'全名'
,
detailType
:
'FORMITEM'
,
name
:
'srfmajortext'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
srftempmode
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srftempmode'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
srfuf
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfuf'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
srfdeid
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfdeid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
srfsourcekey
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfsourcekey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
customersizecode
:
new
FormItemModel
({
caption
:
'客户规模'
,
detailType
:
'FORMITEM'
,
name
:
'customersizecode'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
statuscode
:
new
FormItemModel
({
caption
:
'状态'
,
detailType
:
'FORMITEM'
,
name
:
'statuscode'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
owneridyominame
:
new
FormItemModel
({
caption
:
'负责人'
,
detailType
:
'FORMITEM'
,
name
:
'owneridyominame'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
contactid
:
new
FormItemModel
({
caption
:
'联系人'
,
detailType
:
'FORMITEM'
,
name
:
'contactid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
};
}
\ No newline at end of file
app_CRM/src/widgets/contact/date-panel-form/date-panel-form-model.ts
0 → 100644
浏览文件 @
2763f456
/**
* DatePanel 部件模型
*
* @export
* @class DatePanelModel
*/
export
default
class
DatePanelModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof DatePanelModel
*/
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
:
'contactid'
,
dataType
:
'GUID'
,
},
{
name
:
'srfmajortext'
,
prop
:
'fullname'
,
dataType
:
'TEXT'
,
},
{
name
:
'srftempmode'
,
},
{
name
:
'srfuf'
,
},
{
name
:
'srfdeid'
,
},
{
name
:
'srfsourcekey'
,
},
{
name
:
'customersizecode'
,
prop
:
'customersizecode'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'statuscode'
,
prop
:
'statuscode'
,
dataType
:
'NSCODELIST'
,
},
{
name
:
'owneridyominame'
,
prop
:
'owneridyominame'
,
dataType
:
'TEXT'
,
},
{
name
:
'contactid'
,
prop
:
'contactid'
,
dataType
:
'GUID'
,
},
{
name
:
'contact'
,
prop
:
'contactid'
,
dataType
:
'FONTKEY'
,
},
]
}
}
\ No newline at end of file
app_CRM/src/widgets/contact/date-panel-form/date-panel-form-service.ts
0 → 100644
浏览文件 @
2763f456
此差异已折叠。
点击以展开。
app_CRM/src/widgets/contact/date-panel-form/date-panel-form.html
0 → 100644
浏览文件 @
2763f456
<i-form
:model=
"this.data"
class=
'app-form info-form-mode'
ref=
'datapanel'
id=
'contact_datepanel'
style=
""
>
<input
style=
"display:none;"
/>
<row
>
<i-col
v-show=
"detailsModel.group1.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-group
layoutType=
"FLEX"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.contact.datepanel_form.details.group1')"
:isShowCaption=
"false"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"true"
>
<div
style=
"height: 100%;display: flex;justify-content: space-between;"
>
<div
v-show=
"detailsModel.customersizecode.visible"
:style=
"{}"
>
<app-form-item
name=
'customersizecode'
:itemRules=
"this.rules.customersizecode"
class=
'datapanel-style'
labelStyle=
"datapanel-label-style"
:caption=
"$t('entities.contact.datepanel_form.details.customersizecode')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.customersizecode.error"
:isEmptyCaption=
"false"
labelPos=
"BOTTOM"
>
<app-span
name=
'customersizecode'
:value=
"data.customersizecode"
tag=
'Contact__CustomerSizeCode'
codelistType=
'STATIC'
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
></app-span>
</app-form-item>
</div>
<div
v-show=
"detailsModel.statuscode.visible"
:style=
"{}"
>
<app-form-item
name=
'statuscode'
:itemRules=
"this.rules.statuscode"
class=
'datapanel-style'
labelStyle=
"datapanel-label-style"
:caption=
"$t('entities.contact.datepanel_form.details.statuscode')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.statuscode.error"
:isEmptyCaption=
"false"
labelPos=
"BOTTOM"
>
<app-span
name=
'statuscode'
:value=
"data.statuscode"
tag=
'Contact__StatusCode'
codelistType=
'STATIC'
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
></app-span>
</app-form-item>
</div>
<div
v-show=
"detailsModel.owneridyominame.visible"
:style=
"{}"
>
<app-form-item
name=
'owneridyominame'
:itemRules=
"this.rules.owneridyominame"
class=
'datapanel-style'
labelStyle=
"datapanel-label-style"
:caption=
"$t('entities.contact.datepanel_form.details.owneridyominame')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.owneridyominame.error"
:isEmptyCaption=
"false"
labelPos=
"BOTTOM"
>
<app-span
name=
'owneridyominame'
:value=
"data.owneridyominame"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
></app-span>
</app-form-item>
</div>
</div>
</app-form-group>
</i-col>
</row>
</i-form>
\ No newline at end of file
app_CRM/src/widgets/contact/date-panel-form/date-panel-form.less
0 → 100644
浏览文件 @
2763f456
.datapanel-style {
color:rgba(209, 196, 233, 1);font-size:20px;font-weight:bold;margin:0px 10px 0px 0px;text-align:left
}
.datapanel-label-style {
color:rgba(245, 244, 244, 1);font-size:12px;margin:0px 0px 0px 0px
}
app_CRM/src/widgets/contact/date-panel-form/date-panel-form.vue
0 → 100644
浏览文件 @
2763f456
<
template
src=
"./date-panel-form.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { DatePanelEditFormBase } from './date-panel-form-base';
/**
* datapanel部件
*
* @export
* @class DatePanelEditForm
* @extends {DatePanelEditFormBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class DatePanelEditForm extends DatePanelEditFormBase { }
</script>
<style
lang=
'less'
>
@import
'./date-panel-form.less'
;
</style>
app_CRM/src/widgets/task/quick-create-form/quick-create-form.html
浏览文件 @
2763f456
...
...
@@ -20,26 +20,23 @@
<i-col
v-show=
"detailsModel.owneridyominame.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'owneridyominame'
:itemRules=
"this.rules.owneridyominame"
class=
''
:caption=
"$t('entities.task.quickcreate_form.details.owneridyominame')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.owneridyominame.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-picker
:formState=
"formState"
:data=
"data"
<app-mpicker
:activeData=
"data"
:disabled=
"detailsModel.owneridyominame.disabled"
:curvalue=
"data.owneridyominame"
name=
"owneridyominame"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.owneridyominame.disabled"
name=
'owneridyominame'
:service=
"service"
deMajorField=
'pickdataname'
deKeyField=
'multipickdata'
:service=
"service"
:acParams=
"{ serviceName: 'MultiPickDataService', interfaceName: 'FetchAC'}"
valueitem=
''
:value=
"data.owneridyominame"
editortype=
""
:pickupView=
"{ viewname: 'multi-pick-data-ac', title: $t('entities.multipickdata.views.ac.title'), deResParameters: [], parameters: [{ pathName: 'multipickdata', parameterName: 'multipickdata' }, { pathName: 'ac', parameterName: 'ac' } ], width: 1024, height: 800, placement:'' }"
style=
""
@
formitemvaluechange=
"onFormItemValueChange($event)"
>
</app-picker>
:pickupView=
"{ viewname: 'multi-pick-data-ac', title: $t('entities.multipickdata.views.ac.title'), deResParameters: [], parameters: [{ pathName: 'multipickdata', parameterName: 'multipickdata' }, { pathName: 'ac', parameterName: 'ac' } ], width: 1024, placement:'' }"
@
formitemvaluechange=
"onFormItemValueChange($event)"
style=
""
>
</app-mpicker>
</app-form-item>
...
...
businesscentral-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
2763f456
此差异已折叠。
点击以展开。
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录