Browse Source

no message

linwenxin 3 tháng trước cách đây
mục cha
commit
5dea261851
1 tập tin đã thay đổi với 1 bổ sung7 xóa
  1. 1 7
      src/views/userManagement/masterManagement/index.vue

+ 1 - 7
src/views/userManagement/masterManagement/index.vue

@@ -1009,10 +1009,7 @@ export default {
         edit: {
           btnType: 'text',
           conditions: ({ row, index, column }) => {
-            return (
-              ['OK', 'FAIL', 'STOP', 'QUIT', 'OVERDUE'].includes(row.examineStatus) ||
-              (['MAJOR', 'MERCHANT'].includes(row.attr) && ['WAIT_WORKER'].includes(row.examineStatus))
-            )
+            return ['OK', 'FAIL', 'STOP', 'QUIT', 'OVERDUE'].includes(row.examineStatus)
           },
           click: ({ row, index, column }) => {
             this.$refs.tabPage.addTab({
@@ -1129,9 +1126,6 @@ export default {
         // 师傅组别
         masterGroup: {
           btnType: 'text',
-          conditions: ({ row, index, column }) => {
-            return true
-          },
           click: ({ row, index, column }) => {
             this.evaluationData = []
             this.$refs.tabPage.addTab({