update 调整银川大屏和西安大屏

This commit is contained in:
zk
2024-05-17 13:07:39 +08:00
parent 45aec85fad
commit 13faaa92a6
15 changed files with 145 additions and 88 deletions
@@ -69,6 +69,10 @@
const dataSource = ref([]);
async function getRecords() {
if (!props.api) {
setDataSource([{ name: '张三', department: '公司机关', sex: '男' }]);
return;
}
const { code, result } = await props.api({ ...props.apiParams, pageSize: pageSize.value, pageNo: current.value });
if (code == 200) {
if (props.afterFetch && isFunction(props.afterFetch)) {
@@ -92,6 +96,9 @@
immediate: true,
}
);
defineExpose({
getRecords,
});
</script>
<style scoped lang="less">
:deep(.ant-table-thead > tr > th) {
@@ -186,4 +193,4 @@
:deep(.ant-table-pagination-right) {
margin-right: 10px !important;
}
</style>
</style>
@@ -100,7 +100,7 @@
<style scoped lang="less">
.dialog-con {
background-color: #00152b;
border: 1px solid #129bff;
//border: 1px solid #129bff;
min-height: 500px;
}