Commit a6eb911b authored by liucheng's avatar liucheng

Merge branch 'master' into 'dev'

# Conflicts:
#   xichongSys/src/utils/global.js
parents a805c3d3 cf072214
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptSettings">
<option name="languageLevel" value="ES6" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/xichonght.iml" filepath="$PROJECT_DIR$/.idea/xichonght.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
<excludeFolder url="file://$MODULE_DIR$/temp" />
<excludeFolder url="file://$MODULE_DIR$/tmp" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
\ No newline at end of file
......@@ -11,10 +11,12 @@ import store from '@/store'
import { getIFramePath, getIFrameUrl } from '@/utils/iframe'
import Table from '@/views/Myvue/table'
import Cbdj from '@/views/Myvue/insuredReg'
import insuredRegp from '@/views/Myvue/insuredRegp'
import Flow from '@/views/Myvue/flow'
import shrecord from '@/views/Myvue/examRecord'
import drcbdj from "@/views/Myvue/drcbdj"
import xxbg from "@/views/Myvue/infoChange"
import infoChangep from "@/views/Myvue/infoChangep";
import Record from "@/views/Myvue/authRecord"
import Newsupdata from "@/views/Myvue/newsupdata"
import drxxbg from "@/views/Myvue/drxxbg";
......@@ -27,16 +29,25 @@ import PayInfo from "@/views/Myvue/payInfo"
import application from "@/views/Myvue/application"
import importByExcel from "@/views/Myvue/importByExcel"
import insuranceCancellationAudit from "@/views/Myvue/insuranceCancellationAudit"
import insuranceCancellationAuditp from "@/views/Myvue/insuranceCancellationAuditp"
import supPaymentAudit from "@/views/Myvue/supPaymentAudit"
import supPaymentAuditp from "@/views/Myvue/supPaymentAuditp"
import traRelationsAudit from "@/views/Myvue/traRelationsAudit"
import traRelationsAuditp from "@/views/Myvue/traRelationsAuditp"
import upgradeReoAudit from "@/views/Myvue/upgradeReoAudit"
import upgradeReoAuditp from "@/views/Myvue/upgradeReoAuditp"
import interact from "@/views/Myvue/interact"
import preView from "@/views/Myvue/preView"
import treatmentApplicationAudit from "@/views/Myvue/treatmentApplicationAudit";
import treatmentApplicationAuditp from "@/views/Myvue/treatmentApplicationAuditp";
import drcbzx from "@/views/Myvue/drcbzx";
import drbjbf from "@/views/Myvue/drbjbf";
import drtsyw from "@/views/Myvue/drtsyw";
import authRecordphone from "@/views/Myvue/authRecordphone";
import importBaseInfoByExcel from "@/views/Myvue/importBaseInfoByExcel";
import importPayInfoByExcel from "@/views/Myvue/importPayInfoByExcel";
import importGrantInfoByExcel from "@/views/Myvue/importGrantInfoByExcel";
import tablep from "@/views/Myvue/tablep";
Vue.use(Router)
......@@ -190,6 +201,21 @@ const router = new Router({
name:"特殊业务导出",
component: drtsyw
},
{
path:"/importBaseInfo",
name:"参保覆盖导入",
component: importBaseInfoByExcel
},
{
path:"/importPayInfo",
name:"缴费明细导入",
component: importPayInfoByExcel
},
{
path:"/importGrantInfo",
name:"领取人员导入",
component: importGrantInfoByExcel
},
]
},
{
......@@ -201,12 +227,45 @@ const router = new Router({
path:"/authRecordphone",
name:"认证记录",
component: authRecordphone
},{
path:"/tablep",
name:"tablep",
component: tablep
},{
path:"/insuredRegp",
name:"insuredRegp",
component: insuredRegp
},{
path:"/infoChangep",
name:"infoChangep",
component: infoChangep
},{
path:"/upgradeReoAuditp",
name:"upgradeReoAuditp",
component: upgradeReoAuditp
},
{
path:"/traRelationsAuditp",
name:"traRelationsAuditp",
component: traRelationsAuditp
},{
path:"/treatmentApplicationAuditp",
name:"treatmentApplicationAuditp",
component: treatmentApplicationAuditp
},{
path:"/insuranceCancellationAuditp",
name:"insuranceCancellationAuditp",
component: insuranceCancellationAuditp
},{
path:"/supPaymentAuditp",
name:"supPaymentAuditp",
component: supPaymentAuditp
},
{
path: '/404',
name: 'notFound',
component: NotFound
}
},
]
})
......
......@@ -11,6 +11,7 @@
:sortable="column.sortable==null?true:column.sortable">
</el-table-column>
<el-table-column
align="center"
v-if="showSeal"
label="签章">
<template slot-scope="scope">
......@@ -26,9 +27,12 @@
</el-table-column>
<el-table-column :label="$t('action.operation')" width="185" fixed="right" v-if="showOperation" header-align="center" align="center">
<template slot-scope="scope">
<kt-button v-if="scope.row.name!=='admin'" icon="fa fa-edit" :label="$t('action.edit')" :perms="permsEdit" :size="size" @click="handleEdit(scope.$index, scope.row)" style="float: left"/>
<div v-if="scope.row.name!=='admin'" >
<kt-button v-if="showBatchDelete" icon="fa fa-edit" :label="$t('action.edit')" :perms="permsEdit" :size="size" @click="handleEdit(scope.$index, scope.row)" style="float: left"/>
<kt-button v-else icon="fa fa-edit" :label="$t('action.edit')" :perms="permsEdit" :size="size" @click="handleEdit(scope.$index, scope.row)"/>
</div>
<div v-if="scope.row.name!=='admin' && showBatchDelete">
<el-switch
v-if="scope.row.name!=='admin'"
class="statusSwitch"
style="display: block;float: left;margin-left: 20px;width: 50px"
v-model="scope.row.status==0?true:false"
......@@ -37,6 +41,8 @@
active-text="启"
inactive-text="禁" @change="handleDelete(scope.$index, scope.row)">
</el-switch>
</div>
<!-- <div v-if="scope.row.status == 1">-->
<!-- <kt-button icon="fa fa-trash" label="禁用" :perms="permsDelete" :size="size" type="danger" @click="handleDelete(scope.$index, scope.row)" />-->
<!-- </div>-->
......@@ -109,7 +115,7 @@ export default {
type: Boolean,
default: true
},
showSeal: { // 是否显示操作组件
showSeal: { // 是否显示签章列
type: Boolean,
default: false
},
......
<template>
<el-carousel :interval="100000000000000000" style="margin-top:30px;" align=center type="card" class="carousel" height="70vh" >
<el-carousel :interval="3000" style="margin-top:30px;" align=center type="card" class="carousel" height="70vh" >
<el-carousel-item class="carousel-item-intro" style="width:85%; height:100%;position:absolute;left:-18%;">
<div class="ddiv1">
<div class="div1" height=100% :style="{width: '90%', height: '100%'}" id="echartContainer1">
</div>
<div class="nextpage" style="margin-top:-50px">
<div class="div1" :style="{width: '90%', height: '90%'}" id="echartContainer1"></div>
<div class="nextpage">
<p style="display:none">{{count}}</p>
<el-button size="mini" class="gopagediv1" @click="goPageClick1"> 上一页</el-button>
<el-button size="mini" class="gopagediv1" @click="nextPageClick1"> 下一页</el-button>
</div>
</div>
</el-carousel-item>
<!-- <el-carousel-item class="carousel-item-func" style="width:85%;height:100%;position:absolute;left:-18%">
<el-carousel-item class="carousel-item-func" style="width:85%;height:100%;position:absolute;left:-18%">
<div class="ddiv2">
<div class="div2" id="echartContainer2" ></div>
</div>
<div class="div2" :style="{width: '90%', height: '90%'}" id="echartContainer2" ></div>
<div class="nextpage">
<p style="display:none"></p>
<el-button size="mini" class="gopagediv1" @click="goPageClick2"> 上一页</el-button>
<el-button size="mini" class="gopagediv1" @click="nextPageClick2"> 下一页</el-button>
</div>
</div>
</el-carousel-item>
<el-carousel-item class="carousel-item-env" style="width:85%;height:100%;position:absolute;left:-18%;">
</el-carousel-item> -->
</el-carousel>
</template>
<script>
import Axios from "axios"
import {baseUrl2} from "../../utils/global"
var echarts = require('echarts');
export default {
components:{
......@@ -51,6 +57,7 @@
containLabel: true
},
xAxis: {
name:"数量",
type: 'value'
},
yAxis: {
......@@ -145,13 +152,15 @@
},
]
},
count: 1,
chartdata:{
chartnum:'',
chartsize:'',
},
total:'',
fycount:'',
fysize:10,
fynum:0,
echartrz:{
title : {
......@@ -167,19 +176,25 @@
legend: {
x:'center',
top:'10%',
data: ['已认证', '未认证','认证比例']
data: ['已认证', '未认证','认证比例'],
selected: {
已认证:true,
未认证:true,
认证比例:false,
},
},
grid: {
top: '30%',
containLabel: true
},
xAxis: {
type: 'value'
type: 'value',
name:"数量"
},
yAxis: {
type: 'category',
name:'乡镇名称',
data: ['周一','周二','周三','周四','周五','周六','周日']
data: []
},
series: [
{
......@@ -192,7 +207,7 @@
position: 'insideRight'
}
},
data: [320, 302, 301, 334, 390, 330, 320]
data: []
},
{
name: '未认证',
......@@ -204,7 +219,7 @@
position: 'insideRight'
}
},
data: [120, 132, 101, 134, 90, 230, 210]
data: []
},
{
name: '认证比例',
......@@ -216,7 +231,7 @@
position: 'insideRight'
}
},
data: [0.56, 0.35, 0.91, 0.34, 0.9, 0.3, 0.31]
data: []
},
]
},
......@@ -224,14 +239,79 @@
},
mounted(){
sessionStorage.setItem("lj",JSON.stringify(this.echartzz));
sessionStorage.setItem("zz",JSON.stringify(this.echartzz));
sessionStorage.setItem("rz",JSON.stringify(this.echartrz));
this.chartinfo();
this.chart11();
this.chartCertification();
},
methods:{
chart11(){
chartCertification(){
Axios.get(baseUrl2+'/chart/timingselect',{
})
.then(res => {
this.icount = res.data.obj.pagetotal;
res.data.obj.result.length=this.fysize;
for (var i = this.fynum ; i <res.data.obj.result.length ; i++) {
this.echartrz.yAxis.data.push(res.data.obj.result[i].townName+" ");
this.echartrz.series[0].data.push(res.data.obj.result[i].verified);
this.echartrz.series[1].data.push(res.data.obj.result[i].unverified);
this.echartrz.series[2].data.push(res.data.obj.result[i].rzl);
}
//console.log("分页linit"+this.fynum+","+this.fysize);
//console.log("首次=="+this.fynum+","+this.fysize+"/////"+res.data.obj.result.length+"总数"+this.icount)
let myChart1 = echarts.init(document.getElementById('echartContainer2'));
myChart1.setOption(this.echartrz);
/* myChart1.on('legendselectchanged',function (parms) {
var option = this.getOption();
alert(123)
})*/
console.log()
})
.catch(res => {
console.log('报错了');
});
},
goPageClick2(){
if(this.fynum==0){
this.$message.error('已经第一页了');
}else{
this.echartrz=JSON.parse(sessionStorage.getItem("rz"));
if(this.fysize==this.icount){
this.fysize=this.fynum;
this.fynum=this.fynum-10;
this.chartCertification();
// console.log("上一页linit"+this.fynum+","+this.fysize);
}else {
this.fysize = this.fysize-10;
this.fynum=this.fynum-10;
this.chartCertification();
// console.log("上一页linit"+this.fynum+","+this.fysize);
}
}
},
nextPageClick2(){
if(this.fysize<this.icount){
this.fysize = this.fysize+10;
this.fynum=this.fynum+10;
this.echartrz=JSON.parse(sessionStorage.getItem("rz"));
if(this.fysize>this.icount){
this.fysize=this.icount
// console.log("下一页linit"+this.fynum+","+this.fysize);
this.chartCertification();
}else{
// console.log("下一页linit"+this.fynum+","+this.fysize);
this.chartCertification();
}
}else{
this.$message.error('已经是最后一页了');
}
},
chartinfo(){
......@@ -250,53 +330,47 @@
this.total = res.data.pagetotal;
let myChart1 = echarts.init(document.getElementById('echartContainer1'));
myChart1.setOption(this.echartzz);
/* let myChart2 = echarts.init(document.getElementById('echartContainer2'));
myChart2.setOption(this.echartrz);*/
}).catch((res) => {
console.log('报错了');
});
},
nextPageClick1(){
this.count++;
this.chartdata.chartnum = this.count;
this.chartdata.chartsize=10;
console.log(this.count);
if(this.total>(this.chartdata.chartnum-1)*this.chartdata.chartsize){
this.echartzz=JSON.parse(sessionStorage.getItem("lj"));
this.echartzz=JSON.parse(sessionStorage.getItem("zz"));
this.chartinfo(this.chartdata);
}else {
this.count--;
this.$message.error('已经是最后一页了');
}
},
goPageClick1(){
this.count--;
this.chartdata.chartnum = this.count;
this.chartdata.chartsize=10;
console.log(this.count);
if(this.count<1){
this.count++;
this.$message.error('已经是第一页了');
}else{
this.echartzz=JSON.parse(sessionStorage.getItem("lj"));
this.echartzz=JSON.parse(sessionStorage.getItem("zz"));
this.chartinfo(this.chartdata);
}
}
},
}
</script>
<style>
.carousel-item-intro {
background-color:#a3b3b965;
background-color:#D9E0E1;
-webkit-border-radius: 25px;
border-radius: 25px;
-moz-border-radius: 15px;
......@@ -304,7 +378,7 @@
box-shadow: 0 0 25px #a3b3b965;
}
.carousel-item-func {
background-color: #52c578;
background-color: #D9E0E1;
-webkit-border-radius: 25px;
border-radius: 25px;
-moz-border-radius: 15px;
......@@ -312,7 +386,8 @@
box-shadow: 0 0 25px #a3b3b965;
}
.carousel-item-env {
background-color: #41a7b9;
/*background-color: #41a7b9;*/
background-color: #D9E0E1;
-webkit-border-radius: 25px;
border-radius: 25px;
-moz-border-radius: 15px;
......@@ -321,23 +396,17 @@
}
.ddiv1{
margin: auto;
width: 90%;
height: 90%;
}
.div1{
height:65%;
margin-top: 5%;
}
.ddiv2{
margin: auto;
height: 90%;
}
.div2{
height:65%;
margin-top: 5%;
}
......
......@@ -114,6 +114,7 @@ export default {
}
},
mounted() {
this.$store.state.tab.mainTabs=[]
this.refreshCaptcha()
},
computed:{
......
......@@ -366,10 +366,10 @@ export default {
height: 100%;
margin-right: 20px
}
.block img{
width: auto;
height: 300px;
}
/*.block img{*/
/* width: auto;*/
/* height: 300px;*/
/*}*/
.imtil{
padding:0 0 20px 0
}
......
......@@ -153,6 +153,9 @@ import Candode from "../Core/candode"
},{
value:"3",
label:"未认证",
},{
value:"4",
label:"今年未认证"
}],
//时间
time:"",
......@@ -215,20 +218,30 @@ import Candode from "../Core/candode"
this.serchs(1)
},
serchs(p){
var start=""
var end=""
if(this.time){
var d=this.time[0]
var s=this.time[1]
console.log(d)
var mon=(parseInt(d.getMonth()) + 1)
var emon=(parseInt(s.getMonth()) + 1)
start = d.getFullYear()+"-"+mon+"-"+d.getDate()
var sta=""
if(this.state==4){
sta=3
start="2019-01-01"
end="2019-12-31"
}else{
start=""
end=""
}
// var start=""
// var end=""
// if(this.time){
// var d=this.time[0]
// var s=this.time[1]
// console.log(d)
// var mon=(parseInt(d.getMonth()) + 1)
// var emon=(parseInt(s.getMonth()) + 1)
// start = d.getFullYear()+"-"+mon+"-"+d.getDate()
end=s.getFullYear()+"-"+emon+"-"+s.getDate()
// end=s.getFullYear()+"-"+emon+"-"+s.getDate()
}
// }
console.log(this.townList)
var data={
province_name:"四川省",
......@@ -239,7 +252,7 @@ import Candode from "../Core/candode"
town_name:this.townList[0],
village_name:this.townList[1],
iDCard:this.idcard,
match_state:this.state,
match_state:sta?sta:this.state,
begin_time:start,
end_time:end,
siType:this.cblx,
......
......@@ -107,7 +107,9 @@
<el-pagination
class="pone"
:page-size='10'
layout="total, prev, pager, next, jumper"
:page-sizes="[10, 50, 100]"
@size-change="handleSizeChange"
layout="total, sizes, prev, pager, next, jumper"
:total="totals"
:current-page.sync="Page"
@current-change="current_change"
......@@ -164,6 +166,7 @@
return {
list:[],
pagesize:10,
name:"",
activities: [],
options1: [],
......@@ -177,6 +180,10 @@
}
},
methods: {
handleSizeChange(val){
this.pagesize=val
this.serche(this.Page)
},
childByValue(val){
this.townList=val
},
......@@ -259,9 +266,13 @@
// return '';
},
current_change(ss){
this.Page=ss
this.serche(ss)
},
serche(ss){
var data={
pageNum:ss,
pageSize:10,
pageSize:this.pagesize,
idcard:this.idcard,
type:this.ywtype
}
......
<template>
<div>
<el-alert
align="left"
title="请上传格式完全相同的excel,格式如下:"
type="warning"
:closable="false"
show-icon>
</el-alert>
<table style="text-align: center;border-collapse: collapse" cellspacing="0px" cellpadding="0px">
<tr>
<td style="border: 1px solid black">统筹区</td>
<td style="border: 1px solid black">街道或乡镇名称</td>
<td style="border: 1px solid black">社区名称</td>
<td style="border: 1px solid black">所属组</td>
<td style="border: 1px solid black">户口所在地</td>
<td style="border: 1px solid black">户口性质</td>
<td style="border: 1px solid black">个人编号</td>
<td style="border: 1px solid black">证件号码</td>
<td style="border: 1px solid black">姓名</td>
<td style="border: 1px solid black">性别</td>
<td style="border: 1px solid black">民族</td>
<td style="border: 1px solid black">出生日期</td>
<td style="border: 1px solid black">险种类型</td>
<td style="border: 1px solid black">参保状态</td>
<td style="border: 1px solid black">是否老农保</td>
<td style="border: 1px solid black">缴费状态</td>
<td style="border: 1px solid black">缴费档次</td>
<td style="border: 1px solid black">人员类别</td>
<td style="border: 1px solid black">离退休标志</td>
<td style="border: 1px solid black">个人身份</td>
<td style="border: 1px solid black">参保日期</td>
<td style="border: 1px solid black">档案编号</td>
</tr>
</table>
<el-upload
style="margin-top: 10px"
class="upload-demo"
ref="upload1"
:action="baseInfoUrl"
multiple
drag
accept=".xls,.xlsx"
:limit="1"
:headers="myHeader"
:before-upload="handleBeforeUpload"
:file-list="fileList"
:on-exceed="handleExceed"
:on-success="uploadSuccess"
:on-error="uploadError"
:auto-upload="false">
<i class="el-icon-upload"></i>
<div class="el-upload__text">将文件拖到此处,或<em>点击上传</em></div>
<div slot="tip" class="el-upload__tip">只能上传xls/xlsx文件,一次最多只能上传1个文件</div>
</el-upload>
<el-button
style="margin-top: 10px"
size="small"
type="success"
@click="submitUpload1"
v-loading.fullscreen.lock="loading">数据导入</el-button>
<el-dialog
ref="dialog"
:title="dialogTitle"
width="30%"
:visible.sync="dialogVisible">
<span v-text="dialogContent" style="font-size: 16px"></span>
</el-dialog>
</div>
</template>
<script>
import {baseUrl} from "../../utils/global";
import Cookies from "js-cookie";
let uploadedList = [];
export default {
name: "importBaseInfoByExcel",
data() {
return {
baseInfoUrl: baseUrl + "/baseInfo/importFromNewExcel",
myHeader: {
token: Cookies.get("token")
},
fileList: [],
dialogTitle: "",
dialogVisible: false,
dialogContent: "",
loading: false
};
},
methods: {
submitUpload1() {
this.$refs.upload1.submit();
},
handleExceed() {
this.$message.warning("当前限制选择 1 个文件,请删除后继续上传");
},
handleBeforeUpload(file) {
this.loading = true;
if (!file.name.endsWith(".xls") && !file.name.endsWith(".xlsx")) {
this.$message.warning(file.name + "不是excel文件");
this.loading = false;
return false;
}
// if (uploadedList.includes(file.name)) {
// this.$message.warning(file.name + "已被选中过,请勿重复选择");
// return false;
// }
// uploadedList.push(file.name);
},
async uploadSuccess(response) {
this.fileList = [];
this.dialogTitle = "导入结果";
this.dialogContent = response.data;
// this.dialogVisible = true;
this.loading = false;
// console.log("upload success");
this.$message({
type: "success",
message: response.data,
showClose: true,
duration: 0
});
},
async uploadError(response) {
this.fileList = [];
this.dialogTitle = "导入结果";
this.dialogContent = "导入失败";
// this.dialogVisible = true;
this.loading = false;
// console.log(response);
this.$alert(response.data, '导入结果', {
confirmButtonText: '确定',
callback: action => {
// this.$message({
// type: 'info',
// message: `action: ${ action }`
// });
}
});
},
}
}
</script>
<style scoped>
</style>
<template>
<div>
<el-alert
align="left"
title="请上传格式完全相同的excel,格式如下:"
type="warning"
:closable="false"
show-icon>
</el-alert>
<table style="text-align: center;border-collapse: collapse" cellspacing="0px" cellpadding="0px">
<tr>
<td style="border: 1px solid black">乡镇</td>
<td style="border: 1px solid black">村(社区)</td>
<td style="border: 1px solid black">村组</td>
<td style="border: 1px solid black">户籍地地址</td>
<td style="border: 1px solid black">常住地地址</td>
<td style="border: 1px solid black">个人编号</td>
<td style="border: 1px solid black">证件号码</td>
<td style="border: 1px solid black">姓名</td>
<td style="border: 1px solid black">待遇发放状态</td>
<td style="border: 1px solid black">最大发放期</td>
<td style="border: 1px solid black">银行</td>
<td style="border: 1px solid black">户名</td>
<td style="border: 1px solid black">账号</td>
<td style="border: 1px solid black">视同缴费月数</td>
<td style="border: 1px solid black">实际缴费月数</td>
<td style="border: 1px solid black">军龄折算月数</td>
<td style="border: 1px solid black">特殊工种折算月数</td>
<td style="border: 1px solid black">离退休日期</td>
<td style="border: 1px solid black">当前月领取标准</td>
<td style="border: 1px solid black">个人账户总金额</td>
<td style="border: 1px solid black">省级财政部分所占比例</td>
<td style="border: 1px solid black">市级财政部分所占比例</td>
<td style="border: 1px solid black">县级财政部分所占比例</td>
<td style="border: 1px solid black">集体补助部分所占比例</td>
<td style="border: 1px solid black">个人缴费部分所占比例</td>
</tr>
</table>
<!-- <el-table-->
<!-- border-->
<!-- style="width: 100%">-->
<!-- <el-table-column-->
<!-- label="乡镇">-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- label="村(社区)">-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- label="村组">-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- label="户籍地地址">-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- label="常住地地址">-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- label="个人编号">-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- label="证件号码">-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- label="姓名">-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- label="待遇发放状态">-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- label="最大发放期">-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- label="银行">-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- label="户名">-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- label="账号">-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- label="视同缴费月数">-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- label="实际缴费月数">-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- label="军龄折算月数">-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- label="特殊工种折算月数">-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- label="离退休日期">-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- label="当前月领取标准">-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- label="个人账户总金额">-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- label="省级财政部分所占比例">-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- label="市级财政部分所占比例">-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- label="县级财政部分所占比例">-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- label="集体补助部分所占比例">-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- label="个人缴费部分所占比例">-->
<!-- </el-table-column>-->
<!-- </el-table>-->
<el-upload
style="margin-top: 10px"
class="upload-demo"
ref="upload3"
:action="grantInfoUrl"
multiple
drag
accept=".xls,.xlsx"
:limit="1"
:headers="myHeader"
:before-upload="handleBeforeUpload"
:file-list="fileList"
:on-exceed="handleExceed"
:on-success="uploadSuccess"
:on-error="uploadError"
:auto-upload="false">
<i class="el-icon-upload"></i>
<div class="el-upload__text">将文件拖到此处,或<em>点击上传</em></div>
<div slot="tip" class="el-upload__tip">只能上传xls/xlsx文件,一次最多只能上传1个文件</div>
</el-upload>
<el-button
style="margin-top: 10px"
size="small"
type="success"
@click="submitUpload3"
v-loading.fullscreen.lock="loading">数据导入
</el-button>
<el-dialog
ref="dialog"
:title="dialogTitle"
width="30%"
:visible.sync="dialogVisible">
<span v-text="dialogContent" style="font-size: 16px"></span>
</el-dialog>
</div>
</template>
<script>
import {baseUrl} from "../../utils/global";
import Cookies from "js-cookie";
let uploadedList = [];
export default {
name: "importGrantInfoByExcel",
data() {
return {
grantInfoUrl: baseUrl + "/grantInfo/importFromExcel",
myHeader: {
token: Cookies.get("token")
},
fileList: [],
dialogTitle: "",
dialogVisible: false,
dialogContent: "",
loading: false
};
},
methods: {
submitUpload3() {
this.$refs.upload3.submit();
},
handleExceed() {
this.$message.warning("当前限制选择 1 个文件,请删除后继续上传");
},
handleBeforeUpload(file) {
this.loading = true;
if (!file.name.endsWith(".xls") && !file.name.endsWith(".xlsx")) {
this.$message.warning(file.name + "不是excel文件");
this.loading = false;
return false;
}
// if (uploadedList.includes(file.name)) {
// this.$message.warning(file.name + "已被选中过,请勿重复选择");
// return false;
// }
// uploadedList.push(file.name);
},
async uploadSuccess(response) {
this.fileList = [];
this.dialogTitle = "导入结果";
this.dialogContent = response.data;
// this.dialogVisible = true;
this.loading = false;
// console.log("upload success");
this.$message({
type: "success",
message: response.data,
showClose: true,
duration: 0
});
},
async uploadError(response) {
this.fileList = [];
this.dialogTitle = "导入结果";
this.dialogContent = "导入失败";
// this.dialogVisible = true;
this.loading = false;
// console.log(response);
this.$alert(response.data, '导入结果', {
confirmButtonText: '确定',
callback: action => {
// this.$message({
// type: 'info',
// message: `action: ${ action }`
// });
}
});
},
}
}
</script>
<style scoped>
</style>
<template>
<div>
<el-alert
align="left"
title="请上传格式完全相同的excel,格式如下:"
type="warning"
:closable="false"
show-icon>
</el-alert>
<table style="text-align: center;border-collapse: collapse" cellspacing="0px" cellpadding="0px">
<tr>
<td style="border: 1px solid black">个人编号</td>
<td style="border: 1px solid black">公民身份证</td>
<td style="border: 1px solid black">姓名</td>
<td style="border: 1px solid black">当前人员类别</td>
<td style="border: 1px solid black">缴费档次</td>
<td style="border: 1px solid black">应缴类型</td>
<td style="border: 1px solid black">个人应缴</td>
<td style="border: 1px solid black">个级财政补助和</td>
<td style="border: 1px solid black">代缴金额</td>
<td style="border: 1px solid black">对应费款所属期</td>
<td style="border: 1px solid black">险种类型</td>
<td style="border: 1px solid black">收缴方式</td>
<td style="border: 1px solid black">足额到账标志</td>
<td style="border: 1px solid black">足额到账年月</td>
<td style="border: 1px solid black">经办时间</td>
<td style="border: 1px solid black">经办人</td>
<td style="border: 1px solid black">征收方式</td>
<td style="border: 1px solid black">银行编号</td>
<td style="border: 1px solid black">银行账号</td>
<td style="border: 1px solid black">乡镇</td>
<td style="border: 1px solid black"></td>
<td style="border: 1px solid black"></td>
<td style="border: 1px solid black">地址</td>
<td style="border: 1px solid black">户口所在地</td>
</tr>
</table>
<el-upload
style="margin-top: 10px"
class="upload-demo"
ref="upload2"
:action="payInfoUrl"
multiple
drag
accept=".xls,.xlsx"
:limit="1"
:headers="myHeader"
:before-upload="handleBeforeUpload"
:file-list="fileList"
:on-exceed="handleExceed"
:on-success="uploadSuccess"
:on-error="uploadError"
:auto-upload="false">
<i class="el-icon-upload"></i>
<div class="el-upload__text">将文件拖到此处,或<em>点击上传</em></div>
<div slot="tip" class="el-upload__tip">只能上传xls/xlsx文件,一次最多只能上传1个文件</div>
</el-upload>
<el-button
style="margin-top: 10px"
size="small"
type="success"
@click="submitUpload2"
v-loading.fullscreen.lock="loading">数据导入</el-button>
<el-dialog
ref="dialog"
:title="dialogTitle"
width="30%"
:visible.sync="dialogVisible">
<span v-text="dialogContent" style="font-size: 16px"></span>
</el-dialog>
</div>
</template>
<script>
import {baseUrl} from "../../utils/global";
import Cookies from "js-cookie";
let uploadedList = [];
export default {
name: "importPayInfoByExcel",
data() {
return {
payInfoUrl: baseUrl + "/payInfo/importFromExcel",
myHeader: {
token: Cookies.get("token")
},
fileList: [],
dialogTitle: "",
dialogVisible: false,
dialogContent: "",
loading: false
};
},
methods: {
submitUpload2() {
this.$refs.upload2.submit();
},
handleExceed() {
this.$message.warning("当前限制选择 1 个文件,请删除后继续上传");
},
handleBeforeUpload(file) {
this.loading = true;
if (!file.name.endsWith(".xls") && !file.name.endsWith(".xlsx")) {
this.$message.warning(file.name + "不是excel文件");
this.loading = false;
return false;
}
// if (uploadedList.includes(file.name)) {
// this.$message.warning(file.name + "已被选中过,请勿重复选择");
// return false;
// }
// uploadedList.push(file.name);
},
async uploadSuccess(response) {
this.fileList = [];
this.dialogTitle = "导入结果";
this.dialogContent = response.data;
// this.dialogVisible = true;
this.loading = false;
// console.log("upload success");
this.$message({
type: "success",
message: response.data,
showClose: true,
duration: 0
});
},
async uploadError(response) {
this.fileList = [];
this.dialogTitle = "导入结果";
this.dialogContent = "导入失败";
// this.dialogVisible = true;
this.loading = false;
// console.log(response);
this.$alert(response.data, '导入结果', {
confirmButtonText: '确定',
callback: action => {
// this.$message({
// type: 'info',
// message: `action: ${ action }`
// });
}
});
},
}
}
</script>
<style scoped>
</style>
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -20,7 +20,13 @@
<el-table
:data="tableData"
style="width: 100%"
@selection-change="handleSelectionChange"
tooltip-effect="dark"
>
<el-table-column
type="selection"
width="55">
</el-table-column>
<el-table-column
prop="idcard"
label="身份证号"
......@@ -90,17 +96,22 @@
</template>
</el-table-column>
</el-table>
<div class="bottom">
<kt-button class="check" icon="el-icon-delete" label="删除已选" perms="sys:user:add" type="primary" />
<el-pagination
class="pone"
:page-size='10'
layout="total, prev, pager, next, jumper"
:page-sizes="[10, 50, 100]"
layout="total, sizes, prev, pager, next, jumper"
:total="totals"
:current-page.sync="Page"
@current-change="current_change"
@size-change="handleSizeChange"
>
</el-pagination>
</div>
</div>
</template>
<style>
......@@ -124,8 +135,16 @@
.el-table .success-row {
background: #f0f9eb;
}
.bottom{
margin-top: 40px;
overflow: hidden;
}
.pone{
margin-top: 40px
margin-left: 250px;
float: left;
}
.check{
float: left;
}
</style>
......@@ -133,9 +152,11 @@
import CryptoJS from 'crypto-js'
import { Loading } from 'element-ui';
import Candode from "../Core/candode"
import KtButton from "@/views/Core/KtButton"
// import baseUrl from "../../globe/globeUrl"
export default {
components:{
KtButton,
Candode
},
data() {
......@@ -148,10 +169,19 @@
idcard:"",
ywtype:"",
info:'',
tableData: []
pageSize:10,
tableData: [],
multipleSelection: []
}
},
methods: {
handleSelectionChange(val){
this.multipleSelection=val
},
handleSizeChange(val){
this.pageSize=val
this.serchh(this.Page)
},
childByValue(val){
this.townList=val
},
......@@ -223,9 +253,12 @@
},
current_change(ss){
this.serchh(ss)
},
serchh(ss){
var data={
pageNum:ss,
pageSize:10,
pageSize:this.pageSize,
idcard:this.idcard,
type:this.ywtype
}
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -16,7 +16,7 @@
</div>
<!--表格内容栏-->
<kt-table :height="350" permsEdit="sys:dict:edit" permsDelete="sys:dict:delete"
:data="pageResult" :columns="columns"
:data="pageResult" :columns="columns" :showBatchDelete="false"
@findPage="findPage" @handleEdit="handleEdit" @handleDelete="handleDelete">
</kt-table>
<!--新增编辑界面-->
......
......@@ -29,9 +29,9 @@
<el-form-item label="角色名" prop="name">
<el-input v-model="dataForm.name" auto-complete="off"></el-input>
</el-form-item>
<el-form-item label="备注" prop="remark">
<el-input v-model="dataForm.remark" auto-complete="off" type="textarea"></el-input>
</el-form-item>
<!-- <el-form-item label="备注" prop="remark">-->
<!-- <el-input v-model="dataForm.remark" auto-complete="off" type="textarea"></el-input>-->
<!-- </el-form-item>-->
<el-form-item label="签章" prop="seal" align="left" style="height: 80px">
<el-popover
v-if="typeof(dataForm.sealStr) !== 'undefined' && dataForm.sealStr !== null && dataForm.sealStr !== ''"
......@@ -176,7 +176,7 @@ export default {
this.dataForm = {
id: 0,
name: '',
remark: '',
remark: this.name,
seal: '',
sealStr: '',
}
......@@ -195,6 +195,7 @@ export default {
if (valid) {
this.$confirm('确认提交吗?', '提示', {}).then(() => {
this.editLoading = true
this.dataForm.remark = this.dataForm.name;
console.log(this.dataForm);
let params = Object.assign({}, this.dataForm)
this.$api.role.save(params).then((res) => {
......
......@@ -153,7 +153,7 @@ export default {
],
password: [
{ required: true, message: '请输入密码', trigger: 'blur'},
{ pattern: /^[\w_-]{6,18}$/, message: '密码必须为6至18位', trigger: 'blur'}
// { pattern: /^[\w_-]{6,18}$/, message: '密码必须为6至18位', trigger: 'blur'}
],
},
// 新增编辑界面数据
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment