Browse Source

Merge branch 'master' into test-dev

duy 1 month ago
parent
commit
214e571b0c
1 changed files with 7 additions and 4 deletions
  1. 7 4
      src/views/tasks/hc-data.vue

+ 7 - 4
src/views/tasks/hc-data.vue

@@ -37,7 +37,7 @@
         </HcTabsSimple>
 
         <!-- 任务审核 -->
-        <hc-new-dialog v-model="showTaskReviewModal" is-table widths="80vw">
+        <hc-new-dialog v-model="showTaskReviewModal" is-table widths="80vw" @close="closeTaskReviewModal">
             <template #header="{ titleId, titleClass }">
                 <div class="hc-card-header flex items-center">
                     <div :id="titleId" :class="titleClass">任务审核 【已开启电签】</div>
@@ -211,7 +211,10 @@ const taskReviewForm = ref({ flag: 'OK', comment: '' })
 const taskReviewColumns = ref([
     { key: 'fileName', name: '文件名称' },
 ])
-
+const closeTaskReviewModal = ()=>{
+    showTaskReviewModal.value = false
+    batchPdfUrl.value = ''
+}
 //任务审核
 const rowTaskName = async (row) => {
     if (row.formDataId) {
@@ -293,8 +296,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)