|
@@ -101,7 +101,7 @@
|
|
</el-dialog>
|
|
</el-dialog>
|
|
<el-dialog title="编辑" :visible.sync="editDialogVisible" width="700px" @closed="handleEditDialogClose">
|
|
<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">
|
|
<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-form-item label="密码" prop="password">
|
|
<el-input maxlength="20" v-model="editForm.password" :disabled="editForm.password == null" show-password placeholder="请输入密码"></el-input>
|
|
<el-input maxlength="20" v-model="editForm.password" :disabled="editForm.password == null" show-password placeholder="请输入密码"></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -159,11 +159,6 @@ export default {
|
|
status: '1',
|
|
status: '1',
|
|
headImg: 'https://ittfile.chl6zk.store/img/13/20221014/156cb2aeca7d48b2a86237a2b482e96f.png'
|
|
headImg: 'https://ittfile.chl6zk.store/img/13/20221014/156cb2aeca7d48b2a86237a2b482e96f.png'
|
|
},
|
|
},
|
|
- editFormRules: {
|
|
|
|
- workerId: [
|
|
|
|
- { required: true, message: '请输入工作人员ID', trigger: 'change' }
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
addFormRules: {
|
|
addFormRules: {
|
|
username: [
|
|
username: [
|
|
{ required: true, message: '请输入登录名', trigger: 'change' }
|
|
{ required: true, message: '请输入登录名', trigger: 'change' }
|