|
@@ -80,7 +80,7 @@
|
|
|
|
|
|
<template #actionSlot="scope">
|
|
<template #actionSlot="scope">
|
|
<el-tooltip content="设计" placement="bottom" effect="light">
|
|
<el-tooltip content="设计" placement="bottom" effect="light">
|
|
- <el-icon class="ibt0">
|
|
|
|
|
|
+ <el-icon class="ibt0" @click="visibleDesignForm = !visibleDesignForm">
|
|
<Money />
|
|
<Money />
|
|
</el-icon>
|
|
</el-icon>
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
@@ -125,6 +125,7 @@
|
|
/>
|
|
/>
|
|
|
|
|
|
<!-- 表单设计Dialog -->
|
|
<!-- 表单设计Dialog -->
|
|
|
|
+ <design-form ref="designForm" v-model="visibleDesignForm"></design-form>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<script lang="tsx" setup>
|
|
<script lang="tsx" setup>
|
|
@@ -135,9 +136,11 @@ import { ElMessage, ElTree, ElMessageBox } from 'element-plus'
|
|
import { useTablePage } from '@/hooks/useTablePage'
|
|
import { useTablePage } from '@/hooks/useTablePage'
|
|
import { Plus, Delete, Edit } from '@element-plus/icons-vue'
|
|
import { Plus, Delete, Edit } from '@element-plus/icons-vue'
|
|
import StatusIndicator from '@/components/StatusIndicator/index.vue'
|
|
import StatusIndicator from '@/components/StatusIndicator/index.vue'
|
|
|
|
+import DesignForm from './designForm.vue'
|
|
|
|
|
|
const visible = ref(false) // 弹窗显示隐藏
|
|
const visible = ref(false) // 弹窗显示隐藏
|
|
const visibleTemplate = ref(false) // 弹窗显示隐藏
|
|
const visibleTemplate = ref(false) // 弹窗显示隐藏
|
|
|
|
+const visibleDesignForm = ref(false) // 弹窗显示隐藏
|
|
const isCreate = ref(true)
|
|
const isCreate = ref(true)
|
|
const activeData = ref({})
|
|
const activeData = ref({})
|
|
const activeDataTemplate = ref({})
|
|
const activeDataTemplate = ref({})
|