Browse Source

随访工单提交随访队列查询条件

newMaster
liuzhipeng 3 months ago
parent
commit
1fb7e98afc
  1. 33
      acupuncture-前台/src/views/followFile/work.vue

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

@ -33,6 +33,21 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item label="随访队列" prop="queueId">
<el-select
v-model="queryParams.param.queueId"
clearable
placeholder="请选择"
>
<el-option
v-for="item in followupList"
:key="item.id"
:label="item.name"
:value="item.id"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item>
<el-button
type="primary"
@ -330,11 +345,13 @@ import {
updStatus,
followPatient,
followStatus,
followupQuery,
} from "@/api/followupFile";
export default {
name: "Notice",
data() {
return {
followupList: [],
options: [
{
label: "患者原因",
@ -517,8 +534,24 @@ export default {
let idCard = this.$route.query.idCard;
this.queryParams.param.keywords = idCard || "";
this.getList();
this.getFollowupQuery();
},
methods: {
// 访
getFollowupQuery() {
followupQuery({
pageNum: -1,
param: {
status: 1,
},
}).then((res) => {
this.followupList = res.data.list;
let commonQueue = JSON.parse(localStorage.getItem("commonQueue"));
commonQueue?.forEach((i) => {
this.followupList.unshift(i);
});
});
},
handleClick(tab, event) {
this.queryParams.param.childStatus = "";
this.getList();

Loading…
Cancel
Save