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