|
@ -306,6 +306,11 @@ export default { |
|
|
[CRUD.HOOK.beforeRefresh]() { |
|
|
[CRUD.HOOK.beforeRefresh]() { |
|
|
return true |
|
|
return true |
|
|
}, |
|
|
}, |
|
|
|
|
|
[CRUD.HOOK.beforeToEdit](data) { |
|
|
|
|
|
this.form.device_code = Array.of(data.form.device_code.split('').join('')) |
|
|
|
|
|
this.form.next_device_code = Array.of(data.form.next_device_code.split('').join('')) |
|
|
|
|
|
return true |
|
|
|
|
|
}, |
|
|
// 改变状态 |
|
|
// 改变状态 |
|
|
changeEnabled(data) { |
|
|
changeEnabled(data) { |
|
|
var msg = '停用' |
|
|
var msg = '停用' |
|
|