|
|
@ -190,9 +190,9 @@ export default { |
|
|
|
</span> |
|
|
|
</template> |
|
|
|
</el-drawer> |
|
|
|
<el-dialog v-model="dialogVisible" align-center destroy-on-close v-loading="editFormloading"> |
|
|
|
<el-dialog v-model="dialogVisible" align-center destroy-on-close> |
|
|
|
<template #header> <span class="el-dialog__title"> {{editFormTitle}} </span> </template> |
|
|
|
<el-row> |
|
|
|
<el-row v-loading="editFormloading"> |
|
|
|
<el-col style="max-height:calc(100vh - 180px );min-height:100%;"> |
|
|
|
<el-scrollbar> |
|
|
|
<template v-if="editFormMode==='create'||editFormMode==='update'||editFormMode==='details'"> |
|
|
@ -402,6 +402,7 @@ export default { |
|
|
|
const onPageIndexChange = async () => await load(indexUrl); |
|
|
|
const onPageSizeChange = async () => await load(indexUrl); |
|
|
|
const click = async (item, rows) => { |
|
|
|
editFormloading.value = true; |
|
|
|
editFormMode.value = item.path ?? item; |
|
|
|
context.emit("command", item, rows); |
|
|
|
if (item.path === "index") { |
|
|
@ -448,6 +449,7 @@ export default { |
|
|
|
editFormTitle.value = t("自定义查询"); |
|
|
|
dialogVisible.value = true; |
|
|
|
} |
|
|
|
editFormloading.value = false; |
|
|
|
}; |
|
|
|
const submit = async () => { |
|
|
|
if (editFormMode.value === "create" || editFormMode.value === "update") { |
|
|
|