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
linweijiong
jinfa-admin
Commits
4fbc8b3e
Commit
4fbc8b3e
authored
Dec 08, 2021
by
卢均锐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 操作日志-采购-采购询价
-添加对应状态值
parent
33525e52
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
3 deletions
+25
-3
columns.tsx
src/pages/systemManage/operationLog/columns.tsx
+3
-3
constants.ts
src/pages/systemManage/operationLog/constants.ts
+22
-0
No files found.
src/pages/systemManage/operationLog/columns.tsx
View file @
4fbc8b3e
...
...
@@ -2,7 +2,7 @@ import React from 'react';
import
StatusTag
from
'@/components/StatusTag'
;
import
{
status_3
,
operation_3
,
state_external_5
,
state_interior_5
}
from
'./constants'
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'
;
...
...
@@ -275,7 +275,7 @@ export const columns_outer_6_1 = [
title
:
'状态'
,
dataIndex
:
'state'
,
key
:
'state'
,
render
:
(
text
,
record
)
=>
<
StatusTag
title=
{
record
.
stateName
||
state_external_
5
[
text
].
text
}
type=
{
state_external_5
[
text
].
type
}
/>
render
:
(
text
,
record
)
=>
<
StatusTag
title=
{
record
.
stateName
||
state_external_
6_1
[
text
].
text
}
type=
{
state_external_6_1
[
text
].
type
}
/>
},
{
title
:
'操作'
,
...
...
@@ -591,7 +591,7 @@ export const columns_inner_6_1 = [
title
:
'状态'
,
dataIndex
:
'state'
,
key
:
'state'
,
render
:
(
text
,
record
)
=>
<
StatusTag
title=
{
record
.
stateName
||
state_interior_
5
[
text
].
text
}
type=
{
state_interior_5
[
text
].
type
}
/>
render
:
(
text
,
record
)
=>
<
StatusTag
title=
{
record
.
stateName
||
state_interior_
6_1
[
text
].
text
}
type=
{
state_interior_6_1
[
text
].
type
}
/>
},
{
title
:
'操作'
,
...
...
src/pages/systemManage/operationLog/constants.ts
View file @
4fbc8b3e
...
...
@@ -28,3 +28,25 @@ export const state_interior_5 = {
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'
},
}
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