zuozhengqing
2024-04-11 763762fca04a6dcf391f75e9541fe7287f6b0ed1
src/views/employeeSalary/apprenticeshipManage/index.vue
@@ -40,13 +40,13 @@
</template>
<script>
import AddDialog from "@/views/systemSetting/workshopManage/components/addDialog.vue"
import AddDialog from "@/views/employeeSalary/apprenticeshipManage/components/addDialog.vue"
import pageMixin from "@/components/makepager/pager/mixin/pageMixin"
export default {
  name: "apprenticeshipManage",
  props: {},
  components: {AddDialog},
  mixins: [],
  mixins: [pageMixin],
  computed: {},
  data() {
    return {
@@ -67,6 +67,9 @@
          TabsIndex:0,
          workshopId:null,
        }
      },
      getDataParams: {
        keyWord: '',
      },
    }
  },
@@ -112,6 +115,29 @@
      this.editConfig.dialogTitle="新增"
      this.editConfig.visible=true
    },
    // 搜索
    onFilterSearch(searchText) {
      this.getDataParams.keyWord = searchText,
        this.getData()
    },
    // 刷新
    refreshClick() {
      this.getDataParams.keyWord = ""
      this.pagerOptions.currPage = 1
      this.pagerOptions.pageSize = 15
      // this.$refs.searchRef.searchInput = ""
      this.getData()
    },
    // 打印
    printClick() { },
    // 组别
    handleShow() {
    },
    // 表格行点击
    tableRowClick(row) {
      console.log(row, "row")
    },
  }
}
</script>