Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
d032a85f
提交
d032a85f
编写于
7月 09, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chitanda 发布系统代码,表单受控内容支持
上级
c11b070b
变更
63
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
63 个修改的文件
包含
1173 行增加
和
514 行删除
+1173
-514
app-form-group.less
app_CRM/src/components/app-form-group/app-form-group.less
+8
-0
app-form-group.tsx
app_CRM/src/components/app-form-group/app-form-group.tsx
+306
-0
filter-mode.vue
app_CRM/src/components/filter-tree/filter-mode.vue
+5
-5
form-detail.ts
app_CRM/src/model/form-detail/form-detail.ts
+68
-4
form-group-panel.ts
app_CRM/src/model/form-detail/form-group-panel.ts
+45
-0
form-tab-page.ts
app_CRM/src/model/form-detail/form-tab-page.ts
+1
-1
campaign-service-base.ts
app_CRM/src/service/campaign/campaign-service-base.ts
+50
-50
competitor-service-base.ts
app_CRM/src/service/competitor/competitor-service-base.ts
+46
-46
contact-service-base.ts
app_CRM/src/service/contact/contact-service-base.ts
+131
-131
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
+50
-50
EditFormControlBase.tsx
app_CRM/src/studio-core/widgets/EditFormControlBase.tsx
+32
-0
info-all-form-base.tsx
.../src/widgets/account/info-all-form/info-all-form-base.tsx
+8
-4
inner-pickip-grid-model.ts
...gets/account/inner-pickip-grid/inner-pickip-grid-model.ts
+4
-0
main-grid-model.ts
app_CRM/src/widgets/account/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
...src/widgets/activity-pointer/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
...rc/widgets/campaign-activity/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
...RM/src/widgets/campaign-list/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
...rc/widgets/campaign-response/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
app_CRM/src/widgets/campaign/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
...c/widgets/competitor-product/main-grid/main-grid-model.ts
+4
-0
sal-lit-comp-grid-grid-model.ts
...re/sal-lit-comp-grid-grid/sal-lit-comp-grid-grid-model.ts
+4
-0
main-grid-model.ts
app_CRM/src/widgets/competitor/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
.../src/widgets/connection-role/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
app_CRM/src/widgets/connection/main-grid/main-grid-model.ts
+4
-0
by-account-grid-model.ts
.../widgets/contact/by-account-grid/by-account-grid-model.ts
+4
-0
main-grid-model.ts
app_CRM/src/widgets/contact/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
...RM/src/widgets/discount-type/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
app_CRM/src/widgets/entitlement/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
app_CRM/src/widgets/goal/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
app_CRM/src/widgets/ibiz-list/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
...rc/widgets/incident-customer/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
app_CRM/src/widgets/incident/main-grid/main-grid-model.ts
+4
-0
invoice-product-grid-grid-model.ts
...oice-product-grid-grid/invoice-product-grid-grid-model.ts
+4
-0
main-grid-model.ts
app_CRM/src/widgets/invoice/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
...s/knowledge-article-incident/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
...rc/widgets/knowledge-article/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
.../src/widgets/lead-competitor/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
app_CRM/src/widgets/lead/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
...CRM/src/widgets/list-account/main-grid/main-grid-model.ts
+4
-0
inner-grid-model.ts
...M/src/widgets/list-contact/inner-grid/inner-grid-model.ts
+4
-0
main-grid-model.ts
...CRM/src/widgets/list-contact/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
app_CRM/src/widgets/list-lead/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
app_CRM/src/widgets/metric/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
.../src/widgets/multi-pick-data/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
...dgets/opportunity-competitor/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
.../widgets/opportunity-product/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
app_CRM/src/widgets/opportunity/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
app_CRM/src/widgets/price-level/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
.../widgets/product-association/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
.../widgets/product-price-level/main-grid/main-grid-model.ts
+4
-0
sal-lit-pro-grid-grid-model.ts
...ture/sal-lit-pro-grid-grid/sal-lit-pro-grid-grid-model.ts
+4
-0
main-grid-model.ts
...c/widgets/product-substitute/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
app_CRM/src/widgets/product/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
...CRM/src/widgets/quote-detail/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
app_CRM/src/widgets/quote/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
...idgets/sales-literature-item/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
...src/widgets/sales-literature/main-grid/main-grid-model.ts
+4
-0
soproduct-grid-model.ts
...sales-order-detail/soproduct-grid/soproduct-grid-model.ts
+4
-0
main-grid-model.ts
app_CRM/src/widgets/sales-order/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
app_CRM/src/widgets/subject/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
...widgets/transaction-currency/main-grid/main-grid-model.ts
+4
-0
main-grid-model.ts
app_CRM/src/widgets/uom/main-grid/main-grid-model.ts
+4
-0
未找到文件。
app_CRM/src/components/app-form-group/app-form-group.less
浏览文件 @
d032a85f
.app-form-group {
.app-form-group {
.show-more {
margin-top: 5px;
}
>.ivu-card-head {
>.ivu-card-head {
>p {
>p {
...
@@ -16,6 +20,10 @@
...
@@ -16,6 +20,10 @@
.item {
.item {
margin-left: 12px;
margin-left: 12px;
.caption {
padding-left: 5px;
}
}
}
}
}
}
}
...
...
app_CRM/src/components/app-form-group/app-form-group.tsx
0 → 100644
浏览文件 @
d032a85f
import
{
Vue
,
Component
,
Prop
}
from
'vue-property-decorator'
;
import
'./app-form-group.less'
/**
* 表单分组
*
* @export
* @class AppFormGroup
* @extends {Vue}
*/
@
Component
({})
export
default
class
AppFormGroup
extends
Vue
{
/**
* 表单分组模型
*
* @type {*}
* @memberof AppFormGroup
*/
@
Prop
({
default
:
()
=>
{
}
})
public
model
:
any
;
/**
* 标题
*
* @type {string}
* @memberof AppFormGroup
*/
@
Prop
()
public
caption
?:
string
;
/**
* 内置界面样式
*
* @type {string}
* @memberof AppFormGroup
*/
@
Prop
({
default
:
'DEFAULT'
})
public
uiStyle
!
:
string
;
/**
* 布局模式
*
* @type {string}
* @memberof AppFormGroup
*/
@
Prop
()
public
layoutType
?:
string
;
/**
* 标题样式
*
* @type {string}
* @memberof AppFormGroup
*/
@
Prop
()
public
titleStyle
?:
string
;
/**
* 分组图标
*
* @type {string}
* @memberof AppFormGroup
*/
@
Prop
()
public
iconInfo
?:
any
;
/**
* 是否显示标题
*
* @type {boolean}
* @memberof AppFormGroup
*/
@
Prop
({
default
:
true
})
public
isShowCaption
!
:
boolean
;
/**
* 信息面板模式
*
* @type {boolean}
* @memberof AppFormGroup
*/
@
Prop
({
default
:
false
})
public
isInfoGroupMode
!
:
boolean
;
/**
* 界面行为组
*
* @type {*}
* @memberof AppFormGroup
*/
@
Prop
()
public
uiActionGroup
?:
any
;
/**
* 标题栏关闭模式
* 0: 不支持关闭
* 1: 默认打开
* 2: 默认关闭
*
* @type {(number | 0 | 1 | 2)}
* @memberof AppFormGroup
*/
@
Prop
({
default
:
0
})
public
titleBarCloseMode
!
:
number
|
0
|
1
|
2
;
/**
* 收缩内容
*
* @type {boolean}
* @memberof AppFormGroup
*/
public
collapseContant
:
boolean
=
false
;
/**
* 计算样式
*
* @readonly
* @type {string[]}
* @memberof AppFormGroup
*/
get
classes
():
string
[]
{
return
[
'app-form-group'
,
this
.
isShowCaption
&&
this
.
collapseContant
?
'app-group-collapse-contant'
:
''
,
this
.
isInfoGroupMode
?
'app-info-group-mode'
:
''
,
Object
.
is
(
this
.
layoutType
,
'FLEX'
)
?
'app-group-flex'
:
''
,
this
.
uiStyle
.
toLowerCase
()
];
}
/**
* 标题样式
*
* @readonly
* @type {string}
* @memberof AppFormGroup
*/
get
titleClass
():
string
{
return
this
.
titleStyle
?
this
.
titleStyle
:
''
;
}
/**
* vue 生命周期
*
* @memberof AppFormGroup
*/
public
created
()
{
this
.
collapseContant
=
this
.
titleBarCloseMode
===
2
?
true
:
false
;
}
/**
* 触发收缩
*
* @memberof AppFormGroup
*/
public
clickCollapse
():
void
{
this
.
collapseContant
=
!
this
.
collapseContant
;
}
/**
* 执行界面行
*
* @param {*} $event
* @memberof AppFormGroup
*/
public
doUIAction
(
$event
:
any
,
item
:
any
):
void
{
this
.
$emit
(
'groupuiactionclick'
,
{
event
:
$event
,
item
:
item
});
}
/**
* 计算行为项图标
*
* @protected
* @param {*} detail
* @returns {*}
* @memberof AppFormGroup
*/
protected
getIcon
(
detail
:
any
):
any
{
if
(
detail
.
isShowIcon
)
{
if
(
isExistAndNotEmpty
(
detail
.
icon
))
{
return
<
i
class=
{
detail
.
icon
}
/>;
}
else
if
(
isExistAndNotEmpty
(
detail
.
img
))
{
return
<
img
src=
"detail.img"
/>;
}
}
}
/**
* 计算行为项标题
*
* @protected
* @param {*} detail
* @returns {*}
* @memberof AppFormGroup
*/
protected
getCaption
(
detail
:
any
):
any
{
if
(
detail
.
isShowCaption
)
{
if
(
isExistAndNotEmpty
(
detail
.
uiactiontag
)
&&
isExistAndNotEmpty
(
this
.
uiActionGroup
.
langbase
))
{
return
this
.
$t
(
`
${
this
.
uiActionGroup
.
langbase
}
.uiactions.
${
detail
.
uiactiontag
}
`
);
}
return
detail
.
caption
;
}
}
/**
* 绘制样式4模式分组
*
* @protected
* @returns {*}
* @memberof AppFormGroup
*/
protected
renderStyle4
():
any
{
return
<
app
-
form
-
group4
caption=
{
this
.
caption
}
uiStyle=
{
this
.
uiStyle
}
layoutType=
{
this
.
layoutType
}
isShowCaption=
{
this
.
isShowCaption
}
isInfoGroupMode=
{
this
.
isInfoGroupMode
}
uiActionGroup=
{
this
.
uiActionGroup
}
titleBarCloseMode=
{
this
.
titleBarCloseMode
}
>
{
this
.
$slots
.
default
}
</
app
-
form
-
group4
>;
}
/**
* 绘制样式2模式分组
*
* @protected
* @returns {*}
* @memberof AppFormGroup
*/
protected
renderStyle2
():
any
{
return
<
app
-
form
-
group2
caption=
{
this
.
caption
}
uiStyle=
{
this
.
uiStyle
}
layoutType=
{
this
.
layoutType
}
isShowCaption=
{
this
.
isShowCaption
}
isInfoGroupMode=
{
this
.
isInfoGroupMode
}
uiActionGroup=
{
this
.
uiActionGroup
}
titleBarCloseMode=
{
this
.
titleBarCloseMode
}
>
{
this
.
$slots
.
default
}
</
app
-
form
-
group2
>;
}
/**
* 绘制行为组
*
* @protected
* @returns {*}
* @memberof AppFormGroup
*/
protected
renderActionGroup
():
any
{
if
(
this
.
uiActionGroup
)
{
let
content
:
any
;
if
(
this
.
uiActionGroup
.
extractMode
&&
Object
.
is
(
this
.
uiActionGroup
.
extractMode
,
'ITEMS'
))
{
content
=
<
dropdown
transfer=
{
true
}
trigger=
'click'
>
<
a
href=
'javascript:void(0)'
>
{
this
.
uiActionGroup
.
caption
}
</
a
>
<
dropdown
-
menu
slot=
'list'
>
{
this
.
uiActionGroup
.
details
.
map
((
detail
:
any
,
i
:
number
)
=>
{
return
<
dropdown
-
item
key=
{
i
}
name=
{
detail
.
name
}
>
<
span
class=
'item'
on
-
click=
{
(
e
:
any
)
=>
this
.
doUIAction
(
e
,
detail
)
}
>
{
this
.
getIcon
(
detail
)
}
<
span
class=
"caption"
>
{
this
.
getCaption
(
detail
)
}
</
span
>
</
span
>
;
</
dropdown
-
item
>;
})
}
</
dropdown
-
menu
>
</
dropdown
>;
}
else
{
content
=
<
span
class=
'item-extract-mode'
>
{
this
.
uiActionGroup
.
details
.
map
((
detail
:
any
,
i
:
number
)
=>
{
return
<
span
key=
{
i
}
class=
'item'
on
-
click=
{
(
e
:
any
)
=>
this
.
doUIAction
(
e
,
detail
)
}
>
{
this
.
getIcon
(
detail
)
}
<
span
class=
"caption"
>
{
this
.
getCaption
(
detail
)
}
</
span
>
</
span
>;
})
}
</
span
>;
}
return
<
a
slot=
'extra'
>
{
content
}
</
a
>;
}
}
/**
* 绘制默认内容
*
* @protected
* @returns {*}
* @memberof AppFormGroup
*/
protected
renderContent
():
any
{
if
(
this
.
isShowCaption
===
false
)
{
return
this
.
$slots
.
default
;
}
return
<
card
bordered=
{
false
}
dis
-
hover=
{
true
}
class=
{
this
.
classes
}
>
<
p
slot=
'title'
>
{
this
.
titleBarCloseMode
!==
0
?
<
icon
type=
{
this
.
collapseContant
?
'ios-arrow-dropright-circle'
:
'ios-arrow-dropdown-circle'
}
on
-
click=
{
()
=>
this
.
clickCollapse
()
}
></
icon
>
:
null
}
<
span
class=
{
this
.
titleClass
}
>
{
this
.
caption
}
</
span
>
</
p
>
{
this
.
renderActionGroup
()
}
{
Object
.
is
(
this
.
layoutType
,
'FLEX'
)
?
this
.
$slots
.
default
:
<
row
gutter=
{
10
}
>
{
this
.
$slots
.
default
}
</
row
>
}
<
div
class=
"show-more"
v
-
show=
{
this
.
model
.
showMoreMode
===
2
}
>
<
i
-
button
on
-
click=
{
()
=>
this
.
model
.
changeShowMore
()
}
size=
"small"
>
{
this
.
model
?.
showMore
?
'隐藏更多'
:
'显示更多'
}
</
i
-
button
>
</
div
>
</
card
>;
}
/**
* 绘制内容
*
* @returns {*}
* @memberof AppFormGroup
*/
public
render
():
any
{
let
content
:
any
;
if
(
this
.
uiStyle
===
'STYLE4'
)
{
content
=
this
.
renderStyle4
();
}
else
if
(
this
.
uiStyle
===
'STYLE2'
)
{
content
=
this
.
renderStyle2
();
}
else
{
content
=
this
.
renderContent
();
}
return
<
div
class=
{
this
.
classes
}
>
{
content
}
</
div
>;
}
}
\ No newline at end of file
app_CRM/src/components/filter-tree/filter-mode.vue
浏览文件 @
d032a85f
...
@@ -72,13 +72,13 @@ export default class FilterMode extends Vue {
...
@@ -72,13 +72,13 @@ export default class FilterMode extends Vue {
// { name: 'AND', value: '$and' },
// { name: 'AND', value: '$and' },
// { name: 'OR', value: '$or' },
// { name: 'OR', value: '$or' },
{
'zh-CN'
:
'等于(=)'
,
'en-US'
:
'EQ'
,
value
:
'$eq'
},
{
'zh-CN'
:
'等于(=)'
,
'en-US'
:
'EQ'
,
value
:
'$eq'
},
{
'zh-CN'
:
'不等于(<>)'
,
'en-US'
:
'N
E
'
,
value
:
'$ne'
},
{
'zh-CN'
:
'不等于(<>)'
,
'en-US'
:
'N
OTEQ
'
,
value
:
'$ne'
},
{
'zh-CN'
:
'大于(>)'
,
'en-US'
:
'GT'
,
value
:
'$gt'
},
{
'zh-CN'
:
'大于(>)'
,
'en-US'
:
'GT'
,
value
:
'$gt'
},
{
'zh-CN'
:
'大于等于(>=)'
,
'en-US'
:
'G
E
'
,
value
:
'$gte'
},
{
'zh-CN'
:
'大于等于(>=)'
,
'en-US'
:
'G
TANDEQ
'
,
value
:
'$gte'
},
{
'zh-CN'
:
'小于(<)'
,
'en-US'
:
'LT'
,
value
:
'$lt'
},
{
'zh-CN'
:
'小于(<)'
,
'en-US'
:
'LT'
,
value
:
'$lt'
},
{
'zh-CN'
:
'小于
(<=)'
,
'en-US'
:
'LE
'
,
value
:
'$lte'
},
{
'zh-CN'
:
'小于
等于(<=)'
,
'en-US'
:
'LTANDEQ
'
,
value
:
'$lte'
},
{
'zh-CN'
:
'值为空(Nil)'
,
'en-US'
:
'IS
_
NULL'
,
value
:
'$null'
},
{
'zh-CN'
:
'值为空(Nil)'
,
'en-US'
:
'ISNULL'
,
value
:
'$null'
},
{
'zh-CN'
:
'值不为空(NotNil)'
,
'en-US'
:
'IS
_NOT_
NULL'
,
value
:
'$notNull'
},
{
'zh-CN'
:
'值不为空(NotNil)'
,
'en-US'
:
'IS
NOT
NULL'
,
value
:
'$notNull'
},
{
'zh-CN'
:
'值在范围中(In)'
,
'en-US'
:
'IN'
,
value
:
'$in'
},
{
'zh-CN'
:
'值在范围中(In)'
,
'en-US'
:
'IN'
,
value
:
'$in'
},
{
'zh-CN'
:
'值不在范围中(NotIn)'
,
'en-US'
:
'NOTIN'
,
value
:
'$notIn'
},
{
'zh-CN'
:
'值不在范围中(NotIn)'
,
'en-US'
:
'NOTIN'
,
value
:
'$notIn'
},
{
'zh-CN'
:
'文本包含(%)'
,
'en-US'
:
'LIKE'
,
value
:
'$like'
},
{
'zh-CN'
:
'文本包含(%)'
,
'en-US'
:
'LIKE'
,
value
:
'$like'
},
...
...
app_CRM/src/model/form-detail/form-detail.ts
浏览文件 @
d032a85f
...
@@ -6,6 +6,22 @@
...
@@ -6,6 +6,22 @@
*/
*/
export
class
FormDetailModel
{
export
class
FormDetailModel
{
/**
* 参数
*
* @type {*}
* @memberof FormDetailModel
*/
public
opts
:
any
=
{};
/**
* 父
*
* @type {*}
* @memberof FormDetailModel
*/
public
parent
:
any
=
null
;
/**
/**
* 成员标题
* 成员标题
*
*
...
@@ -44,7 +60,18 @@ export class FormDetailModel {
...
@@ -44,7 +60,18 @@ export class FormDetailModel {
* @type {boolean}
* @type {boolean}
* @memberof FormDetailModel
* @memberof FormDetailModel
*/
*/
public
visible
:
boolean
=
true
;
protected
$visible
:
boolean
;
/**
* 成员是否隐藏
*
* @readonly
* @type {boolean}
* @memberof FormDetailModel
*/
public
get
visible
():
boolean
{
return
(
this
.
isShowMore
&&
this
.
$visible
);
}
/**
/**
* 成员是否显示标题
* 成员是否显示标题
...
@@ -52,7 +79,23 @@ export class FormDetailModel {
...
@@ -52,7 +79,23 @@ export class FormDetailModel {
* @type {boolean}
* @type {boolean}
* @memberof FormDetailModel
* @memberof FormDetailModel
*/
*/
public
isShowCaption
:
boolean
=
true
;
public
isShowCaption
:
boolean
;
/**
* 表单项受控模式,
*
* @type {(0 | 1 | 2)}
* @memberof FormDetailModel
*/
public
showMoreMode
:
0
|
1
|
2
=
0
;
/**
* 受控项是否显示
*
* @type {boolean}
* @memberof FormGroupPanelModel
*/
public
isShowMore
:
boolean
;
/**
/**
* Creates an instance of FormDetailModel.
* Creates an instance of FormDetailModel.
...
@@ -62,12 +105,19 @@ export class FormDetailModel {
...
@@ -62,12 +105,19 @@ export class FormDetailModel {
* @memberof FormDetailModel
* @memberof FormDetailModel
*/
*/
constructor
(
opts
:
any
=
{})
{
constructor
(
opts
:
any
=
{})
{
this
.
opts
=
opts
;
this
.
caption
=
!
Object
.
is
(
opts
.
caption
,
''
)
?
opts
.
caption
:
''
;
this
.
caption
=
!
Object
.
is
(
opts
.
caption
,
''
)
?
opts
.
caption
:
''
;
this
.
detailType
=
!
Object
.
is
(
opts
.
detailType
,
''
)
?
opts
.
detailType
:
''
;
this
.
detailType
=
!
Object
.
is
(
opts
.
detailType
,
''
)
?
opts
.
detailType
:
''
;
this
.
form
=
opts
.
form
?
opts
.
form
:
{};
this
.
form
=
opts
.
form
?
opts
.
form
:
{};
this
.
name
=
!
Object
.
is
(
opts
.
name
,
''
)
?
opts
.
name
:
''
;
this
.
name
=
!
Object
.
is
(
opts
.
name
,
''
)
?
opts
.
name
:
''
;
this
.
visible
=
opts
.
visible
?
true
:
false
;
this
.
$
visible
=
opts
.
visible
?
true
:
false
;
this
.
isShowCaption
=
opts
.
isShowCaption
?
true
:
false
;
this
.
isShowCaption
=
opts
.
isShowCaption
?
true
:
false
;
this
.
showMoreMode
=
opts
.
showMoreMode
;
if
(
this
.
showMoreMode
===
1
)
{
this
.
isShowMore
=
false
;
}
else
{
this
.
isShowMore
=
true
;
}
}
}
/**
/**
...
@@ -77,7 +127,21 @@ export class FormDetailModel {
...
@@ -77,7 +127,21 @@ export class FormDetailModel {
* @memberof FormDetailModel
* @memberof FormDetailModel
*/
*/
public
setVisible
(
state
:
boolean
):
void
{
public
setVisible
(
state
:
boolean
):
void
{
this
.
visible
=
state
;
this
.
$visible
=
state
;
}
/**
* 改变显示更多受控项状态
*
* @param {boolean} bol
* @memberof FormDetailModel
*/
public
setShowMore
(
bol
:
boolean
):
void
{
if
(
isExist
(
bol
))
{
this
.
isShowMore
=
bol
;
}
else
{
this
.
isShowMore
=
!
this
.
isShowMore
;
}
}
}
/**
/**
...
...
app_CRM/src/model/form-detail/form-group-panel.ts
浏览文件 @
d032a85f
...
@@ -17,6 +17,30 @@ export class FormGroupPanelModel extends FormDetailModel {
...
@@ -17,6 +17,30 @@ export class FormGroupPanelModel extends FormDetailModel {
*/
*/
public
uiActionGroup
:
any
=
{};
public
uiActionGroup
:
any
=
{};
/**
* 所有锚点项
*
* @type {any[]}
* @memberof FormGroupPanelModel
*/
public
anchorPoints
:
any
=
{};
/**
* 所有受控项
*
* @type {*}
* @memberof FormGroupPanelModel
*/
public
controlledItems
:
any
=
{};
/**
* 表单分组控制子是否显示更多
*
* @type {boolean}
* @memberof FormGroupPanelModel
*/
public
showMore
:
boolean
=
false
;
/**
/**
* Creates an instance of FormGroupPanelModel.
* Creates an instance of FormGroupPanelModel.
* 创建 FormGroupPanelModel 实例
* 创建 FormGroupPanelModel 实例
...
@@ -28,4 +52,25 @@ export class FormGroupPanelModel extends FormDetailModel {
...
@@ -28,4 +52,25 @@ export class FormGroupPanelModel extends FormDetailModel {
super
(
opts
);
super
(
opts
);
Object
.
assign
(
this
.
uiActionGroup
,
opts
.
uiActionGroup
);
Object
.
assign
(
this
.
uiActionGroup
,
opts
.
uiActionGroup
);
}
}
/**
* 改变显示更多受控项状态
*
* @param {boolean} bol
* @memberof FormDetailModel
*/
public
changeShowMore
(
bol
:
boolean
):
void
{
if
(
isExist
(
bol
))
{
this
.
isShowMore
=
bol
;
}
else
{
this
.
showMore
=
!
this
.
showMore
;
}
for
(
const
key
in
this
.
controlledItems
)
{
if
(
this
.
controlledItems
.
hasOwnProperty
(
key
))
{
const
item
=
this
.
controlledItems
[
key
];
item
.
setShowMore
(
this
.
showMore
);
}
}
}
}
}
\ No newline at end of file
app_CRM/src/model/form-detail/form-tab-page.ts
浏览文件 @
d032a85f
...
@@ -29,7 +29,7 @@ export class FormTabPageModel extends FormDetailModel {
...
@@ -29,7 +29,7 @@ export class FormTabPageModel extends FormDetailModel {
* @memberof FormTabPageModel
* @memberof FormTabPageModel
*/
*/
public
setVisible
(
state
:
boolean
):
void
{
public
setVisible
(
state
:
boolean
):
void
{
this
.
visible
=
state
;
super
.
setVisible
(
state
)
;
const
tabPanel
=
this
.
getTabPanelModel
();
const
tabPanel
=
this
.
getTabPanelModel
();
if
(
tabPanel
)
{
if
(
tabPanel
)
{
tabPanel
.
setActiviePage
();
tabPanel
.
setActiviePage
();
...
...
app_CRM/src/service/campaign/campaign-service-base.ts
浏览文件 @
d032a85f
此差异已折叠。
点击以展开。
app_CRM/src/service/competitor/competitor-service-base.ts
浏览文件 @
d032a85f
此差异已折叠。
点击以展开。
app_CRM/src/service/contact/contact-service-base.ts
浏览文件 @
d032a85f
此差异已折叠。
点击以展开。
app_CRM/src/service/opportunity/opportunity-service-base.ts
浏览文件 @
d032a85f
此差异已折叠。
点击以展开。
app_CRM/src/service/product/product-service-base.ts
浏览文件 @
d032a85f
此差异已折叠。
点击以展开。
app_CRM/src/studio-core/widgets/EditFormControlBase.tsx
浏览文件 @
d032a85f
...
@@ -139,6 +139,38 @@ export class EditFormControlBase extends FormControlBase {
...
@@ -139,6 +139,38 @@ export class EditFormControlBase extends FormControlBase {
}
}
}
}
},
'update'
,
this
.
appDeName
.
toUpperCase
()));
},
'update'
,
this
.
appDeName
.
toUpperCase
()));
this
.
fillDetailModels
();
}
/**
* 填充表单模型
*
* @protected
* @memberof EditFormControlBase
*/
protected
fillDetailModels
():
void
{
for
(
const
key
in
this
.
detailsModel
)
{
if
(
this
.
detailsModel
.
hasOwnProperty
(
key
))
{
const
item
=
this
.
detailsModel
[
key
];
if
(
item
.
detailType
===
'GROUPPANEL'
)
{
if
(
item
.
opts
.
anchorPoints
)
{
item
.
opts
.
anchorPoints
.
forEach
((
str
:
string
)
=>
{
if
(
this
.
detailsModel
[
str
])
{
item
.
anchorPoints
[
str
]
=
this
.
detailsModel
[
str
];
}
});
}
if
(
item
.
opts
.
controlledItems
)
{
console
.
log
(
item
.
opts
.
name
,
'2'
);
item
.
opts
.
controlledItems
.
forEach
((
str
:
string
)
=>
{
if
(
this
.
detailsModel
[
str
])
{
item
.
controlledItems
[
str
]
=
this
.
detailsModel
[
str
];
}
});
}
}
}
}
}
}
/**
/**
...
...
app_CRM/src/widgets/account/info-all-form/info-all-form-base.tsx
浏览文件 @
d032a85f
...
@@ -211,8 +211,12 @@ export class Info_AllEditFormBase extends EditFormControlBase {
...
@@ -211,8 +211,12 @@ export class Info_AllEditFormBase extends EditFormControlBase {
public
detailsModel
:
any
=
{
public
detailsModel
:
any
=
{
group1
:
new
FormGroupPanelModel
({
caption
:
'账户信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
2
,
anchorPoints
:
[
'sic'
,
'tickersymbol'
,
'ownershipcode'
,
],
controlledItems
:
[
group1
:
new
FormGroupPanelModel
({
caption
:
'账户信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
2
,
anchorPoints
:
[
'sic'
,
'tickersymbol'
,
'ownershipcode'
,
],
controlledItems
:
[
'sic'
,
'sic'
,
'fax'
,
'websiteurl'
,
'parentaccountname'
,
'tickersymbol'
,
'tickersymbol'
,
'ownershipcode'
,
'ownershipcode'
,
'defaultpricelevelname'
,
],
uiActionGroup
:
{
caption
:
'编辑_账户信息'
,
langbase
:
'entities.account.info_all_form'
,
extractMode
:
'ITEM'
,
details
:
[{
name
:
'group1_uc040f39'
,
caption
:
'编辑'
,
uiactiontag
:
'account_edit_accountinfo'
,
icon
:
'fa fa-pencil'
,
isShowCaption
:
false
,
isShowIcon
:
true
}]
}
}),
],
uiActionGroup
:
{
caption
:
'编辑_账户信息'
,
langbase
:
'entities.account.info_all_form'
,
extractMode
:
'ITEM'
,
details
:
[{
name
:
'group1_uc040f39'
,
caption
:
'编辑'
,
uiactiontag
:
'account_edit_accountinfo'
,
icon
:
'fa fa-pencil'
,
isShowCaption
:
false
,
isShowIcon
:
true
}]
}
}),
grouppanel1
:
new
FormGroupPanelModel
({
caption
:
'地址信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'grouppanel1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
uiActionGroup
:
{
caption
:
'编辑_地址信息'
,
langbase
:
'entities.account.info_all_form'
,
extractMode
:
'ITEM'
,
details
:
[{
name
:
'grouppanel1_u2ccbfc9'
,
caption
:
'编辑'
,
uiactiontag
:
'account_edit_address'
,
icon
:
'fa fa-pencil'
,
isShowCaption
:
false
,
isShowIcon
:
true
}]
}
}),
grouppanel1
:
new
FormGroupPanelModel
({
caption
:
'地址信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'grouppanel1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
uiActionGroup
:
{
caption
:
'编辑_地址信息'
,
langbase
:
'entities.account.info_all_form'
,
extractMode
:
'ITEM'
,
details
:
[{
name
:
'grouppanel1_u2ccbfc9'
,
caption
:
'编辑'
,
uiactiontag
:
'account_edit_address'
,
icon
:
'fa fa-pencil'
,
isShowCaption
:
false
,
isShowIcon
:
true
}]
}
}),
...
@@ -251,17 +255,17 @@ export class Info_AllEditFormBase extends EditFormControlBase {
...
@@ -251,17 +255,17 @@ export class Info_AllEditFormBase extends EditFormControlBase {
sic
:
new
FormItemModel
({
caption
:
'行业编码'
,
detailType
:
'FORMITEM'
,
name
:
'sic'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
1
,
disabled
:
false
,
enableCond
:
3
}),
sic
:
new
FormItemModel
({
caption
:
'行业编码'
,
detailType
:
'FORMITEM'
,
name
:
'sic'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
1
,
disabled
:
false
,
enableCond
:
3
}),
fax
:
new
FormItemModel
({
caption
:
'传真'
,
detailType
:
'FORMITEM'
,
name
:
'fax'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
fax
:
new
FormItemModel
({
caption
:
'传真'
,
detailType
:
'FORMITEM'
,
name
:
'fax'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
1
,
disabled
:
false
,
enableCond
:
3
}),
websiteurl
:
new
FormItemModel
({
caption
:
'网站'
,
detailType
:
'FORMITEM'
,
name
:
'websiteurl'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
websiteurl
:
new
FormItemModel
({
caption
:
'网站'
,
detailType
:
'FORMITEM'
,
name
:
'websiteurl'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
1
,
disabled
:
false
,
enableCond
:
3
}),
parentaccountname
:
new
FormItemModel
({
caption
:
'上级客户'
,
detailType
:
'FORMITEM'
,
name
:
'parentaccountname'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
parentaccountname
:
new
FormItemModel
({
caption
:
'上级客户'
,
detailType
:
'FORMITEM'
,
name
:
'parentaccountname'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
1
,
disabled
:
false
,
enableCond
:
3
}),
tickersymbol
:
new
FormItemModel
({
caption
:
'股票代号'
,
detailType
:
'FORMITEM'
,
name
:
'tickersymbol'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
1
,
disabled
:
false
,
enableCond
:
3
}),
tickersymbol
:
new
FormItemModel
({
caption
:
'股票代号'
,
detailType
:
'FORMITEM'
,
name
:
'tickersymbol'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
1
,
disabled
:
false
,
enableCond
:
3
}),
ownershipcode
:
new
FormItemModel
({
caption
:
'所有权'
,
detailType
:
'FORMITEM'
,
name
:
'ownershipcode'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
1
,
disabled
:
false
,
enableCond
:
3
}),
ownershipcode
:
new
FormItemModel
({
caption
:
'所有权'
,
detailType
:
'FORMITEM'
,
name
:
'ownershipcode'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
1
,
disabled
:
false
,
enableCond
:
3
}),
defaultpricelevelname
:
new
FormItemModel
({
caption
:
'价目表'
,
detailType
:
'FORMITEM'
,
name
:
'defaultpricelevelname'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
defaultpricelevelname
:
new
FormItemModel
({
caption
:
'价目表'
,
detailType
:
'FORMITEM'
,
name
:
'defaultpricelevelname'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
1
,
disabled
:
false
,
enableCond
:
3
}),
description
:
new
FormItemModel
({
caption
:
'说明'
,
detailType
:
'FORMITEM'
,
name
:
'description'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
description
:
new
FormItemModel
({
caption
:
'说明'
,
detailType
:
'FORMITEM'
,
name
:
'description'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
...
...
app_CRM/src/widgets/account/inner-pickip-grid/inner-pickip-grid-model.ts
浏览文件 @
d032a85f
...
@@ -108,6 +108,10 @@ export default class InnerPickipModel {
...
@@ -108,6 +108,10 @@ export default class InnerPickipModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/account/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -154,6 +154,10 @@ export default class MainModel {
...
@@ -154,6 +154,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/activity-pointer/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -109,6 +109,10 @@ export default class MainModel {
...
@@ -109,6 +109,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/campaign-activity/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -74,6 +74,10 @@ export default class MainModel {
...
@@ -74,6 +74,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/campaign-list/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -64,6 +64,10 @@ export default class MainModel {
...
@@ -64,6 +64,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/campaign-response/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -79,6 +79,10 @@ export default class MainModel {
...
@@ -79,6 +79,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/campaign/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -109,6 +109,10 @@ export default class MainModel {
...
@@ -109,6 +109,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/competitor-product/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -79,6 +79,10 @@ export default class MainModel {
...
@@ -79,6 +79,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/competitor-sales-literature/sal-lit-comp-grid-grid/sal-lit-comp-grid-grid-model.ts
浏览文件 @
d032a85f
...
@@ -74,6 +74,10 @@ export default class SalLitCompGridModel {
...
@@ -74,6 +74,10 @@ export default class SalLitCompGridModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/competitor/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -69,6 +69,10 @@ export default class MainModel {
...
@@ -69,6 +69,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/connection-role/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -89,6 +89,10 @@ export default class MainModel {
...
@@ -89,6 +89,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/connection/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -94,6 +94,10 @@ export default class MainModel {
...
@@ -94,6 +94,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/contact/by-account-grid/by-account-grid-model.ts
浏览文件 @
d032a85f
...
@@ -108,6 +108,10 @@ export default class ByAccountModel {
...
@@ -108,6 +108,10 @@ export default class ByAccountModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/contact/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -124,6 +124,10 @@ export default class MainModel {
...
@@ -124,6 +124,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/discount-type/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -74,6 +74,10 @@ export default class MainModel {
...
@@ -74,6 +74,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/entitlement/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -84,6 +84,10 @@ export default class MainModel {
...
@@ -84,6 +84,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/goal/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -129,6 +129,10 @@ export default class MainModel {
...
@@ -129,6 +129,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/ibiz-list/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -84,6 +84,10 @@ export default class MainModel {
...
@@ -84,6 +84,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/incident-customer/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -74,6 +74,10 @@ export default class MainModel {
...
@@ -74,6 +74,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/incident/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -154,6 +154,10 @@ export default class MainModel {
...
@@ -154,6 +154,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/invoice-detail/invoice-product-grid-grid/invoice-product-grid-grid-model.ts
浏览文件 @
d032a85f
...
@@ -109,6 +109,10 @@ export default class InvoiceProductGridModel {
...
@@ -109,6 +109,10 @@ export default class InvoiceProductGridModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/invoice/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -99,6 +99,10 @@ export default class MainModel {
...
@@ -99,6 +99,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/knowledge-article-incident/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -79,6 +79,10 @@ export default class MainModel {
...
@@ -79,6 +79,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/knowledge-article/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -99,6 +99,10 @@ export default class MainModel {
...
@@ -99,6 +99,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/lead-competitor/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -74,6 +74,10 @@ export default class MainModel {
...
@@ -74,6 +74,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/lead/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -124,6 +124,10 @@ export default class MainModel {
...
@@ -124,6 +124,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/list-account/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -84,6 +84,10 @@ export default class MainModel {
...
@@ -84,6 +84,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/list-contact/inner-grid/inner-grid-model.ts
浏览文件 @
d032a85f
...
@@ -88,6 +88,10 @@ export default class InnerModel {
...
@@ -88,6 +88,10 @@ export default class InnerModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/list-contact/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -89,6 +89,10 @@ export default class MainModel {
...
@@ -89,6 +89,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/list-lead/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -83,6 +83,10 @@ export default class MainModel {
...
@@ -83,6 +83,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/metric/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -69,6 +69,10 @@ export default class MainModel {
...
@@ -69,6 +69,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/multi-pick-data/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -84,6 +84,10 @@ export default class MainModel {
...
@@ -84,6 +84,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/opportunity-competitor/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -94,6 +94,10 @@ export default class MainModel {
...
@@ -94,6 +94,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/opportunity-product/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -94,6 +94,10 @@ export default class MainModel {
...
@@ -94,6 +94,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/opportunity/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -124,6 +124,10 @@ export default class MainModel {
...
@@ -124,6 +124,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/price-level/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -74,6 +74,10 @@ export default class MainModel {
...
@@ -74,6 +74,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/product-association/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -89,6 +89,10 @@ export default class MainModel {
...
@@ -89,6 +89,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/product-price-level/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -104,6 +104,10 @@ export default class MainModel {
...
@@ -104,6 +104,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/product-sales-literature/sal-lit-pro-grid-grid/sal-lit-pro-grid-grid-model.ts
浏览文件 @
d032a85f
...
@@ -74,6 +74,10 @@ export default class SalLitProGridModel {
...
@@ -74,6 +74,10 @@ export default class SalLitProGridModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/product-substitute/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -84,6 +84,10 @@ export default class MainModel {
...
@@ -84,6 +84,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/product/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -104,6 +104,10 @@ export default class MainModel {
...
@@ -104,6 +104,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/quote-detail/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -99,6 +99,10 @@ export default class MainModel {
...
@@ -99,6 +99,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/quote/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -99,6 +99,10 @@ export default class MainModel {
...
@@ -99,6 +99,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/sales-literature-item/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -74,6 +74,10 @@ export default class MainModel {
...
@@ -74,6 +74,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/sales-literature/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -79,6 +79,10 @@ export default class MainModel {
...
@@ -79,6 +79,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/sales-order-detail/soproduct-grid/soproduct-grid-model.ts
浏览文件 @
d032a85f
...
@@ -109,6 +109,10 @@ export default class SOProductModel {
...
@@ -109,6 +109,10 @@ export default class SOProductModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/sales-order/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -104,6 +104,10 @@ export default class MainModel {
...
@@ -104,6 +104,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/subject/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -74,6 +74,10 @@ export default class MainModel {
...
@@ -74,6 +74,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/transaction-currency/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -69,6 +69,10 @@ export default class MainModel {
...
@@ -69,6 +69,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
app_CRM/src/widgets/uom/main-grid/main-grid-model.ts
浏览文件 @
d032a85f
...
@@ -79,6 +79,10 @@ export default class MainModel {
...
@@ -79,6 +79,10 @@ export default class MainModel {
name
:
'query'
,
name
:
'query'
,
prop
:
'query'
prop
:
'query'
},
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
{
name
:
'page'
,
name
:
'page'
,
prop
:
'page'
prop
:
'page'
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录