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
b16791bc
authored
2025-04-29 16:43:15 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
看板
1 parent
8dc86919
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
20 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 @
b16791b
<
template
>
<div
class=
"main"
>
<el-row
class=
"w100"
>
<el-col
:span=
"type=='否'?8:12"
>
<el-col
v-if=
"obj.IFBASE"
:span=
"type=='否'?8:12"
>
<left-page
:obj=
"obj"
:type=
"type"
:url=
"result"
/>
</el-col>
<el-col
v-if=
"type=='否'"
:span=
"8"
>
<center-page
:obj=
"obj"
:type=
"type=='否'"
:url=
"result"
/>
</el-col>
<el-col
:span=
"type=='否'?8:12"
>
<el-col
v-if=
"obj.IFBASE"
:span=
"type=='否'?8:12"
>
<right-page
:obj=
"obj"
:type=
"type"
:url=
"result"
/>
</el-col>
</el-row>
...
...
@@ -22,14 +22,13 @@ import CenterPage from "@/viewsPc/vip/centerPage"
import
RightPage
from
"@/viewsPc/vip/rightPage"
import
{
getYS000
}
from
'@/api/server.js'
import
{
ref
,
onMounted
,
getCurrentInstance
}
from
'vue'
import
Errorhome
from
'@/views/error/404.vue'
const
type
=
ref
(
'是'
)
const
url
=
ref
()
const
obj
=
ref
({})
const
result
=
ref
()
url
.
value
=
'http://192.168.1.152:8899/login/sid=
5342b777-d86a-4967-a18b-7329a3fca56b
#/'
url
.
value
=
'http://192.168.1.152:8899/login/sid=
41a9a180-b1ad-4c78-95cc-f369fadb13f0
#/'
// url.value ='http://192.168.1.152:8899/login/sid5342b777-d86a-4967-a18b-7329a3fca56b/'
// url.value = window.location.href
result
.
value
=
url
.
value
?.
split
(
'='
)[
1
]?.
split
(
'#'
)[
0
];
...
...
src/viewsPc/vip/centerPage.vue
View file @
b16791b
...
...
@@ -3,8 +3,8 @@
<div
ref=
"textRef"
class=
"top"
>
<div
class=
"left"
>
<div
class=
"titleTop"
>
董事会得分
</div>
<div
class=
"titleCenter"
>
预计得分
<span
class=
"tex1"
>
{{
form
.
YJSCORE
}}
</span></div>
<div
class=
"titleCenter"
>
标准得分
<span
class=
"tex2"
>
{{
form
.
STANDARDSCORE
}}
</span>
<div
class=
"titleCenter"
>
预计得分
<span
class=
"tex1"
>
{{
form
?
.
YJSCORE
}}
</span></div>
<div
class=
"titleCenter"
>
标准得分
<span
class=
"tex2"
>
{{
form
?
.
STANDARDSCORE
}}
</span>
</div>
</div>
<div
class=
"right"
>
...
...
@@ -96,7 +96,7 @@ import * as echarts from "echarts";
import
*
as
api
from
"@/apiPc/common"
import
{
onMounted
,
ref
,
computed
,
onUnmounted
,
watch
}
from
'vue'
import
{
dayjs
}
from
'element-plus'
import
{
getYS001
,
getYS002
,
getYS003
,
getYS004
,
getYS005
}
from
'@/api/server.js'
import
{
getYS00
0
,
getYS00
1
,
getYS002
,
getYS003
,
getYS004
,
getYS005
}
from
'@/api/server.js'
const
props
=
defineProps
({
type
:
{
...
...
@@ -107,7 +107,7 @@ const props = defineProps({
type
:
String
,
default
:
undefined
}
,
bo
j
:
{
ob
j
:
{
type
:
Object
,
default
:
()
=>
{
}
...
...
@@ -116,6 +116,7 @@ const props = defineProps({
}
)
const
url
=
computed
(()
=>
props
.
url
)
const
obj
=
computed
(()
=>
props
.
obj
)
const
zhuRef1
=
ref
(
null
)
const
zhuRef2
=
ref
(
null
)
const
zhuRef3
=
ref
(
null
)
...
...
@@ -150,9 +151,11 @@ const list = ref([])
let
total
=
0
let
intervalA
=
null
onMounted
(()
=>
{
onMounted
(
async
()
=>
{
if
(
props
.
type
)
{
if
(
url
.
value
)
init
()
if
(
url
.
value
)
{
init
()
}
window
.
addEventListener
(
'resize'
,
handleResize
);
}
...
...
@@ -184,7 +187,7 @@ const init = () => {
}
async
function
handelGetYS001
()
{
const
res
=
await
getYS001
(
url
.
value
)
const
res
=
await
getYS001
(
url
.
value
,
obj
.
value
)
resYear1
.
value
=
res
.
data
.
yeargroup
handelBing1
(
res
.
data
.
yeargroup
[
0
],
res
.
data
.
yeargroup
[
1
])
handelZhu1
(
res
.
data
.
yeargroup
[
0
],
res
.
data
.
yeargroup
[
1
])
...
...
@@ -192,7 +195,7 @@ async function handelGetYS001() {
}
async
function
handelGetYS002
()
{
const
res
=
await
getYS002
(
url
.
value
)
const
res
=
await
getYS002
(
url
.
value
,
obj
.
value
)
resYear2
.
value
=
res
.
data
.
yeargroup
handelBing2
(
res
.
data
.
yeargroup
[
0
],
res
.
data
.
yeargroup
[
1
])
handelZhu2
(
res
.
data
.
yeargroup
[
0
],
res
.
data
.
yeargroup
[
1
])
...
...
@@ -200,7 +203,7 @@ async function handelGetYS002() {
}
async
function
handelGetYS003
()
{
const
res
=
await
getYS003
(
url
.
value
)
const
res
=
await
getYS003
(
url
.
value
,
obj
.
value
)
resYear3
.
value
=
res
.
data
.
yeargroup
handelBing3
(
res
.
data
.
yeargroup
[
0
],
res
.
data
.
yeargroup
[
1
])
handelZhu3
(
res
.
data
.
yeargroup
[
0
],
res
.
data
.
yeargroup
[
1
])
...
...
@@ -208,7 +211,7 @@ async function handelGetYS003() {
}
async
function
handelGetYS004
()
{
const
res
=
await
getYS004
(
url
.
value
)
const
res
=
await
getYS004
(
url
.
value
,
obj
.
value
)
let
arrList
=
res
.
data
.
blockgroup
// let arrList = [
//
{
...
...
@@ -310,7 +313,7 @@ async function handelGetYS004() {
}
async
function
handelGetYS005
()
{
const
res
=
await
getYS005
(
url
.
value
)
const
res
=
await
getYS005
(
url
.
value
,
obj
.
value
)
form
.
value
=
res
.
data
}
...
...
src/viewsPc/vip/leftPage.vue
View file @
b16791b
...
...
@@ -72,9 +72,15 @@ const props = defineProps({
type
:
String
,
default
:
undefined
},
obj
:
{
type
:
Object
,
default
:
()
=>
{
}
}
})
const
url
=
computed
(()
=>
props
.
url
)
const
obj
=
computed
(()
=>
props
.
obj
)
const
zhuRef
=
ref
(
null
)
const
lineRef
=
ref
(
null
)
...
...
@@ -121,7 +127,7 @@ onMounted(() => {
})
async
function
handelGetYS006
()
{
const
res
=
await
getYS006
(
url
.
value
)
const
res
=
await
getYS006
(
url
.
value
,
obj
.
value
)
list
.
value
=
res
.
data
.
baselist
set1
.
value
=
[]
set2
.
value
=
[]
...
...
src/viewsPc/vip/rightPage.vue
View file @
b16791b
...
...
@@ -71,10 +71,16 @@ const props = defineProps({
type
:
String
,
default
:
undefined
},
obj
:
{
type
:
Object
,
default
:
()
=>
{
}
}
})
const
url
=
computed
(()
=>
props
.
url
)
const
obj
=
computed
(()
=>
props
.
obj
)
console
.
log
(
obj
.
value
)
const
zhuRef
=
ref
(
null
)
const
lineRef
=
ref
(
null
)
const
overdueRef
=
ref
(
null
)
...
...
@@ -283,7 +289,7 @@ const init = () => {
}
async
function
handelGetYS007
()
{
const
res
=
await
getYS007
(
url
.
value
)
const
res
=
await
getYS007
(
url
.
value
,
obj
.
value
)
list7
.
value
=
res
.
data
.
list
BC
.
value
=
res
.
data
.
BC
*
100
||
0
list7
.
value
.
sort
((
a
,
b
)
=>
a
.
EXERATIO
-
b
.
EXERATIO
);
...
...
@@ -350,7 +356,7 @@ function handelSelect7() {
}
async
function
handelGetYS008
()
{
const
res
=
await
getYS008
(
url
.
value
)
const
res
=
await
getYS008
(
url
.
value
,
obj
.
value
)
list8
.
value
=
res
.
data
.
list
list8Y
.
value
=
[]
month8
.
value
=
[]
...
...
@@ -395,8 +401,9 @@ function handelType8() {
}
async
function
handelGetYS009
()
{
const
res
=
await
getYS009
(
url
.
value
)
const
res
=
await
getYS009
(
url
.
value
,
obj
.
value
)
list9
.
value
=
res
.
data
.
list
console
.
log
(
list9
.
value
)
let
arrY
=
[]
let
arr1
=
[]
let
arr2
=
[]
...
...
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