智慧农业后台管理页面
guoshilong
2022-10-24 ed837240f8d93432f1da05a4332658a90ceb117c
src/views/system/user.vue
@@ -225,7 +225,6 @@
  import {dateNow} from "@/util/date";
  import NProgress from 'nprogress';
  import 'nprogress/nprogress.css';
  export default {
    data() {
      const validatePass = (rule, value, callback) => {
@@ -898,6 +897,10 @@
        });
      },
      update(row){
        this.dialogVisible = true
        this.$nextTick(()=>{
          this.$refs.form.clearValidate()
        })
        this.form = {
          id:row.id,
          account:row.account,
@@ -914,7 +917,6 @@
        var password2Column = this.findObject(this.option.group,"password2")
        passwordColumn.display = false;
        password2Column.display = false;
        this.dialogVisible = true
      },
      submitUpdate(row, done, loading){
        this.form['deptId'] = this.userInfo.dept_id;