Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shenshaokai
jinfa-platform
Commits
aab2e219
Commit
aab2e219
authored
Apr 26, 2022
by
前端-李俊鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 新增规则引擎-合同协同规则引擎/合同管理规则引擎/物料管理规则引擎/采购流程规则引擎/请款单管理规则引擎
parent
90f1604e
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
491 additions
and
97 deletions
+491
-97
authConfigRoute.ts
config/routes/authConfigRoute.ts
+39
-2
index.ts
src/pages/systemSetting/columns/index.ts
+2
-0
index.less
...buyingRequisitionProcess/components/RadioBlock/index.less
+8
-6
index.tsx
.../buyingRequisitionProcess/components/RadioBlock/index.tsx
+1
-1
index.tsx
...ges/systemSetting/ruleEng/buyingRequisitionRule/index.tsx
+29
-87
index.tsx
src/pages/systemSetting/ruleEng/columns/index.tsx
+36
-0
index.tsx
...ges/systemSetting/ruleEng/component/CommonTable/index.tsx
+74
-0
schema.ts
...ges/systemSetting/ruleEng/component/CommonTable/schema.ts
+1
-1
index.tsx
.../systemSetting/ruleEng/contractCoordinationRule/index.tsx
+57
-0
index.tsx
src/pages/systemSetting/ruleEng/contractManageRule/index.tsx
+57
-0
index.tsx
src/pages/systemSetting/ruleEng/materialManageRule/index.tsx
+57
-0
index.tsx
...pages/systemSetting/ruleEng/purchaseProcessRule/index.tsx
+59
-0
index.tsx
...es/systemSetting/ruleEng/requestFundsManageRule/index.tsx
+57
-0
index.tsx
src/pages/systemSetting/ruleEng/ruleEngConfig/index.tsx
+14
-0
No files found.
config/routes/authConfigRoute.ts
View file @
aab2e219
...
...
@@ -220,11 +220,48 @@ const AuthConfigRoute: RouterChild = {
name
:
'规则引擎'
,
routes
:
[
{
/** 请购单流程规则配置列表 */
/** 规则引擎配置 */
path
:
'/memberCenter/systemSetting/ruleEng/ruleEngConfig'
,
name
:
'规则引擎配置'
,
component
:
'@/pages/systemSetting/ruleEng/ruleEngConfig'
,
hideInMenu
:
true
,
},
{
/** 请购单管理规则引擎 */
path
:
'/memberCenter/systemSetting/ruleEng/buyingRequisitionRule'
,
name
:
'请购单
流程规则配置
'
,
name
:
'请购单
管理规则引擎
'
,
component
:
'@/pages/systemSetting/ruleEng/buyingRequisitionRule'
},
{
/** 物料管理规则引擎 */
path
:
'/memberCenter/systemSetting/ruleEng/materialManageRule'
,
name
:
'物料管理规则引擎'
,
component
:
'@/pages/systemSetting/ruleEng/materialManageRule'
},
{
/** 采购流程规则引擎 */
path
:
'/memberCenter/systemSetting/ruleEng/purchaseProcessRule'
,
name
:
'采购流程规则引擎'
,
component
:
'@/pages/systemSetting/ruleEng/purchaseProcessRule'
},
{
/** 合同管理规则引擎 */
path
:
'/memberCenter/systemSetting/ruleEng/contractManageRule'
,
name
:
'合同管理规则引擎'
,
component
:
'@/pages/systemSetting/ruleEng/contractManageRule'
},
{
/** 合同协同规则引擎 */
path
:
'/memberCenter/systemSetting/ruleEng/contractCoordinationRule'
,
name
:
'合同协同规则引擎'
,
component
:
'@/pages/systemSetting/ruleEng/contractCoordinationRule'
},
{
/** 请款单管理规则引擎 */
path
:
'/memberCenter/systemSetting/ruleEng/requestFundsManageRule'
,
name
:
'请款单管理规则引擎'
,
component
:
'@/pages/systemSetting/ruleEng/requestFundsManageRule'
},
]
},
/** 密钥管理 */
...
...
src/pages/systemSetting/columns/index.ts
View file @
aab2e219
...
...
@@ -12,6 +12,8 @@ export const name: ColumnType<any> = {
title
:
'流程规则名称'
,
key
:
'name'
,
dataIndex
:
'name'
,
width
:
160
,
ellipsis
:
true
,
}
/** 流程名称 */
...
...
src/pages/systemSetting/processEng/buyingRequisitionProcess/components/RadioBlock/index.less
View file @
aab2e219
...
...
@@ -26,10 +26,12 @@
display: flex;
align-items: center;
justify-content: center;
width: 80px;
height: 20px;
border-radius: 2px;
font-size: 12px;
background-color: #ECF2FE;
color: #4787F0;
> span {
padding: 4px;
border-radius: 2px;
font-size: 12px;
background-color: #ECF2FE;
color: #4787F0;
}
}
src/pages/systemSetting/processEng/buyingRequisitionProcess/components/RadioBlock/index.tsx
View file @
aab2e219
...
...
@@ -23,7 +23,7 @@ const RadioBlock: React.FC<PropsType> = ({ options }) => {
<
div
className=
{
styles
.
label
}
>
{
options
.
label
}
</
div
>
<
div
className=
{
styles
.
detail
}
>
{
options
.
detail
}
</
div
>
</
div
>
<
span
className=
{
styles
.
tag
}
>
{
options
.
type
}
</
span
>
<
div
className=
{
styles
.
tag
}
><
span
>
{
options
.
type
}
</
span
></
div
>
</
Radio
>
)
}
...
...
src/pages/systemSetting/ruleEng/buyingRequisitionRule/index.tsx
View file @
aab2e219
/**
* 系统能力 - 规则引擎 - 请购单
流程规则配置
* 系统能力 - 规则引擎 - 请购单
管理规则引擎
* @author: Crayon
*/
import
React
,
{
useRef
}
from
'react'
import
{
PageHeaderWrapper
}
from
'@ant-design/pro-layout'
import
{
Card
,
Tag
}
from
'antd'
import
StandardTable
from
'@/components/StandardTable'
import
{
ColumnType
}
from
'antd/lib/table'
import
TableOperation
from
'@/components/TableOperation'
import
NiceForm
from
'@/components/NiceForm'
import
{
createFormActions
}
from
'@formily/antd'
import
{
useStateFilterSearchLinkageEffect
}
from
'@/formSchema/effects/useFilterSearch'
import
{
FORM_FILTER_PATH
}
from
'@/formSchema/const'
import
{
schema
}
from
'./schema'
import
{
getOrderDeliveryNoticeOrderVendorPage
}
from
'@/services/OrderNewV2Api'
import
{
STATUS_COLOR
,
STATUS_NAME
}
from
'../../constants'
import
React
from
'react'
import
{
ColumnType
}
from
'antd/lib/table'
import
TableOperation
from
'@/components/TableOperation'
import
{
getOrderDeliveryNoticeOrderVendorPage
}
from
'@/services/OrderNewV2Api'
import
CommonTable
from
'../component/CommonTable'
import
{
column_id
,
column_name
,
column_processName
,
column_status
,
column_createTime
,
column_operation
}
from
'../columns'
;
const
BuyingRequisitionProcess
:
React
.
FC
=
()
=>
{
const
ref
=
useRef
<
any
>
({})
const
formActions
=
createFormActions
()
const
MaterialManageRule
:
React
.
FC
=
()
=>
{
const
renderOptionButton
=
(
record
:
any
)
=>
{
const
btnAuthOfOperationTextMap
=
{
'配置'
:
'buyingRequisitionRule.config'
,
}
const
buttonGroup
=
{
'配置'
:
true
,
}
const
operationHandler
=
{
'配置'
:
()
=>
{},
}
const
btnAuthOfOperationTextMap
=
{
'配置'
:
'buyingRequisitionRule.config'
}
const
buttonGroup
=
{
'配置'
:
true
}
const
operationHandler
=
{
'配置'
:
()
=>
{
}
}
return
(
<
TableOperation
buttonTextFieldMap=
{
buttonGroup
}
...
...
@@ -39,73 +24,30 @@ const BuyingRequisitionProcess: React.FC = () => {
)
}
const
fetchData
=
(
params
:
any
)
=>
{
return
new
Promise
((
resolve
)
=>
{
getOrderDeliveryNoticeOrderVendorPage
({
...
params
,
}).
then
(({
code
,
data
})
=>
{
if
(
code
===
1000
)
{
resolve
(
data
)
}
})
})
}
const
columns
:
ColumnType
<
any
>
[]
=
[
{
title
:
'流程规则ID'
,
dataIndex
:
'processId'
,
key
:
'processId'
},
{
title
:
'流程规则名称'
,
dataIndex
:
'processRuleName'
,
key
:
'processRuleName'
,
width
:
160
,
ellipsis
:
true
,
},
{
title
:
'流程名称'
,
dataIndex
:
'processName'
,
key
:
'processName'
},
// 流程规则ID
column_id
,
// 流程规则名称
column_name
,
// 流程名称
column_processName
,
// 状态
column_status
,
// 操作时间
column_createTime
,
// 操作
{
title
:
'状态'
,
dataIndex
:
'status'
,
key
:
'status'
,
render
:
(
text
:
string
)
=>
(
<
Tag
color=
{
STATUS_COLOR
[
text
]?.
color
}
>
<
span
style=
{
{
color
:
STATUS_COLOR
[
text
]?.
fontColor
}
}
>
{
STATUS_NAME
[
text
]
}
</
span
>
</
Tag
>
)
},
{
title
:
'操作时间'
,
dataIndex
:
'createTime'
,
key
:
'createTime'
},
{
title
:
'操作'
,
align
:
'center'
,
...
column_operation
,
render
:
(
record
)
=>
renderOptionButton
(
record
)
}
,
}
]
return
(
<
PageHeaderWrapper
>
<
Card
>
<
StandardTable
currentRef=
{
ref
}
columns=
{
columns
}
tableProps=
{
{
rowKey
:
'id'
,
}
}
fetchTableData=
{
(
params
:
any
)
=>
fetchData
(
params
)
}
controlRender=
{
<
NiceForm
actions=
{
formActions
}
onSubmit=
{
values
=>
ref
.
current
.
reload
(
values
)
}
effects=
{
(
$
,
actions
)
=>
{
useStateFilterSearchLinkageEffect
(
$
,
actions
,
'name'
,
FORM_FILTER_PATH
,
)
}
}
schema=
{
schema
}
/>
}
/>
</
Card
>
</
PageHeaderWrapper
>
<
CommonTable
fetchApi=
{
getOrderDeliveryNoticeOrderVendorPage
}
columns=
{
columns
}
/>
)
}
export
default
BuyingRequisitionProcess
export
default
MaterialManageRule
src/pages/systemSetting/ruleEng/columns/index.tsx
0 → 100644
View file @
aab2e219
import
{
ColumnType
}
from
'antd/lib/table/interface'
;
import
{
Tag
}
from
'antd'
import
{
STATUS_COLOR
,
STATUS_NAME
}
from
'../../constants'
import
{
id
,
name
,
processName
,
createTime
,
operation
,
status
}
from
'../../columns'
;
/** 流程规则ID */
export
const
column_id
=
id
/** 流程规则名称 */
export
const
column_name
=
name
/** 流程规则类型 */
export
const
column_processRuleType
:
ColumnType
<
any
>
=
{
title
:
'流程规则类型'
,
key
:
'processRuleType'
,
dataIndex
:
'processRuleType'
,
}
/** 流程名称 */
export
const
column_processName
=
processName
/** 操作时间 */
export
const
column_createTime
=
createTime
/** 状态 */
export
const
column_status
:
ColumnType
<
any
>
=
{
...
status
,
render
:
(
text
:
string
)
=>
(
<
Tag
color=
{
STATUS_COLOR
[
text
]?.
color
}
>
<
span
style=
{
{
color
:
STATUS_COLOR
[
text
]?.
fontColor
}
}
>
{
STATUS_NAME
[
text
]
}
</
span
>
</
Tag
>
)
}
/** 操作 */
export
const
column_operation
=
operation
src/pages/systemSetting/ruleEng/component/CommonTable/index.tsx
0 → 100644
View file @
aab2e219
/**
* 规则引擎-表格共用
* @author: Crayon
*/
import
React
,
{
useRef
}
from
'react'
import
{
PageHeaderWrapper
}
from
'@ant-design/pro-layout'
import
{
Card
,
Tag
}
from
'antd'
import
StandardTable
from
'@/components/StandardTable'
import
{
ColumnType
}
from
'antd/lib/table'
import
TableOperation
from
'@/components/TableOperation'
import
NiceForm
from
'@/components/NiceForm'
import
{
ISchema
}
from
'@formily/antd'
import
{
createFormActions
}
from
'@formily/antd'
import
{
useStateFilterSearchLinkageEffect
}
from
'@/formSchema/effects/useFilterSearch'
import
{
FORM_FILTER_PATH
}
from
'@/formSchema/const'
import
{
tableFormSchema
}
from
'./schema'
type
PropsType
=
{
rowKey
?:
string
searchKey
?:
string
schema
?:
ISchema
fetchApi
:
Function
fetchParams
?:
Object
columns
:
ColumnType
<
any
>
[]
}
const
CommonTable
:
React
.
FC
<
PropsType
>
=
(
props
)
=>
{
const
{
schema
=
tableFormSchema
,
fetchApi
,
fetchParams
=
{},
columns
,
searchKey
=
'name'
,
rowKey
=
'id'
}
=
props
const
ref
=
useRef
<
any
>
({})
const
formActions
=
createFormActions
()
const
fetchData
=
(
params
:
any
)
=>
{
return
new
Promise
((
resolve
)
=>
{
fetchApi
?.({
...
params
,
...
fetchParams
}).
then
(({
code
,
data
})
=>
{
if
(
code
===
1000
)
{
resolve
(
data
)
}
})
})
}
return
(
<
PageHeaderWrapper
>
<
Card
>
<
StandardTable
currentRef=
{
ref
}
columns=
{
columns
}
tableProps=
{
{
rowKey
}
}
fetchTableData=
{
(
params
:
any
)
=>
fetchData
(
params
)
}
controlRender=
{
<
NiceForm
actions=
{
formActions
}
onSubmit=
{
values
=>
ref
.
current
.
reload
(
values
)
}
effects=
{
(
$
,
actions
)
=>
{
useStateFilterSearchLinkageEffect
(
$
,
actions
,
searchKey
,
FORM_FILTER_PATH
,
)
}
}
schema=
{
schema
}
/>
}
/>
</
Card
>
</
PageHeaderWrapper
>
)
}
export
default
CommonTable
src/pages/systemSetting/ruleEng/
buyingRequisitionRule/schema/index.tsx
→
src/pages/systemSetting/ruleEng/
component/CommonTable/schema.ts
View file @
aab2e219
import
{
ISchema
}
from
'@formily/antd'
export
const
s
chema
:
ISchema
=
{
export
const
tableFormS
chema
:
ISchema
=
{
type
:
'object'
,
properties
:
{
name
:
{
...
...
src/pages/systemSetting/ruleEng/contractCoordinationRule/index.tsx
0 → 100644
View file @
aab2e219
/**
* 系统能力 - 规则引擎 - 合同协同规则引擎
* @author: Crayon
*/
import
React
from
'react'
import
{
ColumnType
}
from
'antd/lib/table'
import
TableOperation
from
'@/components/TableOperation'
import
{
getOrderDeliveryNoticeOrderVendorPage
}
from
'@/services/OrderNewV2Api'
import
CommonTable
from
'../component/CommonTable'
import
{
column_id
,
column_name
,
column_processName
,
column_status
,
column_createTime
,
column_operation
}
from
'../columns'
;
import
{
history
}
from
'umi'
const
ContractCoordinationRule
:
React
.
FC
=
()
=>
{
const
renderOptionButton
=
(
record
:
any
)
=>
{
const
btnAuthOfOperationTextMap
=
{
'配置'
:
'contractCoordinationRule.config'
}
const
buttonGroup
=
{
'配置'
:
true
}
const
operationHandler
=
{
'配置'
:
()
=>
{
history
.
push
(
'/memberCenter/systemSetting/ruleEng/ruleEngConfig'
)
}
}
return
(
<
TableOperation
buttonTextFieldMap=
{
buttonGroup
}
operationHandler=
{
operationHandler
}
buttonPermissionsMap=
{
btnAuthOfOperationTextMap
}
/>
)
}
const
columns
:
ColumnType
<
any
>
[]
=
[
// 流程规则ID
column_id
,
// 流程规则名称
column_name
,
// 合同流程名称
{
...
column_processName
,
title
:
'合同流程名称'
},
// 状态
column_status
,
// 操作时间
column_createTime
,
// 操作
{
...
column_operation
,
render
:
(
record
)
=>
renderOptionButton
(
record
)
}
]
return
(
<
CommonTable
fetchApi=
{
getOrderDeliveryNoticeOrderVendorPage
}
columns=
{
columns
}
/>
)
}
export
default
ContractCoordinationRule
src/pages/systemSetting/ruleEng/contractManageRule/index.tsx
0 → 100644
View file @
aab2e219
/**
* 系统能力 - 规则引擎 - 合同管理规则引擎
* @author: Crayon
*/
import
React
from
'react'
import
{
ColumnType
}
from
'antd/lib/table'
import
TableOperation
from
'@/components/TableOperation'
import
{
getOrderDeliveryNoticeOrderVendorPage
}
from
'@/services/OrderNewV2Api'
import
CommonTable
from
'../component/CommonTable'
import
{
column_id
,
column_name
,
column_processName
,
column_status
,
column_createTime
,
column_operation
}
from
'../columns'
;
import
{
history
}
from
'umi'
const
ContractManageRule
:
React
.
FC
=
()
=>
{
const
renderOptionButton
=
(
record
:
any
)
=>
{
const
btnAuthOfOperationTextMap
=
{
'配置'
:
'contractManageRule.config'
}
const
buttonGroup
=
{
'配置'
:
true
}
const
operationHandler
=
{
'配置'
:
()
=>
{
history
.
push
(
'/memberCenter/systemSetting/ruleEng/ruleEngConfig'
)
}
}
return
(
<
TableOperation
buttonTextFieldMap=
{
buttonGroup
}
operationHandler=
{
operationHandler
}
buttonPermissionsMap=
{
btnAuthOfOperationTextMap
}
/>
)
}
const
columns
:
ColumnType
<
any
>
[]
=
[
// 流程规则ID
column_id
,
// 流程规则名称
column_name
,
// 合同管理流程名称
{
...
column_processName
,
title
:
'合同管理流程名称'
},
// 状态
column_status
,
// 操作时间
column_createTime
,
// 操作
{
...
column_operation
,
render
:
(
record
)
=>
renderOptionButton
(
record
)
}
]
return
(
<
CommonTable
fetchApi=
{
getOrderDeliveryNoticeOrderVendorPage
}
columns=
{
columns
}
/>
)
}
export
default
ContractManageRule
src/pages/systemSetting/ruleEng/materialManageRule/index.tsx
0 → 100644
View file @
aab2e219
/**
* 系统能力 - 规则引擎 - 物料管理规则引擎
* @author: Crayon
*/
import
React
from
'react'
import
{
ColumnType
}
from
'antd/lib/table'
import
TableOperation
from
'@/components/TableOperation'
import
{
getOrderDeliveryNoticeOrderVendorPage
}
from
'@/services/OrderNewV2Api'
import
CommonTable
from
'../component/CommonTable'
import
{
column_id
,
column_name
,
column_processName
,
column_status
,
column_createTime
,
column_operation
}
from
'../columns'
;
import
{
history
}
from
'umi'
const
BuyingRequisitionRule
:
React
.
FC
=
()
=>
{
const
renderOptionButton
=
(
record
:
any
)
=>
{
const
btnAuthOfOperationTextMap
=
{
'配置'
:
'materialManageRule.config'
}
const
buttonGroup
=
{
'配置'
:
true
}
const
operationHandler
=
{
'配置'
:
()
=>
{
history
.
push
(
'/memberCenter/systemSetting/ruleEng/ruleEngConfig'
)
}
}
return
(
<
TableOperation
buttonTextFieldMap=
{
buttonGroup
}
operationHandler=
{
operationHandler
}
buttonPermissionsMap=
{
btnAuthOfOperationTextMap
}
/>
)
}
const
columns
:
ColumnType
<
any
>
[]
=
[
// 流程规则ID
column_id
,
// 流程规则名称
column_name
,
// 物料流程名称
{
...
column_processName
,
title
:
'物料流程名称'
},
// 状态
column_status
,
// 操作时间
column_createTime
,
// 操作
{
...
column_operation
,
render
:
(
record
)
=>
renderOptionButton
(
record
)
}
]
return
(
<
CommonTable
fetchApi=
{
getOrderDeliveryNoticeOrderVendorPage
}
columns=
{
columns
}
/>
)
}
export
default
BuyingRequisitionRule
src/pages/systemSetting/ruleEng/purchaseProcessRule/index.tsx
0 → 100644
View file @
aab2e219
/**
* 系统能力 - 规则引擎 - 采购流程规则引擎
* @author: Crayon
*/
import
React
from
'react'
import
{
ColumnType
}
from
'antd/lib/table'
import
TableOperation
from
'@/components/TableOperation'
import
{
getOrderDeliveryNoticeOrderVendorPage
}
from
'@/services/OrderNewV2Api'
import
CommonTable
from
'../component/CommonTable'
import
{
column_id
,
column_name
,
column_processRuleType
,
column_processName
,
column_status
,
column_createTime
,
column_operation
}
from
'../columns'
;
import
{
history
}
from
'umi'
const
PurchaseProcessRule
:
React
.
FC
=
()
=>
{
const
renderOptionButton
=
(
record
:
any
)
=>
{
const
btnAuthOfOperationTextMap
=
{
'配置'
:
'purchaseProcessRule.config'
}
const
buttonGroup
=
{
'配置'
:
true
}
const
operationHandler
=
{
'配置'
:
()
=>
{
history
.
push
(
'/memberCenter/systemSetting/ruleEng/ruleEngConfig'
)
}
}
return
(
<
TableOperation
buttonTextFieldMap=
{
buttonGroup
}
operationHandler=
{
operationHandler
}
buttonPermissionsMap=
{
btnAuthOfOperationTextMap
}
/>
)
}
const
columns
:
ColumnType
<
any
>
[]
=
[
// 流程规则ID
column_id
,
// 流程规则名称
column_name
,
// 流程规则类型
column_processRuleType
,
// 交易流程名称
{
...
column_processName
,
title
:
'交易流程名称'
},
// 状态
column_status
,
// 操作时间
column_createTime
,
// 操作
{
...
column_operation
,
render
:
(
record
)
=>
renderOptionButton
(
record
)
}
]
return
(
<
CommonTable
fetchApi=
{
getOrderDeliveryNoticeOrderVendorPage
}
columns=
{
columns
}
/>
)
}
export
default
PurchaseProcessRule
src/pages/systemSetting/ruleEng/requestFundsManageRule/index.tsx
0 → 100644
View file @
aab2e219
/**
* 系统能力 - 规则引擎 - 请款单管理规则引擎
* @author: Crayon
*/
import
React
from
'react'
import
{
ColumnType
}
from
'antd/lib/table'
import
TableOperation
from
'@/components/TableOperation'
import
{
getOrderDeliveryNoticeOrderVendorPage
}
from
'@/services/OrderNewV2Api'
import
CommonTable
from
'../component/CommonTable'
import
{
column_id
,
column_name
,
column_processName
,
column_status
,
column_createTime
,
column_operation
}
from
'../columns'
;
import
{
history
}
from
'umi'
const
RequestFundsManageRule
:
React
.
FC
=
()
=>
{
const
renderOptionButton
=
(
record
:
any
)
=>
{
const
btnAuthOfOperationTextMap
=
{
'配置'
:
'requestFundsManageRule.config'
}
const
buttonGroup
=
{
'配置'
:
true
}
const
operationHandler
=
{
'配置'
:
()
=>
{
history
.
push
(
'/memberCenter/systemSetting/ruleEng/ruleEngConfig'
)
}
}
return
(
<
TableOperation
buttonTextFieldMap=
{
buttonGroup
}
operationHandler=
{
operationHandler
}
buttonPermissionsMap=
{
btnAuthOfOperationTextMap
}
/>
)
}
const
columns
:
ColumnType
<
any
>
[]
=
[
// 流程规则ID
column_id
,
// 流程规则名称
column_name
,
// 请款单流程名称
{
...
column_processName
,
title
:
'请款单流程名称'
},
// 状态
column_status
,
// 操作时间
column_createTime
,
// 操作
{
...
column_operation
,
render
:
(
record
)
=>
renderOptionButton
(
record
)
}
]
return
(
<
CommonTable
fetchApi=
{
getOrderDeliveryNoticeOrderVendorPage
}
columns=
{
columns
}
/>
)
}
export
default
RequestFundsManageRule
src/pages/systemSetting/ruleEng/ruleEngConfig/index.tsx
0 → 100644
View file @
aab2e219
/**
* 系统能力 - 规则引擎 - 规则引擎配置
* @author: Crayon
*/
import
React
from
'react'
const
RuleEngConfig
:
React
.
FC
=
()
=>
{
return
(
<
div
>
RuleEngConfig
</
div
>
)
}
export
default
RuleEngConfig
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment