Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨炀
/
dangan_dataV
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
d961879b
authored
2025-08-11 11:18:22 +0800
by
zrj
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
daping quan
1 parent
65e7acce
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
21 deletions
src/viewsPc/home.vue
src/viewsPc/vip/centerPage.vue
src/viewsPc/vip/leftPage.vue
src/viewsPc/vip/rightPage.vue
src/viewsPc/home.vue
View file @
d961879
...
...
@@ -13,7 +13,7 @@
v-for=
"(val,i) in baseList"
:key=
"i"
:label=
"val"
:value=
"val"
/>
</el-select>
</div>
<div
class=
"datePick_bg"
style=
"position: absolute;top:
32px
;right: 18px;height: 28px"
>
<div
class=
"datePick_bg"
style=
"position: absolute;top:
4vh
;right: 18px;height: 28px"
>
<el-date-picker
v-model=
"nowDate"
type=
"month"
...
...
@@ -24,13 +24,13 @@
></el-date-picker>
</div>
<el-row
class=
"w100"
>
<el-col
v-if=
"!isLoad"
:span=
"8"
>
<el-col
v-if=
"!isLoad
&&obj.IFBASE
"
:span=
"8"
>
<left-page
:obj=
"obj"
:type=
"type"
:url=
"result"
:historyDate=
"nowDate"
:sBase=
"selectBase"
/>
</el-col>
<el-col
v-if=
"!isLoad"
:span=
"8"
>
<el-col
v-if=
"!isLoad
&&obj.IFBASE
"
:span=
"8"
>
<center-page
:obj=
"obj"
:isLeader=
"isLeader"
:type=
"type"
:url=
"result"
:historyDate=
"nowDate"
:sBase=
"selectBase"
/>
</el-col>
<el-col
v-if=
"!isLoad"
:span=
"8"
>
<el-col
v-if=
"!isLoad
&&obj.IFBASE
"
:span=
"8"
>
<right-page
:obj=
"obj"
:type=
"type"
:url=
"result"
:historyDate=
"nowDate"
:sBase=
"selectBase"
/>
</el-col>
</el-row>
...
...
@@ -57,10 +57,10 @@ const year = now.getFullYear() // 获取年份(4位数)
const
month
=
now
.
getMonth
()
+
1
// 获取月份(0-11,需要+1)
const
formatMonth
=
(
month
)
=>
(
month
<
10
?
`0
${
month
}
`
:
month
)
const
nowDate
=
ref
(
`
${
year
}
-
${
formatMonth
(
month
)}
`
)
let
selectBase
=
ref
(
"总部"
)
let
selectBase
=
ref
()
let
baseList
=
ref
()
let
isLeader
=
ref
(
false
)
// url.value = 'http://192.168.1.152:8899/login/sid=
36c62778-f35a-4285-a279-08aa2b8a1fa8
#/'
// url.value = 'http://192.168.1.152:8899/login/sid=
f30d94a0-70cc-4d7b-b28c-b85622422a35
#/'
url
.
value
=
window
.
location
.
href
result
.
value
=
url
.
value
?.
split
(
'='
)[
1
]?.
split
(
'#'
)[
0
];
...
...
@@ -73,7 +73,6 @@ onMounted(() => {
if
(
result
.
value
)
{
handelGetYS000
()
isLeader
.
value
=
validateEmail
(
result
.
value
)
console
.
log
(
isLeader
.
value
)
}
else
{
// result.value = 'a3afc265-1e60-4376-bcfb-6ca124db8704'
// handelGetYS000()
...
...
@@ -94,7 +93,7 @@ async function handelGetYS000() {
function
setType
(){
isLoad
.
value
=
true
nextTick
(()
=>
{
if
(
selectBase
.
value
!==
'
总部
'
)
{
if
(
selectBase
.
value
!==
'
全公司
'
)
{
type
.
value
=
false
}
else
{
type
.
value
=
true
...
...
@@ -109,7 +108,7 @@ function setType(){
<
style
lang=
"scss"
scoped
>
.basePick_bg
{
position
:
absolute
;
top
:
32px
;
top
:
4vh
;
right
:
180px
;
height
:
28px
;
width
:
155px
;
...
...
src/viewsPc/vip/centerPage.vue
View file @
d961879
...
...
@@ -212,12 +212,15 @@ const init = () => {
clear
()
obj
.
value
[
"SELECTDATE"
]
=
hDate
obj
.
value
[
"BASE"
]
=
sBase
if
(
!
intervalA
)
{
handelGetYS001
()
handelGetYS002
()
handelGetYS003
()
handelGetYS004
()
handelGetYS005
()
// if (!intervalA)
{
// handelGetYS001()
// handelGetYS002()
// handelGetYS003()
// handelGetYS004()
// handelGetYS005()
//
}
if
(
intervalA
)
{
clearInterval
(
intervalA
);
}
intervalA
=
setInterval
(
getdata
(),
1000
*
60
*
60
);
}
...
...
src/viewsPc/vip/leftPage.vue
View file @
d961879
...
...
@@ -408,8 +408,11 @@ function handelSelect4() {
const
init
=
()
=>
{
clear
()
if
(
!
intervalA
)
{
handelGetYS006
()
// if (!intervalA) {
// handelGetYS006()
// }
if
(
intervalA
)
{
clearInterval
(
intervalA
);
}
intervalA
=
setInterval
(
getdata
(),
1000
*
60
*
60
);
}
...
...
src/viewsPc/vip/rightPage.vue
View file @
d961879
...
...
@@ -329,10 +329,13 @@ const init = () => {
clear
()
obj
.
value
[
"SELECTDATE"
]
=
hDate
obj
.
value
[
"BASE"
]
=
sBase
if
(
!
intervalA
)
{
handelGetYS007
()
handelGetYS008
()
handelGetYS009
()
// if (!intervalA) {
// handelGetYS007()
// handelGetYS008()
// handelGetYS009()
// }
if
(
intervalA
)
{
clearInterval
(
intervalA
);
}
intervalA
=
setInterval
(
getdata
(),
1000
*
60
*
60
);
}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment