|
|
@ -1,98 +1,55 @@ |
|
|
|
<template> |
|
|
|
<el-card shadow="never" class="aui-card--fill"> |
|
|
|
<div class="mod-axis__caRotators}"> |
|
|
|
<el-form :inline="true" :model="dataForm" @keyup.enter.native="getDataList()"> |
|
|
|
<!-- <el-form-item> |
|
|
|
<el-input v-model="dataForm.rotatorsId" placeholder="rotatorsId" clearable></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-button @click="getDataList()">{{ $t('query') }}</el-button> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-button v-if="$hasPermission('axis:caRotators:save')" type="primary" @click="addOrUpdateHandle()">{{ $t('add') }}</el-button> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-button v-if="$hasPermission('axis:caRotators:delete')" type="danger" @click="deleteHandle()">{{ $t('deleteBatch') }}</el-button> |
|
|
|
</el-form-item> --> |
|
|
|
</el-form> |
|
|
|
<el-table v-loading="dataListLoading" :data="dataList" border @selection-change="dataListSelectionChangeHandle" style="width: 100%"> |
|
|
|
<el-table-column type="selection" header-align="center" align="center" width="50"></el-table-column> |
|
|
|
<el-table-column prop="rotatorsId" label="主键id" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="idCard" label="公民身份证号" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="idType" label="证件类型" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="rotatorsName" label="姓名" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="formerName" label="曾用名" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="sex" label="性别" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="birthday" label="出生日期" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="nation" label="民族" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="nativeAddressProv" label="籍贯省" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="nativeAddressCity" label="籍贯市" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="nativeAddressCountry" label="籍贯县(区)" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="marriageStatus" label="婚姻状况" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="party" label="政治面貌" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="education" label="学历" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="religious" label="宗教信仰" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="occupationType" label="职业类别" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="occupation" label="职业" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="serviceAddress" label="服务处所" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="telephone" label="联系方式" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="householdAddressProv" label="户籍地省" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="householdAddressCity" label="户籍地市" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="householdAddressCountry" label="户籍地县(区)" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="householdAddressTown" label="户籍地镇街" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="householdAddressVillage" label="户籍地社区/村" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="householdAddressDetail" label="户籍门(楼)详址" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="curliveAddressProv" label="现住地省" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="curliveAddressCity" label="现住地市" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="curliveAddressCountry" label="现住地县(区)" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="curliveAddressTown" label="现住地镇街" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="curliveAddressVillage" label="现住地社区/村" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="curliveAddressDetail" label="现住门(楼)详址" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="inflowReason" label="流入原因" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="certificateType" label="办证类型" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="certificateNumber" label="证件号码" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="signDate" label="登记日期" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="endDate" label="证件到期日期" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="residenceType" label="住所类型" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="isFocusPerson" label="是否重点关注人员" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="createBy" label="创建人" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="createDate" label="创建时间" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="updateBy" label="最后修改人" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="updateDate" label="最后修改时间" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="deleteFlag" label="删除标识(正常的数据存:normal,逻辑删除的标识为:delete)" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="platcode" label="数据来源编码" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="gridId" label="网格id" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="versions" label="乐观锁" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="attribute1" label="是否注销" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="attribute2" label="注销原因" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="attribute3" label="" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="attribute4" label="" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="attribute5" label="" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="attribute6" label="" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="attribute7" label="" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="attribute8" label="" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="attribute9" label="" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="attribute10" label="" header-align="center" align="center"></el-table-column> |
|
|
|
<!-- <el-table-column :label="$t('handle')" fixed="right" header-align="center" align="center" width="150"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-button v-if="$hasPermission('axis:caRotators:update')" type="text" size="small" @click="addOrUpdateHandle(scope.row.id)">{{ $t('update') }}</el-button> |
|
|
|
<el-button v-if="$hasPermission('axis:caRotators:delete')" type="text" size="small" @click="deleteHandle(scope.row.id)">{{ $t('delete') }}</el-button> |
|
|
|
</template> |
|
|
|
</el-table-column> --> |
|
|
|
</el-table> |
|
|
|
<el-pagination |
|
|
|
:current-page="page" |
|
|
|
:page-sizes="[10, 20, 50, 100]" |
|
|
|
:page-size="limit" |
|
|
|
:total="total" |
|
|
|
layout="total, sizes, prev, pager, next, jumper" |
|
|
|
@size-change="pageSizeChangeHandle" |
|
|
|
@current-change="pageCurrentChangeHandle"> |
|
|
|
</el-pagination> |
|
|
|
<!-- 弹窗, 新增 / 修改 --> |
|
|
|
<add-or-update v-if="addOrUpdateVisible" ref="addOrUpdate" @refreshDataList="getDataList"></add-or-update> |
|
|
|
<el-card> |
|
|
|
<el-form :inline="true" :model="dataForm" @keyup.enter.native="getDataList()"> |
|
|
|
<el-form-item label="身份证号" prop="idCard" > |
|
|
|
<el-input v-model="dataForm.idCard" placeholder="身份证号" clearable></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="姓名" prop="residentName" > |
|
|
|
<el-input v-model="dataForm.residentName" placeholder="姓名" clearable></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="联系方式" prop="telephone" > |
|
|
|
<el-input v-model="dataForm.telephone" placeholder="联系方式" clearable></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-button type="primary" @click="getDataList()">{{ $t('query') }}</el-button> |
|
|
|
</el-form-item> |
|
|
|
<!-- <el-form-item> |
|
|
|
<el-button v-if="$hasPermission('axis:caResident:save')" type="primary" @click="addOrUpdateHandle()">{{ $t('add') }}</el-button> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-button v-if="$hasPermission('axis:caResident:delete')" type="danger" @click="deleteHandle()">{{ $t('deleteBatch') }}</el-button> |
|
|
|
</el-form-item> --> |
|
|
|
</el-form> |
|
|
|
</el-card> |
|
|
|
<el-card shadow="never" class="aui-card--fill"> |
|
|
|
<el-table v-loading="dataListLoading" :data="dataList" border @selection-change="dataListSelectionChangeHandle" style="width: 100%"> |
|
|
|
<el-table-column type="selection" header-align="center" align="center" width="50"></el-table-column> |
|
|
|
<el-table-column prop="idCard" label="公民身份证号" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="rotatorsName" label="姓名" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="sex" label="性别" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="birthday" label="出生日期" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="householdAddressDetail" label="户籍门(楼)详址" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column prop="curliveAddressDetail" label="现住门(楼)详址" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column :label="$t('handle')" fixed="right" align="center" width="100"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-button type="text" class="div-table-button--detail" size="small" @click="addOrUpdateHandle(scope.row.id)">查看</el-button> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
<el-pagination |
|
|
|
:current-page="page" |
|
|
|
:page-sizes="[10, 20, 50, 100]" |
|
|
|
:page-size="limit" |
|
|
|
:total="total" |
|
|
|
layout="total, sizes, prev, pager, next, jumper" |
|
|
|
@size-change="pageSizeChangeHandle" |
|
|
|
@current-change="pageCurrentChangeHandle"> |
|
|
|
</el-pagination> |
|
|
|
<!-- 弹窗, 新增 / 修改 --> |
|
|
|
<add-or-update v-if="addOrUpdateVisible" ref="addOrUpdate" @refreshDataList="getDataList"></add-or-update> |
|
|
|
</el-card> |
|
|
|
</div> |
|
|
|
</el-card> |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
@ -109,7 +66,9 @@ export default { |
|
|
|
deleteIsBatch: true |
|
|
|
}, |
|
|
|
dataForm: { |
|
|
|
rotatorsId: '' |
|
|
|
idCard: '', |
|
|
|
residentName: '', |
|
|
|
telephone: '' |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|