Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
87c9a5f5
提交
87c9a5f5
编写于
7月 12, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chitanda 发布系统代码,模板修复
上级
2082a1ad
变更
52
显示空白字符变更
内嵌
并排
正在显示
52 个修改的文件
包含
110 行增加
和
664 行删除
+110
-664
GridControllerBase.tsx
app_CRM/src/studio-core/widgets/GridControllerBase.tsx
+45
-14
MainControlBase.tsx
app_CRM/src/studio-core/widgets/MainControlBase.tsx
+15
-0
inner-pickip-grid-base.tsx
...gets/account/inner-pickip-grid/inner-pickip-grid-base.tsx
+1
-13
main-grid-base.tsx
app_CRM/src/widgets/account/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
...src/widgets/activity-pointer/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
...rc/widgets/campaign-activity/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
...RM/src/widgets/campaign-list/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
...rc/widgets/campaign-response/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
app_CRM/src/widgets/campaign/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
...c/widgets/competitor-product/main-grid/main-grid-base.tsx
+1
-13
sal-lit-comp-grid-grid-base.tsx
...re/sal-lit-comp-grid-grid/sal-lit-comp-grid-grid-base.tsx
+1
-13
main-grid-base.tsx
app_CRM/src/widgets/competitor/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
.../src/widgets/connection-role/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
app_CRM/src/widgets/connection/main-grid/main-grid-base.tsx
+1
-13
by-account-grid-base.tsx
.../widgets/contact/by-account-grid/by-account-grid-base.tsx
+1
-13
main-grid-base.tsx
app_CRM/src/widgets/contact/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
...RM/src/widgets/discount-type/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
app_CRM/src/widgets/entitlement/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
app_CRM/src/widgets/goal/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
app_CRM/src/widgets/ibiz-list/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
...rc/widgets/incident-customer/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
app_CRM/src/widgets/incident/main-grid/main-grid-base.tsx
+1
-13
invoice-product-grid-grid-base.tsx
...oice-product-grid-grid/invoice-product-grid-grid-base.tsx
+1
-13
main-grid-base.tsx
app_CRM/src/widgets/invoice/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
...s/knowledge-article-incident/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
...rc/widgets/knowledge-article/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
.../src/widgets/lead-competitor/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
app_CRM/src/widgets/lead/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
...CRM/src/widgets/list-account/main-grid/main-grid-base.tsx
+1
-13
inner-grid-base.tsx
...M/src/widgets/list-contact/inner-grid/inner-grid-base.tsx
+1
-13
main-grid-base.tsx
...CRM/src/widgets/list-contact/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
app_CRM/src/widgets/list-lead/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
app_CRM/src/widgets/metric/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
.../src/widgets/multi-pick-data/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
...dgets/opportunity-competitor/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
.../widgets/opportunity-product/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
app_CRM/src/widgets/opportunity/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
app_CRM/src/widgets/price-level/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
.../widgets/product-association/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
.../widgets/product-price-level/main-grid/main-grid-base.tsx
+1
-13
sal-lit-pro-grid-grid-base.tsx
...ture/sal-lit-pro-grid-grid/sal-lit-pro-grid-grid-base.tsx
+1
-13
main-grid-base.tsx
...c/widgets/product-substitute/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
app_CRM/src/widgets/product/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
...CRM/src/widgets/quote-detail/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
app_CRM/src/widgets/quote/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
...idgets/sales-literature-item/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
...src/widgets/sales-literature/main-grid/main-grid-base.tsx
+1
-13
soproduct-grid-base.tsx
...sales-order-detail/soproduct-grid/soproduct-grid-base.tsx
+1
-13
main-grid-base.tsx
app_CRM/src/widgets/sales-order/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
app_CRM/src/widgets/subject/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
...widgets/transaction-currency/main-grid/main-grid-base.tsx
+1
-13
main-grid-base.tsx
app_CRM/src/widgets/uom/main-grid/main-grid-base.tsx
+1
-13
未找到文件。
app_CRM/src/studio-core/widgets/GridControllerBase.tsx
浏览文件 @
87c9a5f5
import
{
Prop
}
from
'vue-property-decorator'
;
import
{
Watch
}
from
'@/studio-core'
;
import
{
ViewTool
}
from
'@/utils'
;
import
{
MDControlBase
}
from
'./MDControlBase'
;
/**
...
...
@@ -11,6 +12,14 @@ import { MDControlBase } from './MDControlBase';
*/
export
class
GridControllerBase
extends
MDControlBase
{
/**
* 界面服务
*
* @type {*}
* @memberof GridControllerBase
*/
public
appUIService
:
any
;
/**
* 是否显示标题
*
...
...
@@ -182,6 +191,14 @@ export class GridControllerBase extends MDControlBase {
*/
protected
isDeExport
:
boolean
=
false
;
/**
* 界面行为模型
*
* @type {*}
* @memberof GridControllerBase
*/
public
ActionModel
:
any
=
{};
/**
* 所有导出列成员
*
...
...
@@ -353,7 +370,7 @@ export class GridControllerBase extends MDControlBase {
try
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
))
{
if
(
!
this
.
createAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'${view.getName()}'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'${view.getName()}'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,
{
viewparams
:
this
.
viewparams
});
let
response
=
await
this
.
service
.
add
(
this
.
createAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
item
,
this
.
showBusyIndicator
);
...
...
@@ -361,7 +378,7 @@ export class GridControllerBase extends MDControlBase {
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
))
{
if
(
!
this
.
updateAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'${view.getName()}'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'${view.getName()}'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,
{
viewparams
:
this
.
viewparams
});
if
(
item
[
this
.
appDeName
])
{
...
...
@@ -382,7 +399,7 @@ export class GridControllerBase extends MDControlBase {
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.commonWords.saveSuccess'
)
as
string
)
});
}
else
{
errorItems
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.saveFailed'
)
as
string
),
desc
:
item
.
majorentityname
+
(
this
.
$t
(
'app.commonWords.saveFailed'
)
as
string
)
+
'!'
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.saveFailed'
)
as
string
),
desc
:
item
.
majorentityname
+
(
this
.
$t
(
'app.commonWords.saveFailed'
)
as
string
)
+
'!'
});
console
.
error
(
errorMessage
[
index
]);
});
}
...
...
@@ -399,7 +416,7 @@ export class GridControllerBase extends MDControlBase {
*/
public
load
(
opt
:
any
=
{},
pageReset
:
boolean
=
false
):
void
{
if
(
!
this
.
fetchAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'${view.getName()}'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'${view.getName()}'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
}
if
(
pageReset
)
{
...
...
@@ -437,7 +454,7 @@ export class GridControllerBase extends MDControlBase {
this
.
selections
=
[];
this
.
gridItemsModel
=
[];
this
.
items
.
forEach
(()
=>
{
this
.
gridItemsModel
.
push
(
this
.
getGridRowModel
())
});
this
.
items
.
forEach
((
item
:
any
)
=>
{
this
.
items
.
forEach
((
item
:
any
)
=>
{
Object
.
assign
(
item
,
this
.
getActionState
(
item
));
});
this
.
$emit
(
'load'
,
this
.
items
);
...
...
@@ -483,7 +500,7 @@ export class GridControllerBase extends MDControlBase {
*/
public
async
remove
(
items
:
any
[]):
Promise
<
any
>
{
if
(
!
this
.
removeAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'${view.getName()}'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'${view.getName()}'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
}
const
arr
:
any
[]
=
[];
...
...
@@ -517,9 +534,9 @@ export class GridControllerBase extends MDControlBase {
});
if
(
arr
.
length
<
5
)
{
dataInfo
=
dataInfo
+
' '
+
(
this
.
$t
(
'app.gridpage.totle'
)
as
string
)
+
arr
.
length
+
(
this
.
$t
(
'app.gridpage.records'
)
as
string
)
+
(
this
.
$t
(
'app.gridpage.data'
)
as
string
);
dataInfo
=
dataInfo
+
' '
+
(
this
.
$t
(
'app.gridpage.totle'
)
as
string
)
+
arr
.
length
+
(
this
.
$t
(
'app.gridpage.records'
)
as
string
)
+
(
this
.
$t
(
'app.gridpage.data'
)
as
string
);
}
else
{
dataInfo
=
dataInfo
+
'...'
+
' '
+
(
this
.
$t
(
'app.gridpage.totle'
)
as
string
)
+
arr
.
length
+
(
this
.
$t
(
'app.gridpage.desc2'
)
as
string
);
dataInfo
=
dataInfo
+
'...'
+
' '
+
(
this
.
$t
(
'app.gridpage.totle'
)
as
string
)
+
arr
.
length
+
(
this
.
$t
(
'app.gridpage.desc2'
)
as
string
);
}
const
removeData
=
()
=>
{
...
...
@@ -534,7 +551,7 @@ export class GridControllerBase extends MDControlBase {
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
post
.
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.gridpage.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.gridpage.delDataFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
}
else
{
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.gridpage.delSuccess'
)
as
string
)
});
...
...
@@ -571,7 +588,7 @@ export class GridControllerBase extends MDControlBase {
dataInfo
=
dataInfo
.
replace
(
/
[
null
]
/g
,
''
).
replace
(
/
[
undefined
]
/g
,
''
);
this
.
$Modal
.
confirm
({
title
:
(
this
.
$t
(
'app.commonWords.warning'
)
as
string
),
content
:
(
this
.
$t
(
'app.gridpage.confirmDel'
)
as
string
)
+
' '
+
dataInfo
+
','
+
(
this
.
$t
(
'app.gridpage.notRecoverable'
)
as
string
),
content
:
(
this
.
$t
(
'app.gridpage.confirmDel'
)
as
string
)
+
' '
+
dataInfo
+
','
+
(
this
.
$t
(
'app.gridpage.notRecoverable'
)
as
string
),
onOk
:
()
=>
{
removeData
();
},
...
...
@@ -638,7 +655,7 @@ export class GridControllerBase extends MDControlBase {
excel
.
export_json_to_excel
({
header
:
tHeader
,
//表头 必填
data
,
//具体数据 必填
filename
:
"${ctrl.getPSAppDataEntity().getLogicName()}"
+
(
this
.
$t
(
'app.gridpage.grid'
)
as
string
),
//非必填
filename
:
"${ctrl.getPSAppDataEntity().getLogicName()}"
+
(
this
.
$t
(
'app.gridpage.grid'
)
as
string
),
//非必填
autoWidth
:
true
,
//非必填
bookType
:
"xlsx"
//非必填
});
...
...
@@ -679,7 +696,7 @@ export class GridControllerBase extends MDControlBase {
}
post
.
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.gridpage.exportFail'
)
as
string
)
+
','
+
response
.
info
});
this
.
$Notice
.
error
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.gridpage.exportFail'
)
as
string
)
+
','
+
response
.
info
});
return
;
}
try
{
...
...
@@ -1013,7 +1030,7 @@ export class GridControllerBase extends MDControlBase {
*/
public
newRow
(
args
:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
):
void
{
if
(
!
this
.
loaddraftAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'${view.getName()}'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'${view.getName()}'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
Object
.
assign
(
args
[
0
],
{
viewparams
:
this
.
viewparams
});
...
...
@@ -1104,6 +1121,20 @@ export class GridControllerBase extends MDControlBase {
});
}
/**
* 获取界面行为权限状态
*
* @param {*} data
* @returns
* @memberof GridControllerBase
*/
public
getActionState
(
data
:
any
)
{
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 表格编辑项值变化
*
...
...
app_CRM/src/studio-core/widgets/MainControlBase.tsx
浏览文件 @
87c9a5f5
...
...
@@ -9,4 +9,19 @@ import { ControlBase } from './ControlBase';
*/
export
class
MainControlBase
extends
ControlBase
{
/**
* 转化数据
*
* @param {*} args
* @returns
* @memberof MainControlBase
*/
public
transformData
(
args
:
any
)
{
if
(
this
.
service
&&
this
.
service
.
handleRequestData
)
{
const
res
=
this
.
service
.
handleRequestData
(
'transform'
,
this
.
context
,
args
);
if
(
res
)
{
return
res
.
data
;
}
}
}
}
\ No newline at end of file
app_CRM/src/widgets/account/inner-pickip-grid/inner-pickip-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class InnerPickipGridBase extends GridControllerBase {
* @type {*}
* @memberof InnerPickipBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -101,18 +101,6 @@ export class InnerPickipGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof InnerPickipBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/account/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -141,18 +141,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/activity-pointer/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -141,18 +141,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/campaign-activity/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/campaign-list/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -85,18 +85,6 @@ export class MainGridBase extends GridControllerBase {
public
allColumns
:
any
[]
=
[
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/campaign-response/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/campaign/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -157,18 +157,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/competitor-product/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/competitor-sales-literature/sal-lit-comp-grid-grid/sal-lit-comp-grid-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class SalLitCompGridGridBase extends GridControllerBase {
* @type {*}
* @memberof SalLitCompGridBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -101,18 +101,6 @@ export class SalLitCompGridGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof SalLitCompGridBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/competitor/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -101,18 +101,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/connection-role/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -141,18 +141,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/connection/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -125,18 +125,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/contact/by-account-grid/by-account-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -92,7 +92,7 @@ export class ByAccountGridBase extends GridControllerBase {
* @type {*}
* @memberof ByAccountBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
SetPrimary
:
{
name
:
'SetPrimary'
,
disabled
:
false
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
target
:
'SINGLEKEY'
}
};
...
...
@@ -170,18 +170,6 @@ export class ByAccountGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof ByAccountBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/contact/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -117,18 +117,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/discount-type/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/entitlement/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/goal/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/ibiz-list/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -125,18 +125,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/incident-customer/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -101,18 +101,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/incident/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -133,18 +133,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/invoice-detail/invoice-product-grid-grid/invoice-product-grid-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class InvoiceProductGridGridBase extends GridControllerBase {
* @type {*}
* @memberof InvoiceProductGridBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -125,18 +125,6 @@ export class InvoiceProductGridGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof InvoiceProductGridBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/invoice/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -117,18 +117,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/knowledge-article-incident/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/knowledge-article/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/lead-competitor/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -101,18 +101,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/lead/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/list-account/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -117,18 +117,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/list-contact/inner-grid/inner-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class InnerGridBase extends GridControllerBase {
* @type {*}
* @memberof InnerBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -141,18 +141,6 @@ export class InnerGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof InnerBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/list-contact/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -125,18 +125,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/list-lead/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -117,18 +117,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/metric/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/multi-pick-data/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -125,18 +125,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/opportunity-competitor/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -133,18 +133,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/opportunity-product/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/opportunity/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -133,18 +133,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/price-level/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/product-association/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/product-price-level/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -117,18 +117,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/product-sales-literature/sal-lit-pro-grid-grid/sal-lit-pro-grid-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class SalLitProGridGridBase extends GridControllerBase {
* @type {*}
* @memberof SalLitProGridBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -101,18 +101,6 @@ export class SalLitProGridGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof SalLitProGridBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/product-substitute/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/product/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -117,18 +117,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/quote-detail/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -125,18 +125,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/quote/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -117,18 +117,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/sales-literature-item/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/sales-literature/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/sales-order-detail/soproduct-grid/soproduct-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class SOProductGridBase extends GridControllerBase {
* @type {*}
* @memberof SOProductBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -133,18 +133,6 @@ export class SOProductGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof SOProductBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/sales-order/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -117,18 +117,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/subject/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/transaction-currency/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -149,18 +149,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
app_CRM/src/widgets/uom/main-grid/main-grid-base.tsx
浏览文件 @
87c9a5f5
...
...
@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*}
* @memberof MainBase
*/
public
ActionModel
:
any
=
{
public
ActionModel
:
any
=
{
};
/**
...
...
@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
},
]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public
getActionState
(
data
:
any
){
const
targetData
:
any
=
this
.
transformData
(
data
);
const
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ActionModel
));
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
}
/**
* 获取表格行模型
*
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录