|
|
|
|
@ -1,95 +1,97 @@
|
|
|
|
|
<template> |
|
|
|
|
<el-form :model="form" label-width="150px" style="margin-top: 20px; margin-right: -50px;;"> |
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<el-form-item label="群众姓名"> |
|
|
|
|
<el-input v-model="form.contactName" placeholder="请输入群众姓名" max-length="200px"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<el-form-item label="群众手机号"> |
|
|
|
|
<el-input v-model="form.contactPhone" placeholder="请输入群众手机号"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<el-form-item label="群众身份证号"> |
|
|
|
|
<el-input v-model="form.contactIdCard" placeholder="请输入群众身份证号"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="3"></el-col> |
|
|
|
|
</el-row> |
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<el-form-item label="案件编号"> |
|
|
|
|
<el-input v-model="form.id" placeholder="请输入案件编号"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="6" :style="{ flex: '1' }"> |
|
|
|
|
<el-form-item label="信件内容"> |
|
|
|
|
<el-input v-model="form.content" type="textarea" placeholder="请输入信件内容" |
|
|
|
|
:autosize="{ minRows: 1, maxRows: 6 }" resize="none" style="width: 100%;"></el-input> |
|
|
|
|
</el-form-item></el-col> |
|
|
|
|
<el-col :span="6" :style="{ flex: '1' }"> |
|
|
|
|
<el-form-item label="评价结果"> |
|
|
|
|
<el-input v-model="form.evaluate" type="textarea" placeholder="请输入评价结果" |
|
|
|
|
:autosize="{ minRows: 1, maxRows: 6 }" resize="none" style="width: 100%;"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
<el-row type="flex"> |
|
|
|
|
<el-col :span="8"> |
|
|
|
|
<el-form-item label="来信时间"> |
|
|
|
|
<el-date-picker v-model="form.date" type="daterange" range-separator="至" start-placeholder="开始日期" |
|
|
|
|
end-placeholder="结束日期" value-format="YYYY-MM-DD"></el-date-picker> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="14"> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="8" :style="{ display: 'inline-flex', alignItems: 'center' }"> |
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="6"></el-col> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<el-button type="primary" @click="search" class="under-btn">搜索</el-button></el-col> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<el-button type="default" @click="reset" class="under-btn">重置</el-button></el-col> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<el-button type="primary" @click="out" class="under-btn">导出信件</el-button></el-col> |
|
|
|
|
</el-row> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
</el-form> |
|
|
|
|
<div style="width: 90vw;margin: 0 auto;"> |
|
|
|
|
<el-form :model="form" label-width="150px" style="margin-top: 20px; margin-right: -50px;;"> |
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<el-form-item label="群众姓名"> |
|
|
|
|
<el-input v-model="form.contactName" placeholder="请输入群众姓名" max-length="200px"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<el-form-item label="群众手机号"> |
|
|
|
|
<el-input v-model="form.contactPhone" placeholder="请输入群众手机号"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<el-form-item label="群众身份证号"> |
|
|
|
|
<el-input v-model="form.contactIdCard" placeholder="请输入群众身份证号"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="3"></el-col> |
|
|
|
|
</el-row> |
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<el-form-item label="案件编号"> |
|
|
|
|
<el-input v-model="form.id" placeholder="请输入案件编号"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="6" :style="{ flex: '1' }"> |
|
|
|
|
<el-form-item label="信件内容"> |
|
|
|
|
<el-input v-model="form.content" type="textarea" placeholder="请输入信件内容" |
|
|
|
|
:autosize="{ minRows: 1, maxRows: 6 }" resize="none" style="width: 100%;"></el-input> |
|
|
|
|
</el-form-item></el-col> |
|
|
|
|
<el-col :span="6" :style="{ flex: '1' }"> |
|
|
|
|
<el-form-item label="评价结果"> |
|
|
|
|
<el-input v-model="form.evaluate" type="textarea" placeholder="请输入评价结果" |
|
|
|
|
:autosize="{ minRows: 1, maxRows: 6 }" resize="none" style="width: 100%;"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
<el-row type="flex"> |
|
|
|
|
<el-col :span="8"> |
|
|
|
|
<el-form-item label="来信时间"> |
|
|
|
|
<el-date-picker v-model="form.date" type="daterange" range-separator="至" start-placeholder="开始日期" |
|
|
|
|
end-placeholder="结束日期" value-format="YYYY-MM-DD"></el-date-picker> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="14"> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="8" :style="{ display: 'inline-flex', alignItems: 'center' }"> |
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="6"></el-col> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<el-button type="primary" @click="search" class="under-btn">搜索</el-button></el-col> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<el-button type="default" @click="reset" class="under-btn">重置</el-button></el-col> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<el-button type="primary" @click="out" class="under-btn">导出信件</el-button></el-col> |
|
|
|
|
</el-row> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
</el-form> |
|
|
|
|
|
|
|
|
|
<div class="table-box" ref="tableBoxHeight"> |
|
|
|
|
<el-table :data="tableData" border :height="tableHeight" table-layout="fixed" |
|
|
|
|
:header-cell-style="{ 'background-color': '#EBEEFC', 'color': '#1D2C86' }"> |
|
|
|
|
<el-table-column fixed="left" prop="id" label="案件编号" width="200px"> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="createTime" label="来信日期" width="120px"> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="contactName" label="联系人姓名" width="100px"> |
|
|
|
|
</el-table-column> |
|
|
|
|
<!-- todo 联系人身份证号码和联系人手机号码的需要脱敏 --> |
|
|
|
|
<el-table-column prop="contactIdCard" label="联系人身份证号码" width="300px"> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="contactPhone" label="联系人手机号码" width="200px"> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="content" label="信件内容" width="400px" :show-overflow-tooltip="true"> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="satisfaction" label="评价结果" width="100px"> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column fixed="right" label="详情" width="100"> |
|
|
|
|
<template v-slot="scope"> |
|
|
|
|
<el-button @click="handleDetail(scope.$index + 1)">详情</el-button> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
</el-table> |
|
|
|
|
<div style="display: flex; justify-content: center;"> |
|
|
|
|
<el-pagination background @size-change="handleSizeChange" @current-change="handlePageChange" |
|
|
|
|
:current-page="pageData.currentPage" :page-sizes="[4, 10, 20, 40, 50]" :page-size="pageData.pageSize" |
|
|
|
|
layout="total,sizes, prev, pager, next, jumper" :total="pageData.totalSize"> |
|
|
|
|
</el-pagination> |
|
|
|
|
<div class="table-box" ref="tableBoxHeight"> |
|
|
|
|
<el-table :data="tableData" border :height="tableHeight" table-layout="fixed" |
|
|
|
|
:header-cell-style="{ 'background-color': '#EBEEFC', 'color': '#1D2C86' }"> |
|
|
|
|
<el-table-column fixed="left" prop="id" label="案件编号" width="200px"> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="createTime" label="来信日期" width="120px"> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="contactName" label="联系人姓名" width="100px"> |
|
|
|
|
</el-table-column> |
|
|
|
|
<!-- todo 联系人身份证号码和联系人手机号码的需要脱敏 --> |
|
|
|
|
<el-table-column prop="contactIdCard" label="联系人身份证号码" width="300px"> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="contactPhone" label="联系人手机号码" width="200px"> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="content" label="信件内容" width="400px" :show-overflow-tooltip="true"> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="satisfaction" label="评价结果" width="100px"> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column fixed="right" label="详情" width="100"> |
|
|
|
|
<template v-slot="scope"> |
|
|
|
|
<el-button @click="handleDetail(scope.$index + 1)">详情</el-button> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
</el-table> |
|
|
|
|
<div style="display: flex; justify-content: center;"> |
|
|
|
|
<el-pagination background @size-change="handleSizeChange" @current-change="handlePageChange" |
|
|
|
|
:current-page="pageData.currentPage" :page-sizes="[4, 10, 20, 40, 50]" :page-size="pageData.pageSize" |
|
|
|
|
layout="total,sizes, prev, pager, next, jumper" :total="pageData.totalSize"> |
|
|
|
|
</el-pagination> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
|