|
|
|
@ -33,14 +33,6 @@
|
|
|
|
placeholder="请选择出生日期">
|
|
|
|
placeholder="请选择出生日期">
|
|
|
|
</el-date-picker>
|
|
|
|
</el-date-picker>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="地址" prop="address">
|
|
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
|
|
v-model="queryParams.address"
|
|
|
|
|
|
|
|
placeholder="请输入地址"
|
|
|
|
|
|
|
|
clearable
|
|
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="籍贯" prop="jiguan">
|
|
|
|
<el-form-item label="籍贯" prop="jiguan">
|
|
|
|
<el-input
|
|
|
|
<el-input
|
|
|
|
v-model="queryParams.jiguan"
|
|
|
|
v-model="queryParams.jiguan"
|
|
|
|
@ -87,7 +79,6 @@
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
|
|
|
|
<el-form-item>
|
|
|
|
<el-form-item>
|
|
|
|
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
|
|
|
<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-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
|
|
|
@ -95,6 +86,16 @@
|
|
|
|
</el-form>
|
|
|
|
</el-form>
|
|
|
|
|
|
|
|
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
|
|
|
|
|
<el-col :span="1.5">
|
|
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
|
|
type="primary"
|
|
|
|
|
|
|
|
plain
|
|
|
|
|
|
|
|
icon="el-icon-plus"
|
|
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
|
|
@click="handleAdd"
|
|
|
|
|
|
|
|
v-hasPermi="['dangan:czrkdj:add']"
|
|
|
|
|
|
|
|
>新增手动识别</el-button>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="1.5">
|
|
|
|
<el-col :span="1.5">
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
|
type="warning"
|
|
|
|
type="warning"
|
|
|
|
@ -109,18 +110,18 @@
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
|
|
<el-table v-loading="loading" :data="czrkdjList">
|
|
|
|
<el-table v-loading="loading" :data="czrkdjList">
|
|
|
|
<!-- <el-table-column label="目录ID" align="center" prop="muId" />-->
|
|
|
|
<el-table-column label="档案目录ID" align="center" prop="muId" min-width="80" fixed/>
|
|
|
|
<el-table-column label="姓名" align="center" prop="name" />
|
|
|
|
<el-table-column label="姓名" align="center" prop="name" fixed min-width="100" show-overflow-tooltip/>
|
|
|
|
<el-table-column label="户主姓名" align="center" prop="hzName" />
|
|
|
|
<el-table-column label="户主姓名" align="center" prop="hzName" min-width="100" show-overflow-tooltip/>
|
|
|
|
<el-table-column label="与户主关系" align="center" prop="relation" />
|
|
|
|
<el-table-column label="与户主关系" align="center" prop="relation" min-width="100" show-overflow-tooltip/>
|
|
|
|
<el-table-column label="出生日期" align="center" prop="birthday" width="180">
|
|
|
|
<el-table-column label="出生日期" align="center" prop="birthday" min-width="100" show-overflow-tooltip>
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<span>{{ parseTime(scope.row.birthday, '{y}-{m}-{d}') }}</span>
|
|
|
|
<span>{{ parseTime(scope.row.birthday, '{y}-{m}-{d}') }}</span>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="地址" align="center" prop="address" />
|
|
|
|
<el-table-column label="地址" align="center" prop="address" min-width="140" show-overflow-tooltip/>
|
|
|
|
<el-table-column label="籍贯" align="center" prop="jiguan" />
|
|
|
|
<el-table-column label="籍贯" align="center" prop="jiguan" min-width="140" show-overflow-tooltip/>
|
|
|
|
<el-table-column label="身份证号" align="center" prop="cardId" />
|
|
|
|
<el-table-column label="身份证号" align="center" prop="cardId" min-width="100" show-overflow-tooltip/>
|
|
|
|
<el-table-column label="是否纠错" align="center" prop="errorCorrect" >
|
|
|
|
<el-table-column label="是否纠错" align="center" prop="errorCorrect" >
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<dict-tag :options="dict.type.error_correct" :value="scope.row.errorCorrect"/>
|
|
|
|
<dict-tag :options="dict.type.error_correct" :value="scope.row.errorCorrect"/>
|
|
|
|
@ -142,8 +143,8 @@
|
|
|
|
<image-preview :src="scope.row.pictures" :width="50" :height="50"/>
|
|
|
|
<image-preview :src="scope.row.pictures" :width="50" :height="50"/>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="备注" align="center" prop="remark" />
|
|
|
|
<el-table-column label="备注" align="center" prop="remark" min-width="160" show-overflow-tooltip/>
|
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" min-width="160">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
|
size="mini"
|
|
|
|
size="mini"
|
|
|
|
@ -178,8 +179,19 @@
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 添加或修改常住人口登记对话框 -->
|
|
|
|
<!-- 添加或修改常住人口登记对话框 -->
|
|
|
|
<el-dialog :title="title" :visible.sync="open" width="600px" append-to-body>
|
|
|
|
<el-dialog title="纠错" :visible.sync="open_jc" width="1200px" append-to-body>
|
|
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="100px">
|
|
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="100px">
|
|
|
|
|
|
|
|
<el-row :gutter="10">
|
|
|
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
|
|
|
<el-carousel height="600px" v-if="form.pictures" :autoplay="false">
|
|
|
|
|
|
|
|
<el-carousel-item v-for="item in form.pictures.split(',')" :key="item">
|
|
|
|
|
|
|
|
<div style="height: 600px; overflow: auto">
|
|
|
|
|
|
|
|
<el-image style="height:850px; width: 100%" :src="item" fit="contain" :preview-src-list="[item]"></el-image>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</el-carousel-item>
|
|
|
|
|
|
|
|
</el-carousel>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="12">
|
|
|
|
<el-form-item label="姓名" prop="name">
|
|
|
|
<el-form-item label="姓名" prop="name">
|
|
|
|
<el-input v-model="form.name" placeholder="请输入姓名" />
|
|
|
|
<el-input v-model="form.name" placeholder="请输入姓名" />
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
@ -206,12 +218,12 @@
|
|
|
|
<el-form-item label="身份证号" prop="cardId">
|
|
|
|
<el-form-item label="身份证号" prop="cardId">
|
|
|
|
<el-input v-model="form.cardId" placeholder="请输入身份证号" />
|
|
|
|
<el-input v-model="form.cardId" placeholder="请输入身份证号" />
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="档案图片" prop="pictures">
|
|
|
|
|
|
|
|
<image-upload v-model="form.pictures"/>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="备注" prop="remark">
|
|
|
|
<el-form-item label="备注" prop="remark">
|
|
|
|
<el-input v-model="form.remark" type="textarea" placeholder="请输入内容" />
|
|
|
|
<el-input v-model="form.remark" type="textarea" placeholder="请输入内容" />
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
|
|
</el-form>
|
|
|
|
</el-form>
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
|
<el-button type="primary" @click="submitForm">确 定</el-button>
|
|
|
|
<el-button type="primary" @click="submitForm">确 定</el-button>
|
|
|
|
@ -219,6 +231,85 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</el-dialog>
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-dialog title="新增手动识别" :visible.sync="open_add" width="1200px" append-to-body>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="100px">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-row :gutter="20">
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
|
|
|
<el-form-item label="业务类型" prop="ywType">
|
|
|
|
|
|
|
|
<el-select v-model="form.ywType" placeholder="请选择业务类型">
|
|
|
|
|
|
|
|
<el-option label="常住人口登记1" value="option1"></el-option>
|
|
|
|
|
|
|
|
<el-option label="常住人口登记2" value="option3"></el-option>
|
|
|
|
|
|
|
|
<el-option label="常住人口登记3" value="option9"></el-option>
|
|
|
|
|
|
|
|
<el-option label="常住卡" value="option2"></el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
|
|
|
<el-form-item label="档案目录ID" prop="muId">
|
|
|
|
|
|
|
|
<el-input readonly placeholder="请选择档案目录ID" v-model="form.muId">
|
|
|
|
|
|
|
|
<el-button slot="append" icon="el-icon-search" @click="muIdChange"></el-button>
|
|
|
|
|
|
|
|
</el-input>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
|
|
|
<el-button type="primary" @click="selectDaRecard" style="margin-left: 10px;">选择档案记录</el-button>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-row :gutter="20" v-if="shiBieList&&shiBieList.length>0">
|
|
|
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
|
|
|
<el-carousel height="600px" :autoplay="false">
|
|
|
|
|
|
|
|
<el-carousel-item v-for="item in shiBieList" :key="item.id">
|
|
|
|
|
|
|
|
<div style="height: 600px; overflow: auto">
|
|
|
|
|
|
|
|
<el-image style="height:850px; width: 100%" :src="item.picUrl" fit="contain" :preview-src-list="[item.picUrl]"></el-image>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</el-carousel-item>
|
|
|
|
|
|
|
|
</el-carousel>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
|
|
|
<el-form-item label="姓名" prop="name">
|
|
|
|
|
|
|
|
<el-input v-model="form.name" placeholder="请输入姓名" />
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="户主姓名" prop="hzName">
|
|
|
|
|
|
|
|
<el-input v-model="form.hzName" placeholder="请输入户主姓名" />
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="与户主关系" prop="relation">
|
|
|
|
|
|
|
|
<el-input v-model="form.relation" placeholder="请输入与户主关系" />
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="出生日期" prop="birthday">
|
|
|
|
|
|
|
|
<el-date-picker clearable style="width:100%;"
|
|
|
|
|
|
|
|
v-model="form.birthday"
|
|
|
|
|
|
|
|
type="date"
|
|
|
|
|
|
|
|
value-format="yyyy-MM-dd"
|
|
|
|
|
|
|
|
placeholder="请选择出生日期">
|
|
|
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="地址" prop="address">
|
|
|
|
|
|
|
|
<el-input v-model="form.address" placeholder="请输入地址" />
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="籍贯" prop="jiguan">
|
|
|
|
|
|
|
|
<el-input v-model="form.jiguan" placeholder="请输入籍贯" />
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="身份证号" prop="cardId">
|
|
|
|
|
|
|
|
<el-input v-model="form.cardId" placeholder="请输入身份证号" />
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="备注" prop="remark">
|
|
|
|
|
|
|
|
<el-input v-model="form.remark" type="textarea" placeholder="请输入内容" />
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</el-form>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
|
|
|
|
|
<el-button type="primary" @click="addSubmitForm">确 定</el-button>
|
|
|
|
|
|
|
|
<el-button @click="cancel">取 消</el-button>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 审核对话框 -->
|
|
|
|
<!-- 审核对话框 -->
|
|
|
|
<el-dialog title="审核" :visible.sync="shenHe.open" width="500px" append-to-body>
|
|
|
|
<el-dialog title="审核" :visible.sync="shenHe.open" width="500px" append-to-body>
|
|
|
|
<el-form ref="shenHeForm" :model="shenHe.form" :rules="shenHe.rules" label-width="90px">
|
|
|
|
<el-form ref="shenHeForm" :model="shenHe.form" :rules="shenHe.rules" label-width="90px">
|
|
|
|
@ -242,15 +333,126 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</el-dialog>
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--选择档案历史记录-->
|
|
|
|
|
|
|
|
<el-dialog title="选择档案历史记录" :visible.sync="dalsInfo.visible" width="1200px" append-to-body>
|
|
|
|
|
|
|
|
<el-form :model="dalsInfo.queryParams" ref="queryForm" size="small" :inline="true" label-width="100px">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-form-item label="物理书架路径" prop="wlsjPath">
|
|
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
|
|
v-model="dalsInfo.queryParams.wlsjPath"
|
|
|
|
|
|
|
|
placeholder="请输入物理书架路径"
|
|
|
|
|
|
|
|
clearable
|
|
|
|
|
|
|
|
@keyup.enter.native="dalsInfoQuery"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-form-item label="是否已经识别" prop="recognize">
|
|
|
|
|
|
|
|
<el-select
|
|
|
|
|
|
|
|
v-model="dalsInfo.queryParams.recognize"
|
|
|
|
|
|
|
|
placeholder="是否已经识别"
|
|
|
|
|
|
|
|
clearable
|
|
|
|
|
|
|
|
style="width:100%"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<el-option
|
|
|
|
|
|
|
|
v-for="dict in dict.type.recognize"
|
|
|
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-form-item label="图片名称" prop="picName">
|
|
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
|
|
v-model="dalsInfo.queryParams.picName"
|
|
|
|
|
|
|
|
placeholder="请输入图片名称"
|
|
|
|
|
|
|
|
clearable
|
|
|
|
|
|
|
|
@keyup.enter.native="dalsInfoQuery"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-form-item>
|
|
|
|
|
|
|
|
<el-button type="primary" icon="el-icon-search" size="mini" @click="dalsInfoQuery">搜索</el-button>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
</el-form>
|
|
|
|
|
|
|
|
<el-table v-loading="dalsInfo.loading" :data="dalsInfo.list" border height="500" @selection-change="dalsInfoDblclick">
|
|
|
|
|
|
|
|
<el-table-column type="selection" width="50" align="center" fixed/>
|
|
|
|
|
|
|
|
<el-table-column label="档案目录ID" align="center" prop="muId" fixed min-width="50"/>
|
|
|
|
|
|
|
|
<el-table-column label="档案目录路径" align="center" prop="muPath" fixed min-width="100" show-overflow-tooltip/>
|
|
|
|
|
|
|
|
<el-table-column label="物理书架路径" align="center" prop="wlsjPath" min-width="100" show-overflow-tooltip/>
|
|
|
|
|
|
|
|
<el-table-column label="是否已经识别" align="center" prop="recognize" >
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
<dict-tag :options="dict.type.recognize" :value="scope.row.recognize"/>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<el-table-column label="上传时间" align="center" prop="createTime" min-width="100" show-overflow-tooltip/>
|
|
|
|
|
|
|
|
<el-table-column label="图片名称" align="center" prop="picName" min-width="100" show-overflow-tooltip/>
|
|
|
|
|
|
|
|
<el-table-column label="图片路径" align="center" prop="picUrl">
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
<image-preview :src="scope.row.picUrl" :width="40" :height="40"/>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
</el-table>
|
|
|
|
|
|
|
|
<pagination
|
|
|
|
|
|
|
|
v-show="dalsInfo.total>0"
|
|
|
|
|
|
|
|
:total="dalsInfo.total"
|
|
|
|
|
|
|
|
:page.sync="dalsInfo.queryParams.pageNum"
|
|
|
|
|
|
|
|
:limit.sync="dalsInfo.queryParams.pageSize"
|
|
|
|
|
|
|
|
@pagination="getlistPictureRecard"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
|
|
|
|
|
<el-button type="primary" @click="dalsSubmit">确 定</el-button>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--选择档案目录-->
|
|
|
|
|
|
|
|
<el-dialog title="选择档案目录" :visible.sync="damlInfo.visible" width="1200px" append-to-body>
|
|
|
|
|
|
|
|
<el-table v-if="damlInfo.refreshTable"
|
|
|
|
|
|
|
|
v-loading="damlInfo.loading"
|
|
|
|
|
|
|
|
:data="damlInfo.list"
|
|
|
|
|
|
|
|
row-key="id"
|
|
|
|
|
|
|
|
:default-expand-all="damlInfo.isExpandAll"
|
|
|
|
|
|
|
|
:tree-props="{children: 'children', hasChildren: 'hasChildren'}" @cell-dblclick="damlInfoDblclick">
|
|
|
|
|
|
|
|
<el-table-column label="目录名称" align="left" header-align="center" prop="muName"/>
|
|
|
|
|
|
|
|
<el-table-column label="业务类型" align="center" prop="ywType" >
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
<dict-tag :options="dict.type.yw_type" :value="scope.row.ywType"/>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<el-table-column label="显示顺序" align="center" prop="orderNum" />
|
|
|
|
|
|
|
|
<el-table-column label="状态" align="center" prop="status" >
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
<dict-tag :options="dict.type.sys_normal_disable" :value="scope.row.status"/>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<el-table-column label="图片" align="center" prop="picPath" >
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
<image-preview :src="scope.row.picPath" :width="50" :height="50" v-if="scope.row.pid===0"/>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<el-table-column label="创建时间" align="center" prop="createTime">
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
<span>{{ parseTime(scope.row.createTime) }}</span>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<el-table-column label="备注" align="center" prop="remark" />
|
|
|
|
|
|
|
|
</el-table>
|
|
|
|
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
import { listCzrkdj, getCzrkdj, delCzrkdj, updateCzrkdj } from "@/api/dangan/czrkdj";
|
|
|
|
import { listCzrkdj, getCzrkdj, delCzrkdj, addCzrkdj, updateCzrkdj } from "@/api/dangan/czrkdj";
|
|
|
|
|
|
|
|
import { listCatalog } from "@/api/dangan/catalog";
|
|
|
|
|
|
|
|
import { listPictureRecard } from "@/api/dangan/pictureRecard";
|
|
|
|
|
|
|
|
import Treeselect from "@riophae/vue-treeselect";
|
|
|
|
|
|
|
|
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
name: "Czrkdj",
|
|
|
|
name: "Czrkdj",
|
|
|
|
dicts: ['error_correct', 'audit_status'],
|
|
|
|
components: { Treeselect },
|
|
|
|
|
|
|
|
dicts: ['error_correct', 'audit_status', 'recognize', 'yw_type', 'sys_normal_disable', 'area_type'],
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
// 遮罩层
|
|
|
|
// 遮罩层
|
|
|
|
@ -261,10 +463,12 @@ export default {
|
|
|
|
total: 0,
|
|
|
|
total: 0,
|
|
|
|
// 常住人口登记表格数据
|
|
|
|
// 常住人口登记表格数据
|
|
|
|
czrkdjList: [],
|
|
|
|
czrkdjList: [],
|
|
|
|
// 弹出层标题
|
|
|
|
// 目录树选项
|
|
|
|
title: "",
|
|
|
|
muOptions: [],
|
|
|
|
// 是否显示弹出层
|
|
|
|
// 是否显示纠错弹出层
|
|
|
|
open: false,
|
|
|
|
open_jc: false,
|
|
|
|
|
|
|
|
// 是否显示纠错弹出层
|
|
|
|
|
|
|
|
open_add: false,
|
|
|
|
// 查询参数
|
|
|
|
// 查询参数
|
|
|
|
queryParams: {
|
|
|
|
queryParams: {
|
|
|
|
pageNum: 1,
|
|
|
|
pageNum: 1,
|
|
|
|
@ -282,11 +486,19 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 表单参数
|
|
|
|
// 表单参数
|
|
|
|
form: {},
|
|
|
|
form: {},
|
|
|
|
|
|
|
|
// 识别list
|
|
|
|
|
|
|
|
shiBieList: [],
|
|
|
|
// 表单校验
|
|
|
|
// 表单校验
|
|
|
|
rules: {
|
|
|
|
rules: {
|
|
|
|
|
|
|
|
ywType: [
|
|
|
|
|
|
|
|
{ required: true, message: "业务类型不能为空", trigger: "blur" }
|
|
|
|
|
|
|
|
],
|
|
|
|
muId: [
|
|
|
|
muId: [
|
|
|
|
{ required: true, message: "目录ID不能为空", trigger: "blur" }
|
|
|
|
{ required: true, message: "目录ID不能为空", trigger: "blur" }
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
|
|
|
name: [
|
|
|
|
|
|
|
|
{ required: true, message: "姓名不能为空", trigger: "blur" }
|
|
|
|
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 审核
|
|
|
|
// 审核
|
|
|
|
shenHe:{
|
|
|
|
shenHe:{
|
|
|
|
@ -304,6 +516,41 @@ export default {
|
|
|
|
],
|
|
|
|
],
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
// 档案历史记录
|
|
|
|
|
|
|
|
dalsInfo: {
|
|
|
|
|
|
|
|
visible: false,
|
|
|
|
|
|
|
|
// 遮罩层
|
|
|
|
|
|
|
|
loading: false,
|
|
|
|
|
|
|
|
// 总条数
|
|
|
|
|
|
|
|
total: 0,
|
|
|
|
|
|
|
|
// 查询参数
|
|
|
|
|
|
|
|
queryParams:{
|
|
|
|
|
|
|
|
pageNum: 1,
|
|
|
|
|
|
|
|
pageSize: 10
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
// 查询列表
|
|
|
|
|
|
|
|
list: [],
|
|
|
|
|
|
|
|
// 选中数据
|
|
|
|
|
|
|
|
selectRow: null
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
// 档案目录
|
|
|
|
|
|
|
|
damlInfo:{
|
|
|
|
|
|
|
|
visible: false,
|
|
|
|
|
|
|
|
// 遮罩层
|
|
|
|
|
|
|
|
loading: false,
|
|
|
|
|
|
|
|
// 是否展开,默认全部折叠
|
|
|
|
|
|
|
|
isExpandAll: false,
|
|
|
|
|
|
|
|
// 重新渲染表格状态
|
|
|
|
|
|
|
|
refreshTable: true,
|
|
|
|
|
|
|
|
// 查询参数
|
|
|
|
|
|
|
|
queryParams:{
|
|
|
|
|
|
|
|
ywType: null,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
// 查询列表
|
|
|
|
|
|
|
|
list: [],
|
|
|
|
|
|
|
|
// 选中数据
|
|
|
|
|
|
|
|
selectRow: null
|
|
|
|
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
|
created() {
|
|
|
|
created() {
|
|
|
|
@ -322,7 +569,8 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 取消按钮
|
|
|
|
// 取消按钮
|
|
|
|
cancel() {
|
|
|
|
cancel() {
|
|
|
|
this.open = false;
|
|
|
|
this.open_jc = false;
|
|
|
|
|
|
|
|
this.open_add = false
|
|
|
|
this.reset();
|
|
|
|
this.reset();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 表单重置
|
|
|
|
// 表单重置
|
|
|
|
@ -358,14 +606,18 @@ export default {
|
|
|
|
this.resetForm("queryForm");
|
|
|
|
this.resetForm("queryForm");
|
|
|
|
this.handleQuery();
|
|
|
|
this.handleQuery();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
/** 新增按钮操作 */
|
|
|
|
|
|
|
|
handleAdd() {
|
|
|
|
|
|
|
|
this.reset();
|
|
|
|
|
|
|
|
this.open_add = true;
|
|
|
|
|
|
|
|
},
|
|
|
|
/** 修改按钮操作 */
|
|
|
|
/** 修改按钮操作 */
|
|
|
|
handleUpdate(row) {
|
|
|
|
handleUpdate(row) {
|
|
|
|
this.reset();
|
|
|
|
this.reset();
|
|
|
|
const id = row.id
|
|
|
|
const id = row.id
|
|
|
|
getCzrkdj(id).then(response => {
|
|
|
|
getCzrkdj(id).then(response => {
|
|
|
|
this.form = response.data;
|
|
|
|
this.form = response.data;
|
|
|
|
this.open = true;
|
|
|
|
this.open_jc = true;
|
|
|
|
this.title = "修改常住人口登记";
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
/** 提交按钮 */
|
|
|
|
/** 提交按钮 */
|
|
|
|
@ -376,7 +628,7 @@ export default {
|
|
|
|
this.form.errorCorrect = 1;
|
|
|
|
this.form.errorCorrect = 1;
|
|
|
|
updateCzrkdj(this.form).then(response => {
|
|
|
|
updateCzrkdj(this.form).then(response => {
|
|
|
|
this.$modal.msgSuccess("修改成功");
|
|
|
|
this.$modal.msgSuccess("修改成功");
|
|
|
|
this.open = false;
|
|
|
|
this.open_jc = false;
|
|
|
|
this.getList();
|
|
|
|
this.getList();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@ -422,6 +674,133 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
// 选择档案记录
|
|
|
|
|
|
|
|
selectDaRecard(){
|
|
|
|
|
|
|
|
if(this.form.muId){
|
|
|
|
|
|
|
|
this.dalsInfo.queryParams.muId = this.form.muId;
|
|
|
|
|
|
|
|
this.getlistPictureRecard()
|
|
|
|
|
|
|
|
this.dalsInfo.visible = true;
|
|
|
|
|
|
|
|
}else {
|
|
|
|
|
|
|
|
this.$alert(`请先选择档案目录`, `提示`, {
|
|
|
|
|
|
|
|
type: 'warning'
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
// 档案历史记录查询
|
|
|
|
|
|
|
|
dalsInfoQuery(){
|
|
|
|
|
|
|
|
this.dalsInfo.queryParams.pageNum = 1;
|
|
|
|
|
|
|
|
this.getlistPictureRecard();
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
// 档案历史选择 选中数据
|
|
|
|
|
|
|
|
dalsInfoDblclick(row) {
|
|
|
|
|
|
|
|
this.dalsInfo.selectRow = row;
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
// 档案历史确认选中
|
|
|
|
|
|
|
|
dalsSubmit(){
|
|
|
|
|
|
|
|
// 是否是常住人口登记表1 : 常住人口登记表1 双面识别
|
|
|
|
|
|
|
|
if(this.form.ywType==='option1'){
|
|
|
|
|
|
|
|
if(this.dalsInfo.selectRow.length===2){
|
|
|
|
|
|
|
|
this.dalsInfo.visible = false;
|
|
|
|
|
|
|
|
this.shiBieList = this.dalsInfo.selectRow
|
|
|
|
|
|
|
|
}else {
|
|
|
|
|
|
|
|
this.$alert(`选择2条档案历史记录数据`, `提示`, {
|
|
|
|
|
|
|
|
type: 'warning'
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}else {
|
|
|
|
|
|
|
|
if(this.dalsInfo.selectRow.length===1){
|
|
|
|
|
|
|
|
this.dalsInfo.visible = false;
|
|
|
|
|
|
|
|
this.shiBieList = this.dalsInfo.selectRow
|
|
|
|
|
|
|
|
}else {
|
|
|
|
|
|
|
|
this.$alert(`选择1条档案历史记录数据`, `提示`, {
|
|
|
|
|
|
|
|
type: 'warning'
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
/** 查询档案历史记录列表 */
|
|
|
|
|
|
|
|
getlistPictureRecard() {
|
|
|
|
|
|
|
|
this.dalsInfo.loading = true;
|
|
|
|
|
|
|
|
listPictureRecard(this.dalsInfo.queryParams).then(response => {
|
|
|
|
|
|
|
|
this.dalsInfo.list = response.rows;
|
|
|
|
|
|
|
|
this.dalsInfo.total = response.total;
|
|
|
|
|
|
|
|
this.dalsInfo.loading = false;
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
// 档案目录选择
|
|
|
|
|
|
|
|
muIdChange(){
|
|
|
|
|
|
|
|
if(this.form.ywType){
|
|
|
|
|
|
|
|
this.damlInfo.visible = true;
|
|
|
|
|
|
|
|
this.damlInfo.queryParams.ywType = this.form.ywType;
|
|
|
|
|
|
|
|
this.getlistCatalog()
|
|
|
|
|
|
|
|
}else {
|
|
|
|
|
|
|
|
this.$alert(`请先选择业务类型`, `提示`, {
|
|
|
|
|
|
|
|
type: 'warning'
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
// 获取档案目录
|
|
|
|
|
|
|
|
getlistCatalog(){
|
|
|
|
|
|
|
|
this.damlInfo.loading = true;
|
|
|
|
|
|
|
|
listCatalog(this.damlInfo.queryParams).then(response => {
|
|
|
|
|
|
|
|
this.damlInfo.list = this.handleTree(response.data, "id","pid");
|
|
|
|
|
|
|
|
this.damlInfo.loading = false;
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
// 双击选择档案目录
|
|
|
|
|
|
|
|
damlInfoDblclick(row){
|
|
|
|
|
|
|
|
this.damlInfo.selectRow = row;
|
|
|
|
|
|
|
|
this.form.muId = row.id
|
|
|
|
|
|
|
|
this.damlInfo.visible = false
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
/** 新增手动识别提交按钮 */
|
|
|
|
|
|
|
|
addSubmitForm() {
|
|
|
|
|
|
|
|
this.$refs["form"].validate(valid => {
|
|
|
|
|
|
|
|
if (valid) {
|
|
|
|
|
|
|
|
if(this.shiBieList&&this.shiBieList.length>0){
|
|
|
|
|
|
|
|
// 识别图片id
|
|
|
|
|
|
|
|
this.form.picIds='';
|
|
|
|
|
|
|
|
// 识别图片地址
|
|
|
|
|
|
|
|
this.form.pictures='';
|
|
|
|
|
|
|
|
// 相关图片id
|
|
|
|
|
|
|
|
this.form.allPicIds='';
|
|
|
|
|
|
|
|
// 相关图片id
|
|
|
|
|
|
|
|
this.form.allPics='';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.shiBieList.forEach(item=>{
|
|
|
|
|
|
|
|
this.form.picIds += item.id+',';
|
|
|
|
|
|
|
|
// 识别图片地址
|
|
|
|
|
|
|
|
this.form.pictures += item.picUrl+',';
|
|
|
|
|
|
|
|
// 相关图片id
|
|
|
|
|
|
|
|
this.form.allPicIds += item.id+',';
|
|
|
|
|
|
|
|
// 相关图片id
|
|
|
|
|
|
|
|
this.form.allPics += item.picUrl+',';
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.form.picIds= this.form.picIds.slice(0, -1);
|
|
|
|
|
|
|
|
this.form.pictures= this.form.pictures.slice(0, -1);
|
|
|
|
|
|
|
|
this.form.allPicIds= this.form.allPicIds.slice(0, -1);
|
|
|
|
|
|
|
|
this.form.allPics= this.form.allPics.slice(0, -1);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
addCzrkdj(this.form).then(response => {
|
|
|
|
|
|
|
|
this.$modal.msgSuccess("新增成功");
|
|
|
|
|
|
|
|
this.open_add = false;
|
|
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}else {
|
|
|
|
|
|
|
|
this.$alert(`请先点击【选择档案记录】或【直接上传】选择识别图片`, `提示`, {
|
|
|
|
|
|
|
|
type: 'warning'
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
|
|
|
|
.el-carousel__item{
|
|
|
|
|
|
|
|
background-color: #b5c2d2;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|
|
|
|
|