测试问题修改1
This commit is contained in:
parent
c513bae261
commit
d08471e8dc
|
|
@ -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)"
|
||||
>
|
||||
|
|
|
|||
|
|
@ -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)"
|
||||
>
|
||||
|
|
|
|||
Loading…
Reference in New Issue