src/views/qualificationExamination/registrationTrainingQuery.vue
@@ -1,13 +1,14 @@
/*
 * @Author: Morpheus
 * @Date: 2021-07-07 17:30:05
 * @Last Modified by: Morpheus
 * @Last Modified time: 2021-07-10 16:06:14
 * menu-name 报名培训查询
 */
/* * @Author: Morpheus * @Date: 2021-07-07 17:30:05 * @Last Modified by:
Morpheus * @Last Modified time: 2021-07-10 16:06:14 * menu-name 报名培训查询 */
<template>
  <basic-container>
  <basic-container
    :class="[
      $store.state.control.screenSize == 1366 ? 'smallSize' : 'normalSize',
      $store.state.control.windowWidth >= 1024 ? 'tooRowSearch1' : '',
    ]"
  >
    <avue-crud
      class="tablesss"
      :option="option"
      :table-loading="loading"
      :data="data"
@@ -73,6 +74,7 @@
        pageSize: 10,
        currentPage: 1,
        total: 0,
        ...this.$store.state.control.changePageSize,
      },
      selectionList: [],
      option: {
@@ -94,6 +96,7 @@
        index: true,
        viewBtn: true,
        dialogClickModal: false,
        ...this.$store.state.control.clearOtherBut,
        column: [
          // {
@@ -121,7 +124,7 @@
          {
            label: "姓名",
            prop: "realName",
            width: 100,
            width: 78,
            searchLabelWidth: 50,
            rules: [
              {
@@ -259,7 +262,7 @@
                trigger: "blur",
              },
            ],
            width: 160,
            width: 175,
            // search: true,
            // searchSpan: 4,
            // overHidden: true
@@ -445,6 +448,9 @@
      return ids.join(",");
    },
  },
  mounted() {
    this.$store.commit("setWindowSizeHeightAdd");
  },
  methods: {
    rowSave(row, done, loading) {
      adddata(row).then(
@@ -550,9 +556,13 @@
          var sfz = d[k].idCardNo.substring(6, 10);
          d[k]["age"] = this.getyears() - sfz;
          // console.log(this.getyears());
          if (d[k]["sex"] == -1) {
            d[k]["sex"] = "";
          }
        }
        this.data = d;
        console.log(this.data, "getLispereregistrationTrainingQuery");
        // console.log(this.data, "getLispereregistrationTrainingQuery");
        this.$store.commit("setWindowSizeHeightAdd");
        this.loading = false;
        // this.selectionClear();
      });
@@ -605,5 +615,4 @@
};
</script>
<style>
</style>
<style></style>