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
df632593
authored
2023-09-12 14:10:50 +0800
by
yangwei
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
互联共享数据查询
1 parent
b893d057
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
7 deletions
src/views/sjgx/gbmhlgxsjgx/gbmhlgxsjgx.vue
src/views/sjgx/gbmhlgxsjgx/images/unknow.svg
src/views/sjgx/gbmhlgxsjgx/gbmhlgxsjgx.vue
View file @
df63259
...
...
@@ -2,7 +2,7 @@
* @Author: yangwei
* @Date: 2023-09-01 10:39:03
* @LastEditors: yangwei
* @LastEditTime: 2023-09-1
1 15:48:03
* @LastEditTime: 2023-09-1
2 13:55:36
* @FilePath: \bdcdj-web\src\views\sjgx\gbmhlgxsjgx\gbmhlgxsjgx.vue
* @Description:
*
...
...
@@ -89,7 +89,7 @@
>
<img
:src=
"item.svg"
alt=
""
/>
</div>
<p>
{{
item
.
name
}}
</p>
<p>
{{
item
.
interfaceDescription
}}
</p>
</div>
</div>
<el-dialog
...
...
@@ -200,6 +200,12 @@ export default {
comp
:
"zgfbm"
,
svg
:
require
(
"./images/zgfbm.svg"
),
},
{
name
:
"未知"
,
bgColor
:
"109, 114, 120"
,
comp
:
""
,
svg
:
require
(
"./images/unknow.svg"
),
},
],
dialogVisible
:
false
,
dialogTitle
:
""
,
...
...
@@ -210,10 +216,19 @@ export default {
mounted
()
{
getSysInterfaceList
({
interfaceType
:
"4"
,
pageSize
:
100
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
searchType
.
forEach
(
item
=>
{
let
a
=
res
.
result
.
records
.
filter
(
i
=>
i
.
interfaceService
==
item
.
name
)
res
.
result
.
records
.
forEach
(
i
=>
{
let
a
=
this
.
searchType
.
filter
(
item
=>
i
.
interfaceService
==
item
.
name
)
if
(
a
.
length
)
{
i
.
bgColor
=
a
[
0
].
bgColor
i
.
svg
=
a
[
0
].
svg
i
.
comp
=
a
[
0
].
comp
}
else
{
i
.
bgColor
=
'109, 114, 120'
i
.
svg
=
require
(
"./images/unknow.svg"
)
i
.
comp
=
''
}
})
this
.
searchType
=
res
.
result
.
records
}
});
},
...
...
@@ -225,10 +240,10 @@ export default {
* @author: renchao
*/
openDialog
(
item
)
{
this
.
dialogTitle
=
item
.
name
;
this
.
dialogVisible
=
true
;
this
.
dialogTitle
=
item
.
interfaceDescription
;
this
.
dialogComp
=
(
r
)
=>
require
.
ensure
([],
()
=>
r
(
require
(
`./components/
${
item
.
comp
}
.vue`
)));
item
.
comp
&&
(
this
.
dialogVisible
=
true
);
},
},
computed
:
{
...
...
src/views/sjgx/gbmhlgxsjgx/images/unknow.svg
0 → 100644
View file @
df63259
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
t=
"1694481575357"
class=
"icon"
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"3080"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"200"
height=
"200"
><path
d=
"M908.91 937.6c0 17.67-14.33 32-32 32H147.09c-17.67 0-32-14.33-32-32V116.19c0-23.52 19.07-42.59 42.59-42.59h544.3l206.93 206.93V937.6z"
fill=
"#B5B5B5"
p-id=
"3081"
></path><path
d=
"M495.53 620.39c-37.63 0-44.43 6.79-44.43 43.38 0 37.63 6.8 43.91 44.43 43.91 37.11 0 44.43-6.27 44.43-43.91 0-36.59-7.32-43.38-44.43-43.38zM490.83 335.53c-31.36 0-59.58 3.66-78.92 9.41v64.82c18.29-5.76 42.33-8.89 63.77-8.89 42.33 0 55.4 6.79 55.4 38.15 0 21.95-4.7 31.88-27.7 50.18-30.84 26.65-40.25 42.85-40.25 72.64v23.52h63.77v-12.03c0-17.76 6.28-27.69 38.16-51.22 35.54-26.65 47.04-45.48 47.04-94.08-0.01-73.17-35.55-92.5-121.27-92.5zM700.91 73.6v173.92c0 17.47 14.05 31.7 31.52 31.91l176.48 2.18-208-208.01z"
fill=
"#FFFFFF"
p-id=
"3082"
></path></svg>
\ No newline at end of file
Please
register
or
sign in
to post a comment