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
539a8cb2
Commit
539a8cb2
authored
Dec 24, 2020
by
Bill
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of 10.0.0.22:lingxi/lingxi-business-system into dev
parents
bd2ab9ff
886063cf
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
303 additions
and
246 deletions
+303
-246
returnManageRoute.ts
config/routes/returnManageRoute.ts
+52
-51
env.js
env.js
+74
-74
CustomCategorySearch.tsx
src/components/NiceForm/components/CustomCategorySearch.tsx
+54
-0
CustomInputSearch.tsx
src/components/NiceForm/components/CustomInputSearch.tsx
+0
-6
Search.tsx
src/components/NiceForm/components/Search.tsx
+4
-3
index.tsx
src/components/NiceForm/index.tsx
+3
-1
NormalTable.tsx
src/components/PolymericTable/NormalTable.tsx
+75
-75
index.tsx
src/pages/commodity/effect/index.tsx
+6
-1
index.tsx
src/pages/commodity/productWillCheck/index.tsx
+10
-6
index.tsx
src/pages/commodity/products/index.tsx
+10
-6
index.tsx
src/pages/commodity/schema/index.tsx
+11
-18
index.tsx
src/pages/member/components/EquityInfo/index.tsx
+0
-0
index.tsx
src/pages/rfq/list/index.tsx
+2
-3
index.tsx
src/pages/systemManage/platformArg/index.tsx
+2
-2
No files found.
config/routes/returnManageRoute.ts
View file @
539a8cb2
/*
* @Author: XieZhiXiong
* @Date: 2020-12-18 10:42:26
* @LastEditors: XieZhiXiong
* @LastEditTime: 2020-12-
18 15:38:02
* @Description: 退货查询相关路由
*/
const
returnManageRoute
=
{
path
:
'/returnManage'
,
name
:
'returnManage'
,
icon
:
'SmileOutlined'
,
routes
:
[
//
换货申请单查询
{
path
:
'/returnManage/query'
,
name
:
'query'
,
component
:
'@/pages/returnManage/query/index'
,
},
//
换货申请单详情
{
path
:
'/returnManage/query/detail'
,
name
:
'queryDetail'
,
component
:
'@/pages/returnManage/query/detail'
,
hideInMenu
:
true
,
hidePageHeader
:
true
,
},
// 待退款
{
path
:
'/returnManage/returnPrReturn'
,
name
:
'returnPrReturn'
,
component
:
'@/pages/returnManage/returnPrReturn/index'
,
},
// 待退款-详情
{
path
:
'/returnManage/returnPrReturn/detail'
,
name
:
'returnPrReturnDetail'
,
component
:
'@/pages/returnManage/returnPrReturn/detail'
,
hideInMenu
:
true
,
hidePageHeader
:
true
,
},
// 待退款-审核
{
path
:
'/returnManage/returnPrReturn/verify'
,
name
:
'prReturnVerify'
,
component
:
'@/pages/returnManage/returnPrReturn/verify'
,
hideInMenu
:
true
,
hidePageHeader
:
true
,
},
],
};
/*
* @Author: XieZhiXiong
* @Date: 2020-12-18 10:42:26
* @LastEditors: XieZhiXiong
* @LastEditTime: 2020-12-
23 14:50:54
* @Description: 退货查询相关路由
*/
const
returnManageRoute
=
{
path
:
'/returnManage'
,
name
:
'returnManage'
,
icon
:
'SmileOutlined'
,
routes
:
[
//
退货申请单查询
{
path
:
'/returnManage/query'
,
name
:
'query'
,
component
:
'@/pages/returnManage/query/index'
,
},
//
退货申请单详情
{
path
:
'/returnManage/query/detail'
,
name
:
'queryDetail'
,
component
:
'@/pages/returnManage/query/detail'
,
hideInMenu
:
true
,
hidePageHeader
:
true
,
},
// 待退款
{
path
:
'/returnManage/returnPrReturn'
,
name
:
'returnPrReturn'
,
component
:
'@/pages/returnManage/returnPrReturn/index'
,
},
// 待退款-详情
{
path
:
'/returnManage/returnPrReturn/detail'
,
name
:
'returnPrReturnDetail'
,
component
:
'@/pages/returnManage/returnPrReturn/detail'
,
hideInMenu
:
true
,
hidePageHeader
:
true
,
},
// 待退款-审核
{
path
:
'/returnManage/returnPrReturn/verify'
,
name
:
'prReturnVerify'
,
component
:
'@/pages/returnManage/returnPrReturn/verify'
,
hideInMenu
:
true
,
hidePageHeader
:
true
,
},
],
};
export
default
returnManageRoute
;
\ No newline at end of file
env.js
View file @
539a8cb2
// 这里的env只有对本地起效, 线上构建不用
const
path
=
require
(
'path'
)
module
.
exports
=
{
scm
:
{
SITE_ID
:
'1'
,
BACK_GATEWAY
:
'http://lingxi-scm.wg.shushangyun.com'
,
USE_ROUTE_CONFIG
:
false
,
SOCKET_URL
:
'ws://lingxi-scm.wg.shushangyun.com'
,
ssh
:
JSON
.
stringify
({
user
:
"www"
,
// Password optional, prompted if none given
password
:
"!@#project_$%^231(1)wwwuser3"
,
host
:
"119.23.219.65"
,
port
:
8122
,
localRoot
:
path
.
resolve
(
'./dist/'
),
remoteRoot
:
"/usr/local/nginx/html/lingxi/yanshi/api/scm/admin/dist/"
,
// include: ["*", "**/*"], // this would upload everything except dot files
include
:
[
"*"
],
// e.g. exclude sourcemaps, and ALL files in node_modules (including dot files)
// exclude: ["dist/**/*.map", "node_modules/**", "node_modules/**/.*", ".git/**"],
// delete ALL existing files at destination before uploading, if true
deleteRemote
:
true
,
// Passive mode is forced (EPSV command is not sent)
forcePasv
:
true
})
},
10
:
{
SITE_ID
:
'1'
,
BACK_GATEWAY
:
'http://10.0.0.10:8100'
,
USE_ROUTE_CONFIG
:
true
,
SOCKET_URL
:
'ws://10.0.0.10:8100'
,
ssh
:
JSON
.
stringify
({
user
:
"root"
,
// Password optional, prompted if none given
password
:
"123456"
,
host
:
"10.0.0.10"
,
port
:
22
,
localRoot
:
path
.
resolve
(
'./dist/'
),
remoteRoot
:
"/home/www/lingxi/lingxi-business-system/dist/"
,
// include: ["*", "**/*"], // this would upload everything except dot files
include
:
[
"*"
],
// e.g. exclude sourcemaps, and ALL files in node_modules (including dot files)
// exclude: ["dist/**/*.map", "node_modules/**", "node_modules/**/.*", ".git/**"],
// delete ALL existing files at destination before uploading, if true
deleteRemote
:
true
,
// Passive mode is forced (EPSV command is not sent)
forcePasv
:
true
})
},
25
:
{
SITE_ID
:
'1'
,
BACK_GATEWAY
:
'http://10.0.0.25:8100'
,
USE_ROUTE_CONFIG
:
true
,
SOCKET_URL
:
'ws://10.0.0.25:8100'
,
ssh
:
JSON
.
stringify
({
user
:
"root"
,
// Password optional, prompted if none given
password
:
"123456"
,
host
:
"10.0.0.25"
,
port
:
22
,
localRoot
:
path
.
resolve
(
'./dist/'
),
remoteRoot
:
"/data/.jenkins/workspace/lingxi-business-system/dist/"
,
// include: ["*", "**/*"], // this would upload everything except dot files
include
:
[
"*"
],
// e.g. exclude sourcemaps, and ALL files in node_modules (including dot files)
// exclude: ["dist/**/*.map", "node_modules/**", "node_modules/**/.*", ".git/**"],
// delete ALL existing files at destination before uploading, if true
deleteRemote
:
true
,
// Passive mode is forced (EPSV command is not sent)
forcePasv
:
true
})
}
}
// 这里的env只有对本地起效, 线上构建不用
const
path
=
require
(
'path'
)
module
.
exports
=
{
scm
:
{
SITE_ID
:
'1'
,
BACK_GATEWAY
:
'http://lingxi-scm.wg.shushangyun.com'
,
USE_ROUTE_CONFIG
:
false
,
SOCKET_URL
:
'ws://lingxi-scm.wg.shushangyun.com'
,
ssh
:
JSON
.
stringify
({
user
:
"www"
,
// Password optional, prompted if none given
password
:
"!@#project_$%^231(1)wwwuser3"
,
host
:
"119.23.219.65"
,
port
:
8122
,
localRoot
:
path
.
resolve
(
'./dist/'
),
remoteRoot
:
"/usr/local/nginx/html/lingxi/yanshi/api/scm/admin/dist/"
,
// include: ["*", "**/*"], // this would upload everything except dot files
include
:
[
"*"
],
// e.g. exclude sourcemaps, and ALL files in node_modules (including dot files)
// exclude: ["dist/**/*.map", "node_modules/**", "node_modules/**/.*", ".git/**"],
// delete ALL existing files at destination before uploading, if true
deleteRemote
:
true
,
// Passive mode is forced (EPSV command is not sent)
forcePasv
:
true
})
},
10
:
{
SITE_ID
:
'1'
,
BACK_GATEWAY
:
'http://10.0.0.10:8100'
,
USE_ROUTE_CONFIG
:
true
,
SOCKET_URL
:
'ws://10.0.0.10:8100'
,
ssh
:
JSON
.
stringify
({
user
:
"root"
,
// Password optional, prompted if none given
password
:
"123456"
,
host
:
"10.0.0.10"
,
port
:
22
,
localRoot
:
path
.
resolve
(
'./dist/'
),
remoteRoot
:
"/home/www/lingxi/lingxi-business-system/dist/"
,
// include: ["*", "**/*"], // this would upload everything except dot files
include
:
[
"*"
],
// e.g. exclude sourcemaps, and ALL files in node_modules (including dot files)
// exclude: ["dist/**/*.map", "node_modules/**", "node_modules/**/.*", ".git/**"],
// delete ALL existing files at destination before uploading, if true
deleteRemote
:
true
,
// Passive mode is forced (EPSV command is not sent)
forcePasv
:
true
})
},
25
:
{
SITE_ID
:
'1'
,
BACK_GATEWAY
:
'http://10.0.0.25:8100'
,
USE_ROUTE_CONFIG
:
true
,
SOCKET_URL
:
'ws://10.0.0.25:8100'
,
ssh
:
JSON
.
stringify
({
user
:
"root"
,
// Password optional, prompted if none given
password
:
"123456"
,
host
:
"10.0.0.25"
,
port
:
22
,
localRoot
:
path
.
resolve
(
'./dist/'
),
remoteRoot
:
"/data/.jenkins/workspace/lingxi-business-system/dist/"
,
// include: ["*", "**/*"], // this would upload everything except dot files
include
:
[
"*"
],
// e.g. exclude sourcemaps, and ALL files in node_modules (including dot files)
// exclude: ["dist/**/*.map", "node_modules/**", "node_modules/**/.*", ".git/**"],
// delete ALL existing files at destination before uploading, if true
deleteRemote
:
true
,
// Passive mode is forced (EPSV command is not sent)
forcePasv
:
true
})
}
}
src/components/NiceForm/components/CustomCategorySearch.tsx
0 → 100644
View file @
539a8cb2
import
React
,
{
useState
,
useEffect
}
from
'react'
;
import
{
Input
,
Space
,
Select
,
Button
,
Cascader
}
from
'antd'
;
import
{
useFieldState
,
FormPath
,
FormEffectHooks
,
useFormEffects
}
from
'@formily/antd'
;
/**
* 筛选项 搜索和远程数据结合的 Cascader
* 属性Data数据暂存至schema的props下的dataOption
*/
const
CustomCategorySearch
=
props
=>
{
const
justifyAlign
=
props
.
props
[
'x-component-props'
].
align
||
'flex-end'
const
option
=
props
.
props
[
'x-component-props'
].
dataoption
const
[
dataOption
,
setDataOption
]
=
useState
<
any
>
([])
const
[
value
,
setValue
]
=
useState
<
any
>
([])
useEffect
(()
=>
{
setDataOption
(
option
)
},
[
option
])
useFormEffects
(()
=>
{
FormEffectHooks
.
onFormReset$
().
subscribe
(()
=>
{
setValue
([])
})
})
const
onChange
=
(
value
,
selectedOptions
)
=>
{
props
.
mutators
.
change
(
value
[
value
.
length
-
1
])
setValue
(
value
)
}
const
displayRender
=
(
label
)
=>
{
return
label
[
label
.
length
-
1
];
}
return
(
<
Space
size=
{
20
}
style=
{
{
justifyContent
:
justifyAlign
,
width
:
'100%'
}
}
>
<
Cascader
options=
{
dataOption
}
onChange=
{
onChange
}
value=
{
value
}
displayRender=
{
displayRender
}
{
...
props
.
props
['
x
-
component
-
props
']}
/>
</
Space
>
);
};
CustomCategorySearch
.
defaultProps
=
{};
CustomCategorySearch
.
isFieldComponent
=
true
;
export
default
CustomCategorySearch
;
src/components/NiceForm/components/CustomInputSearch.tsx
View file @
539a8cb2
...
...
@@ -13,12 +13,6 @@ import { PublicApi } from '@/services/api';
const
{
Option
}
=
Select
// export interface SearchProps {
// value: string;
// mutators: any;
// props: any;
// }
const
CustomInputSearch
=
props
=>
{
const
{
form
}
=
props
const
justifyAlign
=
props
.
props
[
'x-component-props'
].
align
||
'flex-end'
...
...
src/components/NiceForm/components/Search.tsx
View file @
539a8cb2
...
...
@@ -15,11 +15,11 @@ const Search = props => {
const
[
state
,
setState
]
=
useFieldState
({
filterSearch
:
false
,
});
const
{
align
,
const
{
align
,
advanced
=
true
,
// 是否展示高级筛选
tip
,
// 搜索框悬浮提示
...
rest
...
rest
}
=
props
.
props
[
'x-component-props'
];
const
justifyAlign
=
align
||
'flex-end'
;
...
...
@@ -56,6 +56,7 @@ const Search = props => {
<
Button
onClick=
{
()
=>
{
props
.
form
.
reset
();
sessionStorage
.
setItem
(
'tableRest'
,
'true'
)
props
.
form
.
submit
();
}
}
>
...
...
src/components/NiceForm/index.tsx
View file @
539a8cb2
...
...
@@ -8,7 +8,8 @@ import CustomStatus from './components/CustomStatus';
import
CustomAddArray
from
'./components/CustomAddArray'
;
import
CustomSlider
from
'./components/CustomSlider'
;
import
Search
from
'./components/Search'
;
import
CustomInputSearch
from
'./components/CustomInputSearch'
import
CustomInputSearch
from
'./components/CustomInputSearch'
;
import
CustomCategorySearch
from
'./components/CustomCategorySearch'
;
import
Submit
from
'./components/Submit'
;
import
Text
from
'./components/Text'
;
import
CardCheckBox
from
'./components/CardCheckBox'
;
...
...
@@ -77,6 +78,7 @@ export const componentExport = {
CustomRadio
,
Search
,
CustomInputSearch
,
CustomCategorySearch
,
Submit
,
Text
,
CardCheckBox
,
...
...
src/components/PolymericTable/NormalTable.tsx
View file @
539a8cb2
/*
* @Author: XieZhiXiong
* @Date: 2020-08-20 16:15:59
* @LastEditors: XieZhiXiong
* @LastEditTime: 2020-09-10 14:07:35
* @Description: 简单封装了分页事件的 Table
*/
import
React
from
'react'
;
import
{
Table
}
from
'antd'
;
import
classNames
from
'classnames'
;
import
{
StandardTableProps
}
from
'./interface'
;
import
styles
from
'./index.less'
;
export
default
class
NormalTable
extends
React
.
PureComponent
<
StandardTableProps
>
{
state
=
{
page
:
1
,
size
:
10
,
};
handlePaginationChange
=
(
page
:
number
,
size
:
number
)
=>
{
const
{
pagination
=
{},
onPaginationChange
}
=
this
.
props
;
const
{
current
,
pageSize
}
=
pagination
;
// 内部自己维护 page、size, 单独控制当前页 或 当前页数
if
(
!
(
'current'
in
pagination
))
{
this
.
setState
({
page
:
current
});
}
if
(
!
(
'pageSize'
in
pagination
))
{
this
.
setState
({
size
:
pageSize
});
}
if
(
onPaginationChange
)
{
onPaginationChange
(
page
,
size
);
}
};
render
()
{
const
{
page
,
size
}
=
this
.
state
;
const
{
columns
,
dataSource
,
rowKey
=
'id'
,
pagination
=
{},
loading
,
className
,
onPaginationChange
,
...
restProps
}
=
this
.
props
;
const
newPagination
:
any
=
pagination
?
{
current
:
page
,
pageSize
:
size
,
showSizeChanger
:
true
,
showQuickJumper
:
true
,
onChange
:
this
.
handlePaginationChange
,
onShowSizeChange
:
this
.
handlePaginationChange
,
size
:
'small'
,
showTotal
:
()
=>
`共
${
pagination
.
total
||
0
}
条`
,
...
pagination
,
}
:
false
;
return
(
<
div
className=
{
classNames
(
className
)
}
>
<
Table
rowKey=
{
rowKey
}
columns=
{
columns
}
dataSource=
{
dataSource
}
loading=
{
loading
}
pagination=
{
newPagination
}
{
...
restProps
}
/>
</
div
>
)
}
/*
* @Author: XieZhiXiong
* @Date: 2020-08-20 16:15:59
* @LastEditors: XieZhiXiong
* @LastEditTime: 2020-12-21 13:57:49
* @Description: 简单封装了分页事件的 Table
*/
import
React
from
'react'
;
import
{
Table
}
from
'antd'
;
import
classNames
from
'classnames'
;
import
{
StandardTableProps
}
from
'./interface'
;
import
styles
from
'./index.less'
;
export
default
class
NormalTable
extends
React
.
PureComponent
<
StandardTableProps
>
{
state
=
{
page
:
1
,
size
:
10
,
};
handlePaginationChange
=
(
page
:
number
,
size
:
number
)
=>
{
const
{
pagination
=
{},
onPaginationChange
}
=
this
.
props
;
const
{
current
,
pageSize
}
=
pagination
;
// 内部自己维护 page、size, 单独控制当前页 或 当前页数
if
(
!
(
'current'
in
pagination
))
{
this
.
setState
({
page
:
current
});
}
if
(
!
(
'pageSize'
in
pagination
))
{
this
.
setState
({
size
:
pageSize
});
}
if
(
onPaginationChange
)
{
onPaginationChange
(
page
,
size
);
}
};
render
()
{
const
{
page
,
size
}
=
this
.
state
;
const
{
columns
,
dataSource
,
rowKey
=
'id'
,
pagination
=
{},
loading
,
className
,
onPaginationChange
,
...
restProps
}
=
this
.
props
;
const
newPagination
:
any
=
pagination
?
{
current
:
page
,
pageSize
:
size
,
showSizeChanger
:
true
,
showQuickJumper
:
true
,
onChange
:
this
.
handlePaginationChange
,
size
:
'small'
,
showTotal
:
()
=>
`共
${
pagination
.
total
||
0
}
条`
,
...
pagination
,
}
:
false
;
return
(
<
div
className=
{
classNames
(
className
)
}
>
<
Table
rowKey=
{
rowKey
}
columns=
{
columns
}
dataSource=
{
dataSource
}
loading=
{
loading
}
pagination=
{
newPagination
}
{
...
restProps
}
/>
</
div
>
)
}
}
\ No newline at end of file
src/pages/commodity/effect/index.tsx
View file @
539a8cb2
...
...
@@ -21,7 +21,12 @@ export const searchBrandOptionEffect = (context: any, fieldName: string) => {
export
const
searchCustomerCategoryOptionEffect
=
(
context
:
any
,
fieldName
:
string
)
=>
{
context
.
getFieldState
(
fieldName
,
state
=>
{
PublicApi
.
getProductSelectGetSelectCategory
({
name
:
state
.
props
[
'x-component-props'
].
searchValue
}).
then
(
res
=>
{
// PublicApi.getProductSelectGetSelectCategory({ name: state.props['x-component-props'].searchValue }).then(res => {
// context.setFieldState(fieldName, state => {
// state.props['x-component-props'].dataoption = res.data
// })
// })
PublicApi
.
getProductPlatformGetCategoryTree
().
then
(
res
=>
{
context
.
setFieldState
(
fieldName
,
state
=>
{
state
.
props
[
'x-component-props'
].
dataoption
=
res
.
data
})
...
...
src/pages/commodity/productWillCheck/index.tsx
View file @
539a8cb2
...
...
@@ -43,11 +43,16 @@ const Products: React.FC<{}> = () => {
key
:
'memberName'
,
},
{
title
:
'品类'
,
title
:
'
会员
品类'
,
dataIndex
:
[
'customerCategory'
,
'name'
],
key
:
'customerCategory.name'
,
},
{
title
:
'平台品类'
,
dataIndex
:
[
'customerCategory'
,
'category'
,
'name'
],
key
:
'customerCategory.category.name'
,
},
{
title
:
'品牌'
,
dataIndex
:
[
'brand'
,
'name'
],
key
:
'brand.name'
,
...
...
@@ -164,10 +169,10 @@ const Products: React.FC<{}> = () => {
FormEffectHooks
.
onFieldChange$
(
'brandId'
).
subscribe
(
state
=>
{
searchBrandOptionEffect
(
actions
,
'brandId'
)
})
FormEffectHooks
.
onFieldChange$
(
'c
ustomerC
ategoryId'
).
subscribe
(
state
=>
{
searchCustomerCategoryOptionEffect
(
actions
,
'c
ustomerC
ategoryId'
)
FormEffectHooks
.
onFieldChange$
(
'categoryId'
).
subscribe
(
state
=>
{
searchCustomerCategoryOptionEffect
(
actions
,
'categoryId'
)
})
}
}
}
}
schema=
{
productWillSchema
}
/>
}
...
...
@@ -177,4 +182,4 @@ const Products: React.FC<{}> = () => {
)
}
export
default
Products
\ No newline at end of file
export
default
Products
src/pages/commodity/products/index.tsx
View file @
539a8cb2
...
...
@@ -42,11 +42,16 @@ const Products: React.FC<{}> = () => {
key
:
'memberName'
,
},
{
title
:
'品类'
,
title
:
'
会员
品类'
,
dataIndex
:
[
'customerCategory'
,
'name'
],
key
:
'customerCategory.name'
,
},
{
title
:
'平台品类'
,
dataIndex
:
[
'customerCategory'
,
'category'
,
'name'
],
key
:
'customerCategory.category.name'
,
},
{
title
:
'品牌'
,
dataIndex
:
[
'brand'
,
'name'
],
key
:
'brand.name'
,
...
...
@@ -152,10 +157,10 @@ const Products: React.FC<{}> = () => {
FormEffectHooks
.
onFieldChange$
(
'brandId'
).
subscribe
(
state
=>
{
searchBrandOptionEffect
(
actions
,
'brandId'
)
})
FormEffectHooks
.
onFieldChange$
(
'c
ustomerC
ategoryId'
).
subscribe
(
state
=>
{
searchCustomerCategoryOptionEffect
(
actions
,
'c
ustomerC
ategoryId'
)
FormEffectHooks
.
onFieldChange$
(
'categoryId'
).
subscribe
(
state
=>
{
searchCustomerCategoryOptionEffect
(
actions
,
'categoryId'
)
})
}
}
}
}
schema=
{
productSchema
}
/>
}
...
...
@@ -165,4 +170,4 @@ const Products: React.FC<{}> = () => {
)
}
export
default
Products
\ No newline at end of file
export
default
Products
src/pages/commodity/schema/index.tsx
View file @
539a8cb2
...
...
@@ -58,19 +58,16 @@ export const productSchema: ISchema = {
dataoption
:
[],
},
},
c
ustomerC
ategoryId
:
{
categoryId
:
{
type
:
'string'
,
'x-component'
:
'Custom
Input
Search'
,
'x-component'
:
'Custom
Category
Search'
,
'x-component-props'
:
{
placeholder
:
'
商品
品类'
,
placeholder
:
'
平台
品类'
,
showSearch
:
true
,
showArrow
:
true
,
defaultActiveFirstOption
:
false
,
filterOption
:
false
,
notFoundContent
:
null
,
style
:
{
width
:
'174px'
},
searchValue
:
null
,
dataoption
:
[]
dataoption
:
[]
,
fieldNames
:
{
label
:
'title'
,
value
:
'id'
,
children
:
'children'
},
},
},
status
:
{
...
...
@@ -223,19 +220,16 @@ export const productWillSchema: ISchema = {
dataoption
:
[],
},
},
c
ustomerC
ategoryId
:
{
categoryId
:
{
type
:
'string'
,
'x-component'
:
'Custom
Input
Search'
,
'x-component'
:
'Custom
Category
Search'
,
'x-component-props'
:
{
placeholder
:
'
商品
品类'
,
placeholder
:
'
平台
品类'
,
showSearch
:
true
,
showArrow
:
true
,
defaultActiveFirstOption
:
false
,
filterOption
:
false
,
notFoundContent
:
null
,
style
:
{
width
:
'174px'
},
searchValue
:
null
,
dataoption
:
[]
dataoption
:
[]
,
fieldNames
:
{
label
:
'title'
,
value
:
'id'
,
children
:
'children'
},
},
},
'NO_NAME_FIELD_$2'
:
{
...
...
@@ -294,4 +288,4 @@ export const productWillSchema: ISchema = {
},
},
},
};
\ No newline at end of file
};
src/pages/member/components/EquityInfo/index.tsx
View file @
539a8cb2
This diff is collapsed.
Click to expand it.
src/pages/rfq/list/index.tsx
View file @
539a8cb2
...
...
@@ -69,7 +69,7 @@ const List:React.FC<{}> = () => {
dataIndex
:
'externalState'
,
render
:
(
text
:
any
,
record
:
any
)
=>
ExternalState
(
text
)
}]
const
fecheData
=
(
params
:
any
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getOrderPlatformInquiryList
({...
params
}).
then
(
res
=>
{
...
...
@@ -118,4 +118,4 @@ const List:React.FC<{}> = () => {
</
PageHeaderWrapper
>
)
}
export
default
List
\ No newline at end of file
export
default
List
src/pages/systemManage/platformArg/index.tsx
View file @
539a8cb2
...
...
@@ -31,8 +31,8 @@ const SensitiveWords: React.FC<{}> = () => {
dataIndex
:
'state'
,
render
:
(
text
:
any
,
record
:
any
)
=>
(
<
StatusSwitch
fieldNames=
"stat
us
"
handleConfirm=
{
()
=>
handleChangeStatus
(
record
.
id
,
record
.
stat
us
)
}
fieldNames=
"stat
e
"
handleConfirm=
{
()
=>
handleChangeStatus
(
record
.
id
,
record
.
stat
e
)
}
record=
{
record
}
expectTrueValue=
{
1
}
/>
...
...
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