1269 lines
61 KiB
HTML
1269 lines
61 KiB
HTML
<!--#
|
|
layout("/layouts/platform.html"){
|
|
#-->
|
|
<style>
|
|
input::-webkit-outer-spin-button,
|
|
input::-webkit-inner-spin-button {
|
|
-webkit-appearance: none;
|
|
}
|
|
|
|
.int_input .el-input-number__decrease {
|
|
display: none;
|
|
}
|
|
|
|
.int_input .el-input-number__increase {
|
|
display: none;
|
|
}
|
|
|
|
.int_input .el-input-number.is-controls-right .el-input__inner {
|
|
text-align: left;
|
|
}
|
|
|
|
.textareaDiv {
|
|
white-space: pre-wrap;
|
|
white-space: -moz-pre-wrap;
|
|
white-space: -o-pre-wrap;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.qz .el-card__header {
|
|
padding: 0 10px;
|
|
}
|
|
</style>
|
|
<script src="/assets/platform/js/qrcode.min.js"></script>
|
|
<div id="app" v-cloak>
|
|
<el-row class="header navbar bg-white shadow">
|
|
<div class="btn-group tool-button mt5">
|
|
<div>
|
|
<el-input placeholder="请输入内容" v-model="pageForm.searchKeyword" clearable>
|
|
<el-select v-model="pageForm.searchName" slot="prepend" placeholder="查询类型" style="width: 100px;">
|
|
<el-option label="姓名" value="sqr.username"></el-option>
|
|
<el-option label="职工号" value="sqr.loginname"></el-option>
|
|
</el-select>
|
|
</el-input>
|
|
</div>
|
|
</div>
|
|
<div class="btn-group tool-button mt5">
|
|
<div class="block">
|
|
<el-date-picker
|
|
value-format="yyyy-MM-dd"
|
|
v-model="pageForm.time"
|
|
type="daterange"
|
|
range-separator="——"
|
|
start-placeholder="申请时间"
|
|
end-placeholder="申请时间">
|
|
</el-date-picker>
|
|
</div>
|
|
</div>
|
|
<div class="btn-group tool-button mt5">
|
|
<el-button type="primary" @click="doSearch" icon="el-icon-search"></el-button>
|
|
</div>
|
|
<div class="pull-right offscreen-right mt5">
|
|
<el-button @click="openPlsh"><i class="el-icon-s-check"></i> 批量审核</el-button>
|
|
<!--#if(@shiro.hasRole('A06')||@shiro.hasRole('flwyh01')||@shiro.hasRole('sysadmin')){#-->
|
|
<el-button @click="location.href='/platform/knbf/sh/toExcel'"><i class="el-icon-download"></i> 导出
|
|
</el-button>
|
|
<!--#}#-->
|
|
</div>
|
|
</el-row>
|
|
|
|
<el-row class="el-table-container">
|
|
<el-table
|
|
:data="tableData"
|
|
size="mini"
|
|
style="width: 100%"
|
|
@sort-change="pageOrder"
|
|
@selection-change="handleSelectionChange"
|
|
>
|
|
<el-table-column
|
|
type="selection"
|
|
width="55">
|
|
</el-table-column>
|
|
<el-table-column label="序号" type="index" header-align="center" align="center">
|
|
<template scope="scope">
|
|
<span>{{scope.$index+(pageForm.pageNumber - 1) * pageForm.pageSize + 1}} </span>
|
|
</template>
|
|
</el-table-column>
|
|
<el-table-column
|
|
align="center" width="150px" header-align="center"
|
|
prop="sqrloginname"
|
|
label="工号"
|
|
>
|
|
</el-table-column>
|
|
<el-table-column
|
|
align="center" header-align="center"
|
|
prop="sqrname"
|
|
label="姓名"
|
|
>
|
|
</el-table-column>
|
|
<el-table-column
|
|
width="100px"
|
|
prop="sex"
|
|
label="性别"
|
|
header-align="center"
|
|
align="center">
|
|
</el-table-column>
|
|
<el-table-column
|
|
prop="lxfs" show-overflow-tooltip
|
|
label="联系方式"
|
|
header-align="center"
|
|
align="center">
|
|
</el-table-column>
|
|
<el-table-column
|
|
sortable show-overflow-tooltip
|
|
prop="unitname"
|
|
label="所在单位"
|
|
header-align="center"
|
|
align="center">
|
|
</el-table-column>
|
|
<el-table-column
|
|
sortable
|
|
prop="fghname" show-overflow-tooltip
|
|
label="所在基层工会"
|
|
header-align="center"
|
|
align="center">
|
|
</el-table-column>
|
|
<el-table-column
|
|
sortable
|
|
align="center" header-align="center"
|
|
prop="sqsj"
|
|
label="申请时间"
|
|
>
|
|
</el-table-column>
|
|
<el-table-column sortable
|
|
align="center" header-align="center"
|
|
prop="zt"
|
|
label="状态"
|
|
>
|
|
<template slot-scope="scope">
|
|
<span :style="'color:'+ztObj[scope.row.zt].color ">{{ztObj[scope.row.zt].label}}</span>
|
|
</template>
|
|
</el-table-column>
|
|
<el-table-column
|
|
align="center" header-align="center"
|
|
prop="userOnline"
|
|
label="操作"
|
|
width="180">
|
|
<template slot-scope="scope">
|
|
<el-button size="mini" @click="openView(scope.row.id)">查看</el-button>
|
|
<el-button size="mini" type="primary" @click="openSh(scope.row.id)">审核</el-button>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-row>
|
|
<el-row class="el-pagination-container">
|
|
<el-pagination
|
|
@size-change="pageSizeChange"
|
|
@current-change="pageNumberChange"
|
|
:current-page="pageForm.pageNumber"
|
|
:page-sizes="[10, 20, 30, 50]"
|
|
:page-size="pageForm.pageSize"
|
|
layout="total, sizes, prev, pager, next, jumper"
|
|
:total="pageForm.totalCount">
|
|
</el-pagination>
|
|
</el-row>
|
|
|
|
<el-dialog title="申请详细信息"
|
|
top="1%"
|
|
custom-class="ViewDialogClass"
|
|
:close-on-click-modal="false"
|
|
width="60%"
|
|
:visible.sync="findViewDialog">
|
|
<el-tabs tab-position="top" v-model="activeNames">
|
|
<el-tab-pane label="基本信息" name="1">
|
|
<el-card>
|
|
<table style="width: 100%" class="tabInfo">
|
|
<tr>
|
|
<td class="title">姓  名</td>
|
|
<td class="content">{{viewData.sqrname}}</td>
|
|
<td class="title">工  号</td>
|
|
<td class="content">{{viewData.sqrloginname}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">身份证号</td>
|
|
<td class="content">{{viewData.idcard}}</td>
|
|
<td class="title">生  日</td>
|
|
<td class="content">{{viewData.birthday}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">民  族</td>
|
|
<td class="content">{{viewData.mz}}</td>
|
|
<td class="title">政治面貌</td>
|
|
<td class="content">{{viewData.zzmm}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">性  别</td>
|
|
<td class="content">{{viewData.sex}}</td>
|
|
<td class="title">职  称</td>
|
|
<td class="content">{{viewData.zc}}</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="title">职  务</td>
|
|
<td class="content">{{viewData.zw}}</td>
|
|
<td class="title">人事编制</td>
|
|
<td class="content">{{viewData.rsbz}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">参加工作时间</td>
|
|
<td class="content">{{viewData.cjgzsj}}</td>
|
|
<td class="title">医保状况</td>
|
|
<td class="content">{{viewData.ybzk}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">所在单位</td>
|
|
<td class="content">{{viewData.sqrunitname}}</td>
|
|
<td class="title">手机号码</td>
|
|
<td class="content">{{viewData.lxfs}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">本人年收入</td>
|
|
<td class="content">{{viewData.brnzsr}}</td>
|
|
<td class="title">家庭年收入</td>
|
|
<td class="content">{{viewData.jtnzsr}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">家庭人数</td>
|
|
<td class="content" colspan="3">{{viewData.jtrs}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">现住房类型</td>
|
|
<td class="content">{{viewData.xzflx}}</td>
|
|
<td class="title">建筑面积</td>
|
|
<td class="content">{{viewData.jzmj}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">家庭住址</td>
|
|
<td class="content">{{viewData.jtzz}}</td>
|
|
<td class="title">婚姻状况</td>
|
|
<td class="content">{{viewData.hyzt}}</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="title">家庭房产</td>
|
|
<td class="content" colspan="5" style="padding: 0;">
|
|
<table style="width: 100%" v-if="viewData.jtfc&&viewData.jtfc.length>0">
|
|
<tr>
|
|
<td class="title" style="border: none">房产来源</td>
|
|
<td class="title" style="border: none">地址</td>
|
|
<td class="title" style="border: none">面积(㎡)</td>
|
|
</tr>
|
|
<tr v-for="item in viewData.jtfc">
|
|
<td class="content"
|
|
style="border-right: none;border-left: none;border-bottom: none">
|
|
{{item.fcly}}
|
|
</td>
|
|
<td class="content"
|
|
style="border-right: none;border-left: none;border-bottom: none">
|
|
{{item.dz}}
|
|
</td>
|
|
<td class="content"
|
|
style="border-right: none;border-left: none;border-bottom: none">
|
|
{{item.mj}}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="title">家庭车产</td>
|
|
<td class="content" colspan="5" style="padding: 0;">
|
|
<table style="width: 100%" v-if="viewData.jtcc&&viewData.jtcc.length>0">
|
|
<tr>
|
|
<td class="title" style="border: none">品牌</td>
|
|
<td class="title" style="border: none">型号</td>
|
|
<td class="title" style="border: none">价格(元)</td>
|
|
</tr>
|
|
<tr v-for="item in viewData.jtcc">
|
|
<td class="content"
|
|
style="border-right: none;border-left: none;border-bottom: none">
|
|
{{item.pp}}
|
|
</td>
|
|
<td class="content"
|
|
style="border-right: none;border-left: none;border-bottom: none">
|
|
{{item.xh}}
|
|
</td>
|
|
<td class="content"
|
|
style="border-right: none;border-left: none;border-bottom: none">
|
|
{{item.jg}}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="title">主要家庭成员</td>
|
|
<td class="content" colspan="5" style="padding: 0;">
|
|
<table style="width: 100%" v-if="viewData.jtcys&&viewData.jtcys.length>0">
|
|
<tr>
|
|
<td class="title" style="border: none">姓名</td>
|
|
<td class="title" style="border: none">与本人关系</td>
|
|
<td class="title" style="border: none">年龄</td>
|
|
<td class="title" style="border: none">工作单位</td>
|
|
<td class="title" style="border: none">年收入(元)</td>
|
|
</tr>
|
|
<tr v-for="item in viewData.jtcys">
|
|
<td class="content"
|
|
style="border-right: none;border-left: none;border-bottom: none">
|
|
{{item.xm}}
|
|
</td>
|
|
<td class="content"
|
|
style="border-right: none;border-left: none;border-bottom: none">
|
|
{{item.gx}}
|
|
</td>
|
|
<td class="content"
|
|
style="border-right: none;border-left: none;border-bottom: none">
|
|
{{item.nl}}
|
|
</td>
|
|
<td class="content"
|
|
style="border-right: none;border-left: none;border-bottom: none">
|
|
{{item.gzdw}}
|
|
</td>
|
|
<td class="content"
|
|
style="border-right: none;border-left: none;border-bottom: none">
|
|
{{item.nsr}}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="title">开户银行</td>
|
|
<td class="content">{{viewData.yhmc}}</td>
|
|
<td class="title">银行卡号</td>
|
|
<td class="content">{{viewData.yhkh}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">主要致困原因</td>
|
|
<td class="content" colspan="5" style="text-align: left">
|
|
{{viewData.zyzkyy | arr2str}}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">备  注</td>
|
|
<td class="content textareaDiv" colspan="5" style="text-align: left">{{viewData.zyzkyybz}}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">档位</td>
|
|
<td class="content">
|
|
<span v-if="isNull(viewData.jb)">暂无</span>
|
|
<span v-else>{{viewData.jb}}</span>
|
|
</td>
|
|
<td class="title">补助金额</td>
|
|
<td class="content">
|
|
<span v-if="isNull(viewData.xghbzje)">暂无</span>
|
|
<span v-else>{{viewData.xghbzje}} 元</span>
|
|
</td>
|
|
<!--<td class="title">上级工会补助金额</td>
|
|
<td class="content">
|
|
<span v-if="isNull(viewData.sjghbzje)">暂无</span>
|
|
<span v-else>{{viewData.sjghbzje}} 元</span>
|
|
</td>-->
|
|
</tr>
|
|
</table>
|
|
</el-card>
|
|
</el-tab-pane>
|
|
|
|
<el-tab-pane label="基层工会审核意见" name="2">
|
|
<el-card>
|
|
<table style="width: 100%" class="tabInfo">
|
|
<tr>
|
|
<td class="title">审核人</td>
|
|
<td class="content">
|
|
{{viewData.fghshrname | none2str}}
|
|
</td>
|
|
<td class="title">审核时间</td>
|
|
<td class="content">
|
|
{{viewData.fghshsj | none2str}}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">审核意见</td>
|
|
<td class="content" colspan="3">
|
|
{{viewData.fghshyj | none2str}}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">签  字</td>
|
|
<td class="content" colspan="3">
|
|
<img style="max-height: 80px" :src="viewData.fqz">
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</el-card>
|
|
</el-tab-pane>
|
|
|
|
<!--<el-tab-pane label="福利委员会审核意见" name="3">
|
|
<el-card>
|
|
<table style="width: 100%" class="tabInfo">
|
|
<tr>
|
|
<td class="title">审核人</td>
|
|
<td class="content">
|
|
{{viewData.dwshrname | none2str}}
|
|
</td>
|
|
<td class="title">审核时间</td>
|
|
<td class="content">
|
|
{{viewData.dwshsj | none2str}}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">审核意见</td>
|
|
<td class="content" colspan="3">
|
|
{{viewData.dwshyj | none2str}}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">档位</td>
|
|
<td class="content">
|
|
<span v-if="isNull(viewData.jb)">暂无</span>
|
|
<span v-else>{{viewData.jb}}</span>
|
|
</td>
|
|
<td class="title">补助金额</td>
|
|
<td class="content">
|
|
<span v-if="isNull(viewData.xghbzje)">暂无</span>
|
|
<span v-else>{{viewData.xghbzje}} 元</span>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</el-card>
|
|
</el-tab-pane>-->
|
|
|
|
<el-tab-pane label="校工会审核意见" name="4">
|
|
<el-card>
|
|
<table style="width: 100%" class="tabInfo">
|
|
<tr>
|
|
<td class="title">审核人</td>
|
|
<td class="content">
|
|
{{viewData.xghshrname | none2str}}
|
|
</td>
|
|
<td class="title">审核时间</td>
|
|
<td class="content">
|
|
{{viewData.xghshsj | none2str}}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">档位</td>
|
|
<td class="content">
|
|
<span v-if="isNull(viewData.jb)">暂无</span>
|
|
<span v-else>{{viewData.jb}}</span>
|
|
</td>
|
|
<td class="title">补助金额</td>
|
|
<td class="content">
|
|
<span v-if="isNull(viewData.xghbzje)">暂无</span>
|
|
<span v-else>{{viewData.xghbzje}} 元</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">审核意见</td>
|
|
<td class="content" colspan="3">
|
|
{{viewData.xghshyj | none2str}}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">签  字</td>
|
|
<td class="content" colspan="3">
|
|
<img style="max-height: 80px" :src="viewData.xqz">
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</el-card>
|
|
</el-tab-pane>
|
|
</el-tabs>
|
|
</el-dialog>
|
|
|
|
<el-dialog title="审核"
|
|
:visible.sync="shViewDialog"
|
|
custom-class="ViewDialogClass"
|
|
:close-on-click-modal="false"
|
|
width="60%">
|
|
<el-tabs tab-position="top" v-model="activeNames">
|
|
<el-tab-pane label="基本信息" name="1">
|
|
<el-card>
|
|
<table style="width: 100%" class="tabInfo">
|
|
<tr>
|
|
<td class="title">姓  名</td>
|
|
<td class="content">{{viewData.sqrname}}</td>
|
|
<td class="title">工  号</td>
|
|
<td class="content">{{viewData.sqrloginname}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">身份证号</td>
|
|
<td class="content">{{viewData.idcard}}</td>
|
|
<td class="title">生  日</td>
|
|
<td class="content">{{viewData.birthday}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">民  族</td>
|
|
<td class="content">{{viewData.mz}}</td>
|
|
<td class="title">政治面貌</td>
|
|
<td class="content">{{viewData.zzmm}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">性  别</td>
|
|
<td class="content">{{viewData.sex}}</td>
|
|
<td class="title">职  称</td>
|
|
<td class="content">{{viewData.zc}}</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="title">职  务</td>
|
|
<td class="content">{{viewData.zw}}</td>
|
|
<td class="title">人事编制</td>
|
|
<td class="content">{{viewData.rsbz}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">参加工作时间</td>
|
|
<td class="content">{{viewData.cjgzsj}}</td>
|
|
<td class="title">医保状况</td>
|
|
<td class="content">{{viewData.ybzk}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">所在单位</td>
|
|
<td class="content">{{viewData.sqrunitname}}</td>
|
|
<td class="title">手机号码</td>
|
|
<td class="content">{{viewData.lxfs}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">本人年收入</td>
|
|
<td class="content">{{viewData.brnzsr}}</td>
|
|
<td class="title">家庭年收入</td>
|
|
<td class="content">{{viewData.jtnzsr}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">家庭人数</td>
|
|
<td class="content" colspan="3">{{viewData.jtrs}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">现住房类型</td>
|
|
<td class="content">{{viewData.xzflx}}</td>
|
|
<td class="title">建筑面积</td>
|
|
<td class="content">{{viewData.jzmj}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">家庭住址</td>
|
|
<td class="content">{{viewData.jtzz}}</td>
|
|
<td class="title">婚姻状况</td>
|
|
<td class="content">{{viewData.hyzt}}</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="title">家庭房产</td>
|
|
<td class="content" colspan="5" style="padding: 0;">
|
|
<table style="width: 100%" v-if="viewData.jtfc&&viewData.jtfc.length>0">
|
|
<tr>
|
|
<td class="title" style="border: none">房产来源</td>
|
|
<td class="title" style="border: none">地址</td>
|
|
<td class="title" style="border: none">面积(㎡)</td>
|
|
</tr>
|
|
<tr v-for="item in viewData.jtfc">
|
|
<td class="content"
|
|
style="border-right: none;border-left: none;border-bottom: none">
|
|
{{item.fcly}}
|
|
</td>
|
|
<td class="content"
|
|
style="border-right: none;border-left: none;border-bottom: none">
|
|
{{item.dz}}
|
|
</td>
|
|
<td class="content"
|
|
style="border-right: none;border-left: none;border-bottom: none">
|
|
{{item.mj}}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="title">家庭车产</td>
|
|
<td class="content" colspan="5" style="padding: 0;">
|
|
<table style="width: 100%" v-if="viewData.jtcc&&viewData.jtcc.length>0">
|
|
<tr>
|
|
<td class="title" style="border: none">品牌</td>
|
|
<td class="title" style="border: none">型号</td>
|
|
<td class="title" style="border: none">价格(元)</td>
|
|
</tr>
|
|
<tr v-for="item in viewData.jtcc">
|
|
<td class="content"
|
|
style="border-right: none;border-left: none;border-bottom: none">
|
|
{{item.pp}}
|
|
</td>
|
|
<td class="content"
|
|
style="border-right: none;border-left: none;border-bottom: none">
|
|
{{item.xh}}
|
|
</td>
|
|
<td class="content"
|
|
style="border-right: none;border-left: none;border-bottom: none">
|
|
{{item.jg}}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="title">主要家庭成员</td>
|
|
<td class="content" colspan="5" style="padding: 0;">
|
|
<table style="width: 100%" v-if="viewData.jtcys&&viewData.jtcys.length>0">
|
|
<tr>
|
|
<td class="title" style="border: none">姓名</td>
|
|
<td class="title" style="border: none">与本人关系</td>
|
|
<td class="title" style="border: none">年龄</td>
|
|
<td class="title" style="border: none">工作单位</td>
|
|
<td class="title" style="border: none">年收入(元)</td>
|
|
</tr>
|
|
<tr v-for="item in viewData.jtcys">
|
|
<td class="content"
|
|
style="border-right: none;border-left: none;border-bottom: none">
|
|
{{item.xm}}
|
|
</td>
|
|
<td class="content"
|
|
style="border-right: none;border-left: none;border-bottom: none">
|
|
{{item.gx}}
|
|
</td>
|
|
<td class="content"
|
|
style="border-right: none;border-left: none;border-bottom: none">
|
|
{{item.nl}}
|
|
</td>
|
|
<td class="content"
|
|
style="border-right: none;border-left: none;border-bottom: none">
|
|
{{item.gzdw}}
|
|
</td>
|
|
<td class="content"
|
|
style="border-right: none;border-left: none;border-bottom: none">
|
|
{{item.nsr}}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="title">开户银行</td>
|
|
<td class="content">{{viewData.yhmc}}</td>
|
|
<td class="title">银行卡号</td>
|
|
<td class="content">{{viewData.yhkh}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">主要致困原因</td>
|
|
<td class="content" colspan="5" style="text-align: left">
|
|
{{viewData.zyzkyy | arr2str}}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">备  注</td>
|
|
<td class="content textareaDiv" colspan="5" style="text-align: left">{{viewData.zyzkyybz}}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">档位</td>
|
|
<td class="content">
|
|
<span v-if="isNull(viewData.jb)">暂无</span>
|
|
<span v-else>{{viewData.jb}}</span>
|
|
</td>
|
|
<td class="title">补助金额</td>
|
|
<td class="content">
|
|
<span v-if="isNull(viewData.xghbzje)">暂无</span>
|
|
<span v-else>{{viewData.xghbzje}} 元</span>
|
|
</td>
|
|
<!--<td class="title">上级工会补助金额</td>
|
|
<td class="content">
|
|
<span v-if="isNull(viewData.sjghbzje)">暂无</span>
|
|
<span v-else>{{viewData.sjghbzje}} 元</span>
|
|
</td>-->
|
|
</tr>
|
|
</table>
|
|
</el-card>
|
|
</el-tab-pane>
|
|
|
|
<el-tab-pane label="基层工会审核意见" name="2" v-if="viewData.zt>1">
|
|
<el-card>
|
|
<table style="width: 100%" class="tabInfo">
|
|
<tr>
|
|
<td class="title">审核人</td>
|
|
<td class="content">
|
|
{{viewData.fghshrname | none2str}}
|
|
</td>
|
|
<td class="title">审核时间</td>
|
|
<td class="content">
|
|
{{viewData.fghshsj | none2str}}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">审核意见</td>
|
|
<td class="content" colspan="3">
|
|
{{viewData.fghshyj | none2str}}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">签  字</td>
|
|
<td class="content" colspan="3">
|
|
<img style="max-height: 80px" :src="viewData.fqz">
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</el-card>
|
|
</el-tab-pane>
|
|
|
|
<!-- <el-tab-pane label="福利委员会审核意见" name="3" v-if="viewData.zt>2">
|
|
<el-card>
|
|
<table style="width: 100%" class="tabInfo">
|
|
<tr>
|
|
<td class="title">审核人</td>
|
|
<td class="content">
|
|
{{viewData.dwshrname | none2str}}
|
|
</td>
|
|
<td class="title">审核时间</td>
|
|
<td class="content">
|
|
{{viewData.dwshsj | none2str}}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">审核意见</td>
|
|
<td class="content" colspan="3">
|
|
{{viewData.dwshyj | none2str}}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">档位</td>
|
|
<td class="content">
|
|
<span v-if="isNull(viewData.jb)">暂无</span>
|
|
<span v-else>{{viewData.jb}}</span>
|
|
</td>
|
|
<td class="title">补助金额</td>
|
|
<td class="content">
|
|
<span v-if="isNull(viewData.xghbzje)">暂无</span>
|
|
<span v-else>{{viewData.xghbzje}} 元</span>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</el-card>
|
|
</el-tab-pane>-->
|
|
|
|
<el-tab-pane label="校工会审核意见" name="4" v-if="viewData.zt>3">
|
|
<el-card>
|
|
<table style="width: 100%" class="tabInfo">
|
|
<tr>
|
|
<td class="title">审核人</td>
|
|
<td class="content">
|
|
{{viewData.xghshrname | none2str}}
|
|
</td>
|
|
<td class="title">审核时间</td>
|
|
<td class="content">
|
|
{{viewData.xghshsj | none2str}}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">档位</td>
|
|
<td class="content">
|
|
<span v-if="isNull(viewData.jb)">暂无</span>
|
|
<span v-else>{{viewData.jb}}</span>
|
|
</td>
|
|
<td class="title">补助金额</td>
|
|
<td class="content">
|
|
<span v-if="isNull(viewData.xghbzje)">暂无</span>
|
|
<span v-else>{{viewData.xghbzje}} 元</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">审核意见</td>
|
|
<td class="content" colspan="3">
|
|
{{viewData.xghshyj | none2str}}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</el-card>
|
|
|
|
</el-tab-pane>
|
|
|
|
<el-tab-pane :label="shName" name="5">
|
|
<el-card style="box-shadow: none;border: none">
|
|
<el-form :model="formData" ref="addForm" :rules="formRules" size="medium" label-position="left"
|
|
label-width="100px">
|
|
<el-row>
|
|
<el-col :span="11">
|
|
<el-form-item prop="username" label="审核人" class="is-required">
|
|
<el-input placeholder="请输入审核人" v-model="formData.username" type="text"
|
|
readonly></el-input>
|
|
</el-form-item>
|
|
</el-col>
|
|
<el-col :span="11" offset="2">
|
|
<el-form-item prop="shsj" label="审核时间">
|
|
<el-date-picker
|
|
style="width: 100%"
|
|
v-model="formData.shsj"
|
|
type="date"
|
|
value-format="yyyy-MM-dd"
|
|
:clearable="false"
|
|
placeholder="选择审核时间">
|
|
</el-date-picker>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-row>
|
|
<el-row>
|
|
<el-col :span="11">
|
|
<el-form-item prop="flag" label="审核状态">
|
|
<el-radio-group v-model="formData.flag" size="mini">
|
|
<el-radio label="true" border>通过</el-radio>
|
|
<el-radio label="false" border>驳回</el-radio>
|
|
</el-radio-group>
|
|
</el-form-item>
|
|
</el-col>
|
|
<el-col :span="11" offset="2">
|
|
|
|
</el-col>
|
|
</el-row>
|
|
<el-row v-if="formData.flag=='true'&&viewData.zt==3">
|
|
<el-col :span="11">
|
|
<el-form-item prop="jb" label="档  位">
|
|
<el-select v-model="formData.jb" @change="changeJb" placeholder="请选择档位"
|
|
clearable>
|
|
<el-option
|
|
v-for="item in jbOptions"
|
|
:key="item"
|
|
:label="item"
|
|
:value="item">
|
|
</el-option>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-col>
|
|
<el-col :span="11" offset="2">
|
|
<el-form-item prop="xghbzje" label="补助金额">
|
|
<el-input v-model="formData.xghbzje"
|
|
onKeypress="return (/[\d]/.test(String.fromCharCode(event.keyCode)))"
|
|
placeholder="请输入补助金额" type="number">
|
|
<template style="border: none;background-color: white;" slot="append">元
|
|
</template>
|
|
</el-input>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-row>
|
|
<el-row>
|
|
<el-form-item prop="yj" label="审核意见">
|
|
<el-input placeholder="请输入意见" v-model="formData.yj" type="textarea"
|
|
:autosize="{ minRows: 4, maxRows: 8}" clearable></el-input>
|
|
</el-form-item>
|
|
</el-row>
|
|
<div>
|
|
<sign prefix="knbf" :qz.sync="formData.qz"></sign>
|
|
</div>
|
|
</el-form>
|
|
</el-card>
|
|
<span class="dialog-footer myBtn" style="float: right;">
|
|
<el-button @click="shViewDialog = false">取 消</el-button>
|
|
<el-button type="primary" @click="doSh">确 定</el-button>
|
|
</span>
|
|
</el-tab-pane>
|
|
|
|
|
|
</el-tabs>
|
|
</el-dialog>
|
|
|
|
|
|
<el-dialog title="审核"
|
|
:visible.sync="plshDialogVisible"
|
|
custom-class="ViewDialogClass"
|
|
:close-on-click-modal="false"
|
|
width="60%">
|
|
<el-card style="box-shadow: none;border: none">
|
|
<el-form :model="formData" ref="addForm" :rules="formRules" size="medium" label-position="left"
|
|
label-width="100px">
|
|
<el-row>
|
|
<el-col :span="11">
|
|
<el-form-item prop="username" label="审核人" class="is-required">
|
|
<el-input placeholder="请输入审核人" v-model="formData.username" type="text"
|
|
readonly></el-input>
|
|
</el-form-item>
|
|
</el-col>
|
|
<el-col :span="11" offset="2">
|
|
<el-form-item prop="shsj" label="审核时间">
|
|
<el-date-picker
|
|
style="width: 100%"
|
|
v-model="formData.shsj"
|
|
type="date"
|
|
value-format="yyyy-MM-dd"
|
|
:clearable="false"
|
|
placeholder="选择审核时间">
|
|
</el-date-picker>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-row>
|
|
<el-row>
|
|
<el-col :span="11">
|
|
<el-form-item prop="flag" label="审核状态">
|
|
<el-radio-group v-model="formData.flag" size="mini">
|
|
<el-radio label="true" border>通过</el-radio>
|
|
<el-radio label="false" border>驳回</el-radio>
|
|
</el-radio-group>
|
|
</el-form-item>
|
|
</el-col>
|
|
<el-col :span="11" offset="2">
|
|
|
|
</el-col>
|
|
</el-row>
|
|
<el-row v-if="formData.flag=='true'&&formData.hasXghbzje">
|
|
<el-col :span="11">
|
|
<el-form-item prop="jb" label="档  位">
|
|
<el-select v-model="formData.jb" @change="changeJb" placeholder="请选择档位" clearable>
|
|
<el-option
|
|
v-for="item in jbOptions"
|
|
:key="item"
|
|
:label="item"
|
|
:value="item">
|
|
</el-option>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-col>
|
|
<el-col :span="11" offset="2">
|
|
<el-form-item prop="xghbzje" label="补助金额">
|
|
<el-input v-model="formData.xghbzje"
|
|
onKeypress="return (/[\d]/.test(String.fromCharCode(event.keyCode)))"
|
|
placeholder="请输入补助金额" type="number">
|
|
<template style="border: none;background-color: white;" slot="append">元
|
|
</template>
|
|
</el-input>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-row>
|
|
<el-row>
|
|
<el-form-item prop="yj" label="审核意见">
|
|
<el-input placeholder="请输入意见" v-model="formData.yj" type="textarea"
|
|
:autosize="{ minRows: 4, maxRows: 8}" clearable></el-input>
|
|
</el-form-item>
|
|
</el-row>
|
|
<div>
|
|
<sign prefix="knbf" :qz.sync="formData.qz"></sign>
|
|
</div>
|
|
</el-form>
|
|
</el-card>
|
|
|
|
<span slot="footer" class="dialog-footer">
|
|
<el-button @click="plshDialogVisible = false">取 消</el-button>
|
|
<el-button type="primary" @click="doPlSh">确 定</el-button>
|
|
</span>
|
|
</el-dialog>
|
|
|
|
</div>
|
|
<script>
|
|
const vue = new Vue({
|
|
el: '#app',
|
|
data() {
|
|
return {
|
|
qz_loading: false,
|
|
shName: '',
|
|
activeNames: "1",
|
|
shViewDialog: false, //审核预约模态框
|
|
findViewDialog: false,//查看详细模态框
|
|
activeName: ['1'],
|
|
jbOptions: ['甲级', '乙级', '丙级'],
|
|
zzyyOptions: ['本人大病', '供养直系亲属大病', '本人残疾', '家属残疾', '本人下岗失业', '家属下岗失业', '收入低', '自然灾害', '重大事故', '子女上学', '其他'],
|
|
fclxOptions: ['商品房', '福利房', '经济适用房', '限价房', '自建房'],
|
|
fclyOptions: ['购买', '接收赠与', '继承', '其他来源'],
|
|
hyzkOptions: ['未婚', '已婚', '离异', '丧偶', '再婚'],
|
|
bzOptions: ['事业编制职工(正式职工)', '合同制职工', '人事代理职工', '集体职工', '流动编制职工', '非事业编制职工', '博士后进站人员', '劳务派遣人员', '聘用工(各二级单位聘用)'],
|
|
ztObj: {
|
|
1: {color: '#E6A23C', label: '待基层工会审核'},
|
|
2: {color: '#E6A23C', label: '待福利委员会审核'},
|
|
3: {color: '#E6A23C', label: '待校工会审核'},
|
|
4: {color: '#67C23A', label: '审核通过'},
|
|
5: {color: '#F56C6C', label: '审核不通过'},
|
|
},
|
|
subDis: false,
|
|
formData: {
|
|
zyzkyy: [],
|
|
jtcys: [],
|
|
qz: ''
|
|
},
|
|
userData: {},
|
|
viewData: {},
|
|
plshDialogVisible: false,
|
|
shDialogVisible: false,
|
|
viewDialogVisible: false,
|
|
addDialogVisible: false,
|
|
editDialogVisible: false,
|
|
tableData: [],
|
|
pageForm: {
|
|
searchName: "sqr.username",
|
|
searchKeyword: "",
|
|
pageNumber: 1,
|
|
pageSize: 10,
|
|
totalCount: 0,
|
|
pageOrderName: "",
|
|
pageOrderBy: ""
|
|
},
|
|
formRules: {
|
|
username: [{required: true, message: '必填', trigger: ['blur', 'change']}],
|
|
shsj: [{required: true, message: '必填', trigger: ['blur', 'change']}],
|
|
// yj: [{required: true, message: '必填', trigger: ['blur', 'change']}],
|
|
flag: [{required: true, message: '必选', trigger: ['blur', 'change']}],
|
|
xghbzje: [{required: true, message: '必填', trigger: ['blur', 'change']}],
|
|
jb: [{required: true, message: '必填', trigger: ['blur', 'change']}],
|
|
},
|
|
isNull(val) {
|
|
if (val === null || val === undefined || val === '') {
|
|
return true
|
|
}
|
|
return false
|
|
},
|
|
domainName: location.protocol + '//' + location.host,
|
|
multipleSelection: [],
|
|
}
|
|
},
|
|
filters: {
|
|
arr2str(val) {
|
|
if (val && val.length > 0) {
|
|
let str = ""
|
|
for (let i = 0; i < val.length; i++) {
|
|
str += val[i]
|
|
if (i < val.length - 1) {
|
|
str += '、'
|
|
}
|
|
}
|
|
return str
|
|
}
|
|
return ''
|
|
},
|
|
none2str(val) {
|
|
if (val === null || val === undefined || val === '') {
|
|
return '暂无'
|
|
}
|
|
return val
|
|
}
|
|
},
|
|
components: {
|
|
'sign': httpVueLoader('/components/sign/sign.vue?v=2.0.0')
|
|
},
|
|
methods: {
|
|
changeJb(val) {
|
|
},
|
|
doPlSh() {
|
|
this.$refs["addForm"].validate((valid) => {
|
|
var flag = true
|
|
if (valid && flag) {
|
|
this.subDis = true
|
|
const loading = this.$loading({
|
|
lock: true,
|
|
text: '数据提交中...',
|
|
spinner: 'el-icon-loading',
|
|
background: 'rgba(0, 0, 0, 0.7)'
|
|
});
|
|
|
|
$.post(base + "/platform/knbf/sh/doPlSh", this.formData, (data) => {
|
|
if (data.code == 0) {
|
|
this.$message({
|
|
message: data.msg,
|
|
type: 'success'
|
|
});
|
|
this.pageData();
|
|
this.plshDialogVisible = false;
|
|
} else {
|
|
this.$message({
|
|
message: data.msg,
|
|
type: 'error'
|
|
});
|
|
}
|
|
this.subDis = false
|
|
loading.close()
|
|
}, "json");
|
|
}
|
|
})
|
|
},
|
|
openPlsh() {
|
|
if (this.multipleSelection.length == 0) {
|
|
this.$message({
|
|
message: '请先选择需要审核的申请记录!',
|
|
type: 'warning'
|
|
});
|
|
} else {
|
|
let hasXghbzje = false
|
|
let multipleSelectionIds = []
|
|
this.multipleSelection.forEach(v => {
|
|
multipleSelectionIds.push(v.id)
|
|
if (v.zt == 3) {
|
|
hasXghbzje = true
|
|
}
|
|
})
|
|
this.formData = {
|
|
username: "${@shiro.getPrincipalProperty('username')}",
|
|
shsj: moment().format('YYYY-MM-DD'),
|
|
flag: true + '',
|
|
ids: JSON.stringify(multipleSelectionIds),
|
|
hasXghbzje: hasXghbzje
|
|
}
|
|
if (this.$refs["addForm"])
|
|
this.$refs["addForm"].resetFields();
|
|
this.plshDialogVisible = true;//打开编辑窗口
|
|
|
|
this.$nextTick(() => {
|
|
this.initQz()
|
|
})
|
|
}
|
|
},
|
|
handleSelectionChange(val) {
|
|
this.multipleSelection = val
|
|
},
|
|
initQz() {
|
|
this.formData.qz = ''
|
|
this.qz_loading = true
|
|
document.getElementById("qrcode").innerHTML = ''
|
|
clearInterval(this.qzInterval)
|
|
|
|
const tid = new Date().getTime()
|
|
|
|
new QRCode(document.getElementById("qrcode"), this.domainName + "/signature?prefix=knbf&id=" + tid); // 设置要生成二维码的链接
|
|
console.log(new QRCode(document.getElementById("qrcode"), this.domainName + "/signature?prefix=knbf&id=" + tid));
|
|
console.log(1)
|
|
this.qzInterval = setInterval(() => {
|
|
$.get(base + "/signature/getBase64?prefix=knbf&id=" + tid, (data) => {
|
|
if (data.code == 0 && !this.isNull(data.data)) {
|
|
this.formData.qz = data.data
|
|
this.qz_loading = false
|
|
clearInterval(this.qzInterval)
|
|
}
|
|
}, "json");
|
|
}, 1000 * 3)
|
|
},
|
|
doSh() {
|
|
console.log(this.formData)
|
|
this.$refs["addForm"].validate((valid) => {
|
|
var flag = true
|
|
if (valid && flag) {
|
|
this.subDis = true
|
|
const loading = this.$loading({
|
|
lock: true,
|
|
text: '数据提交中...',
|
|
spinner: 'el-icon-loading',
|
|
background: 'rgba(0, 0, 0, 0.7)'
|
|
});
|
|
|
|
/*if (this.viewData.zt != 2) {
|
|
this.formData.xghbzje = undefined
|
|
this.formData.jb = undefined
|
|
}*/
|
|
|
|
$.post(base + "/platform/knbf/sh/doSh", this.formData, (data) => {
|
|
if (data.code == 0) {
|
|
this.$message({
|
|
message: data.msg,
|
|
type: 'success'
|
|
});
|
|
this.pageData();
|
|
this.shViewDialog = false;
|
|
} else {
|
|
this.$message({
|
|
message: data.msg,
|
|
type: 'error'
|
|
});
|
|
}
|
|
this.subDis = false
|
|
loading.close()
|
|
}, "json");
|
|
}
|
|
})
|
|
},
|
|
openSh(id) {
|
|
$.get(base + "/platform/knbf/sq/findOne", {id: id}, (data) => {
|
|
if (data.code == 0) {
|
|
data.data.zyzkyy = JSON.parse(data.data.zyzkyy)
|
|
data.data.jtfc = JSON.parse(data.data.jtfc)
|
|
data.data.jtcc = JSON.parse(data.data.jtcc)
|
|
this.viewData = data.data;//加载后台表单数据
|
|
this.formData = {
|
|
id: id,
|
|
username: "${@shiro.getPrincipalProperty('username')}",
|
|
shsj: moment().format('YYYY-MM-DD'),
|
|
flag: true + '',
|
|
}
|
|
switch (this.viewData.zt) {
|
|
case 1:
|
|
this.shName = '基层工会审核意见'
|
|
break
|
|
case 2:
|
|
this.shName = '福利委员会审核意见'
|
|
break
|
|
case 3:
|
|
this.shName = '校工会审核意见'
|
|
break
|
|
}
|
|
this.activeNames = '5'
|
|
if (this.$refs["addForm"])
|
|
this.$refs["addForm"].resetFields();
|
|
this.shViewDialog = true;//打开编辑窗口
|
|
|
|
} else {
|
|
this.$message({
|
|
message: data.msg,
|
|
type: 'error'
|
|
});
|
|
}
|
|
}, "json");
|
|
this.shViewDialog = true;
|
|
},
|
|
openView(id) {
|
|
$.get(base + "/platform/knbf/sq/findOne", {id: id}, (data) => {
|
|
if (data.code == 0) {
|
|
data.data.zyzkyy = JSON.parse(data.data.zyzkyy)
|
|
data.data.jtfc = JSON.parse(data.data.jtfc)
|
|
data.data.jtcc = JSON.parse(data.data.jtcc)
|
|
this.viewData = data.data;//加载后台表单数据
|
|
} else {
|
|
this.$message({
|
|
message: data.msg,
|
|
type: 'error'
|
|
});
|
|
}
|
|
}, "json");
|
|
this.activeNames = "1"
|
|
this.findViewDialog = true;
|
|
},
|
|
doSearch() {
|
|
if (!this.isNull(this.pageForm.time)) {
|
|
this.pageForm.beforeTime = this.pageForm.time[0]
|
|
this.pageForm.endTime = this.pageForm.time[1]
|
|
} else {
|
|
this.pageForm.beforeTime = null
|
|
this.pageForm.endTime = null
|
|
}
|
|
this.pageForm.pageNumber = 1
|
|
this.pageData()
|
|
},
|
|
pageOrder(column) {//按字段排序
|
|
this.pageForm.pageOrderName = column.prop;
|
|
this.pageForm.pageOrderBy = column.order;
|
|
this.pageData();
|
|
},
|
|
pageNumberChange(val) {//页码更新操作
|
|
this.pageForm.pageNumber = val;
|
|
this.pageData();
|
|
},
|
|
pageSizeChange(val) {//分页大小更新操作
|
|
this.pageForm.pageSize = val;
|
|
this.pageData();
|
|
},
|
|
pageData() {//加载分页数据
|
|
sublime.showLoadingbar();//显示loading
|
|
$.post(base + "/platform/knbf/sh/pageData", this.pageForm, (data) => {
|
|
sublime.closeLoadingbar();//关闭loading
|
|
if (data.code == 0) {
|
|
this.tableData = data.data.list;
|
|
this.pageForm.totalCount = data.data.totalCount;
|
|
} else {
|
|
this.$message({
|
|
message: data.msg,
|
|
type: 'error'
|
|
});
|
|
}
|
|
}, "json");
|
|
},
|
|
},
|
|
created() {
|
|
this.pageData();
|
|
}
|
|
})
|
|
</script>
|
|
<!--#
|
|
}
|
|
#--> |