|
@@ -161,13 +161,17 @@ const closeVisible = () => {
|
|
|
closeFn();
|
|
|
};
|
|
|
|
|
|
+const openfn = () => {
|
|
|
+ UpdateForm.value.queryTableId = props.queryTableId;
|
|
|
+}
|
|
|
+
|
|
|
// 弹窗是否全屏
|
|
|
const isFullscreen = ref(false)
|
|
|
</script>
|
|
|
|
|
|
<template lang="pug">
|
|
|
.main
|
|
|
- el-dialog(v-model='props.addVisible' width="50%" :fullscreen="isFullscreen" title="新增" draggable @close="closeVisible")
|
|
|
+ el-dialog(v-model='props.addVisible' width="50%" :fullscreen="isFullscreen" title="新增" draggable @close="closeVisible" @open="openfn")
|
|
|
el-form(:model='UpdateForm' label-position="right" ref="ruleFormRef" :rules="rules" label-width="100px")
|
|
|
el-form-item(label='字段名称' prop="fieldName")
|
|
|
el-input(v-model='UpdateForm.fieldName' autocomplete='off'
|