Commit 3a9a8cb8 authored by ytbdmhy's avatar ytbdmhy

修复审核记录,完善角色签章、用户的角色列表、密码控制等

parent 0ff4d752
...@@ -14,13 +14,17 @@ ...@@ -14,13 +14,17 @@
label="姓名"> label="姓名">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="socialSecurityNumber" prop="applyWay"
label="领取方式"> label="领取方式">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="nation" prop="payNum"
label="缴费年限"> label="缴费年限">
</el-table-column> </el-table-column>
<el-table-column
prop="accountBalance"
label="个人账户积累额">
</el-table-column>
<el-table-column label="操作"> <el-table-column label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
......
...@@ -322,18 +322,92 @@ ...@@ -322,18 +322,92 @@
} }
}) })
}else if(d.recordtype=="待遇申请"){ }else if(d.recordtype=="待遇申请"){
sessionStorage.setItem("recordId", this.tableData[s].recordId)
this.$router.push({ this.$router.push({
name: "待遇申请审核", name:"待遇申请审核",
params: { params:{
info: this.tableData[s].info, treApp: {
bankpic: this.tableData[s].bankpic, recordId: this.tableData[s].recordId,
idcardbackpic: this.tableData[s].idcardbackpic, info:this.tableData[s].info,
idcardfrontpic: this.tableData[s].idcardfrontpic, bankpic:this.tableData[s].bankpic,
signpic: this.tableData[s].signpic, idcardbackpic:this.tableData[s].idcardbackpic,
specialPhotoPic: this.tableData[s].specialPhotoPic, idcardfrontpic:this.tableData[s].idcardfrontpic,
bookPic: this.tableData[s].bookPic, signpic:this.tableData[s].signpic,
show: false specialPhotoPic:this.tableData[s].specialPhotoPic,
bookPic:this.tableData[s].bookPic,
show:false
}
}
})
} else if(d.recordtype === "参保注销") {
// sessionStorage.setItem("recordId",this.tableData[s].recordId)
this.$router.push({
name:"参保注销审核",
params:{
insCan: {
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:false
}
}
})
} 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:false
}
}
})
} 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:false
}
}
})
} 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:false
}
} }
}) })
} }
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
</el-form-item> </el-form-item>
<el-form-item label="签章" prop="seal" align="left"> <el-form-item label="签章" prop="seal" align="left">
<el-popover <el-popover
v-if="dataForm.sealStr !== null && dataForm.sealStr != ''" v-if="typeof(dataForm.sealStr) !== 'undefined' && dataForm.sealStr !== null && dataForm.sealStr != ''"
placement="left" placement="left"
title="" title=""
trigger="hover"> trigger="hover">
...@@ -48,11 +48,18 @@ ...@@ -48,11 +48,18 @@
action="" action=""
accept=".png,.jpg" accept=".png,.jpg"
:on-change="changeSeal" :on-change="changeSeal"
:limit="1"
:file-list="sealUrl" :file-list="sealUrl"
:auto-upload="false"> :auto-upload="false">
<el-button slot="trigger" size="small" type="primary">选取文件</el-button> <el-button slot="trigger" size="small" type="primary">选取文件</el-button>
<div slot="tip" class="el-upload__tip">只能上传jpg/png文件</div> <el-button
v-if="typeof(dataForm.sealStr) !== 'undefined' && dataForm.sealStr !== null && dataForm.sealStr != ''"
icon="el-icon-delete"
size="small"
type="warning"
@click="cancelSeal">
取消签章
</el-button>
<!-- <div slot="tip" class="el-upload__tip">只能上传jpg/png文件</div>-->
</el-upload> </el-upload>
</el-form-item> </el-form-item>
</el-form> </el-form>
...@@ -170,6 +177,8 @@ export default { ...@@ -170,6 +177,8 @@ export default {
id: 0, id: 0,
name: '', name: '',
remark: '', remark: '',
seal: '',
sealStr: '',
} }
this.sealUrl = []; this.sealUrl = [];
}, },
...@@ -303,7 +312,8 @@ export default { ...@@ -303,7 +312,8 @@ export default {
           return format(row[column.property])            return format(row[column.property])
       },        },
changeSeal(file) { changeSeal(file) {
var This = this; let This = this;
this.dataForm.sealStr = "";
this.sealUrl = []; this.sealUrl = [];
this.sealUrl.push(file); this.sealUrl.push(file);
if (this.sealUrl.length > 0) { if (this.sealUrl.length > 0) {
...@@ -318,6 +328,11 @@ export default { ...@@ -318,6 +328,11 @@ export default {
reader.onload = function (e) { reader.onload = function (e) {
callback.call(this, this.result.substring(this.result.indexOf(",") + 1)); callback.call(this, this.result.substring(this.result.indexOf(",") + 1));
} }
},
cancelSeal() {
this.sealUrl = [];
this.dataForm.sealStr = null;
this.dataForm.seal = null;
} }
}, },
mounted() { mounted() {
......
...@@ -150,7 +150,11 @@ export default { ...@@ -150,7 +150,11 @@ export default {
], ],
deptId: [ deptId: [
{ required: true, message: '请选择机构', trigger: 'change'} { required: true, message: '请选择机构', trigger: 'change'}
] ],
password: [
{ required: true, message: '请输入密码', trigger: 'blur'},
{ pattern: /^[\w_-]{6,18}$/, message: '密码必须为6至18位', trigger: 'blur'}
],
}, },
// 新增编辑界面数据 // 新增编辑界面数据
dataForm: { dataForm: {
...@@ -201,7 +205,14 @@ export default { ...@@ -201,7 +205,14 @@ export default {
findUserRoles: function () { findUserRoles: function () {
this.$api.role.findAll().then((res) => { this.$api.role.findAll().then((res) => {
// 加载角色集合 // 加载角色集合
this.roles = res.data this.roles = res.data;
console.log("roles:", this.roles);
for (let i = 0,len = this.roles.length;i < len;i++) {
if (this.roles[i].name === "超级管理员") {
this.roles.splice(i, 1);
break;
}
}
}) })
}, },
// 批量删除 // 批量删除
......
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