|
@@ -228,7 +228,9 @@ const rowTaskName = async (row) => {
|
|
|
}
|
|
|
taskReviewData.value = approvalFileList
|
|
|
if (approvalFileList.length > 0) {
|
|
|
-
|
|
|
+ approvalFileList.forEach((item)=>{
|
|
|
+ item.approvalType = row.approvalType
|
|
|
+ })
|
|
|
const { approvalType } = row
|
|
|
if (approvalType === 1) {
|
|
|
batchPdfUrl.value = await bussPreview( approvalFileList[0])
|
|
@@ -291,6 +293,8 @@ const batchApprovalTaskClick = (rows) => {
|
|
|
const rowTaskReviewClick = async ({ row }) => {
|
|
|
const { approvalType } = row
|
|
|
const type = taskReviewType.value
|
|
|
+ console.log(approvalType, 'approvalType')
|
|
|
+ console.log(type, 'type')
|
|
|
if (approvalType === 1) {
|
|
|
if (type !== '1') {
|
|
|
await queryTaskInfo(row)
|