This commit is contained in:
zds
2022-11-28 18:19:59 +08:00
parent fb88546733
commit 7b1f9fb61f
27 changed files with 240 additions and 109 deletions

View File

@@ -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()
},