65bbe295 by tianhaohao@pashanhoo.com

修改进度查询功能

1 parent 5ae5459e
......@@ -158,14 +158,6 @@ export default {
this.$endLoading();
if (res.code === 200) {
let { total, records } = res.result;
// records.forEach((item) => {
// item.qlrmc = item.qlrmc.join(",");
// item.ywh = item.ywh.join(",");
// item.zl = item.zl.join(",");
// item.fromstepdate = item.fromstepdate[0];
// item.qlrmcStr = item.qlrmc ? String(item.qlrmc) : "";
// item.ywrmcStr = item.ywrmc ? String(item.ywrmc) : "";
// });
this.tableData.total = total ? total : 0;
this.tableData.data = records ? records : [];
}
......
......@@ -42,6 +42,32 @@
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="5">
<el-form-item label="不动产单元号">
<el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="申请人">
<el-input placeholder="如需要模糊查询,前后输入%" v-model="queryForm.sqrmc" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="申请人证件号">
<el-input placeholder="如需要模糊查询,前后输入%" v-model="queryForm.sqrzjhm" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="坐落">
<el-input placeholder="如需要模糊查询,前后输入%" v-model="queryForm.zl" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
</div>
<!-- 表格 -->
......@@ -95,24 +121,26 @@ export default {
this.$endLoading()
if (res.code === 200) {
let { total, records } = res.result
let str = ''
records.forEach(item => {
if (item.userNameList.length != 0) {
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)
}
if (item.zlList.length != 0) {
item.zlStr = String(item.zlList)
}
})
this.pageData.total = total;
this.tableData.data = records
// let str = ''
// records.forEach(item => {
// if (item.userNameList.length != 0) {
// 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)
// }
// if (item.zlList.length != 0) {
// item.zlStr = String(item.zlList)
// }
// })
// this.pageData.total = total;
// this.tableData.data = records
this.tableData.total = total ? total : 0;
this.tableData.data = records ? records : [];
}
})
},
......
......@@ -8,7 +8,7 @@ class data extends filter {
constructor() {
super()
}
columns () {
columns() {
return [
{
label: '序号',
......@@ -29,24 +29,22 @@ class data extends filter {
if (scope.row.yygqzt == '1') {
return <div class='suspend'>异议挂起</div>
}
switch (scope.row.lczt) {
case '1':
return <div class='allow'>进行中</div>
case '2':
return <div class='prohibit'>已结束</div>
case '3':
return <div class='allow'>进行中</div>
if (scope.row.jssj != null) {
return <div class='prohibit'>已结束</div>
} else {
return <div class='allow'>进行中</div>
}
}
},
{
label: "办理状态",
render: (h, scope) => {
return (
<div>
<span>{scope.row.blStatus}</span>
</div>
)
if ((scope.row.zbhj != '' && scope.row.zbhj != null) || (scope.row.userName != '' && scope.row.userName != null))
return (
<div>
<span>{scope.row.zbhj}{scope.row.userName}</span>
</div>
)
}
},
{
......@@ -65,31 +63,31 @@ class data extends filter {
minWidth: '120',
},
{
prop: "bdcdyh",
label: "不动产单元号",
width: '170',
},
{
prop: "qlrmc",
label: "权利人",
render: (h, scope) => {
return (
<div>
<span>{scope.row.qlrmcStr}</span>
</div>
)
}
width: '120',
},
{
prop: "ywrmc",
label: "义务人",
render: (h, scope) => {
return (
<div>
<span>{scope.row.ywrmcStr}</span>
</div>
)
}
width: '120',
},
{
prop: "zlStr",
prop: "zl",
label: "坐落",
minWidth: '150',
showOverflowTooltip: true
},
{
prop: "slry",
label: "受理人员",
},
{
prop: "slsj",
label: "受理时间",
......@@ -97,9 +95,11 @@ class data extends filter {
sortable: 'custom'
},
{
prop: "slry",
label: "受理人员",
}
prop: "jssj",
label: "结束时间",
width: '140',
sortable: 'custom'
},
]
}
}
......