Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fns_backend
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Zhang Xiaojie
fns_backend
Commits
409a5640
Commit
409a5640
authored
Sep 23, 2021
by
Zhang Xiaojie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
贷款产品新增,修改的请求函数参数类型更改
parent
03e4d4fa
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
36 deletions
+36
-36
index.ts
src/service/LoanProductService/index.ts
+12
-12
type.ts
src/store/LoanProductManagement/type.ts
+6
-6
publish.vue
src/views/Root/Product/Loan/publish.vue
+18
-18
No files found.
src/service/LoanProductService/index.ts
View file @
409a5640
...
@@ -20,15 +20,15 @@ export default class LoanProductService {
...
@@ -20,15 +20,15 @@ export default class LoanProductService {
guarantee_type
:
eGuaranteeType
guarantee_type
:
eGuaranteeType
inst_name
:
string
inst_name
:
string
loan_type
:
eProductType
loan_type
:
eProductType
max_amount
:
string
max_amount
:
number
max_date
:
string
max_date
:
number
product_name
:
string
product_name
:
string
products
:
string
products
:
string
rate_lower
:
string
rate_lower
:
number
rate_upper
:
string
rate_upper
:
number
submit_cond
:
string
submit_cond
:
string
min_date
:
string
min_date
:
number
min_amount
:
string
min_amount
:
number
}
}
)
{
)
{
return
baseAxios
({
return
baseAxios
({
...
@@ -46,15 +46,15 @@ export default class LoanProductService {
...
@@ -46,15 +46,15 @@ export default class LoanProductService {
guarantee_type
:
eGuaranteeType
guarantee_type
:
eGuaranteeType
inst_name
:
string
inst_name
:
string
product_type
:
eProductType
product_type
:
eProductType
max_amount
:
string
max_amount
:
number
max_date
:
string
max_date
:
number
product_name
:
string
product_name
:
string
products
:
string
products
:
string
rate_lower
:
string
rate_lower
:
number
rate_upper
:
string
rate_upper
:
number
submit_cond
:
string
submit_cond
:
string
min_amount
:
string
min_amount
:
number
min_date
:
string
min_date
:
number
uuid
:
string
uuid
:
string
}
}
)
{
)
{
...
...
src/store/LoanProductManagement/type.ts
View file @
409a5640
...
@@ -7,16 +7,16 @@ export interface iListItem {
...
@@ -7,16 +7,16 @@ export interface iListItem {
features
:
string
,
features
:
string
,
guarantee_type
:
number
,
guarantee_type
:
number
,
inst_name
:
string
,
inst_name
:
string
,
max_amount
:
string
,
max_amount
:
number
,
max_date
:
string
,
max_date
:
number
,
min_amount
:
string
,
min_amount
:
number
,
min_date
:
string
,
min_date
:
number
,
product_name
:
string
,
product_name
:
string
,
product_status
:
number
,
product_status
:
number
,
product_type
:
number
,
product_type
:
number
,
products
:
string
,
products
:
string
,
rate_lower
:
string
,
rate_lower
:
number
,
rate_upper
:
string
,
rate_upper
:
number
,
submit_cond
:
string
,
submit_cond
:
string
,
update_at
:
number
,
update_at
:
number
,
uuid
:
string
uuid
:
string
...
...
src/views/Root/Product/Loan/publish.vue
View file @
409a5640
...
@@ -155,12 +155,12 @@ export default Vue.extend({
...
@@ -155,12 +155,12 @@ export default Vue.extend({
form
:
{
form
:
{
name
:
""
,
name
:
""
,
orgnization
:
""
,
orgnization
:
""
,
startTime
:
0
as
number
|
string
,
startTime
:
0
,
endTime
:
0
as
number
|
string
,
endTime
:
0
,
interstMax
:
0
as
number
|
string
,
interstMax
:
0
,
interstMin
:
0
as
number
|
string
,
interstMin
:
0
,
limitMax
:
0
as
number
|
string
,
limitMax
:
0
as
number
,
limitMin
:
0
as
number
|
string
,
limitMin
:
0
,
guarantee
:
eGuaranteeType
.
credit
,
guarantee
:
eGuaranteeType
.
credit
,
type
:
eProductType
.
company
,
type
:
eProductType
.
company
,
introduction
:
""
,
introduction
:
""
,
...
@@ -238,16 +238,16 @@ export default Vue.extend({
...
@@ -238,16 +238,16 @@ export default Vue.extend({
features
:
this
.
form
.
characteristic
,
features
:
this
.
form
.
characteristic
,
guarantee_type
:
this
.
form
.
guarantee
as
eGuaranteeType
,
guarantee_type
:
this
.
form
.
guarantee
as
eGuaranteeType
,
inst_name
:
this
.
form
.
orgnization
,
inst_name
:
this
.
form
.
orgnization
,
max_amount
:
this
.
form
.
limitMax
.
toString
()
,
max_amount
:
this
.
form
.
limitMax
,
max_date
:
this
.
form
.
endTime
.
toString
()
,
max_date
:
this
.
form
.
endTime
,
product_name
:
this
.
form
.
name
,
product_name
:
this
.
form
.
name
,
products
:
this
.
form
.
introduction
,
products
:
this
.
form
.
introduction
,
product_type
:
this
.
form
.
type
,
product_type
:
this
.
form
.
type
,
rate_lower
:
this
.
form
.
interstMin
.
toString
()
,
rate_lower
:
this
.
form
.
interstMin
,
rate_upper
:
this
.
form
.
interstMax
.
toString
()
,
rate_upper
:
this
.
form
.
interstMax
,
submit_cond
:
this
.
form
.
submissionCon
,
submit_cond
:
this
.
form
.
submissionCon
,
min_amount
:
this
.
form
.
limitMin
.
toString
()
,
min_amount
:
this
.
form
.
limitMin
,
min_date
:
this
.
form
.
startTime
.
toString
()
,
min_date
:
this
.
form
.
startTime
,
uuid
:
this
.
uuid
,
uuid
:
this
.
uuid
,
})
})
.
then
((
ret
)
=>
{
.
then
((
ret
)
=>
{
...
@@ -267,15 +267,15 @@ export default Vue.extend({
...
@@ -267,15 +267,15 @@ export default Vue.extend({
features
:
this
.
form
.
characteristic
,
features
:
this
.
form
.
characteristic
,
guarantee_type
:
this
.
form
.
guarantee
as
eGuaranteeType
,
guarantee_type
:
this
.
form
.
guarantee
as
eGuaranteeType
,
inst_name
:
this
.
form
.
orgnization
,
inst_name
:
this
.
form
.
orgnization
,
max_amount
:
this
.
form
.
limitMax
.
toString
()
,
max_amount
:
this
.
form
.
limitMax
,
max_date
:
this
.
form
.
endTime
.
toString
()
,
max_date
:
this
.
form
.
endTime
,
min_amount
:
this
.
form
.
limitMin
.
toString
()
,
min_amount
:
this
.
form
.
limitMin
,
min_date
:
this
.
form
.
startTime
.
toString
()
,
min_date
:
this
.
form
.
startTime
,
loan_type
:
this
.
form
.
type
as
eProductType
,
loan_type
:
this
.
form
.
type
as
eProductType
,
product_name
:
this
.
form
.
name
,
product_name
:
this
.
form
.
name
,
products
:
this
.
form
.
introduction
,
products
:
this
.
form
.
introduction
,
rate_lower
:
this
.
form
.
interstMin
.
toString
()
,
rate_lower
:
this
.
form
.
interstMin
,
rate_upper
:
this
.
form
.
interstMax
.
toString
()
,
rate_upper
:
this
.
form
.
interstMax
,
submit_cond
:
this
.
form
.
submissionCon
,
submit_cond
:
this
.
form
.
submissionCon
,
})
})
.
then
((
ret
)
=>
{
.
then
((
ret
)
=>
{
...
...
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