Administrator
2021-12-09 d1b058faa19088838b668d6c03dd71c2bcc7d5d3
src/views/securityUnit/selfRecruitedSecurityGuard.vue
@@ -1,6 +1,11 @@
<template>
  <basic-container>
    <div class="securityUnit">
    <div
      :class="[
        'securityUnit',
        $store.state.control.windowWidth >= 1024 ? 'oneRowSearch' : '',
      ]"
    >
      <avue-crud
        :option="option"
        :data="data"
@@ -158,6 +163,7 @@
        pageSize: 10,
        currentPage: 1,
        total: 0,
        ...this.$store.state.control.changePageSize,
      },
      treeData: [],
@@ -268,6 +274,7 @@
        border: true,
        selection: true,
        ...this.$store.state.control.clearOtherBut,
        column: [
          ...column,
          {
@@ -513,7 +520,10 @@
    //   this.nobumen = 1;
    // },
    handleSubmit(form, done) {
      console.log(form);
      form["createUserId"] = this.userInfo.Id;
      // console.log(form);
      // done();
      // return;
      adddata(form).then((res) => {
        if (res.data.success) {
          this.$message({
@@ -528,6 +538,7 @@
            message: "提交失败",
            type: "warning",
          });
          done();
        }
      });
    },