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
b2a0cc25
authored
2022-09-21 11:05:39 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:权利信息
1 parent
8d05034a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
55 deletions
src/views/components/jsydsyq/jsydsyq.vue
src/views/components/jsydsyq/jsydsyq.vue
View file @
b2a0cc2
...
...
@@ -19,7 +19,7 @@
<!-- 第一行表头 -->
<tr
class=
"one"
>
<th
v-for=
"(item, index) in ths"
:key=
"index"
:class=
"[item.class, item.type == '临时' ? 'linshiIcon' : '']"
>
<div
class=
"icon"
v-if=
"item.type == '临时'"
>
{{
item
.
type
}}
</div>
<div
class=
"icon"
v-if=
"item.type == '临时'"
>
正在办理
</div>
{{
item
.
type
}}
</th>
</tr>
...
...
@@ -148,12 +148,12 @@ export default {
this
.
tableData
=
[];
this
.
ths
=
[];
this
.
columns
=
datas
.
columns
();
//
let res = await getJsydsyqList({
//
bdcdyid: "2b33851f4edfd468ceef4d68c370bd41",
//
qllx: "A03",
//
qszt: ["1"]
//
})
let
detail
=
this
.
list
let
res
=
await
getJsydsyqList
({
bdcdyid
:
"2b33851f4edfd468ceef4d68c370bd41"
,
qllx
:
"A03"
,
qszt
:
[
"1"
]
})
let
detail
=
_
.
uniqBy
(
_
.
unionWith
(
res
.
result
.
result
,
this
.
list
),
'qszt'
)
detail
.
length
>
0
&&
detail
.
forEach
((
item
)
=>
{
this
.
tableData
.
push
(
item
);
if
(
item
.
qszt
==
"0"
)
{
...
...
@@ -186,49 +186,6 @@ export default {
},
methods
:
{
checkChange
()
{
var
checkKey
=
[];
this
.
ths
=
[];
this
.
checkList
.
forEach
((
item
)
=>
{
if
(
item
==
"临时"
)
{
checkKey
.
push
(
"0"
);
}
if
(
item
==
"现势"
)
{
checkKey
.
push
(
"1"
);
}
if
(
item
==
"历史"
)
{
checkKey
.
push
(
"2"
);
}
});
this
.
showTableData
=
this
.
tableData
.
filter
((
item
)
=>
checkKey
.
includes
(
item
.
qszt
)
);
this
.
showTableData
.
forEach
((
item
)
=>
{
if
(
item
.
qszt
==
"0"
)
{
this
.
ths
.
push
({
type
:
"临时"
,
qllxmc
:
item
.
qllxmc
,
djlxmc
:
item
.
djlxmc
,
prop
:
"linshi"
,
class
:
"linshi"
,
});
}
else
if
(
item
.
qszt
==
"1"
)
{
this
.
ths
.
push
({
type
:
"现势"
,
qllxmc
:
item
.
qllxmc
,
djlxmc
:
item
.
djlxmc
,
prop
:
"xianshi"
,
class
:
"xianshi"
,
});
}
else
if
(
item
.
qszt
==
"2"
)
{
this
.
ths
.
push
({
type
:
"历史"
,
qllxmc
:
item
.
qllxmc
,
djlxmc
:
item
.
djlxmc
,
prop
:
"lishi"
,
class
:
"lishi"
,
});
}
});
},
},
};
...
...
@@ -322,19 +279,19 @@ export default {
display
:
block
;
width
:
0
;
height
:
0
;
border-width
:
0px
0px
45px
4
5px
;
border-width
:
0px
0px
55px
5
5px
;
border-style
:
none
solid
solid
;
border-color
:
transparent
transparent
#fe9400
;
position
:
absolute
;
top
:
0
px
;
right
:
3px
;
top
:
0
;
right
:
0
;
transform
:
rotate
(
-90deg
);
}
.icon
{
position
:
absolute
;
top
:
8
px
;
right
:
6
px
;
top
:
13
px
;
right
:
-4
px
;
transform
:
rotate
(
45deg
);
color
:
#fff
;
font-size
:
12px
;
...
...
Please
register
or
sign in
to post a comment