update 调整银川大屏和西安大屏
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user