liuyg
2021-11-22 d9b9cd8ea1791bc6a28b2ae63d7b2ec42599b5ea
src/views/securityUnit/armedEscort.vue
@@ -358,11 +358,14 @@
      );
    },
    rowDel(row) {
      this.$confirm("确定将选择数据删除?", {
        confirmButtonText: "确定",
        cancelButtonText: "取消",
        type: "warning",
      })
      this.$confirm(
        "该操作将会把保安员数据一并删除,不可恢复!确定将选择公司删除?",
        {
          confirmButtonText: "确定",
          cancelButtonText: "取消",
          type: "warning",
        }
      )
        .then(() => {
          console.log(row);
          return remove(row.creditcode, row.departmentid).then((res) => {
@@ -462,7 +465,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({
@@ -477,6 +483,7 @@
            message: "提交失败",
            type: "warning",
          });
          done();
        }
      });
    },