Просмотр исходного кода

1.大中型归档审核批量提交节点

GouGengquan 9 месяцев назад
Родитель
Сommit
2279d9f7a0
1 измененных файлов с 15 добавлено и 7 удалено
  1. 15 7
      src/views/major/todoList.vue

+ 15 - 7
src/views/major/todoList.vue

@@ -10,9 +10,14 @@
           <template v-slot:otherButton>
             <el-button class="filter-item" round @click="showAllLabel()">显示全部列</el-button>
             <PermissionButton menu-code="_views_major_batch_commit_bookbinding_stamp" class-name="filter-item"
-              type="danger" icon="el-icon-paperclip" :page-jump="false" round @click="openBatchCommitDialog('bookbinding_stamp')" />
+              type="danger" icon="el-icon-paperclip" :page-jump="false" round
+              @click="openBatchCommitDialog('BOOKBINDING_STAMP')" />
             <PermissionButton menu-code="_views_major_batch_commit_recheck_archiving" class-name="filter-item"
-              type="danger" icon="el-icon-paperclip" :page-jump="false" round @click="openBatchCommitDialog('recheck_archiving')" />
+              type="danger" icon="el-icon-paperclip" :page-jump="false" round
+              @click="openBatchCommitDialog('RECHECK_ARCHIVING')" />
+            <PermissionButton menu-code="_views_major_batch_commit_check_archiving" class-name="filter-item"
+              type="danger" icon="el-icon-paperclip" :page-jump="false" round
+              @click="openBatchCommitDialog('CHECK_ARCHIVING')" />
           </template>
         </MoreSearchBar>
       </template>
@@ -268,7 +273,8 @@ export default {
         keyWord: null,
         handlerId: this.$store.getters.userInfo.id,
         getNodeIsBookbindingStamp: false,
-        getNodeIsRecheckArchiving: false
+        getNodeIsRecheckArchiving: false,
+        getNodeIsCheckArchiving: false
       },
       batchCommitPageData: { records: [] }
     }
@@ -349,12 +355,15 @@ export default {
       this.selectBatchCommitPage()
     },
     openBatchCommitDialog(node) {
-      if(node === 'bookbinding_stamp'){
+      if (node === 'BOOKBINDING_STAMP') {
         this.batchCommitListQuery.getNodeIsBookbindingStamp = true;
       }
-      if(node === 'recheck_archiving'){
+      if (node === 'RECHECK_ARCHIVING') {
         this.batchCommitListQuery.getNodeIsRecheckArchiving = true;
       }
+      if (node === 'CHECK_ARCHIVING') {
+        this.batchCommitListQuery.getNodeIsCheckArchiving = true;
+      }
       this.selectBatchCommitPage();
       this.batchCommitDialog = true;
     },
@@ -527,5 +536,4 @@ export default {
 .enableClick:hover {
   color: #1890ff;
   cursor: pointer;
-}
-</style>
+}</style>