Browse Source

update:批量审批

damon227 1 year ago
parent
commit
653a6fbfa4
1 changed files with 7 additions and 0 deletions
  1. 7 0
      src/views/modules/msg-center/approve.vue

+ 7 - 0
src/views/modules/msg-center/approve.vue

@@ -49,6 +49,7 @@
         style="width: 100%;">
          <el-table-column
           type="selection"
+          :selectable="selected"
           width="55">
         </el-table-column>
         <el-table-column
@@ -345,6 +346,12 @@
       approveChose () {
         this.approveDialogVisible = false
         this.queryData()
+      },
+      selected (row, index) {
+        if (this.isAuth('business:approval:approval') && Number(row.state) !== 3 && Number(row.state) !== 0 && this.checkUser(row)) {
+          return true
+        }
+        return false
       }
     }
   }