修改
This commit is contained in:
parent
1795c9102c
commit
7e91eac02d
@ -231,7 +231,7 @@
|
||||
label-width="110px"
|
||||
:inline="true"
|
||||
>
|
||||
<el-form-item label="客户姓名" prop="patientName">
|
||||
<el-form-item label="客户姓名" prop="patientName">
|
||||
<el-input
|
||||
v-model="form.patientName"
|
||||
placeholder="请输入客户姓名"
|
||||
@ -323,6 +323,22 @@
|
||||
:disabled="true"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="出生日期" prop="birthDate">
|
||||
<el-input
|
||||
v-model="form.birthDate"
|
||||
placeholder="请输入出生日期"
|
||||
maxlength="11"
|
||||
:disabled="true"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="会员积分" prop="integral">
|
||||
<el-input
|
||||
v-model="form.integral"
|
||||
placeholder="请输入出生日期"
|
||||
maxlength="11"
|
||||
:disabled="true"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="身份证号" prop="cardNo">
|
||||
<el-input
|
||||
v-model="form.cardNo"
|
||||
@ -330,6 +346,23 @@
|
||||
maxlength="18"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="性别" prop="cardNo">
|
||||
<el-select
|
||||
v-model="form.sex"
|
||||
clearable
|
||||
placeholder="请选择性别"
|
||||
:disabled="true"
|
||||
style="width: 100px"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in options"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
:value="item.value"
|
||||
>
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="居住地址" prop="address">
|
||||
<el-input
|
||||
@ -470,6 +503,16 @@ export default {
|
||||
loading: true,
|
||||
// 选中数组
|
||||
ids: [],
|
||||
options: [
|
||||
{
|
||||
value: "MALE",
|
||||
label: "男",
|
||||
},
|
||||
{
|
||||
value: "FEMALE",
|
||||
label: "女",
|
||||
},
|
||||
],
|
||||
// 非单个禁用
|
||||
single: true,
|
||||
// 非多个禁用
|
||||
@ -602,11 +645,11 @@ export default {
|
||||
methods: {
|
||||
// 重置密码
|
||||
handleResetPwd(row) {
|
||||
console.log(row)
|
||||
const id= row.id
|
||||
console.log(id)
|
||||
console.log(row);
|
||||
const id = row.id;
|
||||
console.log(id);
|
||||
// const id=row.userId
|
||||
this.$prompt('请输入新的密码', "提示", {
|
||||
this.$prompt("请输入新的密码", "提示", {
|
||||
confirmButtonText: "确定",
|
||||
cancelButtonText: "取消",
|
||||
closeOnClickModal: false,
|
||||
@ -614,16 +657,16 @@ export default {
|
||||
inputErrorMessage: "用户密码长度必须介于 5 和 20 之间",
|
||||
})
|
||||
.then((res) => {
|
||||
console.log(res)
|
||||
console.log(res);
|
||||
const params = {
|
||||
id,
|
||||
password: res.value
|
||||
}
|
||||
password: res.value,
|
||||
};
|
||||
updatePassword(params).then((response) => {
|
||||
this.$modal.msgSuccess("修改成功,新密码是:" + res.value);
|
||||
});
|
||||
})
|
||||
.catch(() => { });
|
||||
.catch(() => {});
|
||||
},
|
||||
// 查询省事件
|
||||
province(item) {
|
||||
@ -858,7 +901,7 @@ export default {
|
||||
this.getList();
|
||||
this.$modal.msgSuccess("删除成功");
|
||||
})
|
||||
.catch(() => { });
|
||||
.catch(() => {});
|
||||
},
|
||||
/** 导出按钮操作 */
|
||||
handleExport() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user