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
de06385f
Commit
de06385f
authored
Sep 24, 2021
by
Zhang Xiaojie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
5324a15d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
topbar.vue
src/components/productManage/topbar.vue
+8
-4
index.ts
src/store/LoanProductManagement/index.ts
+1
-1
No files found.
src/components/productManage/topbar.vue
View file @
de06385f
...
...
@@ -12,13 +12,14 @@
:startTime=
"searchPageReqParams.startTime"
:endTime=
"searchPageReqParams.endTime"
/>
<span
class=
"mr-3"
>
消息
分类
</span>
<span
class=
"mr-3"
>
产品
分类
</span>
<a-select
:default-value=
"productType[0]"
style=
"width: 120px; margin-right: 10px"
v-model=
"searchPageReqParams.type"
@
change=
"handleChange"
>
<a-select-option
v-for=
"(type, i) in productType"
:key=
"i"
>
<a-select-option
v-for=
"(type, i) in productType"
:key=
"i"
:value=
"i"
>
{{
type
}}
</a-select-option>
</a-select>
...
...
@@ -64,7 +65,7 @@ export default Vue.extend({
return
{
searchPageReqParams
:
{
name
:
""
,
type
:
""
,
type
:
0
,
startTime
:
undefined
as
undefined
|
number
,
endTime
:
undefined
as
undefined
|
number
,
offset
:
0
,
...
...
@@ -86,6 +87,9 @@ export default Vue.extend({
},
},
methods
:
{
handleChange
(
val
:
any
){
this
.
searchPageReqParams
.
type
=
val
},
...
mapMutations
(
'loanProductManagement'
,
{
productSave
:
'save'
,
}),
...
...
@@ -104,7 +108,7 @@ export default Vue.extend({
},
reset
()
{
this
.
searchPageReqParams
.
name
=
""
;
this
.
searchPageReqParams
.
type
=
""
;
this
.
searchPageReqParams
.
type
=
0
;
this
.
searchPageReqParams
.
startTime
=
undefined
;
this
.
searchPageReqParams
.
endTime
=
undefined
;
this
.
$nextTick
(()
=>
{
...
...
src/store/LoanProductManagement/index.ts
View file @
de06385f
...
...
@@ -30,7 +30,7 @@ export default <Module<iProductModuleState, {}>>{
const
ret
=
await
LoanProductService
.
getInstance
().
queryDirectLoanReq
({
end_time
:
state
.
end_time
as
number
,
limit
:
state
.
limit
,
loan_type
:
0
,
loan_type
:
state
.
loan_type
,
offset
:
state
.
offset
as
number
,
product_status
:
0
,
start_time
:
state
.
start_time
as
number
,
...
...
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