Commit cedda986 authored by ytbdmhy's avatar ytbdmhy

补缴保费、升档改办、关系转移及其他的优化

parent 838116ea
...@@ -28,6 +28,9 @@ import application from "@/views/Myvue/application" ...@@ -28,6 +28,9 @@ import application from "@/views/Myvue/application"
import importByExcel from "@/views/Myvue/importByExcel" import importByExcel from "@/views/Myvue/importByExcel"
import treatmentApplicationAudit from "@/views/Myvue/treatmentApplicationAudit" import treatmentApplicationAudit from "@/views/Myvue/treatmentApplicationAudit"
import insuranceCancellationAudit from "@/views/Myvue/insuranceCancellationAudit" import insuranceCancellationAudit from "@/views/Myvue/insuranceCancellationAudit"
import supPaymentAudit from "@/views/Myvue/supPaymentAudit"
import traRelationsAudit from "@/views/Myvue/traRelationsAudit"
import upgradeReoAudit from "@/views/Myvue/upgradeReoAudit"
Vue.use(Router) Vue.use(Router)
...@@ -141,7 +144,22 @@ const router = new Router({ ...@@ -141,7 +144,22 @@ const router = new Router({
path:"/insuranceCancellationAudit", path:"/insuranceCancellationAudit",
name:"参保注销审核", name:"参保注销审核",
component: insuranceCancellationAudit component: insuranceCancellationAudit
} },
{
path:"/supPaymentAudit",
name:"补缴保费审核",
component: supPaymentAudit
},
{
path:"/upgradeReoAudit",
name:"升档改办审核",
component: upgradeReoAudit
},
{
path:"/traRelationsAudit",
name:"关系转移审核",
component: traRelationsAudit
},
] ]
}, },
{ {
......
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
prop="nowExamine" prop="nowExamine"
label="当前状态"> label="当前状态">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
width="180" width="180"
label="操作"> label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
...@@ -119,10 +119,10 @@ ...@@ -119,10 +119,10 @@
.op{ .op{
display: flex; display: flex;
align-items: center; align-items: center;
} }
.idc{ .idc{
width: 200px width: 200px
} }
.nam{ .nam{
...@@ -154,7 +154,7 @@ ...@@ -154,7 +154,7 @@
// import baseUrl from "../../globe/globeUrl" // import baseUrl from "../../globe/globeUrl"
export default { export default {
data() { data() {
return { return {
list:[], list:[],
name:"", name:"",
...@@ -172,13 +172,13 @@ ...@@ -172,13 +172,13 @@
methods: { methods: {
//搜索 //搜索
serch(){ serch(){
var data={ var data={
idcard:this.idcard?this.Encrypt(this.idcard):"", idcard:this.idcard?this.Encrypt(this.idcard):"",
recordType:this.ywtype?parseInt(this.ywtype):"", recordType:this.ywtype?parseInt(this.ywtype):"",
townName:'', townName:'',
villageName:'' villageName:''
} }
this.$api.getlist.record(data).then((res) => { this.$api.getlist.record(data).then((res) => {
for(var i in res.data.list){ for(var i in res.data.list){
...@@ -186,15 +186,15 @@ ...@@ -186,15 +186,15 @@
res.data.list[i].name=this.decrypt(res.data.list[i].name) res.data.list[i].name=this.decrypt(res.data.list[i].name)
var d=new Date(res.data.list[i].createtime) var d=new Date(res.data.list[i].createtime)
var mon=(parseInt(d.getMonth()) + 1) var mon=(parseInt(d.getMonth()) + 1)
res.data.list[i].createtime=d.getFullYear()+"-"+mon+"-"+d.getDate()+" "+d.getHours() + ':' + d.getMinutes() + ':' + d.getSeconds(); res.data.list[i].createtime=d.getFullYear()+"-"+mon+"-"+d.getDate()+" "+d.getHours() + ':' + d.getMinutes() + ':' + d.getSeconds();
res.data.list[i].recordtype=this.getType(res.data.list[i].recordtype) res.data.list[i].recordtype=this.getType(res.data.list[i].recordtype)
} }
this.tableData=res.data.list this.tableData=res.data.list
this.totals=res.data.total this.totals=res.data.total
this.page=res.data.total.pageNum this.page=res.data.total.pageNum
}).catch((res) => { }).catch((res) => {
}); });
}, },
//流程 //流程
...@@ -215,8 +215,8 @@ ...@@ -215,8 +215,8 @@
size: 'large' size: 'large'
}) })
}else{ }else{
if(res.data[i].examineState=="审核失败"){ if(res.data[i].examineState=="审核失败"){
this.activities.push({ this.activities.push({
content:res.data[i].role+":"+"审核失败", content:res.data[i].role+":"+"审核失败",
...@@ -268,7 +268,7 @@ ...@@ -268,7 +268,7 @@
res.data.list[i].name=this.decrypt(res.data.list[i].name) res.data.list[i].name=this.decrypt(res.data.list[i].name)
var d=new Date(res.data.list[i].createtime) var d=new Date(res.data.list[i].createtime)
var mon=(parseInt(d.getMonth()) + 1) var mon=(parseInt(d.getMonth()) + 1)
res.data.list[i].createtime=d.getFullYear()+"-"+mon+"-"+d.getDate()+" "+d.getHours() + ':' + d.getMinutes() + ':' + d.getSeconds(); res.data.list[i].createtime=d.getFullYear()+"-"+mon+"-"+d.getDate()+" "+d.getHours() + ':' + d.getMinutes() + ':' + d.getSeconds();
res.data.list[i].recordtype=this.getType(res.data.list[i].recordtype) res.data.list[i].recordtype=this.getType(res.data.list[i].recordtype)
} }
this.tableData=res.data.list this.tableData=res.data.list
...@@ -292,7 +292,7 @@ ...@@ -292,7 +292,7 @@
idcardbackpic:this.tableData[s].idcardbackpic, idcardbackpic:this.tableData[s].idcardbackpic,
idcardfrontpic:this.tableData[s].idcardfrontpic, idcardfrontpic:this.tableData[s].idcardfrontpic,
signpic:this.tableData[s].signpic, signpic:this.tableData[s].signpic,
show:false show:false
} }
}) })
...@@ -311,21 +311,21 @@ ...@@ -311,21 +311,21 @@
} }
}) })
}else if(d.recordtype=="待遇申请"){ }else if(d.recordtype=="待遇申请"){
sessionStorage.setItem("recordId", this.tableData[s].recordId)
sessionStorage.setItem("recordId",this.tableData[s].recordId) this.$router.push({
this.$router.push({ name: "待遇申请审核",
name:"待遇申请审核", params: {
params:{info:this.tableData[s].info, info: this.tableData[s].info,
bankpic:this.tableData[s].bankpic, bankpic: this.tableData[s].bankpic,
idcardbackpic:this.tableData[s].idcardbackpic, idcardbackpic: this.tableData[s].idcardbackpic,
idcardfrontpic:this.tableData[s].idcardfrontpic, idcardfrontpic: this.tableData[s].idcardfrontpic,
signpic:this.tableData[s].signpic, signpic: this.tableData[s].signpic,
specialPhotoPic:this.tableData[s].specialPhotoPic, specialPhotoPic: this.tableData[s].specialPhotoPic,
bookPic:this.tableData[s].bookPic, bookPic: this.tableData[s].bookPic,
show:false show: false
} }
}) })
} }
}, },
handleDelete(g,h){ handleDelete(g,h){
console.log(g) console.log(g)
...@@ -356,7 +356,7 @@ ...@@ -356,7 +356,7 @@
return decrypted.toString(CryptoJS.enc.Utf8); return decrypted.toString(CryptoJS.enc.Utf8);
} }
}, },
created(){ created(){
for(var i=1;i<=7;i++){ for(var i=1;i<=7;i++){
this.options1.push({ this.options1.push({
...@@ -382,7 +382,7 @@ ...@@ -382,7 +382,7 @@
var data={ var data={
idcard:'', idcard:'',
recordType:'' recordType:''
} }
this.$api.getlist.record(data).then((res) => { this.$api.getlist.record(data).then((res) => {
let loadingInstance = Loading.service(); let loadingInstance = Loading.service();
...@@ -394,13 +394,13 @@ ...@@ -394,13 +394,13 @@
res.data.list[i].name=this.decrypt(res.data.list[i].name) res.data.list[i].name=this.decrypt(res.data.list[i].name)
var d=new Date(res.data.list[i].createtime) var d=new Date(res.data.list[i].createtime)
var mon=(parseInt(d.getMonth()) + 1) var mon=(parseInt(d.getMonth()) + 1)
res.data.list[i].createtime=d.getFullYear()+"-"+mon+"-"+d.getDate()+" "+d.getHours() + ':' + d.getMinutes() + ':' + d.getSeconds(); res.data.list[i].createtime=d.getFullYear()+"-"+mon+"-"+d.getDate()+" "+d.getHours() + ':' + d.getMinutes() + ':' + d.getSeconds();
res.data.list[i].recordtype=this.getType(res.data.list[i].recordtype) res.data.list[i].recordtype=this.getType(res.data.list[i].recordtype)
} }
this.tableData=res.data.list this.tableData=res.data.list
this.totals=res.data.total this.totals=res.data.total
this.page=res.data.total.pageNum this.page=res.data.total.pageNum
}).catch((res) => { }).catch((res) => {
let loadingInstance = Loading.service(); let loadingInstance = Loading.service();
this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭 this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
...@@ -424,8 +424,8 @@ ...@@ -424,8 +424,8 @@
// that.tableData=res.data.list // that.tableData=res.data.list
// that.totals=res.data.total // that.totals=res.data.total
// that.page=res.data.total.pageNum // that.page=res.data.total.pageNum
// } // }
// }) // })
} }
......
...@@ -51,6 +51,7 @@ ...@@ -51,6 +51,7 @@
:file-list="fileList" :file-list="fileList"
:on-exceed="handleExceed" :on-exceed="handleExceed"
:on-success="uploadSuccess" :on-success="uploadSuccess"
:on-error="uploadError"
:auto-upload="false"> :auto-upload="false">
<i class="el-icon-upload"></i> <i class="el-icon-upload"></i>
<div class="el-upload__text">将文件拖到此处,或<em>点击上传</em></div> <div class="el-upload__text">将文件拖到此处,或<em>点击上传</em></div>
...@@ -97,7 +98,7 @@ ...@@ -97,7 +98,7 @@
<el-upload <el-upload
style="margin-top: 10px" style="margin-top: 10px"
class="upload-demo" class="upload-demo"
ref="upload1" ref="upload2"
:action="payInfoUrl" :action="payInfoUrl"
multiple multiple
drag drag
...@@ -108,12 +109,13 @@ ...@@ -108,12 +109,13 @@
:file-list="fileList" :file-list="fileList"
:on-exceed="handleExceed" :on-exceed="handleExceed"
:on-success="uploadSuccess" :on-success="uploadSuccess"
:on-error="uploadError"
:auto-upload="false"> :auto-upload="false">
<i class="el-icon-upload"></i> <i class="el-icon-upload"></i>
<div class="el-upload__text">将文件拖到此处,或<em>点击上传</em></div> <div class="el-upload__text">将文件拖到此处,或<em>点击上传</em></div>
<div slot="tip" class="el-upload__tip">只能上传xls/xlsx文件,一次最多只能上传5个文件</div> <div slot="tip" class="el-upload__tip">只能上传xls/xlsx文件,一次最多只能上传5个文件</div>
</el-upload> </el-upload>
<el-button style="margin-top: 10px" size="small" type="success" @click="submitUpload1">数据导入</el-button> <el-button style="margin-top: 10px" size="small" type="success" @click="submitUpload2">数据导入</el-button>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="领取人员"> <el-tab-pane label="领取人员">
<el-alert <el-alert
...@@ -155,7 +157,7 @@ ...@@ -155,7 +157,7 @@
<el-upload <el-upload
style="margin-top: 10px" style="margin-top: 10px"
class="upload-demo" class="upload-demo"
ref="upload1" ref="upload3"
:action="grantInfoUrl" :action="grantInfoUrl"
multiple multiple
drag drag
...@@ -166,12 +168,13 @@ ...@@ -166,12 +168,13 @@
:file-list="fileList" :file-list="fileList"
:on-exceed="handleExceed" :on-exceed="handleExceed"
:on-success="uploadSuccess" :on-success="uploadSuccess"
:on-error="uploadError"
:auto-upload="false"> :auto-upload="false">
<i class="el-icon-upload"></i> <i class="el-icon-upload"></i>
<div class="el-upload__text">将文件拖到此处,或<em>点击上传</em></div> <div class="el-upload__text">将文件拖到此处,或<em>点击上传</em></div>
<div slot="tip" class="el-upload__tip">只能上传xls/xlsx文件,一次最多只能上传5个文件</div> <div slot="tip" class="el-upload__tip">只能上传xls/xlsx文件,一次最多只能上传5个文件</div>
</el-upload> </el-upload>
<el-button style="margin-top: 10px" size="small" type="success" @click="submitUpload1">数据导入</el-button> <el-button style="margin-top: 10px" size="small" type="success" @click="submitUpload3">数据导入</el-button>
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
<el-dialog <el-dialog
...@@ -194,8 +197,8 @@ ...@@ -194,8 +197,8 @@
data() { data() {
return { return {
baseInfoUrl: baseUrl + "/baseInfo/importFromNewExcel", baseInfoUrl: baseUrl + "/baseInfo/importFromNewExcel",
payInfoUrl: baseUrl + "/payInfo/importFromNewExcel", payInfoUrl: baseUrl + "/payInfo/importFromExcel",
grantInfoUrl: baseUrl + "/grantInfo/importFromNewExcel", grantInfoUrl: baseUrl + "/grantInfo/importFromExcel",
myHeader: { myHeader: {
token: Cookies.get("token") token: Cookies.get("token")
}, },
...@@ -220,9 +223,10 @@ ...@@ -220,9 +223,10 @@
this.$message.warning("当前限制选择 1 个文件,请删除后继续上传"); this.$message.warning("当前限制选择 1 个文件,请删除后继续上传");
}, },
handleBeforeUpload(file) { handleBeforeUpload(file) {
this.loading = true; // this.loading = true;
if (!file.name.endsWith(".xls") && !file.name.endsWith(".xlsx")) { if (!file.name.endsWith(".xls") && !file.name.endsWith(".xlsx")) {
this.$message.warning(file.name + "不是excel文件"); this.$message.warning(file.name + "不是excel文件");
this.loading = false;
return false; return false;
} }
// if (uploadedList.includes(file.name)) { // if (uploadedList.includes(file.name)) {
...@@ -231,22 +235,37 @@ ...@@ -231,22 +235,37 @@
// } // }
// uploadedList.push(file.name); // uploadedList.push(file.name);
}, },
uploadSuccess(response) { async uploadSuccess(response) {
this.fileList = [];
this.dialogTitle = "导入结果"; this.dialogTitle = "导入结果";
this.dialogContent = response.data; this.dialogContent = response.data;
this.dialogVisible = true; // this.dialogVisible = true;
this.loading = false; this.loading = false;
// console.log(response); console.log("upload success");
// this.$alert(response.data, '导入结果', { this.$message({
// confirmButtonText: '确定', type: "success",
// callback: action => { message: response.data,
// // this.$message({ showClose: true,
// // type: 'info', duration: 0
// // message: `action: ${ action }` });
// // }); },
// } 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> </script>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<el-input v-model="form4.name"></el-input> <el-input v-model="form4.name"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="出生日期"> <el-form-item label="出生日期">
<el-input placeholder="该框暂无对应字段,请联系开发人员"></el-input> <el-input v-model="form4.birth_day"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="人员类型"> <el-form-item label="人员类型">
<el-input v-model="form4.per_type"></el-input> <el-input v-model="form4.per_type"></el-input>
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<el-input v-model="form4.identity_number"></el-input> <el-input v-model="form4.identity_number"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="户籍地址"> <el-form-item label="户籍地址">
<el-input placeholder="该框暂无对应字段,请联系开发人员"></el-input> <el-input v-model="form4.address"></el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
<el-input v-model="form4.reback_money"></el-input> <el-input v-model="form4.reback_money"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="重复地区及险种的追回金额"> <el-form-item label="重复地区及险种的追回金额">
<el-input placeholder="该框暂无对应字段,请联系开发人员"></el-input> <el-input placeholder="如有金额请输入"></el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
...@@ -71,6 +71,9 @@ ...@@ -71,6 +71,9 @@
<el-form-item label="应抵扣重复领取其他社会保险待遇"> <el-form-item label="应抵扣重复领取其他社会保险待遇">
<el-input v-model="form4.other_overApply"></el-input> <el-input v-model="form4.other_overApply"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="发放账户">
<el-input placeholder="该框暂无对应字段,请联系开发人员"></el-input>
</el-form-item>
</el-form> </el-form>
<el-form ref="form4" :model="form4" class="form4" label-width="auto"> <el-form ref="form4" :model="form4" class="form4" label-width="auto">
<el-form-item label="一次性抚恤金"> <el-form-item label="一次性抚恤金">
...@@ -82,6 +85,9 @@ ...@@ -82,6 +85,9 @@
<el-form-item label="合计发放金额"> <el-form-item label="合计发放金额">
<el-input v-model="form4.account_totle"></el-input> <el-input v-model="form4.account_totle"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="发放账户的账号">
<el-input placeholder="该框暂无对应字段,请联系开发人员"></el-input>
</el-form-item>
</el-form> </el-form>
</div> </div>
<h2 class="imtil">指定受益人或法定继承人</h2> <h2 class="imtil">指定受益人或法定继承人</h2>
...@@ -198,6 +204,8 @@ ...@@ -198,6 +204,8 @@
townName: "", townName: "",
villageName: "", villageName: "",
wuserId: "", wuserId: "",
address: "",
birth_day: "",
}, },
urls: [], urls: [],
show: "" show: ""
...@@ -232,13 +240,13 @@ ...@@ -232,13 +240,13 @@
name: "参保注销审核" name: "参保注销审核"
}); });
// 关闭当前标签 // 关闭当前标签
var closeAll = document.querySelectorAll(".el-icon-close"); let closeAll = document.querySelectorAll(".el-icon-close");
closeAll.forEach(icon => { for(let j = 0, len = closeAll.length; j < len; j++) {
if (icon.previousSibling.innerText === "参保注销审核 ") { if (closeAll[j].previousSibling.innerText === "参保注销审核 ") {
icon.click(); closeAll[j].click();
throw new Error(); return;
} }
}) }
} else { } else {
this.$message({ this.$message({
type: 'info', type: 'info',
...@@ -247,7 +255,7 @@ ...@@ -247,7 +255,7 @@
} }
}).catch((res) => { }).catch((res) => {
let loadingInstance = Loading.service(); let loadingInstance = Loading.service();
that.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭 this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
loadingInstance.close(); loadingInstance.close();
}); });
this.$message({ this.$message({
...@@ -264,7 +272,7 @@ ...@@ -264,7 +272,7 @@
}, },
//审核不通过 //审核不通过
nopass() { nopass() {
var that = this // var that = this
this.$prompt('请输入原因', '提示', { this.$prompt('请输入原因', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
...@@ -296,6 +304,14 @@ ...@@ -296,6 +304,14 @@
message: res.message message: res.message
}); });
} }
// 关闭当前标签
let closeAll = document.querySelectorAll(".el-icon-close");
for(let j = 0, len = closeAll.length; j < len; j++) {
if (closeAll[j].previousSibling.innerText === "参保注销审核 ") {
closeAll[j].click();
return;
}
}
}).catch((res) => { }).catch((res) => {
let loadingInstance = Loading.service(); let loadingInstance = Loading.service();
this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭 this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
...@@ -308,10 +324,10 @@ ...@@ -308,10 +324,10 @@
}); });
} else { } else {
let loadingInstance = Loading.service(); let loadingInstance = Loading.service();
that.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭 this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
loadingInstance.close(); loadingInstance.close();
}); });
that.$message({ this.$message({
type: 'info', type: 'info',
message: '请输入原因' message: '请输入原因'
}); });
...@@ -337,20 +353,18 @@ ...@@ -337,20 +353,18 @@
padding: CryptoJS.pad.Pkcs7 padding: CryptoJS.pad.Pkcs7
}); });
return decrypted.toString(CryptoJS.enc.Utf8); return decrypted.toString(CryptoJS.enc.Utf8);
} },
}, },
created() { created() {
this.show = this.$route.params.insCan.show; if (typeof(this.$route.params.insCan) !== "undefined" && this.$route.params.insCan.info) {
if (this.$route.params.insCan.info) { this.show = this.$route.params.insCan.show;
sessionStorage.setItem("info", this.$route.params.insCan.info); sessionStorage.setItem("insCanInfo", this.$route.params.insCan.info);
sessionStorage.setItem("items", JSON.stringify(this.$route.params.insCan)); sessionStorage.setItem("insCanItems", JSON.stringify(this.$route.params.insCan));
} }
this.form4 = JSON.parse(sessionStorage.getItem("info")); this.form4 = JSON.parse(sessionStorage.getItem("insCanInfo"));
this.form4.name = this.decrypt(this.form4.name); this.form4.name = this.form4.name ? this.decrypt(this.form4.name) : "";
this.form4.bailor_name = this.decrypt(this.form4.bailor_name); this.form4.identity_number = this.form4.identity_number ? this.decrypt(this.form4.identity_number) : "";
this.form4.identity_number = this.decrypt(this.form4.identity_number); let obj = JSON.parse(sessionStorage.getItem("insCanItems"));
this.form4.bailor_idNo = this.decrypt(this.form4.bailor_idNo);
var obj = JSON.parse(sessionStorage.getItem("items"));
if (obj.bankpic) { if (obj.bankpic) {
this.bb = true; this.bb = true;
this.itmebs = "银行卡"; this.itmebs = "银行卡";
......
This diff is collapsed.
...@@ -136,22 +136,12 @@ ...@@ -136,22 +136,12 @@
data() { data() {
return { return {
activities: [], activities: [],
options1: [{ options1: [],
value: '1',
label: '参保登记'
}, {
value: '2',
label: '信息变更'
}, {
value: '3',
label: '待遇申请'
}],
Page:1, Page:1,
totals:0, totals:0,
idcard:"", idcard:"",
ywtype:"", ywtype:"",
info:'', info:'',
ywtype:'',
tableData: [] tableData: []
} }
}, },
...@@ -171,7 +161,7 @@ ...@@ -171,7 +161,7 @@
var d=new Date(res.data.list[i].createtime) var d=new Date(res.data.list[i].createtime)
var mon=(parseInt(d.getMonth()) + 1) var mon=(parseInt(d.getMonth()) + 1)
res.data.list[i].createtime=d.getFullYear()+"-"+mon+"-"+d.getDate()+" "+d.getHours() + ':' + d.getMinutes() + ':' + d.getSeconds(); res.data.list[i].createtime=d.getFullYear()+"-"+mon+"-"+d.getDate()+" "+d.getHours() + ':' + d.getMinutes() + ':' + d.getSeconds();
res.data.list[i].recordtype=res.data.list[i].recordtype==1?"参保登记":res.data.list[i].recordtype==2?"信息变更":res.data.list[i].recordtype==3?"待遇申请":res.data.list[i].recordtype==4?"参保注销":"" res.data.list[i].recordtype=this.getType(res.data.list[i].recordtype)
} }
this.tableData=res.data.list this.tableData=res.data.list
this.totals=res.data.total this.totals=res.data.total
...@@ -187,7 +177,7 @@ ...@@ -187,7 +177,7 @@
this.activities=[] this.activities=[]
var data={ var data={
recordId:s.id, recordId:s.id,
type:s.recordtype=="参保登记"?1:s.recordtype=="信息变更"?2:s.recordtype=="待遇申请"?3:s.recordtype=="参保注销"?4:'' type:this.regetType(s.recordtype)
} }
this.$api.getlist.progress(data).then((res)=>{ this.$api.getlist.progress(data).then((res)=>{
for(var i in res.data){ for(var i in res.data){
...@@ -284,26 +274,25 @@ ...@@ -284,26 +274,25 @@
show:true show:true
} }
}) })
}else if(d.recordtype=="待遇申请"){ }else if(d.recordtype === "待遇申请"){
// sessionStorage.setItem("recordId",this.tableData[s].recordId)
// sessionStorage.setItem("recordId",this.tableData[s].recordId) this.$router.push({
this.$router.push({ name:"待遇申请审核",
name:"待遇申请审核", params:{
params:{ treApp: {
treApp: { recordId: this.tableData[s].recordId,
recordId: this.tableData[s].recordId, info:this.tableData[s].info,
info:this.tableData[s].info, bankpic:this.tableData[s].bankpic,
bankpic:this.tableData[s].bankpic, idcardbackpic:this.tableData[s].idcardbackpic,
idcardbackpic:this.tableData[s].idcardbackpic, idcardfrontpic:this.tableData[s].idcardfrontpic,
idcardfrontpic:this.tableData[s].idcardfrontpic, signpic:this.tableData[s].signpic,
signpic:this.tableData[s].signpic, specialPhotoPic:this.tableData[s].specialPhotoPic,
specialPhotoPic:this.tableData[s].specialPhotoPic, bookPic:this.tableData[s].bookPic,
bookPic:this.tableData[s].bookPic, show:true
show:true }
} }
} })
}) } else if(d.recordtype === "参保注销") {
} else if(d.recordtype=="参保注销") {
// sessionStorage.setItem("recordId",this.tableData[s].recordId) // sessionStorage.setItem("recordId",this.tableData[s].recordId)
this.$router.push({ this.$router.push({
name:"参保注销审核", name:"参保注销审核",
...@@ -321,6 +310,60 @@ ...@@ -321,6 +310,60 @@
} }
} }
}) })
} else if(d.recordtype === "补缴保费") {
// sessionStorage.setItem("recordId",this.tableData[s].recordId)
this.$router.push({
name:"补缴保费审核",
params:{
supPay: {
recordId: this.tableData[s].recordId,
info:this.tableData[s].info,
bankpic:this.tableData[s].bankpic,
idcardbackpic:this.tableData[s].idcardbackpic,
idcardfrontpic:this.tableData[s].idcardfrontpic,
signpic:this.tableData[s].signpic,
specialPhotoPic:this.tableData[s].specialPhotoPic,
bookPic:this.tableData[s].bookPic,
show:true
}
}
})
} else if(d.recordtype === "升档改办") {
// sessionStorage.setItem("recordId",this.tableData[s].recordId)
this.$router.push({
name:"升档改办审核",
params:{
upgReo: {
recordId: this.tableData[s].recordId,
info:this.tableData[s].info,
bankpic:this.tableData[s].bankpic,
idcardbackpic:this.tableData[s].idcardbackpic,
idcardfrontpic:this.tableData[s].idcardfrontpic,
signpic:this.tableData[s].signpic,
specialPhotoPic:this.tableData[s].specialPhotoPic,
bookPic:this.tableData[s].bookPic,
show:true
}
}
})
} else if(d.recordtype === "关系转移") {
// sessionStorage.setItem("recordId",this.tableData[s].recordId)
this.$router.push({
name:"关系转移审核",
params:{
traRel: {
recordId: this.tableData[s].recordId,
info:this.tableData[s].info,
bankpic:this.tableData[s].bankpic,
idcardbackpic:this.tableData[s].idcardbackpic,
idcardfrontpic:this.tableData[s].idcardfrontpic,
signpic:this.tableData[s].signpic,
specialPhotoPic:this.tableData[s].specialPhotoPic,
bookPic:this.tableData[s].bookPic,
show:true
}
}
})
} }
}, },
handleDelete(g,h){ handleDelete(g,h){
...@@ -354,8 +397,13 @@ ...@@ -354,8 +397,13 @@
}, },
created(){ created(){
Loading.service(); Loading.service();
for(var i=1;i<=7;i++){
this.options1.push({
label:this.getType(i),
value:i
})
}
var data={ var data={
idcard:'', idcard:'',
recordType:'' recordType:''
......
This diff is collapsed.
...@@ -11,10 +11,10 @@ ...@@ -11,10 +11,10 @@
<el-input v-model="form.identity_number"></el-input> <el-input v-model="form.identity_number"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="领取账号"> <el-form-item label="领取账号">
<el-input placeholder="该框暂无对应字段,请联系开发人员"></el-input> <el-input v-model="form.bank_Account"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="户籍地地址"> <el-form-item label="户籍地地址">
<el-input placeholder="该框暂无对应字段,请联系开发人员"></el-input> <el-input v-model="form.address"></el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-form ref="form" :model="form" class="form" label-width="auto"> <el-form ref="form" :model="form" class="form" label-width="auto">
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<el-input v-model="form.sex"></el-input> <el-input v-model="form.sex"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="缴费年限"> <el-form-item label="缴费年限">
<el-input placeholder="该框暂无对应字段,请联系开发人员"></el-input> <el-input v-model="form.payNum"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="联系电话"> <el-form-item label="联系电话">
<el-input v-model="form.telphoneValue"></el-input> <el-input v-model="form.telphoneValue"></el-input>
...@@ -37,18 +37,18 @@ ...@@ -37,18 +37,18 @@
<div class="masks"></div> <div class="masks"></div>
<el-form ref="form" :model="form" class="form" label-width="auto"> <el-form ref="form" :model="form" class="form" label-width="auto">
<el-form-item label="个人缴费"> <el-form-item label="个人缴费">
<el-input v-model="form.mon_annuityPre"></el-input> <el-input v-model="form.payTotalMoney"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="财政补贴"> <el-form-item label="财政补贴">
<el-input v-model="form.mon_annuityGov"></el-input> <el-input v-model="form.benefits"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="个人账户积累额"> <el-form-item label="个人账户积累额">
<el-input v-model="form.payTotalMoney"></el-input> <el-input v-model="form.account_balance"></el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-form ref="form" :model="form" class="form" label-width="auto"> <el-form ref="form" :model="form" class="form" label-width="auto">
<el-form-item label="集体补助"> <el-form-item label="集体补助">
<el-input placeholder="该框暂无对应字段,请联系开发人员"></el-input> <el-input v-model="form.collectivePercent"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="利息"> <el-form-item label="利息">
<el-input v-model="form.interest"></el-input> <el-input v-model="form.interest"></el-input>
...@@ -131,7 +131,12 @@ ...@@ -131,7 +131,12 @@
mon_annuityGov: "", mon_annuityGov: "",
mon_annuity: "", mon_annuity: "",
interest: "", interest: "",
payTotalMoney: "" payTotalMoney: "",
collectivePercent: 0,
bank_Account: "",
address: "",
payNum: "",
benefits: "",
}, },
urls: [], urls: [],
} }
...@@ -169,9 +174,18 @@ ...@@ -169,9 +174,18 @@
message: res.message message: res.message
}); });
} }
// 关闭当前标签
let closeAll = document.querySelectorAll(".el-icon-close");
for(let j = 0, len = closeAll.length; j < len; j++) {
if (closeAll[j].previousSibling.innerText === "待遇申请审核 ") {
closeAll[j].click();
return;
}
}
}).catch((res) => { }).catch((res) => {
console.log("进入catch: " + res);
let loadingInstance = Loading.service(); let loadingInstance = Loading.service();
that.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭 this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
loadingInstance.close(); loadingInstance.close();
}); });
this.$message({ this.$message({
...@@ -188,7 +202,7 @@ ...@@ -188,7 +202,7 @@
}, },
//审核不通过 //审核不通过
nopass() { nopass() {
var that = this // let that = this;
this.$prompt('请输入原因', '提示', { this.$prompt('请输入原因', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
...@@ -221,13 +235,13 @@ ...@@ -221,13 +235,13 @@
}); });
} }
// 关闭当前标签 // 关闭当前标签
var closeAll = document.querySelectorAll(".el-icon-close"); let closeAll = document.querySelectorAll(".el-icon-close");
closeAll.forEach(icon => { for(let j = 0, len = closeAll.length; j < len; j++) {
if (icon.previousSibling.innerText === "待遇申请审核 ") { if (closeAll[j].previousSibling.innerText === "待遇申请审核 ") {
icon.click(); closeAll[j].click();
throw new Error(); return;
} }
}) }
}).catch((res) => { }).catch((res) => {
let loadingInstance = Loading.service(); let loadingInstance = Loading.service();
this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭 this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
...@@ -240,10 +254,10 @@ ...@@ -240,10 +254,10 @@
}); });
} else { } else {
let loadingInstance = Loading.service(); let loadingInstance = Loading.service();
that.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭 this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
loadingInstance.close(); loadingInstance.close();
}); });
that.$message({ this.$message({
type: 'info', type: 'info',
message: '请输入原因' message: '请输入原因'
}); });
...@@ -272,16 +286,16 @@ ...@@ -272,16 +286,16 @@
} }
}, },
created() { created() {
this.show = this.$route.params.treApp.show; if (typeof(this.$route.params.treApp) !== "undefined" && this.$route.params.treApp.info) {
if (this.$route.params.treApp.info) { this.show = this.$route.params.treApp.show;
sessionStorage.setItem("info", this.$route.params.treApp.info); sessionStorage.setItem("treAppInfo", this.$route.params.treApp.info);
var a = JSON.stringify(this.$route.params.treApp); sessionStorage.setItem("treAppItems", JSON.stringify(this.$route.params.treApp));
sessionStorage.setItem("items", a);
} }
this.form = JSON.parse(sessionStorage.getItem("info")); this.form = JSON.parse(sessionStorage.getItem("treAppInfo"));
this.form.name = this.decrypt(this.form.name); this.form.name = this.decrypt(this.form.name);
this.form.identity_number = this.decrypt(this.form.identity_number); this.form.identity_number = this.decrypt(this.form.identity_number);
var obj = JSON.parse(sessionStorage.getItem("items")); this.form.telphoneValue = this.decrypt(this.form.telphoneValue);
var obj = JSON.parse(sessionStorage.getItem("treAppItems"));
if (obj.bankpic) { if (obj.bankpic) {
this.bb = true; this.bb = true;
this.itmebs = "银行卡"; this.itmebs = "银行卡";
......
This diff is collapsed.
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
<el-input v-model="dataForm.id" :disabled="true" auto-complete="off"></el-input> <el-input v-model="dataForm.id" :disabled="true" auto-complete="off"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="用户名" prop="name"> <el-form-item label="用户名" prop="name">
<el-input v-if="!operation" v-model="dataForm.name" auto-complete="off" readonly="true"></el-input> <el-input v-if="!operation" v-model="dataForm.name" auto-complete="off" readonly></el-input>
<el-input v-if="operation" v-model="dataForm.name" auto-complete="off"></el-input> <el-input v-if="operation" v-model="dataForm.name" auto-complete="off"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="真实姓名" prop="truename"> <el-form-item label="真实姓名" prop="truename">
...@@ -142,7 +142,7 @@ export default { ...@@ -142,7 +142,7 @@ export default {
{ required: true, message: '请输入真实姓名', trigger: 'blur' } { required: true, message: '请输入真实姓名', trigger: 'blur' }
], ],
deptId: [ deptId: [
{ type: 'array', required: true, message: '请选择机构', trigger: 'change'} { required: true, message: '请选择机构', trigger: 'change'}
] ]
}, },
// 新增编辑界面数据 // 新增编辑界面数据
...@@ -165,7 +165,8 @@ export default { ...@@ -165,7 +165,8 @@ export default {
label: 'name', label: 'name',
children: 'children' children: 'children'
}, },
roles: [] roles: [],
dParentId: '',
} }
}, },
methods: { methods: {
...@@ -215,6 +216,20 @@ export default { ...@@ -215,6 +216,20 @@ export default {
this.dialogVisible = true this.dialogVisible = true
this.operation = false this.operation = false
this.dataForm = Object.assign({}, params.row) this.dataForm = Object.assign({}, params.row)
this.treeData(this.list, this.dataForm.deptId);
let deptId = [];
deptId.push(1);
if (this.dParentId > 1) {
deptId.push(this.dParentId);
}
if (this.dataForm.deptId !== 1) {
deptId.push(this.dataForm.deptId);
}
console.log(deptId);
this.dataForm.deptId = deptId;
// for (let i=0;i<this.list.length;i++) {
// console.log(this.list[i]);
// }
let userRoles = [] let userRoles = []
for(let i=0,len=params.row.userRoles.length; i<len; i++) { for(let i=0,len=params.row.userRoles.length; i<len; i++) {
userRoles.push(params.row.userRoles[i].roleId) userRoles.push(params.row.userRoles[i].roleId)
...@@ -223,6 +238,7 @@ export default { ...@@ -223,6 +238,7 @@ export default {
}, },
// 编辑 // 编辑
submitForm: function () { submitForm: function () {
console.log(this.dataForm);
this.$refs.dataForm.validate((valid) => { this.$refs.dataForm.validate((valid) => {
if (valid) { if (valid) {
this.$confirm('确认提交吗?', '提示', {}).then(() => { this.$confirm('确认提交吗?', '提示', {}).then(() => {
...@@ -318,6 +334,17 @@ export default { ...@@ -318,6 +334,17 @@ export default {
// 清空验证的提示信息 // 清空验证的提示信息
cancelRules: function (formName) { cancelRules: function (formName) {
this.$refs[formName].resetFields(); this.$refs[formName].resetFields();
},
treeData: function (tree, deptId) {
for(let i in tree){
if (tree[i].id === deptId) {
this.dParentId = tree[i].parentId;
return;
}
if (tree[i].children) {
this.treeData(tree[i].children, deptId);
}
}
} }
}, },
mounted() { mounted() {
......
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