|
@@ -124,11 +124,12 @@ const search = async (query = { skip, limit }) => {
|
|
const info = {
|
|
const info = {
|
|
skip: query.skip,
|
|
skip: query.skip,
|
|
limit: query.limit,
|
|
limit: query.limit,
|
|
- type: route.query.type,
|
|
|
|
|
|
+
|
|
status: '1',
|
|
status: '1',
|
|
is_use: '0',
|
|
is_use: '0',
|
|
...searchForm.value
|
|
...searchForm.value
|
|
}
|
|
}
|
|
|
|
+ if (route.query.type) info.type = route.query.type
|
|
const res = await store.query(info)
|
|
const res = await store.query(info)
|
|
if (res.errcode == '0') {
|
|
if (res.errcode == '0') {
|
|
list.value = res.data
|
|
list.value = res.data
|