Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-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
4fefabab
authored
2022-08-30 10:44:12 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:证书领取查询
1 parent
1b8a4dff
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
202 additions
and
1 deletions
src/router/index.js
src/utils/filter.js
src/views/zhcx/zslqcx/zslqcx.js
src/views/zhcx/zslqcx/zslqcx.vue
src/router/index.js
View file @
4fefaba
...
...
@@ -160,6 +160,14 @@ export const asyncRoutes = [
component
:
()
=>
import
(
'@/views/zhcx/lpcx/lpcx.vue'
),
name
:
'lpcx'
,
meta
:
{
title
:
'楼盘查询'
}
},
{
path
:
'zslqcx'
,
id
:
'45'
,
parentId
:
'4'
,
component
:
()
=>
import
(
'@/views/zhcx/zslqcx/zslqcx.vue'
),
name
:
'zslqcx'
,
meta
:
{
title
:
'证书领取查询'
}
}
]
},
...
...
src/utils/filter.js
View file @
4fefaba
import
store
from
'@/store'
// table 内部过滤器 由于过滤器只能在模板中使用 所以 就有了 jsx内部方法过滤器
export
default
class
filter
{
// 业务来源
...
...
@@ -11,4 +12,17 @@ export default class filter {
let
status
=
{
1
:
'正常申请'
,
2
:
'一并申请'
,
3
:
'补录申请'
}
return
status
[
val
]
}
}
// 字典
dicStatus
(
val
,
code
)
{
let
data
=
store
.
getters
.
dictData
[
code
],
name
=
'暂无'
if
(
data
)
{
data
.
map
((
item
)
=>
{
if
(
item
.
dcode
==
val
)
{
name
=
item
.
dname
}
})
return
name
}
}
}
\ No newline at end of file
...
...
src/views/zhcx/zslqcx/zslqcx.js
0 → 100644
View file @
4fefaba
import
filter
from
'@/utils/filter.js'
let
vm
=
null
const
sendThis
=
(
_this
)
=>
{
vm
=
_this
}
class
data
extends
filter
{
constructor
()
{
super
()
}
columns
()
{
return
[
{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
{(
vm
.
pageData
.
currentPage
-
1
)
*
vm
.
pageData
.
pageSize
+
scope
.
$index
+
1
}
<
/div
>
)
}
},
{
label
:
"领取状态"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
{
scope
.
row
.
enabled
==
'1'
?
<
div
class
=
'allow'
>
已领取
<
/div>
:
<
div
class
=
'prohibit'
>
未领取
<
/div
>
}
<
/div
>
)
}
},
{
label
:
"证书类容"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
link
type
=
"primary"
onClick
=
{()
=>
{
vm
.
openDialog
(
scope
)
}}
>
查看
<
/el-link
>
<
/div
>
)
}
},
{
label
:
"权利类型"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
{
this
.
dicStatus
(
scope
.
row
.
qllx
,
'A8'
)}
<
/div
>
)
}
},
{
prop
:
"bdcqzh"
,
label
:
"不动产权证号"
,
},
{
prop
:
"ysxlh"
,
label
:
"印刷序列号"
,
},
{
prop
:
"lqr"
,
label
:
"领取人"
,
},
{
prop
:
"lqsj"
,
label
:
"领取时间"
,
},
{
prop
:
"ywh"
,
label
:
"业务号"
},
{
prop
:
"bdcdyh"
,
label
:
"不动产单元号"
},
{
prop
:
"zl"
,
label
:
"坐落"
},
]
}
}
let
datas
=
new
data
()
export
{
datas
,
sendThis
}
src/views/zhcx/zslqcx/zslqcx.vue
0 → 100644
View file @
4fefaba
<
template
>
<div
class=
"from-clues"
>
<!-- 表单部分 -->
<div
class=
"from-clues-header"
>
<el-form
:model=
"queryForm"
ref=
"queryForm"
>
<el-row>
<el-col
:span=
"5"
>
<el-form-item
label=
"不动产权证号"
>
<el-input
placeholder=
"请输入不动产权证号"
v-model=
"queryForm.bdcqzh"
>
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"印刷序列号"
>
<el-input
placeholder=
"请输入印刷序列号"
v-model=
"queryForm.ysxlh"
>
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"业务号"
>
<el-input
placeholder=
"请输入业务号"
v-model=
"queryForm.ywh"
>
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"领取人"
>
<el-input
placeholder=
"请输入领取人"
v-model=
"queryForm.lqr"
>
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
class=
"btnCol"
>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"fetchData"
>
查询
</el-button>
<el-button
@
click=
"moreQueryClick()"
>
高级查询
</el-button>
</el-form-item>
</el-col>
</el-row>
</el-form>
</div>
<!-- 表格 -->
<div
class=
"from-clues-content"
>
<lb-table
:page-size=
"pageData.size"
:current-page
.
sync=
"pageData.current"
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
</div>
</div>
</
template
>
<
script
>
import
table
from
"@/utils/mixin/table"
;
import
{
datas
,
sendThis
}
from
"./zslqcx"
;
export
default
{
components
:
{},
mixins
:
[
table
],
mounted
()
{
sendThis
(
this
);
},
data
()
{
return
{
queryForm
:
{
bdcqzh
:
''
,
ysxlh
:
''
,
ywh
:
''
,
lqr
:
''
},
tableData
:
{
columns
:
datas
.
columns
(),
data
:
[
{
qllx
:
'A01'
}
]
}
}
},
methods
:
{
// 初始化数据
fetchData
()
{
},
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/public.scss"
;
</
style
>
Please
register
or
sign in
to post a comment