index.js
958 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import filter from '@/utils/filter.js'
class data extends filter {
constructor() {
super()
}
columns () {
return [
{
type: 'selection'
},
{
prop: "pcode",
label: "行政区代码",
},
{
prop: "estatenum",
label: "不动产单元号",
},
{
prop: "pcode",
label: "行政区名称",
},
{
prop: "rectype",
label: "业务编码",
},
{
prop: "uploadtime",
label: "上报时间",
},
{
prop: 'sbjg',
label: '上报结果',
render: (h, scope) => {
return (
<div>
{
!scope.row.successflag ? '' : scope.row.successflag == '1' ? <el-tag type='success'>成功</el-tag> : <el-tag type='primary'>失败</el-tag>
}
</div>
)
}
},
]
}
}
export default new data()