|
|
@ -46,6 +46,7 @@ const { |
|
|
|
paginationData, |
|
|
|
paginationData, |
|
|
|
formattedData: data, |
|
|
|
formattedData: data, |
|
|
|
loadFormView, |
|
|
|
loadFormView, |
|
|
|
|
|
|
|
insertRow, |
|
|
|
formColumnData, |
|
|
|
formColumnData, |
|
|
|
formViewData, |
|
|
|
formViewData, |
|
|
|
changePage, |
|
|
|
changePage, |
|
|
@ -77,7 +78,10 @@ const formView = ref({}) |
|
|
|
|
|
|
|
|
|
|
|
function updateView() {} |
|
|
|
function updateView() {} |
|
|
|
|
|
|
|
|
|
|
|
function submitForm() {} |
|
|
|
function submitForm() { |
|
|
|
|
|
|
|
// TODO: validation |
|
|
|
|
|
|
|
insertRow(formState) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function isDbRequired(column: Record<string, any>) { |
|
|
|
function isDbRequired(column: Record<string, any>) { |
|
|
|
if (hiddenCols.includes(column.fk_column_id)) { |
|
|
|
if (hiddenCols.includes(column.fk_column_id)) { |
|
|
|