Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mancheng_code
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hanxiao
mancheng_code
Commits
59698e43
Commit
59698e43
authored
Nov 02, 2023
by
heshihao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 代码格式修改
parent
63c2b205
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
79 deletions
+41
-79
src/api/assess/index.js
+41
-79
No files found.
src/api/assess/index.js
View file @
59698e43
import
api
from
'@/utils/http'
import
api
from
"@/utils/http"
;
const
assess
=
{
const
assess
=
{
DownList
:
"/api/address/DownList"
,
DownList
:
"/api/address/DownList"
,
...
@@ -15,61 +14,37 @@ const assess = {
...
@@ -15,61 +14,37 @@ const assess = {
SearchFactory
:
"/api/address/SearchFactory"
,
SearchFactory
:
"/api/address/SearchFactory"
,
SearchBuild
:
"/api/address/SearchBuild"
,
SearchBuild
:
"/api/address/SearchBuild"
,
CheckDetail
:
"/api/address/CheckDetail"
,
CheckDetail
:
"/api/address/CheckDetail"
,
}
}
;
// 编辑 查看 详情
// 编辑 查看 详情
const
CheckDetail
=
({
const
CheckDetail
=
({
id
,
carrier_type
})
=>
{
id
,
carrier_type
})
=>
{
return
api
.
post
(
assess
.
CheckDetail
,
{
return
api
.
post
(
assess
.
CheckDetail
,
{
id
,
carrier_type
id
,
})
carrier_type
,
}
});
const
SearchLand
=
({
};
key_words
,
const
SearchLand
=
({
key_words
,
land_nature
,
industry_name
,
land_name
,
district_name
,
page
,
perpage
})
=>
{
land_nature
,
industry_name
,
land_name
,
district_name
,
page
,
perpage
})
=>
{
return
api
.
post
(
assess
.
SearchLand
,
{
return
api
.
post
(
assess
.
SearchLand
,
{
key_words
,
key_words
,
land_nature
,
land_nature
,
industry_name
,
industry_name
,
land_name
,
land_name
,
land_code
:
''
,
land_code
:
""
,
district_name
,
district_name
,
page
,
page
,
per_page
:
perpage
per_page
:
perpage
,
})
});
}
};
const
SearchFactory
=
({
const
SearchFactory
=
({
industry_name
,
key_words
,
factory_name
,
district_name
,
page
,
perpage
})
=>
{
industry_name
,
key_words
,
factory_name
,
district_name
,
page
,
perpage
})
=>
{
return
api
.
post
(
assess
.
SearchFactory
,
{
return
api
.
post
(
assess
.
SearchFactory
,
{
industry_name
,
industry_name
,
key_words
,
key_words
,
factory_name
,
factory_name
,
district_name
,
district_name
,
page
,
page
,
per_page
:
perpage
per_page
:
perpage
,
})
});
}
};
const
SearchBuild
=
({
const
SearchBuild
=
({
key_words
,
industry_name
,
build_name
,
build_type
,
district_name
,
page
,
perpage
})
=>
{
key_words
,
industry_name
,
build_name
,
build_type
,
district_name
,
page
,
perpage
})
=>
{
return
api
.
post
(
assess
.
SearchBuild
,
{
return
api
.
post
(
assess
.
SearchBuild
,
{
key_words
,
key_words
,
industry_name
,
industry_name
,
...
@@ -77,9 +52,9 @@ const SearchBuild = ({
...
@@ -77,9 +52,9 @@ const SearchBuild = ({
build_type
,
build_type
,
district_name
,
district_name
,
page
,
page
,
per_page
:
perpage
per_page
:
perpage
,
})
})
;
}
}
;
// const ChooseAddress = (industry_id,
// const ChooseAddress = (industry_id,
// product,
// product,
// budget,
// budget,
...
@@ -103,15 +78,7 @@ const SearchBuild = ({
...
@@ -103,15 +78,7 @@ const SearchBuild = ({
// key_words
// key_words
// })
// })
// }
// }
const
SearchAll
=
({
const
SearchAll
=
({
key_words
,
industry_name
,
district_name
,
carrier_type_id
,
preference
,
page
,
per_page
})
=>
{
key_words
,
industry_name
,
district_name
,
carrier_type_id
,
preference
,
page
,
per_page
})
=>
{
return
api
.
post
(
assess
.
SearchAll
,
{
return
api
.
post
(
assess
.
SearchAll
,
{
key_words
,
key_words
,
industry_name
,
industry_name
,
...
@@ -119,39 +86,36 @@ const SearchAll = ({
...
@@ -119,39 +86,36 @@ const SearchAll = ({
carrier_type_id
,
carrier_type_id
,
preference
,
preference
,
page
,
page
,
per_page
per_page
,
})
});
}
};
const
DefaultAddress
=
(
const
DefaultAddress
=
(
district
,
page
,
perpage
)
=>
{
district
,
page
,
perpage
)
=>
{
return
api
.
post
(
assess
.
DefaultAddress
,
{
return
api
.
post
(
assess
.
DefaultAddress
,
{
district
,
district
,
page
,
page
,
perpage
,
perpage
,
})
})
;
}
}
;
// 产业集群
// 产业集群
const
DownList
=
()
=>
{
const
DownList
=
()
=>
{
return
api
.
get
(
assess
.
DownList
)
return
api
.
get
(
assess
.
DownList
)
;
}
}
;
const
ShowArea
=
({
district_name
})
=>
{
const
ShowArea
=
({
district_name
})
=>
{
return
api
.
post
(
assess
.
ShowArea
,
{
return
api
.
post
(
assess
.
ShowArea
,
{
district_name
district_name
,
})
})
;
}
}
;
const
ShowCarrierRate
=
({
district_name
})
=>
{
const
ShowCarrierRate
=
({
district_name
})
=>
{
return
api
.
post
(
assess
.
ShowCarrierRate
,
{
return
api
.
post
(
assess
.
ShowCarrierRate
,
{
district_name
district_name
,
})
})
;
}
}
;
const
ShowCarrierEnergy
=
()
=>
{
const
ShowCarrierEnergy
=
()
=>
{
return
api
.
get
(
assess
.
ShowCarrierEnergy
)
return
api
.
get
(
assess
.
ShowCarrierEnergy
)
;
}
}
;
const
GetLoansRate
=
()
=>
{
const
GetLoansRate
=
()
=>
{
return
api
.
get
(
assess
.
GetLoansRate
)
return
api
.
get
(
assess
.
GetLoansRate
)
;
}
}
;
export
default
{
export
default
{
SearchAll
,
SearchAll
,
...
@@ -165,7 +129,5 @@ export default {
...
@@ -165,7 +129,5 @@ export default {
SearchLand
,
SearchLand
,
SearchFactory
,
SearchFactory
,
SearchBuild
,
SearchBuild
,
CheckDetail
CheckDetail
,
}
};
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