Browse Source

前台随访工单添加二级类型查询条件

newMaster
1747191978@qq.com 4 months ago
parent
commit
bb15f732c5
  1. 31
      acupuncture-前台/src/views/followFile/work.vue
  2. 2
      acupuncture-后台/src/views/followFile/work.vue

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

@ -7,6 +7,16 @@
<el-input v-model="queryParams.param.keywords" placeholder="支持姓名、全拼、简拼、手机号吗、证件号码" clearable
@keyup.enter.native="handleQuery" />
</el-form-item>
<el-form-item label="状态" prop="childStatus">
<el-select v-model="queryParams.param.childStatus" clearable placeholder="请选择">
<el-option
v-for="item in childStatusList[queryParams.param.status]"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
<el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">
@ -208,6 +218,24 @@
4: "status4",
5: "status4",
},
childStatusList:{
0:[
{
label: "即将超期",
value: 1,
},
{
label: "超期未随访",
value: 2,
}
],
1:[
{
label: "超期已随访",
value: 2,
}
]
},
idCardType: [{
label: "身份证",
value: 0,
@ -254,6 +282,7 @@
pageSize: 10,
param: {
status: "0",
childStatus:'',
keywords: '',
},
},
@ -299,6 +328,7 @@
},
methods: {
handleClick(tab, event) {
this.queryParams.param.childStatus = ''
this.getList();
},
/** 查询公告列表 */
@ -328,6 +358,7 @@
/** 重置按钮操作 */
resetQuery() {
this.queryParams.param.keywords = ''
this.queryParams.param.childStatus = ''
this.handleQuery();
},
//

2
acupuncture-后台/src/views/followFile/work.vue

@ -276,6 +276,7 @@
pageSize: 10,
param: {
status: "0",
childStatus:'',
keywords: '',
},
},
@ -351,6 +352,7 @@
/** 重置按钮操作 */
resetQuery() {
this.queryParams.param.keywords = ''
this.queryParams.param.childStatus = ''
this.handleQuery();
},
//

Loading…
Cancel
Save