Commit 3799e3b8 authored by qddidi's avatar qddidi

待遇申请

parent b753639d
...@@ -132,11 +132,11 @@ export const listAllBaseInfo = (data) => { ...@@ -132,11 +132,11 @@ export const listAllBaseInfo = (data) => {
}) })
} }
// //
export const selectflowState = (data) => { export const selectflowState = (params) => {
return axios({ return axios({
url: '/folw/selectflowState', url: '/folw/selectflowState',
method: 'post', method: 'get',
data params
}) })
} }
//领取人员查询 //领取人员查询
......
...@@ -9,7 +9,8 @@ import ElementUI from 'element-ui' ...@@ -9,7 +9,8 @@ import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css' import 'element-ui/lib/theme-chalk/index.css'
import 'font-awesome/css/font-awesome.min.css' import 'font-awesome/css/font-awesome.min.css'
import '@/assets/iconfont/iconfont.css' import '@/assets/iconfont/iconfont.css'
import getType from "@/utils/type.js"
Vue.prototype.getType =getType.getType
Vue.use(ElementUI) Vue.use(ElementUI)
Vue.use(api) Vue.use(api)
......
...@@ -24,7 +24,7 @@ import drdcbg from "@/views/Myvue/drdcbg"; ...@@ -24,7 +24,7 @@ import drdcbg from "@/views/Myvue/drdcbg";
import receivePersonnel from "@/views/Myvue/receivePersonnel"; import receivePersonnel from "@/views/Myvue/receivePersonnel";
import AllbaseInfo from "@/views/Myvue/allbaseInfo" import AllbaseInfo from "@/views/Myvue/allbaseInfo"
import PayInfo from "@/views/Myvue/payInfo" import PayInfo from "@/views/Myvue/payInfo"
import application from "@/views/Myvue/application"
Vue.use(Router) Vue.use(Router)
const router = new Router({ const router = new Router({
...@@ -117,6 +117,10 @@ const router = new Router({ ...@@ -117,6 +117,10 @@ const router = new Router({
path:"/payInfo", path:"/payInfo",
name:"缴费记录", name:"缴费记录",
component: PayInfo component: PayInfo
},{
path:"/application",
name:"待遇申请审核",
component: application
} }
] ]
}, },
......
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
//export const baseUrl ="http://faceauth.weface.com.cn:98" //export const baseUrl ="http://faceauth.weface.com.cn:98"
//export const baseUrl2 = 'http://faceauth.weface.com.cn:97' //export const baseUrl2 = 'http://faceauth.weface.com.cn:97'
//export const baseUrl = 'http://172.16.10.33:9002' //export const baseUrl = 'http://172.16.10.33:9002'
export const baseUrl = 'http://172.16.10.25:9002' //export const baseUrl = 'http://172.16.10.25:9002'
//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 baseUrl2 = 'http://172.16.10.25:9999'
//export const baseUrl = 'http://172.16.10.25:9002' //export const baseUrl = 'http://172.16.10.25:9002'
//export const baseUrl ="http://172.16.10.33:9002" //export const baseUrl ="http://172.16.10.33:9002"
......
function getType(s){
let a= s==1?"参保登记":s==2?"信息变更":s==3?"待遇申请":s==4?"参保注销":s==5?"补缴保费":s==6?"升档改办":s==7?"关系转移":""
return a
}
export default{
getType
}
\ No newline at end of file
This diff is collapsed.
...@@ -278,7 +278,7 @@ ...@@ -278,7 +278,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=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
...@@ -319,6 +319,21 @@ ...@@ -319,6 +319,21 @@
show:false show:false
} }
}) })
}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:false
}
})
} }
}, },
handleDelete(g,h){ handleDelete(g,h){
...@@ -383,7 +398,7 @@ ...@@ -383,7 +398,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=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
......
...@@ -21,6 +21,10 @@ ...@@ -21,6 +21,10 @@
<el-table-column <el-table-column
prop="createby" prop="createby"
label="创建人"> label="创建人">
</el-table-column>
<el-table-column
prop="flowNo"
label="流程号">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="createtime" prop="createtime"
...@@ -49,7 +53,7 @@ ...@@ -49,7 +53,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<el-dialog title="已作废流程" :visible.sync="dialogTableVisible"> <el-dialog title="已作废流程" width="70%" :visible.sync="dialogTableVisible">
<el-table <el-table
:data="detableData" :data="detableData"
style="width: 100%" style="width: 100%"
...@@ -66,6 +70,10 @@ ...@@ -66,6 +70,10 @@
<el-table-column <el-table-column
prop="createby" prop="createby"
label="创建人"> label="创建人">
</el-table-column>
<el-table-column
prop="flowNo"
label="流程号">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="createtime" prop="createtime"
...@@ -93,17 +101,17 @@ ...@@ -93,17 +101,17 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
</el-dialog>
<el-pagination <el-pagination
class="pone" class="pone"
:page-size='10' :page-size='10'
layout="total, prev, pager, next, jumper" layout="total, prev, pager, next, jumper"
:total="totals" :total="totals"
:current-page.sync="Page" :current-page.sync="Page"
@current-change="current_change"
> >
</el-pagination> </el-pagination>
</el-dialog>
<el-dialog <el-dialog
:title="flowTitle" :title="flowTitle"
:visible.sync="dialogVisible" :visible.sync="dialogVisible"
...@@ -202,8 +210,13 @@ ...@@ -202,8 +210,13 @@
methods:{ methods:{
//作废 //作废
delet(){ delet(){
this.$api.getlist.selectflowState().then((res) => { var data={
this.detableData=res.data pageNum:1,
pageSize:10
}
this.$api.getlist.selectflowState(data).then((res) => {
this.detableData=res.data.result
this.totals=res.data.total
this.dialogTableVisible=true this.dialogTableVisible=true
}).catch((res) => { }).catch((res) => {
...@@ -221,7 +234,18 @@ this.$api.getlist.selectflowState().then((res) => { ...@@ -221,7 +234,18 @@ this.$api.getlist.selectflowState().then((res) => {
}); });
}, },
current_change(s){ current_change(s){
var data={
pageNum:s,
pageSize:10
}
this.$api.getlist.selectflowState(data).then((res) => {
this.detableData=res.data.result
this.totals=res.data.total
this.dialogTableVisible=true
}).catch((res) => {
});
}, },
toshow(s){ toshow(s){
this.showiii=s this.showiii=s
......
...@@ -292,6 +292,7 @@ export default { ...@@ -292,6 +292,7 @@ export default {
this.form.special_type=this.form.org_name.org_insuranceType 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.identity_number=this.decrypt(this.form.org_idNum)
this.form.telphoneValue=this.decrypt(this.form.telphoneValue) this.form.telphoneValue=this.decrypt(this.form.telphoneValue)
this.form.nation=this.form.nation this.form.nation=this.form.nation
...@@ -337,7 +338,7 @@ export default { ...@@ -337,7 +338,7 @@ export default {
}else if(this.form.type_son==7){ }else if(this.form.type_son==7){
this.form.old=this.form.identity_number, this.form.old=this.form.identity_number,
this.form.now=this.form.change_idNum, this.form.now=this.decrypt(this.form.change_idNum),
this.now="变更后身份证" this.now="变更后身份证"
this.old="变更前身份证" this.old="变更前身份证"
} }
...@@ -351,7 +352,6 @@ export default { ...@@ -351,7 +352,6 @@ export default {
this.itmebs="户口本" this.itmebs="户口本"
this.urls.push("http://socialsecurity.oss-cn-beijing.aliyuncs.com/"+obj.bookPic) this.urls.push("http://socialsecurity.oss-cn-beijing.aliyuncs.com/"+obj.bookPic)
}else if(obj.specialPhotoPic){ }else if(obj.specialPhotoPic){
console.log(123132)
this.itmebs="特殊身份证明" this.itmebs="特殊身份证明"
this.urls.push("http://socialsecurity.oss-cn-beijing.aliyuncs.com/"+obj.specialPhotoPic) this.urls.push("http://socialsecurity.oss-cn-beijing.aliyuncs.com/"+obj.specialPhotoPic)
}else{ }else{
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<el-table <el-table
:data="tableData" :data="tableData"
style="width: 100%" style="width: 100%"
:row-class-name="tableRowClassName"> >
<el-table-column <el-table-column
prop="idcard" prop="idcard"
label="身份证号" label="身份证号"
...@@ -223,14 +223,7 @@ ...@@ -223,14 +223,7 @@
}) })
}, },
tableRowClassName({row, rowIndex}) {
if (rowIndex === 1) {
return 'warning-row';
} else if (rowIndex === 3) {
return 'success-row';
}
return '';
},
current_change(ss){ current_change(ss){
var data={ var data={
pageNum:ss, pageNum:ss,
...@@ -249,7 +242,7 @@ ...@@ -249,7 +242,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)
res.data.list[i].createtime=d.getFullYear()+"-"+d.getMonth() + 1+"-"+d.getDate()+d.getHours() + ':' + d.getMinutes() + ':' + d.getSeconds(); res.data.list[i].createtime=d.getFullYear()+"-"+d.getMonth() + 1+"-"+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=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
...@@ -291,6 +284,21 @@ ...@@ -291,6 +284,21 @@
show:true 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){ handleDelete(g,h){
...@@ -324,6 +332,7 @@ ...@@ -324,6 +332,7 @@
}, },
created(){ created(){
Loading.service(); Loading.service();
var data={ var data={
idcard:'', idcard:'',
...@@ -341,39 +350,20 @@ ...@@ -341,39 +350,20 @@
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)
} }
console.log(12312312)
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 需要异步关闭
loadingInstance.close(); loadingInstance.close();
}); });
}); })
// var that=this
// baseUrl.setToken()
// $.ajax({
// url:baseUrl.baseUrl+"examine/listExamining",
// type:'post',
// data:{
// userId:1
// },
// success(res){
// for(var i in res.data.list){
// res.data.list[i].idcard=that.decrypt(res.data.list[i].idcard)
// res.data.list[i].name=that.decrypt(res.data.list[i].name)
// res.data.list[i].recordtype=res.data.list[i].recordtype==1?"参保登记":""
// }
// that.tableData=res.data.list
// that.totals=res.data.total
// that.page=res.data.total.pageNum
// }
// })
} }
} }
</script> </script>
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