Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
eb2afbd4
提交
eb2afbd4
编写于
7月 10, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lab_gzf 发布系统代码
上级
5de670ff
变更
32
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
32 个修改的文件
包含
2647 行增加
和
790 行删除
+2647
-790
app-register.ts
app_CRM/src/app-register.ts
+1
-1
app-form-group.tsx
app_CRM/src/components/app-form-group/app-form-group.tsx
+1
-1
app-span.tsx
app_CRM/src/components/app-span/app-span.tsx
+171
-0
product_en_US.ts
app_CRM/src/locale/lanres/entities/product/product_en_US.ts
+21
-0
product_zh_CN.ts
app_CRM/src/locale/lanres/entities/product/product_zh_CN.ts
+21
-0
page-register.ts
app_CRM/src/pages/base/central/page-register.ts
+2
-1
router.ts
app_CRM/src/pages/base/central/router.ts
+28
-14
product-edit-data-panel-view-base.tsx
...dit-data-panel-view/product-edit-data-panel-view-base.tsx
+155
-0
product-edit-data-panel-view.html
...ct-edit-data-panel-view/product-edit-data-panel-view.html
+24
-0
product-edit-data-panel-view.vue
...uct-edit-data-panel-view/product-edit-data-panel-view.vue
+22
-0
product-info-view-base.tsx
...ages/product/product-info-view/product-info-view-base.tsx
+18
-0
product-info-view.html
...rc/pages/product/product-info-view/product-info-view.html
+21
-0
product-info-view.vue
...src/pages/product/product-info-view/product-info-view.vue
+2
-0
campaign-service-base.ts
app_CRM/src/service/campaign/campaign-service-base.ts
+52
-52
competitor-service-base.ts
app_CRM/src/service/competitor/competitor-service-base.ts
+50
-50
ibiz-list-service-base.ts
app_CRM/src/service/ibiz-list/ibiz-list-service-base.ts
+64
-64
lead-service-base.ts
app_CRM/src/service/lead/lead-service-base.ts
+369
-369
opportunity-service-base.ts
app_CRM/src/service/opportunity/opportunity-service-base.ts
+223
-223
state.ts
app_CRM/src/store/modules/view-action/state.ts
+10
-0
product-ui-service-base.ts
app_CRM/src/uiservice/product/product-ui-service-base.ts
+63
-0
data-panel-form-base.tsx
.../widgets/product/data-panel-form/data-panel-form-base.tsx
+156
-0
data-panel-form-model.ts
.../widgets/product/data-panel-form/data-panel-form-model.ts
+76
-0
data-panel-form-service.ts
...idgets/product/data-panel-form/data-panel-form-service.ts
+371
-0
data-panel-form.html
.../src/widgets/product/data-panel-form/data-panel-form.html
+41
-0
data-panel-form.less
.../src/widgets/product/data-panel-form/data-panel-form.less
+24
-0
data-panel-form.vue
...M/src/widgets/product/data-panel-form/data-panel-form.vue
+25
-0
edit-data-panel-form-base.tsx
...roduct/edit-data-panel-form/edit-data-panel-form-base.tsx
+117
-0
edit-data-panel-form-model.ts
...roduct/edit-data-panel-form/edit-data-panel-form-model.ts
+76
-0
edit-data-panel-form-service.ts
...duct/edit-data-panel-form/edit-data-panel-form-service.ts
+371
-0
edit-data-panel-form.html
...ts/product/edit-data-panel-form/edit-data-panel-form.html
+35
-0
edit-data-panel-form.vue
...ets/product/edit-data-panel-form/edit-data-panel-form.vue
+22
-0
h2_table.xml
...esscentral-core/src/main/resources/liquibase/h2_table.xml
+15
-15
未找到文件。
app_CRM/src/app-register.ts
浏览文件 @
eb2afbd4
...
@@ -45,7 +45,7 @@ import AppCheckbox from './components/app-checkbox/app-checkbox.vue'
...
@@ -45,7 +45,7 @@ import AppCheckbox from './components/app-checkbox/app-checkbox.vue'
import
AppColumnRender
from
'./components/app-column-render/app-column-render.vue'
import
AppColumnRender
from
'./components/app-column-render/app-column-render.vue'
import
AppPickerSelectView
from
'./components/app-picker-select-view/app-picker-select-view.vue'
import
AppPickerSelectView
from
'./components/app-picker-select-view/app-picker-select-view.vue'
import
AppSiderMenus
from
'./components/app-sider-menus/app-sider-menus.vue'
import
AppSiderMenus
from
'./components/app-sider-menus/app-sider-menus.vue'
import
AppSpan
from
'./components/app-span/app-span
.vue
'
import
AppSpan
from
'./components/app-span/app-span'
import
AppAddressSelection
from
'./components/app-address-selection/app-address-selection.vue'
import
AppAddressSelection
from
'./components/app-address-selection/app-address-selection.vue'
import
DropdownListMpicker
from
'./components/dropdown-list-mpicker/dropdown-list-mpicker.vue'
import
DropdownListMpicker
from
'./components/dropdown-list-mpicker/dropdown-list-mpicker.vue'
import
AppRate
from
'./components/app-rate/app-rate.vue'
import
AppRate
from
'./components/app-rate/app-rate.vue'
...
...
app_CRM/src/components/app-form-group/app-form-group.tsx
浏览文件 @
eb2afbd4
...
@@ -281,7 +281,7 @@ export default class AppFormGroup extends Vue {
...
@@ -281,7 +281,7 @@ export default class AppFormGroup extends Vue {
return
<
card
bordered=
{
false
}
dis
-
hover=
{
true
}
class=
{
this
.
classes
}
>
return
<
card
bordered=
{
false
}
dis
-
hover=
{
true
}
class=
{
this
.
classes
}
>
<
p
slot=
'title'
>
<
p
slot=
'title'
>
<
span
class=
"arrow-forward"
>
<
span
class=
"arrow-forward"
>
{
this
.
titleBarCloseMode
!==
0
?
<
icon
type=
{
this
.
collapseContant
?
'ivu-icon ivu-icon-ios-arrow-back
'
:
'ivu-icon ivu-icon-ios-arrow-down'
}
on
-
click=
{
()
=>
this
.
clickCollapse
()
}
></
icon
>
:
null
}
{
this
.
titleBarCloseMode
!==
0
?
<
icon
type=
{
this
.
collapseContant
?
'ivu-icon ivu-icon-ios-arrow-forward
'
:
'ivu-icon ivu-icon-ios-arrow-down'
}
on
-
click=
{
()
=>
this
.
clickCollapse
()
}
></
icon
>
:
null
}
</
span
>
</
span
>
<
span
class=
{
this
.
titleClass
}
>
{
this
.
caption
}
</
span
>
<
span
class=
{
this
.
titleClass
}
>
{
this
.
caption
}
</
span
>
</
p
>
</
p
>
...
...
app_CRM/src/components/app-span/app-span.tsx
0 → 100644
浏览文件 @
eb2afbd4
import
{
Vue
,
Component
,
Prop
,
Watch
,
Model
}
from
'vue-property-decorator'
;
@
Component
({})
export
default
class
AppSpan
extends
Vue
{
/**
* 当前值
*
* @type {*}
* @memberof AppSpan
*/
@
Prop
()
public
value
?:
any
;
/**
* 当前表单项名称
*
* @type {*}
* @memberof AppSpan
*/
@
Prop
()
public
name
?:
any
;
/**
* 代码表标识
*
* @type {string}
* @memberof AppSpan
*/
@
Prop
()
public
tag
?:
string
;
/**
* 代码表类型
*
* @type {string}
* @memberof AppSpan
*/
@
Prop
()
public
codelistType
?:
string
;
/**
* 获取或模式
* @type {boolean}
* @memberof AppSpan
*/
@
Prop
({
default
:
"STR"
})
public
renderMode
?:
string
;
/**
* 文本分隔符
* @type {boolean}
* @memberof AppSpan
*/
@
Prop
({
default
:
'、'
})
public
textSeparator
?:
string
;
/**
* 值分隔符
* @type {boolean}
* @memberof AppSpan
*/
@
Prop
({
default
:
','
})
public
valueSeparator
?:
string
;
/**
* 传入表单数据
*
* @type {*}
* @memberof AppSpan
*/
@
Prop
()
public
data
?:
any
;
/**
* 局部上下文导航参数
*
* @type {any}
* @memberof AppSpan
*/
@
Prop
()
public
localContext
!
:
any
;
/**
* 局部导航参数
*
* @type {any}
* @memberof AppSpan
*/
@
Prop
()
public
localParam
!
:
any
;
/**
* 视图上下文
*
* @type {*}
* @memberof AppSpan
*/
@
Prop
()
public
context
!
:
any
;
/**
* 视图参数
*
* @type {*}
* @memberof AppSpan
*/
@
Prop
()
public
viewparams
!
:
any
;
/**
* 监控表单属性 data 值
*
* @memberof AppSpan
*/
@
Watch
(
'value'
)
onDataChange
(
newVal
:
any
,
oldVal
:
any
)
{
if
(
newVal
!==
oldVal
)
{
this
.
load
();
}
}
/**
* 显示值
* @type {*}
* @memberof AppSpan
*/
public
text
:
any
=
''
;
/**
* 编辑器类型
*
* @type {string}
* @memberof AppSpan
*/
@
Prop
()
public
editorType
?:
string
;
/**
* vue 生命周期
*
* @memberof AppSpan
*/
public
created
()
{
this
.
load
();
}
/**
* 处理数据
*
* @memberof AppSpan
*/
public
load
()
{
if
(
this
.
tag
)
{
return
;
//代码表走codelist组件
}
else
if
(
this
.
editorType
===
"ADDRESSPICKUP"
)
{
JSON
.
parse
(
this
.
value
).
forEach
((
item
:
any
,
index
:
number
)
=>
{
this
.
text
+=
index
===
0
?
item
.
srfmajortext
:
","
+
item
.
srfmajortext
;
});
}
else
{
this
.
text
=
this
.
value
;
}
}
/**
* 绘制内容
*
* @returns {*}
* @memberof AppSpan
*/
public
render
():
any
{
console
.
log
(
this
.
value
,
(
!
isExist
(
this
.
value
)
||
isEmpty
(
this
.
value
)));
if
(
!
isExist
(
this
.
value
)
||
isEmpty
(
this
.
value
))
{
return
<
span
class=
"app-span"
>
---
</
span
>;
}
if
(
this
.
tag
)
{
return
<
codelist
tag=
{
this
.
tag
}
value=
{
this
.
value
}
codelistType=
{
this
.
codelistType
}
renderMode=
{
this
.
renderMode
}
valueSeparator=
{
this
.
valueSeparator
}
textSeparator=
{
this
.
textSeparator
}
data=
{
this
.
data
}
localContext=
{
this
.
localContext
}
localParam=
{
this
.
localParam
}
context=
{
this
.
context
}
viewparams=
{
this
.
viewparams
}
></
codelist
>
}
else
if
(
Object
.
is
(
this
.
editorType
,
'PICTURE'
)
||
Object
.
is
(
this
.
editorType
,
'PICTURE_ONE'
)
||
Object
.
is
(
this
.
editorType
,
'FILEUPLOADER'
))
{
return
<
app
-
upload
-
file
-
info
value=
{
this
.
value
}
name=
{
this
.
name
}
/>;
}
return
<
span
class=
"app-span"
>
{
this
.
text
}
</
span
>;
}
}
\ No newline at end of file
app_CRM/src/locale/lanres/entities/product/product_en_US.ts
浏览文件 @
eb2afbd4
...
@@ -162,6 +162,27 @@ export default {
...
@@ -162,6 +162,27 @@ export default {
uiactions
:
{
uiactions
:
{
},
},
},
},
datapanel_form
:
{
details
:
{
button1
:
"头信息编辑"
,
grouppanel1
:
"分组面板"
,
group1
:
"产品基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"产品"
,
srfmajortext
:
"产品名称"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
statecode
:
"状态"
,
productid
:
"产品"
,
},
uiactions
:
{
product_openedit_datapanelview
:
"头信息编辑"
,
},
},
quickcreate_form
:
{
quickcreate_form
:
{
details
:
{
details
:
{
group1
:
"产品基本信息"
,
group1
:
"产品基本信息"
,
...
...
app_CRM/src/locale/lanres/entities/product/product_zh_CN.ts
浏览文件 @
eb2afbd4
...
@@ -161,6 +161,27 @@ export default {
...
@@ -161,6 +161,27 @@ export default {
uiactions
:
{
uiactions
:
{
},
},
},
},
datapanel_form
:
{
details
:
{
button1
:
"头信息编辑"
,
grouppanel1
:
"分组面板"
,
group1
:
"产品基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"产品"
,
srfmajortext
:
"产品名称"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
statecode
:
"状态"
,
productid
:
"产品"
,
},
uiactions
:
{
product_openedit_datapanelview
:
"头信息编辑"
,
},
},
quickcreate_form
:
{
quickcreate_form
:
{
details
:
{
details
:
{
group1
:
"产品基本信息"
,
group1
:
"产品基本信息"
,
...
...
app_CRM/src/pages/base/central/page-register.ts
浏览文件 @
eb2afbd4
...
@@ -16,8 +16,8 @@ export const PageComponents = {
...
@@ -16,8 +16,8 @@ export const PageComponents = {
Vue
.
component
(
'knowledge-article-incident-edit-view'
,
()
=>
import
(
'@pages/service/knowledge-article-incident-edit-view/knowledge-article-incident-edit-view.vue'
));
Vue
.
component
(
'knowledge-article-incident-edit-view'
,
()
=>
import
(
'@pages/service/knowledge-article-incident-edit-view/knowledge-article-incident-edit-view.vue'
));
Vue
.
component
(
'sales-order-invoice-grid-view'
,
()
=>
import
(
'@pages/sales/sales-order-invoice-grid-view/sales-order-invoice-grid-view.vue'
));
Vue
.
component
(
'sales-order-invoice-grid-view'
,
()
=>
import
(
'@pages/sales/sales-order-invoice-grid-view/sales-order-invoice-grid-view.vue'
));
Vue
.
component
(
'sales-order-edit-data-panel-view'
,
()
=>
import
(
'@pages/sales/sales-order-edit-data-panel-view/sales-order-edit-data-panel-view.vue'
));
Vue
.
component
(
'sales-order-edit-data-panel-view'
,
()
=>
import
(
'@pages/sales/sales-order-edit-data-panel-view/sales-order-edit-data-panel-view.vue'
));
Vue
.
component
(
'invoice-by-parent-key'
,
()
=>
import
(
'@pages/finance/invoice-by-parent-key/invoice-by-parent-key.vue'
));
Vue
.
component
(
'goal-info-goal-view'
,
()
=>
import
(
'@pages/sales/goal-info-goal-view/goal-info-goal-view.vue'
));
Vue
.
component
(
'goal-info-goal-view'
,
()
=>
import
(
'@pages/sales/goal-info-goal-view/goal-info-goal-view.vue'
));
Vue
.
component
(
'invoice-by-parent-key'
,
()
=>
import
(
'@pages/finance/invoice-by-parent-key/invoice-by-parent-key.vue'
));
Vue
.
component
(
'invoice-paid-grid-view'
,
()
=>
import
(
'@pages/finance/invoice-paid-grid-view/invoice-paid-grid-view.vue'
));
Vue
.
component
(
'invoice-paid-grid-view'
,
()
=>
import
(
'@pages/finance/invoice-paid-grid-view/invoice-paid-grid-view.vue'
));
Vue
.
component
(
'goal-info-view'
,
()
=>
import
(
'@pages/sales/goal-info-view/goal-info-view.vue'
));
Vue
.
component
(
'goal-info-view'
,
()
=>
import
(
'@pages/sales/goal-info-view/goal-info-view.vue'
));
Vue
.
component
(
'opportunity-grid-view'
,
()
=>
import
(
'@pages/sales/opportunity-grid-view/opportunity-grid-view.vue'
));
Vue
.
component
(
'opportunity-grid-view'
,
()
=>
import
(
'@pages/sales/opportunity-grid-view/opportunity-grid-view.vue'
));
...
@@ -145,6 +145,7 @@ export const PageComponents = {
...
@@ -145,6 +145,7 @@ export const PageComponents = {
Vue
.
component
(
'product-grid-view'
,
()
=>
import
(
'@pages/product/product-grid-view/product-grid-view.vue'
));
Vue
.
component
(
'product-grid-view'
,
()
=>
import
(
'@pages/product/product-grid-view/product-grid-view.vue'
));
Vue
.
component
(
'ibiz-list-info-abstract'
,
()
=>
import
(
'@pages/marketing/ibiz-list-info-abstract/ibiz-list-info-abstract.vue'
));
Vue
.
component
(
'ibiz-list-info-abstract'
,
()
=>
import
(
'@pages/marketing/ibiz-list-info-abstract/ibiz-list-info-abstract.vue'
));
Vue
.
component
(
'opportunity-competitor-edit-comp-opp-view'
,
()
=>
import
(
'@pages/sales/opportunity-competitor-edit-comp-opp-view/opportunity-competitor-edit-comp-opp-view.vue'
));
Vue
.
component
(
'opportunity-competitor-edit-comp-opp-view'
,
()
=>
import
(
'@pages/sales/opportunity-competitor-edit-comp-opp-view/opportunity-competitor-edit-comp-opp-view.vue'
));
Vue
.
component
(
'product-edit-data-panel-view'
,
()
=>
import
(
'@pages/product/product-edit-data-panel-view/product-edit-data-panel-view.vue'
));
Vue
.
component
(
'lead-pickup-grid-view'
,
()
=>
import
(
'@pages/sales/lead-pickup-grid-view/lead-pickup-grid-view.vue'
));
Vue
.
component
(
'lead-pickup-grid-view'
,
()
=>
import
(
'@pages/sales/lead-pickup-grid-view/lead-pickup-grid-view.vue'
));
Vue
.
component
(
'opportunity-pickup-view'
,
()
=>
import
(
'@pages/sales/opportunity-pickup-view/opportunity-pickup-view.vue'
));
Vue
.
component
(
'opportunity-pickup-view'
,
()
=>
import
(
'@pages/sales/opportunity-pickup-view/opportunity-pickup-view.vue'
));
Vue
.
component
(
'competitor-mpickup-view'
,
()
=>
import
(
'@pages/sales/competitor-mpickup-view/competitor-mpickup-view.vue'
));
Vue
.
component
(
'competitor-mpickup-view'
,
()
=>
import
(
'@pages/sales/competitor-mpickup-view/competitor-mpickup-view.vue'
));
...
...
app_CRM/src/pages/base/central/router.ts
浏览文件 @
eb2afbd4
...
@@ -758,6 +758,20 @@ const router = new Router({
...
@@ -758,6 +758,20 @@ const router = new Router({
},
},
component
:
()
=>
import
(
'@pages/sales/sales-order-edit-data-panel-view/sales-order-edit-data-panel-view.vue'
),
component
:
()
=>
import
(
'@pages/sales/sales-order-edit-data-panel-view/sales-order-edit-data-panel-view.vue'
),
},
},
{
path
:
'goals/:goal?/info_goalview/:info_goalview?'
,
meta
:
{
caption
:
'entities.goal.views.info_goalview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'goals'
,
parameterName
:
'goal'
},
{
pathName
:
'info_goalview'
,
parameterName
:
'info_goalview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sales/goal-info-goal-view/goal-info-goal-view.vue'
),
},
{
{
path
:
'accounts/:account?/contacts/:contact?/opportunities/:opportunity?/quotes/:quote?/salesorders/:salesorder?/invoices/:invoice?/byparentkey/:byparentkey?'
,
path
:
'accounts/:account?/contacts/:contact?/opportunities/:opportunity?/quotes/:quote?/salesorders/:salesorder?/invoices/:invoice?/byparentkey/:byparentkey?'
,
meta
:
{
meta
:
{
...
@@ -875,20 +889,6 @@ const router = new Router({
...
@@ -875,20 +889,6 @@ const router = new Router({
},
},
component
:
()
=>
import
(
'@pages/finance/invoice-by-parent-key/invoice-by-parent-key.vue'
),
component
:
()
=>
import
(
'@pages/finance/invoice-by-parent-key/invoice-by-parent-key.vue'
),
},
},
{
path
:
'goals/:goal?/info_goalview/:info_goalview?'
,
meta
:
{
caption
:
'entities.goal.views.info_goalview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'goals'
,
parameterName
:
'goal'
},
{
pathName
:
'info_goalview'
,
parameterName
:
'info_goalview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sales/goal-info-goal-view/goal-info-goal-view.vue'
),
},
{
{
path
:
'accounts/:account?/contacts/:contact?/opportunities/:opportunity?/quotes/:quote?/salesorders/:salesorder?/invoices/:invoice?/paidgridview/:paidgridview?'
,
path
:
'accounts/:account?/contacts/:contact?/opportunities/:opportunity?/quotes/:quote?/salesorders/:salesorder?/invoices/:invoice?/paidgridview/:paidgridview?'
,
meta
:
{
meta
:
{
...
@@ -6298,6 +6298,20 @@ const router = new Router({
...
@@ -6298,6 +6298,20 @@ const router = new Router({
},
},
component
:
()
=>
import
(
'@pages/sales/opportunity-competitor-edit-comp-opp-view/opportunity-competitor-edit-comp-opp-view.vue'
),
component
:
()
=>
import
(
'@pages/sales/opportunity-competitor-edit-comp-opp-view/opportunity-competitor-edit-comp-opp-view.vue'
),
},
},
{
path
:
'products/:product?/edit_datapanelview/:edit_datapanelview?'
,
meta
:
{
caption
:
'entities.product.views.edit_datapanelview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'products'
,
parameterName
:
'product'
},
{
pathName
:
'edit_datapanelview'
,
parameterName
:
'edit_datapanelview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/product/product-edit-data-panel-view/product-edit-data-panel-view.vue'
),
},
{
{
path
:
'accounts/:account?/contacts/:contact?/leads/:lead?/pickupgridview/:pickupgridview?'
,
path
:
'accounts/:account?/contacts/:contact?/leads/:lead?/pickupgridview/:pickupgridview?'
,
meta
:
{
meta
:
{
...
...
app_CRM/src/pages/product/product-edit-data-panel-view/product-edit-data-panel-view-base.tsx
0 → 100644
浏览文件 @
eb2afbd4
import
{
Subject
}
from
'rxjs'
;
import
{
EditViewBase
}
from
'@/studio-core'
;
import
ProductService
from
'@/service/product/product-service'
;
import
EditViewEngine
from
'@engine/view/edit-view-engine'
;
/**
* 头部信息编辑视图基类
*
* @export
* @class ProductEdit_DataPanelViewBase
* @extends {EditViewBase}
*/
export
class
ProductEdit_DataPanelViewBase
extends
EditViewBase
{
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof ProductEdit_DataPanelViewBase
*/
protected
appDeName
:
string
=
'product'
;
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof ProductEdit_DataPanelViewBase
*/
protected
appDeKey
:
string
=
'productid'
;
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof ProductEdit_DataPanelViewBase
*/
protected
appDeMajor
:
string
=
'productname'
;
/**
* 实体服务对象
*
* @type {ProductService}
* @memberof ProductEdit_DataPanelViewBase
*/
protected
appEntityService
:
ProductService
=
new
ProductService
;
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof ProductEdit_DataPanelViewBase
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof ProductEdit_DataPanelViewBase
*/
protected
model
:
any
=
{
srfCaption
:
'entities.product.views.edit_datapanelview.caption'
,
srfTitle
:
'entities.product.views.edit_datapanelview.title'
,
srfSubTitle
:
'entities.product.views.edit_datapanelview.subtitle'
,
dataInfo
:
''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof ProductEdit_DataPanelViewBase
*/
protected
containerModel
:
any
=
{
view_form
:
{
name
:
'form'
,
type
:
'FORM'
},
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected
viewtag
:
string
=
'24c98ed0c280a28a4863eeb399b6bc10'
;
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof ProductEdit_DataPanelViewBase
*/
public
engine
:
EditViewEngine
=
new
EditViewEngine
();
/**
* 引擎初始化
*
* @public
* @memberof ProductEdit_DataPanelViewBase
*/
public
engineInit
():
void
{
this
.
engine
.
init
({
view
:
this
,
form
:
this
.
$refs
.
form
,
p2k
:
'0'
,
keyPSDEField
:
'product'
,
majorPSDEField
:
'productname'
,
isLoadDefault
:
true
,
});
}
/**
* form 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof ProductEdit_DataPanelViewBase
*/
public
form_save
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'save'
,
$event
);
}
/**
* form 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof ProductEdit_DataPanelViewBase
*/
public
form_remove
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'remove'
,
$event
);
}
/**
* form 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof ProductEdit_DataPanelViewBase
*/
public
form_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'load'
,
$event
);
}
}
\ No newline at end of file
app_CRM/src/pages/product/product-edit-data-panel-view/product-edit-data-panel-view.html
0 → 100644
浏览文件 @
eb2afbd4
<studio-view-style2
viewName=
"productedit_datapanelview"
viewTitle=
"头部信息编辑"
class=
'deeditview product-edit-data-panel-view'
>
<view
_form
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:autosave=
"true"
:viewtag=
"viewtag"
:showBusyIndicator=
"true"
updateAction=
"Update"
removeAction=
"Remove"
loaddraftAction=
"GetDraft"
loadAction=
"Get"
createAction=
"Create"
WFSubmitAction=
""
WFStartAction=
""
style=
''
name=
"form"
ref=
'form'
@
save=
"form_save($event)"
@
remove=
"form_remove($event)"
@
load=
"form_load($event)"
@
closeview=
"closeView($event)"
>
</view
_form
>
</studio-view-style2>
\ No newline at end of file
app_CRM/src/pages/product/product-edit-data-panel-view/product-edit-data-panel-view.vue
0 → 100644
浏览文件 @
eb2afbd4
<
template
src=
"./product-edit-data-panel-view.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { ProductEdit_DataPanelViewBase } from './product-edit-data-panel-view-base';
import view_form from '@widgets/product/edit-data-panel-form/edit-data-panel-form.vue';
/**
* 头部信息编辑视图
*
* @export
* @class ProductEdit_DataPanelView
* @extends {ProductEdit_DataPanelViewBase}
*/
@Component({
components: {
view_form,
}
})
@VueLifeCycleProcessing()
export default class ProductEdit_DataPanelView extends ProductEdit_DataPanelViewBase { }
</script>
app_CRM/src/pages/product/product-info-view/product-info-view-base.tsx
浏览文件 @
eb2afbd4
...
@@ -2,6 +2,7 @@ import { Subject } from 'rxjs';
...
@@ -2,6 +2,7 @@ import { Subject } from 'rxjs';
import
{
TabExpViewBase
}
from
'@/studio-core'
;
import
{
TabExpViewBase
}
from
'@/studio-core'
;
import
ProductService
from
'@/service/product/product-service'
;
import
ProductService
from
'@/service/product/product-service'
;
import
TabExpViewEngine
from
'@engine/view/tab-exp-view-engine'
;
import
TabExpViewEngine
from
'@engine/view/tab-exp-view-engine'
;
import
DataPanelEngine
from
'@engine/ctrl/data-panel-engine'
;
/**
/**
* 产品信息视图基类
* 产品信息视图基类
...
@@ -78,6 +79,7 @@ export class ProductInfoViewBase extends TabExpViewBase {
...
@@ -78,6 +79,7 @@ export class ProductInfoViewBase extends TabExpViewBase {
* @memberof ProductInfoViewBase
* @memberof ProductInfoViewBase
*/
*/
protected
containerModel
:
any
=
{
protected
containerModel
:
any
=
{
view_datapanel
:
{
name
:
'datapanel'
,
type
:
'FORM'
},
view_toolbar
:
{
name
:
'toolbar'
,
type
:
'TOOLBAR'
},
view_toolbar
:
{
name
:
'toolbar'
,
type
:
'TOOLBAR'
},
view_tabexppanel
:
{
name
:
'tabexppanel'
,
type
:
'TABEXPPANEL'
},
view_tabexppanel
:
{
name
:
'tabexppanel'
,
type
:
'TABEXPPANEL'
},
};
};
...
@@ -114,6 +116,15 @@ export class ProductInfoViewBase extends TabExpViewBase {
...
@@ -114,6 +116,15 @@ export class ProductInfoViewBase extends TabExpViewBase {
*/
*/
public
engine
:
TabExpViewEngine
=
new
TabExpViewEngine
();
public
engine
:
TabExpViewEngine
=
new
TabExpViewEngine
();
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof ProductInfoViewBase
*/
public
datapanel
:
DataPanelEngine
=
new
DataPanelEngine
();
/**
/**
* 引擎初始化
* 引擎初始化
*
*
...
@@ -127,6 +138,13 @@ export class ProductInfoViewBase extends TabExpViewBase {
...
@@ -127,6 +138,13 @@ export class ProductInfoViewBase extends TabExpViewBase {
majorPSDEField
:
'productname'
,
majorPSDEField
:
'productname'
,
isLoadDefault
:
true
,
isLoadDefault
:
true
,
});
});
this
.
datapanel
.
init
({
view
:
this
,
datapanel
:
this
.
$refs
.
datapanel
,
keyPSDEField
:
'product'
,
majorPSDEField
:
'productname'
,
isLoadDefault
:
true
,
});
}
}
/**
/**
...
...
app_CRM/src/pages/product/product-info-view/product-info-view.html
浏览文件 @
eb2afbd4
...
@@ -2,6 +2,27 @@
...
@@ -2,6 +2,27 @@
<template
slot=
'title'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{$t(model.srfTitle)}}
</span>
<span
class=
'caption-info'
>
{{$t(model.srfTitle)}}
</span>
</template>
</template>
<template
slot=
"dataPanel"
>
<view
_datapanel
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:autosave=
"false"
:viewtag=
"viewtag"
:showBusyIndicator=
"true"
updateAction=
"Update"
removeAction=
"Remove"
loaddraftAction=
"GetDraft"
loadAction=
"Get"
createAction=
"Create"
WFSubmitAction=
""
WFStartAction=
""
style=
''
name=
"datapanel"
ref=
'datapanel'
@
closeview=
"closeView($event)"
>
</view
_datapanel
>
</template>
<template
slot=
"toolbar"
>
<template
slot=
"toolbar"
>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click($event)"
/>
</template>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click($event)"
/>
</template>
<view
_tabexppanel
<view
_tabexppanel
...
...
app_CRM/src/pages/product/product-info-view/product-info-view.vue
浏览文件 @
eb2afbd4
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
import
{ Component } from 'vue-property-decorator';
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { VueLifeCycleProcessing } from '@/studio-core';
import { ProductInfoViewBase } from './product-info-view-base';
import { ProductInfoViewBase } from './product-info-view-base';
import view_datapanel from '@widgets/product/data-panel-form/data-panel-form.vue';
import view_tabexppanel from '@widgets/product/info-viewtabexppanel-tabexppanel/info-viewtabexppanel-tabexppanel.vue';
import view_tabexppanel from '@widgets/product/info-viewtabexppanel-tabexppanel/info-viewtabexppanel-tabexppanel.vue';
/**
/**
...
@@ -14,6 +15,7 @@ import view_tabexppanel from '@widgets/product/info-viewtabexppanel-tabexppanel/
...
@@ -14,6 +15,7 @@ import view_tabexppanel from '@widgets/product/info-viewtabexppanel-tabexppanel/
*/
*/
@Component({
@Component({
components: {
components: {
view_datapanel,
view_tabexppanel,
view_tabexppanel,
}
}
})
})
...
...
app_CRM/src/service/campaign/campaign-service-base.ts
浏览文件 @
eb2afbd4
此差异已折叠。
点击以展开。
app_CRM/src/service/competitor/competitor-service-base.ts
浏览文件 @
eb2afbd4
此差异已折叠。
点击以展开。
app_CRM/src/service/ibiz-list/ibiz-list-service-base.ts
浏览文件 @
eb2afbd4
此差异已折叠。
点击以展开。
app_CRM/src/service/lead/lead-service-base.ts
浏览文件 @
eb2afbd4
此差异已折叠。
点击以展开。
app_CRM/src/service/opportunity/opportunity-service-base.ts
浏览文件 @
eb2afbd4
此差异已折叠。
点击以展开。
app_CRM/src/store/modules/view-action/state.ts
浏览文件 @
eb2afbd4
...
@@ -424,6 +424,15 @@ export const viewstate: any = {
...
@@ -424,6 +424,15 @@ export const viewstate: any = {
'8332d2ba99d5a618d1ab69f45ce689f5'
,
'8332d2ba99d5a618d1ab69f45ce689f5'
,
],
],
},
},
{
viewtag
:
'24c98ed0c280a28a4863eeb399b6bc10'
,
viewmodule
:
'Product'
,
viewname
:
'ProductEdit_DataPanelView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
{
viewtag
:
'24e222a530526aab94ed4ed22cfedf9a'
,
viewtag
:
'24e222a530526aab94ed4ed22cfedf9a'
,
viewmodule
:
'Base'
,
viewmodule
:
'Base'
,
...
@@ -509,6 +518,7 @@ export const viewstate: any = {
...
@@ -509,6 +518,7 @@ export const viewstate: any = {
'126557fa1bd6d770b471b1c9d211f07c'
,
'126557fa1bd6d770b471b1c9d211f07c'
,
'3c8bbe79d569f27ef675664d32a91c0d'
,
'3c8bbe79d569f27ef675664d32a91c0d'
,
'7d6cff9fab81efce5b7dbc0ae11d3c15'
,
'7d6cff9fab81efce5b7dbc0ae11d3c15'
,
'24c98ed0c280a28a4863eeb399b6bc10'
,
'90289db866d87ff28979dfdfd2ce583d'
,
'90289db866d87ff28979dfdfd2ce583d'
,
],
],
},
},
...
...
app_CRM/src/uiservice/product/product-ui-service-base.ts
浏览文件 @
eb2afbd4
...
@@ -238,6 +238,69 @@ export default class ProductUIServiceBase extends UIService {
...
@@ -238,6 +238,69 @@ export default class ProductUIServiceBase extends UIService {
backend
();
backend
();
}
}
/**
* 头信息编辑
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
*/
public
async
Product_OpenEdit_DataPanelView
(
args
:
any
[],
context
:
any
=
{}
,
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
let
data
:
any
=
{};
let
parentContext
:
any
=
{};
let
parentViewParam
:
any
=
{};
const
_this
:
any
=
actionContext
;
const
_args
:
any
[]
=
Util
.
deepCopy
(
args
);
const
actionTarget
:
string
|
null
=
'SINGLEKEY'
;
Object
.
assign
(
context
,
{
product
:
'%product%'
});
Object
.
assign
(
params
,
{
productid
:
'%product%'
});
Object
.
assign
(
params
,
{
productname
:
'%productname%'
});
if
(
_this
.
context
){
parentContext
=
_this
.
context
;
}
if
(
_this
.
viewparams
){
parentViewParam
=
_this
.
viewparams
;
}
context
=
UIActionTool
.
handleContextParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
context
);
data
=
UIActionTool
.
handleActionParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
params
);
context
=
Object
.
assign
({},
actionContext
.
context
,
context
);
let
parentObj
:
any
=
{
srfparentdename
:
srfParentDeName
?
srfParentDeName
:
null
,
srfparentkey
:
srfParentDeName
?
context
[
srfParentDeName
.
toLowerCase
()]:
null
};
Object
.
assign
(
data
,
parentObj
);
Object
.
assign
(
context
,
parentObj
);
let
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'products'
,
parameterName
:
'product'
},
];
const
openPopOver
=
(
view
:
any
,
data
:
any
)
=>
{
let
container
:
Subject
<
any
>
=
actionContext
.
$apppopover
.
openPop
(
$event
,
view
,
context
,
data
);
container
.
subscribe
((
result
:
any
)
=>
{
if
(
!
result
||
!
Object
.
is
(
result
.
ret
,
'OK'
))
{
return
;
}
const
_this
:
any
=
actionContext
;
if
(
window
.
opener
){
window
.
opener
.
postMessage
({
status
:
'OK'
,
identification
:
'WF'
},
Environment
.
uniteAddress
);
window
.
close
();
}
return
result
.
datas
;
});
}
const
view
:
any
=
{
viewname
:
'product-edit-data-panel-view'
,
height
:
300
,
width
:
300
,
title
:
actionContext
.
$t
(
'entities.product.views.edit_datapanelview.title'
),
placement
:
'POPOVER'
,
};
openPopOver
(
view
,
data
);
}
/**
/**
* 新建
* 新建
*
*
...
...
app_CRM/src/widgets/product/data-panel-form/data-panel-form-base.tsx
0 → 100644
浏览文件 @
eb2afbd4
import
{
Prop
,
Provide
,
Emit
,
Model
}
from
'vue-property-decorator'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
Watch
,
EditFormControlBase
}
from
'@/studio-core'
;
import
ProductService
from
'@/service/product/product-service'
;
import
DataPanelService
from
'./data-panel-form-service'
;
import
ProductUIService
from
'@/uiservice/product/product-ui-service'
;
import
{
FormButtonModel
,
FormPageModel
,
FormItemModel
,
FormDRUIPartModel
,
FormPartModel
,
FormGroupPanelModel
,
FormIFrameModel
,
FormRowItemModel
,
FormTabPageModel
,
FormTabPanelModel
,
FormUserControlModel
}
from
'@/model/form-detail'
;
/**
* datapanel部件基类
*
* @export
* @class EditFormControlBase
* @extends {DataPanelEditFormBase}
*/
export
class
DataPanelEditFormBase
extends
EditFormControlBase
{
/**
* 获取部件类型
*
* @protected
* @type {string}
* @memberof DataPanelEditFormBase
*/
protected
controlType
:
string
=
'FORM'
;
/**
* 建构部件服务对象
*
* @type {DataPanelService}
* @memberof DataPanelEditFormBase
*/
public
service
:
DataPanelService
=
new
DataPanelService
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {ProductService}
* @memberof DataPanelEditFormBase
*/
public
appEntityService
:
ProductService
=
new
ProductService
({
$store
:
this
.
$store
});
/**
* 应用实体名称
*
* @protected
* @type {string}
* @memberof DataPanelEditFormBase
*/
protected
appDeName
:
string
=
'product'
;
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
datapanel_button1_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
;
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
const
curUIService
:
ProductUIService
=
new
ProductUIService
();
curUIService
.
Product_OpenEdit_DataPanelView
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Product"
);
}
/**
* 表单数据对象
*
* @type {*}
* @memberof DataPanelEditFormBase
*/
public
data
:
any
=
{
srfupdatedate
:
null
,
srforikey
:
null
,
srfkey
:
null
,
srfmajortext
:
null
,
srftempmode
:
null
,
srfuf
:
null
,
srfdeid
:
null
,
srfsourcekey
:
null
,
statecode
:
null
,
productid
:
null
,
product
:
null
,
};
/**
* 属性值规则
*
* @type {*}
* @memberof DataPanelEditFormBase
*/
public
rules
:
any
=
{
}
/**
* 详情模型集合
*
* @type {*}
* @memberof DataPanelEditFormBase
*/
public
detailsModel
:
any
=
{
button1
:
new
FormButtonModel
({
caption
:
'头信息编辑'
,
detailType
:
'BUTTON'
,
name
:
'button1'
,
visible
:
true
,
isShowCaption
:
false
,
form
:
this
,
showMoreMode
:
0
,
uiaction
:
{
type
:
'DEUIACTION'
,
tag
:
'OpenEdit_DataPanelView'
,
actiontarget
:
'SINGLEKEY'
}
}),
grouppanel1
:
new
FormGroupPanelModel
({
caption
:
'分组面板'
,
detailType
:
'GROUPPANEL'
,
name
:
'grouppanel1'
,
visible
:
true
,
isShowCaption
:
false
,
form
:
this
,
showMoreMode
:
0
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.product.datapanel_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
}),
group1
:
new
FormGroupPanelModel
({
caption
:
'产品基本信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group1'
,
visible
:
true
,
isShowCaption
:
false
,
form
:
this
,
showMoreMode
:
0
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.product.datapanel_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
}),
formpage1
:
new
FormPageModel
({
caption
:
'基本信息'
,
detailType
:
'FORMPAGE'
,
name
:
'formpage1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
}),
srfupdatedate
:
new
FormItemModel
({
caption
:
'更新时间'
,
detailType
:
'FORMITEM'
,
name
:
'srfupdatedate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
0
}),
srforikey
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srforikey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
srfkey
:
new
FormItemModel
({
caption
:
'产品'
,
detailType
:
'FORMITEM'
,
name
:
'srfkey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
srfmajortext
:
new
FormItemModel
({
caption
:
'产品名称'
,
detailType
:
'FORMITEM'
,
name
:
'srfmajortext'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
srftempmode
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srftempmode'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
srfuf
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfuf'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
srfdeid
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfdeid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
srfsourcekey
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfsourcekey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
statecode
:
new
FormItemModel
({
caption
:
'状态'
,
detailType
:
'FORMITEM'
,
name
:
'statecode'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
productid
:
new
FormItemModel
({
caption
:
'产品'
,
detailType
:
'FORMITEM'
,
name
:
'productid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
};
/**
* 表单 头信息编辑 事件
*
* @memberof @memberof DataPanelEditFormBase
*/
public
button1_click
(
$event
:
any
):
void
{
this
.
datapanel_button1_click
(
null
,
null
,
$event
);
}
}
\ No newline at end of file
app_CRM/src/widgets/product/data-panel-form/data-panel-form-model.ts
0 → 100644
浏览文件 @
eb2afbd4
/**
* DataPanel 部件模型
*
* @export
* @class DataPanelModel
*/
export
default
class
DataPanelModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof DataPanelModel
*/
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
:
'productid'
,
dataType
:
'GUID'
,
},
{
name
:
'srfmajortext'
,
prop
:
'productname'
,
dataType
:
'TEXT'
,
},
{
name
:
'srftempmode'
,
},
{
name
:
'srfuf'
,
},
{
name
:
'srfdeid'
,
},
{
name
:
'srfsourcekey'
,
},
{
name
:
'statecode'
,
prop
:
'statecode'
,
dataType
:
'NSCODELIST'
,
},
{
name
:
'productid'
,
prop
:
'productid'
,
dataType
:
'GUID'
,
},
{
name
:
'product'
,
prop
:
'productid'
,
dataType
:
'FONTKEY'
,
},
]
}
}
\ No newline at end of file
app_CRM/src/widgets/product/data-panel-form/data-panel-form-service.ts
0 → 100644
浏览文件 @
eb2afbd4
此差异已折叠。
点击以展开。
app_CRM/src/widgets/product/data-panel-form/data-panel-form.html
0 → 100644
浏览文件 @
eb2afbd4
<i-form
:model=
"this.data"
class=
'app-form info-form-mode'
ref=
'datapanel'
id=
'product_datapanel'
style=
""
>
<input
style=
"display:none;"
/>
<row
>
<i-col
v-show=
"detailsModel.group1.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-group
:model=
"detailsModel.group1"
layoutType=
"FLEX"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.product.datapanel_form.details.group1')"
:isShowCaption=
"false"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"true"
>
<app-radio-group-data-panel
slot=
"dataInfoPanel"
:model=
"detailsModel.group1"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
/>
<div
style=
"height: 100%;display: flex;"
>
<div
v-show=
"detailsModel.statecode.visible"
:style=
"{}"
>
<app-form-item
name=
'statecode'
:itemRules=
"this.rules.statecode"
class=
'datapanel-style'
:caption=
"$t('entities.product.datapanel_form.details.statecode')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.statecode.error"
:isEmptyCaption=
"false"
labelPos=
"BOTTOM"
>
<app-span
name=
'statecode'
:value=
"data.statecode"
tag=
'Product__StateCode'
codelistType=
'STATIC'
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
></app-span>
</app-form-item>
</div>
<div
v-show=
"detailsModel.grouppanel1.visible"
:style=
"{}"
>
<app-form-group
:model=
"detailsModel.grouppanel1"
layoutType=
"FLEX"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.grouppanel1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.product.datapanel_form.details.grouppanel1')"
:isShowCaption=
"false"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"true"
>
<app-radio-group-data-panel
slot=
"dataInfoPanel"
:model=
"detailsModel.grouppanel1"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
/>
<div
style=
"height: 100%;display: flex;"
>
<div
v-show=
"detailsModel.button1.visible"
:style=
"{}"
>
<i-button
type=
"primary"
@
click=
"button1_click($event)"
class=
"datapanel-style"
style=
""
>
<i
class=
"fa fa-angle-down"
style=
"margin-right: 2px;"
></i>
</i-button>
</div>
</div>
</app-form-group>
</div>
</div>
</app-form-group>
</i-col>
</row>
</i-form>
\ No newline at end of file
app_CRM/src/widgets/product/data-panel-form/data-panel-form.less
0 → 100644
浏览文件 @
eb2afbd4
.datapanel-style {
font-size:20px;font-weight:bold;text-align:left
}
.datapanel-style {
height: 48px;
margin-top: 2px;
margin-bottom: 0px!important;
margin-right: 5px;
padding-right: 5px;
border-right: 2px solid var(--app-dividing-line-color-bright) ;
}
.label-bottom {
.editor-wrapper {
height: 24px!important;
}
.app-form-item-label {
font-size: 12px;
font-weight: bold;
height: 24px!important;
line-height: 24px!important;
}
}
app_CRM/src/widgets/product/data-panel-form/data-panel-form.vue
0 → 100644
浏览文件 @
eb2afbd4
<
template
src=
"./data-panel-form.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { DataPanelEditFormBase } from './data-panel-form-base';
/**
* datapanel部件
*
* @export
* @class DataPanelEditForm
* @extends {DataPanelEditFormBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class DataPanelEditForm extends DataPanelEditFormBase { }
</script>
<style
lang=
'less'
>
@import
'./data-panel-form.less'
;
</style>
app_CRM/src/widgets/product/edit-data-panel-form/edit-data-panel-form-base.tsx
0 → 100644
浏览文件 @
eb2afbd4
import
{
Prop
,
Provide
,
Emit
,
Model
}
from
'vue-property-decorator'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
Watch
,
EditFormControlBase
}
from
'@/studio-core'
;
import
ProductService
from
'@/service/product/product-service'
;
import
Edit_DataPanelService
from
'./edit-data-panel-form-service'
;
import
{
FormButtonModel
,
FormPageModel
,
FormItemModel
,
FormDRUIPartModel
,
FormPartModel
,
FormGroupPanelModel
,
FormIFrameModel
,
FormRowItemModel
,
FormTabPageModel
,
FormTabPanelModel
,
FormUserControlModel
}
from
'@/model/form-detail'
;
/**
* form部件基类
*
* @export
* @class EditFormControlBase
* @extends {Edit_DataPanelEditFormBase}
*/
export
class
Edit_DataPanelEditFormBase
extends
EditFormControlBase
{
/**
* 获取部件类型
*
* @protected
* @type {string}
* @memberof Edit_DataPanelEditFormBase
*/
protected
controlType
:
string
=
'FORM'
;
/**
* 建构部件服务对象
*
* @type {Edit_DataPanelService}
* @memberof Edit_DataPanelEditFormBase
*/
public
service
:
Edit_DataPanelService
=
new
Edit_DataPanelService
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {ProductService}
* @memberof Edit_DataPanelEditFormBase
*/
public
appEntityService
:
ProductService
=
new
ProductService
({
$store
:
this
.
$store
});
/**
* 应用实体名称
*
* @protected
* @type {string}
* @memberof Edit_DataPanelEditFormBase
*/
protected
appDeName
:
string
=
'product'
;
/**
* 表单数据对象
*
* @type {*}
* @memberof Edit_DataPanelEditFormBase
*/
public
data
:
any
=
{
srfupdatedate
:
null
,
srforikey
:
null
,
srfkey
:
null
,
srfmajortext
:
null
,
srftempmode
:
null
,
srfuf
:
null
,
srfdeid
:
null
,
srfsourcekey
:
null
,
statecode
:
null
,
productid
:
null
,
product
:
null
,
};
/**
* 属性值规则
*
* @type {*}
* @memberof Edit_DataPanelEditFormBase
*/
public
rules
:
any
=
{
statecode
:
[
{
required
:
true
,
type
:
'number'
,
message
:
'状态 值不能为空'
,
trigger
:
'change'
},
{
required
:
true
,
type
:
'number'
,
message
:
'状态 值不能为空'
,
trigger
:
'blur'
},
],
}
/**
* 详情模型集合
*
* @type {*}
* @memberof Edit_DataPanelEditFormBase
*/
public
detailsModel
:
any
=
{
group1
:
new
FormGroupPanelModel
({
caption
:
'产品基本信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group1'
,
visible
:
true
,
isShowCaption
:
false
,
form
:
this
,
showMoreMode
:
0
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.product.edit_datapanel_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
}),
formpage1
:
new
FormPageModel
({
caption
:
'基本信息'
,
detailType
:
'FORMPAGE'
,
name
:
'formpage1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
}),
srfupdatedate
:
new
FormItemModel
({
caption
:
'更新时间'
,
detailType
:
'FORMITEM'
,
name
:
'srfupdatedate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
0
}),
srforikey
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srforikey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
srfkey
:
new
FormItemModel
({
caption
:
'产品'
,
detailType
:
'FORMITEM'
,
name
:
'srfkey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
srfmajortext
:
new
FormItemModel
({
caption
:
'产品名称'
,
detailType
:
'FORMITEM'
,
name
:
'srfmajortext'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
srftempmode
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srftempmode'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
srfuf
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfuf'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
srfdeid
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfdeid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
srfsourcekey
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfsourcekey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
statecode
:
new
FormItemModel
({
caption
:
'状态'
,
detailType
:
'FORMITEM'
,
name
:
'statecode'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
productid
:
new
FormItemModel
({
caption
:
'产品'
,
detailType
:
'FORMITEM'
,
name
:
'productid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
};
}
\ No newline at end of file
app_CRM/src/widgets/product/edit-data-panel-form/edit-data-panel-form-model.ts
0 → 100644
浏览文件 @
eb2afbd4
/**
* Edit_DataPanel 部件模型
*
* @export
* @class Edit_DataPanelModel
*/
export
default
class
Edit_DataPanelModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof Edit_DataPanelModel
*/
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
:
'productid'
,
dataType
:
'GUID'
,
},
{
name
:
'srfmajortext'
,
prop
:
'productname'
,
dataType
:
'TEXT'
,
},
{
name
:
'srftempmode'
,
},
{
name
:
'srfuf'
,
},
{
name
:
'srfdeid'
,
},
{
name
:
'srfsourcekey'
,
},
{
name
:
'statecode'
,
prop
:
'statecode'
,
dataType
:
'NSCODELIST'
,
},
{
name
:
'productid'
,
prop
:
'productid'
,
dataType
:
'GUID'
,
},
{
name
:
'product'
,
prop
:
'productid'
,
dataType
:
'FONTKEY'
,
},
]
}
}
\ No newline at end of file
app_CRM/src/widgets/product/edit-data-panel-form/edit-data-panel-form-service.ts
0 → 100644
浏览文件 @
eb2afbd4
此差异已折叠。
点击以展开。
app_CRM/src/widgets/product/edit-data-panel-form/edit-data-panel-form.html
0 → 100644
浏览文件 @
eb2afbd4
<i-form
:model=
"this.data"
class=
'app-form'
ref=
'form'
id=
'product_edit_datapanel'
style=
""
>
<input
style=
"display:none;"
/>
<row
>
<i-col
v-show=
"detailsModel.group1.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-group
:model=
"detailsModel.group1"
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.product.edit_datapanel_form.details.group1')"
:isShowCaption=
"false"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<app-radio-group-data-panel
slot=
"dataInfoPanel"
:model=
"detailsModel.group1"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
/>
<row>
<i-col
v-show=
"detailsModel.statecode.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'statecode'
:itemRules=
"this.rules.statecode"
class=
''
:caption=
"$t('entities.product.edit_datapanel_form.details.statecode')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.statecode.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<dropdown-list
v-model=
"data.statecode"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.statecode.disabled"
tag=
'Product__StateCode'
codelistType=
'STATIC'
placeholder=
'请选择...'
style=
""
>
</dropdown-list>
</app-form-item>
</i-col>
</row>
</app-form-group>
</i-col>
</row>
</i-form>
\ No newline at end of file
app_CRM/src/widgets/product/edit-data-panel-form/edit-data-panel-form.vue
0 → 100644
浏览文件 @
eb2afbd4
<
template
src=
"./edit-data-panel-form.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { Edit_DataPanelEditFormBase } from './edit-data-panel-form-base';
/**
* form部件
*
* @export
* @class Edit_DataPanelEditForm
* @extends {Edit_DataPanelEditFormBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class Edit_DataPanelEditForm extends Edit_DataPanelEditFormBase { }
</script>
businesscentral-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
eb2afbd4
...
@@ -2757,7 +2757,7 @@
...
@@ -2757,7 +2757,7 @@
<!--输出实体[CONTACT]数据结构 -->
<!--输出实体[CONTACT]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-contact-3
49
-38"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-contact-3
50
-38"
>
<createTable
tableName=
"CONTACT"
>
<createTable
tableName=
"CONTACT"
>
<column
name=
"ADDRESS1_FREIGHTTERMSCODE"
remarks=
""
type=
"VARCHAR(30)"
>
<column
name=
"ADDRESS1_FREIGHTTERMSCODE"
remarks=
""
type=
"VARCHAR(30)"
>
</column>
</column>
...
@@ -7974,7 +7974,7 @@
...
@@ -7974,7 +7974,7 @@
<!--输出实体[PRODUCT]数据结构 -->
<!--输出实体[PRODUCT]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-product-1
38
-91"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-product-1
43
-91"
>
<createTable
tableName=
"PRODUCT"
>
<createTable
tableName=
"PRODUCT"
>
<column
name=
"VENDORID"
remarks=
""
type=
"VARCHAR(100)"
>
<column
name=
"VENDORID"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
</column>
...
@@ -11186,25 +11186,25 @@
...
@@ -11186,25 +11186,25 @@
<addForeignKeyConstraint
baseColumnNames=
"BUSINESSUNITID"
baseTableName=
"CONSTRAINTBASEDGROUP"
constraintName=
"DER1N_CONSTRAINTBASEDGROUP__BU"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"BUSINESSUNITID"
referencedTableName=
"BUSINESSUNIT"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"BUSINESSUNITID"
baseTableName=
"CONSTRAINTBASEDGROUP"
constraintName=
"DER1N_CONSTRAINTBASEDGROUP__BU"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"BUSINESSUNITID"
referencedTableName=
"BUSINESSUNIT"
validate=
"true"
/>
</changeSet>
</changeSet>
<!--输出实体[CONTACT]外键关系 -->
<!--输出实体[CONTACT]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-3
49
-199"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-3
50
-199"
>
<addForeignKeyConstraint
baseColumnNames=
"CUSTOMERID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT_ACCOUNT_CUSTOMER"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"ACCOUNTID"
referencedTableName=
"ACCOUNT"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"CUSTOMERID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT_ACCOUNT_CUSTOMER"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"ACCOUNTID"
referencedTableName=
"ACCOUNT"
validate=
"true"
/>
</changeSet>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-3
49
-200"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-3
50
-200"
>
<addForeignKeyConstraint
baseColumnNames=
"PREFERREDEQUIPMENTID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__EQUIPMENT__PREF"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"EQUIPMENTID"
referencedTableName=
"EQUIPMENT"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"PREFERREDEQUIPMENTID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__EQUIPMENT__PREF"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"EQUIPMENTID"
referencedTableName=
"EQUIPMENT"
validate=
"true"
/>
</changeSet>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-3
49
-201"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-3
50
-201"
>
<addForeignKeyConstraint
baseColumnNames=
"ORIGINATINGLEADID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__LEAD__ORIGINATI"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"LEADID"
referencedTableName=
"LEAD"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"ORIGINATINGLEADID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__LEAD__ORIGINATI"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"LEADID"
referencedTableName=
"LEAD"
validate=
"true"
/>
</changeSet>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-3
49
-202"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-3
50
-202"
>
<addForeignKeyConstraint
baseColumnNames=
"DEFAULTPRICELEVELID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__PRICELEVEL__DEF"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"PRICELEVELID"
referencedTableName=
"PRICELEVEL"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"DEFAULTPRICELEVELID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__PRICELEVEL__DEF"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"PRICELEVELID"
referencedTableName=
"PRICELEVEL"
validate=
"true"
/>
</changeSet>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-3
49
-203"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-3
50
-203"
>
<addForeignKeyConstraint
baseColumnNames=
"PREFERREDSERVICEID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__SERVICE__PREFER"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SERVICEID"
referencedTableName=
"SERVICE"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"PREFERREDSERVICEID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__SERVICE__PREFER"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SERVICEID"
referencedTableName=
"SERVICE"
validate=
"true"
/>
</changeSet>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-3
49
-204"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-3
50
-204"
>
<addForeignKeyConstraint
baseColumnNames=
"SLAID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__SLA__SLAID"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SLAID"
referencedTableName=
"SLA"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"SLAID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__SLA__SLAID"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SLAID"
referencedTableName=
"SLA"
validate=
"true"
/>
</changeSet>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-3
49
-205"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-3
50
-205"
>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__TRANSACTIONCURR"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__TRANSACTIONCURR"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
</changeSet>
<!--输出实体[CONTRACT]外键关系 -->
<!--输出实体[CONTRACT]外键关系 -->
...
@@ -11626,22 +11626,22 @@
...
@@ -11626,22 +11626,22 @@
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"PRICELEVEL"
constraintName=
"DER1N_PRICELEVEL__TRANSACTIONC"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"PRICELEVEL"
constraintName=
"DER1N_PRICELEVEL__TRANSACTIONC"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
</changeSet>
<!--输出实体[PRODUCT]外键关系 -->
<!--输出实体[PRODUCT]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-product-1
38
-344"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-product-1
43
-344"
>
<addForeignKeyConstraint
baseColumnNames=
"PRICELEVELID"
baseTableName=
"PRODUCT"
constraintName=
"DER1N_PRODUCT__PRICELEVEL__PRI"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"PRICELEVELID"
referencedTableName=
"PRICELEVEL"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"PRICELEVELID"
baseTableName=
"PRODUCT"
constraintName=
"DER1N_PRODUCT__PRICELEVEL__PRI"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"PRICELEVELID"
referencedTableName=
"PRICELEVEL"
validate=
"true"
/>
</changeSet>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-product-1
38
-345"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-product-1
43
-345"
>
<addForeignKeyConstraint
baseColumnNames=
"PARENTPRODUCTID"
baseTableName=
"PRODUCT"
constraintName=
"DER1N_PRODUCT__PRODUCT__PARENT"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"PRODUCTID"
referencedTableName=
"PRODUCT"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"PARENTPRODUCTID"
baseTableName=
"PRODUCT"
constraintName=
"DER1N_PRODUCT__PRODUCT__PARENT"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"PRODUCTID"
referencedTableName=
"PRODUCT"
validate=
"true"
/>
</changeSet>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-product-1
38
-346"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-product-1
43
-346"
>
<addForeignKeyConstraint
baseColumnNames=
"SUBJECTID"
baseTableName=
"PRODUCT"
constraintName=
"DER1N_PRODUCT__SUBJECT__SUBJEC"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SUBJECTID"
referencedTableName=
"SUBJECT"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"SUBJECTID"
baseTableName=
"PRODUCT"
constraintName=
"DER1N_PRODUCT__SUBJECT__SUBJEC"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SUBJECTID"
referencedTableName=
"SUBJECT"
validate=
"true"
/>
</changeSet>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-product-1
38
-347"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-product-1
43
-347"
>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"PRODUCT"
constraintName=
"DER1N_PRODUCT__TRANSACTIONCURR"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"PRODUCT"
constraintName=
"DER1N_PRODUCT__TRANSACTIONCURR"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-product-1
38
-348"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-product-1
43
-348"
>
<addForeignKeyConstraint
baseColumnNames=
"DEFAULTUOMSCHEDULEID"
baseTableName=
"PRODUCT"
constraintName=
"DER1N_PRODUCT__UOMSCHEDULE__DE"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"UOMSCHEDULEID"
referencedTableName=
"UOMSCHEDULE"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"DEFAULTUOMSCHEDULEID"
baseTableName=
"PRODUCT"
constraintName=
"DER1N_PRODUCT__UOMSCHEDULE__DE"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"UOMSCHEDULEID"
referencedTableName=
"UOMSCHEDULE"
validate=
"true"
/>
</changeSet>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-product-1
38
-349"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-product-1
43
-349"
>
<addForeignKeyConstraint
baseColumnNames=
"DEFAULTUOMID"
baseTableName=
"PRODUCT"
constraintName=
"DER1N_PRODUCT__UOM__DEFAULTUOM"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"UOMID"
referencedTableName=
"UOM"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"DEFAULTUOMID"
baseTableName=
"PRODUCT"
constraintName=
"DER1N_PRODUCT__UOM__DEFAULTUOM"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"UOMID"
referencedTableName=
"UOM"
validate=
"true"
/>
</changeSet>
</changeSet>
<!--输出实体[PRODUCTASSOCIATION]外键关系 -->
<!--输出实体[PRODUCTASSOCIATION]外键关系 -->
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录