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
0ac447fe
Commit
0ac447fe
authored
Apr 17, 2019
by
daywrite
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复分页问题
parent
5e2ff3b2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
4 deletions
+16
-4
scheduleItem.vue
src/components/common/scheduleItem.vue
+1
-1
searchHeader.vue
src/components/common/searchHeader.vue
+7
-1
scheduleHome.vue
src/components/schedule_list/scheduleHome.vue
+8
-2
No files found.
src/components/common/scheduleItem.vue
View file @
0ac447fe
...
...
@@ -4,7 +4,7 @@
<el-col
:span=
"4"
:xs=
"24"
class=
"obear-schedule-left"
:style=
"
{background: item.bgcolor}">
<el-row
:gutter=
"10"
>
<el-col
:span=
"24"
>
<router-link
:to=
"
{ app: 'client', name: 'viewClient', params: {id: item.id} }">
<router-link
:to=
"
{ app: 'client', name: 'viewClient', params: {id: item.
client_
id} }">
<i
class=
"fa fa-star"
aria-hidden=
"true"
></i>
客户名称(
{{
isNullClient
?
'未设置'
:
item
.
client
.
name
}}
)
</router-link>
</el-col>
...
...
src/components/common/searchHeader.vue
View file @
0ac447fe
...
...
@@ -17,7 +17,7 @@
</el-button>
</el-form-item>
<el-form-item
v-if=
"searchKey"
>
<a
class=
"btn"
>
<a
class=
"btn"
@
click
.
stop
.
prevent=
"clear"
>
<i
class=
"fa fa-fw fa-refresh faa-spin animated-hover"
></i>
</a>
</el-form-item>
...
...
@@ -43,6 +43,12 @@ export default {
},
addNew
()
{
this
.
$emit
(
'update:headerAdd'
)
},
clear
()
{
if
(
window
.
localStorage
)
{
window
.
localStorage
.
clear
()
this
.
$emit
(
'update:headerClear'
)
}
}
},
props
:
[
'title'
,
'searchKey'
,
'addTitle'
],
...
...
src/components/schedule_list/scheduleHome.vue
View file @
0ac447fe
...
...
@@ -7,7 +7,8 @@
:search-key=
"'ClientSearch'"
:add-title=
"'新建待办事项'"
@
update:headerSearch=
"search => searchKeyword(search)"
@
update:headerAdd=
"() => addSch()"
>
@
update:headerAdd=
"() => addSch()"
@
update:headerClear=
"() => searchClear()"
>
</search-header>
<search-form
ref=
"clientForm"
...
...
@@ -151,6 +152,11 @@ export default {
this
.
getFilter
()
},
searchClear
()
{
this
.
init
()
this
.
reload
()
},
reload
()
{
let
ret
=
this
.
setParams
({
...
this
.
form
,
...
...
@@ -179,7 +185,7 @@ export default {
let
ret
=
this
.
setParams
({
...
this
.
form
,
page
:
this
.
pagenation
.
thispage
},
pager
)
},
{
page
:
pager
.
thispage
}
)
this
.
getScheduleList
(
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