|
|
@ -1,6 +1,19 @@ |
|
|
|
<template> |
|
|
|
<div class="app-container"> |
|
|
|
<el-row :gutter="10" class="mb8"> |
|
|
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" |
|
|
|
label-width="68px"> |
|
|
|
<el-form-item label="" prop="keywords"> |
|
|
|
<el-input v-model="queryParams.param.keywords" placeholder="支持姓名、全拼、简拼、手机号吗、证件号码" clearable |
|
|
|
@keyup.enter.native="handleQuery" clearable/> |
|
|
|
</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"> |
|
|
|
重置 |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> |
|
|
|
</el-row> |
|
|
|
<el-tabs v-model="queryParams.param.status" @tab-click="handleClick"> |
|
|
@ -54,15 +67,13 @@ |
|
|
|
width="150" |
|
|
|
/> --> |
|
|
|
<el-table-column label="失访原因" align="center" prop="reason" show-overflow-tooltip width="150" /> |
|
|
|
|
|
|
|
<el-table-column fixed="right" label="操作" align="center" width="150"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<!-- :disabled="scope.row.status !== '0'" --> |
|
|
|
<el-button :disabled="scope.row.status !== '0'" size="mini" type="text" icon="el-icon-s-check" |
|
|
|
<el-button :disabled="scope.row.status != 0" size="mini" type="text" icon="el-icon-s-check" |
|
|
|
@click="handleFollow(scope.row)"> |
|
|
|
随访 |
|
|
|
</el-button> |
|
|
|
<el-button :disabled="scope.row.status !== '0'" size="mini" type="text" icon="el-icon-s-release" |
|
|
|
<el-button :disabled="scope.row.status != 0" size="mini" type="text" icon="el-icon-s-release" |
|
|
|
@click="handleLossFollow(scope.row)"> |
|
|
|
失访 |
|
|
|
</el-button> |
|
|
@ -230,6 +241,7 @@ |
|
|
|
pageSize: 10, |
|
|
|
param: { |
|
|
|
status: "0", |
|
|
|
keywords:'', |
|
|
|
}, |
|
|
|
}, |
|
|
|
formDisabled: false, |
|
|
@ -268,6 +280,8 @@ |
|
|
|
}; |
|
|
|
}, |
|
|
|
created() { |
|
|
|
let idCard = this.$route.query.idCard |
|
|
|
this.queryParams.param.keywords = idCard || '' |
|
|
|
this.getList(); |
|
|
|
}, |
|
|
|
methods: { |
|
|
@ -300,7 +314,7 @@ |
|
|
|
}, |
|
|
|
/** 重置按钮操作 */ |
|
|
|
resetQuery() { |
|
|
|
this.resetForm("queryForm"); |
|
|
|
this.queryParams.param.keywords = '' |
|
|
|
this.handleQuery(); |
|
|
|
}, |
|
|
|
// 多选框选中数据 |
|
|
|