Quellcode durchsuchen

1.大中型复审部归档审核批量提交

GouGengquan vor 10 Monaten
Ursprung
Commit
e351f47f12
1 geänderte Dateien mit 14 neuen und 6 gelöschten Zeilen
  1. 14 6
      src/views/major/todoList.vue

+ 14 - 6
src/views/major/todoList.vue

@@ -10,7 +10,9 @@
           <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()" />
+              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')" />
           </template>
         </MoreSearchBar>
       </template>
@@ -135,8 +137,8 @@
             round>提交选中流程
           </el-button>
         </template>
-        <parentTable :clickRowToPick="true" ref="table" :data="batchCommitPageData.records"
-          slot="table" style="width: 100%;height: 800px;" :selectionChange="handleSelectionChange">
+        <parentTable :clickRowToPick="true" ref="table" :data="batchCommitPageData.records" slot="table"
+          style="width: 100%;height: 800px;" :selectionChange="handleSelectionChange">
           <el-table-column align="center" type="selection" claimOrders width="50" border="true">
           </el-table-column>
           <el-table-column label="项目名称" align="center" width="250" v-if="!hiddenLabels.includes('productionName')"
@@ -265,7 +267,8 @@ export default {
         current: 1,
         keyWord: null,
         handlerId: this.$store.getters.userInfo.id,
-        getNodeIsBookbindingStamp: false
+        getNodeIsBookbindingStamp: false,
+        getNodeIsRecheckArchiving: false
       },
       batchCommitPageData: { records: [] }
     }
@@ -345,8 +348,13 @@ export default {
       this.batchCommitListQuery.size = 10
       this.selectBatchCommitPage()
     },
-    openBatchCommitDialog() {
-      this.batchCommitListQuery.getNodeIsBookbindingStamp = true;
+    openBatchCommitDialog(node) {
+      if(node === 'bookbinding_stamp'){
+        this.batchCommitListQuery.getNodeIsBookbindingStamp = true;
+      }
+      if(node === 'recheck_archiving'){
+        this.batchCommitListQuery.getNodeIsRecheckArchiving = true;
+      }
       this.selectBatchCommitPage();
       this.batchCommitDialog = true;
     },