Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.CadastralSystem
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
eb390321
authored
2020-10-26 16:10:41 +0800
by
zhaoqian
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
2 parents
c10927e3
0ac79ae4
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
55 additions
and
9 deletions
src/components/formMenu/qlxz.vue
src/libs/fliter.js
src/main.js
src/views/panel/search/index.vue
src/views/systemZD/zddcb/index.vue
src/components/formMenu/qlxz.vue
View file @
eb39032
...
...
@@ -198,8 +198,8 @@ export default {
"sjytmc"
:
""
,
"sjytmj"
:
0
,
"syqx"
:
""
,
"tdsyjssj"
:
"
2020-10-23
"
,
"tdsyqssj"
:
"
2020-10-20
"
,
"tdsyjssj"
:
""
,
"tdsyqssj"
:
""
,
"tdzh"
:
""
}
]
...
...
@@ -235,8 +235,8 @@ export default {
"sjytmc"
:
""
,
"sjytmj"
:
0
,
"syqx"
:
""
,
"tdsyjssj"
:
"
2020-10-23
"
,
"tdsyqssj"
:
"
2020-10-20
"
,
"tdsyjssj"
:
""
,
"tdsyqssj"
:
""
,
"tdzh"
:
""
}
]
...
...
@@ -268,8 +268,8 @@ export default {
"sjytmc"
:
""
,
"sjytmj"
:
0
,
"syqx"
:
""
,
"tdsyjssj"
:
"
2020-10-23
"
,
"tdsyqssj"
:
"
2020-10-20
"
,
"tdsyjssj"
:
""
,
"tdsyqssj"
:
""
,
"tdzh"
:
""
};
if
(
type
===
"add"
)
{
...
...
src/libs/fliter.js
0 → 100644
View file @
eb39032
import
Vue
from
"vue"
;
//定义key-value过滤方法
function
createFilter
(
filterName
,
dataArray
)
{
return
Vue
.
filter
(
filterName
,
function
(
val
)
{
let
label
=
""
;
let
arr
=
dataArray
;
arr
.
forEach
((
item
)
=>
{
if
(
item
.
value
==
val
)
{
return
(
label
=
item
.
label
);
}
});
return
label
;
});
}
//时间格式过滤
Vue
.
filter
(
"timeFilter"
,
function
(
timeStr
)
{
if
(
timeStr
)
{
return
timeStr
.
substring
(
0
,
10
);
}
});
//数据类型过滤
let
bdcLxArray
=
[
{
label
:
"宗地"
,
value
:
"zd"
,
},
{
label
:
"自然幢"
,
value
:
"zrz"
,
},
];
createFilter
(
"bdcLxFilter"
,
bdcLxArray
);
\ No newline at end of file
src/main.js
View file @
eb39032
...
...
@@ -13,6 +13,7 @@ import 'quill/dist/quill.snow.css'
import
'quill/dist/quill.bubble.css'
// 将富文本编译器 注册为全局组件
Vue
.
use
(
VueQuillEditor
)
import
"./libs/fliter"
;
//引入全局过滤器
// 让IE11支持Vue-router跳转功能
if
(
'-ms-scroll-limit'
in
document
.
documentElement
.
style
&&
...
...
src/views/panel/search/index.vue
View file @
eb39032
...
...
@@ -24,12 +24,18 @@
</el-table-column>
<el-table-column
prop=
"bdcqzh"
align=
"left"
label=
"不动产权证号"
>
</el-table-column>
<el-table-column
prop=
"lx"
align=
"left"
width=
"120"
label=
"类型"
>
<el-table-column
prop=
"dylx"
align=
"left"
width=
"120"
label=
"类型"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
dylx
|
bdcLxFilter
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"qlr"
align=
"left"
width=
"120"
label=
"权利人"
>
<el-table-column
prop=
"qlr
mc
"
align=
"left"
width=
"120"
label=
"权利人"
>
</el-table-column>
<el-table-column
prop=
"zl"
align=
"left"
label=
"坐落"
></el-table-column>
<el-table-column
prop=
"zrsj"
align=
"left"
width=
"120"
label=
"转入时间"
>
<el-table-column
prop=
"addtime"
align=
"left"
width=
"120"
label=
"转入时间"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
addtime
|
timeFilter
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"cjr"
align=
"left"
width=
"120"
label=
"创建人"
>
</el-table-column>
...
...
src/views/systemZD/zddcb/index.vue
View file @
eb39032
...
...
@@ -561,6 +561,9 @@ export default {
zddm
()
{
return
this
.
formData
.
zddm
;
},
zdbsm
()
{
return
this
.
$store
.
state
.
zdbsm
;
},
},
watch
:
{
zl
:
function
(
val
)
{
...
...
@@ -572,6 +575,9 @@ export default {
zddm
:
function
(
val
)
{
this
.
$store
.
state
.
zddm
=
val
;
},
zdbsm
:
function
(
val
)
{
this
.
getZdjbxxData
()
}
},
};
</
script
>
...
...
Please
register
or
sign in
to post a comment