|
|
|
@ -21,7 +21,7 @@ formState.value.au = !!formState.value.au
|
|
|
|
|
v-model:checked="formState.rqd" |
|
|
|
|
:disabled="formState.pk || !sqlUi.columnEditable(formState)" |
|
|
|
|
size="small" |
|
|
|
|
class="nc-column-name-input" |
|
|
|
|
class="nc-column-checkbox-NN" |
|
|
|
|
@change="onAlter" |
|
|
|
|
/> |
|
|
|
|
</a-form-item> |
|
|
|
@ -30,7 +30,7 @@ formState.value.au = !!formState.value.au
|
|
|
|
|
v-model:checked="formState.pk" |
|
|
|
|
:disabled="!sqlUi.columnEditable(formState)" |
|
|
|
|
size="small" |
|
|
|
|
class="nc-column-name-input" |
|
|
|
|
class="nc-column-checkbox-PK" |
|
|
|
|
@change="onAlter" |
|
|
|
|
/> |
|
|
|
|
</a-form-item> |
|
|
|
@ -39,7 +39,7 @@ formState.value.au = !!formState.value.au
|
|
|
|
|
v-model:checked="formState.ai" |
|
|
|
|
:disabled="sqlUi.colPropUNDisabled(formState) || !sqlUi.columnEditable(formState)" |
|
|
|
|
size="small" |
|
|
|
|
class="nc-column-name-input" |
|
|
|
|
class="nc-column-checkbox-AI" |
|
|
|
|
@change="onAlter" |
|
|
|
|
/> |
|
|
|
|
</a-form-item> |
|
|
|
@ -48,14 +48,14 @@ formState.value.au = !!formState.value.au
|
|
|
|
|
:disabled="sqlUi.colPropUNDisabled(formState) || !sqlUi.columnEditable(formState)" |
|
|
|
|
@change="onAlter" |
|
|
|
|
> |
|
|
|
|
<a-checkbox v-model:checked="formState.un" size="small" class="nc-column-name-input" /> |
|
|
|
|
<a-checkbox v-model:checked="formState.un" size="small" class="nc-column-checkbox-UN" /> |
|
|
|
|
</a-form-item> |
|
|
|
|
<a-form-item |
|
|
|
|
label="AU" |
|
|
|
|
:disabled="sqlUi.colPropAuDisabled(formState) || !sqlUi.columnEditable(formState)" |
|
|
|
|
@change="onAlter" |
|
|
|
|
> |
|
|
|
|
<a-checkbox v-model:checked="formState.au" size="small" class="nc-column-name-input" /> |
|
|
|
|
<a-checkbox v-model:checked="formState.au" size="small" class="nc-column-checkbox-AU" /> |
|
|
|
|
</a-form-item> |
|
|
|
|
</div> |
|
|
|
|
<a-form-item :label="$t('labels.databaseType')" v-bind="validateInfos.dt"> |
|
|
|
|