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
1482dd52
authored
2022-10-24 10:51:45 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:查封登记信息
1 parent
a2e1e4cc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
23 deletions
src/views/registerBook/cfdj.vue
src/views/registerBook/qlxxCommon.scss
src/views/registerBook/cfdj.vue
View file @
1482dd5
...
...
@@ -5,30 +5,44 @@
{{
title
}}
<div
class=
"checkbox"
>
<el-checkbox-group
v-model=
"checkList"
@
change=
"checkChange"
>
<el-checkbox
v-for=
"item in qsztList"
:key=
"item.value"
:label=
"item.value"
>
{{
item
.
label
}}
</el-checkbox
>
<el-checkbox
v-for=
"item in qsztList"
:key=
"item.value"
:label=
"item.value"
>
{{
item
.
label
}}
</el-checkbox>
</el-checkbox-group>
</div>
</div>
<div
class=
"xxTableBox"
>
<table
class=
"xxTable"
>
<tr
v-for=
"(item, colindex) in columns"
:key=
"colindex"
>
<tr
v-for=
"(item, colindex) in columns
.slice(0, 3)
"
:key=
"colindex"
>
<td>
{{
item
.
label
}}
</td>
<td
v-for=
"(row, index) in tableData"
:key=
"index"
:class=
"[
row.qszt == '2' ? 'lishi' : '',
row.qszt == '0' ? 'linshi' : '',
item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
]"
>
<td
v-for=
"(row, index) in tableData"
:key=
"index"
:class=
"[
row.qszt == '2' ? 'lishi' : '',
row.qszt == '0' ? 'linshi' : '',
item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
]"
>
<div
class=
"icon"
v-if=
"item.prop == 'qszt' && row.qszt == '0'"
>
正在办理
</div>
<span
v-if=
"item.prop == 'qszt'"
>
{{
getQsztName
(
row
[
item
.
prop
])
}}
</span>
<span
v-else
>
{{
row
[
item
.
prop
]
}}
</span>
</td>
<td
v-for=
"count in emptycolNum"
:key=
"~count"
></td>
</tr>
</table>
<table
class=
"xxTable rollTable"
style=
"margin-left: 2px"
>
<tr
v-for=
"(item, colindex) in columns.slice(3)"
:key=
"colindex"
>
<td>
{{
item
.
label
}}
</td>
<td
v-for=
"(row, index) in tableData"
:key=
"index"
:class=
"[
row.qszt == '2' ? 'lishi' : '',
row.qszt == '0' ? 'linshi' : '',
item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
]"
>
<div
class=
"icon"
v-if=
"item.prop == 'qszt' && row.qszt == '0'"
>
正在办理
</div>
...
...
@@ -50,7 +64,7 @@
import
{
getCfdjList
}
from
"@/api/registerBook.js"
;
import
{
datas
}
from
"./qlxxFormData.js"
;
export
default
{
data
()
{
data
()
{
return
{
title
:
"查封登记信息"
,
qsztList
:
datas
.
columns
().
qsztList
,
...
...
@@ -65,11 +79,11 @@ export default {
columns
:
datas
.
columns
().
CFDJ
,
};
},
created
()
{
created
()
{
this
.
loadData
();
},
methods
:
{
loadData
()
{
loadData
()
{
getCfdjList
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
,
bsmSldy
:
this
.
propsParam
.
bsmSldy
,
...
...
@@ -78,7 +92,7 @@ export default {
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
=
res
.
result
;
if
(
this
.
tableData
.
length
<
datas
.
columns
().
emptycolNum
)
{
if
(
this
.
tableData
.
length
<
datas
.
columns
().
emptycolNum
)
{
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
-
this
.
tableData
.
length
;
}
else
{
...
...
@@ -87,7 +101,7 @@ export default {
}
});
},
checkChange
()
{
checkChange
()
{
if
(
this
.
checkList
.
length
===
0
)
{
this
.
tableData
=
[];
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
;
...
...
@@ -95,7 +109,7 @@ export default {
this
.
loadData
();
}
},
getQsztName
(
code
)
{
getQsztName
(
code
)
{
let
name
=
""
;
for
(
let
item
of
this
.
qsztList
)
{
if
(
item
.
value
==
code
)
{
...
...
src/views/registerBook/qlxxCommon.scss
View file @
1482dd5
...
...
@@ -2,7 +2,6 @@
width
:
100%
;
height
:
100%
;
background
:
#fff
;
overflow-y
:
scroll
;
color
:
#333
;
.tableBox
{
...
...
Please
register
or
sign in
to post a comment