Commit 7f91c701 authored by ytbdmhy's avatar ytbdmhy

mhy

parent 2f29fe7d
......@@ -141,7 +141,6 @@ const router = new Router({
name:"参保注销审核",
component: insuranceCancellationAudit
}
]
},
{
......
......@@ -50,7 +50,7 @@
</el-form-item>
</el-form>
<div class="headImg">
<div style="text-align;center;padding:9px;border-bottom:1px solid #EFF0F2;font-size:14px">领取人照片</div>
<div style="text-align:center;padding:9px;border-bottom:1px solid #EFF0F2;font-size:14px">领取人照片</div>
<div class="headCon">
<img :src="form.personPhoto" alt="">
</div>
......
<template>
<div>
<div>
<h2 class="imtil">基础信息</h2>
<div class="wrap">
<div class="wrap">
<div class="masks"></div>
<el-form ref="form" :model="form" class="formr" label-width="120px">
<el-form ref="form" :model="form" class="forml" label-width="120px">
<el-form-item label="姓名">
<el-input v-model="form.name"></el-input>
</el-form-item>
......@@ -22,8 +22,8 @@
<el-form-item label="险种类型">
<el-input v-model="form.other_social"></el-input>
</el-form-item>
</el-form>
<el-form ref="form" :model="form" class="forml" label-width="90px">
</el-form>
<el-form ref="form" :model="form" class="formr" label-width="90px">
<el-form-item label="身份证号">
<el-input v-model="form.identity_number"></el-input>
</el-form-item>
......@@ -33,8 +33,6 @@
<el-form-item label="户籍所在地">
<el-input v-model="form.townName"></el-input>
</el-form-item>
<el-form-item label="联系电话">
<el-input v-model="form.telphoneValue"></el-input>
</el-form-item>
......@@ -44,26 +42,66 @@
<el-form-item label="缴费账号">
<el-input v-model="form.pay_account"></el-input>
</el-form-item>
</el-form>
</div>
<h2 class="imtil">变更信息</h2>
<div class="wrap">
</el-form>
</div>
<h2 class="imtil">参保注销信息</h2>
<div class="wrap">
<div class="masks"></div>
<el-form ref="form" :model="form" class="forml" label-width="auto">
<el-form-item label="终止原因">
<el-input v-model="form.reason"></el-input>
</el-form-item>
<el-form-item label="死亡时间">
<el-input v-model="form.reason"></el-input>
</el-form-item>
<el-form-item label="停发时间">
<el-input v-model="form.reason"></el-input>
</el-form-item>
<el-form-item label="重复地区及险种">
<el-input v-model="form.reason"></el-input>
</el-form-item>
</el-form>
<el-form ref="form" :model="form" class="formr" label-width="auto">
<el-form-item label="户籍迁往地区">
<el-input v-model="form.reason"></el-input>
</el-form-item>
<el-form-item label="丧葬形式">
<el-input v-model="form.reason"></el-input>
</el-form-item>
<el-form-item label="停发追回金额">
<el-input v-model="form.reason"></el-input>
</el-form-item>
<el-form-item label="重复追回金额">
<el-input v-model="form.reason"></el-input>
</el-form-item>
</el-form>
</div>
<h2 class="imtil">个人账户终止结算信息</h2>
<div class="wrap">
<div class="masks"></div>
<el-form ref="form" :model="form" class="formr" label-width="150px">
<el-form-item :label="old">
<el-form ref="form" :model="form" class="forml" label-width="auto">
<el-form-item label="个人账户余额">
<el-input v-model="form.old"></el-input>
</el-form-item>
<el-form-item label="丧葬费">
<el-input v-model="form.old"></el-input>
</el-form-item>
<el-form-item label="应抵扣重复领取其他社会保险待遇">
<el-input v-model="form.old"></el-input>
</el-form-item>
</el-form>
<el-form ref="form" :model="form" class="forml" label-width="150px">
<el-form-item :label="now">
</el-form>
<el-form ref="form" :model="form" class="formr" label-width="auto">
<el-form-item label="一次性抚恤金">
<el-input v-model="form.now"></el-input>
</el-form-item>
</el-form>
</div>
<h2 class="imtil">附件</h2>
<div class="imgcon">
<div class="demo-image__placeholder">
<el-form-item label="应抵扣死亡超期领取待遇">
<el-input v-model="form.old"></el-input>
</el-form-item>
</el-form>
</div>
<h2 class="imtil">附件</h2>
<div class="imgcon">
<div class="demo-image__placeholder">
<div v-show="bb" class="block">
<p class="demonstration">{{itmebs}}</p>
<el-image :src="urls[0]"></el-image>
......@@ -92,87 +130,83 @@
</div>
</el-image>
</div>
</div>
</div>
<div style="text-align:center;margin-bottom:40px" v-show="show">
</div>
</div>
<div style="text-align:center;margin-bottom:40px" v-show="show">
<el-button type="success" @click="pass"><i class="el-icon-circle-check"></i> 审核通过</el-button>
<el-button type="danger" @click="nopass"><i class="el-icon-circle-close"></i> 审核不通过</el-button>
</div>
</div>
</div>
</div>
</template>
<script>
import CryptoJS from 'crypto-js'
import { Loading } from 'element-ui';
import {Loading} from 'element-ui';
export default {
data(){
return{
itmebs:"",
show:'',
old:"原姓名",
now:"变更后姓名",
bb:false,
form:{
"name":"",
"bank_photo":"",
"groupName":"",
"identity_number":"",
"nation":'',
"nation_type":"",
"other_social":"",
"pay_account":"",
"pay_bank":"",
"pay_type":'',
"recordType":'',
"sex":'',
"sign_photo":"",
"social_time":"",
"special_type":"",
"telphoneValue":"",
"townName":"",
"villageName":"",
"address":"",
"wuserId":'',
"old":"",
"now":""
export default {
data() {
return {
itmebs: "",
show: '',
bb: false,
form: {
"name": "",
"bank_photo": "",
"groupName": "",
"identity_number": "",
"nation": '',
"nation_type": "",
"other_social": "",
"pay_account": "",
"pay_bank": "",
"pay_type": '',
"recordType": '',
"sex": '',
"sign_photo": "",
"social_time": "",
"special_type": "",
"telphoneValue": "",
"townName": "",
"villageName": "",
"address": "",
"wuserId": '',
"old": "",
"now": ""
},
urls: [
],
show:""
urls: [],
show: ""
}
},
methods:{
methods: {
//审核通过
pass(){
pass() {
this.$confirm('是否审核通过?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
}).then(() => {
Loading.service();
var data={
var data = {
recordId: sessionStorage.getItem("recordId"),
examineState:1,
remark:"",
userId:1
examineState: 1,
remark: "",
userId: 1
};
this.$api.getlist.shenhe(data).then((res) => {
let loadingInstance = Loading.service();
this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
loadingInstance.close();
});
if(res.code==200){
if (res.code == 200) {
this.$message({
type: 'success',
message: res.data
});
this.$router.push({
name:"信息审核"
name: "信息审核"
})
}else{
} else {
this.$message({
type: 'info',
message: res.message
......@@ -186,7 +220,7 @@ export default {
});
this.$message({
type: 'info',
message: '操作失败!'+res
message: '操作失败!' + res
});
});
......@@ -198,27 +232,27 @@ export default {
});
},
//审核不通过
nopass(){
var that=this
nopass() {
var that = this
this.$prompt('请输入原因', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
}).then(({ value }) => {
if(value){
}).then(({value}) => {
if (value) {
Loading.service();
var data={
var data = {
recordId: sessionStorage.getItem("recordId"),
examineState:2,
remark:value,
userId:1
examineState: 2,
remark: value,
userId: 1
};
this.$api.getlist.shenhe(data).then((res) => {
let loadingInstance = Loading.service();
this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
loadingInstance.close();
});
if(res.code==200){
if (res.code == 200) {
this.$message({
type: 'success',
message: res.data
......@@ -226,7 +260,7 @@ export default {
// this.$router.push({
// name:"Xxsh"
// })
}else{
} else {
this.$message({
type: 'info',
message: res.message
......@@ -240,11 +274,11 @@ export default {
});
this.$message({
type: 'info',
message: '操作失败!'+res
message: '操作失败!' + res
});
});
}else{
} else {
let loadingInstance = Loading.service();
that.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
loadingInstance.close();
......@@ -261,9 +295,9 @@ export default {
});
});
},
decrypt(word){
decrypt(word) {
var key = CryptoJS.enc.Utf8.parse("KkweInfo23255625");
var decrypt = CryptoJS.AES.decrypt(word, key, {mode:CryptoJS.mode.ECB,padding: CryptoJS.pad.Pkcs7});
var decrypt = CryptoJS.AES.decrypt(word, key, {mode: CryptoJS.mode.ECB, padding: CryptoJS.pad.Pkcs7});
return CryptoJS.enc.Utf8.stringify(decrypt).toString();
},
decryptByDES(ciphertext) {
......@@ -277,138 +311,142 @@ export default {
return decrypted.toString(CryptoJS.enc.Utf8);
}
},
created(){
this.show=this.$route.params.show
this.show=this.$route.params.show
if(this.$route.params.info){
sessionStorage.setItem("info",this.$route.params.info)
created() {
this.show = this.$route.params.show
this.show = this.$route.params.show
if (this.$route.params.info) {
sessionStorage.setItem("info", this.$route.params.info)
}
if(this.$route.params.info){
var a=JSON.stringify(this.$route.params)
sessionStorage.setItem("items",a)
if (this.$route.params.info) {
var a = JSON.stringify(this.$route.params)
sessionStorage.setItem("items", a)
}
this.form =JSON.parse(sessionStorage.getItem("info"))
this.form.special_type=this.form.org_name.org_insuranceType
this.form = JSON.parse(sessionStorage.getItem("info"))
this.form.special_type = this.form.org_name.org_insuranceType
this.form.name=this.decrypt(this.form.org_name)
this.form.name = this.decrypt(this.form.org_name)
//this.form.name=this.form.org_name
this.form.identity_number=this.decrypt(this.form.org_idNum)
this.form.telphoneValue=this.decrypt(this.form.telphoneValue)
this.form.nation=this.form.nation
this.form.pay_bank=this.form.org_bankName
this.form.pay_type=this.form.org_pay
this.form.special_type=this.form.org_position
this.form.telphoneValue=this.form.org_telPhone
this.form.address=this.form.org_address
this.form.pay_account=this.form.org_bankNum
this.form.identity_number = this.decrypt(this.form.org_idNum)
this.form.telphoneValue = this.decrypt(this.form.telphoneValue)
this.form.nation = this.form.nation
this.form.pay_bank = this.form.org_bankName
this.form.pay_type = this.form.org_pay
this.form.special_type = this.form.org_position
this.form.telphoneValue = this.form.org_telPhone
this.form.address = this.form.org_address
this.form.pay_account = this.form.org_bankNum
//根据type_son判断变更内容
if(this.form.type_son==1){
this.form.old=this.form.pay_type,
this.form.now=this.form.change_pay
this.now="变更后档次"
this.old="变更前档次"
}else if(this.form.type_son==2){
this.bb=true
this.form.old=this.form.org_bankNum,
this.form.now=this.form.change_bankNum
this.now="变更后银行卡号"
this.old="变更前银行卡号"
}else if(this.form.type_son==3){
this.form.old=this.form.telphoneValue,
this.form.now=this.form.change_tel
this.now="变更后手机号"
this.old="变更前手机号"
}else if(this.form.type_son==4){
this.form.old=this.form.special_type,
this.form.now=this.form.change_position,
this.now="变更后参保身份"
this.old="变更前参保身份"
}else if(this.form.type_son==5){
this.form.old=this.form.org_address,
this.form.now=this.form.change_adress,
this.now="变更后地址"
this.old="变更前地址"
}else if(this.form.type_son==6){
this.form.old=this.form.name,
this.form.now=this.form.change_name,
this.now="变更后姓名"
this.old="变更前姓名"
if (this.form.type_son == 1) {
this.form.old = this.form.pay_type,
this.form.now = this.form.change_pay
this.now = "变更后档次"
this.old = "变更前档次"
} else if (this.form.type_son == 2) {
this.bb = true
this.form.old = this.form.org_bankNum,
this.form.now = this.form.change_bankNum
this.now = "变更后银行卡号"
this.old = "变更前银行卡号"
} else if (this.form.type_son == 3) {
this.form.old = this.form.telphoneValue,
this.form.now = this.form.change_tel
this.now = "变更后手机号"
this.old = "变更前手机号"
} else if (this.form.type_son == 4) {
this.form.old = this.form.special_type,
this.form.now = this.form.change_position,
this.now = "变更后参保身份"
this.old = "变更前参保身份"
} else if (this.form.type_son == 5) {
this.form.old = this.form.org_address,
this.form.now = this.form.change_adress,
this.now = "变更后地址"
this.old = "变更前地址"
} else if (this.form.type_son == 6) {
this.form.old = this.form.name,
this.form.now = this.form.change_name,
this.now = "变更后姓名"
this.old = "变更前姓名"
}else if(this.form.type_son==7){
this.form.old=this.form.identity_number,
this.form.now=this.decrypt(this.form.change_idNum),
this.now="变更后身份证"
this.old="变更前身份证"
} else if (this.form.type_son == 7) {
this.form.old = this.form.identity_number,
this.form.now = this.decrypt(this.form.change_idNum),
this.now = "变更后身份证"
this.old = "变更前身份证"
}
var obj=JSON.parse(sessionStorage.getItem("items"))
var obj = JSON.parse(sessionStorage.getItem("items"))
console.log(obj)
if(obj.bankpic){
this.itmebs="银行卡"
this.urls.push("http://socialsecurity.oss-cn-beijing.aliyuncs.com/"+obj.bankpic)
}else if(obj.bookPic){
if (obj.bankpic) {
this.itmebs = "银行卡"
this.urls.push("http://socialsecurity.oss-cn-beijing.aliyuncs.com/" + obj.bankpic)
} else if (obj.bookPic) {
this.itmebs="户口本"
this.urls.push("http://socialsecurity.oss-cn-beijing.aliyuncs.com/"+obj.bookPic)
}else if(obj.specialPhotoPic){
this.itmebs="特殊身份证明"
this.urls.push("http://socialsecurity.oss-cn-beijing.aliyuncs.com/"+obj.specialPhotoPic)
}else{
this.itmebs = "户口本"
this.urls.push("http://socialsecurity.oss-cn-beijing.aliyuncs.com/" + obj.bookPic)
} else if (obj.specialPhotoPic) {
this.itmebs = "特殊身份证明"
this.urls.push("http://socialsecurity.oss-cn-beijing.aliyuncs.com/" + obj.specialPhotoPic)
} else {
this.urls.push(" ")
}
this.urls.push("http://socialsecurity.oss-cn-beijing.aliyuncs.com/"+obj.signpic)
this.urls.push("http://socialsecurity.oss-cn-beijing.aliyuncs.com/" + obj.signpic)
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.idcardfrontpic)
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 ? "男" : "女"
}
}
}
</script>
<style>
.wrap{
.wrap {
overflow: hidden;
position: relative;
}
.masks{
}
.masks {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
z-index: 200
}
.forml{
}
.forml {
float: left;
width: 45%
}
.formr{
}
.formr {
float: left;
width: 40%;
width: 45%;
margin-left: 20px
}
.imgcon{
}
.imgcon {
margin: 0 auto;
box-shadow: 0 0 15px lightgray;
overflow: hidden;
margin-bottom: 40px
}
.block{
}
.block {
width: 23%
}
.block{
}
.block {
float: left;
height: 100%;
margin-right: 20px
}
}
.imtil{
padding:0 0 20px 0
}
.imtil {
padding: 0 0 20px 0
}
</style>
......@@ -299,6 +299,21 @@
show:true
}
})
} else if(d.recordtype=="参保注销") {
sessionStorage.setItem("recordId",this.tableData[s].recordId)
this.$router.push({
name:"参保注销审核",
params:{
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){
......
......@@ -48,22 +48,23 @@
<el-input v-model="dataForm.id" :disabled="true" auto-complete="off"></el-input>
</el-form-item>
<el-form-item label="用户名" prop="name">
<el-input v-model="dataForm.name" auto-complete="off"></el-input>
<el-input v-model="dataForm.name" auto-complete="off" :disabled="true"></el-input>
</el-form-item>
<el-form-item label="真实姓名" prop="truename">
<el-input v-model="dataForm.truename" auto-complete="off"></el-input>
<el-input v-model="dataForm.truename" auto-complete="off" :disabled="true"></el-input>
</el-form-item>
<el-form-item label="密码" prop="password">
<el-input v-model="dataForm.password" type="password" auto-complete="off"></el-input>
</el-form-item>
<el-form-item label="机构" prop="deptName">
<el-cascader
v-model="dataForm.deptName"
v-model="dataForm.deptId"
size="medium"
:options="list"
:props="{ checkStrictly: true }"
style="width:100%"
clearable></el-cascader>
clearable
></el-cascader>
<!-- <popup-tree-input
:data="deptData"
:props="deptTreeProps"
......@@ -135,9 +136,9 @@ export default {
name: '',
truename:'',
password: '',
deptId: 1,
deptId: '',
deptName: '',
//email: 'test@qq.com',
email: 'test@qq.com',
mobile: '13889700023',
status: 1,
userRoles: []
......@@ -206,8 +207,8 @@ export default {
this.$refs.dataForm.validate((valid) => {
if (valid) {
this.$confirm('确认提交吗?', '提示', {}).then(() => {
this.dataForm.deptName=this.dataForm.deptName[this.dataForm.deptName.length-1]
this.editLoading = true
this.dataForm.deptId = this.dataForm.deptId[this.dataForm.deptId.length-1];
this.dataForm.deptName = "";
let params = Object.assign({}, this.dataForm)
let userRoles = []
for(let i=0,len=params.userRoles.length; i<len; i++) {
......@@ -237,28 +238,27 @@ export default {
findDeptTree: function () {
this.$api.dept.findDeptTree().then((res) => {
for(var i in res.data){
res.data[i].value=res.data[i].name
res.data[i].value=res.data[i].id
res.data[i].label=res.data[i].name
for(var j in res.data[i].children){
res.data[i].children[j].value=res.data[i].children[j].name
res.data[i].children[j].value=res.data[i].children[j].id
res.data[i].children[j].label=res.data[i].children[j].name
for(var n in res.data[i].children[j].children){
res.data[i].children[j].children[n].value=res.data[i].children[j].children[n].name
res.data[i].children[j].children[n].value=res.data[i].children[j].children[n].id
res.data[i].children[j].children[n].label=res.data[i].children[j].children[n].name
}
}
}
this.list=res.data
//this.deptData = res.data
})
},
// 菜单树选中
deptTreeCurrentChangeHandle (data, node) {
this.dataForm.deptId = data.id
deptTreeCurrentChangeHandle (data) {
// this.dataForm.deptId = data.id
//this.dataForm.deptName = data.name
this.dataForm.deptName = data.name
// this.dataForm.deptName = data.name
},
// 时间格式化
       dateFormat: function (row, column, cellValue, index){
......@@ -277,13 +277,13 @@ export default {
       initColumns: function () {
this.columns = [
{prop:"id", label:"ID", minWidth:50},
{prop:"name", label:"用户名", minWidth:120},
{prop:"truename", label:"真实姓名", minWidth:100},
{prop:"deptName", label:"机构", minWidth:120},
{prop:"roleNames", label:"角色", minWidth:100},
{prop:"name", label:"用户名", minWidth:100},
{prop:"truename", label:"真实姓名", minWidth:80},
{prop:"deptName", label:"机构", minWidth:100},
{prop:"roleNames", label:"角色", minWidth:80},
{prop:"job", label:"职务", minWidth:80},
{prop:"mobile", label:"手机", minWidth:100},
{prop:"status", label:"状态", minWidth:70},
{prop:"mobile", label:"手机", minWidth:80},
// {prop:"createBy", label:"创建人", minWidth:120},
// {prop:"createTime", label:"创建时间", minWidth:120, formatter:this.dateFormat}
......
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