feat: 完成webfirst 数据表管理前端模块

This commit is contained in:
陈淳
2023-09-26 18:01:41 +08:00
parent c2a9c670c4
commit 7cbc15ea85
10 changed files with 471 additions and 261 deletions

View File

@@ -1,12 +1,21 @@
<template>
<el-row>
<el-col :span="4"> <TableList></TableList></el-col>
<el-col :span="20"> <FieldList class="fileList"></FieldList></el-col>
<el-col :span="4"> <TableList @selectTable="selectTable"></TableList></el-col>
<el-col :span="20"> <FieldList class="fileList" :table="table"></FieldList></el-col>
</el-row>
</template>
<script setup>
import { ref ,watch} from 'vue'
import FieldList from './components/FieldList.vue'
import TableList from './components/TableList.vue'
const table=ref({});
const options = ref({})
const selectTable=(table)=>{
options.value = table
}
watch(() => options.value,val => {
table.value = val
},{deep:true})
</script>
<style scoped>
.fileList{