Make create form work
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
f453f42b06
commit
9ed297207b
|
@ -7,19 +7,13 @@ import FetchData from 'components/FetchData.vue';
|
|||
import VnSelect from 'src/components/common/VnSelect.vue';
|
||||
import VnRow from 'components/ui/VnRow.vue';
|
||||
import VnInput from 'src/components/common/VnInput.vue';
|
||||
import FormModel from 'components/FormModel.vue';
|
||||
import VnSubToolbar from 'src/components/ui/VnSubToolbar.vue';
|
||||
import VnSearchbar from 'components/ui/VnSearchbar.vue';
|
||||
import FormModelPopup from 'components/FormModelPopup.vue';
|
||||
|
||||
import { useValidator } from 'src/composables/useValidator';
|
||||
import { useArrayData } from 'src/composables/useArrayData';
|
||||
import { useStateStore } from 'stores/useStateStore';
|
||||
|
||||
const { t } = useI18n();
|
||||
const route = useRoute();
|
||||
const router = useRouter();
|
||||
const stateStore = useStateStore();
|
||||
const arrayData = useArrayData('aclCreate');
|
||||
const { store } = arrayData;
|
||||
const validationsStore = useValidator();
|
||||
|
@ -81,10 +75,12 @@ onMounted(() => {
|
|||
auto-load
|
||||
/>
|
||||
<FormModelPopup
|
||||
v-if="urlCreate || urlUpdate"
|
||||
:title="t(`${action} ACL`)"
|
||||
:url="url"
|
||||
:url-update="urlUpdate"
|
||||
:url-create="urlCreate"
|
||||
:form-initial-data="defaultFormData"
|
||||
auto-load
|
||||
model="aclCreate"
|
||||
@on-data-saved="onDataSaved()"
|
||||
|
|
Loading…
Reference in New Issue