Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-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
728fe46f
authored
2023-03-31 14:18:01 +0800
by
xiaomiao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修改
1 parent
2129e5a8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
174 additions
and
164 deletions
src/views/bdcsj/fdcqyz/data/index.js
src/views/home/dataView/leftcard.vue
src/views/home/dataView/rightcard.vue
src/views/system/roles/index.vue
src/views/bdcsj/fdcqyz/data/index.js
View file @
728fe46
/*
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-03-
17 15:18:47
* @LastEditTime: 2023-03-
31 13:53:41
*/
import
filter
from
'@/utils/filter.js'
class
data
extends
filter
{
...
...
@@ -35,7 +35,7 @@ class data extends filter {
{
label
:
"业务号"
,
prop
:
"ywh"
,
minWidth
:
1
5
0
,
minWidth
:
1
2
0
,
},
{
label
:
"不动产单元号"
,
...
...
src/views/home/dataView/leftcard.vue
View file @
728fe46
...
...
@@ -55,201 +55,211 @@
<
script
>
import
columnar
from
"@/components/Echart/Columnar"
;
import
work
from
"@/api/work"
;
export
default
{
data
()
{
return
{
// 日均接入量
qxerrer
:
""
,
qxsuccess
:
""
,
sterrer
:
""
,
stsuccess
:
""
,
qxjrl
:
""
,
stjrl
:
""
,
qxcgl
:
""
,
stcgl
:
""
};
},
mounted
()
{
this
.
getsthjqxjrtotal
();
},
components
:
{
columnar
},
computed
:
{
qxjrlList
:
function
()
{
return
this
.
qxjrl
&&
this
.
qxjrl
.
toString
().
split
(
""
);
import
columnar
from
"@/components/Echart/Columnar"
;
import
work
from
"@/api/work"
;
export
default
{
data
()
{
return
{
// 日均接入量
qxerrer
:
""
,
qxsuccess
:
""
,
sterrer
:
""
,
stsuccess
:
""
,
qxjrl
:
""
,
stjrl
:
""
,
qxcgl
:
""
,
stcgl
:
""
};
},
stjrlList
:
function
()
{
return
this
.
stjrl
&&
this
.
stjrl
.
toString
().
split
(
""
);
mounted
()
{
this
.
getsthjqxjrtotal
(
);
},
},
methods
:
{
getsthjqxjrtotal
()
{
return
new
Promise
(
async
(
resolve
)
=>
{
try
{
let
p
=
{
DJLX
:
""
,
QLLX
:
""
,
XZQDM
:
""
,
};
let
res
=
await
work
.
getsthjqxjrtotal
(
p
);
this
.
stjrl
=
res
.
result
.
stsum
this
.
qxjrl
=
res
.
result
.
qxsum
this
.
qxerrer
=
Number
(
res
.
result
.
qxjrerrer
)
this
.
sterrer
=
Number
(
res
.
result
.
sthjerrer
)
if
(
res
.
result
.
sum
==
"0"
)
{
this
.
qxcgl
=
"100%"
this
.
stcgl
=
"100%"
}
else
{
let
qxcglnum
=
Number
(
res
.
result
.
qxjrsuccess
)
/
this
.
qxjrl
*
100
let
stcgl
=
Number
(
res
.
result
.
sthjsuccess
)
/
this
.
qxjrl
*
100
this
.
qxcgl
=
qxcglnum
.
toFixed
(
2
)
+
"%"
;
this
.
stcgl
=
stcgl
.
toFixed
(
2
)
+
"%"
;
components
:
{
columnar
},
computed
:
{
qxjrlList
:
function
()
{
return
this
.
qxjrl
&&
this
.
qxjrl
.
toString
().
split
(
""
);
},
stjrlList
:
function
()
{
return
this
.
stjrl
&&
this
.
stjrl
.
toString
().
split
(
""
);
},
},
methods
:
{
getsthjqxjrtotal
()
{
return
new
Promise
(
async
(
resolve
)
=>
{
try
{
let
p
=
{
DJLX
:
""
,
QLLX
:
""
,
XZQDM
:
""
,
};
let
res
=
await
work
.
getsthjqxjrtotal
(
p
);
this
.
stjrl
=
res
.
result
.
stsum
this
.
qxjrl
=
res
.
result
.
qxsum
this
.
qxerrer
=
Number
(
res
.
result
.
qxjrerrer
)
this
.
sterrer
=
Number
(
res
.
result
.
sthjerrer
)
if
(
res
.
result
.
sum
==
"0"
)
{
this
.
qxcgl
=
"100%"
this
.
stcgl
=
"100%"
}
else
{
let
qxcglnum
=
Number
(
res
.
result
.
qxjrsuccess
)
/
this
.
qxjrl
*
100
let
stcgl
=
Number
(
res
.
result
.
sthjsuccess
)
/
this
.
qxjrl
*
100
this
.
qxcgl
=
qxcglnum
.
toFixed
(
2
)
+
"%"
;
this
.
stcgl
=
stcgl
.
toFixed
(
2
)
+
"%"
;
}
}
catch
(
error
)
{
this
.
$refs
.
msg
.
messageShow
();
}
}
catch
(
error
)
{
this
.
$refs
.
msg
.
messageShow
();
}
});
});
},
},
},
};
};
</
script
>
<
style
lang=
"scss"
scoped
>
.leftcard
{
width
:
30%
;
display
:
flex
;
height
:
calc
(
100vh
-
114px
);
flex-direction
:
column
;
.card
{
height
:
22%
;
background
:
url("~@/image/qxjr.png")
no-repeat
;
background-size
:
100%
100%
;
position
:
relative
;
text-align
:
center
;
width
:
100%
;
}
.carda
{
height
:
22%
;
background
:
url("~@/image/sthj.png")
no-repeat
;
background-size
:
100%
100%
;
position
:
relative
;
text-align
:
center
;
width
:
100%
;
}
.card1
{
background
:
url("~@/image/sbtj.png")
no-repeat
;
background-size
:
100%
100%
;
position
:
relative
;
box-sizing
:
border-box
;
flex
:
1
;
}
.cardhead
{
color
:
#02d9fd
;
line-height
:
0.125rem
;
letter-spacing
:
0.0104rem
;
position
:
absolute
;
font-size
:
0.1042rem
;
left
:
0
;
right
:
0
;
margin
:
auto
;
text-align
:
center
;
top
:
8px
;
font-weight
:
700
;
}
.rjjrlList
{
.leftcard
{
width
:
30%
;
display
:
flex
;
margin-top
:
0.01781rem
;
height
:
calc
(
100vh
-
114px
);
flex-direction
:
column
;
.qxjr
{
background
:
url("~@/image/jrl3.png")
;
.card
{
height
:
22%
;
background
:
url("~@/image/qxjr.png")
no-repeat
;
background-size
:
100%
100%
;
width
:
29px
;
height
:
46px
;
position
:
relative
;
text-align
:
center
;
width
:
100%
;
}
.sthj
{
background
:
url("~@/image/jh.png")
;
.carda
{
height
:
22%
;
background
:
url("~@/image/sthj.png")
no-repeat
;
background-size
:
100%
100%
;
width
:
29px
;
height
:
46px
;
}
p
{
margin
:
0
0.0156rem
0.0521rem
0.0156rem
;
font-weight
:
700
;
font-size
:
30px
;
position
:
relative
;
text-align
:
center
;
width
:
100%
;
}
}
.cardcontent
{
width
:
100%
;
height
:
100%
;
display
:
flex
;
//
padding
:
35px
20px
20px
20px
;
box-sizing
:
border-box
;
color
:
#e3f1ff
;
margin-top
:
0.1263rem
;
.cardcontent-left
{
width
:
60%
;
flex-direction
:
column
;
.card1
{
background
:
url("~@/image/sbtj.png")
no-repeat
;
background-size
:
100%
100%
;
position
:
relative
;
box-sizing
:
border-box
;
flex
:
1
;
height
:
100%
;
li
{
font-size
:
0.1042rem
;
}
}
.cardcontent-left
::before
{
.cardhead
{
color
:
#02d9fd
;
line-height
:
0.125rem
;
letter-spacing
:
0.0104rem
;
position
:
absolute
;
font-size
:
0.1042rem
;
left
:
0
;
right
:
0
;
top
:
0.24rem
;
content
:
""
;
width
:
0.0052rem
;
height
:
0.4688rem
;
background
:
linear-gradient
(
180deg
,
#091b4c
0%
,
#47b5e0
56%
,
#091b4c
100%
);
margin
:
auto
;
text-align
:
center
;
top
:
8px
;
font-weight
:
700
;
}
.cardcontent-right
{
flex
:
1
;
.rjjrlList
{
display
:
flex
;
margin-top
:
0.01781rem
;
.qxjr
{
background
:
url("~@/image/jrl3.png")
;
background-size
:
100%
100%
;
width
:
29px
;
height
:
46px
;
}
.sthj
{
background
:
url("~@/image/jh.png")
;
background-size
:
100%
100%
;
width
:
29px
;
height
:
46px
;
}
p
{
margin
:
0
0.0156rem
0.0521rem
0.0156rem
;
font-weight
:
700
;
font-size
:
30px
;
}
}
.cardcontent
{
width
:
100%
;
height
:
100%
;
flex-direction
:
column
;
font-size
:
0.09977rem
;
display
:
flex
;
//
padding
:
35px
20px
20px
20px
;
box-sizing
:
border-box
;
color
:
#e3f1ff
;
margin-top
:
0.1263rem
;
.bad
{
color
:
#c97168
;
.cardcontent-left
{
width
:
60%
;
flex-direction
:
column
;
position
:
relative
;
flex
:
1
;
height
:
100%
;
li
{
font-size
:
0.1042rem
;
}
}
.cg
{
color
:
#5fba7d
;
.cardcontent-left
::before
{
position
:
absolute
;
right
:
0
;
top
:
0.24rem
;
content
:
""
;
width
:
0.0052rem
;
height
:
0.4688rem
;
background
:
linear-gradient
(
180deg
,
#091b4c
0%
,
#47b5e0
56%
,
#091b4c
100%
);
}
p
{
margin-bottom
:
0.0417rem
;
.cardcontent-right
{
flex
:
1
;
width
:
100%
;
height
:
100%
;
flex-direction
:
column
;
font-size
:
0.09977rem
;
.bad
{
color
:
#c97168
;
}
span
:
nth-child
(
1
)
{
margin-right
:
0.0781rem
;
.cg
{
color
:
#5fba7d
;
}
span
:nth-child
(
2
)
{
font-size
:
20px
;
font-weight
:
900
;
p
{
width
:
1.25rem
;
margin-bottom
:
0.0417rem
;
span
:
nth-child
(
1
)
{
text-align
:
right
;
display
:
inline-block
;
width
:
45%
;
margin-right
:
0.0781rem
;
}
span
:nth-child
(
2
)
{
text-align
:
left
;
display
:
inline-block
;
width
:
45%
;
font-size
:
20px
;
font-weight
:
900
;
}
}
}
}
}
}
</
style
>
...
...
src/views/home/dataView/rightcard.vue
View file @
728fe46
...
...
@@ -57,7 +57,7 @@
let
res
=
await
work
.
getdjywltotal
(
p
);
res
.
result
.
map
((
item
,
index
)
=>
{
this
.
config
.
data
.
push
([
index
,
item
.
AREACODE
,
item
.
ywtotal
])
this
.
config
.
data
.
push
([
index
+
1
,
item
.
AREACODE
,
item
.
ywtotal
])
});
...
...
src/views/system/roles/index.vue
View file @
728fe46
...
...
@@ -7,7 +7,7 @@
</el-form-item>
<el-row
class=
"mb-5"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"
菜单
名称"
prop=
"rolesName"
>
<el-form-item
label=
"
角色
名称"
prop=
"rolesName"
>
<el-input
v-model
.
trim=
"form.rolesName"
class=
"width100"
clearable
placeholder=
"角色名称"
></el-input>
</el-form-item>
</el-col>
...
...
Please
register
or
sign in
to post a comment