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
80d26330
Commit
80d26330
authored
Oct 22, 2021
by
Zhang Xiaojie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: search by product name
parent
f02b0639
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
28 deletions
+7
-28
topbar.vue
src/components/productManage/topbar.vue
+7
-28
No files found.
src/components/productManage/topbar.vue
View file @
80d26330
...
...
@@ -2,7 +2,8 @@
<div>
<a-input
placeholder=
"产品名称模糊搜索"
v-model=
"product_name"
:value=
"product_name"
@
input=
"handleChangeName"
style=
"width: 150px; margin-right: 10px"
/>
<span
class=
"font-semibold"
>
操作时间:
</span>
...
...
@@ -105,34 +106,12 @@ export default Vue.extend({
"product_status"
,
]),
},
data
()
{
return
{
searchPageReqParams
:
{
name
:
""
,
type
:
0
,
status
:
0
,
startTime
:
undefined
as
undefined
|
number
,
endTime
:
undefined
as
undefined
|
number
,
offset
:
0
,
limit
:
PAGE_SIZE
,
},
};
},
watch
:
{
searchPageReqParams
:
{
deep
:
true
,
handler
(
newV
)
{
this
.
productSave
({
product_name
:
newV
.
name
,
start_time
:
newV
.
startTime
,
end_time
:
newV
.
endTime
,
loan_type
:
newV
.
type
,
product_status
:
newV
.
status
,
});
},
},
},
methods
:
{
handleChangeName
(
e
:
any
){
this
.
productSave
({
product_name
:
e
.
target
.
value
})
},
handleChangeType
(
val
:
any
)
{
this
.
productSave
({
loan_type
:
val
,
...
...
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