master
lion 3 years ago
parent da2e178dd3
commit 38844f41df

@ -24,6 +24,7 @@
<el-table-column fixed="right" label="操作" width="260" header-align="center">
<template slot-scope="scope">
<Button v-if="scope.row.work_status=='待审核'" style="margin-left: 10px;" type="primary" size="small" @click="checkRecord(scope.row.id)"></Button>
<!-- <Button style="margin-left: 10px;" type="primary" size="small" @click="goUrls(,scope.row.id)"></Button> -->
<Poptip transfer confirm title="确认要删除吗?" @on-ok="deleteRecord(scope.row)">
<Button type="primary" style="margin-left: 10px;" size="small" ghost>删除</Button>
</Poptip>
@ -61,7 +62,7 @@
data() {
return {
select: {
pageSize: 10,
pageSize: 40,
pageIndex: 1,
keyword: ""
},
@ -107,7 +108,7 @@
{
label: "所属街道",
width: 120,
prop: 'street',
prop: 'jiedao',
align: 'center'
},
{

@ -54,7 +54,7 @@
key: 'name',
}, {
title: '所属街道',
key: 'street',
key: 'jiedao',
}
],
list: [],

@ -94,6 +94,82 @@
insures: '/book_insure',
cancels: '/book_cancel',
jobs: '/book_job'
},
tableShow:{
fuels:{
money:'补贴金额'
},
reforms:{
reform_case:'改造方案'
},
medicines:{},
childrens:{
nianlingduan:'年龄段',
dingdianjigou:'定点机构'
},
assists:{
shenqingnianxian:'申请年限',
guanlinianxian:'管理年限',
sub_type:'辅具类别',
sum_num:'辅具数量',
apply_money:'可申请补贴金额',
get_money:'已申请补贴金额',
surplus_money:'结余金额'
},
communities:{
fuwuneirong:'服务内容',
tijianniandu:'体检年度',
tijianfangshi:'体检方式',
is_success:'是否完成',
is_date:'完成时间'
},
educations:{
school:'就读学校',
xueli:'学历层次',
class:'年级',
sub_money:'补贴金额'
},
raises:{
raise_name:'托养机构',
raise_type:'托养方式'
},
starts_addresses:{
starts_address:'经营场所地址',
starts_number:'统一社会信用代码',
starts_pay:'申请补贴费用',
},
starts_subsidys:{
starts_scale:'统一社会信用代码',
starts_money:'补贴金额'
},
doubles:{
jiatingzhuangkuang:'家庭状况',
shenghuobutieleixing:'生活补贴类型',
shenghuobutiejine:'生活补贴金额',
hulibutieleixing:'护理补贴类型',
hulibutiejine:'护理补贴金额'
},
disabilities:{
disabilitytype:'残疾类别',
disabilitylevel:'残疾等级'
},
trains:{
train_name:'培训名称'
},
insures:{
lingkuanrenxingming:'领款人姓名',
chuxianriqi:'出险日期',
jieanriqi:'结案日期',
peifujine:'赔付金额'
},
cancels:{},
jobs:{
jiuyezhuangkuang:'就业状况',
congshihangye:'从事行业',
jiuyetujing:'就业途径',
danweimingcheng:'单位名称'
}
},
option: {
"name": "视图",
@ -206,14 +282,19 @@
}
}
})
})
//
let names = `<div class="persons"><img src='${imgUrl}'><div>${res.name}<div></div>`
let contents =
`<div class='workhover' onclick="goUrls(${res.id},'records')"><p>姓名:${res.name}</p><p>性别:${res.sex}</p><p>年龄:${age}</p><p>街道:${res.jiedao?res.jiedao:''}</p><p>联系方式:${res.mobile?res.mobile:''}</p><p>残疾类别:${res.disabilitytype}</p><p>残疾等级:${res?.disabilitylevel}</p><p>现居住地:${res.reside}</p></div>`
this.option['nodeList'][0]['content'] = names
this.option['nodeList'][1]['content'] = contents
let views = ''
let workflows = ''
this.idcard = res.idcard
this.idcard = res.idcard
// 访
if (res.idcard_viewrecords_idcard_relation.length > 0) {
for (var k of res.idcard_viewrecords_idcard_relation) {
if (k.checkstatus == '通过') {
@ -222,30 +303,26 @@
}
}else{
views += `<div><p>暂无访视信息<p></div>`
}
}
this.option['nodeList'][3]['content'] = views
//
if (res.idcard_workflows_idcard_relation.length > 0) {
for (var k of res.idcard_workflows_idcard_relation) {
if (k.work_status == '通过') {
//
for (var u in this.urlList) {
if (k.guanlianbiao == u) {
// this.tableName = u
// workflows +=`<div class='workhover' onclick="goUrls('${this.urlList[u]}','${res.idcard}')">`
workflows += `<div class='workhover' onclick="goUrls(${k.detail.id},'${u}')">`
}
}
if (k.guanlianbiao == 'assists') {
workflows += `<p>${k.created_at?.substring(0,10)}/${k.guanlianbiaoming}<p>`
workflows += `<p>申请年限:${k.detail.shenqingnianxian}<p>`
workflows += `<p>管理年限:${k.detail.guanlinianxian}<p>`
workflows += `<p>辅具类别:${k.detail.sub_type}<p>`
workflows += `<p>可申请补贴金额:${k.detail.apply_money}<p>`
workflows += `<p>已申请补贴金额:${k.detail.get_money}<p>`
workflows += `<p>结余金额:${k.detail.surplus_money}<p>`
} else {
workflows += `<p>${k.created_at?.substring(0,10)}/${k.guanlianbiaoming}<p>`
if (k.work_status == '通过') {
for(var s in this.tableShow){
if(k.guanlianbiao == s){
workflows += `<div class='workhover' onclick="goUrls(${k.detail.id},'${s}')">`
workflows += `<p>${k.detail.year?k.detail.year:''}/${k.guanlianbiaoming}<p>`
if(Object.keys(this.tableShow[s]).length==0){
// return
}else{
for(var tables in this.tableShow[s]){
workflows += `<p>${this.tableShow[s][tables]}${k.detail[tables]?k.detail[tables]:''}<p>`
}
}
}
}
workflows += "</div>"
}
@ -254,10 +331,9 @@
workflows += `<div><p>暂无业务信息</p></div>`
}
this.option['nodeList'][0]['content'] = names
this.option['nodeList'][1]['content'] = contents
this.option['nodeList'][2]['content'] = workflows
this.option['nodeList'][3]['content'] = views
this.option['nodeList'][2]['content'] = workflows
//
this.getSstt()
},
getSstt() {
@ -409,8 +485,20 @@
/deep/ .workhover {
cursor: pointer;
}
/deep/ .workhover>p:first-child{
position: relative;
}
/deep/ .workhover>p:first-child::before{
content:'';
width:8px;
height:8px;
border-radius:100%;
background-color: #147d38;
position: absolute;
top:8px;
left:-11px
}
/deep/ .workhover:hover {
color: #147d38
}

Loading…
Cancel
Save