Commit 06843b34 authored by 高滢's avatar 高滢

feat(投资项目): loading

parent 559fa5d1
<template>
<div :class="getClass" :style="getStyle" ref="wrapperRef">
<div
:class="getClass"
:style="getStyle"
ref="wrapperRef"
v-loading="loadingRef"
loading-tip="加载中..."
>
<PageHeader
:ghost="ghost"
:title="title"
......@@ -60,6 +66,7 @@
});
const props = defineProps({
loadingRef: propTypes.bool,
title: propTypes.string,
dense: propTypes.bool,
ghost: propTypes.bool,
......
<template>
<PageWrapper
:title="getTitle"
:contentBackground="false"
headerSticky
:loading="loading"
loading-tip="加载中..."
>
<PageWrapper :title="getTitle" :contentBackground="false" headerSticky :loadingRef="loading">
<template #extra>
<!-- <a-button type="primary" v-if="!disabled" danger> 删除 </a-button>-->
<a-button type="primary" v-if="!disabled" @click="handleSubmit('0')"> 暂存 </a-button>
......@@ -114,7 +108,7 @@
const [register, { openModal: openModal }] = useModal();
const { createMessage } = useMessage();
const isUpdate = ref(false);
const loading = ref(false);
const loading = ref(true);
const formData = ref<editModel>({});
const disabled = ref(false);
onMounted(async () => {
......
......@@ -81,7 +81,7 @@ export function getBasicColumns(year: string, planType: string): BasicColumn[] {
},
{
title: '投资总额(万元)',
dataIndex: 'companyName',
dataIndex: 'totalInvestment',
className: planType != '承建' ? 'tableShow' : 'tableHiddle',
},
......
<template>
<PageWrapper
:title="getTitle"
v-loading="loadingRef"
:loadingRef="loadingRef"
loading-tip="加载中..."
:contentBackground="false"
headerSticky
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment