diff --git a/.env.development b/.env.development index 746b2bd..396513a 100644 --- a/.env.development +++ b/.env.development @@ -1,3 +1,3 @@ BASE_URL= "https://vue3.go-admin.dev" -VITE_BASE_URL= "http://dev.hospital.admin.api.igandanyiyuan.com" +VITE_BASE_URL= "https://dev.hospital.admin.api.igandanyiyuan.com" VITE_IMG_URL="https://img.applets.igandanyiyuan.com" \ No newline at end of file diff --git a/.env.test b/.env.test index 746b2bd..396513a 100644 --- a/.env.test +++ b/.env.test @@ -1,3 +1,3 @@ BASE_URL= "https://vue3.go-admin.dev" -VITE_BASE_URL= "http://dev.hospital.admin.api.igandanyiyuan.com" +VITE_BASE_URL= "https://dev.hospital.admin.api.igandanyiyuan.com" VITE_IMG_URL="https://img.applets.igandanyiyuan.com" \ No newline at end of file diff --git a/src/views/doctor/doctor-list/index.vue b/src/views/doctor/doctor-list/index.vue index f728a78..f5682cb 100644 --- a/src/views/doctor/doctor-list/index.vue +++ b/src/views/doctor/doctor-list/index.vue @@ -938,6 +938,9 @@ const showCheckedAll=ref(true); if (qualification_cert_list.value.length == 0) { cb("请上传医师资格证") } + if (qualification_cert_list.value.length < 2) { + cb("医师资格证最少上传两张") + } resolve() }, 1000) }) @@ -1588,7 +1591,9 @@ const showCheckedAll=ref(true); // 重置搜索 const handleResetQuery = () => { proxy.$refs.queryFormRef.resetFields(); - getDoctorInfo(queryForm); + pager.page = 1; + pager.page_size=10; + getDoctorInfo({ ...pager, ...queryForm }); } //获取oss签名 const getOssSign = async (scene, File) => {