保存进度!

This commit is contained in:
2023-09-08 17:57:34 +08:00
parent 22157b11eb
commit efebd548c6
13 changed files with 309 additions and 19 deletions

View File

@@ -14,10 +14,19 @@
<el-divider content-position="left">
90俱乐部
</el-divider>
<div class="toolbutton-wrapper">
<el-button type="primary">
新增
</el-button>
<el-button type="danger">
删除
</el-button>
</div>
<el-table
border
stripe
style="width:100%;"
:height="tableHeight"
>
<el-table-column type="selection" />
<el-table-column
@@ -34,10 +43,19 @@
<el-divider content-position="left">
XXX
</el-divider>
<div class="toolbutton-wrapper">
<el-button type="primary">
新增
</el-button>
<el-button type="danger">
删除
</el-button>
</div>
<el-table
border
stripe
style="width:100%;"
:height="tableHeight"
>
<el-table-column type="selection" />
<el-table-column
@@ -54,11 +72,23 @@
</div>
</template>
<script lang="ts">
import { reactive, computed } from "vue";
export default {
name: "DataManagement",
setup()
{
return {};
const ui = reactive({});
const tableHeight = computed((): number =>
{
return 5 * 50 + 40;
});
return {
ui,
tableHeight,
};
},
};
</script>
@@ -113,4 +143,12 @@ export default {
.dishonor-wrapper {
flex-grow: 1;
}
.toolbutton-wrapper {
text-align: left;
margin-bottom: 10px;
>*+* {
margin-left: 15px;
}
}
</style>