Browse Source

随访工单添加手机号查询条件

new-ays
1747191978@qq.com 2 months ago
parent
commit
a8ba34ba96
  1. 16
      acupuncture-前台/src/views/followFile/work.vue
  2. 2
      acupuncture-前台/src/views/medicalFile/index.vue

16
acupuncture-前台/src/views/followFile/work.vue

@ -12,12 +12,20 @@
<el-form-item label="" prop="keywords"> <el-form-item label="" prop="keywords">
<el-input <el-input
style="width: 300px" style="width: 300px"
placeholder="姓名、全拼、简拼、手机号码、证件号码" placeholder="姓名、全拼、简拼、证件号码"
v-model="queryParams.param.keywords" v-model="queryParams.param.keywords"
clearable clearable
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
</el-form-item> </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-form-item label="状态" prop="childStatus">
<el-select <el-select
v-model="queryParams.param.childStatus" v-model="queryParams.param.childStatus"
@ -531,8 +539,9 @@ export default {
}; };
}, },
created() { created() {
let idCard = this.$route.query.idCard; let { name, phone } = this.$route.query;
this.queryParams.param.keywords = idCard || ""; this.queryParams.param.keywords = name;
this.queryParams.param.phone = phone;
this.getList(); this.getList();
this.getFollowupQuery(); this.getFollowupQuery();
}, },
@ -583,6 +592,7 @@ export default {
/** 重置按钮操作 */ /** 重置按钮操作 */
resetQuery() { resetQuery() {
this.queryParams.param.keywords = ""; this.queryParams.param.keywords = "";
this.queryParams.param.phone = "";
this.queryParams.param.childStatus = ""; this.queryParams.param.childStatus = "";
this.handleQuery(); this.handleQuery();
}, },

2
acupuncture-前台/src/views/medicalFile/index.vue

@ -1155,7 +1155,7 @@ export default {
/** 随访记录 */ /** 随访记录 */
handleEecorde(row) { handleEecorde(row) {
this.$router.push({ this.$router.push({
path: `/followWork?idCard=${row.idCard}`, path: `/followWork?name=${row.name}&phone=${row.phone}`,
}); });
}, },
/** 详情按钮操作 */ /** 详情按钮操作 */

Loading…
Cancel
Save