Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bms-vue-obear
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
daywrite
bms-vue-obear
Commits
8dba551f
Commit
8dba551f
authored
Apr 17, 2019
by
huai.li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
记住参数
parent
9a983b15
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
15 deletions
+3
-15
searchHeader.vue
src/components/common/searchHeader.vue
+0
-7
scheduleHome.vue
src/components/schedule_list/scheduleHome.vue
+3
-8
No files found.
src/components/common/searchHeader.vue
View file @
8dba551f
...
@@ -55,13 +55,6 @@ export default {
...
@@ -55,13 +55,6 @@ export default {
watch
:
{
watch
:
{
'searchKey'
(
val
)
{
'searchKey'
(
val
)
{
this
.
$set
(
this
.
search
,
val
+
'[keyword]'
,
''
)
this
.
$set
(
this
.
search
,
val
+
'[keyword]'
,
''
)
},
'search'
:
{
handler
(
val
)
{
this
.
$emit
(
'update:headerParams'
,
this
.
search
)
},
deep
:
true
}
}
}
}
}
}
...
...
src/components/schedule_list/scheduleHome.vue
View file @
8dba551f
...
@@ -7,7 +7,6 @@
...
@@ -7,7 +7,6 @@
:search-key=
"'ClientSearch'"
:search-key=
"'ClientSearch'"
:add-title=
"'新建待办事项'"
:add-title=
"'新建待办事项'"
@
update:headerSearch=
"search => searchKeyword(search)"
@
update:headerSearch=
"search => searchKeyword(search)"
@
update:headerParams=
"param => paramsFormat(param)"
@
update:headerAdd=
"() => addSch()"
>
@
update:headerAdd=
"() => addSch()"
>
</search-header>
</search-header>
<search-form
<search-form
...
@@ -144,7 +143,7 @@ export default {
...
@@ -144,7 +143,7 @@ export default {
mounted
()
{
mounted
()
{
this
.
init
()
this
.
init
()
this
.
getScheduleList
()
this
.
getScheduleList
(
{}
)
},
},
methods
:
{
methods
:
{
...
@@ -152,18 +151,14 @@ export default {
...
@@ -152,18 +151,14 @@ export default {
this
.
getFilter
()
this
.
getFilter
()
},
},
paramsFormat
(
param
)
{
searchKeyword
(
search
)
{
let
ret
=
this
.
setParams
({
let
ret
=
this
.
setParams
({
...
this
.
form
,
...
this
.
form
,
page
:
this
.
pagenation
.
thispage
page
:
this
.
pagenation
.
thispage
},
param
)
},
search
)
this
.
getScheduleList
(
ret
)
this
.
getScheduleList
(
ret
)
},
},
searchKeyword
(
search
)
{
this
.
getScheduleList
()
},
updateForm
(
search
)
{
updateForm
(
search
)
{
let
ret
=
this
.
setParams
({
let
ret
=
this
.
setParams
({
...
this
.
form
,
...
this
.
form
,
...
...
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