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
linweijiong
jinfa-platform
Commits
85c6145d
Commit
85c6145d
authored
Aug 26, 2020
by
前端-许佳敏
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://10.0.0.22:3000/lingxi/lingxi-business-paltform
into dev
parents
c0072c51
bbc8a35c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
16 deletions
+17
-16
global.d.ts~1610bddb1460cd81f648409972bfc813bc51b7ae
...nfig/global.d.ts~1610bddb1460cd81f648409972bfc813bc51b7ae
+0
-0
addCompany.tsx
src/pages/logistics/list/addCompany.tsx
+17
-16
No files found.
src/global/config/global.d.ts
→
src/global/config/global.d.ts
~1610bddb1460cd81f648409972bfc813bc51b7ae
View file @
85c6145d
File moved
src/pages/logistics/list/addCompany.tsx
View file @
85c6145d
...
...
@@ -65,24 +65,24 @@ const columns: ColumnType<any>[] = [
}
]
// 模拟请求
const
fetchData
=
(
params
:
any
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
const
queryResult
=
data
.
find
(
v
=>
v
.
key
===
params
.
keywords
)
setTimeout
(()
=>
{
resolve
({
code
:
200
,
message
:
''
,
data
:
queryResult
?
[
queryResult
]
:
data
})
},
1000
)
})
}
// const fetchData = async (params) =>{
// const res = await PublicApi.getMemberManageLowerPageBynamerole(params)
// return res.data
// const fetchData = (params: any) => {
// return new Promise((resolve, reject) => {
// const queryResult = data.find(v => v.key === params.keywords)
// setTimeout(() => {
// resolve({
// code: 200,
// message: '',
// data: queryResult ? [queryResult] : data
// })
// }, 1000)
// })
// }
const
fetchData
=
async
(
params
)
=>
{
const
res
=
await
PublicApi
.
getMemberManageLowerPageBynamerole
(
params
)
return
res
.
data
}
const
{
Option
}
=
Select
;
const
defaultValue
=
'lucy'
...
...
@@ -240,6 +240,7 @@ const company: React.FC<{}> = () => {
(<
Form
form=
{
menuForm
}
colon=
{
false
}
name=
"edit_infomation"
layout=
"horizontal"
labelAlign=
"left"
...
...
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