|
@@ -14,7 +14,7 @@
|
|
|
is-check :check-style="{ width: 29 }" @selection-change="tableSelectionChange"
|
|
|
>
|
|
|
<template #action="{ row }">
|
|
|
- <el-link type="primary" :disabled="!row.rawUrl" @click="rowViewRawPdf(row)">查看电签报表</el-link>
|
|
|
+ <el-link type="primary" :disabled="row.approveStatus === 0 || row.approveStatus === 3" @click="rowViewRawPdf(row)">查看电签报表</el-link>
|
|
|
<el-link type="primary" @click="viewPdf(row)">查看报表</el-link>
|
|
|
<el-link type="primary" :disabled="row.approveStatus === 0" @click="eVisaRowClick(row)">查看电签流程</el-link>
|
|
|
<el-link type="success" @click="editRow(row)">修改</el-link>
|
|
@@ -294,9 +294,9 @@ const formModalClose = () => {
|
|
|
}
|
|
|
|
|
|
const rowViewRawPdf = (row) => {
|
|
|
-const { status } = row
|
|
|
+const { approveStatus } = row
|
|
|
if (status === 1) {
|
|
|
- toPdfPage(row?.prePdfUrl)
|
|
|
+ approveStatus(row?.prePdfUrl)
|
|
|
} else {
|
|
|
toPdfPage(row?.rawUrl)
|
|
|
}
|