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