| | |
| | | type: 'text', |
| | | method: 'handleInspection', |
| | | disabFun: (row, index) => { |
| | | return row.userId == null || row.insState == 3 || row.insState == 5||JSON.parse(localStorage.getItem("user")).name != row.userName |
| | | return row.userId == null || row.insState == 3 || row.insState == 5||(row.userName&&!row.userName.includes(JSON.parse(localStorage.getItem("user")).name)) |
| | | } |
| | | // disabFun: (row, index) => { |
| | | // return row.userId == null || row.insState == 3 || row.insState == 5 |
| | |
| | | type: 'text', |
| | | method: 'handleConnect', |
| | | disabFun: (row, index) => { |
| | | return row.userId == null || row.orderUserId == null || row.insState == 5 || row.insState == 3||JSON.parse(localStorage.getItem("user")).name != row.userName |
| | | return row.userId == null || row.orderUserId == null || row.insState == 5 || row.insState == 3||(row.userName&&!row.userName.includes(JSON.parse(localStorage.getItem("user")).name)) |
| | | } |
| | | }, |
| | | { |
| | |
| | | type: 'text', |
| | | method: 'handleReview', |
| | | disabFun: (row, index) => { |
| | | return row.userId == null || row.insState != 3 ||JSON.parse(localStorage.getItem("user")).name != row.userName |
| | | return row.userId == null || row.insState != 3 ||(row.userName&&!row.userName.includes(JSON.parse(localStorage.getItem("user")).name)) |
| | | } |
| | | }, { |
| | | id: '', |