Commit 73aef843 authored by qddidi's avatar qddidi

213

parents eab871f7 4e201c5f
......@@ -4,7 +4,7 @@ node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
/src/utils/global.js
# Editor directories and files
.idea
.vscode
......
......@@ -114,7 +114,7 @@ export const seleyhkbgdc = (data) => {
data
})
}
//银行卡变更导出
//档次变更导出
export const seledcbgdc = (data) => {
return axios({
url: '/baseInfo/getUpdateGrade',
......@@ -146,6 +146,14 @@ export const listAllBaseInfo = (data) => {
params
})
}
//缴费信息查询
export const listPayInfo = (data) => {
return axios({
url: '/payInfo/getPayInfo',
method: 'post',
data
})
}
//领取人员查询
export const getGrantList = (data) => {
return axios({
......@@ -162,6 +170,13 @@ export const selectRoleflowNo = (params) => {
params
})
}
export const updatePassword = (data)=>{
return axios({
url: 'user/updatePassword',
method: 'post',
data
})
}
export const getTown = () => {
return axios({
url: '/dept/findTreeByUser',
......@@ -170,3 +185,19 @@ export const selectRoleflowNo = (params) => {
})
}
//
//参保注销导出
export const selecbzxdc = (data) => {
return axios({
url: '/baseInfo/getInsuranceCancel',
method: 'post',
data
})
};
//补缴保费导出
export const selebjbfdc = (data) => {
return axios({
url: '/baseInfo/getSupPayment',
method: 'post',
data
})
};
......@@ -25,6 +25,7 @@ import receivePersonnel from "@/views/Myvue/receivePersonnel";
import AllbaseInfo from "@/views/Myvue/allbaseInfo"
import PayInfo from "@/views/Myvue/payInfo"
import application from "@/views/Myvue/application"
<<<<<<< HEAD
import importByExcel from "@/views/Myvue/importByExcel"
import treatmentApplicationAudit from "@/views/Myvue/treatmentApplicationAudit"
import insuranceCancellationAudit from "@/views/Myvue/insuranceCancellationAudit"
......@@ -32,6 +33,19 @@ import supPaymentAudit from "@/views/Myvue/supPaymentAudit"
import traRelationsAudit from "@/views/Myvue/traRelationsAudit"
import upgradeReoAudit from "@/views/Myvue/upgradeReoAudit"
import authRecordphone from "@/views/Myvue/authRecordphone"
=======
import importByExcel from "@/views/Myvue/importByExcel";
import treatmentApplicationAudit from "@/views/Myvue/treatmentApplicationAudit";
import insuranceCancellationAudit from "@/views/Myvue/insuranceCancellationAudit";
import supPaymentAudit from "@/views/Myvue/supPaymentAudit";
import traRelationsAudit from "@/views/Myvue/traRelationsAudit";
import upgradeReoAudit from "@/views/Myvue/upgradeReoAudit";
import drcbzx from "@/views/Myvue/drcbzx";
import drbjbf from "@/views/Myvue/drbjbf";
import drtsyw from "@/views/Myvue/drtsyw";
>>>>>>> 4e201c5fbe015e3f7e92292d7a21d0239a5d74d1
Vue.use(Router)
const router = new Router({
......@@ -77,27 +91,27 @@ const router = new Router({
},
{
path:"/Output_1",
name:"参保登记",
name:"参保登记导出",
component: drcbdj
},
{
path:"/modifyall",
name:"所有变更",
path:"/modifyAllExport",
name:"所有变更导出",
component: drxxbg
},
{
path:"/modifybankcard",
name:"银行卡变更",
path:"/modifyBanExport",
name:"银行卡变更导出",
component: dryhkbg
},
{
path:"/modifygrade",
name:"档次变更",
path:"/modifyGraExport",
name:"档次变更导出",
component: drdcbg
},
{
path:"/treatmentApplication",
name:"待遇申请",
path:"/treatmentAppExport",
name:"待遇申请导出",
component: drdysq
},
{
......@@ -160,6 +174,21 @@ const router = new Router({
name:"关系转移审核",
component: traRelationsAudit
},
{
path:"/insCanExport",
name:"参保注销导出",
component: drcbzx
},
{
path:"/supPayExport",
name:"补缴保费导出",
component: drbjbf
},
{
path:"/speBusExport",
name:"特殊业务导出",
component: drtsyw
},
]
},
{
......
......@@ -5,25 +5,10 @@
*/
// 后台管理系统服务器地址
//export const baseUrl = 'http://172.16.10.33:9002'
//export const baseUrl = 'http://172.16.10.25:9009'
//export const baseUrl ="http://faceauth.weface.com.cn:98"
//export const baseUrl2 = 'http://faceauth.weface.com.cn:97'
//export const baseUrl = 'http://172.16.10.33:9002'
export const baseUrl2 = 'http://xclc.rensheju.com'
//export const baseUrl = 'http://xc.rensheju.com'
export const baseUrl = 'http://172.16.10.33:9002'
//export const baseUrl ="http://172.16.10.33:9002"
//export const baseUrl2 = 'http://172.16.10.25:9999'
//export const baseUrl = 'http://172.16.10.25:9002'
//export const baseUrl ="http://172.16.10.33:9002"
export const baseUrl2 = 'http://172.16.10.25:9007'
//export const baseUrl = 'http://172.16.10.33:9002'
//export const baseUrl = 'http://172.16.10.25:9009'
//export const baseUrl ="http://faceauth.weface.com.cn:98"
//export const baseUrl2 = 'http://faceauth.weface.com.cn:97'
// 系统数据备份还原服务器地址
//export const backupBaseUrl = 'http://localhost:8002'
//export const baseUrl = 'http://faceauth.weface.com.cn:98'
//export const baseUrl2 = 'http://172.16.10.163:9002'
export default {
baseUrl,
......
......@@ -20,7 +20,7 @@
<el-button size="small" icon="fa fa-male"> 个人中心</el-button>
</span>
<span class="main-operation-item">
<el-button size="small" icon="fa fa-key"> 修改密码</el-button>
<el-button size="small" icon="fa fa-key" @click=openPasswordDialog()> 修改密码</el-button>
</span>
</div>
......@@ -30,11 +30,32 @@
</div>
<!--备份还原界面-->
<!-- <backup ref="backupDialog" @afterRestore="afterRestore"></backup> -->
<el-dialog :modal-append-to-body='false' title="修改密码" :visible.sync="updatePasswordDialogVisible" width="25%">
<el-form :model="item">
<el-input placeholder="请输入原密码" v-model="item.password" show-password maxlength = 8 minlength = 6 ></el-input>
<div style="margin: 20px 0;">
</div>
<el-input placeholder="请输入新密码 6~8位" v-model="item.newpassword" show-password maxlength = 8 minlength = 6></el-input>
<div style="margin: 20px 0;"/>
<el-input placeholder="再次输入新密码 6~8位" v-model="item.newpasswordagain" show-password maxlength = 8 minlength = 6></el-input>
<div style="margin: 20px 0;"/>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button @click="updatePasswordDialogVisible = false">取 消</el-button>
<el-button type="primary" @click = updatePassword() >确 定</el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import Cookies from "js-cookie"
import router from '@/router'
//import Backup from "@/views/Backup/Backup"
export default {
name: 'PersonalPanel',
......@@ -54,7 +75,14 @@ export default {
},
data() {
return {
updatePasswordDialogVisible : false,
item :{
newpassword : "",
newpasswordagain : "",
password : ""
}
}
},
methods: {
// 退出登录
......@@ -89,10 +117,52 @@ export default {
this.$api.login.logout().then((res) => {
}).catch(function(res) {
})
},
openPasswordDialog:function () {
this.updatePasswordDialogVisible = true;
this.item = {
newpassword: "",
newpasswordagain: "",
password: ""
}
},
updatePassword: function () {
var rex = /^[\w_-]{6,8}$/
if(this.item.password == ''){
this.$message({message: '请输入原密码', type: 'error'})
return;
}
if(this.item.newpassword == ''){
this.$message({message: '请输入新密码 ', type: 'error'})
return;
}
if(!rex.test(this.item.newpassword)){
this.$message({message: '新密码不规范', type: 'error'})
return;
}
if(this.item.newpassword == this.item.password){
this.$message({message: '新旧密码一致', type: 'error'})
return;
}
if(this.item.newpassword != this.item.newpasswordagain){
this.$message({message: '新密码不一致', type: 'error'})
return;
}
this.$api.getlist.updatePassword(this.item).then((res) => {
if(res.code == 200) {
this.$message({ message: '操作成功', type: 'success' })
this.updatePasswordDialogVisible = false;
//this.$refs['item'].resetFields()
Cookies.remove("token")
router.push('/login')
}else {
this.$message({message: '操作失败, ' + res.message, type: 'error'})
}
});
},
mounted() {
}
}
}
</script>
......
<template>
<div>
<div class="op">
<Candode v-on:childByValue="childByValue"></Candode>
<div class="nam">
<el-input v-model="personName" size="mini" placeholder="请输入姓名"></el-input>
</div>
......@@ -229,7 +231,12 @@
import CryptoJS from 'crypto-js'
import { Loading } from 'element-ui';
import {formatDate} from '../../utils/datetime'
import Candode from "../Core/candode"
export default {
components:{
Candode
},
data() {
return {
Page: 1,
......@@ -240,9 +247,13 @@
dialogFormVisible:false,
form:{},
tableData: [],
townList:'',
}
},
methods: {
childByValue(val){
this.townList=val
},
showDetail(index,row){
this.dialogFormVisible = true;
this.form = row;
......@@ -253,6 +264,8 @@
var data={
idcard:this.idcard?this.Encrypt(this.idcard):"",
personName:this.personName?this.Encrypt(this.personName):"",
townName: this.townList?this.townList[0]:'',
villageName:this.townList?this.townList[1]:''
}
Loading.service();
this.$api.getlist.listAllBaseInfo(data).then((res) => {
......
......@@ -2,8 +2,9 @@
<div>
<div class="op">
<Candode v-on:childByValue="childByValue"></Candode>
<div class="add" style="margin-left:0">
<!--<div class="add" style="margin-left:0">
<el-select clearable size="mini" @change="handleChange" v-model="town" placeholder="请选择乡/镇">
<el-option
v-for="item in list"
......@@ -22,7 +23,7 @@
:value="item2.village_id+','+item2.village_name">
</el-option>
</el-select>
</div>
</div>-->
<div class="nam">
<el-input v-model="name" clearable size="mini" placeholder="请输入姓名"></el-input>
</div>
......@@ -190,7 +191,12 @@ import Cookies from "js-cookie";
import {listtown} from '../../utils/address'
import {baseUrl2} from "../../utils/global"
import defaultImg from "../../assets/defaultPicture.jpg"
import Candode from "../Core/candode"
export default {
components:{
Candode
},
data() {
return {
......@@ -199,11 +205,11 @@ import defaultImg from "../../assets/defaultPicture.jpg"
town:"",
village:"",
defaultImg: defaultImg,
townList:"",
cit:"",
Page:1,
totals:0,
idcard:"",
ywtype:"",
info:'',
ywtype:'',
tableData: [],
......@@ -267,6 +273,9 @@ import defaultImg from "../../assets/defaultPicture.jpg"
}
},
methods: {
childByValue(val){
this.townList=val
},
//搜索
serch(){
Loading.service();
......@@ -293,8 +302,10 @@ import defaultImg from "../../assets/defaultPicture.jpg"
county_name:"西充县",
pageSize:10,
page:p,
town_name:this.town.split(",")[1],
village_name:this.village.split(",")[1],
// town_name:this.town.split(",")[1],
// village_name:this.village.split(",")[1],
town_name: this.townList?this.townList[0]:'',
village_name:this.townList?this.townList[1]:'',
iDCard:this.idcard,
match_state:this.state,
begin_time:start,
......
<template>
<div>
<el-table
v-loading.fullscreen.lock="loading"
:data="tableData"
style="width: 100%"
>
<el-table-column
prop="idcard"
label="身份证号码"
min-width="20%">
</el-table-column>
<el-table-column
prop="name"
label="姓名"
min-width="20%">
</el-table-column>
<el-table-column
prop="bankAccount"
label="银行账号"
min-width="20%">
</el-table-column>
<el-table-column
prop="bank"
label="所属银行"
min-width="20%">
</el-table-column>
<el-table-column label="操作"
min-width="20%">
<template slot-scope="scope">
<el-button
size="mini"
type="primary"
@click="toPdf(scope.$index, scope.row)">导出pdf
</el-button>
</template>
</el-table-column>
</el-table>
<el-pagination
class="pone"
:page-size='10'
layout="total, prev, pager, next, jumper"
:total="totals"
:current-page.sync="PageNum"
@current-change="current_change"
>
</el-pagination>
<!-- <el-button type="success" @click="toexcel" style="margin:50px">全部导出</el-button>-->
</div>
</template>
<script>
import {Loading} from 'element-ui';
import {baseUrl} from "../../utils/global"
import axios from "axios"
import Cookies from "js-cookie";
export default {
data() {
return {
PageNum: 1,
totals: 0,
tableData: [],
loading: false
}
},
methods: {
toPdf(s, d) {
this.loading = true;
console.log(d)
axios.get(baseUrl + '/exportPdf/supPayment?id=' + d.eventId, {
headers: {
"token": Cookies.get("token")
},
responseType: 'blob' //告诉服务器我们需要的响应格式
})
.then(res => {
let a = document.createElement("a");
let blob = new Blob([res.data], {
type: 'application/vnd.ms-excel' //将会被放入到blob中的数组内容的MIME类型
});
a.href = URL.createObjectURL(blob); //生成一个url
a.download = "西充县城乡居民社会养老保险补缴申请表" + Date.now() + ".pdf";
a.click();
// let objectUrl = URL.createObjectURL(blob); //生成一个url
// window.location.href = objectUrl; //浏览器打开这个url
this.loading = false;
})
.catch(err => {
console.log(err);
this.loading = false;
});
},
current_change(s) {
var data = {
"pageNum": s,
"pageSize": 10
}
Loading.service();
this.$api.getlist.selebjbfdc(data).then((res) => {
let loadingInstance = Loading.service();
this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
loadingInstance.close();
});
if (res.code == 200) {
this.tableData = res.data.content
this.totals = res.data.totalSize
}
}).catch((res) => {
});
},
// toexcel() {
// this.loading = true;
// axios.get(baseUrl + '/exportExcel/updateBankCard', {
// headers: {
// "token": Cookies.get("token")
// },
// responseType: 'blob' //告诉服务器我们需要的响应格式
// })
// .then(res => {
// let a = document.createElement("a");
// let blob = new Blob([res.data], {
// type: 'application/vnd.ms-excel' //将会被放入到blob中的数组内容的MIME类型
// });
// a.href = URL.createObjectURL(blob); //生成一个url
// a.download = "补缴保费表" + Date.now() + ".xlsx";
// a.click();
// // let objectUrl = URL.createObjectURL(blob); //生成一个url
// // window.location.href = objectUrl; //浏览器打开这个url
// this.loading = false;
// })
// .catch(err => {
// console.log(err);
// this.loading = false;
// });
// // this.$api.getlist.dccc().then((res) => {
// // let loadingInstance = Loading.service();
// // this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
// // loadingInstance.close();
// // });
// // if(res.code==200){
// // this.tableData=res.data.result
// // this.totals=res.data.total
// // }
//
// // }).catch((res) => {
//
// // });
// }
},
created() {
var data = {
"pageNum": 1,
"pageSize": 10
}
Loading.service();
this.$api.getlist.selebjbfdc(data).then((res) => {
let loadingInstance = Loading.service();
this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
loadingInstance.close();
});
if (res.code == 200) {
this.tableData = res.data.content
this.totals = res.data.totalSize
}
}).catch((res) => {
});
},
}
</script>
<template>
<div>
<el-table
v-loading.fullscreen.lock="loading"
:data="tableData"
style="width: 100%"
>
<el-table-column
prop="idcard"
label="身份证号码"
min-width="15%">
</el-table-column>
<el-table-column
prop="name"
label="姓名"
min-width="10%">
</el-table-column>
<el-table-column
prop="bankAccount"
label="终止原因"
min-width="10%">
</el-table-column>
<el-table-column
prop="bank"
label="个人账户余额"
min-width="10%">
</el-table-column>
<el-table-column
prop="bank"
label="合计发放金额"
min-width="15%">
</el-table-column>
<el-table-column
prop="bank"
label="发放账户"
min-width="15%">
</el-table-column>
<el-table-column
prop="bank"
label="指定受益人或法定继承人"
min-width="15%">
</el-table-column>
<el-table-column
prop="bank"
label="与终止人关系"
min-width="10%">
</el-table-column>
<el-table-column label="操作"
min-width="15%">
<template slot-scope="scope">
<el-button
size="mini"
type="primary"
@click="toPdf(scope.$index, scope.row)">导出pdf
</el-button>
</template>
</el-table-column>
</el-table>
<el-pagination
class="pone"
:page-size='10'
layout="total, prev, pager, next, jumper"
:total="totals"
:current-page.sync="PageNum"
@current-change="current_change"
>
</el-pagination>
<!-- <el-button type="success" @click="toexcel" style="margin:50px">全部导出</el-button>-->
</div>
</template>
<script>
import {Loading} from 'element-ui';
import {baseUrl} from "../../utils/global"
import axios from "axios"
import Cookies from "js-cookie";
export default {
data() {
return {
PageNum: 1,
totals: 0,
tableData: [],
loading: false
}
},
methods: {
toPdf(s, d) {
this.loading = true;
console.log(d)
axios.get(baseUrl + '/exportPdf/insuranceCancel?id=' + d.eventId, {
headers: {
"token": Cookies.get("token")
},
responseType: 'blob' //告诉服务器我们需要的响应格式
})
.then(res => {
let a = document.createElement("a");
let blob = new Blob([res.data], {
type: 'application/vnd.ms-excel' //将会被放入到blob中的数组内容的MIME类型
});
a.href = URL.createObjectURL(blob); //生成一个url
a.download = "西充县城乡居民社会养老保险终止注销登记表" + Date.now() + ".pdf";
a.click();
// let objectUrl = URL.createObjectURL(blob); //生成一个url
// window.location.href = objectUrl; //浏览器打开这个url
this.loading = false;
})
.catch(err => {
console.log(err);
this.loading = false;
});
},
current_change(s) {
var data = {
"pageNum": s,
"pageSize": 10
}
Loading.service();
this.$api.getlist.selecbzxdc(data).then((res) => {
let loadingInstance = Loading.service();
this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
loadingInstance.close();
});
if (res.code == 200) {
this.tableData = res.data.content
this.totals = res.data.totalSize
}
}).catch((res) => {
});
},
// toexcel() {
// this.loading = true;
// axios.get(baseUrl + '/exportExcel/updateBankCard', {
// headers: {
// "token": Cookies.get("token")
// },
// responseType: 'blob' //告诉服务器我们需要的响应格式
// })
// .then(res => {
// let a = document.createElement("a");
// let blob = new Blob([res.data], {
// type: 'application/vnd.ms-excel' //将会被放入到blob中的数组内容的MIME类型
// });
// a.href = URL.createObjectURL(blob); //生成一个url
// a.download = "参保注销表" + Date.now() + ".xlsx";
// a.click();
// // let objectUrl = URL.createObjectURL(blob); //生成一个url
// // window.location.href = objectUrl; //浏览器打开这个url
// this.loading = false;
// })
// .catch(err => {
// console.log(err);
// this.loading = false;
// });
// // this.$api.getlist.dccc().then((res) => {
// // let loadingInstance = Loading.service();
// // this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
// // loadingInstance.close();
// // });
// // if(res.code==200){
// // this.tableData=res.data.result
// // this.totals=res.data.total
// // }
//
// // }).catch((res) => {
//
// // });
// }
},
created() {
var data = {
"pageNum": 1,
"pageSize": 10
}
Loading.service();
this.$api.getlist.selecbzxdc(data).then((res) => {
let loadingInstance = Loading.service();
this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
loadingInstance.close();
});
if (res.code == 200) {
this.tableData = res.data.content
this.totals = res.data.totalSize
}
}).catch((res) => {
});
},
}
</script>
......@@ -60,7 +60,7 @@
methods: {
toPdf(s, d) {
console.log(d)
axios.get(baseUrl + '/exportPdf/specialAudit?id=' + d.eventId, {
axios.get(baseUrl + '/exportPdf/receivingAudit?id=' + d.eventId, {
headers: {
"token": Cookies.get("token")
},
......
<template>
<div>
<el-table
v-loading.fullscreen.lock="loading"
:data="tableData"
style="width: 100%"
>
<el-table-column
prop="idcard"
label="身份证号码"
min-width="20%">
</el-table-column>
<el-table-column
prop="name"
label="姓名"
min-width="20%">
</el-table-column>
<el-table-column
prop="bankAccount"
label="银行账号"
min-width="20%">
</el-table-column>
<el-table-column
prop="bank"
label="所属银行"
min-width="20%">
</el-table-column>
<el-table-column label="操作"
min-width="20%">
<template slot-scope="scope">
<el-button
size="mini"
type="primary"
@click="toPdf(scope.$index, scope.row)">导出pdf
</el-button>
</template>
</el-table-column>
</el-table>
<el-pagination
class="pone"
:page-size='10'
layout="total, prev, pager, next, jumper"
:total="totals"
:current-page.sync="PageNum"
@current-change="current_change"
>
</el-pagination>
<!-- <el-button type="success" @click="toexcel" style="margin:50px">全部导出</el-button>-->
</div>
</template>
<script>
import {Loading} from 'element-ui';
import {baseUrl} from "../../utils/global"
import axios from "axios"
import Cookies from "js-cookie";
export default {
data() {
return {
PageNum: 1,
totals: 0,
tableData: [],
loading: false
}
},
methods: {
toPdf(s, d) {
this.loading = true;
console.log(d)
axios.get(baseUrl + '/exportPdf/specialAudit?id=' + d.eventId, {
headers: {
"token": Cookies.get("token")
},
responseType: 'blob' //告诉服务器我们需要的响应格式
})
.then(res => {
let a = document.createElement("a");
let blob = new Blob([res.data], {
type: 'application/vnd.ms-excel' //将会被放入到blob中的数组内容的MIME类型
});
a.href = URL.createObjectURL(blob); //生成一个url
a.download = "西充县城乡居民社会养老保险特殊人群待遇审核表" + Date.now() + ".pdf";
a.click();
// let objectUrl = URL.createObjectURL(blob); //生成一个url
// window.location.href = objectUrl; //浏览器打开这个url
this.loading = false;
})
.catch(err => {
console.log(err);
this.loading = false;
});
},
current_change(s) {
var data = {
"pageNum": s,
"pageSize": 10
}
Loading.service();
this.$api.getlist.seleyhkbgdc(data).then((res) => {
let loadingInstance = Loading.service();
this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
loadingInstance.close();
});
if (res.code == 200) {
this.tableData = res.data.content
this.totals = res.data.totalSize
}
}).catch((res) => {
});
},
toexcel() {
this.loading = true;
axios.get(baseUrl + '/exportExcel/updateBankCard', {
headers: {
"token": Cookies.get("token")
},
responseType: 'blob' //告诉服务器我们需要的响应格式
})
.then(res => {
let a = document.createElement("a");
let blob = new Blob([res.data], {
type: 'application/vnd.ms-excel' //将会被放入到blob中的数组内容的MIME类型
});
a.href = URL.createObjectURL(blob); //生成一个url
a.download = "特殊业务表" + Date.now() + ".xlsx";
a.click();
// let objectUrl = URL.createObjectURL(blob); //生成一个url
// window.location.href = objectUrl; //浏览器打开这个url
this.loading = false;
})
.catch(err => {
console.log(err);
this.loading = false;
});
// this.$api.getlist.dccc().then((res) => {
// let loadingInstance = Loading.service();
// this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
// loadingInstance.close();
// });
// if(res.code==200){
// this.tableData=res.data.result
// this.totals=res.data.total
// }
// }).catch((res) => {
// });
}
},
created() {
var data = {
"pageNum": 1,
"pageSize": 10
}
Loading.service();
this.$api.getlist.seleyhkbgdc(data).then((res) => {
let loadingInstance = Loading.service();
this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
loadingInstance.close();
});
if (res.code == 200) {
this.tableData = res.data.content
this.totals = res.data.totalSize
}
}).catch((res) => {
});
},
}
</script>
<template>
<div>
<div class="op">
<Candode v-on:childByValue="childByValue"></Candode>
<div class="nam">
<el-input v-model="name" size="mini" placeholder="请输入姓名"></el-input>
</div>
</div>
<div class="idc">
<el-input v-model="idcard" size="mini" placeholder="请输入身份证号"></el-input>
</div>
......@@ -151,8 +153,13 @@
import CryptoJS from 'crypto-js'
import { Loading } from 'element-ui';
import {listtown} from '../../utils/address'
// import baseUrl from "../../globe/globeUrl"
import Candode from "../Core/candode"
// import baseUrl from "../../globe/globeUrl"
export default {
components:{
Candode
},
data() {
return {
......@@ -165,19 +172,23 @@
idcard:"",
ywtype:"",
info:'',
ywtype:'',
tableData: []
tableData: [],
townList:""
}
},
methods: {
childByValue(val){
this.townList=val
},
//搜索
serch(){
var data={
name:this.name?this.Encrypt(this.name):"",
idcard:this.idcard?this.Encrypt(this.idcard):"",
recordType:this.ywtype?parseInt(this.ywtype):"",
townName:'',
villageName:''
townName: this.townList?this.townList[0]:'',
villageName:this.townList?this.townList[1]:''
}
this.$api.getlist.record(data).then((res) => {
......
......@@ -242,7 +242,7 @@
// 关闭当前标签
let closeAll = document.querySelectorAll(".el-icon-close");
for(let j = 0, len = closeAll.length; j < len; j++) {
if (closeAll[j].previousSibling.innerText === "参保注销审核 ") {
if (closeAll[j].previousSibling != null && closeAll[j].previousSibling.innerText === "参保注销审核 ") {
closeAll[j].click();
return;
}
......@@ -307,7 +307,7 @@
// 关闭当前标签
let closeAll = document.querySelectorAll(".el-icon-close");
for(let j = 0, len = closeAll.length; j < len; j++) {
if (closeAll[j].previousSibling.innerText === "参保注销审核 ") {
if (closeAll[j].previousSibling != null && closeAll[j].previousSibling.innerText === "参保注销审核 ") {
closeAll[j].click();
return;
}
......
......@@ -155,7 +155,14 @@ export default {
message: res.message
});
}
// 关闭当前标签
let closeAll = document.querySelectorAll(".el-icon-close");
for(let j = 0, len = closeAll.length; j < len; j++) {
if (closeAll[j].previousSibling != null && closeAll[j].previousSibling.innerText === "参保登记审核 ") {
closeAll[j].click();
return;
}
}
}).catch((res) => {
let loadingInstance = Loading.service();
that.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
......@@ -209,7 +216,14 @@ export default {
message: res.message
});
}
// 关闭当前标签
let closeAll = document.querySelectorAll(".el-icon-close");
for(let j = 0, len = closeAll.length; j < len; j++) {
if (closeAll[j].previousSibling != null && closeAll[j].previousSibling.innerText === "参保登记审核 ") {
closeAll[j].click();
return;
}
}
}).catch((res) => {
let loadingInstance = Loading.service();
that.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
......
<template>
<div>
<div class="op">
<Candode v-on:childByValue="childByValue"></Candode>
<div class="nam">
<el-input v-model="personName" size="mini" placeholder="请输入姓名"></el-input>
</div>
......@@ -132,7 +134,12 @@
import CryptoJS from 'crypto-js'
import { Loading } from 'element-ui';
import {formatDate} from '../../utils/datetime'
import Candode from "../Core/candode"
export default {
components:{
Candode
},
data() {
return {
Page: 1,
......@@ -143,13 +150,19 @@
dialogFormVisible:false,
form:{},
tableData: [],
townList:'',
}
},
methods: {
childByValue(val){
this.townList=val
},
serch(){
var data={
idcard:this.idcard?this.Encrypt(this.idcard):"",
personName:this.personName?this.Encrypt(this.personName):"",
townName: this.townList?this.townList[0]:'',
villageName:this.townList?this.townList[1]:''
}
Loading.service();
this.$api.getlist.listPayInfo(data).then((res) => {
......
<template>
<div>
<div class="op">
<Candode v-on:childByValue="childByValue"></Candode>
<div class="nam">
<el-input v-model="name" size="mini" placeholder="请输入姓名" clearable></el-input>
</div>
......@@ -13,7 +14,7 @@
v-for="item in options1"
:key="item.value"
:label="item.label"
:value="item.value">
:value="item.label">
</el-option>
</el-select>
</div>
......@@ -37,9 +38,19 @@
</el-table-column>
<el-table-column
prop="grantState"
min-width="15%"
min-width="10%"
label="待遇发放状态">
</el-table-column>
<el-table-column
prop="townName"
min-width="10%"
label="乡镇">
</el-table-column>
<el-table-column
prop="villageName"
min-width="10%"
label="村(社区)">
</el-table-column>
<el-table-column
prop="lastGrantMonth"
min-width="10%"
......@@ -57,7 +68,7 @@
</el-table-column>
<el-table-column
prop="presentBenchmark"
min-width="15%"
min-width="10%"
label="当前月领取标准">
</el-table-column>
<el-table-column
......@@ -81,7 +92,6 @@
@current-change="current_change"
>
</el-pagination>
<div>
<el-dialog title="详细信息" :visible.sync="dialogTableVisible" width="1200px">
<el-form :model="data" label-width="auto">
......@@ -212,16 +222,18 @@
}
.idc {
min-width: 200px
margin-left: 20px;
/*min-width: 200px;*/
}
.nam {
margin-right: 20px
margin-left: 20px;
/*min-width: 200px;*/
}
.grantState {
min-width: 200px;
margin-left: 20px
margin-left: 20px;
/*min-width: 200px;*/
}
.el-table .warning-row {
......@@ -244,9 +256,12 @@
<script>
import CryptoJS from 'crypto-js'
import {Loading} from 'element-ui';
import {listtown} from '../../utils/address'
import Candode from "../Core/candode"
export default {
components:{
Candode
},
data() {
return {
list: [],
......@@ -269,7 +284,8 @@
info: '',
tableData: [],
dialogTableVisible: false,
data: {}
data: {},
townList: "",
}
},
methods: {
......@@ -278,7 +294,9 @@
let data = {
idCard: this.idCard ? this.Encrypt(this.idCard) : "",
name: this.name ? this.Encrypt(this.name) : "",
grantState: this.grantState
grantState: this.grantState,
townName: this.townList?this.townList[0]:"",
villageName:this.townList?this.townList[1]:"",
};
this.$api.getlist.getGrantList(data).then((res) => {
for (var i in res.data.list) {
......@@ -302,7 +320,9 @@
pageSize: 10,
idCard: this.idCard ? this.Encrypt(this.idCard) : "",
name: this.name ? this.Encrypt(this.name) : "",
grantState: this.grantState
grantState: this.grantState,
townName: this.townList?this.townList[0]:"",
villageName:this.townList?this.townList[1]:"",
};
Loading.service();
this.$api.getlist.getGrantList(data).then((res) => {
......@@ -370,23 +390,12 @@
done();
})
.catch(_ => {});
}
},
childByValue(val){
this.townList = val;
},
},
created() {
for (var i in listtown) {
this.list.push({
value: listtown[i].town_name,
label: listtown[i].town_name,
children: []
})
for (var j in listtown[i].chirld) {
this.list[i].children.push({
value: listtown[i].chirld[j].village_name,
label: listtown[i].chirld[j].village_name
})
}
}
console.log(this.list)
Loading.service();
let data = {};
this.$api.getlist.getGrantList(data).then((res) => {
......
......@@ -167,7 +167,7 @@
// 关闭当前标签
let closeAll = document.querySelectorAll(".el-icon-close");
for(let j = 0, len = closeAll.length; j < len; j++) {
if (closeAll[j].previousSibling.innerText === "补缴保费审核 ") {
if (closeAll[j].previousSibling != null && closeAll[j].previousSibling.innerText === "补缴保费审核 ") {
closeAll[j].click();
return;
}
......@@ -226,7 +226,7 @@
// 关闭当前标签
let closeAll = document.querySelectorAll(".el-icon-close");
for(let j = 0, len = closeAll.length; j < len; j++) {
if (closeAll[j].previousSibling.innerText === "补缴保费审核 ") {
if (closeAll[j].previousSibling != null && closeAll[j].previousSibling.innerText === "补缴保费审核 ") {
closeAll[j].click();
return;
}
......
......@@ -139,7 +139,6 @@
Candode
},
data() {
return {
townList:'',
activities: [],
......
......@@ -155,7 +155,7 @@
// 关闭当前标签
let closeAll = document.querySelectorAll(".el-icon-close");
for(let j = 0, len = closeAll.length; j < len; j++) {
if (closeAll[j].previousSibling.innerText === "关系转移审核 ") {
if (closeAll[j].previousSibling != null && closeAll[j].previousSibling.innerText === "关系转移审核 ") {
closeAll[j].click();
return;
}
......@@ -214,7 +214,7 @@
// 关闭当前标签
let closeAll = document.querySelectorAll(".el-icon-close");
for(let j = 0, len = closeAll.length; j < len; j++) {
if (closeAll[j].previousSibling.innerText === "关系转移审核 ") {
if (closeAll[j].previousSibling != null && closeAll[j].previousSibling.innerText === "关系转移审核 ") {
closeAll[j].click();
return;
}
......
......@@ -177,7 +177,7 @@
// 关闭当前标签
let closeAll = document.querySelectorAll(".el-icon-close");
for(let j = 0, len = closeAll.length; j < len; j++) {
if (closeAll[j].previousSibling.innerText === "待遇申请审核 ") {
if (closeAll[j].previousSibling != null && closeAll[j].previousSibling.innerText === "待遇申请审核 ") {
closeAll[j].click();
return;
}
......@@ -237,7 +237,7 @@
// 关闭当前标签
let closeAll = document.querySelectorAll(".el-icon-close");
for(let j = 0, len = closeAll.length; j < len; j++) {
if (closeAll[j].previousSibling.innerText === "待遇申请审核 ") {
if (closeAll[j].previousSibling != null && closeAll[j].previousSibling.innerText === "待遇申请审核 ") {
closeAll[j].click();
return;
}
......@@ -292,9 +292,9 @@
sessionStorage.setItem("treAppItems", JSON.stringify(this.$route.params.treApp));
}
this.form = JSON.parse(sessionStorage.getItem("treAppInfo"));
this.form.name = this.decrypt(this.form.name);
this.form.identity_number = this.decrypt(this.form.identity_number);
this.form.telphoneValue = this.decrypt(this.form.telphoneValue);
this.form.name = this.form.name ? this.decrypt(this.form.name) : "";
this.form.identity_number = this.form.identity_number ? this.decrypt(this.form.identity_number) : "";
this.form.telphoneValue = this.form.telphoneValue ? this.decrypt(this.form.telphoneValue) : "";
var obj = JSON.parse(sessionStorage.getItem("treAppItems"));
if (obj.bankpic) {
this.bb = true;
......
......@@ -162,7 +162,7 @@
// 关闭当前标签
let closeAll = document.querySelectorAll(".el-icon-close");
for(let j = 0, len = closeAll.length; j < len; j++) {
if (closeAll[j].previousSibling.innerText === "升档改办审核 ") {
if (closeAll[j].previousSibling != null && closeAll[j].previousSibling.innerText === "升档改办审核 ") {
closeAll[j].click();
return;
}
......@@ -221,7 +221,7 @@
// 关闭当前标签
let closeAll = document.querySelectorAll(".el-icon-close");
for(let j = 0, len = closeAll.length; j < len; j++) {
if (closeAll[j].previousSibling.innerText === "升档改办审核 ") {
if (closeAll[j].previousSibling != null && closeAll[j].previousSibling.innerText === "升档改办审核 ") {
closeAll[j].click();
return;
}
......
......@@ -188,7 +188,7 @@ export default {
this.dialogVisible = false
this.$refs['dataForm'].resetFields()
} else {
this.$message({message: '操作失败, ' + res.msg, type: 'error'})
this.$message({message: '操作失败, ' + res.message, type: 'error'})
}
this.findTreeData()
})
......
......@@ -149,7 +149,7 @@ export default {
if(res.code == 200) {
this.$message({ message: '操作成功', type: 'success' })
} else {
this.$message({message: '操作失败, ' + res.msg, type: 'error'})
this.$message({message: '操作失败, ' + res.message, type: 'error'})
}
this.editLoading = false
this.$refs['dataForm'].resetFields()
......
......@@ -263,7 +263,7 @@ export default {
this.dialogVisible = false;
} else {
this.$message({
message: "操作失败, " + res.msg,
message: "操作失败, " + res.message,
type: "error"
});
}
......
......@@ -164,7 +164,7 @@ export default {
this.dialogVisible = false
this.$refs['dataForm'].resetFields()
} else {
this.$message({message: '操作失败, ' + res.msg, type: 'error'})
this.$message({message: '操作失败, ' + res.message, type: 'error'})
}
this.findPage(null)
})
......@@ -248,7 +248,7 @@ export default {
if(res.code == 200) {
this.$message({ message: '操作成功', type: 'success' })
} else {
this.$message({message: '操作失败, ' + res.msg, type: 'error'})
this.$message({message: '操作失败, ' + res.message, type: 'error'})
}
this.authLoading = false
})
......
......@@ -3,6 +3,9 @@
<!--工具栏-->
<div class="toolbar" style="float:left;padding-top:10px;padding-left:15px;">
<el-form :inline="true" :model="filters" :size="size">
<el-form-item>
<Candode v-on:childByValue="childByValue"></Candode>
</el-form-item>
<el-form-item>
<el-input v-model="filters.name" placeholder="用户名"></el-input>
</el-form-item>
......@@ -68,9 +71,7 @@
:options="list"
:props="{ checkStrictly: true }"
style="width:100%"
clearable
@change="deptTreeCurrentChangeHandle"
></el-cascader>
clearable></el-cascader>
<!-- <popup-tree-input
:data="deptData"
:props="deptTreeProps"
......@@ -111,20 +112,26 @@ import KtTable from "@/views/Core/KtTable"
import KtButton from "@/views/Core/KtButton"
import TableColumnFilterDialog from "@/views/Core/TableColumnFilterDialog"
import { format } from "@/utils/datetime"
import Candode from "../Core/candode"
export default {
components:{
PopupTreeInput,
KtTable,
KtButton,
TableColumnFilterDialog
TableColumnFilterDialog,
Candode
},
data() {
return {
townList:"",
list:[],
address:"",
size: 'small',
filters: {
name: '',
townName:'',
villageName:''
},
columns: [],
filterColumns: [],
......@@ -170,14 +177,22 @@ export default {
}
},
methods: {
childByValue(val){
this.townList=val
},
// 获取分页数据
findPage: function (data) {
if(data !== null) {
if(data == null) {
this.pageRequest = { pageNum: 1, pageSize: 10 }
}else {
this.pageRequest = data.pageRequest
}
this.pageRequest.columnFilters = {name: {name:'name', value:this.filters.name}}
this.pageRequest.columnFilters = {name: {name:'name', value:this.filters.name},
townName: {townName: 'townName',value: this.townList?this.townList[0]:'',},
villageName: {villageName: 'villageName',value: this.townList?this.townList[1]:''}
}
this.$api.user.findPage(this.pageRequest).then((res) => {
console.log(res.data)
this.pageResult = res.data
this.findUserRoles()
}).then(data!=null?data.callback:'')
......@@ -261,7 +276,7 @@ export default {
this.dialogVisible = false
this.$refs['dataForm'].resetFields()
} else {
this.$message({message: '操作失败, ' + res.msg, type: 'error'})
this.$message({message: '操作失败, ' + res.message, type: 'error'})
}
this.findPage(null)
})
......@@ -321,7 +336,6 @@ export default {
{prop:"deptName", label:"机构", minWidth:100},
{prop:"roleNames", label:"角色", minWidth:80},
{prop:"job", label:"职务", minWidth:80},
{prop:"mobile", label:"手机", minWidth:80},
// {prop:"createBy", label:"创建人", minWidth:120},
......
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