gaoluyang
2025-03-13 1e4d700c9d85f2716e866bde7a9ca5f296f944e4
工时管理查询修改
已修改1个文件
14 ■■■■ 文件已修改
src/views/performance/manHour/workTimeManagement.vue 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/performance/manHour/workTimeManagement.vue
@@ -42,7 +42,7 @@
      </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>
@@ -505,10 +505,17 @@
    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 = {};
@@ -531,6 +538,7 @@
          this.tableLoading = false;
        });
    },
    // 查询产量工时列表
    getList0(entity) {
      this.tableLoading = true;
      let param = {};