diff --git a/acupuncture-前台/src/views/followFile/work.vue b/acupuncture-前台/src/views/followFile/work.vue index 162fe88e..9183afdd 100644 --- a/acupuncture-前台/src/views/followFile/work.vue +++ b/acupuncture-前台/src/views/followFile/work.vue @@ -12,12 +12,20 @@ <el-form-item label="" prop="keywords"> <el-input style="width: 300px" - placeholder="姓名、全拼、简拼、手机号码、证件号码" + placeholder="姓名、全拼、简拼、证件号码" v-model="queryParams.param.keywords" clearable @keyup.enter.native="handleQuery" /> </el-form-item> + <el-form-item label="手机号码" prop="phone"> + <el-input + v-model="queryParams.param.phone" + placeholder="请输入" + clearable + @keyup.enter.native="handleQuery" + /> + </el-form-item> <el-form-item label="状态" prop="childStatus"> <el-select v-model="queryParams.param.childStatus" @@ -531,8 +539,9 @@ export default { }; }, created() { - let idCard = this.$route.query.idCard; - this.queryParams.param.keywords = idCard || ""; + let { name, phone } = this.$route.query; + this.queryParams.param.keywords = name; + this.queryParams.param.phone = phone; this.getList(); this.getFollowupQuery(); }, @@ -583,6 +592,7 @@ export default { /** 重置按钮操作 */ resetQuery() { this.queryParams.param.keywords = ""; + this.queryParams.param.phone = ""; this.queryParams.param.childStatus = ""; this.handleQuery(); }, diff --git a/acupuncture-前台/src/views/medicalFile/index.vue b/acupuncture-前台/src/views/medicalFile/index.vue index a341b8ec..260b0e56 100644 --- a/acupuncture-前台/src/views/medicalFile/index.vue +++ b/acupuncture-前台/src/views/medicalFile/index.vue @@ -1155,7 +1155,7 @@ export default { /** 随访记录 */ handleEecorde(row) { this.$router.push({ - path: `/followWork?idCard=${row.idCard}`, + path: `/followWork?name=${row.name}&phone=${row.phone}`, }); }, /** 详情按钮操作 */