| | |
| | | </el-table-column> |
| | | <el-table-column label="操作" width="150"> |
| | | <template slot-scope="scope"> |
| | | <el-button size="mini" type="primary" v-if="isIfReport(scope.row)" |
| | | <el-button size="mini" :disabled="!isIfReport(scope.row)" type="primary" v-if="scope.row.orderNum == '01'" |
| | | @click="addReported(scope.row.id)">上报</el-button> |
| | | <el-button size="mini" type="text" @click="openUpDia(scope.row)" |
| | | v-if="scope.row.orderNum=='02'">分配</el-button> |
| | |
| | | </el-input> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="操作" width="60"> |
| | | <el-table-column label="操作" width="80"> |
| | | <template slot-scope="scope"> |
| | | <el-button size="mini" type="text" |
| | | @click.native.prevent="deleteRow(scope.$index, upData.testValue)">删除</el-button> |
| | |
| | | row.children.forEach(a => { |
| | | if (a.testState != null && a.testState != undefined) count++ |
| | | }) |
| | | return row.testState == undefined && row.orderNum == '01' && count == row |
| | | return row.testState == undefined && count == row |
| | | .children.length |
| | | }, |
| | | openUpDia(row) { |