Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
6bfed913
Commit
6bfed913
authored
Jun 30, 2018
by
Junling Bu
Browse files
feat[litemall-admin]: 删除waves,简化代码
parent
78903eb7
Changes
24
Hide whitespace changes
Inline
Side-by-side
litemall-admin/src/views/user/collect.vue
View file @
6bfed913
...
...
@@ -7,9 +7,9 @@
</el-input>
<el-input
clearable
class=
"filter-item"
style=
"width: 200px;"
placeholder=
"请输入商品ID"
v-model=
"listQuery.valueId"
>
</el-input>
<el-button
class=
"filter-item"
type=
"primary"
v-waves
icon=
"el-icon-search"
@
click=
"handleFilter"
>
查找
</el-button>
<el-button
class=
"filter-item"
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleFilter"
>
查找
</el-button>
<el-button
class=
"filter-item"
type=
"primary"
@
click=
"handleCreate"
icon=
"el-icon-edit"
>
添加
</el-button>
<el-button
class=
"filter-item"
type=
"primary"
:loading=
"downloadLoading"
v-waves
icon=
"el-icon-download"
@
click=
"handleDownload"
>
导出
</el-button>
<el-button
class=
"filter-item"
type=
"primary"
:loading=
"downloadLoading"
icon=
"el-icon-download"
@
click=
"handleDownload"
>
导出
</el-button>
</div>
<!-- 查询结果 -->
...
...
@@ -67,13 +67,9 @@
<
script
>
import
{
listCollect
,
createCollect
,
updateCollect
,
deleteCollect
}
from
'
@/api/collect
'
import
waves
from
'
@/directive/waves
'
// 水波纹指令
export
default
{
name
:
'
Collect
'
,
directives
:
{
waves
},
data
()
{
return
{
list
:
null
,
...
...
litemall-admin/src/views/user/footprint.vue
View file @
6bfed913
...
...
@@ -7,9 +7,9 @@
</el-input>
<el-input
clearable
class=
"filter-item"
style=
"width: 200px;"
placeholder=
"请输入商品ID"
v-model=
"listQuery.goodsId"
>
</el-input>
<el-button
class=
"filter-item"
type=
"primary"
v-waves
icon=
"el-icon-search"
@
click=
"handleFilter"
>
查找
</el-button>
<el-button
class=
"filter-item"
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleFilter"
>
查找
</el-button>
<el-button
class=
"filter-item"
type=
"primary"
@
click=
"handleCreate"
icon=
"el-icon-edit"
>
添加
</el-button>
<el-button
class=
"filter-item"
type=
"primary"
:loading=
"downloadLoading"
v-waves
icon=
"el-icon-download"
@
click=
"handleDownload"
>
导出
</el-button>
<el-button
class=
"filter-item"
type=
"primary"
:loading=
"downloadLoading"
icon=
"el-icon-download"
@
click=
"handleDownload"
>
导出
</el-button>
</div>
<!-- 查询结果 -->
...
...
@@ -67,13 +67,9 @@
<
script
>
import
{
listFootprint
,
createFootprint
,
updateFootprint
,
deleteFootprint
}
from
'
@/api/footprint
'
import
waves
from
'
@/directive/waves
'
// 水波纹指令
export
default
{
name
:
'
FootPrint
'
,
directives
:
{
waves
},
data
()
{
return
{
list
:
null
,
...
...
litemall-admin/src/views/user/history.vue
View file @
6bfed913
...
...
@@ -7,9 +7,9 @@
</el-input>
<el-input
clearable
class=
"filter-item"
style=
"width: 200px;"
placeholder=
"请输入搜索历史关键字"
v-model=
"listQuery.keyword"
>
</el-input>
<el-button
class=
"filter-item"
type=
"primary"
v-waves
icon=
"el-icon-search"
@
click=
"handleFilter"
>
查找
</el-button>
<el-button
class=
"filter-item"
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleFilter"
>
查找
</el-button>
<el-button
class=
"filter-item"
type=
"primary"
@
click=
"handleCreate"
icon=
"el-icon-edit"
>
添加
</el-button>
<el-button
class=
"filter-item"
type=
"primary"
:loading=
"downloadLoading"
v-waves
icon=
"el-icon-download"
@
click=
"handleDownload"
>
导出
</el-button>
<el-button
class=
"filter-item"
type=
"primary"
:loading=
"downloadLoading"
icon=
"el-icon-download"
@
click=
"handleDownload"
>
导出
</el-button>
</div>
<!-- 查询结果 -->
...
...
@@ -66,13 +66,9 @@
<
script
>
import
{
listHistory
,
createHistory
,
updateHistory
,
deleteHistory
}
from
'
@/api/history
'
import
waves
from
'
@/directive/waves
'
// 水波纹指令
export
default
{
name
:
'
History
'
,
directives
:
{
waves
},
data
()
{
return
{
list
:
null
,
...
...
litemall-admin/src/views/user/user.vue
View file @
6bfed913
...
...
@@ -7,9 +7,9 @@
</el-input>
<el-input
clearable
class=
"filter-item"
style=
"width: 200px;"
placeholder=
"请输入手机号"
v-model=
"listQuery.mobile"
>
</el-input>
<el-button
class=
"filter-item"
type=
"primary"
v-waves
icon=
"el-icon-search"
@
click=
"handleFilter"
>
查找
</el-button>
<el-button
class=
"filter-item"
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleFilter"
>
查找
</el-button>
<el-button
class=
"filter-item"
type=
"primary"
@
click=
"handleCreate"
icon=
"el-icon-edit"
>
添加
</el-button>
<el-button
class=
"filter-item"
type=
"primary"
:loading=
"downloadLoading"
v-waves
icon=
"el-icon-download"
@
click=
"handleDownload"
>
导出
</el-button>
<el-button
class=
"filter-item"
type=
"primary"
:loading=
"downloadLoading"
icon=
"el-icon-download"
@
click=
"handleDownload"
>
导出
</el-button>
</div>
<!-- 查询结果 -->
...
...
@@ -116,13 +116,9 @@
<
script
>
import
{
fetchList
,
createUser
,
updateUser
}
from
'
@/api/user
'
import
waves
from
'
@/directive/waves
'
// 水波纹指令
export
default
{
name
:
'
User
'
,
directives
:
{
waves
},
data
()
{
var
validatePass
=
(
rule
,
value
,
callback
)
=>
{
if
(
value
===
''
)
{
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
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