|
@@ -3,6 +3,25 @@
|
|
<el-form-item label="用户编号:">
|
|
<el-form-item label="用户编号:">
|
|
<el-input v-model.trim="ruleForm.id" disabled class="selWidth"></el-input>
|
|
<el-input v-model.trim="ruleForm.id" disabled class="selWidth"></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
+ <el-form-item label="真实姓名:">
|
|
|
|
+ <el-input v-model.trim="ruleForm.realName" class="selWidth"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item label="性别:">
|
|
|
|
+ <el-radio-group v-model="ruleForm.sex" type="button" class="selWidth">
|
|
|
|
+ <el-radio-button label="0">
|
|
|
|
+ <span>未知</span>
|
|
|
|
+ </el-radio-button>
|
|
|
|
+ <el-radio-button label="1">
|
|
|
|
+ <span>男</span>
|
|
|
|
+ </el-radio-button>
|
|
|
|
+ <el-radio-button label="2">
|
|
|
|
+ <span>女</span>
|
|
|
|
+ </el-radio-button>
|
|
|
|
+ <el-radio-button label="3">
|
|
|
|
+ <span>保密</span>
|
|
|
|
+ </el-radio-button>
|
|
|
|
+ </el-radio-group>
|
|
|
|
+ </el-form-item>
|
|
<el-form-item label="用户地址:">
|
|
<el-form-item label="用户地址:">
|
|
<el-input v-model.trim="ruleForm.province + ruleForm.city" disabled class="selWidth"></el-input>
|
|
<el-input v-model.trim="ruleForm.province + ruleForm.city" disabled class="selWidth"></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -44,7 +63,7 @@
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
-
|
|
|
|
|
|
+
|
|
import { groupListApi, levelListApi, tagListApi, userInfoApi, userUpdateApi } from '@/api/user';
|
|
import { groupListApi, levelListApi, tagListApi, userInfoApi, userUpdateApi } from '@/api/user';
|
|
import { Debounce } from '@/utils/validate';
|
|
import { Debounce } from '@/utils/validate';
|
|
const defaultObj = {
|
|
const defaultObj = {
|
|
@@ -53,7 +72,8 @@ const defaultObj = {
|
|
id: null,
|
|
id: null,
|
|
mark: '',
|
|
mark: '',
|
|
// phone: '',
|
|
// phone: '',
|
|
- // realName: '',
|
|
|
|
|
|
+ realName: '',
|
|
|
|
+ sex: 0,
|
|
addres: '',
|
|
addres: '',
|
|
groupId: '',
|
|
groupId: '',
|
|
level: '',
|
|
level: '',
|