mirror of
https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git
synced 2025-08-14 00:25:46 +02:00
переработка модальных окон2
This commit is contained in:
@@ -55,6 +55,18 @@
|
|||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="office">Кабинет</label>
|
||||||
|
<input
|
||||||
|
type="text"
|
||||||
|
id="office"
|
||||||
|
v-model="formData.office"
|
||||||
|
required
|
||||||
|
class="form-input"
|
||||||
|
placeholder="Введите номер кабинета"
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="form-actions">
|
<div class="form-actions">
|
||||||
<button type="submit" class="submit-button" :disabled="isLoading">
|
<button type="submit" class="submit-button" :disabled="isLoading">
|
||||||
{{ isLoading ? 'Добавление...' : 'Добавить' }}
|
{{ isLoading ? 'Добавление...' : 'Добавить' }}
|
||||||
@@ -87,7 +99,8 @@ export default {
|
|||||||
first_name: '',
|
first_name: '',
|
||||||
last_name: '',
|
last_name: '',
|
||||||
password: '',
|
password: '',
|
||||||
department: ''
|
department: '',
|
||||||
|
office: ''
|
||||||
},
|
},
|
||||||
error: '',
|
error: '',
|
||||||
isLoading: false
|
isLoading: false
|
||||||
@@ -103,7 +116,8 @@ export default {
|
|||||||
first_name: '',
|
first_name: '',
|
||||||
last_name: '',
|
last_name: '',
|
||||||
password: '',
|
password: '',
|
||||||
department: ''
|
department: '',
|
||||||
|
office: ''
|
||||||
}
|
}
|
||||||
this.error = ''
|
this.error = ''
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user