1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00

переработка модальных окон2

This commit is contained in:
MoonTestUse1
2025-01-03 02:33:55 +06:00
parent 68b9dc6d8d
commit 0a1de2539e

View File

@@ -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 = ''
}, },