Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
3caeb8a8
authored
2023-01-12 11:12:44 +0800
by
田浩浩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
11111
1 parent
e3cca5dc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
16 deletions
src/utils/filter.js
src/views/business-info/mortgage-registration/data/index.js
src/utils/filter.js
View file @
3caeb8a
...
...
@@ -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
)
{
...
...
src/views/business-info/mortgage-registration/data/index.js
View file @
3caeb8a
...
...
@@ -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"
...
...
Please
register
or
sign in
to post a comment