智慧保安打卡签到系统
liuyg
2021-11-19 37f5ed5990e7d8a43ee98f1a52f38dc874047b3d
+样式
2 files modified
25 ■■■■■ changed files
src/styles/element-ui.scss 9 ●●●● patch | view | raw | blame | history
src/views/home/tables.vue 16 ●●●●● patch | view | raw | blame | history
src/styles/element-ui.scss
@@ -133,8 +133,15 @@
//   align-items: center;
//   justify-content: center;
// }
.formsss {
  height: 100% !important;
}
.formsss .el-card.basic-container__card.is-always-shadow {
  height: 100% !important;
}
.formsss .el-card__body {
  height: 724px !important;
  // height: 724px !important;
  height: 100% !important;
  display: flex;
  align-items: center;
  justify-content: center;
src/views/home/tables.vue
@@ -50,12 +50,13 @@
      query: {},
      data: [],
      form: {},
      search: {},
      option: {
        // card: true,
        // tip: false,
        // searchSize: "mini",
        searchMenuSpan: 6,
        height: 590,
        height: "auto",
        index: true,
        // selectable: (row, index) => {
        //   console.log(row, index);
@@ -98,6 +99,8 @@
            search: true,
            searchSpan: 8,
            searchLabelWidth: 88,
            // searchRange: true,
            // searchValue: this.getuserid(),
            width: 140,
          },
        ],
@@ -134,6 +137,7 @@
          },
          "shibie"
        );
        this.search["cardid"] = this.cardInfor.id;
      }
    },
  },
@@ -150,6 +154,15 @@
    // }
  },
  methods: {
    // getuserid() {
    //   console.log(12345);
    //   console.log(this.haveCardid);
    //   if (this.haveCardid) {
    //     return this.cardInfor.id;
    //   } else {
    //     return;
    //   }
    // },
    rowUps(row, msg) {
      let zhiwenData = this.useZhiWen("outZhiwenData");
      let card = this.cardInfor;
@@ -271,6 +284,7 @@
      // console.log(5454);
      this.query = {};
      this.onLoad(this.page);
      this.search["cardid"] = "";
    },
    rowUpdate(row, index, done, loading) {
      //   update(row).then(