优化
This commit is contained in:
@@ -79,7 +79,7 @@ export default {
|
||||
url: 'api/structattr',
|
||||
idField: 'struct_id',
|
||||
sort: 'struct_id,desc',
|
||||
query: { search: '', is_lock: '1', lock_type: '',sect_id: '', stor_id: '' },
|
||||
query: { search: '', is_lock: '1', lock: '',sect_id: '', stor_id: '' },
|
||||
crudMethod: { ...crudStructattr }
|
||||
})
|
||||
},
|
||||
@@ -128,7 +128,7 @@ export default {
|
||||
this.lock = '00'
|
||||
},
|
||||
[CRUD.HOOK.beforeRefresh]() {
|
||||
this.query.lock_type = this.lock
|
||||
this.query.lock = this.lock
|
||||
return true
|
||||
},
|
||||
open() {
|
||||
@@ -152,7 +152,7 @@ export default {
|
||||
}
|
||||
}
|
||||
this.query.is_lock = '1'
|
||||
this.query.lock_type = this.lock
|
||||
this.query.lock = this.lock
|
||||
this.query.is_used = '1'
|
||||
this.crud.toQuery()
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user