This commit is contained in:
闫晓茹 2023-03-13 17:23:03 +08:00
parent ac459ef65b
commit 6220967c17

View File

@ -275,6 +275,7 @@
<el-form-item label="身份证号" prop="cardNo">
<el-input
maxlength="18"
oninput="value=value.replace(/[^\d]/g,'')"
v-model="form.cardNo"
placeholder="请输入身份证号"
/>
@ -478,13 +479,6 @@
align="center"
>
</el-table-column>
<!-- <el-table-column
property="hospitalIntroduce"
label="医院介绍"
align="center"
:show-overflow-tooltip="true"
>
</el-table-column> -->
<el-table-column
property="phone"
label="联系电话"
@ -501,7 +495,6 @@
@pagination="info"
/>
</el-dialog>
<!-- 选择科室 -->
<el-dialog
title="选择科室"
@ -606,8 +599,6 @@
@pagination="departmentList"
/>
</el-dialog>
</div>
</template>
@ -748,7 +739,7 @@ export default {
pageNum: 1,
pageSize: 10,
hospitalCode: "",
hospitalName: "",
},
departmentqueryParams: {
pageNum: 1,
@ -1002,19 +993,6 @@ export default {
this.innerVisible = false;
this.addresetQuery();
},
// choicenurseItem(e) {
// console.log(e)
// this.nurseitemid = e.id;
// if (this.homenumber) {
// this.queryParams.nurseItemName = e.nurseItemName;
// this.queryParams.nurseItemId = e.id;
// this.form.nurseItemId = e.id;
// } else {
// this.form.nurseItemId = e.id;
// this.form.nurseItemName = e.nurseItemName;
// }
// this.nurseItemshow = false;
// },
//
departmentclick(row) {
console.log(row);
@ -1224,17 +1202,17 @@ export default {
},
/** 新增按钮操作 */
handleAdd() {
// this.form = {
// hospitalPersonCertificateList: [
// {
// certificateSort: "",
// certificateName: "",
// certificateUrl: "",
this.form = {
hospitalPersonCertificateList: [
{
certificateSort: "",
certificateName: "",
certificateUrl: "",
// idd: this.idd,
// },
// ],
// };
idd: this.idd,
},
],
};
this.departmentId="";
this.reset();
this.addopen = true;
@ -1242,6 +1220,7 @@ export default {
},
/** 修改按钮操作 */
handleUpdate(row) {
console.log(row)
this.reset();
const id = row.id || this.ids;
getHospitalPerson(id).then((response) => {
@ -1259,7 +1238,6 @@ export default {
if (this.form.consultingFee) {
this.form.consultingFee = Number(this.form.consultingFee);
}
this.$refs["form"].validate((valid) => {
if (valid) {
if (this.form.id != null) {