فهرست منبع

fix: del form valid

wangyuan 2 سال پیش
والد
کامیت
0bca5a6ca3
1فایلهای تغییر یافته به همراه1 افزوده شده و 6 حذف شده
  1. 1 6
      ittpc/src/views/modules/staff/query.vue

+ 1 - 6
ittpc/src/views/modules/staff/query.vue

@@ -101,7 +101,7 @@
     </el-dialog>
     <el-dialog title="编辑" :visible.sync="editDialogVisible" width="700px" @closed="handleEditDialogClose">
       <div class="staff-add" v-loading="editLoading" element-loading-text="加载中" element-loading-spinner="el-icon-loading">
-        <el-form label-width="100px" :model="editForm" class="demo-form-inline" size="small" :rules="editFormRules" ref="editForm">
+        <el-form label-width="100px" :model="editForm" class="demo-form-inline" size="small" ref="editForm">
           <el-form-item label="密码" prop="password">
             <el-input maxlength="20" v-model="editForm.password" :disabled="editForm.password == null" show-password placeholder="请输入密码"></el-input>
           </el-form-item>
@@ -159,11 +159,6 @@ export default {
         status: '1',
         headImg: 'https://ittfile.chl6zk.store/img/13/20221014/156cb2aeca7d48b2a86237a2b482e96f.png'
       },
-      editFormRules: {
-        workerId: [
-          { required: true, message: '请输入工作人员ID', trigger: 'change' }
-        ]
-      },
       addFormRules: {
         username: [
           { required: true, message: '请输入登录名', trigger: 'change' }