| | |
| | | </div> |
| | | </div> |
| | | <div style="display: flex; align-items: center; justify-content: space-between"> |
| | | <el-radio-group :key="'111'" v-model="currentTable" size="small"> |
| | | <el-radio-group :key="'111'" v-model="currentTable" size="small" @change="searchList"> |
| | | <el-radio-button label="ValueTable0"> 辅助工时 </el-radio-button> |
| | | <el-radio-button label="ValueTable1"> 产量工时 </el-radio-button> |
| | | </el-radio-group> |
| | |
| | | this.getCurrentWeekNumber(); |
| | | this.collectWorkingHours(); |
| | | this.selectshiftByUser(); |
| | | this.getList(); |
| | | this.getList0(); |
| | | this.searchList() |
| | | }, |
| | | methods: { |
| | | searchList() { |
| | | if (this.currentTable == 'ValueTable0') { |
| | | this.getList(); |
| | | } else { |
| | | this.getList0(); |
| | | } |
| | | }, |
| | | // 查询辅助工时列表 |
| | | getList(entity) { |
| | | this.tableLoading = true; |
| | | let param = {}; |
| | |
| | | this.tableLoading = false; |
| | | }); |
| | | }, |
| | | // 查询产量工时列表 |
| | | getList0(entity) { |
| | | this.tableLoading = true; |
| | | let param = {}; |