bb659e38 by 蔡俊立

待办箱 进度查询

1 parent 6b3cb24b
......@@ -107,6 +107,15 @@ export default {
searchTaskToDo({ ...this.queryForm, ...this.pageData }).then(res => {
if (res.code === 200) {
let { total, records } = res.result
let str = ''
records.forEach(item=>{
if(item.qlrmc.length!=0){
item.qlrmcStr = String(item.qlrmc)
}
if(item.ywrmc.length!=0){
item.ywrmcStr = String(item.ywrmc)
}
})
this.tableData.total = total;
this.tableData.data = records
}
......
......@@ -44,7 +44,7 @@ class data extends filter {
align: 'center',
width:'100',
render: (h, scope) => {
return <el-button type="text" onClick={() => { vm.ywhClick(scope.row) }}>{scope.row.ywh}</el-button>
return <el-button type="text" onClick={() => { vm.ywhClick(scope.row) }}>{scope.row.ywh}</el-button>
}
},
{
......@@ -53,14 +53,24 @@ class data extends filter {
width:'220'
},
{
prop: "qlrmc",
label: "权利人",
width:'70'
render: (h, scope) => {
return (
<div>
<span>{scope.row.qlrmcStr}</span>
</div>
)
}
},
{
prop: "ywrmc",
label: "义务人",
width:'70'
render: (h, scope) => {
return (
<div>
<span>{scope.row.ywrmcStr}</span>
</div>
)
}
},
{
prop: "zl",
......@@ -79,10 +89,16 @@ class data extends filter {
width:'80'
},
{
prop: "zrsj",
label: "转入时间",
sortable: 'custom',
width:'160'
width:'160',
render: (h, scope) => {
return (
<div>
<span>{scope.row.zrsj[0]}</span>
</div>
)
}
},
{
label: '操作',
......
......@@ -100,6 +100,12 @@ export default {
str = String(item.userNameList)
item.blStatus = item.zbhj + '('+ str.replace(/,/g,"+") + ')'
}
if(item.qlrmc.length!=0){
item.qlrmcStr = String(item.qlrmc)
}
if(item.ywrmc.length!=0){
item.ywrmcStr = String(item.ywrmc)
}
})
this.pageData.total = total;
this.tableData.data = records
......
......@@ -57,12 +57,24 @@ class data extends filter {
label: "申请业务名称",
},
{
prop: "qlrmc",
label: "权利人",
render: (h, scope) => {
return (
<div>
<span>{scope.row.qlrmcStr}</span>
</div>
)
}
},
{
prop: "ywrmc",
label: "义务人",
render: (h, scope) => {
return (
<div>
<span>{scope.row.ywrmcStr}</span>
</div>
)
}
},
{
prop: "zl",
......