11853c3e by 任超
2 parents a469054a 3caeb8a8
......@@ -2,18 +2,18 @@ import store from '@/store'
// table 内部过滤器 由于过滤器只能在模板中使用 所以 就有了 jsx内部方法过滤器
export default class filter {
// 业务来源
busSource (val) {
busSource(val) {
let status = { 1: '办事大厅', 2: '微信小程序' }
return status[val]
}
//申请分类(1:正常申请,2:一并申请,3:补录申请)
sqfls (val) {
sqfls(val) {
let status = { 1: '正常申请', 2: '一并申请', 3: '补录申请' }
return status[val]
}
// 字典
dicStatus (val, code) {
dicStatus(val, code) {
let data = store.getters.dicData[code],
name = '暂无'
if (data) {
......
......@@ -3,7 +3,7 @@ class data extends filter {
constructor() {
super()
}
columns () {
columns() {
return [
{
label: "权属状态",
......@@ -20,22 +20,22 @@ class data extends filter {
render: (h, scope) => {
return (
<div>
<span>{ this.dicStatus(scope.row.dybdclx, 'A27')}</span>
<span>{this.dicStatus(scope.row.dybdclx, 'A27')}</span>
</div>
)
},
},
// {
// label: "登记类型",
// width: 70,
// render: (h, scope) => {
// return (
// <div>
// <span>{this.djlxStatus(scope.row.DJLX)}</span>
// </div>
// )
// }
// },
{
label: "登记类型",
width: 70,
render: (h, scope) => {
return (
<div>
<span>{this.dicStatus(scope.row.djlx, 'A21')}</span>
</div>
)
}
},
{
label: "不动产单元号",
prop: "bdcdyh"
......