linwenxin hace 6 meses
padre
commit
f8bd361f3a
Se han modificado 1 ficheros con 4 adiciones y 2 borrados
  1. 4 2
      src/views/userManagement/masterManagement/index.vue

+ 4 - 2
src/views/userManagement/masterManagement/index.vue

@@ -995,8 +995,10 @@ export default {
         edit: {
           btnType: 'text',
           conditions: ({ row, index, column }) => {
-            return ['OK', 'FAIL', 'STOP', 'QUIT'].includes(row.examineStatus)
-            // WAIT_WORKER
+            return (
+              ['OK', 'FAIL', 'STOP', 'QUIT'].includes(row.examineStatus) ||
+              (['MAJOR', 'MERCHANT'].includes(row.attr) && ['WAIT_WORKER'].includes(row.examineStatus))
+            )
           },
           click: ({ row, index, column }) => {
             this.$refs.tabPage.addTab({