解决tab切换闪屏问题

main
mo 1 year ago
parent 481df58681
commit 9fa2af7dc3

@ -448,7 +448,7 @@
@tab-click="handleClick" @tab-click="handleClick"
> >
<el-tab-pane label="附件" name="first"> <el-tab-pane label="附件" name="first">
<el-table :data="fjList"> <el-table :data="fjList" v-if="activeName == 'first'">
<el-table-column prop="flowCode" label="流程编号" /> <el-table-column prop="flowCode" label="流程编号" />
<el-table-column prop="fileName" label="文件名" /> <el-table-column prop="fileName" label="文件名" />
<el-table-column <el-table-column
@ -524,7 +524,7 @@
</el-dialog> </el-dialog>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="审批流程" name="second"> <el-tab-pane label="审批流程" name="second">
<el-table :data="splcList"> <el-table :data="splcList" v-if="activeName == 'second'">
<el-table-column prop="flowCode" label="流程编号" /> <el-table-column prop="flowCode" label="流程编号" />
<el-table-column prop="fileName" label="文件名" /> <el-table-column prop="fileName" label="文件名" />
<el-table-column <el-table-column
@ -603,7 +603,7 @@
</el-dialog> </el-dialog>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="电子发票" name="third"> <el-tab-pane label="电子发票" name="third">
<el-table :data="dzfpList"> <el-table :data="dzfpList" v-if="activeName == 'third'">
<el-table-column prop="invoiceCode" label="发票代码" /> <el-table-column prop="invoiceCode" label="发票代码" />
<el-table-column prop="fileName" label="文件名" /> <el-table-column prop="fileName" label="文件名" />
<el-table-column <el-table-column
@ -956,7 +956,7 @@
</el-dialog> </el-dialog>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="银行回单" name="fourth"> <el-tab-pane label="银行回单" name="fourth">
<el-table :data="yhhdList"> <el-table :data="yhhdList" v-if="activeName == 'fourth'">
<el-table-column prop="serialNum" label="银行回单流水号" /> <el-table-column prop="serialNum" label="银行回单流水号" />
<el-table-column prop="fileName" label="文件名" /> <el-table-column prop="fileName" label="文件名" />
<el-table-column <el-table-column

Loading…
Cancel
Save