heimawl
2023-06-20 55b71c3e08d6cac94d7b4c459450700bd86cb648
src/views/system/label/index.vue
@@ -325,7 +325,6 @@
</template>
<script>
import { addUser, updateUser } from "@/api/system/user";
import {
  toamendtag,
  addapitag,
@@ -671,26 +670,6 @@
      this.multiple = !selection.length;
    },
    /** 更新/修改提交按钮 */
    submitForm: function () {
      this.$refs["form"].validate((valid) => {
        if (valid) {
          if (this.form.userId != undefined) {
            updateUser(this.form).then((response) => {
              this.$modal.msgSuccess("修改成功");
              this.open = false;
              this.getList();
            });
          } else {
            addUser(this.form).then((response) => {
              this.$modal.msgSuccess("新增成功");
              this.open = false;
              this.getList();
            });
          }
        }
      });
    },
    /** 删除按钮操作 */
    handleDelete(row) {
      console.log(row, "删除弹窗");