|
@@ -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({
|