Commit a37c09ef authored by miaohaoyun's avatar miaohaoyun

Merge branch 'mhy' into 'master'

Mhy

See merge request !62
parents 6b0be803 0a7d15cf
...@@ -9,22 +9,32 @@ ...@@ -9,22 +9,32 @@
<el-table-column <el-table-column
prop="idcard" prop="idcard"
label="身份证号码" label="身份证号码"
min-width="20%"> min-width="15%">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="name" prop="name"
label="姓名" label="姓名"
min-width="20%"> min-width="10%">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="bankAccount" prop="bankAccount"
label="银行账号" label="银行账号"
min-width="20%"> min-width="15%">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="bank" prop="bank"
label="所属银行" label="所属银行"
min-width="20%"> min-width="10%">
</el-table-column>
<el-table-column
prop="payType"
label="补缴类型"
min-width="15%">
</el-table-column>
<el-table-column
prop="payNumTol"
label="补缴合计"
min-width="15%">
</el-table-column> </el-table-column>
<el-table-column label="操作" <el-table-column label="操作"
min-width="20%"> min-width="20%">
......
...@@ -326,6 +326,7 @@ ...@@ -326,6 +326,7 @@
name:"待遇申请审核", name:"待遇申请审核",
params:{ params:{
treApp: { treApp: {
name: this.tableData[s].name,
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,
...@@ -344,6 +345,7 @@ ...@@ -344,6 +345,7 @@
name:"参保注销审核", name:"参保注销审核",
params:{ params:{
insCan: { insCan: {
name: this.tableData[s].name,
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,
...@@ -362,6 +364,7 @@ ...@@ -362,6 +364,7 @@
name:"补缴保费审核", name:"补缴保费审核",
params:{ params:{
supPay: { supPay: {
name: this.tableData[s].name,
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,
...@@ -380,6 +383,7 @@ ...@@ -380,6 +383,7 @@
name:"升档改办审核", name:"升档改办审核",
params:{ params:{
upgReo: { upgReo: {
name: this.tableData[s].name,
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,
...@@ -398,6 +402,7 @@ ...@@ -398,6 +402,7 @@
name:"关系转移审核", name:"关系转移审核",
params:{ params:{
traRel: { traRel: {
name: this.tableData[s].name,
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,
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div> <div>
<h2 class="imtil">基础信息</h2> <h2 class="imtil">基础信息</h2>
<div class="wrap"> <div class="wrap">
<!-- <div class="masks"></div>--> <div v-if="!this.show" class="masks"></div>
<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="被终止人姓名姓名">
<el-input v-model="form4.name"></el-input> <el-input v-model="form4.name"></el-input>
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
</div> </div>
<h2 class="imtil">参保注销信息</h2> <h2 class="imtil">参保注销信息</h2>
<div class="wrap"> <div class="wrap">
<!-- <div class="masks"></div>--> <div v-if="!this.show" class="masks"></div>
<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="终止原因">
<el-input v-model="form4.cancel_res"></el-input> <el-input v-model="form4.cancel_res"></el-input>
...@@ -54,13 +54,14 @@ ...@@ -54,13 +54,14 @@
<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 v-if="this.show" placeholder="如有金额请输入"></el-input>
<el-input v-if="!this.show"></el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
<h2 class="imtil">个人账户终止结算信息</h2> <h2 class="imtil">个人账户终止结算信息</h2>
<div class="wrap"> <div class="wrap">
<!-- <div class="masks"></div>--> <div v-if="!this.show" class="masks"></div>
<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="个人账户余额">
<el-input v-model="form4.account_balance"></el-input> <el-input v-model="form4.account_balance"></el-input>
...@@ -92,7 +93,7 @@ ...@@ -92,7 +93,7 @@
</div> </div>
<h2 class="imtil">指定受益人或法定继承人</h2> <h2 class="imtil">指定受益人或法定继承人</h2>
<div class="wrap"> <div class="wrap">
<!-- <div class="masks"></div>--> <div v-if="!this.show" class="masks"></div>
<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="姓名">
<el-input v-model="form4.bailor_name"></el-input> <el-input v-model="form4.bailor_name"></el-input>
...@@ -390,7 +391,7 @@ ...@@ -390,7 +391,7 @@
this.urls.push("http://socialsecurity.oss-cn-beijing.aliyuncs.com/" + obj.idcardbackpic); this.urls.push("http://socialsecurity.oss-cn-beijing.aliyuncs.com/" + obj.idcardbackpic);
this.form4.sex = this.form4.sex === 1 ? "男" : "女"; this.form4.sex = this.form4.sex === 1 ? "男" : "女";
this.form4.bailor_sex = this.form4.bailor_sex === 1 ? "男" : "女"; this.form4.bailor_sex = this.form4.bailor_sex === 1 ? "男" : "女";
if (this.form4.birth_day !== null) { if (this.form4.birth_day) {
this.form4.birth_day = formatDate(this.form4.birth_day.time); this.form4.birth_day = formatDate(this.form4.birth_day.time);
} }
}, },
......
<template> <template>
<div> <div>
<div class="op"> <div class="op">
<Candode v-on:childByValue="childByValue"></Candode> <Candode class="candode" v-on:childByValue="childByValue"></Candode>
<div class="nam"> <div class="nam">
<el-input v-model="name" size="mini" placeholder="请输入姓名" clearable></el-input> <el-input v-model="name" size="mini" placeholder="请输入姓名" clearable></el-input>
</div> </div>
...@@ -18,8 +18,13 @@ ...@@ -18,8 +18,13 @@
</el-option> </el-option>
</el-select> </el-select>
</div> </div>
<el-button type="primary" size="mini" style="background:#148A9B;margin-left:10px" icon="el-icon-search" <el-button
@click="search">搜索 type="primary"
size="mini"
style="background:#148A9B;margin-left:10px"
icon="el-icon-search"
@click="search">
搜索
</el-button> </el-button>
</div> </div>
<el-table <el-table
...@@ -79,7 +84,8 @@ ...@@ -79,7 +84,8 @@
type="primary" type="primary"
size="mini" size="mini"
icon="el-icon-s-check" icon="el-icon-s-check"
@click="handle(scope.$index, scope.row)">详情</el-button> @click="handle(scope.$index, scope.row)">详情
</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -215,26 +221,27 @@ ...@@ -215,26 +221,27 @@
</div> </div>
</template> </template>
<style> <style scoped>
.op { .op {
display: flex; display: flex;
align-items: center; align-items: center;
} }
.candode {
margin-right: 20px;
}
.idc { .idc {
margin-left: 20px; margin-right: 20px;
min-width: 200px;
} }
.nam { .nam {
margin-left: 20px; margin-right: 20px;
min-width: 200px;
} }
.grantState { /*.grantState {*/
margin-left: 20px; /* margin-right: 20px;*/
/*min-width: 200px;*/ /*}*/
}
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
...@@ -259,7 +266,7 @@ ...@@ -259,7 +266,7 @@
import Candode from "../Core/candode" import Candode from "../Core/candode"
export default { export default {
components:{ components: {
Candode Candode
}, },
data() { data() {
...@@ -296,21 +303,17 @@ ...@@ -296,21 +303,17 @@
idCard: this.idCard ? this.Encrypt(this.idCard) : "", idCard: this.idCard ? this.Encrypt(this.idCard) : "",
name: this.name ? this.Encrypt(this.name) : "", name: this.name ? this.Encrypt(this.name) : "",
grantState: this.grantState, grantState: this.grantState,
townName: this.townList?this.townList[0]:"", townName: this.townList ? this.townList[0] : "",
villageName:this.townList?this.townList[1]:"", villageName: this.townList ? this.townList[1] : "",
}; };
this.$api.getlist.getGrantList(data).then((res) => { this.$api.getlist.getGrantList(data).then((res) => {
for (var i in res.data.list) { for (var i in res.data.list) {
res.data.list[i].idcard = this.decrypt(res.data.list[i].idcard) res.data.list[i].idcard = res.data.list[i].idcard ? this.decrypt(res.data.list[i].idcard) : "";
res.data.list[i].name = this.decrypt(res.data.list[i].name) 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 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].recordtype = res.data.list[i].recordtype == 1 ? "参保登记" : res.data.list[i].recordtype == 2 ? "信息变更" : ''
} }
this.tableData = res.data.content this.tableData = res.data.content;
this.totals = res.data.totalSize this.totals = res.data.totalSize;
this.pageNum = res.data.pageNum this.pageNum = res.data.pageNum;
let loadingInstance = Loading.service(); let loadingInstance = Loading.service();
this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭 this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
loadingInstance.close(); loadingInstance.close();
...@@ -329,8 +332,8 @@ ...@@ -329,8 +332,8 @@
idCard: this.idCard ? this.Encrypt(this.idCard) : "", idCard: this.idCard ? this.Encrypt(this.idCard) : "",
name: this.name ? this.Encrypt(this.name) : "", name: this.name ? this.Encrypt(this.name) : "",
grantState: this.grantState, grantState: this.grantState,
townName: this.townList?this.townList[0]:"", townName: this.townList ? this.townList[0] : "",
villageName:this.townList?this.townList[1]:"", villageName: this.townList ? this.townList[1] : "",
}; };
Loading.service(); Loading.service();
this.$api.getlist.getGrantList(data).then((res) => { this.$api.getlist.getGrantList(data).then((res) => {
...@@ -339,16 +342,12 @@ ...@@ -339,16 +342,12 @@
loadingInstance.close(); loadingInstance.close();
}); });
for (var i in res.data.list) { for (var i in res.data.list) {
res.data.list[i].idcard = this.decrypt(res.data.list[i].idcard) res.data.list[i].idcard = this.decrypt(res.data.list[i].idcard);
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 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].recordtype = res.data.list[i].recordtype == 1 ? "参保登记" : res.data.list[i].recordtype == 2 ? "信息变更" : ''
} }
this.tableData = res.data.content this.tableData = res.data.content;
this.totals = res.data.totalSize this.totals = res.data.totalSize;
this.pageNum = res.data.pageNum this.pageNum = res.data.pageNum;
}).catch((res) => { }).catch((res) => {
let loadingInstance = Loading.service(); let loadingInstance = Loading.service();
this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭 this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
...@@ -365,8 +364,8 @@ ...@@ -365,8 +364,8 @@
this.data.retirementDate = d.getFullYear() + "-" + mon + "-" + d.getDate(); this.data.retirementDate = d.getFullYear() + "-" + mon + "-" + d.getDate();
}, },
handleDelete(g, h) { handleDelete(g, h) {
console.log(g) console.log(g);
console.log(h) console.log(h);
}, },
Encrypt(word) { //aes加密 Encrypt(word) { //aes加密
var key = CryptoJS.enc.Utf8.parse("KkweInfo23255625"); var key = CryptoJS.enc.Utf8.parse("KkweInfo23255625");
...@@ -388,7 +387,7 @@ ...@@ -388,7 +387,7 @@
ciphertext: CryptoJS.enc.Base64.parse(ciphertext) ciphertext: CryptoJS.enc.Base64.parse(ciphertext)
}, keyHex, { }, keyHex, {
mode: CryptoJS.mode.ECB, mode: CryptoJS.mode.ECB,
padding: CryptoJS.pad.Pkcs7 padding: CryptoJS.pad.Pkcs7,
}); });
return decrypted.toString(CryptoJS.enc.Utf8); return decrypted.toString(CryptoJS.enc.Utf8);
}, },
...@@ -397,9 +396,10 @@ ...@@ -397,9 +396,10 @@
.then(_ => { .then(_ => {
done(); done();
}) })
.catch(_ => {}); .catch(_ => {
});
}, },
childByValue(val){ childByValue(val) {
this.townList = val; this.townList = val;
}, },
}, },
...@@ -412,15 +412,11 @@ ...@@ -412,15 +412,11 @@
loadingInstance.close(); loadingInstance.close();
}); });
for (var i in res.data.list) { for (var i in res.data.list) {
res.data.list[i].idcard = this.decrypt(res.data.list[i].idcard) res.data.list[i].idcard = this.decrypt(res.data.list[i].idcard);
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 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].recordtype = res.data.list[i].recordtype == 1 ? "参保登记" : res.data.list[i].recordtype == 2 ? "信息变更" : ''
} }
this.tableData = res.data.content this.tableData = res.data.content;
this.totals = res.data.totalSize this.totals = res.data.totalSize;
this.pageNum = res.data.pageNum this.pageNum = res.data.pageNum
}).catch((res) => { }).catch((res) => {
let loadingInstance = Loading.service(); let loadingInstance = Loading.service();
......
...@@ -167,7 +167,7 @@ ...@@ -167,7 +167,7 @@
this.$router.back(); this.$router.back();
// 关闭当前标签 // 关闭当前标签
let closeAll = document.querySelectorAll(".el-icon-close"); let closeAll = document.querySelectorAll(".el-icon-close");
for(let j = 0, len = closeAll.length; j < len; j++) { for (let j = 0, len = closeAll.length; j < len; j++) {
if (closeAll[j].previousSibling != null && closeAll[j].previousSibling.innerText === "补缴保费审核 ") { if (closeAll[j].previousSibling != null && closeAll[j].previousSibling.innerText === "补缴保费审核 ") {
closeAll[j].click(); closeAll[j].click();
return; return;
...@@ -227,7 +227,7 @@ ...@@ -227,7 +227,7 @@
this.$router.back(); this.$router.back();
// 关闭当前标签 // 关闭当前标签
let closeAll = document.querySelectorAll(".el-icon-close"); let closeAll = document.querySelectorAll(".el-icon-close");
for(let j = 0, len = closeAll.length; j < len; j++) { for (let j = 0, len = closeAll.length; j < len; j++) {
if (closeAll[j].previousSibling != null && closeAll[j].previousSibling.innerText === "补缴保费审核 ") { if (closeAll[j].previousSibling != null && closeAll[j].previousSibling.innerText === "补缴保费审核 ") {
closeAll[j].click(); closeAll[j].click();
return; return;
...@@ -274,10 +274,10 @@ ...@@ -274,10 +274,10 @@
padding: CryptoJS.pad.Pkcs7 padding: CryptoJS.pad.Pkcs7
}); });
return decrypted.toString(CryptoJS.enc.Utf8); return decrypted.toString(CryptoJS.enc.Utf8);
} },
}, },
created() { created() {
if (typeof(this.$route.params.supPay) !== "undefined" && this.$route.params.supPay.info) { if (typeof (this.$route.params.supPay) !== "undefined" && this.$route.params.supPay.info) {
this.show = this.$route.params.supPay.show; this.show = this.$route.params.supPay.show;
sessionStorage.setItem("supPayInfo", this.$route.params.supPay.info); sessionStorage.setItem("supPayInfo", this.$route.params.supPay.info);
sessionStorage.setItem("supPayItems", JSON.stringify(this.$route.params.supPay)); sessionStorage.setItem("supPayItems", JSON.stringify(this.$route.params.supPay));
...@@ -307,7 +307,11 @@ ...@@ -307,7 +307,11 @@
this.urls.push("http://socialsecurity.oss-cn-beijing.aliyuncs.com/" + obj.idcardfrontpic); this.urls.push("http://socialsecurity.oss-cn-beijing.aliyuncs.com/" + obj.idcardfrontpic);
this.urls.push("http://socialsecurity.oss-cn-beijing.aliyuncs.com/" + obj.idcardbackpic); this.urls.push("http://socialsecurity.oss-cn-beijing.aliyuncs.com/" + obj.idcardbackpic);
this.form.sex = this.form.sex === 1 ? "男" : "女"; this.form.sex = this.form.sex === 1 ? "男" : "女";
if (this.form.address) {
const address = JSON.parse(this.form.address);
this.form.address = address.province + address.city + address.county + address.town + address.village + address.group;
} }
},
} }
</script> </script>
<style> <style>
......
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