测试问题修改1

This commit is contained in:
zzyuan 2026-01-23 18:49:26 +08:00
parent c513bae261
commit d08471e8dc
2 changed files with 4 additions and 6 deletions

View File

@ -272,14 +272,13 @@
<el-table-column label="操作" align="center" width="100">
<template slot-scope="{ row, $index }">
<div style="display: flex; align-items: center; justify-content: center">
<el-button v-if="!routerParams.isView" size="mini" style="color: #2CBAB2;" type="text" @click="handleFileUpload(currentRow, row.type)">上传</el-button>
<el-button v-if="!routerParams.isView" style="color: #2CBAB2;" type="text" @click="handleFileUpload(currentRow, row.type)">上传</el-button>
<el-button
v-if="
(row.type == 2 && currentRow.certificates.length > 0) ||
(row.type == 3 && currentRow.inspectionReports.length > 0) ||
(row.type == 4 && currentRow.purchaseInvoices.length > 0)
"
size="mini"
"
type="text" style="color: #2CBAB2;"
@click="handleView(currentRow, row.type)"
>

View File

@ -118,14 +118,13 @@
<el-table-column label="操作" align="center" width="100">
<template slot-scope="{ row, $index }">
<div style="display: flex; align-items: center; justify-content: center">
<el-button v-if="!routerParams.isView" size="mini" style="color: #2CBAB2;" type="text" @click="handleFileUpload(currentRow, row.type)">上传</el-button>
<el-button v-if="!routerParams.isView" style="color: #2CBAB2;" type="text" @click="handleFileUpload(currentRow, row.type)">上传</el-button>
<el-button
v-if="
(row.type == 2 && currentRow.certificates.length > 0) ||
(row.type == 3 && currentRow.inspectionReports.length > 0) ||
(row.type == 4 && currentRow.purchaseInvoices.length > 0)
"
size="mini"
"
type="text" style="color: #2CBAB2;"
@click="handleView(currentRow, row.type)"
>