Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
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-admin
Commits
0dc60cc4
Commit
0dc60cc4
authored
Dec 08, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v2' of
http://10.0.0.22:3000/lingxi/lingxi-business-system
into v2
parents
a276facc
7211c408
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
1610 additions
and
1 deletion
+1610
-1
index.tsx
...es/purchaseManage/purchaseAbility/demand/detail/index.tsx
+1
-1
columns.tsx
src/pages/systemManage/operationLog/columns.tsx
+741
-0
index.less
...stemManage/operationLog/components/buttonRadio/index.less
+21
-0
index.tsx
...ystemManage/operationLog/components/buttonRadio/index.tsx
+42
-0
constants.ts
src/pages/systemManage/operationLog/constants.ts
+52
-0
index.tsx
src/pages/systemManage/operationLog/index.tsx
+324
-0
schema.ts
src/pages/systemManage/operationLog/schema.ts
+428
-0
ytt.config.ts
ytt.config.ts
+1
-0
No files found.
src/pages/purchaseManage/purchaseAbility/demand/detail/index.tsx
View file @
0dc60cc4
...
...
@@ -20,7 +20,7 @@ import { CheckCircleOutlined, LinkOutlined, QuestionCircleOutlined } from '@ant-
import
MaterialLayout
from
'../../components/detail/components/materialLayout'
;
import
DemandLayout
from
'../../components/detail/components/demandLayout'
;
import
ModalOperate
from
'../../components/modalOperate'
;
import
{
getPurchasePlatformPurchaseInquiryDetails
}
from
'@/services/PurchaseV2Api'
;
import
{
getPurchasePlatformPurchaseInquiryDetails
,
getPurchasePlatformPurchaseInquiryProductlistList
,
postPurchasePlatformPurchaseInquiryExamine
}
from
'@/services/PurchaseV2Api'
;
const
ICON_STYLE
:
any
=
{
color
:
'#C0C4CC'
,
...
...
src/pages/systemManage/operationLog/columns.tsx
0 → 100644
View file @
0dc60cc4
import
React
from
'react'
;
import
StatusTag
from
'@/components/StatusTag'
;
import
{
status_3
,
operation_3
,
state_external_5
,
state_interior_5
,
state_external_6_1
,
state_interior_6_1
}
from
'./constants'
import
{
formatTimeString
}
from
'@/utils/index'
;
// 订单外部
export
const
columns_outer_1
=
[
{
title
:
'订单号'
,
dataIndex
:
'orderNo'
,
key
:
'orderNo'
},
{
title
:
'操作角色'
,
dataIndex
:
'roleName'
,
key
:
'roleName'
},
{
title
:
'状态'
,
dataIndex
:
'statusName'
,
key
:
'statusName'
,
render
:
(
text
)
=>
<
StatusTag
title=
{
text
}
type=
{
'default'
}
/>
},
{
title
:
'操作'
,
dataIndex
:
'operation'
,
key
:
'operation'
},
{
title
:
'操作时间'
,
dataIndex
:
'createTime'
,
key
:
'createTime'
,
render
:
(
_
,
text
)
=>
formatTimeString
(
text
,
'YYYY-MM-DD HH:mm'
)
},
{
title
:
'备注'
,
dataIndex
:
'remark'
,
key
:
'remark'
},
];
// 售后外部
export
const
columns_outer_2
=
[
{
title
:
'申请单号'
,
dataIndex
:
'applyNo'
,
key
:
'applyNo'
},
{
title
:
'操作角色'
,
dataIndex
:
'roleName'
,
key
:
'roleName'
},
{
title
:
'状态'
,
dataIndex
:
'status'
,
key
:
'status'
,
render
:
(
text
)
=>
<
StatusTag
title=
{
text
}
type=
{
'default'
}
/>
},
{
title
:
'操作'
,
dataIndex
:
'operate'
,
key
:
'operate'
},
{
title
:
'操作时间'
,
dataIndex
:
'operateTime'
,
key
:
'operateTime'
,
render
:
(
text
)
=>
formatTimeString
(
text
,
'YYYY-MM-DD HH:mm'
)
},
{
title
:
'备注'
,
dataIndex
:
'opinion'
,
key
:
'opinion'
},
];
// 商品外部
export
const
columns_outer_3
=
[
{
title
:
'商品ID'
,
dataIndex
:
'commodityId'
,
key
:
'commodityId'
},
{
title
:
'操作角色'
,
dataIndex
:
'memberRoleName'
,
key
:
'memberRoleName'
},
{
title
:
'状态'
,
dataIndex
:
'status'
,
key
:
'status'
,
render
:
(
text
)
=>
<
StatusTag
title=
{
status_3
[
text
].
text
}
type=
{
'default'
}
/>
},
{
title
:
'操作'
,
dataIndex
:
'operation'
,
key
:
'operation'
,
render
:
(
text
)
=>
operation_3
[
text
]
},
{
title
:
'操作时间'
,
dataIndex
:
'createTime'
,
key
:
'createTime'
,
render
:
(
text
)
=>
formatTimeString
(
text
,
'YYYY-MM-DD HH:mm'
)
},
{
title
:
'备注'
,
dataIndex
:
'checkRemark'
,
key
:
'checkRemark'
},
];
// 会员外部
export
const
columns_outer_4
=
[
{
title
:
'会员ID'
,
dataIndex
:
'memberId'
,
key
:
'memberId'
},
{
title
:
'操作类型'
,
dataIndex
:
'operateType'
,
key
:
'operateType'
},
{
title
:
'操作角色'
,
dataIndex
:
'roleName'
,
key
:
'roleName'
},
{
title
:
'状态'
,
dataIndex
:
'statusName'
,
key
:
'statusName'
,
render
:
(
text
)
=>
<
StatusTag
title=
{
text
}
type=
{
'default'
}
/>
},
{
title
:
'操作'
,
dataIndex
:
'operation'
,
key
:
'operation'
,
},
{
title
:
'操作时间'
,
dataIndex
:
'createTime'
,
key
:
'createTime'
,
render
:
(
text
)
=>
formatTimeString
(
text
,
'YYYY-MM-DD HH:mm'
)
},
{
title
:
'备注'
,
dataIndex
:
'remark'
,
key
:
'remark'
},
];
// 商品询价外部
export
const
columns_outer_5
=
[
{
title
:
'询价单号'
,
dataIndex
:
'inquiryListId'
,
key
:
'inquiryListId'
},
{
title
:
'操作角色'
,
dataIndex
:
'roleName'
,
key
:
'roleName'
},
{
title
:
'状态'
,
dataIndex
:
'state'
,
key
:
'state'
,
render
:
(
text
,
record
)
=>
<
StatusTag
title=
{
record
.
stateName
||
state_external_5
[
text
].
text
}
type=
{
'default'
}
/>
},
{
title
:
'操作'
,
dataIndex
:
'operation'
,
key
:
'operation'
,
},
{
title
:
'操作时间'
,
dataIndex
:
'operationTime'
,
key
:
'operationTime'
,
render
:
(
text
)
=>
formatTimeString
(
text
,
'YYYY-MM-DD HH:mm'
)
},
{
title
:
'备注'
,
dataIndex
:
'auditOpinion'
,
key
:
'auditOpinion'
},
];
// 采购-采购询价外部
export
const
columns_outer_6_1
=
[
{
title
:
'单号'
,
dataIndex
:
'purchaseInquiryId'
,
key
:
'purchaseInquiryId'
},
{
title
:
'操作角色'
,
dataIndex
:
'roleName'
,
key
:
'roleName'
},
{
title
:
'状态'
,
dataIndex
:
'state'
,
key
:
'state'
,
render
:
(
text
,
record
)
=>
<
StatusTag
title=
{
record
.
stateName
||
state_external_6_1
[
text
].
text
}
type=
{
'default'
}
/>
},
{
title
:
'操作'
,
dataIndex
:
'operation'
,
key
:
'operation'
,
},
{
title
:
'操作时间'
,
dataIndex
:
'createTime'
,
key
:
'createTime'
,
render
:
(
text
)
=>
formatTimeString
(
text
,
'YYYY-MM-DD HH:mm'
)
},
{
title
:
'备注'
,
dataIndex
:
'auditOpinion'
,
key
:
'auditOpinion'
},
];
// 采购-招投标外部
export
const
columns_outer_6_2
=
[
{
title
:
'单号'
,
dataIndex
:
'inviteTenderId'
,
key
:
'inviteTenderId'
},
{
title
:
'操作角色'
,
dataIndex
:
'memberRoleName'
,
key
:
'memberRoleName'
},
{
title
:
'状态'
,
dataIndex
:
'statusValue'
,
key
:
'statusValue'
,
render
:
(
text
,
record
)
=>
<
StatusTag
title=
{
text
}
type=
{
'default'
}
/>
},
{
title
:
'操作'
,
dataIndex
:
'operationValue'
,
key
:
'operationValue'
,
},
{
title
:
'操作时间'
,
dataIndex
:
'createTime'
,
key
:
'createTime'
,
render
:
(
text
)
=>
formatTimeString
(
text
,
'YYYY-MM-DD HH:mm'
)
},
{
title
:
'备注'
,
dataIndex
:
'checkRemark'
,
key
:
'checkRemark'
},
];
// 合同外部
export
const
columns_outer_7
=
[
{
title
:
'合同编号'
,
dataIndex
:
'contractNo'
,
key
:
'contractNo'
},
{
title
:
'操作角色'
,
dataIndex
:
'roleName'
,
key
:
'roleName'
},
{
title
:
'状态'
,
dataIndex
:
'status'
,
key
:
'status'
,
render
:
(
text
,
record
)
=>
<
StatusTag
title=
{
text
}
type=
{
'default'
}
/>
},
{
title
:
'操作'
,
dataIndex
:
'operate'
,
key
:
'operate'
,
},
{
title
:
'操作时间'
,
dataIndex
:
'operateTime'
,
key
:
'operateTime'
,
render
:
(
text
)
=>
formatTimeString
(
text
,
'YYYY-MM-DD HH:mm'
)
},
{
title
:
'备注'
,
dataIndex
:
'opinion'
,
key
:
'opinion'
},
];
// 营销外部
export
const
columns_outer_8
=
[
{
title
:
'活动/劵ID'
,
dataIndex
:
'id'
,
key
:
'id'
},
{
title
:
'操作角色'
,
dataIndex
:
'roleName'
,
key
:
'roleName'
},
{
title
:
'状态'
,
dataIndex
:
'statusName'
,
key
:
'statusName'
,
render
:
(
text
,
record
)
=>
<
StatusTag
title=
{
text
}
type=
{
'default'
}
/>
},
{
title
:
'操作'
,
dataIndex
:
'operate'
,
key
:
'operate'
,
},
{
title
:
'操作时间'
,
dataIndex
:
'operateTime'
,
key
:
'operateTime'
,
render
:
(
text
)
=>
formatTimeString
(
text
,
'YYYY-MM-DD HH:mm'
)
},
{
title
:
'备注'
,
dataIndex
:
'opinion'
,
key
:
'opinion'
},
];
// 订单内部
export
const
columns_inner_1
=
[
{
title
:
'订单号'
,
dataIndex
:
'orderNo'
,
key
:
'orderNo'
},
{
title
:
'操作角色'
,
dataIndex
:
'operator'
,
key
:
'operator'
},
{
title
:
'部门'
,
dataIndex
:
'organizationName'
,
key
:
'organizationName'
},
{
title
:
'职位'
,
dataIndex
:
'jobTitle'
,
key
:
'jobTitle'
},
{
title
:
'状态'
,
dataIndex
:
'statusName'
,
key
:
'statusName'
,
render
:
(
text
)
=>
<
StatusTag
title=
{
text
}
type=
{
'default'
}
/>
},
{
title
:
'操作'
,
dataIndex
:
'operation'
,
key
:
'operation'
},
{
title
:
'操作时间'
,
dataIndex
:
'createTime'
,
key
:
'createTime'
,
render
:
(
text
)
=>
formatTimeString
(
text
,
'YYYY-MM-DD HH:mm'
)
},
{
title
:
'备注'
,
dataIndex
:
'remark'
,
key
:
'remark'
},
];;
// 售后内部
export
const
columns_inner_2
=
[
{
title
:
'申请单号'
,
dataIndex
:
'applyNo'
,
key
:
'applyNo'
},
{
title
:
'操作角色'
,
dataIndex
:
'operator'
,
key
:
'operator'
},
{
title
:
'部门'
,
dataIndex
:
'department'
,
key
:
'department'
},
{
title
:
'职位'
,
dataIndex
:
'jobTitle'
,
key
:
'jobTitle'
},
{
title
:
'状态'
,
dataIndex
:
'status'
,
key
:
'status'
,
render
:
(
text
)
=>
<
StatusTag
title=
{
text
}
type=
{
'default'
}
/>
},
{
title
:
'操作'
,
dataIndex
:
'operate'
,
key
:
'operate'
},
{
title
:
'操作时间'
,
dataIndex
:
'operateTime'
,
key
:
'operateTime'
,
render
:
(
text
)
=>
formatTimeString
(
text
,
'YYYY-MM-DD HH:mm'
)
},
{
title
:
'备注'
,
dataIndex
:
'opinion'
,
key
:
'opinion'
},
];
// 商品内部
export
const
columns_inner_3
=
[
{
title
:
'商品ID'
,
dataIndex
:
'commodityId'
,
key
:
'commodityId'
},
{
title
:
'操作角色'
,
dataIndex
:
'memberRoleName'
,
key
:
'memberRoleName'
},
{
title
:
'部门'
,
dataIndex
:
'operatorOrgName'
,
key
:
'operatorOrgName'
},
{
title
:
'职位'
,
dataIndex
:
'operatorJobTitle'
,
key
:
'operatorJobTitle'
},
{
title
:
'状态'
,
dataIndex
:
'status'
,
key
:
'status'
},
{
title
:
'操作'
,
dataIndex
:
'operation'
,
key
:
'operation'
},
{
title
:
'操作时间'
,
dataIndex
:
'operationTime'
,
key
:
'operationTime'
,
render
:
(
text
)
=>
formatTimeString
(
text
,
'YYYY-MM-DD HH:mm'
)
},
{
title
:
'备注'
,
dataIndex
:
'remarks'
,
key
:
'remarks'
},
];
// 会员内部
export
const
columns_inner_4
=
[
{
title
:
'会员ID'
,
dataIndex
:
'memberId'
,
key
:
'memberId'
},
{
title
:
'操作类型'
,
dataIndex
:
'operateType'
,
key
:
'operateType'
},
{
title
:
'操作角色'
,
dataIndex
:
'roleName'
,
key
:
'roleName'
},
{
title
:
'部门'
,
dataIndex
:
'organizationName'
,
key
:
'organizationName'
},
{
title
:
'职位'
,
dataIndex
:
'jobTitle'
,
key
:
'jobTitle'
},
{
title
:
'状态'
,
dataIndex
:
'statusName'
,
key
:
'statusName'
,
render
:
(
text
)
=>
<
StatusTag
title=
{
text
}
type=
{
'default'
}
/>
},
{
title
:
'操作'
,
dataIndex
:
'operation'
,
key
:
'operation'
,
},
{
title
:
'操作时间'
,
dataIndex
:
'createTime'
,
key
:
'createTime'
,
render
:
(
text
)
=>
formatTimeString
(
text
,
'YYYY-MM-DD HH:mm'
)
},
{
title
:
'备注'
,
dataIndex
:
'remark'
,
key
:
'remark'
},
];
// 商品询价内部
export
const
columns_inner_5
=
[
{
title
:
'询价单号'
,
dataIndex
:
'inquiryListId'
,
key
:
'inquiryListId'
},
{
title
:
'操作角色'
,
dataIndex
:
'roleName'
,
key
:
'roleName'
},
{
title
:
'部门'
,
dataIndex
:
'department'
,
key
:
'department'
},
{
title
:
'职位'
,
dataIndex
:
'position'
,
key
:
'position'
},
{
title
:
'状态'
,
dataIndex
:
'state'
,
key
:
'state'
,
render
:
(
text
,
record
)
=>
<
StatusTag
title=
{
record
.
stateName
||
state_interior_5
[
text
].
text
}
type=
{
'default'
}
/>
},
{
title
:
'操作'
,
dataIndex
:
'operation'
,
key
:
'operation'
},
{
title
:
'操作时间'
,
dataIndex
:
'operationTime'
,
key
:
'operationTime'
,
render
:
(
text
)
=>
formatTimeString
(
text
,
'YYYY-MM-DD HH:mm'
)
},
{
title
:
'备注'
,
dataIndex
:
'auditOpinion'
,
key
:
'auditOpinion'
},
];
// 采购-采购询价内部
export
const
columns_inner_6_1
=
[
{
title
:
'单号'
,
dataIndex
:
'purchaseInquiryId'
,
key
:
'purchaseInquiryId'
},
{
title
:
'操作角色'
,
dataIndex
:
'roleName'
,
key
:
'roleName'
},
{
title
:
'部门'
,
dataIndex
:
'department'
,
key
:
'department'
},
{
title
:
'职位'
,
dataIndex
:
'position'
,
key
:
'position'
},
{
title
:
'状态'
,
dataIndex
:
'state'
,
key
:
'state'
,
render
:
(
text
,
record
)
=>
<
StatusTag
title=
{
record
.
stateName
||
state_interior_6_1
[
text
].
text
}
type=
{
'default'
}
/>
},
{
title
:
'操作'
,
dataIndex
:
'operation'
,
key
:
'operation'
},
{
title
:
'操作时间'
,
dataIndex
:
'createTime'
,
key
:
'createTime'
,
render
:
(
text
)
=>
formatTimeString
(
text
,
'YYYY-MM-DD HH:mm'
)
},
{
title
:
'备注'
,
dataIndex
:
'auditOpinion'
,
key
:
'auditOpinion'
},
];
// 采购-采购询价内部
export
const
columns_inner_6_2
=
[
{
title
:
'单号'
,
dataIndex
:
'inviteTenderId'
,
key
:
'inviteTenderId'
},
{
title
:
'操作角色'
,
dataIndex
:
'userName'
,
key
:
'userName'
},
{
title
:
'部门'
,
dataIndex
:
'userOrgName'
,
key
:
'userOrgName'
},
{
title
:
'职位'
,
dataIndex
:
'userJobTitle'
,
key
:
'userJobTitle'
},
{
title
:
'状态'
,
dataIndex
:
'statusValue'
,
key
:
'statusValue'
,
render
:
(
text
,
record
)
=>
<
StatusTag
title=
{
text
}
type=
{
'default'
}
/>
},
{
title
:
'操作'
,
dataIndex
:
'operationValue'
,
key
:
'operationValue'
},
{
title
:
'操作时间'
,
dataIndex
:
'createTime'
,
key
:
'createTime'
,
render
:
(
text
)
=>
formatTimeString
(
text
,
'YYYY-MM-DD HH:mm'
)
},
{
title
:
'备注'
,
dataIndex
:
'checkRemark'
,
key
:
'checkRemark'
},
];
// 合同内部
export
const
columns_inner_7
=
[
{
title
:
'合同编号'
,
dataIndex
:
'contractNo'
,
key
:
'contractNo'
},
{
title
:
'操作角色'
,
dataIndex
:
'operator'
,
key
:
'operator'
},
{
title
:
'部门'
,
dataIndex
:
'department'
,
key
:
'department'
},
{
title
:
'职位'
,
dataIndex
:
'jobTitle'
,
key
:
'jobTitle'
},
{
title
:
'状态'
,
dataIndex
:
'status'
,
key
:
'status'
,
render
:
(
text
,
record
)
=>
<
StatusTag
title=
{
text
}
type=
{
'default'
}
/>
},
{
title
:
'操作'
,
dataIndex
:
'operate'
,
key
:
'operate'
},
{
title
:
'操作时间'
,
dataIndex
:
'operateTime'
,
key
:
'operateTime'
,
render
:
(
text
)
=>
formatTimeString
(
text
,
'YYYY-MM-DD HH:mm'
)
},
{
title
:
'备注'
,
dataIndex
:
'opinion'
,
key
:
'opinion'
},
];
// 营销内部
export
const
columns_inner_8
=
[
{
title
:
'活动/劵ID'
,
dataIndex
:
'id'
,
key
:
'id'
},
{
title
:
'操作角色'
,
dataIndex
:
'operator'
,
key
:
'operator'
},
{
title
:
'部门'
,
dataIndex
:
'department'
,
key
:
'department'
},
{
title
:
'职位'
,
dataIndex
:
'jobTitle'
,
key
:
'jobTitle'
},
{
title
:
'状态'
,
dataIndex
:
'statusName'
,
key
:
'statusName'
,
render
:
(
text
,
record
)
=>
<
StatusTag
title=
{
text
}
type=
{
'default'
}
/>
},
{
title
:
'操作'
,
dataIndex
:
'operate'
,
key
:
'operate'
,
},
{
title
:
'操作时间'
,
dataIndex
:
'operateTime'
,
key
:
'operateTime'
,
render
:
(
text
)
=>
formatTimeString
(
text
,
'YYYY-MM-DD HH:mm'
)
},
{
title
:
'备注'
,
dataIndex
:
'opinion'
,
key
:
'opinion'
},
];
src/pages/systemManage/operationLog/components/buttonRadio/index.less
0 → 100644
View file @
0dc60cc4
.buttonRadio{
background-color: #fff;
&-btn{
color: #91959B;
font-size: 14px;
position: relative;
padding: 14px 16px;
cursor: pointer;
}
&-btn-act{
color: #252D37;
}
&-bar{
position: absolute;
width: 80%;
height: 2px;
left: 10%;
bottom: 0;
background-color: #00A98F;
}
}
src/pages/systemManage/operationLog/components/buttonRadio/index.tsx
0 → 100644
View file @
0dc60cc4
import
React
from
'react'
;
import
{
Row
,
Col
}
from
'antd'
;
import
classNames
from
'classnames'
;
import
styles
from
'./index.less'
;
interface
ButtonRadioValue
{
label
:
string
,
value
:
number
}
interface
ButtonRadioProps
{
data
?:
ButtonRadioValue
[],
actValue
?:
number
,
onTab
?:
(
value
:
number
)
=>
void
}
const
ButtonRadio
:
React
.
FC
<
ButtonRadioProps
>
=
(
props
:
ButtonRadioProps
)
=>
{
const
{
data
,
actValue
,
onTab
}
=
props
if
(
!
data
||
data
.
length
<=
0
)
{
return
null
}
const
isAct
=
(
value
:
number
)
=>
{
return
value
===
actValue
;
}
return
(
<
Row
className=
{
styles
[
'buttonRadio'
]
}
>
{
data
?.
map
((
item
,
index
)
=>
(
<
Col
key=
{
`${item.label}_${index}`
}
>
<
div
className=
{
classNames
(
styles
[
'buttonRadio-btn'
],
{[
styles
[
'buttonRadio-btn-act'
]]
:
isAct
(
item
.
value
)})
}
onClick=
{
()
=>
{
onTab
?.(
item
.
value
)
}
}
>
{
item
.
label
}
{
isAct
(
item
.
value
)
?
<
div
className=
{
styles
[
'buttonRadio-bar'
]
}
/>
:
null
}
</
div
>
</
Col
>
))
}
</
Row
>
);
}
export
default
ButtonRadio
;
src/pages/systemManage/operationLog/constants.ts
0 → 100644
View file @
0dc60cc4
export
const
status_3
=
{
1
:
{
text
:
'待提交审核'
,
type
:
'warnning'
},
2
:
{
text
:
'待审核'
,
type
:
'warnning'
},
3
:
{
text
:
'审核不通过'
,
type
:
'danger'
},
4
:
{
text
:
'审核通过'
,
type
:
'success'
},
};
export
const
operation_3
=
{
1
:
'新增'
,
2
:
'修改'
,
3
:
'审核'
,
}
export
const
state_external_5
=
{
1
:
{
text
:
'待提交询价单'
,
type
:
'default'
},
2
:
{
text
:
'待提交报价单'
,
type
:
'default'
},
3
:
{
text
:
'待确认报价单'
,
type
:
'primary'
},
4
:
{
text
:
'接受报价'
,
type
:
'success'
},
5
:
{
text
:
'不接受报价'
,
type
:
'danger'
},
}
export
const
state_interior_5
=
{
1
:
{
text
:
'待提交审核'
,
type
:
'default'
},
2
:
{
text
:
'待审核(一级)'
,
type
:
'warnning'
},
3
:
{
text
:
'待审核(二级)'
,
type
:
'warnning'
},
4
:
{
text
:
'待提交询价单'
,
type
:
'default'
},
5
:
{
text
:
'审核通过'
,
type
:
'success'
},
6
:
{
text
:
'审核不通过(一)'
,
type
:
'danger'
},
7
:
{
text
:
'审核不通过(二)'
,
type
:
'danger'
},
}
export
const
state_external_6_1
=
{
'-1'
:
{
text
:
'已作废'
,
type
:
'default'
},
1
:
{
text
:
'待提交采购需求单'
,
type
:
'default'
},
2
:
{
text
:
'待审核采购需求单'
,
type
:
'warnning'
},
3
:
{
text
:
'待提交报价单'
,
type
:
'default'
},
4
:
{
text
:
'待确认授标结果'
,
type
:
'primary'
},
5
:
{
text
:
'采购需求单审核不通过'
,
type
:
'danger'
},
6
:
{
text
:
'发起下轮报价'
,
type
:
'default'
},
99
:
{
text
:
'已完成'
,
type
:
'success'
},
}
export
const
state_interior_6_1
=
{
'-1'
:
{
text
:
'已作废'
,
type
:
'default'
},
1
:
{
text
:
'待提交审核采购需求单'
,
type
:
'default'
},
2
:
{
text
:
'待审核采购需求单(一级)'
,
type
:
'warnning'
},
3
:
{
text
:
'待审核采购需求单(二级)'
,
type
:
'warnning'
},
4
:
{
text
:
'待提交采购需求单'
,
type
:
'default'
},
5
:
{
text
:
'已提交审核采购需求单'
,
type
:
'primary'
},
8
:
{
text
:
'审核不通过(一级)'
,
type
:
'danger'
},
9
:
{
text
:
'审核不通过(二级)'
,
type
:
'danger'
},
}
src/pages/systemManage/operationLog/index.tsx
0 → 100644
View file @
0dc60cc4
import
React
,
{
useRef
,
useState
,
useMemo
,
useEffect
,
useCallback
}
from
'react'
;
import
{
unstable_batchedUpdates
as
batchedUpdates
}
from
'react-dom'
;
import
{
PageHeaderWrapper
}
from
'@ant-design/pro-layout'
;
import
{
Card
,
Radio
}
from
'antd'
;
import
{
StandardTable
}
from
'god'
;
import
{
getProductCommodityGetCommodityCheckRecordList
}
from
'@/services/ProductV2Api'
import
{
getTransactionGetInquiryExternalRecordList
,
getTransactionGetInquiryInteriorRecordList
}
from
'@/services/TransactionV2Api'
import
{
getPurchasePurchaseInquiryGetInquiryExternalRecordList
,
getPurchasePurchaseInquiryGetInquiryInteriorRecordList
,
getPurchaseTenderOutCheckRecordGetInviteTenderOutCheckRecordList
,
getPurchaseInviteTenderInCheckRecordGetInviteTenderInCheckRecordList
}
from
'@/services/PurchaseV2Api'
import
{
postAsOperateLogOuterPage
,
postAsOperateLogInnerPage
}
from
'@/services/AfterServiceV2Api'
import
{
getOrderPlatformHistoryOuterPage
,
getOrderPlatformHistoryInnerPage
}
from
'@/services/OrderNewV2Api'
import
{
getMemberHistoryOuterPage
,
getMemberHistoryInnerPage
}
from
'@/services/MemberV2Api'
import
{
postContractOperateLogOuterPage
,
postContractOperateLogInnerPage
}
from
'@/services/ContractV2Api'
import
{
postMarketingOperateLogOuterPage
,
postMarketingOperateLogInnerPage
}
from
'@/services/MarketingV2Api'
import
{
formatTimeString
}
from
'@/utils/index'
;
import
Search
from
'@/components/NiceForm/components/Search'
;
import
DateRangePickerUnix
from
'@/components/NiceForm/components/DateRangePickerUnix'
;
import
Submit
from
'@/components/NiceForm/components/Submit'
;
import
{
FORM_FILTER_PATH
}
from
'@/formSchema/const'
;
import
{
useStateFilterSearchLinkageEffect
}
from
'@/formSchema/effects/useFilterSearch'
;
import
*
as
tableSchemas
from
'./schema'
;
import
*
as
tableColumns
from
'./columns'
;
import
ButtonRadio
from
'./components/buttonRadio'
;
const
typeList
=
[
{
value
:
1
,
label
:
'订单'
},
{
value
:
2
,
label
:
'售后'
},
{
value
:
3
,
label
:
'商品'
},
{
value
:
4
,
label
:
'会员'
},
{
value
:
5
,
label
:
'商品询价'
},
{
value
:
6
,
label
:
'采购'
},
{
value
:
7
,
label
:
'合同'
},
{
value
:
8
,
label
:
'营销'
},
]
const
dataMap_2
=
[
{
value
:
2
,
label
:
'退货'
},
{
value
:
1
,
label
:
'换货'
},
{
value
:
3
,
label
:
'维修'
},
]
const
dataMap_4
=
[
{
value
:
0
,
label
:
'平台后台'
},
{
value
:
1
,
label
:
'会员中心'
},
]
const
dataMap_6
=
[
{
value
:
1
,
label
:
'采购询价'
},
{
value
:
2
,
label
:
'招投标'
},
// { value: 3, label: '采购竞价' },
]
const
dataMap_8
=
[
{
value
:
1
,
label
:
'平台后台'
},
{
value
:
2
,
label
:
'商家活动'
},
{
value
:
3
,
label
:
'平台优惠券'
},
{
value
:
4
,
label
:
'商家优惠券'
},
]
const
dataMap
=
{
2
:
dataMap_2
,
4
:
dataMap_4
,
6
:
dataMap_6
,
8
:
dataMap_8
,
}
const
OperationLog
:
React
.
FC
=
()
=>
{
const
[
typeState
,
setTypeState
]
=
useState
<
number
>
(
1
);
const
[
statusState
,
setStatusState
]
=
useState
<
number
>
(
1
);
const
[
extraState
,
setExtraState
]
=
useState
<
number
>
(
1
);
const
ref
=
useRef
<
any
>
({});
const
_schema
=
useMemo
(()
=>
{
switch
(
typeState
)
{
case
1
:
case
2
:
case
3
:
case
4
:
case
5
:
case
7
:
case
8
:
return
tableSchemas
[
`schema_
${
typeState
}
`
];
case
6
:
if
(
extraState
===
1
)
{
return
tableSchemas
[
`schema_
${
typeState
}
`
](
'purchaseInquiryId'
);
}
else
if
(
extraState
===
2
)
{
return
tableSchemas
[
`schema_
${
typeState
}
`
](
'inviteTenderId'
);
}
default
:
break
;
}
},
[
typeState
,
extraState
]);
const
_columns
=
useMemo
(()
=>
{
switch
(
typeState
)
{
case
1
:
case
2
:
case
3
:
case
4
:
case
5
:
case
7
:
case
8
:
return
tableColumns
[
`columns_
${
statusState
===
1
?
'outer'
:
'inner'
}
_
${
typeState
}
`
];
default
:
return
tableColumns
[
`columns_
${
statusState
===
1
?
'outer'
:
'inner'
}
_
${
typeState
}
_
${
extraState
}
`
]
}
},
[
typeState
,
statusState
,
extraState
]);
const
_actionKey
=
useMemo
(()
=>
{
let
_type
=
''
;
switch
(
typeState
)
{
case
1
:
_type
=
'orderNo'
;
break
;
case
2
:
_type
=
'applyNo'
;
break
;
case
3
:
_type
=
'commodityId'
;
break
;
case
4
:
_type
=
'memberId'
;
break
;
case
5
:
_type
=
'inquiryListId'
;
break
;
case
6
:
if
(
extraState
===
1
)
{
_type
=
'purchaseInquiryId'
;
}
else
if
(
extraState
===
2
)
{
_type
=
'inviteTenderId'
;
}
break
;
case
7
:
_type
=
'contractNo'
;
break
;
case
8
:
_type
=
'id'
;
break
;
default
:
break
;
}
return
_type
;
},
[
typeState
,
extraState
])
const
setExtraStateFunc
=
(
type
)
=>
{
batchedUpdates
(()
=>
{
setStatusState
(
1
);
setExtraState
(
type
);
});
}
const
_extraDom
=
useMemo
(()
=>
{
switch
(
typeState
)
{
case
2
:
case
4
:
case
6
:
case
8
:
const
_data
=
dataMap
[
typeState
];
return
(
<
div
style=
{
{
marginBottom
:
10
}
}
>
<
ButtonRadio
data=
{
_data
}
actValue=
{
extraState
}
onTab=
{
setExtraStateFunc
}
/>
</
div
>
)
default
:
return
null
;
}
},
[
typeState
,
extraState
])
useEffect
(()
=>
{
batchedUpdates
(()
=>
{
setStatusState
(
1
);
setExtraState
(
dataMap
[
typeState
]?.[
0
].
value
??
1
);
});
},
[
typeState
])
const
_tableKey
=
useMemo
(()
=>
{
return
`table_
${
_actionKey
}
_
${
extraState
}
_
${
statusState
}
`
},
[
_actionKey
,
extraState
,
statusState
])
const
fetchTableData
=
async
(
params
:
any
)
=>
{
let
_fetch
:
any
;
let
_params
=
{
...
params
};
switch
(
typeState
)
{
case
1
:
if
(
_params
.
startDate
)
{
_params
.
startDate
=
formatTimeString
(
_params
.
startDate
,
'YYYY-MM-DD'
);
}
if
(
_params
.
endDate
)
{
_params
.
endDate
=
formatTimeString
(
_params
.
endDate
,
'YYYY-MM-DD'
);
}
if
(
statusState
===
1
)
{
_fetch
=
getOrderPlatformHistoryOuterPage
}
else
{
_fetch
=
getOrderPlatformHistoryInnerPage
}
break
;
case
2
:
_params
.
afterSaleType
=
extraState
;
if
(
statusState
===
1
)
{
_fetch
=
postAsOperateLogOuterPage
}
else
{
_fetch
=
postAsOperateLogInnerPage
}
break
;
case
3
:
if
(
statusState
===
1
)
{
_fetch
=
getProductCommodityGetCommodityCheckRecordList
;
}
break
;
case
4
:
_params
.
type
=
extraState
;
if
(
_params
.
startDate
)
{
_params
.
startDate
=
formatTimeString
(
_params
.
startDate
,
'YYYY-MM-DD'
);
}
if
(
_params
.
endDate
)
{
_params
.
endDate
=
formatTimeString
(
_params
.
endDate
,
'YYYY-MM-DD'
);
}
if
(
statusState
===
1
)
{
_fetch
=
getMemberHistoryOuterPage
}
else
{
_fetch
=
getMemberHistoryInnerPage
}
break
;
case
5
:
if
(
statusState
===
1
)
{
_fetch
=
getTransactionGetInquiryExternalRecordList
}
else
{
_fetch
=
getTransactionGetInquiryInteriorRecordList
}
break
;
case
6
:
if
(
extraState
===
1
)
{
if
(
statusState
===
1
)
{
_fetch
=
getPurchasePurchaseInquiryGetInquiryExternalRecordList
}
else
{
_fetch
=
getPurchasePurchaseInquiryGetInquiryInteriorRecordList
}
}
else
if
(
extraState
===
2
)
{
if
(
statusState
===
1
)
{
_fetch
=
getPurchaseTenderOutCheckRecordGetInviteTenderOutCheckRecordList
}
else
{
_fetch
=
getPurchaseInviteTenderInCheckRecordGetInviteTenderInCheckRecordList
}
}
break
;
case
7
:
if
(
statusState
===
1
)
{
_fetch
=
postContractOperateLogOuterPage
}
else
{
_fetch
=
postContractOperateLogInnerPage
}
break
;
case
8
:
_params
.
operateType
=
extraState
;
if
(
statusState
===
1
)
{
_fetch
=
postMarketingOperateLogOuterPage
}
else
{
_fetch
=
postMarketingOperateLogInnerPage
}
break
;
default
:
break
;
}
if
(
_fetch
)
{
const
{
data
}
=
await
_fetch
(
_params
);
return
data
}
return
{
data
:
[],
totalCount
:
0
}
};
return
(
<
PageHeaderWrapper
title=
{
'操作日志'
}
>
<
div
style=
{
{
marginBottom
:
16
,
paddingLeft
:
24
,
paddingRight
:
24
,
backgroundColor
:
'#fff'
}
}
>
<
ButtonRadio
data=
{
typeList
}
actValue=
{
typeState
}
onTab=
{
setTypeState
}
/>
</
div
>
<
Card
>
{
_extraDom
}
<
StandardTable
keepAlive=
{
false
}
key=
{
_tableKey
}
currentRef=
{
ref
}
columns=
{
_columns
}
tableProps=
{
{
rowKey
:
'id'
}
}
fetchTableData=
{
(
params
)
=>
fetchTableData
(
params
)
}
formilyLayouts=
{
{
justify
:
'space-between'
}
}
formilyProps=
{
{
layouts
:
{
order
:
1
,
},
ctx
:
{
inline
:
false
,
schema
:
_schema
,
effects
:
(
$
,
actions
)
=>
{
useStateFilterSearchLinkageEffect
(
$
,
actions
,
_actionKey
,
FORM_FILTER_PATH
,
);
},
components
:
{
ModalSearch
:
Search
,
DateRangePickerUnix
,
Submit
},
},
}
}
formilyChilds=
{
{
layouts
:
{
order
:
2
},
children
:
(
<
Radio
.
Group
defaultValue=
{
statusState
}
onChange=
{
(
e
)
=>
{
setStatusState
(
e
.
target
.
value
)
}
}
>
<
Radio
.
Button
value=
{
1
}
>
外部流转
</
Radio
.
Button
>
<
Radio
.
Button
value=
{
2
}
>
内部流转
</
Radio
.
Button
>
</
Radio
.
Group
>
)
}
}
/>
</
Card
>
</
PageHeaderWrapper
>
);
}
export
default
OperationLog
;
src/pages/systemManage/operationLog/schema.ts
0 → 100644
View file @
0dc60cc4
import
{
ISchema
}
from
'@formily/antd'
;
import
{
FORM_FILTER_PATH
}
from
'@/formSchema/const'
;
// 订单
export
const
schema_1
:
ISchema
=
{
type
:
'object'
,
properties
:
{
megaLayout
:
{
type
:
'object'
,
'x-component'
:
'mega-layout'
,
properties
:
{
orderNo
:
{
type
:
'string'
,
'x-component'
:
'ModalSearch'
,
'x-component-props'
:
{
placeholder
:
'搜索'
,
align
:
'flex-left'
,
},
},
[
FORM_FILTER_PATH
]:
{
type
:
'object'
,
'x-component'
:
'flex-layout'
,
'x-component-props'
:
{
rowStyle
:
{
flexWrap
:
'nowrap'
,
justifyContent
:
'flex-start'
,
},
colStyle
:
{
marginRight
:
20
,
},
},
properties
:
{
'[startDate,endDate]'
:
{
type
:
'array'
,
'x-component'
:
'DateRangePickerUnix'
,
'x-component-props'
:
{
placeholder
:
[
'开始时间'
,
'结束时间'
],
allowClear
:
true
,
},
},
sumbit
:
{
'x-component'
:
'Submit'
,
'x-mega-props'
:
{
span
:
1
,
},
'x-component-props'
:
{
children
:
'查询'
,
},
},
},
},
},
},
},
};
// 售后
export
const
schema_2
:
ISchema
=
{
type
:
'object'
,
properties
:
{
megaLayout
:
{
type
:
'object'
,
'x-component'
:
'mega-layout'
,
properties
:
{
applyNo
:
{
type
:
'string'
,
'x-component'
:
'ModalSearch'
,
'x-component-props'
:
{
placeholder
:
'搜索'
,
align
:
'flex-left'
,
},
},
[
FORM_FILTER_PATH
]:
{
type
:
'object'
,
'x-component'
:
'flex-layout'
,
'x-component-props'
:
{
rowStyle
:
{
flexWrap
:
'nowrap'
,
justifyContent
:
'flex-start'
,
},
colStyle
:
{
marginRight
:
20
,
},
},
properties
:
{
'[startTime,endTime]'
:
{
type
:
'array'
,
'x-component'
:
'DateRangePickerUnix'
,
'x-component-props'
:
{
placeholder
:
[
'开始时间'
,
'结束时间'
],
allowClear
:
true
,
},
},
sumbit
:
{
'x-component'
:
'Submit'
,
'x-mega-props'
:
{
span
:
1
,
},
'x-component-props'
:
{
children
:
'查询'
,
},
},
},
},
},
},
},
};
// 商品
export
const
schema_3
:
ISchema
=
{
type
:
'object'
,
properties
:
{
megaLayout
:
{
type
:
'object'
,
'x-component'
:
'mega-layout'
,
properties
:
{
commodityId
:
{
type
:
'string'
,
'x-component'
:
'ModalSearch'
,
'x-component-props'
:
{
placeholder
:
'搜索'
,
align
:
'flex-left'
,
},
},
[
FORM_FILTER_PATH
]:
{
type
:
'object'
,
'x-component'
:
'flex-layout'
,
'x-component-props'
:
{
rowStyle
:
{
flexWrap
:
'nowrap'
,
justifyContent
:
'flex-start'
,
},
colStyle
:
{
marginRight
:
20
,
},
},
properties
:
{
'[startTime,endTime]'
:
{
type
:
'array'
,
'x-component'
:
'DateRangePickerUnix'
,
'x-component-props'
:
{
placeholder
:
[
'开始时间'
,
'结束时间'
],
allowClear
:
true
,
},
},
sumbit
:
{
'x-component'
:
'Submit'
,
'x-mega-props'
:
{
span
:
1
,
},
'x-component-props'
:
{
children
:
'查询'
,
},
},
},
},
},
},
},
};
// 会员
export
const
schema_4
:
ISchema
=
{
type
:
'object'
,
properties
:
{
megaLayout
:
{
type
:
'object'
,
'x-component'
:
'mega-layout'
,
properties
:
{
memberId
:
{
type
:
'string'
,
'x-component'
:
'ModalSearch'
,
'x-component-props'
:
{
placeholder
:
'搜索'
,
align
:
'flex-left'
,
},
},
[
FORM_FILTER_PATH
]:
{
type
:
'object'
,
'x-component'
:
'flex-layout'
,
'x-component-props'
:
{
rowStyle
:
{
flexWrap
:
'nowrap'
,
justifyContent
:
'flex-start'
,
},
colStyle
:
{
marginRight
:
20
,
},
},
properties
:
{
'[startDate,endDate]'
:
{
type
:
'array'
,
'x-component'
:
'DateRangePickerUnix'
,
'x-component-props'
:
{
placeholder
:
[
'开始时间'
,
'结束时间'
],
allowClear
:
true
,
},
},
sumbit
:
{
'x-component'
:
'Submit'
,
'x-mega-props'
:
{
span
:
1
,
},
'x-component-props'
:
{
children
:
'查询'
,
},
},
},
},
},
},
},
};
// 商品询价
export
const
schema_5
:
ISchema
=
{
type
:
'object'
,
properties
:
{
megaLayout
:
{
type
:
'object'
,
'x-component'
:
'mega-layout'
,
properties
:
{
inquiryListId
:
{
type
:
'string'
,
'x-component'
:
'ModalSearch'
,
'x-component-props'
:
{
placeholder
:
'搜索'
,
align
:
'flex-left'
,
},
},
[
FORM_FILTER_PATH
]:
{
type
:
'object'
,
'x-component'
:
'flex-layout'
,
'x-component-props'
:
{
rowStyle
:
{
flexWrap
:
'nowrap'
,
justifyContent
:
'flex-start'
,
},
colStyle
:
{
marginRight
:
20
,
},
},
properties
:
{
'[startTime,endTime]'
:
{
type
:
'array'
,
'x-component'
:
'DateRangePickerUnix'
,
'x-component-props'
:
{
placeholder
:
[
'开始时间'
,
'结束时间'
],
allowClear
:
true
,
},
},
sumbit
:
{
'x-component'
:
'Submit'
,
'x-mega-props'
:
{
span
:
1
,
},
'x-component-props'
:
{
children
:
'查询'
,
},
},
},
},
},
},
},
};
// 采购
export
const
schema_6
=
searchName
=>
{
return
{
type
:
'object'
,
properties
:
{
megaLayout
:
{
type
:
'object'
,
'x-component'
:
'mega-layout'
,
properties
:
{
[
searchName
]:
{
type
:
'string'
,
'x-component'
:
'ModalSearch'
,
'x-component-props'
:
{
placeholder
:
'搜索'
,
align
:
'flex-left'
,
},
},
[
FORM_FILTER_PATH
]:
{
type
:
'object'
,
'x-component'
:
'flex-layout'
,
'x-component-props'
:
{
rowStyle
:
{
flexWrap
:
'nowrap'
,
justifyContent
:
'flex-start'
,
},
colStyle
:
{
marginRight
:
20
,
},
},
properties
:
{
'[startTime,endTime]'
:
{
type
:
'array'
,
'x-component'
:
'DateRangePickerUnix'
,
'x-component-props'
:
{
placeholder
:
[
'开始时间'
,
'结束时间'
],
allowClear
:
true
,
},
},
sumbit
:
{
'x-component'
:
'Submit'
,
'x-mega-props'
:
{
span
:
1
,
},
'x-component-props'
:
{
children
:
'查询'
,
},
},
},
},
},
},
},
};
};
// 合同
export
const
schema_7
:
ISchema
=
{
type
:
'object'
,
properties
:
{
megaLayout
:
{
type
:
'object'
,
'x-component'
:
'mega-layout'
,
properties
:
{
contractNo
:
{
type
:
'string'
,
'x-component'
:
'ModalSearch'
,
'x-component-props'
:
{
placeholder
:
'搜索'
,
align
:
'flex-left'
,
},
},
[
FORM_FILTER_PATH
]:
{
type
:
'object'
,
'x-component'
:
'flex-layout'
,
'x-component-props'
:
{
rowStyle
:
{
flexWrap
:
'nowrap'
,
justifyContent
:
'flex-start'
,
},
colStyle
:
{
marginRight
:
20
,
},
},
properties
:
{
'[startTime,endTime]'
:
{
type
:
'array'
,
'x-component'
:
'DateRangePickerUnix'
,
'x-component-props'
:
{
placeholder
:
[
'开始时间'
,
'结束时间'
],
allowClear
:
true
,
},
},
sumbit
:
{
'x-component'
:
'Submit'
,
'x-mega-props'
:
{
span
:
1
,
},
'x-component-props'
:
{
children
:
'查询'
,
},
},
},
},
},
},
},
};
// 营销
export
const
schema_8
:
ISchema
=
{
type
:
'object'
,
properties
:
{
megaLayout
:
{
type
:
'object'
,
'x-component'
:
'mega-layout'
,
properties
:
{
id
:
{
type
:
'string'
,
'x-component'
:
'ModalSearch'
,
'x-component-props'
:
{
placeholder
:
'搜索'
,
align
:
'flex-left'
,
},
},
[
FORM_FILTER_PATH
]:
{
type
:
'object'
,
'x-component'
:
'flex-layout'
,
'x-component-props'
:
{
rowStyle
:
{
flexWrap
:
'nowrap'
,
justifyContent
:
'flex-start'
,
},
colStyle
:
{
marginRight
:
20
,
},
},
properties
:
{
'[startTime,endTime]'
:
{
type
:
'array'
,
'x-component'
:
'DateRangePickerUnix'
,
'x-component-props'
:
{
placeholder
:
[
'开始时间'
,
'结束时间'
],
allowClear
:
true
,
},
},
sumbit
:
{
'x-component'
:
'Submit'
,
'x-mega-props'
:
{
span
:
1
,
},
'x-component-props'
:
{
children
:
'查询'
,
},
},
},
},
},
},
},
};
ytt.config.ts
View file @
0dc60cc4
...
...
@@ -21,6 +21,7 @@ const tokenList = [
{
name
:
'TransactionV2'
,
token
:
'98fe6ad41a8e1834b017b4795e8cddff5c3def48282ba3d239da5558ca9fc234'
,
categoryIds
:
[
0
]
},
// 交易服务v2
{
name
:
'MarketingV2'
,
token
:
'f6d5cee2383ca203dfa2882b84dfa02a1d79de3c3ad892b42f030437fdc5ea21'
,
categoryIds
:
[
0
]
},
// 营销活动v2
{
name
:
'OrderNewV2'
,
token
:
'3ec2ce1bf7c08ede375d8839ac020cf7657dc2373beaf933b08722208d8eb9e2'
,
categoryIds
:
[
0
]
},
// 订单服务v2
{
name
:
'ContractV2'
,
token
:
'4eaaeea2851d8bc52532d65099d08e62ae362a452828b75b036a265e41cc9bc5'
,
categoryIds
:
[
0
]
},
// 合同服务v2
]
const
getConfigMap
=
(
tokens
)
=>
tokens
.
map
(
v
=>
({
...
...
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